/* 
=============================================================================

	statistics.css
	v1.0
	2025/07/09
	
	Written by John Westwood

	Styling for Statistical Atlas and Elections

=============================================================================
*/

.boxFull {
	margin-top: unset;
	padding-bottom: 30px;
}

.mapArea {
	height: 620px;
}

.atlas-block {
	clear: both;
	display: block;
	border: 1px solid #dfddc8;
	background: white;
	padding: 20px 10px 40px;
}

.selectLayer {
	width: 208px;
}

.legend-title {
	margin-top: unset;
	font-weight: 500;
}

.legend {
	border: none;
	margin-bottom: 18px;
}

.legend-item {
	display: flex;
	padding-left: 6px;
}

.legend-item.hidden {
	display: none;
}

.legend-item span {
	margin-bottom: 5px;
	flex-wrap: wrap;
}

.legend-square {
	min-width: 20px;
	width: 20px;
	height: 20px;
	margin: 2px 6px 2px 2px;
	border: 1px solid black;
}

.conservatives {
	background: #333399;
}

.liberals {
	background: #ff9900;
}

.labour {
	background: #cc0000;
}

.irish-nationalists {
	background: #336633;
}

.unionist-parties {
	background: #ff6600;
}

.welsh-etc-nationalists {
	background: #669966;
}

.coalition {
	background: #993300;
}

.all-other {
	background: #999999;
}

.multi-member {
	background: #555555;
}

.entry1 {
	background: #fffee1;
}

.entry2 {
	background: #e9cf9a;
}

.entry3 {
	background: #cfa24d;
}

.entry4 {
	background: #ac5d35;
}

.entry5 {
	background: #763516;
}

.entry6 {
	background: #451c07;
}

.rate-text,
.election-text {
	width: 100%;
	max-height: 278px;
	margin-bottom: 18px;
	overflow: auto;
}

.ol-zoom-extent {
	top: 17.643em;
}

.ol-zoom-extent img {
	position: relative;
	top: 2px;
	width: 18px;
	height: 18px;
	content:url(/images/zoom-world-mini.png);
}

.ol-touch .ol-zoom-extent {
  	top: 18.5em;
}

.ol-touch .ol-zoom-extent img {
	position: relative;
	top: 0px;
	width: 18px;
	height: 18px;
	content:url(/images/zoom-world-mini.png);
}

.scroll-table-wrapper {
	margin-bottom: unset;
}

.accordion-label {
	margin-top: 40px;
	margin-bottom: unset;
}

.accordion-content {
	margin-top: 10px;
}

.accordion-check:checked ~ .accordion-content {
    margin-bottom: unset;
}
