.wrapper, #map, .form {
    height: 98vh;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.wrapper {
    position: relative
}

.control {
    background-color: white;
    max-width: fit-content;
    display: table-cell;
    vertical-align: middle;
    height: 50px;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
}

.control label {
    vertical-align: middle;
    text-align: center;

}

#map, .form {
    position: absolute;
    top: 0;
    left: 0
}

.form {
    z-index: 100000;
    padding: 10px 50px;
    width: 90%;
    pointer-events: none;
    font-family: Calibri, serif;
}

.form > * {
    pointer-events: auto;
}

/* The slider itself */
.slider {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 95%; /* Full-width */
    height: 20px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    vertical-align: middle;
}

div {

}


/* Mouse-over effects */
.slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

ul {
    list-style: none;
    padding-left: 0;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 20px; /* Set a specific slider handle width */
    height: 20px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
    width: 20px; /* Set a specific slider handle width */
    height: 20px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.slider-container {
    position: relative; /* This allows absolute positioning inside */
    width: 100%; /* Example width */
    margin: 10px auto; /* Center horizontally for demo */
}

.slider-container input[type="range"] {
    position: relative; /* Stays in normal flow, but we can set a z-index if needed */
    z-index: 1;
    width: 100%;
}

/* The text to overlay on top of the slider */
.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none; /* So clicks/drags pass through to the slider */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
}

.dateSlider {
    width: 100%
}

.date-layer-control-container {
    width: 150px;
    position: absolute;
    top: 10px;
    left: 35px;
}

.layerDesc {
    flex: 1;
    margin-right: 6px;
    width: 120px;
    display: inline-block;
}
.layer-control-container a{
    position: absolute;
    top: 0;
    right: 25px;
    width: 32px;
    height: 32px;
    background-image: url("/Images/layers.png");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
}
.layer-control-list-container{
    position: absolute;
    top: 35px;
    right: 5px;
    display: inline-block;
    width: 120px;
}
.layer-icon{
    width: 32px;
    height: 32px;
    display: inline-block;
    opacity: 1;
}
.hidden {
    display: none;
}
#panorama {
    width: 98%;
    height: 98%;
    min-height: 500px;
}
@media (max-width: 1440px) {
    #panorama {
        min-height: 480px;
    }
}
@media (max-width: 640px) {
    #panorama {
         min-height: 440px;
    }
}