/* ------------------------------------------------------------------
   areas.css
   Styling for the Areas Covered directory, the A-Z filter, the search
   widget and the area landing pages.
   Palette matched to style.css: #1A1919 (charcoal) / #aa1111 (red).
   ------------------------------------------------------------------ */

/* Breadcrumb ------------------------------------------------------- */
.contents .breadCrumb {
	font-size: 13px;
	color: #666;
	margin: 0 0 14px 0;
	letter-spacing: 0;
}
.contents .breadCrumb a {
	color: #aa1111;
	font-weight: 600;
}
.contents .breadCrumb a:hover {
	text-decoration: underline;
}
.contents .breadCrumb span {
	color: #666;
}

/* Screen-reader only ----------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Search widget ---------------------------------------------------- */
.areas-search-widget {
	background: #1A1919;
	background: -moz-linear-gradient(left, #1A1919 0%, #aa1111 100%);
	background: -webkit-linear-gradient(left, #1A1919 0%, #aa1111 100%);
	background: linear-gradient(to right, #1A1919 0%, #aa1111 100%);
	padding: 24px;
	border-radius: 4px;
	color: #FFF;
	margin: 0 0 30px 0;
}
.contents .areas-search-widget h3 {
	color: #FFF;
	margin: 0 0 8px 0;
}
.contents .areas-search-widget p {
	color: #D0DBE2;
	margin: 0 0 16px 0;
	font-size: 15px;
}
.areas-search-form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 10px;
}
.areas-search-form input[type="text"] {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 220px;
	flex: 1 1 220px;
	margin: 0;
	height: 44px;
	padding: 0 14px;
	border: none;
	border-radius: 3px;
	box-shadow: none;
	font-size: 15px;
	color: #1A1919;
	background: #FFF;
}
.areas-search-form input[type="text"]:focus {
	outline: 3px solid rgba(255, 255, 255, .55);
	outline-offset: 1px;
}
.areas-search-form button {
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	height: 44px;
	padding: 0 22px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	color: #FFF;
	background: #1A1919;
	transition: background .2s ease;
}
.areas-search-form button:hover,
.areas-search-form button:focus {
	background: #000;
}

/* Search result feedback ------------------------------------------- */
.areas-search-result {
	min-height: 22px;
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #FFF;
}
.areas-search-result:empty {
	margin-top: 0;
	min-height: 0;
}
.areas-search-result a {
	color: #FFF;
	text-decoration: underline;
	font-weight: 600;
}
.areas-search-result.success,
.areas-search-result.warning {
	padding: 10px 14px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .14);
}
.areas-search-result.success {
	border-left: 4px solid #4caf50;
}
.areas-search-result.warning {
	border-left: 4px solid #ffb300;
}
.areas-search-result.success:before {
	content: '\2713\00a0';
	font-weight: 700;
}
.areas-search-result.warning:before {
	content: '\0021\00a0';
	font-weight: 700;
}

/* A-Z filter buttons ------------------------------------------------ */
.areas-filter-buttons {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 24px 0;
}
.areas-filter-buttons .filter-btn {
	cursor: pointer;
	min-width: 38px;
	padding: 7px 12px;
	border: 1px solid #DDD;
	border-radius: 3px;
	background: #FFF;
	color: #1A1919;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	transition: all .2s ease;
}
.areas-filter-buttons .filter-btn:hover {
	border-color: #aa1111;
	color: #aa1111;
}
.areas-filter-buttons .filter-btn.active {
	background: #aa1111;
	border-color: #aa1111;
	color: #FFF;
}

/* The directory ----------------------------------------------------- */
.area-group[hidden],
.area-item[hidden],
.areas-empty[hidden] {
	display: none !important;
}
.contents .area-group-title {
	margin: 22px 0 12px 0;
	padding-bottom: 6px;
	border-bottom: 2px solid #aa1111;
	font-size: 22px;
	text-transform: uppercase;
}
.contents .areas-list-grouped {
	list-style: none;
	margin: 0 0 10px 0;
	padding: 0;
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px;
}
.contents .areas-list-grouped li {
	margin: 0;
	padding: 0;
	background: none;
}
.contents .areas-list-grouped li:before {
	content: none;
}
.contents .areas-list-grouped a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid #DDD;
	border-left: 3px solid #DDD;
	border-radius: 3px;
	background: #F7F7F7;
	color: #1A1919;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	transition: all .2s ease;
}
.contents .areas-list-grouped a:hover,
.contents .areas-list-grouped a:focus {
	border-color: #aa1111;
	border-left-color: #aa1111;
	background: #FFF;
	color: #aa1111;
}
.contents .areas-list-grouped a span {
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	padding: 3px 7px;
	border-radius: 2px;
	background: #E4E4E4;
	color: #555;
}
.contents .areas-list-grouped a:hover span {
	background: #aa1111;
	color: #FFF;
}

/* No results message ------------------------------------------------ */
.contents .areas-empty {
	padding: 14px 16px;
	border: 1px solid #DDD;
	border-left: 4px solid #ffb300;
	border-radius: 3px;
	background: #FFF;
	font-size: 15px;
}

/* Nearby areas links on an area page -------------------------------- */
.contents .nearbyAreas {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.contents .nearbyAreas a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid #DDD;
	border-radius: 3px;
	background: #F7F7F7;
	color: #1A1919;
	font-size: 14px;
	font-weight: 600;
	transition: all .2s ease;
}
.contents .nearbyAreas a:hover,
.contents .nearbyAreas a:focus {
	border-color: #aa1111;
	background: #FFF;
	color: #aa1111;
}
.contents .nearbyAreas a.allAreas {
	background: #1A1919;
	border-color: #1A1919;
	color: #FFF;
}
.contents .nearbyAreas a.allAreas:hover,
.contents .nearbyAreas a.allAreas:focus {
	background: #aa1111;
	border-color: #aa1111;
	color: #FFF;
}

/* Mobile ------------------------------------------------------------ */
@media screen and (max-width: 640px) {
	.areas-search-widget {
		padding: 18px;
	}
	.areas-search-form input[type="text"],
	.areas-search-form button {
		-ms-flex: 1 1 100%;
		flex: 1 1 100%;
		width: 100%;
	}
	.contents .areas-list-grouped {
		grid-template-columns: 1fr;
	}
	.contents .area-group-title {
		font-size: 20px;
	}
}
