body {
    margin: 0;
    padding: 0;
}


.controls {
    background-color: #eee;
    border: #000 1px;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 10px;
}

.controls-container {
    position: fixed;
    left: 50%;
    bottom: -30px;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    width: 600px;
    background-color: rgba(32, 32, 32, 0.8);
    padding: 10px 10px;
    overflow: visible;
    transition: transform 0.3s ease-in-out;
}

.controls-container.hidden {
    transform: translate(-50%, calc(-50% + 120px));
}

.controls-tab {
    position: absolute;
    top: -25px;
    right: 0;
    width: 60px;
    height: 25px;
    background-color: rgba(32, 32, 32, 0.8);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.controls-tab i {
    color: #fff;
    font-size: 14px;
    transition: transform 0.3s ease-in-out, color 0.2s;
}

.controls-tab:hover i {
    color: #9e9c9c;
}

.controls-container.hidden .controls-tab i {
    transform: rotate(180deg);
}

.float-left {
    float: left;
}

.slide-container {
    padding: 10px 10px;
    float: left;
    width: 100%;
}

.controls-flex {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slider-wrapper {
    width: 100%;
    padding-top: 5px;
}

.timestamps-wrapper {
    padding-top: 5px;
}

.buttons-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.control-buttons-continer {
    display: flex;
    gap: 5px;
    padding-left: 10px;
}

.slider {
    width: 100%;
}

.timestamp-text {
    color: #fff;
    float: left;
    width: 33%;
}

.min-timestamp {
    text-align: left;
}

.cur-timestamp {
    text-align: center;
    color: rgb(4, 223, 91) !important;
}

.max-timestamp {
    text-align: right;
}

.checkbox-group {
    clear: left;
    width: 100%;
}

.text-color {
    color: #fff;
}

.check-item {
    margin: 5px 10px;
}

body {
    margin: 0;
    padding: 0;
}
#map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html,
body,
#map {
    height: 100%;
    margin: 0px;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(32, 32, 32, 0.9);
    color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    display: block;
    transition: 0.3s;
    color: white;
}

.sidebar a:hover {
    color: #9e9c9c;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: rgba(32, 32, 32, 0.8);
    color: white;
    padding: 10px 15px;
    border: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 3px;
    transition: 0.3s;
}

.openbtn:hover {
    color: #9e9c9c;
}

#main {
    position: relative;
    transition: margin-left 0.5s;
    padding: 16px;
    height: 100%;
}

.layers-select {
    max-width: 100%;
    padding: 5px;
}

#data-layers-select {
    width: 100%;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
    .sidebar a {
        font-size: 18px;
    }
}

.layers-container {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.data-layers-title {
    padding: 5px;
    font-size: 25px;
}

.data-layers-section {
    margin: 5px;
}

#navigation-locations {
    width: 100%;
    background-color: rgba(50, 50, 50, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#navigation-locations option {
    background-color: rgba(32, 32, 32, 0.9);
    color: #fff;
}

.coordinates-message {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
    animation: fadeOut 2s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
