.ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible {
    max-width: calc(100% - 3em) !important;
    height: 1.5em !important;
}

.ol-control button,
.ol-attribution,
.ol-scale-line-inner {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
}

.ol-popup {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
    font-size: 12px;
    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: 5px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -3pc; /*-50px;*/
    min-width: 100px;
}

.ol-popup * {
  line-height: 1.5em;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
    color: #c3c3c3;
}

@font-face { font-family: 'PTSans'; src: url('/assets/PTSansNarrow-Regular.ttf'); }

#popup-content { display: flex; justify-content: left; align-content: stretch; margin: 0; flex-wrap: wrap; width: 20em; }
div.popup_block { margin: 0; position:relative; padding: 0.5em 0.2em 0 0.2em; min-width: 3em; font-size: 1.2em; margin: 0 0 0.2em 0.5em }
div.inactive { background-color: #FDC; }
div.contact { background-color: #EEC; }
div.data { background-color: #CCE; }
div.cite { background-color: #CEC; }
div.popup_block span.popup_label { font-family: PTSans, sans-serif; position: absolute; top:0; left:0; color: #999; font-size: 0.6em; padding-left: 0.3em }
div.popup_block span.popup_value { font-family: PTSans, sans-serif; color: black; font-weight: bold }
div.popup_block span.popup_value a { color: #333; text-decoration: none; }
