.ol-control button {
    background-color: rgba(23,43,77,.5);
    color: #fff;
}

.ol-control button:hover {
    background-color: rgba(23,43,77,.5);
    color: #fff;
}

.ol-layerswitcher .panel li label {
	max-width: 18em;
}

.ol-layerswitcher .panel li .layerswitcher-opacity {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    vertical-align: middle;
    margin: 0;
}

.ol-layerswitcher .layerswitcher-opacity {
    border:0;
    background: none;
    height: 1em;
    box-shadow: none;
}

.ol-layerswitcher .layerswitcher-opacity:before {
    content: "";
    width: 100%;
    height: 3px;
    background: #017eff;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: 1px solid #017eff;
    box-sizing: border-box;
}

.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor {
    width: auto;
    transform: translateY(-50%);
    height: 3px;
    right: 0;
    background: #666;
    border-radius: 0;
}

.ol-touch .ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor,
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before {
    position: absolute;
    transform: translate(-50%,-50%);
    width: 6px;
    height: 16px;
    left: -1px;
    border-radius: 0;
    background: #017eff;
}

.ol-layerswitcher .layerswitcher-opacity-label {
    display: block;
    left: 10%;
    font-size: 0.6em;
    user-select: none;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
}

.ol-rotate {
    display: none;
}

.ol-permalink {
    position: relative;
    top: auto;
    right: auto;
}

.ol-permalink button i:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0c1';
    border: none;
    padding: 5px 0 0 0;
}

.ol-permalink button i:after {
    border: none;
}

.ol-layerswitcher .layerInfo {
    width: 25px;
    min-height: 25px;
    padding: 3px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 0;
}

.ol-layerswitcher .layerInfo:before {
    color: #017eff;
    font-size: 1.1em;
    left: 3px;
    top: 5px;
}

.ol-layerswitcher .layerInfo:hover::before {
    left: 2px;
    top: 5px;
}

.ol-control.ol-print {
    position: relative;
    top: auto;
    left: auto;
}

.ol-control.ol-permalink button,
.ol-control.ol-print button {
    margin: 0;
}

.ol-print-compass {
    top: 1.5em!important;
}

.ol-ext-print-dialog .ol-print-param li {
    bottom: auto !important;
    margin-left: auto !important;
}

.ol-legend {
    bottom: 2.5em !important;
}

.ol-layerswitcher [type=radio]+label:before, .ol-layerswitcher [type=radio]:checked+label:after, .ol-layerswitcher [type=checkbox]+label:before, .ol-layerswitcher [type=checkbox]:checked+label:after {
    height: 1.3em;
}

.ol-popup-feature .ol-popupfeature {
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000; /* Ensures it’s above other map elements */
    transform: translate(12%, -150%) !important;
}

.ol-popup.hasclosebox .closeBox {
    position: absolute;
    right: 0;
    top: 0;
}

.ol-popup .ol-fix {
    margin-right: 20px;
}

.ol-notification {
    bottom: 65px;
    z-index: 10;
}

.ol-select>div button {
    height: auto;
}

.custom-scale-line {
    position: absolute;
    bottom: .5em;
    left: .5em;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    color: #FFF;
    background-color: rgba(23, 43, 77, 0.5);
    border-radius: 2px 2px 0 0;
}

.custom-scale-line:hover {
    background-color: rgba(23, 43, 77, 0.5);
}

.custom-mouse-position {
    position: absolute;
    bottom: .5em;
    right: .5em;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    color: #FFF;
    background-color: rgba(23, 43, 77, 0.5);
    border-radius: 2px 2px 0 0;
}

.custom-mouse-position:hover {
    background-color: rgba(23, 43, 77, 0.5);
}

.custom-search {
    left: 0.5em;
    top: 8.5em;
}

.ol-zoom {
    left: .5em;
    background: none;
}

.ol-zoom .ol-zoom-out {
    margin-bottom: 0.5em;
}

.ol-popup > div {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.ol-popup.hasclosebox .ol-popup-content {
    max-width: 300px;
    margin: 0;
}

.ol-popup .ol-popupfeature .ol-coordsbt {
    border: 0;
    width: 2em;
    height: 2em;
    display: inline-block;
    color: rgba(0,60,136,.5);
    position: relative;
    background: 0 0;
    outline: 0;
}

.ol-popup .ol-popupfeature .ol-coordsbt:before {
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    font-weight: 900;
    content: "\f3c5";
    position: absolute;
    box-sizing: border-box;
    background-color: transparent;
    top: .1em;
    left: .3em;
}

.ol-popup .ol-popupfeature .ol-zoombt,
.ol-popup .ol-popupfeature .ol-coordsbt {
    float: left;
}

.ol-popup h1 {
	background-color: rgba(23, 43, 77, 0.5);
	color: #FFFFFF;
	font-size: 1em;
    padding: 5px;
    padding-right: 30px;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ol-popup .ol-feature-table {
	overflow: auto;
	max-height: 200px;
}

.ol-popup input {
    color: #bd4147;
    border: 1px solid #dee2e6;
    font-family: monospace;
    width: 12em;
    height: 2em;
    margin-top: 5px;
}

.ol-layerswitcher .panel li.ol-layer-group div.ol-layerswitcher-buttons {
    width: 100%;
}

.layerup, .layerInfo, .layerTrash, .layerExtent {
    z-index: 1;
}

.ol-layerswitcher.ol-collapsed {
    min-width: unset;
}

.ol-layerswitcher,
.ol-layerswitcher.ol-forceopen {
    min-width: 20em;
}

.ol-layerswitcher .panel {
    padding: 0em 1em 0em 0em;
}

.ol-layerswitcher .panel li {
    border: none;
}

.ol-layerswitcher .panel {
    height: calc(100vh - 300px);
    overflow-y: auto;
    box-sizing: border-box;
}

.ol-layerswitcher .li-content {
    width: 100%;
    padding-left: 25px;
}

.ol-layerswitcher li .li-content label {
    width: 100%;
    box-sizing: border-box;
    vertical-align: middle;
    margin: .6em 0;
}

.ol-layerswitcher .ol-layer-group {
    margin: 0 !important;
    border-bottom: 2px solid #dee2e6 !important;
}

.ol-layerswitcher .ol-layer-group .ol-layerswitcher-buttons {
    top: 15px;
}

.ol-layerswitcher .ol-layer-tile .ol-layerswitcher-buttons,
.ol-layerswitcher .ol-layer-image .ol-layerswitcher-buttons,
.ol-layerswitcher .ol-layer-vector .ol-layerswitcher-buttons {
    top: -15px;
}

.ol-layerswitcher .ol-layer-tile,
.ol-layerswitcher .ol-layer-image,
.ol-layerswitcher .ol-layer-vector {
    border-top: 1px solid #dee2e6 !important;
}

.ol-layerswitcher .ol-layer-tile .layerswitcher-legend,
.ol-layerswitcher .ol-layer-image .layerswitcher-legend,
.ol-layerswitcher .ol-layer-vector .layerswitcher-legend {
    margin-bottom: 10px;
	padding-left: 25px;
}

.ol-layerswitcher [type=checkbox]+label:before,
.ol-layerswitcher [type=radio]+label:before {
    content: '';
    border: 2px solid #ccc;
    background-color: transparent;
}

.ol-layerswitcher [type=checkbox]:checked+label:before,
.ol-layerswitcher [type=radio]:checked+label:before {
    background: rgba(23, 43, 77, 0.5);
    border-color: rgba(23, 43, 77, 0.5);
}

.ol-layerswitcher [type=checkbox]:checked+label:after{
    content: "\2713";
    color: #fff;
    position: absolute;
    top: -.15em;
    left: 0.25em;
    cursor: pointer;
    font-weight: 900;
    text-shadow: 1px 1px #fff;
    font-size: 1.2em;
    transform: none;
    border: 0;
    box-shadow: unset;
}

.ol-layerswitcher [type="radio"]:checked+label:after {
    content: none;
}

.ol-control.ol-layerswitcher {
    background: #017eff;
    /*
right: 0;

 */
    border-radius: 0;
}

.ol-layerswitcher button,
.ol-layerswitcher button:focus,
.ol-layerswitcher button:hover {
    background: #017eff;
    border: 0;
    user-select: none;
    outline: none;
}

.ol-layerswitcher button:before {
    background: #017eff;
    -webkit-box-shadow: 0.1em 0.1em #fff;
    box-shadow: 0.1em 0.1em #fff;
}

.ol-layerswitcher button:after {
    background: #fff;
    background-image: none;
}

.ol-layerswitcher .ol-layer-group {
    margin-top: 1em;
}

.ol-layerswitcher .ol-layer-group > .ol-layerswitcher-buttons .layerInfo {
    display: none;
}

.ol-layerswitcher-buttons > div {
    top: 20px;
}

.ol-layerswitcher-buttons > div:hover {
    background-color: #FFF;
    border: 2px solid rgba(0, 141, 208, 0.5);
}

.ol-layerswitcher .collapse-layers, .ol-layerswitcher .expend-layers {
    position: absolute;
    left: 0;
    z-index: 1;
    top: 25px;
}

.ol-layerswitcher .expend-layers:before,
.ol-layerswitcher .expend-layers:after,
.ol-layerswitcher .collapse-layers:before,
.ol-layerswitcher .collapse-layers:after {
    background: #017eff;
}

.ol-layerswitcher .panel ul {
    overflow: visible;
}

.ol-layerswitcher .layerup {
    width: 25px;
    height: auto;
    min-height: 25px;
    padding: 3px;
    background: transparent;
    color: #017eff;
    border: 1px solid #ccc;
    cursor: move;
}

.ol-layerswitcher .layerTrash {
    float: right;
    width: 25px;
    min-height: 25px;
    padding: 3px;
    background: transparent;
    color: #017eff;
    border: 1px solid #ccc;
}

.ol-layerswitcher .layerExtent {
    width: 25px;
    min-height: 25px;
    padding: 3px;
    background: transparent;
    color: #017eff;
    border: 1px solid #ccc;
}

.ol-layerswitcher .layerDownload {
    width: 25px;
    min-height: 25px;
    padding: 3px;
    background: transparent;
    color: #017eff;
    border: 1px solid #ccc;
}

.ol-layerswitcher .layerFeatureList {
    width: 25px;
    min-height: 25px;
    padding: 5px;
    background: transparent;
    color: #017eff;
    border: 1px solid #ccc;
}

.ol-layerswitcher .layerDownload i[aria-expanded='true']:before {
    display: none;
}

.ol-layerswitcher .layerDownload .dropdown-menu {
    z-index: 2;
}

.ol-layerswitcher .layerup:after {
    display: none;
}

.ol-layerswitcher .layerTrash:before {
    font-size: 1.1em;
    font-weight: bold;
    color: #017eff;
}

.ol-layerswitcher .layerup:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0dc";
    color: #017eff;
    font-size: 1.1em;
}

.ol-layerswitcher .layerup:after,
.ol-layerswitcher .layerup:before {
    border: none;
    position: relative;
    top: 2px;
    bottom: 0;
    left: 0;
    width: 0;
}

.ol-layerswitcher .layer-legend:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f03a";
    color: #017eff;
    font-size: 1.1em;
}

.ol-layerswitcher .layerExtent:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f065";
    color: #017eff;
    font-size: 1.1em;
    left: 4px;
    top: 5px;
}

.ol-layerswitcher .layerswitcher-legend img {
	max-width: 100%;
    border: 1px solid #dee2e6;
}

.ol-control.ol-layerswitcher .ol-switchertopdiv,
.ol-control.ol-layerswitcher .ol-switcherbottomdiv {
    display: none!important;
}

.ol-layerswitcher .layerswitcher-progress div {
    background-color: #369;
    height: 3px;
    display: block;
    width: 0;
    position: absolute;
    top: 0px;
    left: 25px;
}

.ol-header > div {
    width: 100%;
}

.ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    font-size: 12px;
}

.ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.ol-tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}

.ol-tooltip-measure:before,
.ol-tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}

.ol-tooltip-static:before {
    border-top-color: #ffcc33;
}

.ol-wmscapabilities input {
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.ol-wmscapabilities .ol-url input {
    margin-bottom: 10px;
    margin-right: 10px;
}

.ol-wmscapabilities button {
    color: #fff;
    background-color: rgba(23, 43, 77, 0.5);
    border-color: rgba(23, 43, 77, 0.5);
}

.ol-wmscapabilities .ol-url button {
    margin: 0;
}

.ol-wmsform {
    display: none !important;
}

.ol-control.ol-feature-list.ol-collapsed {
    display: none;
}

.ol-control.ol-feature-list {
    z-index: 9;
}

.ol-feature-list table {
    width: 100%;
}

.ol-feature-list .ol-scroll-container {
    min-height: 5em;
}

.ol-feature-list .ol-content .ol-header .ol-buttons {
    display: inline-flex;
    flex-flow: row-reverse;
    width: auto;
}

.ol-feature-list .ol-sizer:before {
    transform: translate(-50%,-100%);
    border-width: 5px 1.5em;
}

.ol-layerswitcher .panel li label span {
    font-size: 10pt !important;
}
