body {
    padding: 0;
    margin: 0;
    background-color: olive;
    font-family: Roboto;
}
html, body, #map {
    height: 100%;
    width: 100%;
}
.starts-body {
    overflow-y: hidden;
}

.index-body {
    justify-items: center;
    background-color: #bddab1;
}
.index-body h1 {
    padding: 30px;
}
.index-body section h3 {
    text-align: center;
    margin: 30px 0 10px 0;
}
.region-box {
    text-align: center;
    border: 5px solid darkolivegreen;
    border-radius: 30px;
}
.region-box h2 {
    color: darkolivegreen;
}
.region-box a {
    text-decoration: none;
}
.index-body footer {
    width: 67%;
}
.my-copyright {
    font-style: italic;
    font-size: .8em;
}

#opacityControls {
    text-align: center;
    position:absolute;
    width:800px;
    height:30px;
    bottom:20px;
    right:25%;
    left:50%;
    margin-left:-400px;
    z-index: 777;
}
.language-map-selector {
    position:absolute;
    top:12px;
    left:60px;
    z-index: 777;
    border: 2px solid gray;
    padding: 5px;
    border-radius: 5px;
}
.language-sheet-selector {
    position: relative;
    top: -6px;
    left: 30px;
    border: 1px solid black;
    padding: 5px;
    border-radius: 5px;
}
#start_selector {
    position: relative;
    top: -6px;
    left: 30px;
    border: 1px solid black;
    padding: 5px;
    border-radius: 5px;
}
#counter {
    text-align: center;
    font-size: 40px;
    position:absolute;
    width:100px;
    height:80px;
    bottom:20px;
    left:15px;
    z-index: 777;
    text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white;
}
#spinner {
    position:absolute;
    bottom:120px;
    left:15px;
    z-index: 777;
    display: none;
}
.slider-container {
    position: absolute;
    bottom: 10px;
    left: 25%;
    width: 50%;
    max-width: 800px;
    z-index: 777;
    display: none;
}
.timeline-container {
    position: absolute;
    top: 0;
    right: -60px;
}
.timeline-container label {
    position: absolute;
    top: 20px;
    left: -15px;
    font-weight: bold;
    text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white;
}
label:has(> span span .layer-separator) {
    margin-top: 10px;
}
.full-size {
    border: dashed 2px mediumpurple;
}
.restricted {
    border: solid 3px deeppink;
}
.highlighted {
    border: solid thick tomato;
}
.restricted-text {
    font-weight: bold;
    color: red;
}
.wo-author {
    border: dotted 3px hotpink;
}
.wo-author-w-full {
    border: dotted 4px purple;
}
.button-icon {
    display: block;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 2px -2px;
}
.welcome-icon {
    background-image: url(../images/information_24.png);
}
.statistics-icon {
    background-image: url(../images/statistics_24.png);
}
.papers-icon {
    background-image: url(../images/papers_24.png);
}
.call-icon {
    display: block;
    height: 64px;
    width: 64px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 2px -2px;
    background-image: url(../images/chat_64.png);
}
.starts-body .leaflet-bottom.leaflet-right .leaflet-control:first-child {
    margin-bottom: 45px;
}
.hide-map-link {
    width: 100%;
    text-align: right;
}
.ext-link {
    text-transform: lowercase;
    /*color: navy;*/
}

/* --- POP-UP --- */
/*
.leaflet-popup-content {
    padding: 15px;
    border: 1px solid lightgray;
}
*/
.leaflet-popup-content {
    min-height: 180px;
    padding-top: 5px;
}
.selected-menu-item {
    background-color: lightgrey;
}
.popup-logo {
    position: fixed;
}
.popup-text {
    margin-left: 170px;
    min-height: 160px;
}
.popup-content {
    border: solid lightgray;
    border-radius: 10px;
    padding: 15px 5px 5px;
    width: 97%;
}
.popup-header {
    position: absolute;
    margin-top: -12px;
    color: black;
    font-weight: bold;
    font-size: 8px;
}
.popup-left-header {
    margin-left: 0px;
}
.popup-right-header {
    right: 25px;
}
.gps-info img {
    margin-bottom: -8px;
}
.gps-info a {
    display: inline-block;
    padding-bottom: 5px;
}

/* --- CHARTS --- */
.stat-body {
    width: auto;
    height: auto;
    justify-items: center;
    background-color: #bddab1;
    padding: 10px;
}
.chart-container {
    width: 400px;
}
.stat-map-link {
    float: left;
    margin-right: 40px;
    background-color: white;
    padding: 2px 10px;
    border: 1px solid black;
}
.o-main-table {
    width: 100%;
    background-color: white;
    border: solid 1px gray;
    font-size: 12px;
    border-collapse: collapse;
    td:nth-child(2) {
        text-align: left;
    }
    td:nth-child(3) {
        padding-left: 45px;
    }
    td:nth-child(4) {
        padding-left: 40px;
    }
    tr:nth-child(odd) {
        background-color: lightgray;
    }
    td, th {
        padding: 3px 10px;
    }
    th.sortable {
        cursor: pointer;
    }
}
.stat_result_article {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
.o-sheet-wrapper {
    overflow-y: auto;
    height: calc(100vh - 110px);

    thead th {
        position: sticky;
        top: 0;
        background: lightgrey;
    }
    ol {
        padding-inline-start: 0;
    }
    table.o-sheet th[data-order="desc"]::after {
        content: "▼";
    }

    table.o-sheet th[data-order="asc"]::after {
        content: "▲";
    }
}
.sheet-icon {
    width: 20px;
    vertical-align: top;
}

.leaflet-searchbox-autocomplete .leaflet-searchbox-autocomplete-item {
    padding: 3px 0px 3px 0;
}

/*
#btn-spin {
    position: absolute;
    left: 50px;
    z-index: 10;
    font-size: 1.5em;
}
*/
.tbank {
    background-color: yellow;
}
#noscript_content {
    border-radius: 30px;
    background-color: lightgoldenrodyellow;
    margin: 20px;
    padding: 20px;
}

/* --- media --- */
@media only screen and (max-width : 480px) {
    .stat-body {
        width: inherit;
        height: inherit;
        justify-items: normal;
    }
    .o-sheet-wrapper {
         overflow-y: inherit;
         height: inherit;
    }
}
