﻿:root {
	--blue: #5482ab;
	--light-green: #B4CC05;
	--text-1: #4D5357;
	--text-2: #3C4748;
	--light-grey: #BEC5C2;
	--very-light-grey: #f7f7f7;
	--timeline-bg: #001F3C;
	--timeline-border: #5685B4;
	--hl-office: #C3D34D;
	--map-bg: #F2F3F3;
	--map-list-bg: #E7ECF2;
	--map-list-link-bg: #C0CDDD;
	--map-list-link-hover-bg: #7C97B7;
	--stats-green: #82C8BE;
	--cta-purple: #b1a6ff
}

body.c2019 section {background-color: unset;}
.standard-page-content ul, .standard-page-content ol {margin: 1.3em 0 1.3em 18px;}

#worldMap {
	position: relative;
	z-index: 0;
}


.eo-articles .standard-toolbar { display: none; }
.eo-articles .breadcrumbs-container { margin-top: 20px; }
														
.popup-form .header .icon-and-title { display: flex; flex-direction: row; gap: 20px; align-items: center; margin-bottom: 16px; }

.popup-form .header .icon-and-title img.icon { height: 44px; width: auto; }

.popup-form p { font-family: Roobert, sans-serif; font-weight: 400; color: var(--hl-dark-green); }
.popup-form p strong { font-family: inherit; color: inherit; font-size: inherit; }

.popup-form .header h2 {
	font-family: Roobert, sans-serif;
	font-size: 33px;
	font-weight: 500;
	color: var(--hl-dark-green);
	margin-bottom: 0em;
}

.popup-modal .popup-form .form-field input[type=text], .popup-modal .popup-form .form-field textarea {
	font-family: Roobert, sans-serif;
	font-weight: 300;
	background-color: var(--hl-light-taupe);
	border-color: var(--hl-light-taupe) !important;
	color: var(--hl-dark-green);
}

.popup-modal .popup-form.my-alert-form .form-row { display: flex; flex-direction: row; gap: 40px; }
.popup-modal .popup-form.my-alert-form .form-row .form-field { flex-basis: 50%; }

.popup-modal .popup-form .close-popup {
	top:0;
	right:0;
	background-color: var(--hl-light-green);
	border-radius: 0;
	background-image: url("/_assets/icon-close-hl-dark-green.png");
}

.btn-header-cta.blue {
	color: var(--hl-dark-green);
	background-color: var(--hl-light-green);
	border-color: var(--hl-light-green);
}

.btn-header-cta.blue:after {
	background-image: url("/_assets/btn-arrow-hl-dark-green.png");
}

.btn-header-cta.blue:hover {
	background-color: #ffffff;
}

.breadcrumbs {
	margin-top: 0 !important;
}

section.header {
	position: relative;
	padding: 40px 0;
	margin-top: 0;
}

section.header:not(.video) {
	background-color: var(--hl-dark-green);
	overflow: hidden;
}

section.header:not(.video) .header-image {
	position: absolute;
	top:0;
	left: 55vw; 
	width: 942px;
	height: 844px;
	background-image: url("/elections-hub/_assets/hl-gradients-angular.png");
	background-position-x: 0;
	background-position-y: top;
	background-repeat: no-repeat;
	background-size: contain;
}

section.header div.header { display: flex; flex-direction: row; gap: 60px; align-items: start; justify-content: space-between; }

section.header .header-intro {
	background-color: transparent;
	color: #ffffff;
	padding: 0;
	flex-basis: 540px;
}

section.header .header-video { flex-basis: 310px; position: relative; }

section.header .header-video .lnk-header-cta { margin-top: 30px; background-color: var(--hl-dark-green); border: 1px solid var(--hl-dark-green); color: #ffffff; text-decoration: none; padding: 10px 14px; font-family: Roobert, sans-serif; font-size: 16px; font-weight: 500; display: inline-flex; flex-direction: row; gap: 10px; align-items: center; transition: all 0.2s; }

section.header .header-video img.image { width: 100%; position: relative; z-index: 0; }

section.header .header-intro h1 {
	font-family: Tiempos, serif;
	font-weight: normal;
	font-size: 39px;
	color: #ffffff;
	line-height: 1.1em;
}

section.header .intro { font-family: Roobert, sans-serif; font-weight: 500; font-size: 18px; color: #ffffff; line-height: 1.2em; }

section.header .header-background-video { position: absolute; top: 0; left: 0; bottom: 0; right: 0; overflow: hidden; }

section.header .buttons { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
section.header .buttons a { color: #ffffff; text-decoration: none; font-size: 16px; display: inline-flex; flex-direction: row; align-items: center; gap: 10px; font-family: Roobert, sans-serif; font-weight: 500;  }
section.header .buttons a span { color: var(--hl-light-green); }

section.header .buttons a:after,
section.header .header-video .lnk-header-cta:after { content: ""; display: inline-block; width: 17px; height: 17px; background-size: contain; background-position: left center; background-image: url("/_assets/icon-line-arrow-hl-light-green.png"); background-repeat: no-repeat; transform: rotate(-45deg); }

section.header .buttons a:hover { color: var(--hl-light-green); }

section.header .header-cta { position: relative; padding: 20px; font-family: Roobert, sans-serif; font-size: 31px; font-weight: 500; color: var(--hl-dark-green); line-height: 1.1; }
section.header .header-cta p { font: inherit; color: inherit; line-height: inherit; }
section.header .header-cta p:last-of-type { margin-bottom: 0; }

section.header .header-cta .cta-is-new { display: none; }

section.header .header-cta.is-new { padding-top: 50px; }
section.header .header-cta.is-new .cta-is-new { display: block; position: absolute; left: 0; top: 0; padding: 10px 10px; background-color: var(--cta-purple); font-family: Roobert, sans-serif; font-size: 13px; font-weight: bold; color: var(--hl-dark-green); }

section.header .header-cta .lnk-header-cta:hover { background-color: #ffffff; color: var(--hl-dark-green); }
section.header .header-cta .lnk-header-cta:hover:after { background-image: url("/_assets/icon-line-arrow-dark-green.png"); }

/*.btn-generate-report { background-color: var(--light-green); color: #4C5155; border-color: var(--light-green); padding-right: 1em; }
.btn-my-alerts { background-color: var(--blue); color: #ffffff; border-color: var(--blue); }*/

.btn-generate-report[disabled] { opacity: 0.6; }

.btn-generate-report:before { width: 25px; height: 22px; background-image: url("/_assets/icon-generate-report-dark-grey.png"); }
.btn-my-alerts:before { width: 21px; height: 22px; background-image: url("/_assets/icon-my-alerts-yellow-green.png"); }

.btn-generate-report:not([disabled]):hover { background-color: transparent; }
.btn-my-alerts:hover { background-color: transparent; color: #333333; }
.btn-my-alerts:hover:before { background-image: url("/_assets/icon-my-alerts-dark-green.png"); }

.btn-generate-report.processing:before { -webkit-animation: spin 2s linear infinite; -moz-animation: spin 2s linear infinite; animation: spin 2s linear infinite; }

@-moz-keyframes spin {
   100% { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes spin {
   100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
   100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.btn-header-cta { border-color: var(--hl-dark-green); background-color: var(--hl-dark-green); color: #ffffff; font-size: 16px; gap: 10px; }
.btn-header-cta:after { content: ""; width: 10px; height: 18px; background-image: url("/_assets/btn-arrow-white.png"); background-size: contain; background-position: center; background-repeat: no-repeat; }
.lnk-header-cta:hover .btn-header-cta { background-color: #ffffff; color: var(--hl-dark-green); }
.lnk-header-cta:hover .btn-header-cta:after { background-image: url("/_assets/btn-arrow-hl-dark-green.png"); }

.popup-modal.ask-question-popup .buttons input[type=button] {
	border-color: var(--hl-light-green);
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 400;
}

.popup-modal.ask-question-popup input[type=text],
.popup-modal.ask-question-popup textarea { border-color: var(--blue) !important; }

.popup-modal.ask-question-popup .header h2 { color: var(--text-1); }

h2.section-title {
	font-size: 35px;
	margin-bottom: 0.75em;
	color: var(--hl-dark-green);
	font-family: Roobert, sans-serif;
	font-weight: 300;
}

div.switch-control .switch-control-slider .status-text.font-m {
	font-family: Roobert, sans-serif !important;
	font-size: 15px;
	font-weight: 500;
	color: var(--hl-dark-green);
}

div.switch-control .switch-control-toggle {
	box-shadow: 0 0 0 2px var(--hl-dark-green);
}

div.switch-control .switch-control-toggle:before {
	background-color: var(--hl-dark-green);
}

.breadcrumbs .breadcrumbs-container .breadcrumb,
.breadcrumbs .breadcrumbs-container .current-page-breadcrumb {
	font-family: Roobert, sans-serif;
	color: var(--hl-dark-green);
	font-weight: 300;
}


div.breadcrumbs a.breadcrumb:not(.not-border-highlight):hover,
.breadcrumbs .breadcrumbs-container .current-page-breadcrumb:after {
	border-color: var(--hl-light-green);
}

/*** Carousels ***/
.carousel {
	margin: 0 -5px;
}

.slick-arrow,
.key-contacts-v3 .carousel-controls .slick-arrow {
	border: 1px solid var(--hl-light-green);
	width: 36px;
	height: 36px;
	font-size: 0;
	background-size: 17px auto;
	background-position: center;
	background-repeat: no-repeat;
}

.slick-arrow {
	background-color: var(--hl-light-green);
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
}

.key-contacts-v3 .carousel-controls .slick-arrow {
	background-color: var(--hl-dark-green);
	background-image: url("/_assets/icon-line-arrow-hl-light-green.png");
}


.key-contacts-v3 .carousel-controls .slick-arrow:hover {
	background-color: var(--hl-light-green);
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
}

.slick-arrow.slick-prev {
	transform: rotate(180deg);
}

.carousel-controls { margin-top: 20px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.carousel-controls .carousel-buttons { display: flex; flex-direction: row; align-items: center; gap: 20px; }

.carousel-controls div.see-all {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 30px;
}

.carousel-controls div.see-all label {
	font-family: Roobert, sans-serif;
	font-size: 24px;
	font-weight: 500;
	color: var(--hl-dark-green);
}

.carousel-controls .btn-see-all {
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 500;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--hl-light-green);
	background-color: var(--hl-light-green);
	padding: 10px 14px;
	color: var(--hl-dark-green);
	text-decoration: none;
	transition: all 0.2s;
}

.carousel-controls .btn-see-all:after {
	content: "";
	display: inline-block;
	width: 17px;
	height: 14px;
	background-size: 17px 16px;
	background-position: left center;
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
	background-repeat: no-repeat;
	transform: rotate(-45deg);
}

.carousel-controls .btn-see-all:hover {
	background-color: transparent;
}


.slick-arrow:hover {
	background-color: var(--hl-dark-green);
	background-image: url("/_assets/icon-line-arrow-hl-light-green.png");
}


.key-contacts-v3 .header h2 {
	font-family: Roobert, sans-serif;
	font-size: 35px;
	font-weight: 300;
	color: var(--hl-light-green);
}


.key-contacts-v3 a.btn-contact-us {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
	border: 1px solid var(--hl-light-green);
}

.key-contacts-v3 a.btn-contact-us:before {
	content: "";
	width: 26px;
	height: 20px;
	background-image: url("/_assets/icon-envelope-hl-dark-over-light-green.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.key-contacts-v3 a.btn-contact-us:hover {
	background-color: var(--hl-dark-green);
	color: #ffffff !important;
}

.key-contacts-v3 a.btn-contact-us:hover:before {
	background-image: url("/_assets/icon-envelope-hl-light-over-mid-green.png");
}


/*** Knowhow Panel ***/
.knowhow-panel {
	display: inline-block;
	background-color: transparent;
	padding: 0;
	cursor: pointer;
}

.knowhow-panel.slick-slide { padding-left: 5px; padding-right: 5px; }

.knowhow-panel .inner {
	color: inherit;
	padding: 0;
	background-color: rgba(var(--hl-light-taupe-rgb), 0.75);
	border-top: 0 solid #f0f0f0;
	transition: all 0.2s;
}

.knowhow-panel:hover .inner {
	background-color: var(--hl-light-taupe);  
}

.knowhow-panel .inner > .action {
	background-color: transparent;
	color: #000000;
	text-align: left;
	padding: 0;
	width: 100%;
	text-decoration: none;
	display: inline-block;
}

.knowhow-panel .tag {
	display: flex;
	flex-direction: row;
	padding: 0 10px 0 0;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	gap: 10px;
}

.knowhow-panel .tag .icon {
	width: 45px;
	height: 45px;
	background-color: var(--hl-light-green);
	background-size: 28px auto;
	background-position: center;
	background-repeat: no-repeat;
}


.knowhow-panel .tag .type {
	font-family: Roobert, sans-serif;
	font-size: 12px; 
	font-weight: 300;
	color: var(--hl-dark-green);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	line-height: 1.2em;
} 

.knowhow-panel .tag .jurisdiction-icon { height: 28px; width: 28px; border-radius: 100%; box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5); }

/*.knowhow-panel .tag.small { font-size: 11px; } */

.knowhow-panel .content { padding: 20px; }

.knowhow-panel .jurisdictions { display: flex; flex-direction: row; gap: 5px; flex-wrap: nowrap; }

.knowhow-panel .title {
	font-family: Roobert, sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--hl-dark-green);
	line-height: 1.2em
}

.knowhow-panel .image { position: relative; width: 100%; height: 120px; margin-top: 20px; background-size: cover; background-position: center; }

.knowhow-panel .content .date { font-family: Roobert, sans-serif; font-size: 13px; font-weight: 500; color: var(--hl-dark-green); margin-bottom: 0.75em; }

.knowhow-panel .inner .image .video-button { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0.95; }

/*** Knowhow Popup ***/

.popup-modal.knowhow-popup .popup-form .wrapper { padding: 0 25px 25px 25px; }

.knowhow-popup {
	background-color: rgba(0, 0, 0, 0.25);
}

.knowhow-popup .popup-form {
	border-top: 0px solid #c0c0c0;
}

.knowhow-popup .tag {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 20px;
	justify-content: space-between;
	padding: 0 40px 0 0;
}


.knowhow-popup .tag .type {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-basis: 100%;
}

.knowhow-popup .tag .type .icon {
	display: inline-block;
	width: 45px;
	height: 45px;
	background-color: var(--hl-light-green);
	background-size: 65%;
	background-repeat: no-repeat;
	background-position: center;
}


.knowhow-popup .tag label {
	font-family: Roobert, sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: var(--hl-dark-green);
}

.knowhow-popup .tag .know-how-type-icon {
	height: 20px;
}

.knowhow-popup .tag .jurisdictions {
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.knowhow-popup .tag .jurisdictions img {
	height: 28px;
	border-radius: 100%;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5);
}

.knowhow-popup .title {
	font-family: Roobert, sans-serif;
	font-size: 25px;
	font-weight: 500;
	color: var(--hl-dark-green);
	margin: 0;
}

.knowhow-popup .date {
	font-family: Roobert, sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: var(--hl-dark-green);
	margin-bottom: 0.75em;
}

.knowhow-popup .content .intro {
	font-family: Roobert, sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: var(--hl-dark-green);
	line-height: 1.2;
	margin: 0;
}

.knowhow-popup .content .intro > * {
	font: inherit;
	color: inherit;
}

.knowhow-popup .button-container {
	margin-top: 20px;
}

.knowhow-popup .video-container,
.knowhow-popup .image { margin-top: 20px; }

.knowhow-popup .image-background { width: 100%; padding-top: 33.3%; margin-top: 20px; }

.knowhow-popup .btn-read-more {
	border-color: var(--hl-light-green);
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
	font-family: Roobert, sans-serif;
	font-weight: 400;
	font-size: 16px;
}

.knowhow-popup .btn-read-more:hover { background-color: transparent; }

.close-knowhow-popup {
	position: absolute;
	display: block;
	width: 34px;
	height: 34px;
	background-color: transparent;
	border-radius: 100%;
	top: 25px;
	right: 0;
	z-index: 100;
	background-image: url("/_assets/icon-close-hl-dark-green.png");
	background-size: 16px;
	background-position: center;
	background-repeat: no-repeat;
}



/*** Jurisdiction Popup ***/

.jurisdiction-popup { }
.jurisdiction-popup .header { display: flex; flex-direction: row; align-items: center; gap: 20px; font-size: var(--font-32); color: var(--text-1); }
.jurisdiction-popup .header img { height: 40px; border-radius: 100%; box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5); }

.jurisdiction-popup .statistics,
.jurisdiction-popup .election-date { display: grid; grid-template-columns: 28% auto; grid-column-gap: 10px; grid-row-gap: 10px; font-size: var(--font-18); color: var(--text-1); }

.jurisdiction-popup .election-date { margin-top: 30px; }

.jurisdiction-popup .statistics .caption,
.jurisdiction-popup .election-date .caption { font-weight: bold; }

.jurisdiction-popup .btn-read-more { margin-top: 30px; background-color: var(--blue); border-color: var(--blue); color: #ffffff; font-size: var(--font-16); display: inline-flex; flex-direction: row; align-items: center; gap: 20px; }
.jurisdiction-popup .btn-read-more:after { content: ""; width: 20px; height: 20px; background-image: url("/_assets/icon-arrow-right-white.png"); background-size: contain; background-position: center; background-repeat: no-repeat; }

.jurisdiction-popup .btn-read-more:hover { background-color: transparent; color: var(--text-1); }
.jurisdiction-popup .btn-read-more:hover:after { background-image: url("/_assets/icon-arrow-right-dark.png"); }

.close-jurisdiction-popup { position: absolute; display: block; width: 34px; height: 34px; background-color: var(--blue); border-radius: 100%; top: -17px; right: -17px; z-index: 100; background-image: url("/_assets/icon-close-white.png"); background-size: 16px; background-position: center; background-repeat: no-repeat; }


/*** Additional Resources ***/

section.additional-resources h2.section-title { margin-bottom: calc(0.75em - 20px); }

section.additional-resources .additional-resource-panel-wrapper { width: 340px; border-top: 20px solid #ffffff; border-bottom: 20px solid #ffff; }
section.additional-resources .additional-resource-panel { height: 340px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; }
section.additional-resources .additional-resource-panel .background { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-size: cover; transition: all 0.2s; z-index: 0; }

section.additional-resources .carousel { border: 0; position: relative; overflow: hidden; height: 380px !important; }

section.additional-resources .slick-arrow {
	border: 1px solid var(--hl-light-green);
	background-color: transparent;
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
}

section.additional-resources .slick-arrow:hover {
	background-color: var(--hl-light-green);
}

section.additional-resources .carousel-controls .carousel-buttons {
	padding: 0;
}
section.additional-resources .carousel-buttons .slick-arrow { background-size: 17px auto; background-position: center; }

section.additional-resources .additional-resource-panel .inner { padding: 20px; position: relative; }
section.additional-resources .additional-resource-panel label.title { color: #ffffff; font-size: 30px; opacity: 1; transition: opacity 0s; }


section.additional-resources .carousel[data-count='2'] { max-width: 610px; }
section.additional-resources .carousel[data-count='3'] { max-width: 890px; }


.key-contacts-v3 {
	margin-top: 40px;
	background-color: var(--hl-dark-green);
	padding: 30px 0; 
}

/*** Home Page ***/

.key-contacts-v3 .header h2.section-title { margin: 0; }

/*** Timeline ***/

section.timeline {
	background-color: var(--hl-dark-green) !important;
	padding: 30px 0;
	margin-top: 40px;
}

section.timeline h2.section-title {
	color: #ffffff;
}

section.timeline .timeline-footer { margin-top: 30px; }

section.timeline .timeline-footer p {
	color: #ffffff;
	font-family: Roobert, sans-serif;
	font-size: 14px;
	font-weight: 500;
}

.timeline-graph {
	height: auto;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0;
	align-items: end;
	margin-top: 140px;
}

.xtimeline-graph {
	height: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	align-items: end;
	margin-top: 140px;
}

.xtimeline-graph .month {
	width: 20%;
}

/*.timeline-years { display: flex; margin-top: 5px; width: 100%; }
.timeline-years p { color: #fff; padding: 0 10px; border-top: 1px solid #5785b4; text-align: center; margin: 10px; padding: 10px; }
.timeline-years p.y1 { width: 80%; }
.timeline-years p.y2 { width: 20%; }*/

.timeline-graph .month-name {
	display: block;
	font-family: Roobert, sans-serif;
	font-size: 13px;
	font-weight: 300;
	color: #ffffff;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
}

.timeline-graph .bar {
	width: 100%;
	height: 12px;
	margin: 14px 0 7px 0;
	border-top: 1px solid var(--hl-light-green);
	border-bottom: 1px solid var(--hl-light-green);
	border-left: 1px solid var(--hl-light-green);
}

.timeline-graph .month:first-of-type .bar {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.timeline-graph .month:last-of-type .bar {
	border-right: 1px solid var(--var-hl-light-green);
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.timeline-graph .bar.has-elections { background-color: rgba(var(--hl-light-green-rgb), 0.25); }

.timeline-graph .month .jurisdictions {
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: center;
	align-items: start;
	margin-bottom: 40px;
}

.timeline-graph .month .jurisdiction { position: relative; overflow: visible; }
.timeline-graph .month .jurisdiction .flag { width: 30px; border-radius: 100%; box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5); }
.timeline-graph .month .jurisdiction .flag.hl-office {
	box-shadow: 0 0 0 2px var(--hl-light-green);
}

.timeline-graph .month .jurisdiction .flag-link label {
	position: absolute;
	left: 100%;
	top: -0.5em;
	color: #ffffff;
	text-decoration: none;
	transform: rotate(-45deg);
	transform-origin: left center;
	white-space: nowrap;
	font-family: Roobert, sans-serif;
	font-weight: 300;
	font-size: 13px;
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

.timeline-graph .month .jurisdiction .flag-link { transition: 0.1s ease-in-out; cursor: pointer; background-color: transparent; }
.timeline-graph .month .jurisdiction .flag-link:hover { opacity: 0.7; }

.timeline-graph .month .jurisdiction .flag-link:after { content: ''; width: 1px; height: 40px; background-color: #FFFFFF; display: block; position: absolute; left: 50%; }

.timeline-graph .month .year {
	font-family: Roobert, sans-serif;
	font-weight: 300;
	position: relative;
	display: inline-block;
	width: 100%;
	margin-top: 5px;
	font-size: 12px;
	line-height: 1em;
	color: #ffffff;
	text-align: center;
	padding-top: 0;
	height: 1em;
}
.timeline-graph .month .year span {
	position: relative;
	z-index: 2;
	padding: 0 6px;
	background-color: var(--hl-dark-green);
}

.timeline-graph .month .year:before {
	content: "";
	position: absolute;
	height: 1px;
	width: 100%;
	left: 0;
	top: calc(50% - 1px);
	background-color: var(--hl-light-green);
}

.timeline-graph .month .year:not(.line):before { left: 50%; width: 50%; }

.timeline-graph-years { display: grid; margin-top: 10px; }
.timeline-graph-years p {
	text-align: center;
	color: #ffffff;
	padding: 5px 0 0 0;
	margin: 10px 10px 0 10px;
	border-top: 1px solid #5785b4;
}

/*** Map ***/

.map-container {
	padding: 40px 0;
	background-color: rgba(var(--hl-light-taupe-rgb), 0.65);
}

section.view-selector { margin: 0; }

.map-wrapper .map-filter {
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: 0;
}

.map-filter > label { font-family: Roobert, sans-serif; font-weight: 500; padding-left: 5px; margin-bottom: 5px; display: block; }

.map-filter .map-filter-option { display: flex; flex-direction: row; align-items: center; cursor: pointer; padding: 5px; font-family: Roobert, sans-serif; font-weight: 500; font-size: 15px; width: 100%; background-color: transparent; }
.map-filter .map-filter-option span.indicator { display: inline-block; width: 30px; height: 30px; border-radius: 100%; margin-right: 10px; }
.map-filter .map-filter-option span { color: var(--text-2); }

.map-filter .map-filter-option:hover { background-color: rgba(0, 0, 0, 0.1); }

.map-filter .map-filter-option.not-selected { opacity: 0.4; }


.list-view {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
	background-color: transparent;
	padding: 0;
}

.list-view .column { display: grid; grid-auto-rows: max-content; gap: 10px; }

.column .region-container:first-child { margin-top: 0; }

.select-options .option-group .btn-expand-group,
.expander-button {
	padding: 10px 50px 10px 14px;
	width: 100%;
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	font-size: 15px;
	white-space: normal;
	cursor: pointer;
	border: 1px solid #c0c0c0;
	background-size: 20px;
	background-position: calc(100% - 14px) center;
	background-repeat: no-repeat;
	background-color: var(--hl-dark-green);
	color: #ffffff;
}

.select-options .option-group .btn-expand-group,
.expander-button {
	background-image: url("/_assets/icon-plus-hl-light-green.png");
}

.select-options .option-group .btn-expand-group.expanded,
.expander-button.expanded {
	background-image: url("/_assets/icon-minus-hl-light-green.png");
}

.select-options .btn-expand-group span { color: var(--hl-light-green)!important; font-weight: 300; }

/*.xexpander-button {
	font-size: 16px !important;
	background-color: var(--blue) !important;
	border-color: var(--blue) !important;
	color: #ffffff !important;
}*/
.map-view {
	display: none;
}
.list-view-wrapper { display: none; }

body.c2019 section.map-and-list { background-color: transparent; }

.list-view .region-jurisdictions {
	display: none;
	margin-bottom: 10px;
}

.list-view .region-jurisdictions:last-child {
	margin-bottom: 0;
}

.jr-link {
	font-family: Roobert, sans-serif !important;
	font-weight: 300;
}

.jr-link:after {
	width: 14px!important;
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png")!important;
	background-size: contain!important;
	background-repeat: no-repeat; 
	background-position: center;
	transform: rotate(-45deg);
}

.list-view .jr-link {
	border: 1px solid var(--hl-taupe);
	background-color: var(--hl-taupe);
	color: var(--hl-dark-green);
	margin-top: 3px;
}

.list-view .jr-link:first-child {
	margin-top: 10px;
}

.list-view .jr-link:hover {
	background-color: #ffffff !important;
}

.list-view .jr-link:hover:after { background-image: url("/_assets/icon-arrow-right-white.png"); }

.viewing-options { display: flex; flex-direction: row; align-items: center; gap: 40px; }

.additional-viewing-options ul {
	font-family: Roobert, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--hl-dark-green);
	list-style: none;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}
.additional-viewing-options ul li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.additional-viewing-options ul li input[type=radio] { display: none; visibility: hidden; position: absolute; }
.additional-viewing-options ul li label { display: flex; flex-direction: row; align-items: center; gap: 8px; cursor: pointer; }

.additional-viewing-options ul li label:before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid var(--hl-dark-green);
}

.additional-viewing-options ul li label:hover:before { background-color: rgba(var(--hl-dark-green-rgb), 0.2); }

.additional-viewing-options ul li input[type=radio]:checked + label:before {
	background-color: var(--hl-dark-green);
}


/*** Jurisdiction Page ***/

.jurisdiction-flag-and-name {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	font-family: Roobert, sans-serif;
	font-size: 35px;
	font-weight: 600;
	color: var(--hl-dark-green);
}

.jurisdiction-flag-and-name img { height: 52px; width: auto; box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5); border-radius: 100%; }


.jurisdiction-statistics { margin-top: 20px; }
.jurisdiction-statistics .statistics-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }

.jurisdiction-statistics .statistical-value-container { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.jurisdiction-statistics .statistical-count { display: flex; flex-direction: row; align-items: center; gap: 0; font-family: Roobert, sans-serif; font-size: 52px; font-weight: 400; color: var(--stats-green); text-align: center; }

.jurisdiction-statistics .statistical-count .gap { margin-left: 0.2em; }

.jurisdiction-statistics .statistical-value-container .caption {
	font-family: Roobert, sans-serif;
	font-size: 30px;
	font-weight: 300;
	color: var(--hl-dark-green);
	line-height: 1.2em;
	text-align: center;
}


.jurisdiction-intro { margin-top: 40px; }

.jurisdiction-intro .intro-section { display: grid; gap: 60px; grid-template-columns: repeat(3, 1fr); align-items: start; }

.jurisdiction-intro .intro-section .intro-container { grid-column-start: 1; grid-column-end: 3; }

.jurisdiction-intro .intro-section .coming-election { padding: 40px 20px; width: auto; text-align: center; position: relative; }

.jurisdiction-intro .intro-section .coming-election:before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url("/_assets/icon-calendar-purple-large.png"); background-size: contain; background-position: center; background-repeat: no-repeat; z-index: -1;  }

.jurisdiction-intro .intro-section .coming-election .election-date {
	font-family: Roobert, sans-serif;
	font-weight: 400ss;
	font-size: 52px;
	color: var(--stats-green);
	margin: 0;
	position: relative;
}

.jurisdiction-intro .intro-section .coming-election .election-caption {
	font-family: Roobert, sans-serif;
	font-weight: 300;
	color: var(--hl-dark-green); 
	font-size: 30px;
	line-height: 1.2em;
	margin-top: 10px;
	position: relative;
}

.jurisdiction-body { margin-top: 40px; }

.jurisdiction-content h3.title {
	font-family: Roobert, sans-serif;
	font-size: var(--font-30);
	font-weight: 300;
	color: var(--hl-dark-green);
	margin-bottom: 0.75em;
	line-height: 1.2em;
}

.jurisdiction-content .intro {
	margin-bottom: 20px;
	font-size: var(--font-18);
	line-height: 1.2em;
	color: var(--hl-dark-green);
	font-family: Roobert, sans-serif;
	font-weight: 400;
} 

.jurisdiction-content .content {
	font-family: Roobert, sans-serif;
	color: var(--hl-dark-green);
	line-height: 1.2;
}



section.related-knowhow {
	margin-top: 40px;
	padding: 30px 0;
	background-color: rgba(var(--hl-light-taupe-rgb), 0.65) !important;
}

section.related-knowhow .knowhow-panel .inner { background-color: #ffffff; }
section.related-knowhow .knowhow-panel:hover .inner { background-color: var(--hl-taupe); }


.standard-page-content a {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	font-family: inherit;
}


/*** Know-hows page ***/

section.title-and-filter { margin-bottom: 30px; z-index: 10; }
section.title-and-filter .col-1 {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	gap: 40px;
}

section.title-and-filter h2.section-title { margin-bottom: 0; }


section.title-and-filter .filter,
section.title-and-filter .filter .filter-field { display: flex; flex-direction: row; align-items: center; gap: 10px; }

section.title-and-filter .filter .filter-field label {
	font-family: Roobert, sans-serif;
	font-weight: 300;
	color: var(--hl-dark-green);
	white-space: nowrap;
}

section.title-and-filter .filter { gap: 10px; }

section.title-and-filter .filter .filter-field label { white-space: nowrap; }

section.title-and-filter .filter .filter-field.content-type .dk-select-multi { width: 180px; }
section.title-and-filter .filter .filter-field.jurisdiction .dk-select-multi { width: 180px; }

div.load-more { margin-top: 40px; }


.dk-selected {
	background-color: var(--hl-light-taupe);
	border-color: var(--hl-light-taupe);
	font-family: Roobert, sans-serif;
	font-weight: 300;
	color: var(--hl-dark-green);
	min-width: 170px; 
}

.dk-selected:before {
	background-image: url(/_assets/icon-arrow-down-hl-dark-green.png);
}

.dk-select-options {
	background-color: var(--hl-light-taupe);
}

.dk-select-options-highlight .dk-option-selected,
.dk-option-selected {
	background-color: rgba(var(--hl-dark-green-rgb), 0.15);
	color: var(--hl-dark-green);
}

.dk-select-options .dk-option-highlight {
	background-color: rgba(var(--hl-dark-green-rgb), 0.2);
	color: #ffffff;
}

.dk-select-open-down:not(.dk-always-open-up) .dk-select-options {
	padding: 10px;
}

.dk-checkboxes li.dk-option:before {
	left: 5px;
	border-color: var(--hl-dark-green);
}

.dk-select,
.dk-select *,
.dk-select *:before,
.dk-select *:after,
.dk-select-multi,
.dk-select-multi *,
.dk-select-multi *:before,
.dk-select-multi *:after {
	font-family: Roobert, sans-serif;
	color: var(--hl-dark-green);
	font-weight: 300;
}




.btn-load-more { border-color: var(--hl-dark-green); background-color: var(--hl-dark-green); color: #ffffff; font-size: 16px; }
.btn-load-more:after { content: ""; width: 20px; height: 20px; background-image: url("/_assets/icon-plus-hl-light-green.png"); background-size: contain; background-position: center; background-repeat: no-repeat; }
.btn-load-more:hover { background-color: transparent; color: var(--hl-dark-green); }
.btn-load-more:hover:after { background-image: url("/_assets/icon-plus-hl-dark-green.png"); }


/*** Search Page ***/

div.search-results h3 {
	font-family: Roobert, sans-serif;
	font-weight: 300;
	color: var(--hl-dark-green);
	margin-bottom: 1em;
}

.search-results-list .search-highlight { color: var(--blue); font-weight: bold; }
.search-results-list .search-context { font-size: 14px; line-height: 1.2em; margin-top: 20px; font-family: berlingske_sans_roundregular, sans-serif; }



.jurisdiction-panel { display: inline-block; background-color: transparent; padding: 0; }

.jurisdiction-panel .inner {
	color: inherit;
	padding: 0;
	background-color: var(--very-light-grey);
	border-top: 0px solid #f0f0f0;
	transition: all 0.2s;
}

.jurisdiction-panel .inner:hover { background-color: #d8d8d8 !important; }

.jurisdiction-panel .inner > button,
.jurisdiction-panel .inner > a { display: block; text-align: left; text-decoration: none; color: inherit; padding: 10px 20px 20px 20px; background-color: transparent; width: 100%; }

.jurisdiction-panel .flag-and-name { display: flex; flex-direction: row; gap: 14px; align-items: center; margin-bottom: 10px; }
.jurisdiction-panel .flag-and-name img.flag { height: 28px; box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5); border-radius: 100%; }
.jurisdiction-panel .flag-and-name .name { font-size: 20px; color: var(--text-1); }
.jurisdiction-panel .title { color: var(--text-1); font-size: 20px; line-height: 1.2em; }

.no-search-results p { color: #000000; font-size: var(--font-16); margin-bottom: 0; }


/*** Generate Report Page ***/

.selection-area { background-color: rgba(var(--hl-light-taupe-rgb), 0.75); padding: 25px; }

.select-options .option-group .btn-expand-group { font-size: 16px; background-color: var(); border: 0; }
.select-options .option-group .select-option { background-color: var(--map-list-link-bg); color: var(--text-2); }

/** For Apple **/
.select-options .select-option.select-all { color: var(--text-2); }

.select-options .option-group .select-option.checked:not(.select-all) { background-color: var(--map-list-link-hover-bg); color: #ffffff; }

section.gr-button .btn-generate-report { color: var(--text-1); }


.select-options .header .btn-clear-options { background-color: var(--map-list-link-bg); border-color: var(--map-list-link-bg); }

section.gr-button .btn-generate-report {
	background-color: var(--hl-light-green);
	border-color: var(--hl-light-green) !important;
	color: var(--hl-dark-green) !important;
	font-family: Roobert, sans-serif;
}

/*** ***/

section.content .intro {  }

/*** ***/

section.eo-articles { margin-top: 20px;  }
section.eo-articles .eo-articles-filter { width: 100%; }
section.eo-articles .eo-articles-filter .clear-option { text-align: right; }

section.eo-articles .eo-articles-filter .btn-standard.btn-generate-report:before { content: ""; background-size: contain; background-position: center; background-repeat: no-repeat; }

section.eo-articles .btn-view-report { font-size: 15px; white-space: nowrap; height: 47px; color: #4C5155; font-family: berlingske_sans_roundmedium, sans-serif; }
section.eo-articles .btn-view-report:hover { background-color: transparent; }

section.eo-articles .eo-articles-filter .eo-filter-options { display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; margin-top: 10px; }

section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.dates { width: 170px; }
section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.topics { flex-basis: 20%; flex-shrink: 0; }

section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.topics { max-width: 300px; }

section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.search { flex-basis: 60%; height: 47px; background-color: #f3f4f2; display: flex; flex-direction: row; gap: 10px; align-items: center; padding: 0 14px; }
section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.search .btn-eo-search { width: 24px; height: 24px; background-image: url("/_assets/icon-search-dark.png"); background-size: contain; background-position: center; background-repeat: no-repeat; background-color: transparent; cursor: pointer; }
section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.search input[type=text] { width: 100%; color: var(--hl-dark-green); font-size: 15px; font-family: Roobert, sans-serif; padding: 5px 0; background-color: transparent; }

section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.buttons { display: flex; flex-direction: row; gap: 10px; align-items: center; }

section.eo-articles .eo-articles-filter .dk-selected { border-color: var(--hl-light-taupe); font-family: Roobert, sans-serif; color: var(--hl-dark-green); }

section.eo-articles .dk-checkboxes li.dk-option:before { border-color: var(--hl-dark-green); }

section.eo-articles .eo-articles-filter li.dk-option { color: var(--hl-dark-green); font-family: Roobert, sans-serif; }
section.eo-articles table.eo-articles { border-collapse: collapse; }

section.eo-articles .wrapper table { /*min-width: 800px;*/ /*width: 100%; */ }
section.eo-articles table.eo-articles thead { position: sticky; top: 82px; z-index: 10; }

/*@media (max-width: 860px) {
	.eo-articles-list {overflow-x: scroll;}
}*/

section.eo-articles table.eo-articles th {
	font-family: Roobert, sans-serif;
	font-size: 16px;
	padding: 10px 10px;
	border-left: 0;
	border-right: 1px solid var(--hl-light-green);
	border-bottom: 0;
	background-color: var(--hl-dark-green);
	color: var(--hl-light-green);
}

section.eo-articles table.eo-articles th:last-child { border-right: 0; }

section.eo-articles table.eo-articles th.date { min-width: 120px; text-align: center; }
section.eo-articles table.eo-articles th.title { width: 22%; }
section.eo-articles table.eo-articles th.topics { min-width: 200px; }

section.eo-articles table.eo-articles tbody { position: relative; z-index: 1l }

section.eo-articles table.eo-articles tr.article td { font-family: Roobert, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.2; color: var(--hl-dark-green); vertical-align: top; padding: 8px 10px; border-left: 0; border-right: 0; border-top: 1px solid #ffffff; border-bottom: 0px solid #ffffff; }

section.eo-articles table.eo-articles td a { font-family: inherit; color: inherit; }

section.eo-articles table.eo-articles td.divider { position: static; border: 0;  }
section.eo-articles table.eo-articles td.divider hl { border-color: var(--hl-dark-green); }

section.eo-articles table.eo-articles td > p.title { font-family: Roobert, sans-serif; color: var(--hl-dark-green); font-size: 16px; font-weight: 600; margin-bottom: 0.75em; display: block;  }

section.eo-articles table.eo-articles td.date { text-align: center; }

section.eo-articles table.eo-articles td.topics ul { font-family: inherit; color: inherit; list-style: none; min-width: 200px; }
section.eo-articles table.eo-articles td.topics ul li { white-space: nowrap; }

section.eo-articles table.eo-articles div.summary-read-more { margin-top: 20px; }
section.eo-articles table.eo-articles .btn-read-more { background-color: transparent; color: var(--hl-dark-green); font-family: Roobert, sans-serif; font-weight: 600; font-size: 15px; }
section.eo-articles table.eo-articles .btn-read-more:hover { text-decoration: underline; }

section.eo-articles table.eo-articles .topics-read-more { text-align: right; display: block; padding: 10px 40px 20px 0; }

section.eo-articles table.eo-articles .topics-read-more .btn-read-more { display: flex; flex-direction: column; gap: 10px; justify-self: end; align-items: center;  }
section.eo-articles table.eo-articles .topics-read-more .btn-read-more .icon { display: block; width: 24px; height: 24px; background-image: url("/_assets/icon-plus-hl-dark-green.png"); background-size: contain; background-position: center; background-repeat: no-repeat;  }


section.eo-articles table.eo-articles tr.article.active td {
	background-color: var(--hl-light-taupe);
	border-top: 1px solid var(--hl-taupe);
}

section.eo-articles table.eo-articles tr.article.active td:first-child {
	border-left: 1px solid var(--hl-taupe);
	padding-left: 9px;
}

section.eo-articles table.eo-articles tr.article.active td:last-child {
	border-right: 1px solid var(--hl-taupe);
}

section.eo-articles table.eo-articles tr.eo-details td {
	padding: 0;
	border-left: 1px solid var(--hl-taupe);
	border-bottom: 1px solid var(--hl-taupe);
	border-right: 1px solid var(--hl-taupe);
	border-top: 0;
}

section.eo-articles table.eo-articles .eo-article-details {
	display: none;
	font-family: Roobert, sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.2;
	color: var(--hl-dark-green);
	background-color: var(--hl-light-taupe);
	padding: 20px;
}

section.eo-articles table.eo-articles .eo-article-details p.title { font-family: inherit; color: inherit; font-weight: bold; font-size: 16px; }

section.eo-articles table.eo-articles .eo-article-details td {  }

section.eo-articles table.eo-articles .eo-article-details .eo-article-section:not(:first-child) { border-top: 1px solid #DEE0D9; padding-top: 20px; margin-top: 20px; }

section.eo-articles .desktop {  }
section.eo-articles .mobile { visibility: hidden; position: absolute; }

/*** ***/

.selection-area { margin-top: 30px; }

.selection-area h3 {
	font-family: Roobert, sans-serif;
	color: var(--hl-dark-green);
	font-weight: 300;
}

.select-options .header .btn-clear-options:not(btn-2024) {
	font-family: Roobert, sans-serif !important;
	font-size: 16px;
	border-color: var(--hl-light-green);
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
}

.select-options .header .btn-clear-options:hover {
	background-color: #ffffff;
	color: #000000;
}

.select-options .select-option:not(.select-all) {
	font-family: Roobert, sans-serif !important;
	color: var(--hl-dark-green) !important;
	background-color: rgba(var(--hl-dark-green-rgb), 0.1) !important;
}

.select-options .select-option.checked:not(.select-all) { background-color: rgba(var(--hl-dark-green-rgb), 0.2) !important; }
.select-options .select-option.checked:not(.select-all):before { background-image: url("/_assets/icon-tick-black.png") !important; }

/*** ***/
@media (max-width: 1200px) { .wrapper { padding: 0 10px; }

   /*
	.timeline-graph { grid-template-columns: repeat(6, 1fr) !important; height: auto; grid-row-gap: 100px; padding: 0 60px; }
   .timeline-graph .month .jurisdiction .flag-link label { font-size: 13px; }

   .timeline-graph .month:nth-child(6) .bar { border-right: 2px solid var(--timeline-border); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
   .timeline-graph .month:nth-child(7) .bar { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
	*/
   .timeline-graph .month-name { font-size: 10px; }

   .map-view { padding: 0 30px; }
   .map-wrapper .map-filter { left: 30px; }
}

@media (max-width: 1100px) {
   .jurisdiction-intro .intro-section .coming-election .election-date,
   .jurisdiction-statistics .statistical-count { font-size: 42px; }
}

@media (max-width: 950px) {
   .jurisdiction-intro .intro-section .coming-election .election-date,
   .jurisdiction-statistics .statistical-count { font-size: 34px; }

   .jurisdiction-intro .intro-section,
   .jurisdiction-statistics .statistics-container { gap: 40px; }
}

@media (max-width: 940px) {
	section.title-and-filter .col-1 { flex-direction: column; gap: 20px; }
}

@media (max-width: 900px) {
   section.title-and-filter .col-1 { flex-direction: column; align-items: start; }

   section.title-and-filter .filter { display: grid; grid-template-areas: "sortby contentType jurisdiction"; grid-template-columns: 1fr 1fr 1fr; }
   section.title-and-filter .filter .sort-by { grid-area: sortby; }
   section.title-and-filter .filter .content-type { grid-area: contentType; }
   section.title-and-filter .filter .jurisdiction { grid-area: jurisdiction; }
}

@media (max-width: 860px) {
   section.eo-articles .eo-articles-filter .eo-filter-options { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-areas: "search search search buttons" "sort topics topics topics"; }

   section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.dates { grid-area: sort; }
   section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.topics { grid-area: topics; }
   section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.search { grid-area: search; }
   section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.buttons { grid-area: buttons; justify-self: end; }

   section.eo-articles .eo-articles-filter .eo-filter-options .filter-option.topics { max-width: initial; }
	
	
	.map-wrapper .map-filter {position: unset; display: flex; flex-wrap: wrap;}
	.map-filter > label {width: 100%;}
	.map-filter .map-filter-option {width: 20%; min-width: 120px; }
	.main-vector-map {height: 40vw !important;}
	
}

@media (max-width: 840px) {
   /*section.eo-articles table.eo-articles thead { position: static; top: 0; }*/
   
   section.eo-articles table.eo-articles thead tr { display: grid; grid-template-areas: "date title"; grid-template-columns: 120px auto;  }

   /*section.eo-articles table.eo-articles td,
   section.eo-articles table.eo-articles th { display: inline-block; }*/
  
   section.eo-articles table.eo-articles thead tr th.summary,
   section.eo-articles table.eo-articles thead tr th.topics { display: none; }

   section.eo-articles table.eo-articles thead tr th.title { width: 100%; }


   section.eo-articles table.eo-articles tbody tr.article { display: grid; grid-template-areas: "date title" "summary summary" "topics topics"; grid-template-columns: 120px auto; }

   section.eo-articles table.eo-articles tbody tr.article td.date { grid-area: date; background-color: #f3f4f2; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid black; }
   section.eo-articles table.eo-articles tbody tr.article td.title { grid-area: title; background-color: #f3f4f2; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid #000000;  }
   section.eo-articles table.eo-articles tbody tr.article td.summary { grid-area: summary; padding-top: 20px; }
   section.eo-articles table.eo-articles tbody tr.article td.summary > .standard-page-content { border-bottom: 1px solid #cccccc; padding-bottom: 20px; }

   section.eo-articles table.eo-articles tbody tr.article td.topics { grid-area: topics; padding-top: 20px; }

   section.eo-articles table.eo-articles tbody tr.divider { display: none; }

   section.eo-articles .desktop { visibility: hidden; position: absolute;  }
   section.eo-articles .mobile { visibility: visible; position: static; }

}

@media (max-width: 740px) {
   .jurisdiction-statistics .statistics-container { grid-template-columns: 1fr 1fr; }

   .jurisdiction-intro { margin-top: 20px; }

   .jurisdiction-intro .intro-section { grid-template-columns: 1fr 1fr; grid-template-areas: "election other" "intro intro"; }
   .jurisdiction-intro .intro-section .coming-election { grid-area: election; }
   .jurisdiction-intro .intro-section .intro-container { grid-area: intro; }

   section.title-and-filter .filter { grid-template-areas: "sortby sortby" "contentType jurisdiction"; grid-template-columns: 1fr 1fr; width: 100%; }
   section.title-and-filter .filter .filter-field .dk-select-multi { width: 100% !important; }

   section.title-and-filter .filter .filter-field > label { width: 60px; flex-shrink: 0; }
	
	.jvectormap-container {overflow: visible !important;}
	.jvectormap-zoomin {top: 0 !important; left: 0 !important;}
	.jvectormap-zoomout {top: 20px !important; left: 0 !important;}
	
	.jvectormap-zoomin, .jvectormap-zoomout {width: 10px !important; height: 10px !important; font-size: 14px !important; }
	
}

@media (max-width: 640px) {
   .map-filter .map-filter-option span.indicator { width: 24px; height: 24px; }

	section.header:not(.video) .header-image { display: none; }
	section.header div.header { flex-direction: column; gap: 40px; align-items: center; }

   section.header div.header video,
   section.header div.header img.image { width: 75vw; max-width: 480px; }

	section.header .header-video { flex-basis: auto; }
	
	section.header .header-intro {flex-basis: unset;}

	.timeline-graph { grid-template-columns: repeat(6, 1fr) !important; height: auto; grid-row-gap: 100px; padding: 0 60px; }
   .timeline-graph .month .jurisdiction .flag-link label { font-size: 13px; }

   .timeline-graph .month:nth-child(6) .bar { border-right: 2px solid var(--timeline-border); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
   .timeline-graph .month:nth-child(7) .bar { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }



   .timeline-graph { grid-template-columns: repeat(4, 1fr) !important; display: grid; position: relative; left: -50px; gap: 160px 0px;  }
   .timeline-graph .month { width: unset; }
   .timeline-years { display: none; }



   .timeline-graph .month:nth-child(4) .bar { border-right: 2px solid var(--timeline-border); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
   .timeline-graph .month:nth-child(5) .bar { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
   .timeline-graph .month:nth-child(6) .bar { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
   .timeline-graph .month:nth-child(7) .bar { border-top-left-radius: 0; border-bottom-left-radius: 0; }
   .timeline-graph .month:nth-child(8) .bar { border-right: 2px solid var(--timeline-border); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
   .timeline-graph .month:nth-child(9) .bar { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }

   section.timeline .timeline-footer p { padding-left: 60px; display: flex !important; flex-direction: column !important; gap: 10px !important; align-items: start !important; }

   section.additional-resources .carousel { height: 280px !important; }
   section.additional-resources .additional-resource-panel-wrapper { width: 220px; }
   section.additional-resources .additional-resource-panel { height: 220px; }
	
	
}

@media (max-width: 540px) {
	
	.jvectormap-zoomin {top: -10px !important; left: -10px !important;}
	.jvectormap-zoomout {top: 10px !important; left: -10px !important;}
	
   .jurisdiction-statistics .statistics-container { grid-template-columns: 1fr; gap: 30px; }

   .jurisdiction-intro .intro-section { grid-template-columns: 1fr; grid-column-gap: 0; }
}

@media (max-width: 440px) {
   section.title-and-filter .filter { grid-template-areas: "sortby" "contentType" "jurisdiction"; grid-template-columns: 1fr; }

   section.title-and-filter .filter .filter-field.jurisdiction { padding-left: 70px; }
}

@media (max-width: 380px) {
	.jvectormap-zoomin {top: -10px !important; left: -30px !important;}
	.jvectormap-zoomout {top: 10px !important; left: -30px !important;}
	.timeline-graph .month .jurisdiction .flag-link label {transform: rotate(-90deg); left: 17px; top: -1em; }
}
