/* =============================================================================
 * overlay.css — styles the "Overlays" panel (aerial/historical lists, per-row
 * checkbox + opacity slider, collapse arrows) built by overlay.js. Loads on /map/.
 * ============================================================================= */

/* These sections are at the bottom of the filters drawer, there's really no reason to collapse them */
.overlay-icon {
	display: none;
}

.overlay-icon.open {
	transform: scale(1, 1);
}

.overlay-opacity {
	height: 5%;
	width: 25%;
}

.overlaylist li {
	align-items: flex-start;
}

/* Stands in for the list when the view/year filters match nothing. Muted and
   italic so it reads as a status note rather than as another overlay row. */
.overlay-empty {
	color: var(--currentcolor-70);
	font-size: 0.9rem;
	font-style: italic;
	margin: 0;
}

.ovlabel {
	color: white;
	font-size: 1rem;
	margin: 0;
	margin-left: 2px;
	overflow: hidden;
	padding: 0;
	width: 60%;
}

.ovlink {
	color: var(--color-brand-blue-deeper);
	text-decoration: underline !important;

	&:hover,
	&:focus {
		color: color-mix(in sRGB, var(--color-brand-blue-deeper), black 20%);
	}

	&:visited {
		color: var(--color-brand-pink-deeper);

		&:hover,
		&:focus {
			color: color-mix(in sRGB, var(--color-brand-pink-deeper), black 20%);
		}
	}
}
