/*
MARR Large Appliance Recycling (2026) - Sites CSS
LM 2026-06-18 ET
*/

ul.region-cards {
	display: grid;
	gap: 0.375rem;
	grid-template-columns: repeat(6, 1fr);
}

ul.region-cards > li {
	background-color: white;
	padding: 1.5rem;
	border: 1px solid rgb(204,204,204);
	border-radius: 1rem;
}

ul.region-cards > li:nth-child(-n + 3) {
	grid-column: span 2;
}

ul.region-cards > li:nth-child(n + 4) {
	grid-column: span 3;
}

ul.region-cards a,
ul.region-cards a:visited {
	text-decoration: none;
}

ul.region-cards h2 {
	font-size: 1.125rem;
	color: rgb(27,48,93);
	padding-bottom: 0.5em;
	border-bottom: 1px solid rgb(80,80,80);
	margin: 0 0 0.7em;
}

ul.region-cards ul {
	font-size: 1rem;
	column-gap: 2em;
}

ul.region-cards > li:nth-child(2) > ul,
ul.region-cards > li:nth-child(4) > ul {
	column-count: 2;
}

ul.region-cards ul > li {
	break-inside: avoid;
}

div.list-panel {
	padding: 1.5rem;
	border: 1px solid rgb(191,191,191);
	border-radius: 1rem;
	margin: 2rem 0;
}

ul.site-list {
	list-style: none;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 80vh;
	padding: 0 0.5rem 0 0;
	margin: 0;
	scrollbar-color: rgb(27,48,93) rgb(233,249,255);
	scrollbar-width: thin;
}

ul.site-list li {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid rgb(147,147,147);
}

ul.site-list li:last-child {
	border-bottom: none;
}

ul.site-list a,
ul.site-list a:visited {
	display: block;
	color: black;
	font-family: "Ubuntu", "Lato", sans-serif;
	font-size: 1rem;
	text-decoration: none;
	padding: 0.5em 0;
	border-left: 0px solid transparent;
	transition: all 0.2s;
}

ul.site-list a:hover {
	border-left: 0.75em solid rgb(181,229,3);
	padding-left: 0.5em;
}

div.site-hours.open {
	color: rgb(103,178,4);
}
div.site-hours.closed {
	color: rgb(191,9,0);
}
div.site-hours.unknown {
	color: rgb(200,200,200);
}

div.site-marker {
	display: block;
	position: relative;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 0;
	line-height: 0;
}

div.target-marker {
	display: block;
	position: relative;
	width: 80px;
	height: 80px;
	transform: translateY(50%);
}

dl.depotinfo {
	position: relative;
	overflow: hidden;
	clear: both;
}

dl.depotinfo > dt {
	float: left;
	clear: both;
	width: 4em;
	margin: 0 0 1.1em 0;
}

dl.depotinfo > dd {
	font-weight: bold;
	padding-left: 5em;
	margin: 0 0 1.1em 0;
}

dl.depotinfo p {
	margin-top: 0.5em;
}

table.hours {
	position: relative;
	margin-bottom: 1em;
	border-spacing: 0;
}

table.hours caption .notes {
	text-transform: none;
}

table.hours td {
	font-weight: normal;
	padding: 0 0.5em 0.3em 0;
}

table.hours td.time {
	white-space: nowrap;
}

table.hours tr.today td {
	color: black;
	font-weight: bold;
}

span.status {
	display: line-block;
	margin-right: 0.5em;
}

.open,
.opening-soon,
table.hours td.open,
table.hours td.opening-soon {
	color: rgb(103,178,4) !important;
	font-weight: bold;
	text-transform: uppercase;
}

.closing-soon,
table.hours td.closing-soon {
	color: rgb(180,180,30) !important;
	font-weight: bold;
	text-transform: uppercase;
}

.closed,
table.hours td.closed {
	color: rgb(191,9,0) !important;
	font-weight: bold;
	text-transform: uppercase;
}

.holiday,
table.hours td.holiday {
	color: rgb(96,113,159) !important;
	font-weight: bold;
}

span.holiday {
	display: inline-block;
	margin-right: 0.5em;
}

td.holiday.longtext {
	font-size: 0.75em;
}

.unknown {
	color: rgb(200,200,200) !important;
	font-weight: bold;
	text-transform: uppercase;
}

div.recycnotes {
	border: 1px solid rgb(178,196,229);
	padding: 0.5rem 1.5rem;
	margin: 1rem auto;
}

#map {
	background-color: rgb(233,249,255);
	width: 100%;
	height: 80vh;
	border-radius: 1rem;
	margin: 2rem 0;
}

@media (max-width: 1400px) {

	ul.region-cards ul {
		column-gap: 1rem;
	}

	ul.region-cards ul > li {
		padding-left: 1rem;
	}

}

@media (max-width: 1000px) {

	ul.region-cards ul {
		font-size: 1.125rem;
	}
	
	ul.region-cards ul > li {
		margin-bottom: 0.375rem;
	}

}

@media (max-width: 820px) {

	ul.region-cards > li:nth-child(2) > ul,
	ul.region-cards > li:nth-child(4) > ul {
		column-count: 1;
	}

}

@media (max-width: 640px) {

	ul.region-cards {
		display: block;
	}

	ul.region-cards > li {
		margin-bottom: 0.5rem;
	}

	ul.region-cards ul {
		column-count: 2 !important;
		margin-bottom: 0;
	}

}

