@charset "UTF-8";

#map {
	height: 600px;
	width: 100%;
	padding-bottom: 15px;
}

#map1 {
	height: 600px;
	width: 100%;
	padding-bottom: 15px;
}

.ol-viewport {
	border: 1px solid #bfb7b9;
	border-radius: 0.25rem;
}

.layer-switcher.shown {
	max-height: 465px;
}

#legend {
    z-index: 11;
    padding: 4px 8px;
    border: 2px solid #f1e8e8;
    position: absolute;
    bottom: 50px;
    height: 40%;
    overflow: scroll;
    width: 11%;
    right: 0%;
    background-color: #ffffff;
    font-weight: bold;
    display: none;
}

/* Mobile view styles */
@media screen and (max-width: 767px) {
    #legend {
        width: 11%;
        bottom: 0px;
        right: 50px;
        height: auto;
        overflow: scroll;
        position: absolute;
    }
}

#legend h4 {
    margin-bottom: 1rem;
}

#legend p {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

/* .legend-container {
    display: none;
    padding: 5px;
    border: 3px solid #0099cc;
    border-radius: 5px;
    opacity: 0.9;
    max-width: 250px;
    max-height: 500px;
    top: 290px;
    right: 219px;
    margin: 0 1em 1em 1em;
    overflow: auto;
    position: absolute;
    background-color: #d8f1fbe3;
    font-weight: bold;
    cursor: move;
    z-index: 1;
} */

/* Mobile view styles */
@media screen and (max-width: 767px) {
    .legend-container {
        top: auto;
        right: auto;
        bottom: 0;
        right: 50px;
        width: 100%;
        margin: 0;
        overflow: auto;
    	position: absolute;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    margin-right: 5px;
}

.legend-label {
    font-size: 14px;
}


#viewDiv {
	padding: 0;
	margin: 0;
	height: 80%;
	width: 100%;
}

#timeSlider {
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 330px;
}

#titleDiv {
	padding: 10px;
	font-weight: 36;
	text-align: center;
}