/* steelblue: rgb(70, 130, 180); */

* {
    box-sizing: border-box;
    font-family: "Source Sans 3";
}

html, body {
    height: 100%; 
    margin: 0;
    padding: 0;
    font-size: 12px;
    box-sizing: border-box;
}


#mapid {
    position: relative; 
    width: 100%; 
    height: 100%; 
	z-index: 0;
}

#github-link {
    position: absolute; 
    top: 20px; 
    right: 20px; 
    opacity: 0.7; 
}

#github-icon {
    width: 30px; 
}

.cluster-marker {
    height: 30px !important;
    width: 30px !important;
    line-height: 30px !important;
    border-radius: 15px !important;
    background: rgba(70, 130, 180, 0.5);
    color: white;
    font-family: "Source Sans 3";
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}

/* custom leaflet marker */
.station-marker {
	position: absolute;
    box-sizing: border-box;
}

.station-pointer {
	position: absolute;
	transform: translateX(-50%);
	bottom: 0;
	height: 0;
	width: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 10px solid steelblue; /* Change color if needed */
}

.station-label {
	position: absolute;
	transform: translateX(-50%);
	bottom: 10px;
	padding: 2px 5px;
	background: steelblue;
	color: white;
	font-size: 12px;
	font-weight: bold;
	white-space: nowrap;
}

.close-button {
    position: absolute;
    color: pink;
    top: 10px;
    font-size: 20px;
    right: 10px;
}

#popup {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 90%;
	width: 90%;
	transform: translate(-50%, -50%);
	background-color: white;
	border: none;
	padding: 50px;
	display: none;
    flex-direction: column;
    overflow: hidden;
}

#title {
    font-weight: bold; /* Make the text bold */
    font-size: 2rem;
    text-align: center;
    font-family: "Source Sans 3";
    margin-bottom: 50px;
}

#popup-content {
    flex: 1;
    position: relative;
}

#plot {
	height: 100%;
    min-height: 250px;
}

#query-panel {
	position: absolute;
    top: 0;
	right: 0;
    width: 250px; 
    padding-left: 50px;
    background: white;
    box-sizing: border-box;
}

.query-panel-item {
    margin-bottom: 1.5rem;
    width:200px;
    position: relative;
}

.query-panel-item-icon {
    position: absolute;
    right: 0.5rem;
    transform: translateY(50%);
    color: #ccc;
}

.query-panel-item-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    box-sizing: border-box;
    margin: 0;
    font-size: 16px;
}

.query-panel-item-label {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

.query-panel-item-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow: scroll;
    width: 100%;
}

.query-panel-item-menu-item {
    /* padding: 8px; */
    cursor: pointer;
}

.query-panel-item-menu-item:hover {
    background-color: #f0f0f0;
}
