* {
    touch-action: none;
}

@font-face {
    font-family: "Noto Sans Symbols 2";
    src: url('NotoSansSymbols2-Regular.ttf');
}

html,
body {
    font-family: sans-serif;
    height: 100%;
    margin: 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

#map {
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    left: 0px;
    top: 0px;
}

#info_top {
    position: absolute;
    top: 0;
}

.info {
    margin-left: 0px;
    width: 100%;
    height: fit-content;
    border: 1px solid black;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0px 10px 0px;
    bottom: 0;
    text-align: center;
    z-index: 10;
    font-size: larger;
}

#info_ts {
    font-weight: bold;
    color: red;
}

#info_diff {
    font-size: small;
    color: white;
}

#info_recorded {
    color: red;
    vertical-align: text-top;
    visibility: hidden;
}

button {
    position: relative;
    font-family: "Noto Sans Symbols 2";
    font-size: larger;
    padding-top: 0.3em;
    line-height: 1.6em;
    min-width: 1.7em;
    text-align: center;
}

.info_button_option {
    position: absolute;
    font-family: sans-serif;
    font-size: small;
    bottom: 0px;
    left: 0px;
    padding: 0px;
    margin: 0px;
    line-height: 1.0em;
    width: 100%;
}

.sameline {
    display: inline-block;
    vertical-align: middle;
}

#info_pause {
    display: none;
    animation-name: pulsing;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

#info_past {
    font-size: large;
    text-align: center;
}

#info_past_label {
    font-family: "Noto Sans Symbols 2";
    font-size: small;
    color: white;
}

#info_step {
    font-size: large;
    text-align: center;
}

#info_step_label {
    font-family: "Noto Sans Symbols 2";
    font-size: small;
    color: white;
}

#info_auto_state {
    color: white;
    font-size: small;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0s;
    transition: 0s;
}

.slider:before {
    font-family: "Noto Sans Symbols 2";
    position: absolute;
    content: "⏭";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0s;
    transition: 0s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

div.ol-zoom {
    top: auto;
    bottom: 5em;
    right: 10px;
    left: auto;
    font-size: larger;
}

div.ol-zoom button {
    padding-top: 0.3em;
}

.ol-attribution {
    position: absolute;
    top: auto;
    bottom: 5em;
    left: 5px;
    right: auto;
    text-align: left;
}

.ol-attribution button {
    font-size: larger;
    padding-top: 0.3em;
}

#legend {
    position: absolute;
    border: 1px black solid;
    right: 2px;
    top: 70px;
    z-index: 50;
    visibility: hidden;
}

#legend_button {
    position: absolute;
    right: 8px;
    top: 0.8em;
    z-index: 30;
}

@keyframes pulsing {
    50% {
        opacity: 0.2;
    }
}

#running {
    font-family: "Noto Sans Symbols 2";
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 20;
    color: red;
    font-size: xx-large;
    animation-name: pulsing;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    visibility: hidden;
}

#info_bar {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 50;
}

#info_bar_wrapper {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 20;
}

#options_menu {
    position: absolute;
    top: 0px;
    margin-left: 50%;
    padding: 5px;
    border: 1px black solid;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    width: fit-content;
    transform: translate(-50%, -100%);
    visibility: hidden;
    white-space: nowrap;
}

.options_item {
    margin: 0px 3px;
    white-space: nowrap;
}

.radio_options {
    color: white;
    text-align: left;
    font-size: small;
}

#info_bottom {
    position: relative;
    bottom: 0;
}

.sources {
    position: absolute;
    top: 75px;
    left: 3px;
    z-index: 25;
    font-weight: bold;
    font-size: small;
}

.src_on {
    text-align: center;
    margin: 5px;
    background-color: rgba(255, 0, 0, 0.5);
    border: 1px black solid;
    color: yellow;
    padding: 2px;
}

.src_off {
    text-align: center;
    margin: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px black solid;
    color: rgba(0, 0, 0, 0.2);
    padding: 2px;
}

#parameters {
    font-family: "Noto Sans Symbols 2";
    position: absolute;
    top: 75px;
    right: 3px;
    z-index: 25;
    font-weight: bold;
    font-size: larger;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid black;
}

#parameters>div {
    text-align: left;
    font-weight: bold;
    font-size: larger;
    border-bottom: 1px solid black;
    margin: 0px 5px 0px 5px;
}

#parameters label {
    vertical-align: top;
}

#parameters .section {
    font-size: small;
    text-align: center;
}