:root {
    --main-color: rgba(122, 65, 56, 1.0) }

#map {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0; }

/*Control Buttons*/
.ol-control button {
    background: rgba(230, 230, 230, 0.9);
    color: rgba(60, 60, 60, 1.0);
    padding-bottom: 0.19em;
    padding-left: 0.03em; }
    .ol-control button:hover {
        background: rgba(150, 150, 150, 0.9);
        color: white; }
    .ol-control button:focus {
        background: rgba(150, 150, 150, 0.9); }

.ol-control {
    background-color: rgba(200, 200, 200, 0.6); }

/*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; }
h2 {
    font-family: Calibri;
    font-size: 15pt; 
    color: rgb(130, 130, 130); }

/*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*/
.loading {
    animation: spin 2s linear infinite; }
      @keyframes spin {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(-360deg); } }

/*Layerswitcher*/
.layer-switcher {
    top: 2.2em;
    left: .5em;
    width: 100%;}
    .layer-switcher li label {
        margin-top: -5px;
        padding-right: 0.7em; }
    /*.layer-switcher li.group > label { /*TO-DO: Überschrift nach oben verschieben. Wahrscheinlich hier
        display: table-caption;
        padding-top: 1px; }*/
    /*.layer-switcher .group button { /*Anpassen des collapse buttons
        background-image: none;
        background-color: rgba(248, 248, 248, 0.95); }
    .layer-switcher .group button:before {
        content: "\f0dd";
        font-family: FontAwesome;
        position: absolute;
        left: 3px;
        top: 0;
        margin-top: -8px;
        font-weight: 900; }*/

/*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-duration: 0.3s;
    transition-property: transform; }

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    transform: scale(1.1);
    color: var(--main-color); }

/*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;} }