﻿.layer-switcher.shown.ol-control {
    background-color: transparent;
}

.layer-switcher.shown.ol-control:hover {
    background-color: transparent;
}

.layer-switcher {
    opacity: 0.75;
    position: absolute;
    top: 3.5em;
    right: 0.5em;
    text-align: left;
}

.layer-switcher.shown {
    bottom: 3em;
}

.layer-switcher .panel {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 250px;
    font-family: sans-serif;
    color: white;
    padding: 0 1em 0 0;
    margin: 0;
    border: 4px solid #eee;
    border-radius: 4px;
    background-color: rgba(0,60,136,0.75);
    display: none;
    max-height: 100%;
    overflow-y: auto;
}

.layer-switcher.shown .panel {
    display: block;
}

.layer-switcher button {
    float: right;
    z-index: 1;
    position: absolute;
    right: 0px;
    top: 0px;
    height: calc(1.375em + 8px);
    width: calc(1.375em + 8px);
    border: 4px solid #eee;
    border-radius: 4px;
}

.layer-switcher.shown button {
    display: show;
    color: white;
}

.layer-switcher button:focus, .layer-switcher button:hover {

}

.layer-switcher ul {
    padding-left: 1em;
    list-style: none;
}

.layer-switcher li.group {
    padding-top: 5px;
}

.layer-switcher li.group > label {
    font-weight: bold;
}

.layer-switcher li.layer {
    display: table;
}

.layer-switcher li.layer label, .layer-switcher li.layer input {
    display: table-cell;
    vertical-align: sub;
}

.layer-switcher label.disabled {
    opacity:0.4;
}

.layer-switcher input {
    margin: 4px;
}

.layer-switcher.touch ::-webkit-scrollbar {
    width: 4px;
}

.layer-switcher.touch ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.layer-switcher.touch ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

/* make labels fully opaque, which requires subsequent adjustments to background opacities */
.layer-switcher.shown {
    opacity: 1;
}
.layer-switcher .panel {
    background-color: rgba(0,60,136,0.7);
}
.layer-switcher.shown button {
    background-color: transparent;
}
.layer-switcher.shown button:hover {
    background-color: rgba(0,60,136,0.66667);
}



.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
}
.ol-popup:after, .ol-popup:before {
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-width: 10px;
}
.ol-popup:before {
    border-width: 11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}
.ol-popup-closer:hover {
    background-color: rgba(255,0,0,0.7);
    color: white;
}

.ol-popup-left {
    left: -50px;
}
.ol-popup-left:after {
    left: 48px;
    margin-left: -10px;
}
.ol-popup-left:before {
    left: 48px;
    margin-left: -11px;
}

.ol-popup-right {
    right: -50px;
}
.ol-popup-right:after {
    right: 48px;
    margin-right: -10px;
}
.ol-popup-right:before {
    right: 48px;
    margin-right: -11px;
}

.ol-popup-bottom {
    bottom: 12px;
}
.ol-popup-bottom:after {
    top: 100%;
    border-top-color: white;
}
.ol-popup-bottom:before {
    top: 100%;
    border-top-color: #cccccc;
}

.ol-popup-top {
    top: 12px;
}
.ol-popup-top:after {
    bottom: 100%;
    border-bottom-color: white;
}
.ol-popup-top:before {
    bottom: 100%;
    border-bottom-color: #cccccc;
}

.ol-popup-bgs table {
    margin-top: 6px;
    margin-bottom: 0px;
}
.ol-popup-bgs table, .ol-popup-bgs th, .ol-popup-bgs td {
    border:1px solid #e5e5e5;
    border-collapse:collapse;
    font-family: arial;
    font-size: 80%;
    color: #333333;
}
.ol-popup-bgs th, .ol-popup-bgs td {
    valign: top;
    text-align: center;
}
.ol-popup-bgs th {
    background-color: #aed7ff;
}
.ol-popup-bgs h5 {
    margin-top: 12px;
    margin-bottom: 0px;
}

.ol-popup-row table, .ol-popup-row tr, .ol-popup-row thead, .ol-popup-row tfoot, .ol-popup-row tbody, .ol-popup-row tf {
   border-collapse: collapse;
   margin: 0px;
   padding: 0px; 
}
.ol-popup-row th {
   font-family: arial, helvetica, sans-serif;
   font-size: small;
   font-style: italic;
   font-weight: normal;
   text-align: left;
   border-collapse: collapse;
   margin: 0px;
   padding-left: 5px;
   padding-right: 5px;
}
.ol-popup-row td {
   font-family: arial, helvetica, sans-serif;
   font-size: small;
   border-collapse: collapse;
   margin: 0px;
   padding-left: 5px;
   padding-right: 5px;
}
.ol-popup-row .pl {
   padding-left: 5px;
}
.ol-popup-row .ar {
   text-align: right;
}
.ol-popup-row .wsnw {
   white-space: nowrap;
}



.ol-attribution ul {
    font-size: .833333rem;
}
.ol-attribution li {
    display: block;
}
.ol-attribution.ol-uncollapsible {
    height: auto;
    background: transparent;
    text-align: left;
}