:root {
    --main-color: rgba(0, 80, 135, 1.0) }

#map {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0; }
    
/*Control Buttons*/
.ol-control button {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); 
    color: black;
    padding-bottom: 0.19em;
    padding-left: 0.03em;
    border-radius: 0; }
    .ol-control button:hover {
        background: rgba(150, 150, 150, 0.6);
        color: white; }
    .ol-control button:focus {
        background: rgba(150, 150, 150, 0.6);
        color: white; }

.ol-control {
    background-color: rgba(200, 200, 200, 0.6);
    padding: 0;
    border-radius: 0;
    border-color: var(--main-color); }

    .ol-zoom {
        right: .5em;
        left: unset;
        top: 2.8em; }

/*Attribution*/
.ol-attribution.ol-uncollapsible {
    max-width: 100%;
    background-color: rgba(235, 235, 235, 0.95);
    border-top: 3px solid transparent;
    height: 27px; }
    @media (max-width: 576px) {
        .ol-attribution.ol-uncollapsible {
            width: 100%;
            height: auto;
            text-align: center; } }
    .ol-attribution ul {
        font-size: 12px;
        font-family: "Calibri";
        letter-spacing: 0.015em;
        color: rgb(0, 0, 0);
        text-shadow: 0 0 2px #fff;
        text-align: center;
        vertical-align: top; }

/*Textstyle*/
.lorem {
    font-family: Calibri;
    font-size: 13pt;
    margin-top: 9px; }
h2 {
    font-family: Calibri;
    font-size: 15pt; 
    color: #494949; }
    h2:after {
        content: ' ';
        display: block;
        margin-top: 5px;
        margin-left: 0;
        border: 1px solid var(--main-color); }

hr {
    border: 0;
    clear:both;
    display:block;
    width: 96%;               
    background-color:black;
    height: 1px;
    }

/*Font Awesome Icon Style der Control Buttons*/
.fa-plus {
    font-size: 11px; }
.fa-minus {
    font-size: 11px; }
.fa-expand {
    font-size: 18px;
    padding-top: 3px; }
.fa-compress {
    font-size: 18px;
    padding-top: 3px; }
.fa-search {
    font-size: 12px;
    padding-top: 3px; }

/*Ladeicon animieren*/
.fa-spinner {
    color: var(--main-color); }

/*Layerswitcher*/
.layer-switcher {
    top: 2.2em;
    left: .5em;
    width: 100%; }
    .layer-switcher li {
        display: grid; }
        .layer-switcher li label {
            margin-top: -5px;
            padding-right: 0.7em; }
    .layer-switcher .group button {
        background-color: rgba(0, 0, 0, 0.0);}

/*Hintergrundkartenauswahl*/
.bgmap {
    border-radius: 5px;
    border: 1px solid black;
    cursor: pointer; 
    height: 100px; 
    width: 97%;
    max-width: 500px;
    min-width: 185px;
    background-size: cover; }
    .bw {
        background-image: url('SVG/Hintergrundkarten/osm_bw.png'); }
    .osm {
        background-image: url('SVG/Hintergrundkarten/osm.png'); }
    .sat {
        background-image: url('SVG/Hintergrundkarten/sat.png'); }
    .topo {
        background-image: url('SVG/Hintergrundkarten/topo.png'); }
    .cycle {
        background-image: url('SVG/Hintergrundkarten/cycle.png'); }
    .bgmap:hover {
        border: 1px solid rgba(200, 200, 200, 1);
        color: white; }
    .selected {
        border: 1px solid rgba(200, 200, 200, 1);
        color: white; }
    .bgmap-name {
        position: relative;
        top: 65%;
        width: auto;
        height: 35%;
        background-color: rgba(230, 230, 230, 0.9);
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
        text-align: center;
        padding-top: 4px;
        font-family: Calibri;
        letter-spacing: 1px;
        font-size: 13pt; }


/*Legende*/
#legend_img {
    height: 1.1em;
    width: auto; }

/*Hover-Effekt Sidebar Icons*/
.hvr-grow {
    color: black;
    display: inline-block;
    vertical-align: middle;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    transition: color .3s, transform .4s;}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    transform: scale(1.03);
    color: var(--main-color); }

    @keyframes stripes {
        to {
          background-size:100% 100%;
        }
      }

/*Geocoder*/
.ol-geocoder.gcd-gl-container {
    animation-name: bump; /*Animation beim aufrufen des Web GIS zusammen mit der Sidebar*/
    animation-duration: .5s; }
    @keyframes bump {
      from {margin-left: 3.5em;} }

/*Popup Inhalt*/
.popupContent {
    margin-top: 1em;
    margin-left: .1em;
    width: 100%;
    line-height: 150%; }
    h3 {
        font-family: Calibri;
        font-size: 13pt;
        color: rgb(50, 50, 50);
        font-weight: bold;
        display: inline; }
    hr {
        visibility: hidden; 
        margin-bottom: -.6em; }
    #typ {
        color: var(--main-color);
        font-weight: bold; 
        font-size: 12pt; }

/*Thumbnails*/
#thumbnail {
    border: 1px solid #ddd;
    border-radius: 6px; 
    width: 174px; }
    #thumbnail:hover {
        box-shadow: 0 0 0 2px var(--main-color); }
#pdf-thumbnail {
    border: 1px solid #ddd; 
    padding: 3px; 
    width: 115px; }
    #pdf-thumbnail:hover {
        box-shadow: 0 0 0 2px var(--main-color); }

.date {
    bottom: 0;
    right: 0;
}

/*Popup*/
#popup {
    height: auto;
    width: auto;
    max-width: 45%;
    position: absolute;
    vertical-align: middle;
    display: none; }

#popup-inline {
    margin: .15vw;
    height: 50%;
    overflow: auto;
    padding: 1vw;
    padding-top: 0.4vw;
    position: relative;
    text-align: justify;
    hyphens: auto;
    background: rgba(255, 255, 255, 1); }

button.close {
    padding: 10px;
    border: 1px solid var(--main-color);
    border-radius: 4px; }

.close {
    font-size: 1em;
    font-weight: 600;
    color: var(--main-color);
    line-height: .7;
    opacity: 1.0;
    text-shadow: none; } 

    .close:hover {
        color: var(--main-color);
        opacity: 1.0;
        background: rgba(240, 240, 240, 1.0);
        text-decoration: underline;
        text-shadow: none; }
    
    .close:not(:disabled):not(.disabled):hover {
        opacity: 1.0; }

    .close:focus {
        color: var(--main-color);
        opacity: 1.0;
        background: rgba(240, 240, 240, 1.0);
        text-decoration: underline;
        text-shadow: none; }
    
    .close:not(:disabled):not(.disabled):focus {
        opacity: 1.0; }

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); 
    z-index: 5000000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; }

/*Externe Links mit Icon versehen*/
a[target="_blank"]:after {
    content: ' \f08e';
    font: normal normal normal 0.75em/1 FontAwesome; }
a[href$=".pdf"]:after, a[href$=".pdf"]:after {
    content: ''; }
a[href$=".png"]:after, a[href$=".pdf"]:after {
    content: ''; }

/*Handlungsfelder für Seitenleiste*/
.hlf {
    color: white; 
    font-weight: 700; 
    padding: 0 4px 1px 4px; 
    border-radius: 3px; 
    white-space: nowrap;}
#rad {
    background-color:rgb(218, 109, 108); }
#fuss {
    background-color:rgb(222, 167, 63); }
#ovm {
    background-color:rgb(159, 74, 139); }
#leben {
    background-color:rgb(46, 162, 118); }
#kfz {
    background-color:rgb(74, 153, 201); }