﻿@media (max-width: 767px) {
    .transparent-xs {
        background: transparent;
        box-shadow: none!important;
    }
}

a.leaflet-toolbar-icon {
    color: black;
}

.infowindow-sidebar {
    cursor: default;
}

#infowindow-sidebar .ecarto-iw-header {
    padding-top:5px;
}

.sidebar-content {
    background-color: #fff;
}



.ecarto-iw-content {
    max-height: 200px;
    overflow: auto;
}

#infowindow-sidebar .ecarto-iw-content  {
    max-height: none!important;
}


.ecarto-iw-row {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 100;
    color: #333;
}

#infowindow-sidebar .ecarto-iw-row {
    clear: both;
    margin-bottom:5px;
}

.ecarto-iw-label {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    display: inline-block;
}

#infowindow-sidebar .ecarto-iw-label {
    width: 25%;
    max-width: 100%;
    float: left;
    margin-bottom: 5px;
}

.ecarto-iw-data {
    display: inline-block;
    padding-left:5px;
    padding-right: 5px;
    font-weight: 400;
}


#infowindow-sidebar .ecarto-iw-data {
    width: 75%;
    max-width: 100%;
}

.ecarto-legend-header {
    font-weight: 600;
    color: black;
    font-size: 14px;
}

.ecarto-legend-title {
    font-weight: 600;
    font-size: 14px;
}

.ecarto-legend-wrap {
    color:rgb(94, 94, 94);
    border: 1px solid #888;
    border-radius: 3px;
    padding: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.2);
    font-weight: normal;
    font-size: 13px;
    max-width: 400px;
    max-height: 50vh;
    overflow: auto;
    cursor:default;
    
}

.ecarto-legend-singlerow {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 5px 0px;
    padding-top: 2px;
}

.ecarto-legend-item-text {
    vertical-align: middle;
}

.ecarto-legend-symbol-marker {
    width: 20px;
    height: 20px;
    margin-left: 0px;
    margin-right: 5px;
    vertical-align: middle;
}

.ecarto-legend-symbol-point {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-style: solid;
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-left: 0px;
    margin-right: 5px;
    border-radius: 7px;
    vertical-align: middle;
}

.ecarto-legend-symbol-line {
    border-top: 3px solid;
    width: 14px;
    height: 7px;
    display: inline-block;
    margin-left: 0px;
    margin-right: 5px;
    vertical-align: middle;
}

.ecarto-legend-symbol-polygon {
    border: 2px solid rgba(0, 0, 0, 0.2);
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-left: 0px;
    margin-right: 5px;
    vertical-align: middle;
}

.ecarto-legend-minmax {
    cursor:pointer;
    float:right;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
}

.ecarto-legend {
    padding-right:30px;
}

.ecarto-legend-minimize .ecarto-legend {
    display: none!important;
}

.ecarto-map-full {
    z-index: 0;
    width: 100%;
    height: 100%
}

.ecarto-iframe {
    height: 100%;
    width: 100%;
    margin: -1px;
}

.ecarto-content-container {
    height: 100%;
}

.ecarto-map-minify {
    z-index: 0;
    width: 220px;
    height: 220px;
    position: fixed;
    left: 20px;
    bottom: 30px;
    border: 2px solid black;
}

@media (max-width:500px) {
    .ecarto-map-minify{
        display:none;
    }
}

@media (max-height:500px) {
    .ecarto-map-minify {
        display: none;
    }
}

.ecarto-content-controls {
    position: fixed;
    left: 0px;
    top: 10px;
    /*width: 200px;
    height: 100px;*/
    background-color: rgba(0, 0, 0, 0.8);
    display: inline-block;
    max-width: 330px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px #696969 solid;
}

.ecarto-content-controls .content-exit {
    display: inline-block;
    color: #b3b3b3;
    text-align:center;
}

.ecarto-content-controls button.content-exit  {
    border: none;
    background: none;
    vertical-align:middle;
    width: 31px;
    height: 31px;
}

.ecarto-content-controls .exit-vertical-separator {
    width: 1px;
    background-color: #696969;
    display:inline-block;
    vertical-align:middle;
    position:absolute;
    top:0px;
    bottom:0px;
}

.ecarto-content-controls  button.content-exit:hover {
    color: #eee;
}

.ecarto-content-controls .content-info {
    width: auto;
    display:inline-block;
    overflow: hidden;
    vertical-align:middle;
    padding: 8px;
}

.content-info .info-title {
    font-weight: bold;
    color: #fff;
    font-size: 12px;
}

.content-info .info-subtitle {
    font-weight: normal;
    color: #ccc;
    font-size: 11px;
}

.ecarto-content-controls .info-date {
    font-weight: normal;
    width: auto;
    color: #ccc;
    font-size: 11px;
}


.ecarto-content-controls .content-separator {
    margin: 10px 0px;
    border-bottom: 1px solid #696969;
}

.info-img {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background: url("images/3d-house-48.png");
    background-size:cover;
}

.info-wrapper {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.ecarto-content-controls .info-date>i {
    font-size: 14px;
}

.ecarto-content-controls .info-date > span {
    margin-left: 5px;
}

.ecarto-content-controls .info-date .resource-list {
    border: none;
    cursor: pointer;
    height: 100%;
    padding-top: 2px;
    padding-left: 3px;
    padding-bottom: 2px;
    padding-right: 2px;
    color: #ccc;
    background: inherit;
    width: 95%;
}

.resource-list option {
    background: #000;
    color: #ccc;
    margin:3px;
}


.sidebar-destroy {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    right: 0;
}

.sidebar {
    cursor:default;
}


.leaflet-control-layers-list .leaflet-control-layers-overlays .layer-item label {
    display: inline-block;
}

.leaflet-control-layers-expanded {
    padding: 0px;
    /*max-width:300px;*/
    /*overflow:auto;*/
    min-width: 250px;
}

.leaflet-control .leaflet-control-title .pin-layer {
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 24px;
    cursor: pointer;
    float: right;
    margin-top: 3px;
    margin-left: 5px;
}

.leaflet-control .leaflet-control-title .collapse-control {
    width: 16px;
    height: 24px;
    cursor: pointer;
    float: right;
    margin-top: 0px;
    margin-left: 8px;
    color: #fff;
}

.leaflet-control-layers .pin-layer {
    background-image: url('Images/unpin.png');
}

.leaflet-control-layers.pinned .pin-layer {
    background-image: url('Images/pin.png');
}



.leaflet-control .leaflet-control-title .base-layers {
    background-image: url('Images/base-layers.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 24px;
    cursor: pointer;
    float: right;
    margin-top: 3px;
    margin-left: 5px;
    
}

.leaflet-control-layers-base,
.leaflet-control-layers-separator,
.leaflet-control-layers-overlays {
    margin: 10px;
}

.leaflet-control-title {
    font-size: medium;
    text-align: left;
    background-color: #1e4164;
    margin-bottom: 10px;
    padding: 7px 7px;
    overflow-wrap: break-word;
    border-radius: 3px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.leaflet-control-title .title {
    color: white;
    display: inline-block;
    padding: 0px 5px;
  
}

.leaflet-control-layers-overlays .layer-group {
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.leaflet-control-layers-overlays .layer-item {
    font-size: 12px;
}

.base-layers-list {
    display: none;
    position: absolute;
    z-index: 20000;
    border: 1px solid #bdc3c7;
    padding: 0px;
    top: 25px;
    right: 0px;
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.base-layers-list-title {
    line-height: 1;
    font-size: small;
    font-weight: 600;
    text-align: left;
    background-color: #e8e8e8;
    color: #696969;
    border-radius: 3px;
    padding: 7px 7px;
    overflow-wrap: break-word;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.base-layers-item {
    color: #5e5e5e;
    margin: 8px 0px;
    padding: 5px;
    border: 1px solid #bdc3c7;
    cursor: pointer;
    overflow: hidden;
}

.base-layers-item:hover {
    border: 2px solid #1e4164;
    padding: 4px;
    /*box-shadow: 2px transparent;*/
}

.base-layers-list-content {
    padding: 10px;
}


.base-layers-item-name {
    color: #5e5e5e;
    text-align: left;
    font-size: small;
}


.layer-transparency-toggle {
    margin-left: 10px;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    cursor: pointer;
    /*margin-top: 3px;*/
    float: right;
    background-repeat:no-repeat;
    
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAQAAAD8x0bcAAAApElEQVR4AZ3KJVCEARxE8Yd7wyLWyxexHrHeI+6S0Ir2hCXcoffBvZ3ftdP/5Z05/23beRSmkorsySUXqTJNDONcshTJCOMYZ5ppMgnAEsZpquwYYw4AgDWMA1BDGGvybGP0I275olSecv65RoTYAtQeQUSMR5bQPRFFvGMp9oLYSBmtIJrxYTrcNKDoJSRJgC5S6OCIKIYR4YBW0qrDwaGW/CUBCqdS1a+zN9sAAAAASUVORK5CYII=);
}

.layer-transparency-toggle:hover {
    opacity: 0.8;
}

.layer-transparency-slider {
    margin-left:5px;
    display: inline-block;
    width: 50px;
    float: right;
    display:none;
}

#mapSection {
    height: 100%;
    min-height: 100%;
}




/* pretty check box */

.pretty * {
    box-sizing: border-box
}

.pretty input:not([type=checkbox]):not([type=radio]) {
    display: none
}

.pretty {
    position: relative;
    display: inline-block;
    margin-right: 1em;
    white-space: nowrap;
    line-height: 1
}

.pretty input {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 1em;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    margin: 0;
    padding: 0;
    cursor: pointer
}

.pretty .state label {
    position: initial;
    display: inline-block;
    font-weight: 400;
    margin: 0;
    text-indent: 1.5em;
    min-width: calc(1em + 2px)
}

.pretty .state label:after,
.pretty .state label:before {
    content: '';
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    display: block;
    box-sizing: border-box;
    border-radius: 0;
    border: 1px solid transparent;
    z-index: 0;
    position: absolute;
    left: 0;
    top: calc((0% - (100% - 1em)) - 8%);
    background-color: transparent
}

.pretty .state label:before {
    border-color: #bdc3c7
}

.pretty .state.p-is-hover,
.pretty .state.p-is-indeterminate {
    display: none
}


.pretty.p-default.p-fill .state label:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.pretty.p-default .state label:after {
    -webkit-transform: scale(.6);
    -ms-transform: scale(.6);
    transform: scale(.6)
}

.pretty.p-default input:checked ~ .state label:after {
    background-color: #bdc3c7 !important
}

.pretty.p-default.p-thick .state label:after,
.pretty.p-default.p-thick .state label:before {
    border-width: calc(1em / 7)
}

.pretty.p-default.p-thick .state label:after {
    -webkit-transform: scale(.4) !important;
    -ms-transform: scale(.4) !important;
    transform: scale(.4) !important
}


.pretty.p-has-hover input:hover ~ .state:not(.p-is-hover) {
    display: none
}

.pretty.p-has-hover input:hover ~ .state.p-is-hover {
    display: block
}

    .pretty.p-has-hover input:hover ~ .state.p-is-hover .icon {
        display: block
    }

.pretty.p-has-focus input:focus ~ .state label:before {
    box-shadow: 0 0 3px 0 #bdc3c7
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state:not(.p-is-indeterminate) {
    display: none
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate {
    display: block
}

    .pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate .icon {
        display: block;
        opacity: 1
    }

.pretty.p-toggle .state.p-on {
    opacity: 0;
    display: none
}

.pretty.p-toggle .state .icon,
.pretty.p-toggle .state .svg,
.pretty.p-toggle .state img,
.pretty.p-toggle .state.p-off {
    opacity: 1;
    display: inherit
}

    .pretty.p-toggle .state.p-off .icon {
        color: #bdc3c7
    }

.pretty.p-toggle input:checked ~ .state.p-on {
    opacity: 1;
    display: inherit
}

.pretty.p-toggle input:checked ~ .state.p-off {
    opacity: 0;
    display: none
}

.pretty.p-plain input:checked ~ .state label:before,
.pretty.p-plain.p-toggle .state label:before {
    content: none
}

.pretty.p-plain.p-plain .icon {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.pretty.p-round .state label:after,
.pretty.p-round .state label:before {
    border-radius: 100%
}


.pretty.p-curve .state label:after,
.pretty.p-curve .state label:before {
    border-radius: 20%
}

.pretty input[disabled] {
    cursor: not-allowed;
    display: none
}

    .pretty input[disabled] ~ * {
        opacity: .5
    }

.pretty.p-locked input {
    display: none;
    cursor: not-allowed
}

.pretty input:checked ~ .state.p-primary label:after,
.pretty.p-toggle .state.p-primary label:after {
    background-color: #428bca !important
}

.pretty input:checked ~ .state.p-primary-o label:before,
.pretty.p-toggle .state.p-primary-o label:before {
    border-color: #428bca
}

.pretty input:checked ~ .state.p-primary-o label:after,
.pretty.p-toggle .state.p-primary-o label:after {
    background-color: transparent
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-primary-o label:after {
    background-color: #428bca !important
}


.pretty input:checked ~ .state.p-info label:after,
.pretty.p-toggle .state.p-info label:after {
    background-color: #5bc0de !important
}

.pretty input:checked ~ .state.p-info-o label:before,
.pretty.p-toggle .state.p-info-o label:before {
    border-color: #5bc0de
}

.pretty input:checked ~ .state.p-info-o label:after,
.pretty.p-toggle .state.p-info-o label:after {
    background-color: transparent
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-info-o label:after {
    background-color: #5bc0de !important
}

.pretty input:checked ~ .state.p-success label:after,
.pretty.p-toggle .state.p-success label:after {
    background-color: #5cb85c !important
}

.pretty input:checked ~ .state.p-success-o label:before,
.pretty.p-toggle .state.p-success-o label:before {
    border-color: #5cb85c
}

.pretty input:checked ~ .state.p-success-o label:after,
.pretty.p-toggle .state.p-success-o label:after {
    background-color: transparent
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-success-o label:after {
    background-color: #5cb85c !important
}


.pretty input:checked ~ .state.p-warning label:after,
.pretty.p-toggle .state.p-warning label:after {
    background-color: #f0ad4e !important
}

.pretty input:checked ~ .state.p-warning-o label:before,
.pretty.p-toggle .state.p-warning-o label:before {
    border-color: #f0ad4e
}

.pretty input:checked ~ .state.p-warning-o label:after,
.pretty.p-toggle .state.p-warning-o label:after {
    background-color: transparent
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-warning-o label:after {
    background-color: #f0ad4e !important
}

.pretty input:checked ~ .state.p-danger label:after,
.pretty.p-toggle .state.p-danger label:after {
    background-color: #d9534f !important
}

.pretty input:checked ~ .state.p-danger-o label:before,
.pretty.p-toggle .state.p-danger-o label:before {
    border-color: #d9534f
}

.pretty input:checked ~ .state.p-danger-o label:after,
.pretty.p-toggle .state.p-danger-o label:after {
    background-color: transparent
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-danger-o label:after {
    background-color: #d9534f !important
}

@media print {
    .pretty .state .icon,
    .pretty .state label:after,
    .pretty .state label:before,
    .pretty .state:before {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


/* layer tree */
/* Remove default bullets */
ul.ecarto-layer-tree, .ecarto-layer-tree ul {
    list-style-type: none;
    
}

/* Remove margins and padding from the parent ul */
.ecarto-layer-tree {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.ecarto-layer-tree-caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
    font-weight: 600;
}

/* Create the caret/arrow with a unicode, and style it */
.ecarto-layer-tree-caret::before {
    content: "\25B6";
    color: #848484;
    display: inline-block;
    margin-right: 6px;
    margin-left: 2px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.ecarto-layer-tree-caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.ecarto-layer-tree-nested {
    display: none;
    padding-left: 17px;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.ecarto-layer-tree-active {
    display: block;
}


.ecarto-map-sidebar .layer-item .ecarto-legend {
    padding-left: 20px;
    margin-bottom: 10px;
}

.layer-icon {
    background-image: url(images/layers.png);
    background-repeat: no-repeat;
    background-position: center;
}

.layer-icon-bw {
    background-image: url(images/layers-bw.png);
    background-repeat: no-repeat;
    background-position: center;
}

.layer-icon-black {
    background-image: url(images/layers-black.png);
    background-repeat: no-repeat;
    background-position: center;
}

.layer-icon-white {
    background-image: url(images/layers-white.png);
    background-repeat: no-repeat;
    background-position: center;
}


.ecarto-map-sidebar .base-layers-list {
    position: relative;
    top:0px;
    left:0px;
}


.leaflet-control-scale.leaflet-control-scale-attribution {
    margin: 0px;
    margin-left: 5px;
    display: inline-block;
    font-size: inherit;
}

.leaflet-control-scale.leaflet-control-scale-attribution .leaflet-control-scale-line {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 2px;
    border-top: none !important;
    border-bottom: 2px solid #777 !important;
}

.leaflet-control-scale.leaflet-control-scale-attribution .leaflet-control-scale-text {
    display: inline-block;
    padding-right: 3px;
    padding-left: 5px;
}

.leaflet-container .leaflet-control-attribution {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
}

.leaflet-container .leaflet-control-attribution a {
    color: #000;
}

.leaflet-control-attribution .leaflet-control-zoomdisplay-attribution {
    margin: 0px;
    margin-left: 5px;
    display: inline-block;
    font-size: inherit;
}