/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 02-Jul-2014, 18:26:09
    Author     : Aaron
*/

#map {
    width:100%; 
    position:relative;
    z-index:1;
    cursor: crosshair; 
}

#eGraph { 
    height:100px; 
    width:100%; 
    border:0px; 
}

#eGraph.mouse-over{
    cursor:pointer;
}


#eWait { 
    border: 0px solid black; top: 150px; left: 50%; position:absolute; z-index: 2; 
    visibility: hidden; width: 30px; height: 30px;}

#loading{
    z-index:9999999;
    position:absolute;
    top: 45%; 
    left: 50%;
}

.control_btn{
    width:100%;
}

.distance-panel{
    position:absolute;
    z-index:999;
    /*background-color: rgba(0,0,0,0.05);*/
    background:#fff;
    border:1px solid #ddd;
}

.map-inner-container{
    height:100%;
    position:relative;
}

#map{
    height:400px;
}

@media (min-width:990px) {
    .distance-panel{
        bottom:10px;
        left:20px;
        right:20px;
        margin:0 auto;
        max-width: 1170px;
    }

    #map{
        height:400px;
    }

    #eGraph { 
        height:100px; 
    }
}

@media (min-width: 768px) and (max-width: 989px) {
    .distance-panel{
        bottom:5px;
        left:20px;
        right:20px;
        margin:0 auto;
    }

    #map{
        height:300px;
    }

    #eGraph { 
        height:75px; 
    }
}

@media (max-width: 767px) {
    .distance-panel{
        bottom:5px;
        left:20px;
        right:20px;
        margin:0 auto;
    }

    #map{
        height:200px;
    }

    #eGraph { 
        height:75px; 
    }



}  






.flot-x-axis, .flot-y-axis{
    color:#B2B2B2;
}

.course-overview{
    z-index:999;
}

.map-info-bar{
    background:#8399C6;
    padding-top:10px;
    padding-bottom:10px;
    position:relative;
    border-bottom:1px solid #808080;
    z-index:2;
    -webkit-box-shadow: 0px 5px 6px -5px rgba(119,113,113,1);
    -moz-box-shadow: 0px 5px 6px -5px rgba(119,113,113,1);
    box-shadow: 0px 5px 6px -5px rgba(119,113,113,1);
}

.map-info-bar span{
    color:#a42020;
}

.verification-alert{

    z-index:1000 !important;
    position:relative;
    top:5px;
}

.distance-metrics{
    background-color: rgba(0,0,0,0.05);
    /*    background:#757679;*/
    border-bottom:1px solid #ddd;
    padding-left:5px
}

.mapping-controls{
    position:relative;
    top:10px;
    z-index:5;
}

.drop-shadow{
    -webkit-box-shadow: 0px 5px 5px 0px rgba(93,93,93,0.5);
    -moz-box-shadow: 0px 5px 5px 0px rgba(93,93,93,0.5);
    box-shadow: 0px 5px 5px 0px rgba(93,93,93,0.5);
}

/*Add Specific*/

.slide-handler{
    cursor:pointer;
    margin-top:10px;
}

.slide-handler:hover{
    color:#0077dd;
}

.vote{
    color:#07d !important;
    cursor:pointer;
}
.vote:hover{
    text-decoration: underline;
}

.vote_cast{
    color:#fff !important;
}

/*#eGraph { height:100px; width:700px; }*/
#spdGraph { height:100px; width:700px; }
#hrGraph { height:100px; width:700px; }
#cdGraph { height:100px; width:700px; }
#pwrGraph { height:100px; width:700px; }

/*.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}*/

/**

Custom Search Bar
*/
#or-map-search-container {
    width: 300px;
    color:#fff;
    z-index: 99;
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    background: rgba(0,0,0,0.4);
}

.or-map-search-title, .or-map-search-collapse{
    background: rgba(0,0,0,0.4);
    padding:10px 10px 10px 10px;
}

.or-map-search-collapse{
    padding:0px;
    padding-right:5px;
}

.or-map-search-body{
    padding:20px;
}

.course-info-bar{
    background:#0B192F;
    padding:5px;
    color:#fff;
}

@media (max-width: 767px) {
    #or-map-search-container {
        width: 250px;
        color:#fff;
        z-index: 99;
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,.3);
        background: rgba(0,0,0,0.4);
    }

    .or-map-search-title, .or-map-search-collapse{
        background: rgba(0,0,0,0.4);
        padding:0px 10px 5px 10px;
    }

    .or-map-search-title h3{
        font-size:18px;
    }

    .or-map-search-body{
        padding:10px;
    }
}

.custom-popup{
    overflow:hidden;
}

.custom-popup .leaflet-popup-content-wrapper {
    background:#2c3e50;
    color:#fff;
    font-size:12px;
    /*line-height:24px;*/
    border-radius: 0px;
    text-align:center;

}
.custom-popup .leaflet-popup-content-wrapper a {
    /*color:rgba(255,255,255,0);*/
    color:#fff;
}
.custom-popup .leaflet-popup-tip-container {
    width:30px;
    height:15px;
}
.custom-popup .leaflet-popup-tip {
    /*border-left:15px solid transparent;*/
    border-right:15px solid transparent;
    border-top:15px solid #2c3e50;
    background:#2c3e50;
}

.custom-popup a.leaflet-popup-close-button {
    padding: 2px 0px 0px 0px; 
    font: 12px/10px Tahoma, Verdana, sans-serif; 
}
.custom-popup a.leaflet-popup-status {
    background-color: #fff;
    color: #292929;
    font-size: 10px;
    font-weight: bold;
    left: -75px;
    padding: 0px 75px;
    position: absolute;
    top: 1px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 2;
    width:100px;
    height:20px;
}

.custom-popup .leaflet-popup-content-wrapper a.popup-title{
    color:#2EC2F2;
    font-weight:bold;
    font-size:14px;
}

.property-label.property-label-primary {
    background-color: #3f89d8;
    color: #FFFFFF;
}
.property-label {

}

.graph-container{
    background:#414A5C;
    padding:10px 5px 10px 10px;
}

.leaflet-popup-content {
    margin: 2px;
}

.map-button {
    color: white !important;
}