/*
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:125px;
    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;
}



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

@media (min-width: 768px) and (max-width: 959px) {
    .distance-panel{
        bottom:5px;
        width:93%;
        margin:0 auto;
    }
}

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






.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
*/
#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);
}

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

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

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

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

@media (max-width: 767px) {
    #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);
    }

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

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

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

/* ==========================================================================
   0X. ELEMENTS
========================================================================== */

/*Popup on map*/

.custom-popup{
    overflow:hidden;
}

.custom-popup .leaflet-popup-content-wrapper {
    background:#2c3e50;
    color:#fff;
    font-size:12px;
    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;
}

/*End popup on map*/

#loader {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    transition: background 1s ease-out;
    -webkit-transition: background 1s ease-out;
    z-index: 999;
}

#loader.done {
    background: rgba(255, 255, 255, 0);
}

#loader.hide {
    display: none;
}

#loader .message {
    position: absolute;
    left: 50%;
    top: 50%;
}

.leaflet-container .leaflet-control-search {
    position:relative;
    float:left;
    background:#fff;
    color:#1978cf;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index:1000;
    margin-left: 10px;
    margin-top: 10px;
}
.leaflet-control-search.search-exp {/*expanded*/
    background: #fff;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}
.leaflet-control-search .search-input {
    display:block;
    float:left;
    background: #fff;
    border:1px solid #666;
    border-radius:2px;
    height:22px;
    padding:0 20px 0 2px;
    margin:4px 0 4px 4px;
}
.leaflet-control-search.search-load .search-input {
    background: url('../img/leaflet.search/loader.gif') no-repeat center right #fff;
}
.leaflet-control-search.search-load .search-cancel {
    visibility:hidden;
}
.leaflet-control-search .search-cancel {
    display:block;
    width:22px;
    height:22px;
    position:absolute;
    right:28px;
    margin:6px 0;
    background: url('../img/leaflet.search/search-icon.png') no-repeat 0 -46px;
    text-decoration:none;
    filter: alpha(opacity=80);
    opacity: 0.8;
}
.leaflet-control-search .search-cancel:hover {
    filter: alpha(opacity=100);
    opacity: 1;
}
.leaflet-control-search .search-cancel span {
    display:none;/* comment for cancel button imageless */
    font-size:18px;
    line-height:20px;
    color:#ccc;
    font-weight:bold;
}
.leaflet-control-search .search-cancel:hover span {
    color:#aaa;
}
.leaflet-control-search .search-button {
    display:block;
    float:left;
    width:30px;
    height:30px;
    background: url('../img/leaflet.search/search-icon.png') no-repeat 4px 4px #fff;
    border-radius:4px;
}
.leaflet-control-search .search-button:hover {
    background: url('../img/leaflet.search/search-icon.png') no-repeat 4px -20px #fafafa;
}
.leaflet-control-search .search-tooltip {
    position:absolute;
    top:100%;
    left:0;
    float:left;
    list-style: none;
    padding-left: 0;
    min-width:120px;
    max-height:122px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.4);
    background-color: rgba(0, 0, 0, 0.25);
    z-index:1010;
    overflow-y:auto;
    overflow-x:hidden;
    cursor: pointer;
}
.leaflet-control-search .search-tip {
    margin:2px;
    padding:2px 4px;
    display:block;
    color:black;
    background: #eee;
    border-radius:.25em;
    text-decoration:none;
    white-space:nowrap;
    vertical-align:center;
}
.leaflet-control-search .search-button:hover {
    background-color: #f4f4f4;
}
.leaflet-control-search .search-tip-select,
.leaflet-control-search .search-tip:hover {
    background-color: #fff;
}
.leaflet-control-search .search-alert {
    cursor:pointer;
    clear:both;
    font-size:.75em;
    margin-bottom:5px;
    padding:0 .25em;
    color:#e00;
    font-weight:bold;
    border-radius:.25em;
}
