#map {
    height: 85vh;
    margin-bottom: 30px;
    z-index: 9990;
}

.north img{
    width: 40px;
}

.mapDescriptionContent {
    display: none;
}

/* Top control bar for layers, listings etc */
.map-hotbar {
    height: 60px;
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    background: #f2f2f2;
    z-index: 99999;
    cursor: default;
    -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.20);
    -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.20);
    box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.20);   
    overflow: hidden; 
}

    .map-hotbar .expandLayers {
        position: absolute;
        top: 5px;
    }

        .map-hotbar .expandLayers .layerToggle {
            height: 50px;
            width: 50px;
            display: block;
            cursor: pointer;
            color: #666666;
            font-size: 30px;
            text-align: center;
        }


/*mobile styling for hotbar */
.map-hotbar.map-mobile .hotbar-layers{
    padding-right: 0px;
    padding-top: 60px;
}

    .map-hotbar.map-mobile .expandLayers {
        width: 100%;
        padding: 5px 160px 0 10px;
        left: 0 !important;

        vertical-align: middle;
        font-size: 20px;
        font-weight: 500;
        line-height: 40px;
        font-family:"Open Sans", Calibri, sans-serif;             
    }

    .map-hotbar.map-mobile .expandLayers .layerToggle {
        display: inline-block;
        font-size: 20px;
    }

.leaflet-top {
    top: 60px; 
    z-index: 99992;    
    
}

/* Allow bottom controls to show over bottom bar */
.leaflet-bottom {
    z-index: 99991;    
}

.leaflet-control-scale {
    margin-bottom: 0px !important;
}

.leaflet-control-scale-line {
    height: 16px;
    padding-bottom: 0px;
    font-size: 10px;
}

/* Horizontal layer control */
    .hotbar-layers {
        width: 100%;
        padding-right: 275px;
    }

    .hotbar-layers .leaflet-control-layers-group label {
        padding: 10px 10px 0 10px;
        margin-right: 10px;
        font-size: 16px;
        display: inline-block;
        width: auto;
        height: 50px;
    }

    .hotbar-layers .leaflet-control-layers-group label > span {
        vertical-align: top;
    }    

    .hotbar-layers .leaflet-control-layers-base, .hotbar-layers .leaflet-control-layers-separator, .hotbar-layers .leaflet-control-layers-group-label{
        display: none !important;
    }

    .layerLabel {
        display: inline-block;
    }

    .layerIcon {
        display: inline-block;
        height: 25px;
    }
        .layerIcon img {
            max-height: 35px;
            margin-right: 10px;
        }

    .layerIconStatic img {
        max-height: 20px;
        position: absolute;
        right: 30px;
    }        

    .layerLine {
        height: 5px;
        width: 25px;
        display: block;    
        border-style: solid;
        border-width: 3px;
        background-color: #fff !important;
    }

        .layerLine.dashed {  
            border-style: dashed;
        }    

        .layerLine.dotted {  
            border-style: dotted;
        }    

    .layerArea {
        height: 15px;
        width: 15px;
        display: block;  
    }

    .noLayerLine {
        display: none;
    }

    .map-hotbar .leaflet-control-layers-overlays, .map-hotbar .leaflet-control-layers-group {
       display: inline;
    }

/* Layer control panel */

    .leaflet-control-layers {
        background: none;
        border: 0px !important;
        box-shadow: none !important;
    }

    .leaflet-control-layers-expanded {
        padding: 0px;
        -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;
        -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;
        box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;        
    }

    .leaflet-control-layers-toggle {
        background-image: none !important;
        width: auto !important;
    }

    .layer-toggle-icon {
        height: 38px;
        width: 38px;
        display: inline-block;
        margin-left: 10px;
        -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
    }

        .layer-toggle-icon img {
            vertical-align: inherit;
        }

        .map-layers {
            background: url(../../images/maps/mapiconlayers.png), #007DBA; 
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: 100%;
        }

        .map-plus-layers {
            background: url(../../images/maps/maplayerplus.png), #FFF; 
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: 100%;
        }        

/* White bar across bottom of the map for legal info */
.map-bottombar {
    position: absolute;
    bottom: 0px;
    height: 18px;
    background-color: #fff;
    opacity: 0.9;
    width: 100%;
    z-index: 9990;    
}

/* Search panel overrides */

.leaflet-fusesearch-panel {
    height: auto !important;
    top: 60px;
    left: 33px !important;
}
    .leaflet-fusesearch-panel .content {
        padding: 5px 5px 5px 15px;
        overflow-y: hidden;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        padding-right: 25px;
        -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);        
    }

    .leaflet-fusesearch-panel .search-input {
        position: relative;
        top: 3px;
        left: 0;
        border: none;
        height: 20px;
    }    

    .leaflet-fusesearch-panel .close {
        right: 10px;
        top: 12px;
    }    

.leaflet-fusesearch-panel .result-item {
    display: block;
    padding: 2px 0px;
    font-family:"Open Sans", Calibri, sans-serif;   
}

.leaflet-fusesearch-panel .result-list {
    margin: 0 0 5px 0;
}
/* Address search */
.address-list {
    margin: 5px 0 0 0;
    /*border-top: 1px #666666 solid;*/
}

ul.checker_box {
    position: static !important;
    display: block !important;
    border: none;
	font-family:"Open Sans", Calibri, sans-serif;   
    width: 100% !important; 
    padding: 0;
    margin: 0;
}


ul.checker_box a.address_item{
    padding:2px 0px;
    color:#666666;
    display:block;
    text-decoration:none;
}

ul.checker_box a.address_hover, .leaflet-fusesearch-panel .result-item.clickable:hover{
    background:#666666;
    color:#fff;
}

ul.checker_box div {
    background-size: contain !important;
}

/* Legend control */
    .legendContent {
        display: none;
    }

    .info.legend {
        background-color: #fff;
        opacity: 0.99;
        padding: 5px 10px;
        -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
        box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50);
    }


    .info.legend > * {
        display: inline-block;
        vertical-align: middle; 
        line-height: 14px;
        margin: 5px;         
    }

    .info.legend .color-box {
        width: 14px;
        height: 14px;
    }

    .info.legend .line {
        width: 14px;
        height: 5px;
        margin-bottom: 0;
        line-height: 12px; 
        vertical-align: middle;         
    }

    .info.legend .image, .info.legend .image * {
        max-height: 14px;
        max-width: 14px;
    }


/* Popup controls */
.map-view-more {
    position: absolute;
    bottom: 2px;
    right: 5px;
    display: block;
    margin-top: 5px;
    height: 20px;
    cursor: pointer;
}

/* Prevent fadein/out of popups */
.leaflet-fade-anim .leaflet-popup {
  transition: none;
}

.leaflet-popup-tip-container {
    /*pointer-events: initial;*/
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip, .leaflet-popup-close-button {
    background-color: #007DBA;
    color: #fff !important;
    border-radius: 1px;
    overflow: hidden;  
    cursor: pointer;  
}

    .leaflet-popup-close-button {
        display: none;
    }

.leaflet-popup-content {
    font: 500 15px/22px 'Open Sans', 'Helvetica Neue', Sans-serif;
    margin: 7px 10px;
}

.leaflet-popup-content i {
    padding-left: 5px;
}

.popupClicked {
    min-height: 50px;
}


    .popupClicked .leaflet-popup-content-wrapper, .popupClicked .leaflet-popup-tip {
        background-color: #fff;
        cursor: default;
    }

    .popupClicked .leaflet-popup-content {
        color: #666666;
        font: 300 12px/18px 'Open Sans', 'Helvetica Neue', Sans-serif;
        margin: 7px 10px;      
        padding-bottom: 10px;  
    }

    .popupClicked .leaflet-popup-close-button, .leaflet-control-dialog .leaflet-control-dialog-inner .leaflet-control-dialog-close, .leaflet-control-window .close {
        display: block;
        height: 30px !important;
        width: 30px !important;
        font: 30px/29px Tahoma, Verdana, sans-serif !important;
        color: #fff;
        background: none;
    }


.popup.header {
    background-color: #007DBA;
    color: #fff !important;
    display: block;
    margin: -11px -11px 0px -11px;
    padding: 12px 10px 10px 10px;
    font: 500 12px/22px 'Open Sans', 'Helvetica Neue', Sans-serif;
    
}
    .popup.header h3 {
        margin: 0px;
        padding-right: 20px;
    }

.popup.content {
    margin-top: 10px;
}

    .popup.content p {
        margin: 5px;
    }

    .popup.content h3 {
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .popup.content ul {
        list-style: none;
        padding: 0px;
    }

    .popup.content .two-col {
        width: 49%; 
        display: inline-block;
        vertical-align: top;
    }

.smallPopup p img {
    border-bottom: none;
}
/* Dialog controls (Large popup) */

    .leaflet-control-window {
        width: 100%;
        z-index: 99999;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;        
    }

    .leaflet-control-window .titlebar {
        position: absolute;
        width: 0px;
        right: 0px;
    }

    .leaflet-control-window .content {
        overflow-x: hidden;
        overflow-y: auto;
        margin-top: 0px;
    }

/* Check box style */

.leaflet-control-layers-group > label > input[type="checkbox"], 
.menu-item-checkbox > input[type="checkbox"],
.menu-item-radio > input[type="radio"] {
    display: none;
}

.leaflet-control-layers-group > label > input[type="checkbox"] + span > span.layerCheckBox > i, 
.menu-item-checkbox > input[type="checkbox"] + span.layerCheckBox > i,
.menu-item-radio > input[type="radio"] + span.layerCheckBox > i {
    display: none;
    padding: 0 0 3px 2px;
    font-size: 18px;
}

    .menu-item-checkbox > input[type="checkbox"] + span.layerCheckBox > i,
    .menu-item-radio > input[type="radio"] + span.layerCheckBox > i {
        padding: 0 0 3px 0px;
    }

.leaflet-control-layers-group > label > input[type="checkbox"] + span > span.layerCheckBox, 
.menu-item-checkbox > input[type="checkbox"] + span.layerCheckBox,
.menu-item-radio > input[type="radio"] + span.layerCheckBox {
    display:inline-block;
    width:24px;
    height:24px;
    margin:-2px 10px 0px 0;
    vertical-align:middle;
    background: #FFF;
    cursor:pointer;
    border-radius: 4px;
    border: 1px solid #666666;
}

    .menu-item-checkbox > input[type="checkbox"] + span.layerCheckBox,
    .menu-item-radio > input[type="radio"] + span.layerCheckBox {
        float: right;
        right: 5px;
        margin: 0;
        border-radius: 0px;
        height: 20px;
        width: 20px;
    }


.leaflet-control-layers-group > label > input[type="checkbox"]:checked + span > span.layerCheckBox > i,
.menu-item-checkbox > input[type="checkbox"]:checked + span.layerCheckBox > i,
.menu-item-radio > input[type="radio"]:checked + span.layerCheckBox > i {
    display: inline;
}

/* Leaflet controls */ 

.leaflet-bar {
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    -webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;
    -moz-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;
    box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.50) !important;
}

    .leaflet-bar a {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
    }

.leaflet-control-zoom {
    height: 70px !important;
}
    .leaflet-control-zoom-in, .leaflet-control-zoom-out {
        font-size: 30px !important;
    }

/* Map loading */
.map-loading {
    width: 100%;
    height: 85vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999999;
    background: rgba(255,255,255,0.8) url(images/throbber.gif) no-repeat 50% 50%;
    pointer-events:none;  
    display: block;
}

/* Map listings */


.map-listings-container {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 99999;   
    cursor: pointer;   
}


.map-listings-toggle-container {
    border-left: #666666 solid 1px;
    width: 220px;
    position: absolute;
    top: 10px;
    right: 0px;
    height: 40px;  
}

    .map-listings-container.map-mobile .map-listings-toggle-container {
        width: 160px;
        top: 0px;
        height: 60px;
    }

.map-listings-toggle {
    background: #007DBA;
    color: #fff;
    width: 200px;
    position: absolute;
    top: 0px;
    right: 10px;
    height: 40px;
    vertical-align: middle;
    font-size: 20px;
    font-weight: 500;
    padding: 0px 20px;
    line-height: 40px;
	font-family:"Open Sans", Calibri, sans-serif;      
}

    .map-listings-container.map-mobile .map-listings-toggle {
        width: 160px;
        height: 60px;
        right: 0px;
        line-height: 60px;
        padding-left: 10px;
    }

.map-listings-toggle i {
    position: absolute;
    right: 10px;
    top: 10px;
}

    .map-listings-container.map-mobile .map-listings-toggle i {
        top: 20px;
    }

.map-listings-content-container {
    max-height: 0px;
    position: absolute;
    top: 60px;
    right: 10px;  
    z-index: 99999;
    width: 200px;
    overflow-y: scroll;
    background: #fff;
    padding: 0 10px;
}

    .map-listings-container.map-mobile .map-listings-content-container {
        width: 160px;
        right: 0px;
    }   

    .map-listings-content .item {
        padding: 5px 0px 5px 0px;   
        color: #666666; 
        width: 100%;     
        position: relative;   
        border-bottom: 1px #666666 solid;    
    }

    .map-listings-content .item:last-child {
        border-bottom: none;    
    }    

        .map-listings-content .item:hover {
            background:#666666;
            color: #fff;
        }

    .map-listings-content .item a {
        color: inherit;
    	font-family:"Open Sans", Calibri, sans-serif; 
        font-size: 15px;    
        display: block;
        padding-right: 15px;    
    }
        .map-listings-content .item a:hover {
            color: inherit;     
        }

        .map-listings-content .item i {
            position: absolute;
            right: 0px;
            top: 30%;
        }    

    .map-listings-content .heading h3 i {
        position: absolute;
        right: 10px;
    }

.listing-accordion-content {
    display: none;
}

.mapOverflow {
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.mapOverflow > *{
    display: block;
    width: 100%;
    float: none;
    margin-bottom: 15px;
}