.select_layer {
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.vakata-context {
    z-index: 9999;
    font-size: 10px;
}

.leaflet-popup-content {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.leaflet-popup-content .box {
    position: relative;
    border: none !important;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 0px;
    width: 100%;
    box-shadow: none !important;
    /*font-family: 'Roboto','Arial',sans-serif;*/
}

.leaflet-popup-content .box-body {
    border-radius: 0px;
    padding: 2px;
    border: 0px;
    font-size: 12px;
    color: #737373;
    white-space: nowrap;
}

.leaflet-popup-content .box-header {
    padding: 5px;
    height: 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: relative;
}

.leaflet-popup-content .box-header .box-title {
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 265px;
    overflow: hidden;
    font-weight: bold;
    position: absolute;
    top: 2px;
}

.leaflet-popup-content .box-header .box-title a {
    color: #444 !important;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 300px;
}

.leaflet-popup-content .description {
    width: 220px;
    float: right;
    max-height: 57px;
    line-height: 14px;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
}

.leaflet-popup-content .layerName {
    float: left;
    display: inline-block;
    margin-top: -16px;
    margin-left: 77px;
    width: 220px;
    overflow: hidden;
    font-weight: bold;
    color: #008d4c;
}

.leaflet-popup-content-wrapper {
    border-radius: 0;
}

.leaflet-popup-close-button {
    z-index: 9999;
    color: black !important;
    opacity: 0.6;
}

.leaflet-sidebar .close {
    z-index: 99999999;
    top: 16px;
    width: 30px;
    height: 30px;
    font-size: 27px;
    line-height: 27px;
}

.leaflet-popup-close-button:hover {
    opacity: 1;
}

.leaflet-control-scalefactor {
    border: 0;
    border-radius: 0;
}

.leaflet-control-scalefactor-line {
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
}

.vectorial-getfeatureinfo-result,
.popup-getfeatureinfo-result {
    white-space: pre-wrap;
    width: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
    font-size: 13px;
}

.popup-getfeatureinfo-result {
    overflow-y: auto;
    max-height: 250px;
    height: auto;
    padding: 9px;
    font-style: italic;
}

#sidebar {
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 0px;
    z-index: 99999999 !important;
}

#sidebar>.box {
    height: 100%;
    border-radius: 0px;
    padding: 0;
    margin: 0;
}

#sidebar>.box-header {
    margin-bottom: 5px;
    max-height: 10%;
    min-height: 40px;
}

#sidebar .tab-content .tab-pane {
    position: absolute;
    top: 42px;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
    padding-top: 10px;
}

#sidebar .nav-tabs-custom>.nav-tabs>li.active {
    border-top-color: black;
    font-weight: bold;
}

#sidebar .jstree-default .jstree-wholerow {
    background: white !important;
}

#sidebar .jstree-default .jstree-disabled.jstree-clicked {
    background: white !important;
}

.leaflet-iconLayers-layerTitleContainer {
    display: table;
    width: 100%;
    background: rgba(255, 255, 255, .6);
    height: 25%;
    padding: 0;
    border: 0;
    position: absolute;
    bottom: 0%;
    transition: bottom .35s ease;
}

.leaflet-iconLayers-layerCheckIcon {
    width: 22px;
    height: 22px;
    background: url(/img/layerpreviews/green.png) no-repeat;
    border: none;
    cursor: pointer;
    background-position: -48px 0;
}

.vakata-context {
    z-index: 9999;
    font-size: 11px;
    background: #fefefe;
}

.vakata-context li>a>i:empty {
    width: 26px;
    height: 27px;
    line-height: 23px;
    margin-left: -23px;
}

.vakata-context li>a:hover {
    position: relative;
    background-color: rgba(0, 166, 90, 0.10) !important;
    box-shadow: none;
    text-shadow: none;
}

.vakata-context .vakata-context-hover>a {
    position: relative;
    box-shadow: none;
    background-color: rgba(0, 166, 90, 0.10) !important;
}

.leaflet-sidebar {
    z-index: 1040;
}

#importShapeModal {
    z-index: 1050;
}

#importShapeModal .modal-dialog {
    width: 75%;
}

.modal-dialog .modal-header {
    background-color: #00a65a;
    color: #fff;
}

.leaflet-bar a {
    border-radius: 0px !important;
    background-color: white;
    color: black;
    display: block;
    outline: none;
    transition: all .2s;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.leaflet-bar a:hover {
    width: 32px !important;
    height: 32px !important;
    background-color: rgb(205, 206, 205) !important;
    color: black !important;
    line-height: 32px !important;
}

.leaflet-bar a:active {
    color: black !important;
}

.popup-next-results .popup-next-results-buttons {
    float: right;
}

.popup-next-results .popup-next-results-buttons a {
    margin: 0 5px;
}

.hide-toc-btn {
    padding: 0;
    margin: 0;
    outline: none;
    font-size: 20px;
    color: black !important;
    opacity: 0.6;
}

.hide-toc-btn:hover {
    opacity: 1;
}

.leaflet-sidebar {
    position: absolute;
    top: 0;
}

#layersTree {
    padding-bottom: 10px;
}

#legendTree {
    padding: 10px;
}

.popup-previous-btn,
.popup-next-btn {
    display: none;
    color: black !important;
}

.popup-previous-btn:hover,
.popup-next-btn:hover {
    cursor: pointer;
}

.btn-visible {
    display: inline-block;
}

.popup-next-results {
    padding: 2px;
    min-height: 20px;
}

.popup-content-div {
    position: relative;
    overflow-y: auto;
}

.popup-content-div dl dd {
    margin-left: 10px;
}

.wms-result {
    position: absolute;
    right: 0;
    bottom: 0;
}

.wms-result .badge {
    font-size: 10px;
}

.results-count {
    display: none;
    vertical-align: middle;
    height: 100%;
    font-style: italic;
    font-size: 10px;
    margin-left: 5px;
    font-weight: normal;
}

.wms-response {
    white-space: pre-wrap;
    word-break: normal;
    max-width: 100%;
    overflow: auto;
    max-height: 80px;
}

.results-loader.visible,
.results-count.visible {
    display: inline-block;
}

.results-loader {
    display: none;
    margin-left: 5px;
    font-size: 12px;
}


/**
 * Vectorial data customization
**/

.info-group-title {
    color: #737373;
}

.hover-btn {
    opacity: 0.6;
}

.hover-btn:hover {
    opacity: 1;
}

.documents-list {
    font-size: 13px;
}


/** Feature details **/

#control-sidebar-box-content .panel {
    margin-bottom: 0;
}

.control-sidebar-box-header {
    color: white !important;
}

.control-sidebar-box-body dl {
    background-color: white;
    padding: 5px;
}

.control-sidebar-box-body dl {
    margin-bottom: 0;
}

.control-sidebar-box-body dl {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.42857;
}

.control-sidebar-box-body dl dt {
    font-size: 14px;
}

.control-sidebar-box-body dl dd p,
.control-sidebar-box-body dl dd span {
    font-size: 14px;
}

.control-sidebar-box-body dd {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid lightgray;
    min-height: 25px;
}

.control-sidebar-box {
    height: 100%;
}

.control-sidebar-box-body {
    height: 100%;
    padding-bottom: 40px;
}

#control-sidebar-box-content {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.control-sidebar-box-body .panel .box-header {
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
    border-bottom: 1px solid #f4f4f4;
    background: #2c3e50;
}

.control-sidebar-box-body .box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}

.box-header.with-border {
    border-bottom: 1px solid #f4f4f4;
}

.control-sidebar-box-header {
    min-height: 40px;
    overflow: hidden;
    background: #222d32;
    color: whitesmoke;
}

.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}

.control-sidebar-box-body .info-group-title {
    color: white;
}


/**
 Header buttons
**/

.gn-menu-main>li:last-child {
    border-right: 1px solid white !important;
}

.leaflet-cluster-cctv b,
.leaflet-marker-photo b {
    position: absolute;
    top: -10px;
    left: 10px;
    color: #555;
    background-color: #fff;
    border-radius: 15px;
    min-height: 17px;
    min-width: 18px;
    line-height: 13px;
    text-align: center;
    padding: 3px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .4);
    font-size: 11px;
}

.leaflet-cluster-cctv img,
.leaflet-marker-photo img {
    border: 2px solid #fff;
    box-shadow: 3px 3px 10px #888;
    position: relative;
    width: 40px;
    height: 40px;
}

.leaflet-popup-cctv .leaflet-popup-close-button,
.leaflet-popup-photo .leaflet-popup-close-button {
    background-color: white !important;
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
}

.leaflet-marker-cctv {
    border: 2px solid #fff;
    box-shadow: 3px 3px 10px #888;
}

.feature-details {
    position: relative;
    border-top: 1px solid #ccc;
    padding: 3px;
    padding-top: 7px;
}

.leaflet-popup-close-button {
    background-color: white !important;
    position: absolute !important;
    top: 9px !important;
    right: 5px !important;
}

.feature-title {
    line-height: 1.5em;
    height: 1.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: bold !important;
    font-size: 14px !important;
    color: black !important;
}

.feature-description {
    line-height: 1.5em;
    max-height: 3em;
    overflow: hidden;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}

.feature-layer {
    font-size: 10px;
}

.bagde-content {
    position: relative;
    margin-top: 20px;
}

.street-description {
    word-wrap: break-word;
    width: 90%;
}

.wms-details-list {
    margin-top: 0;
    margin-bottom: 25px;
}

.wms-result {
    position: absolute;
    left: 5px;
    bottom: 5px;
}

.leaflet-iconLayers-layerTitle {
    background: transparent;
    color: black;
    font-weight: bold;
    font-size: 9px;
}

.gn-menu li {
    line-height: 45px;
    font-size: 16px;
}

.layer_item .legend,
.layer_item .loading,
.layer_item .legend_wms,
.layer_item .layer_documents,
.layer_item .layer_focus {
    width: 30px;
    border: 1px solid white;
    height: 44px;
    float: right;
    display: none;
    overflow: hidden;
    font-size: 16px;
    margin-top: 2px;
}

.layer_item .legend {
    position: relative;
    height: 28px;
    background: #d3cfc8 !important;
    border-color: #d3cfc8 !important;
    border: 1px solid;
    margin-top: 10px;
}

.layer_documents,
.layer_focus {
    text-align: center;
}

.layer_documents.visible,
.layer_focus.visible {
    display: block;
}

.layer_item .loading i {
    vertical-align: middle;
    margin-bottom: 10px;
}

#gn-menu .gn-menu label {
    padding-left: 5%;
    width: 100%;
    margin-bottom: 0;
}

@media screen and (max-width: 422px) {
    .gn-menu-wrapper.gn-open-all {
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        transform: translateX(0px);
        width: 100%;
    }
    .gn-menu-wrapper.gn-open-all .gn-scroller {
        width: 100%
    }
}

.leaflet-sidebar.left {
    left: -600px;
    transition: left 0.5s, width 0.5s;
    padding-right: 0;
}

.leaflet-sidebar.left.visible {
    left: 0;
}

.leaflet-sidebar.right {
    right: -600px;
    transition: right 0.5s, width 0.5s;
    padding-left: 0;
}

.leaflet-sidebar.right.visible {
    right: 0;
}

@media (max-width: 767px) {
    .leaflet-sidebar {
        width: 100%;
        padding: 0;
    }
    .leaflet-sidebar.left.visible~.leaflet-left {
        left: 100%;
    }
    .leaflet-sidebar.right.visible~.leaflet-right {
        right: 100%;
    }
    .leaflet-sidebar.left {
        left: -100%;
    }
    .leaflet-sidebar.left.visible {
        left: 0;
    }
    .leaflet-sidebar.right {
        right: -100%;
    }
    .leaflet-sidebar.right.visible {
        right: 0;
    }
    .leaflet-sidebar>.leaflet-control {
        box-shadow: none;
        -webkit-border-radius: 0;
        border-radius: 0;
    }
    .leaflet-touch .leaflet-sidebar>.leaflet-control {
        border: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-sidebar {
        width: 512px;
    }
    .leaflet-sidebar.left.visible~.leaflet-left {
        left: 512px;
    }
    .leaflet-sidebar.right.visible~.leaflet-right {
        right: 512px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-sidebar {
        width: 512px;
    }
    .leaflet-sidebar.left.visible~.leaflet-left {
        left: 512px;
    }
    .leaflet-sidebar.right.visible~.leaflet-right {
        right: 512px;
    }
}

@media (min-width: 1200px) {
    .leaflet-sidebar {
        width: 512px;
    }
    .leaflet-sidebar.left.visible~.leaflet-left {
        left: 512px;
    }
    .leaflet-sidebar.right.visible~.leaflet-right {
        right: 512px;
    }
}

.loading-indicator {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: none;
    font-weight: normal;
}

.documents_list a {
    color: #337ab7 !important;
}

.group_item_chevron {
    float: right;
    margin-right: 10px;
}

.legend_wms {
    border: 1px solid lightgray;
    position: relative;
}

.legend_wms .open_legend_btn {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: transparent;
}

.legend_wms:hover .open_legend_btn {
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.88);
}

.legend_wms .open_legend_btn .open_legend_anchor {
    width: 100%;
    height: 100%;
    text-align: center;
}

.legend_wms .open_legend_btn .open_legend_anchor:hover,
.legend_wms .open_legend_btn .open_legend_anchor:focus,
.legend_wms .open_legend_btn .open_legend_anchor:active {
    outline: none;
}

.gn-menu-wrapper {
    border-right: 1px solid lightgray;
}

#mouseInst {
    display: none;
}

#CesiumViewBox .mouseRadar {
    display: none;
}

@media(max-width:800px) {
    .cesium-widget-credits {
        display: none !important;
    }
    #CesiumViewBox .footer_controls {
        bottom: 6px;
    }
    #GoogleStreetViewBox .footer_controls .mouse,
    #GoogleStreetViewBox .footer_controls .arrows {
        display: none !important;
    }
    #mouseInst {
        display: none !important;
    }
}

.layer_title {
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
    width: 60%;
    white-space: nowrap;
    overflow: hidden;
}

.leaflet-draw.leaflet-control {
    display: none;
    position: absolute;
    top: 0;
    float: right;
    right: 40px;
    z-index: 9999;
}

.leaflet-custom-measure {
    margin-bottom: 0px !important;
}

.leaflet-draw-toolbar {
    margin-top: 1px !important;
}

.ui-widget .ui-widget {
    background-color: white;
}

.ui-dialog .ui-dialog-title {
    color: white;
}

.leaflet-control-locate>a.leaflet-bar-part {
    cursor: pointer;
}

.coordinates-popup .leaflet-popup-content {
    min-width: 140px;
    text-align: center;
    padding: 15px;
}

.coordinates-popup .leaflet-popup-content-wrapper {
    border-bottom: initial !important;
    ;
}

.close-coordinates-popup {
    position: absolute;
    top: 0;
    right: 3px;
    padding: 3px;
    font-weight: bold;
}

.trimaps-tooltip {
    background: rgba(254, 254, 254, .85) !important;
    font-size: 12px;
    border-color: rgba(171, 17, 17, .7) !important;
}