/*
	Theme Name: WSDOT
	Theme URI: https://wsdot.wa.gov
	Description: WSDOT WordPress theme
	Version: 1.0
	Author: Ryan Lanier
	Author URI: https://wsdot.wa.gov
	Tags: WSDOT
*/

/*** main ***/

/* box-sizing */

html {
	box-sizing: border-box;
}

*,*:before,*:after {
    box-sizing: inherit;
}

/* clear */
.clear:before,.clear:after {
	clear: both;
    content: ' ';
    display: table;
}

.clear {
	zoom: 1;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

a {
	color: #444;
	text-decoration: none;
}

a:hover {
	color: #444;
}

/*** structure ***/

/* wrapper */

.wrapper {
	max-width: 1280px;
	width: 95%;
	margin: 0 auto;
	position: relative;
}

/*** misc ***/

::selection {
	background: #9fcee3;
	color: #303030;
	text-shadow: none;
}

::-webkit-selection {
	background: #9fcee3;
	color: #303030;
	text-shadow: none;
}

::-moz-selection {
	background: #9fcee3;
	color: #303030;
	text-shadow: none;
}

/*** columns ***/

h1 + .wp-block-columns > .wp-block-column:first-child > :first-child,h2 + .wp-block-columns > .wp-block-column:first-child > :first-child,h3 + .wp-block-columns > .wp-block-column:first-child > :first-child,h4 + .wp-block-columns > .wp-block-column:first-child > :first-child,h5 + .wp-block-columns > .wp-block-column:first-child > :first-child {
    margin-top: 0;
}

h2 + div.table-container table,h3 + div.table-container table,h4 + div.table-container table,h5 + div.table-container table {
    margin-top: 0.66rem;
}

.is-layout-flex.wp-block-columns > .wp-block-column:not(:first-child) {
    margin-top: 0;
}

.wp-block-columns {
    max-width: 66rem;
    margin: 1.75rem 0 0;
}

.wp-block-column:not(:first-child) {
    margin-left: 0;
}

.wp-block-column > p,.wp-block-column > ol,.wp-block-column > ul {
    max-width: 40rem;
}

.wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
}

.wp-block-columns > .wp-block-column:not(:first-child) {
    margin-top: 1.75rem;
}

.wp-block-columns.columns-30-70 > .wp-block-column:not(:first-child) {
    margin-top: 0.5rem;
}

.wp-block-columns > .wp-block-column > :first-child {
    margin-top: 0;
}

.wp-block-columns > .wp-block-column > h2:first-child,.wp-block-columns > .wp-block-column > h3:first-child,.wp-block-columns > .wp-block-column > h4:first-child,.wp-block-columns > .wp-block-column > h5:first-child {
    margin-top: 0.75rem;
}

.wp-block-columns:first-child > .wp-block-column:first-child > :first-child {
    margin-top: 0;
}

.wp-block-columns.has-2-columns .wp-block-column {
	width: 100%;
	margin: 0;
}

@media only screen and (min-width: 600px) {
	.wp-block-columns.has-2-columns .wp-block-column {
		width: 46.5%;
		flex-basis: 46.5%;
	}
	
	.wp-block-columns.has-2-columns .wp-block-column:nth-child(1) {
		padding-right: 2.5%;
	}
	
	.wp-block-columns.has-2-columns .wp-block-column:nth-child(2) {
		padding-left: 2.5%;
	}
}

/*** core ***/

.alignnone {
	margin: 0.3125rem 20px 1.25rem 0;
}

.aligncenter,div.aligncenter {
	display: block;
	margin: 0.3125rem auto;
}

.alignright {
	float: right;
	margin: 0.3125rem 0 1.25rem 20px;
}

.alignleft {
	float: left;
	margin: 0.3125rem 20px 1.25rem 0;
}

a img.alignright {
	float: right;
	margin: 0.3125rem 0 1.25rem 20px;
}

a img.alignnone {
	margin: 0.5rem 20px 1.25rem 0;
}

a img.alignleft {
	float: left;
	margin: 0.5rem 20px 1.25rem 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 0.3125rem 0.25rem 0.75rem;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 0.3125rem 20px 1.25rem 0;
}

.wp-caption.alignleft {
	margin: 0.3125rem 20px 1.25rem 0;
}

.wp-caption.alignright {
	margin: 0.3125rem 0 1.25rem 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption .wp-caption-text,.gallery-caption {
	font-size: 0.75rem;
	line-height: 1.5;
	margin: 0;
	padding: 0 4px 0.3125rem;
}

/*** print ***/

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a,a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	
	.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after {
		content: "";
	}
	
	pre,blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group;
	}
	
	tr,img {
		page-break-inside: avoid;
	}
	
	img {
		max-width: 100% !important;
	}
	
	@page {
		margin: 0.5cm;
	}
	
	p,h2,h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2,h3 {
		page-break-after: avoid;
	}
}

/*** WSDOT ***/

/* main */

a#skip-nav {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
}

.alignleft {
	margin: 0 24px 1.5rem 0;
}

.alignright {
	margin: 0 0 1.5rem 24px;
}

article .inline-block {
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	margin: 0.5rem 0 1rem;
	vertical-align: top;
}

article .inline-block+*:not(.inline-block) {
	display: block;
}

article .left-to-right {
	direction: ltr;
	max-width: 50rem;
}

article p,article ol,article ul {
	max-width: 50rem;
	margin: 1rem 0;
	line-height: 1.66;
    overflow-x: hidden;
}

article p:last-child {
	clear: both;
}

article .right-to-left {
	direction: rtl;
	max-width: 50rem;
}

blockquote {
    margin-left: 0;
	padding-left: 1.33rem;
	border-left: solid 4px #eee;
}

blockquote ol,blockquote p,blockquote ul,.content-container > ol,.content-container > p,.content-container > ul,div.expansive ol,div.expansive p,div.expansive ul {
	max-width: 60rem;	
}

body {
	font-family: "Lato",sans-serif;
	color: #303030;
}

#bottom-nav {
	display: grid;
	margin-top: 3.25rem;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	justify-content: space-around;
	background-color: #00795f;
}

#bottom-nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1.1875em 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.25rem;
	color: #fff;
	cursor: pointer;
	border: 0;
	outline: none;
}

#bottom-nav a:focus-visible {
	outline: auto;
}

#bottom-nav a svg {
    height: 0.725em;
    margin: -0.2em 0.33em 0;
    vertical-align: middle;
}

#bottom-nav a svg path {
    fill: #fff;
}

#bottom-nav a#prev svg {
    transform: scaleX(-1);
}

#breadcrumbs {
	display: none;
}

button.accordion {
    width: 100%;
    max-width: 60rem;
    margin: 2rem 0 0;
    padding: 1rem 3.25rem 1rem 1rem;
    font-size: 1rem;
    line-height: 1.66;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    color: #303030;
    border: 1px solid #bbb;
    background: #fff url(img/expand-accordion.svg) no-repeat right 1rem center;
    background-size: 1.125rem 1.125rem;
}

button.accordion:hover,button.accordion.expanded:hover,button.accordion:focus {
	color: #303030;
    background-color: #fff;
    border-color: #bbb;
}

button.accordion:focus {
    outline-color: #abcdff !important;
    outline-offset: 0;
}

button.accordion.expanded {
    background: #fff url(img/contract-accordion.svg) no-repeat right 1rem center;
    background-size: 1.125rem 1.125rem;
}

button.accordion + div.expansive + h2,button.accordion + div.expansive + h3,button.accordion + div.expansive + h4,button.accordion + div.expansive + h5,button.accordion + div.expansive + p,button.accordion + div.expansive + ol,button.accordion + div.expansive + ul {
    margin-top: 2.5rem;    
}

button.accordion > h2,button.accordion > h3,button.accordion > h4,button.accordion > h5 {
	margin: 0;
}

button.close-modal-panel {
    display: none;
    opacity: 0;
}

button#copy-button {
    margin-top: 1rem;
}

button.more {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    letter-spacing: normal;
	text-transform: none;
    color: #00795f;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
}

button.more:focus,button.more:hover {
    color: #00795f;
	text-decoration: underline;
	background: none;
}

button.more:focus-visible {
	outline: auto;
}

.content-container {
	box-sizing: border-box;
	width: 100%;
	padding: 0 26px;
}

.content-container > :first-child:not(.top-nav),ul.top-nav:empty {
	margin-top: 2.25rem;
}

.content-container a {
	text-decoration: underline;
	color: #00795f;
}

.content-container a:hover {
	color: #00795f;
}

.content-container a.anchor {
    margin-top: -5.5rem;
    padding-top: 5.5rem;
    color: #303030;
    text-decoration: none;
}

.content-container a.button,.content-container a.wp-block-button__link {
	display: inline-block;
    box-sizing: border-box;
    width: auto;
    margin: 0.75rem 1.75rem 0.75rem 0;
    padding: 0.71875rem 1.875rem;
	font: 400 1rem "Lato",sans-serif;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    line-height: 1.66;
    color: #fff;
    cursor: pointer;
    border-radius: 0.33rem !important;
    background-color: #00795f;
	transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
}

.content-container a.wp-block-button__link {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.content-container > div#main-content > article:has(#content) {
    max-width: 900px;
    margin: 0 auto;
}

.content-container > div#main-content > article > :first-child,.content-container > div#main-content > article > script:first-child + iframe,.content-container > div#main-content > article > figure.wp-block-image:first-child,.content-container > div#main-content > article > figure.wp-block-gallery:first-child {
	margin-top: 1.5625rem;
}

.content-container > div#main-content > article > figure.wp-block-image:nth-last-child(2),.content-container > div#main-content > article > figure.wp-block-gallery:nth-last-child(2),.content-container > div#main-content > article > iframe:nth-last-child(2) {
	margin-bottom: 0;
}

.content-container > div#main-content > article h1 + .inline-block,.content-container > div#main-content > article h2 + .inline-block,.content-container > div#main-content > article h3 + .inline-block,.content-container > div#main-content > article h4 + .inline-block,.content-container > div#main-content > article h5 + .inline-block,.content-container > div#main-content > article h1 + .inline-block + .inline-block,.content-container > div#main-content > article h2 + .inline-block + .inline-block,.content-container > div#main-content > article h3 + .inline-block + .inline-block,.content-container > div#main-content > article h4 + .inline-block + .inline-block,.content-container > div#main-content > article h5 + .inline-block + .inline-block {
	margin-top: 0.25rem;
}

.content-container > div#main-content > article h2 + figure.wp-block-table table,.content-container > div#main-content > article h3 + figure.wp-block-table table,.content-container > div#main-content > article h4 + figure.wp-block-table table,.content-container > div#main-content > article h5 + figure.wp-block-table table {
    margin-top: 0.125rem;
}

.content-container div#main-content article h2:first-child a.anchor,.content-container #main-content article h3:first-child a.anchor {
    margin-top: 0;
    padding-top: 0;
}

.content-container > div#main-content > article .highlight,.content-container > div#main-content > article .inline-block.highlight {
	padding: 1.125rem;
	color: #fff;
	background-color: #00795f;
}

.content-container > div#main-content > article iframe {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	margin: 2rem 0;
	border: none;
}

.content-container > div#main-content > article iframe:last-child {
    margin-bottom: 1rem;
}

.content-container > div#main-content > article iframe + iframe,.content-container > div#main-content > article iframe + script + iframe {
	display: block;
}

.content-container > div#main-content > article iframe + h3,.content-container > div#main-content > article iframe + h4,.content-container > div#main-content > article iframe + h5,
.content-container > div#main-content > article iframe + script + h3,.content-container > div#main-content > article iframe + script + h4,.content-container > div#main-content > article iframe + script + h5 {
	margin-top: 1.25rem;
}

.content-container > div#main-content > article ol.highlight,.content-container > div#main-content > article ul.highlight,.content-container > div#main-content > article ol.inline-block.highlight,.content-container > div#main-content > article ul.inline-block.highlight {
	padding-left: 2.25rem;
}

.content-container > #main-content.style-guide {
	margin-top: 0;
}

.content-container.home-nav-lower {
	max-width: 900px;
    padding-bottom: 0.5rem;
    text-align: center;
}

.content-container.home-nav-lower a:first-child {
    margin: 2rem 0 1rem;
}

.content-container.home-nav-lower a {
	display: block;
	margin-bottom: 0.5rem;
}

#copy-paste-message {
    color: #999;
    pointer-events: none;
}

div[contenteditable="true"] {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 20rem;
    margin: 1.5rem 0 1rem;
    padding: 1.5rem;
    overflow: auto;
    border: 1px solid #bbb;
	background-color: #fff;
    outline-color: #abcdff !important;
    z-index: 0;
}

div[contenteditable="true"] > :first-child {
    margin-top: 0;
}

div[contenteditable="true"] img {
	max-width: 100%;
    height: auto;
}

div.expansive > :first-child {
	margin-top: 1.5rem;
}

div.expansive > :last-child,div.expansive > :only-child {
	margin-bottom: 0;
}

div.expansive + br + * {
	margin-top: 0.25rem;
}

.embedded-map {
	width: 100%;
	height: 80vh;
}

.expansive {
	display: none;
}

figcaption.blocks-gallery-caption {
    max-width: 55rem;
    margin: 0 auto;
	text-align: center;
    font-size: 0.85rem;
	color: #555;
}

figure.aligncenter > img,figure.alignleft > img,figure.alignright > img {
	margin-top: 0;
}

figure.wp-block-gallery {
	display: inline-block;
	margin: 2rem 0 0;
}

figure.wp-block-image {
	display: inline-block;
	margin: 1rem 0;
	max-width: 700px;
    text-align: center;
}

figure.wp-block-image .aligncenter,figure.wp-block-gallery .aligncenter {
	margin: 0;
}

figure.wp-block-image > img,figure.wp-block-image > a > img,figure.wp-block-gallery figure > img,figure.wp-block-gallery figure > a > img {
	height: auto;
	margin: 0;
}

figure.wp-block-image + h2,figure.wp-block-image + h3,figure.wp-block-image + h4,figure.wp-block-image + h5 {
    margin-top: 1.25rem;
}

figure.wp-block-image figcaption,figure.wp-block-video figcaption {
	max-width: 55rem;
    margin: 1.25rem 0 0;
	text-align: center;
    font-size: 0.85rem;
	color: #666;
}

figure.wp-block-image figcaption br,figcaption.blocks-gallery-caption br,figure.wp-block-video figcaption br {
	display: none;
}

figure.wp-block-image + div.table-container table {
    margin-top: 1.5rem;
}

figure.wp-block-table,form#tag-options {
    margin: 0;
}

figure.wp-block-table table {
    margin: 1rem 0;
}

footer {
	width: 100%;
	padding-bottom: 3rem;
	text-align: center;
	color: #303030;
	background-color: #fff;
}

footer:not(.home) {
	padding-top: 0.75rem;
}

footer p {
	margin-bottom: 0;
	padding-top: 0.75rem;
	font: 400 0.75rem "Lato",sans-serif;
}

footer ul li {
	display: inline-block;
	padding: 0.25rem 0.75rem 0.25rem 0.5rem;
	list-style: none;
	font-size: 1rem;
	line-height: 1.5;
	background: url(img/footer_pipe.svg) no-repeat right center;
	background-size: auto 15px;
}

footer ul li:last-child {
	background: none;
}

footer ul li a {
	font: 400 1rem "Lato",sans-serif;
	text-decoration: none;
	color: #303030;
}

footer ul li a:hover {
	text-decoration: underline;
}

footer ul {
	margin: 0;
	padding: 0;
}

h1 {
	margin: 0 0 1.5625rem 0;
	font: 700 1.9525rem "Lato",sans-serif;
	line-height: 1.66;
}

h1.green-bar {
	box-sizing: border-box;
    margin: 0;
    padding: 1.66rem;
    text-align: center;
    font-size: 1.5625rem;
    font-weight: normal;
	line-height: 1.66;
    color: #fff;
	background-color: #00795f;
}

h1.dark.green-bar {
	background-color: #004f50;
}

h1.green-bar span a,h1.dark.green-bar span a {
	text-decoration: none;
	color: #fff;
}

h1:not(.green-bar),h2,h3,h4,h5 {
	max-width: 60rem;
}

h1+h2,h2+h3,h3+h4 {
	margin-top: 1rem;
}

h1 strong,h3 strong,h4 strong,h5 strong {
	font-weight: 700;
}

h2 strong {
    font-weight: 400;
}

h1 + figure.wp-block-image,h2 + figure.wp-block-image,h3 + figure.wp-block-image,h4 + figure.wp-block-image,h5 + figure.wp-block-image,h1 + figure.wp-block-gallery,h2 + figure.wp-block-gallery,h3 + figure.wp-block-gallery,h4 + figure.wp-block-gallery,h5 + figure.wp-block-gallery,h1 + .wp-block-media-text,h2 + .wp-block-media-text,h3 + .wp-block-media-text,h4 + .wp-block-media-text,h5 + .wp-block-media-text,h1 + figure.wp-block-video,h2 + figure.wp-block-video,h3 + figure.wp-block-video,h4 + figure.wp-block-video,h5 + figure.wp-block-video {
    margin-top: 0.66rem;
}

h1 + figure.wp-block-gallery:not(.has-nested-images),h2 + figure.wp-block-gallery:not(.has-nested-images),h3 + figure.wp-block-gallery:not(.has-nested-images),h4 + figure.wp-block-gallery:not(.has-nested-images),h5 + figure.wp-block-gallery:not(.has-nested-images) {
    margin-top: 2.125rem;
}

h1 + .slideshow-container nav,h2 + .slideshow-container nav,h3 + .slideshow-container nav {
    margin-top: 0.5rem;
}

h2 {
	margin: 1.5625rem 0 1.25rem;
	font: 400 1.5625rem "Lato",sans-serif;
	line-height: 1.66;
}

h2.green,h3.green {
	color: #00795f;
}

h2 + .wp-block-media-text.is-stacked-on-mobile figure img,h3 + .wp-block-media-text.is-stacked-on-mobile figure img,h4 + .wp-block-media-text.is-stacked-on-mobile figure img,h5 + .wp-block-media-text.is-stacked-on-mobile figure img {
    margin: 0.5rem 0 2rem;
}

h3,p.lead {
    max-width: 52rem;
	margin: 1.2rem 0 0.96rem;
	font: 700 1.2rem "Lato",sans-serif;
	line-height: 1.66;
}

h4,h5 {
    max-width: 52rem;
	margin: 1rem 0 0.8rem;
	font-size: 1rem;
	line-height: 1.66;
}

#hamburger {
    display: block;
    position: absolute;
    top: 24px;
    right: 15px;
    width: 41px;
    height: 32px;
    font-size: 0;
    background: url(img/hamburger-circle.svg?v=404040) no-repeat;
    background-size: 41px 32px;
    border: 0;
    outline: none;
    z-index: 1005;
    cursor: pointer;
}

#hamburger:focus-visible {
	outline: auto;
}

#hamburger.close {
	background: url(img/close-nav.svg) no-repeat;
	background-size: contain;
}

header {
	position: relative;
	height: 80px;
	transition-property: height;
	transition-duration: 0.25s;
	transition-timing-function: ease;
}

#header-background {
	display: block;
	position: absolute;
	top: 0;
	box-sizing: border-box;
    width: 100%;
	height: 76px;
	background-color: #fff;
	z-index: 1004;
}

.hidden {
	display: none;	
}

.hidden-text {
	text-indent: 150%;
	white-space: nowrap;
	overflow: hidden;
}

hr {
	width: 100%;
    max-width: 52rem;
    height: 4px;
	margin: 3rem 0 2.75rem;
    color: #eee;
    background-color: #eee;
	border: none;
}

#image-modal-panel {
	display: flex;
	align-items: center;
  	justify-content: center;
    flex-direction: row;
	position: fixed;
	top: 4.5rem;
	left: 0;
	width: 100%;
	height: calc(100% - 4.5rem);
    text-align: center;
	z-index: 2001;
}

#image-modal-panel > img {
	display: none;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	outline: none;
}

#image-modal-panel > img[src$=".png"] {
    background-color: #fff;
}

#image-modal-panel > img.zoomable {
    cursor: zoom-in;
}

#image-modal-panel.expanded-lightbox {
    display: block;
    overflow: auto;
    overflow-y: scroll;
    justify-content: unset;
    flex-direction: unset;
}

#image-modal-panel.expanded-lightbox > img {
    max-width: none;
    max-height: none;
}

#image-modal-panel.hidden {
	width: 0;
	height: 0;
}

#image-modal-panel.zoomed {
    display: block;
    overflow: auto;
    overflow-y: scroll;
    justify-content: unset;
    flex-direction: unset;
    background-color: #222;
}

#image-modal-panel.zoomed button.close-modal-panel {
    display: none;
    opacity: 0;
}

#image-modal-panel.zoomed > img {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}

#image-veil {
    background-color: #222;
}

#image-veil{
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
}

img#copy-button-image {
    display: none;
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

input:focus,main form textarea {
    outline-color: #abcdff !important;
}

#logo-link {
	display: inline-block;
	position: absolute;
	top: 15px;
	left: 15px;
	width: 173px;
	height:	38px;
	margin: 0;
	text-indent: 150%;
	white-space: nowrap;
	overflow: hidden;
	background: url(img/logo.svg) no-repeat;
	background-size: cover;
	z-index: 1007;
}

main {
	box-sizing: border-box;
	width: 100%;
	padding: 80px 0 1rem;
    font: 400 1rem "Lato",sans-serif;
	line-height: 1.66;
	background-color: #fff;
}

main:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

main a {
	color: #00795f;
}

main img {
	margin: 1.25rem 0;
}

main ol,menu,main ul {
    padding: 0 0 0 1.25rem;
}

main ol li,main ul li {
	padding-bottom: 0.33rem;
}

main ol li ul,main ul li ul {
	margin: 0.75rem 0;
}

main ol li:last-child ol li:last-child,main ul li:last-child ul li:last-child {
	padding-bottom: 0;
}

main ol.bold li,main ul.bold li,main ol.bold li strong,main ul.bold li strong {
    font-weight: 700;
}

main ol.bold li *,main ul.bold li * {
    font-weight: 400;
}

main ul.blocks-gallery-grid {
    max-width: 60rem;
}

main.right-to-left #bottom-nav a#prev svg {
    transform: scaleX(1);
}

main.right-to-left #bottom-nav a#next svg {
    transform: scaleX(-1);
}

main.right-to-left #menu, main.right-to-left ul.top-nav {
    margin: 0 -26px 0 0;
}

main.right-to-left ol:not(.left-to-right), main.right-to-left ul:not(.bottom-nav):not(.left-to-right) {
    padding: 0 1.25rem 0 0;
}

main.right-to-left ul.timeline {
    margin: 1.66rem -1rem 2.75rem 0;
    padding-right: 1.25rem;
}

main.right-to-left ul.timeline > li {
    border-left: none;
    border-right: 0.25rem solid #007fa3;
    padding: 0.5rem 1.66rem 0.5rem 0;
}

main.right-to-left ul.timeline > li:before {
    right: -0.5rem;
    left: auto;
}

main.right-to-left .wp-block-media-text,main.right-to-left .wp-block-media-text .wp-block-media-text__content {
    direction: rtl;
}

map area {
	outline: none;
}

map area:focus-visible {
	outline: auto;
}

#main-content.home-admin article {
    position: relative;
}

#menu {
	display: block;
    box-sizing: border-box;
    width: calc(100% + 52px);
    max-width: none;
    margin: 0 0 0 -26px;
    padding: 1rem;
    font: 400 1rem "Lato",sans-serif;
	text-align: center;
    text-decoration: none;
    line-height: 1.66;
    color: #444;
    background-color: #f2f2f2;
	background-size: 1rem;
	border: none;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	outline: none;
}

#menu:focus-visible {
	outline: auto;
}

nav#lighbox-nav {
    display: none;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 4.5rem;
    padding-top: 1rem;
    text-align: center;
    background-color: #444;
    z-index: 2002;
}

nav#lighbox-nav button {
    box-sizing: border-box;
    width: 1.33rem;
    height: 1.33rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: top;
    margin: 0 0.66rem;
    padding: 1.33rem;
    border: none;
    border-radius: 0.33rem;
    outline: none;   
}

nav#lighbox-nav button#close-expanded-lighbox {
    background: #222 url(img/close-lightbox.svg) center no-repeat;
    background-size: auto 1.33rem;
}

nav#lighbox-nav button#expand-lighbox {
    background: #222 url(img/expand-lightbox-image.svg) center no-repeat;
    background-size: auto 1.33rem;
}

nav#off-canvas-nav {
    position: fixed;
    top: 0;
    right: calc(-100% - 48px);
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    padding: 76px 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border-left: none;
    z-index: 1002;
}

nav#off-canvas-nav.display {
	right: 0;
}

nav#off-canvas-nav > div,nav#off-canvas-nav > ul,nav#off-canvas-nav > ul#menu-pages {
	width: calc(100% - 30px);
	margin: 0 auto;
}

nav#off-canvas-nav ul {
	margin: 0 auto;
	-webkit-transition: margin-top 0.25s ease;
	-moz-transition: margin-top 0.25s ease;
	-o-transition: margin-top 0.25s ease;
	-ms-transition: margin-top 0.25s ease;
	transition: margin-top 0.25s ease;
	padding: 0;
	list-style: none;
}

nav#off-canvas-nav ul li,nav#off-canvas-nav > ul#menu-pages li,nav#off-canvas-nav > ul.top-level.home-link li {
	border-bottom: 1px solid #ddd;
}

nav#off-canvas-nav ul li:first-child a,nav#off-canvas-nav ul.top-level:not(:first-child) li:first-child a {
    font-weight: 700;
}

nav#off-canvas-nav ul li a,nav#off-canvas-nav ul li.page_item a,nav#off-canvas-nav ul.top-level li a,nav#off-canvas-nav > ul#menu-pages li a {
	display: block;
    margin: -1px 0;
	padding: 1rem;
	font: 400 1rem "Lato",sans-serif;
	text-align: left;
	text-decoration: none;
	line-height: 1.66;
	color: #4d4d4d;
	cursor: pointer;
}

nav#off-canvas-nav > ul:nth-child(3).top-level {
	margin-top: 0.66rem;
}

nav#off-canvas-nav ul.current-open-house li:first-child a {
    font-weight: 400;
}

nav#off-canvas-nav ul.home-link:not(.home-admin) {
    font-weight: 700;
}

nav#off-canvas-nav ul.social-links {
    display: grid;
    grid-template-columns: repeat(6,1fr);
	padding: 16px 0 32px;
}

nav#off-canvas-nav ul.social-links li {
    display: inline-block;
	justify-self: center;
    border: none;
}

nav#off-canvas-nav ul.social-links li a {
	display: inline-block;
	padding: 0.5rem 0;
}

nav#off-canvas-nav ul.social-links li a:hover,nav#off-canvas-nav ul.social-links li a:focus {
	background: none;
}

nav#off-canvas-nav ul.social-links li a img {
	width: auto;
	height: 32px;
	max-width: none;
}

nav#off-canvas-nav > ul.top-level.home-link li:nth-child(2) {
    padding-top: 0;
}

nav#off-canvas-nav > ul.top-level.home-link li:first-child a {
    font-weight: 700;
}

p:empty {
	display: none;
}

.photo-caption {
	margin-top: 0;
	font-size: 0.85rem;
    color: #555;
}

#search-and-nav {
	position: absolute;
    top: 0;
	box-sizing: border-box;
    width: 100%;
}

#search-and-nav > div {
	position: relative;
	height: 100%;
	overflow-x: hidden;
}

#search-and-nav nav#off-canvas-nav ul:not(.home-link) li:last-child,nav#off-canvas-nav > ul.top-level.home-link li:last-child {
    border: none;
}

#search-box {
	position: absolute;
    top: -76px;
	right: 0;
	box-sizing: border-box;
    width: 100%;
	padding: 5px 16px 24px;
	-webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    transition: all 0.25s ease;
	background-color: #fff;
	z-index: 1003;
}

#search-box.dropped {
	top: 12px;
    z-index: 1007;
}

#search-button {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: absolute;
    vertical-align: top;
    top: 24px;
    right: 62px;
    width: 41px;
    height: 32px;
    margin: 0;
    padding: 0;
    font-size: 0 !important;
    border: none;
    background: url(img/search-button-circle.svg?v=1640017964) no-repeat;
    background-size: 100%;
    background-position: center;
    outline: none;
    cursor: pointer;
    z-index: 1006;
}

#search-button:focus-visible {
	outline: auto;
}

#search-form {
	display: inline;
	vertical-align: top;
}

#search-input {
	position: relative;
	box-sizing: border-box; 
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 10px 16px;
	font: 400 1rem "Lato",sans-serif;
	color: #303030;
	box-shadow: none;
	border: 1px solid #999;
	border-radius: 18px;
    outline-offset: 0;
    outline: none;
}

#search-input::placeholder {
	opacity: 1;
}

#search-veil {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.55);
    z-index: 1000;
}

#sticky-header {
	position: fixed;
    width: 100%;
	z-index: 1001;
}

.toggled > * {
	display: none;
}

.toggled > .active {
	display: block;
}

ul.bottom-nav {
    display: none;
}

ul.timeline {
    position: relative;
    margin: 1.66rem 0 2.75rem -1rem;
    padding-left: 1.5rem;
}

ul.timeline > li {
    position: relative;
    list-style: none;
    border-left: 0.25rem solid #007FA3;
    padding: 0.5rem 0 0.5rem 1.66rem;
}

ul.timeline > li:before {
    position: absolute;
    top: 0.5rem;
    left: -0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    margin: 0.5rem 0;
    content: "";
    border-radius: 50%;
    box-shadow: 0 0 0 0.25rem #00aec7;
    background-color: #fff;
}

ul.top-nav {
	display: none;
	width: calc(100% + 52px);
	max-width: none;
	margin: 0 0 0 -26px;
	padding: 0;
	list-style: none;
}

ul.top-nav li {
	display: block;
	width: 100%;
	padding: 0;
	border-bottom: 1px solid #e0e0e0;
}

ul.top-nav li a {
	display: block;
    box-sizing: border-box;
    width: 100%;
	height: auto;
    padding: 1rem 26px;
    font: 400 0.9rem "Lato",sans-serif;
    text-decoration: none;
    line-height: 1.66;
    color: #444;
}

ul.top-nav li a:focus,ul.top-nav li a:hover {
	color: #444;
}

.video-caption {
    display: inline-block;
    max-width: 635px;
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

#video-veil {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: #222;
}

:where(.wp-block-columns.is-layout-flex) {
	gap: 1rem;
}

.wp-block-group {
    margin: 2rem 0;
    max-width: 55rem;
    border-radius: 0.5rem;
}

.wp-block-group:last-child {
    margin-bottom: 3rem;
}

.wp-block-group .wp-block-group__inner-container,.wp-block-group.has-background .wp-block-group__inner-container {
    padding: 1.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    background-color: #eee;
}

.wp-block-group .wp-block-group__inner-container h2 {
    margin-bottom: 0;
}

.wp-block-group__inner-container :first-child {
    margin-top: 0;
}

.wp-block-group__inner-container :last-child {
    margin-bottom: 0;
}

.wp-block-image img {
    object-fit: contain;
	width: auto;
    max-width: 100%;
    max-height: 90vh;
}

.wp-block-media-text {
    max-width: 55rem;
	-ms-grid-columns: 40% 1fr;
	grid-template-columns: 40% 1fr;
}

.wp-block-media-text.is-vertically-aligned-center {
	-ms-grid-columns: 25% 1fr;
	grid-template-columns: 25% 1fr;
}

.wp-block-media-text.has-media-on-the-right {
    -ms-grid-columns: 1fr 40%;
    grid-template-columns: 1fr 40%;
}

.wp-block-media-text + .wp-block-media-text,.wp-block-media-text + .wp-block-media-text + * {
	margin-top: 2rem;
}

.wp-block-media-text .wp-block-media-text__media {
    align-self: flex-start;
	margin: 0;
}

.wp-block-media-text .wp-block-media-text__media img {
	width: auto;
	max-width: 100%;
}

.wp-block-media-text .wp-block-media-text__content {
    margin: 0;
    padding: 0;
}

.wp-block-media-text .wp-block-media-text__content :first-child {
    margin-top: 0;
}

.wp-block-media-text .wp-block-media-text__content :last-child {
    margin-bottom: 0;
}

.wp-block-media-text.is-stacked-on-mobile figure img {
    margin: 2rem 0 1rem;
	height: auto;
}

.wp-block-media-text.has-media-on-the-right.is-stacked-on-mobile figure img {
    margin: 2rem 0;
}

.wp-block-spacer {
    height: 0.5rem;
}

@media (min-height: 200px) {
	nav#off-canvas-nav ul.home-link.dropped {
		margin-top: 56px;
	}
	
	#search-box.dropped {
		top: 76px;
		z-index: 1003;
	}
}

@media (min-width: 380px) {
	footer ul li {
		padding: 0.25rem 1rem;
	}
}

@media (min-width: 450px) {
	.content-container {
		box-sizing: border-box;
		width: 87.5%;
		margin: 0 auto;
		padding: 0;
	}
	
	.content-container > div#main-content > article .inline-block,.content-container > div#main-content > article .inline-block.highlight {
		width: auto;
	}
    
    #header-background {
        height: 80px;
    }
    
	#menu,ul.top-nav {
		width: 114.25%;
		margin: 0 0 0 -7.125%;
	}
	
	nav#off-canvas-nav {
		width: 436px;
		right: -436px;
		border-left: 40px solid #fff;
	}
    
    nav#off-canvas-nav.display {
        right: -28px;
    }
	
	nav#off-canvas-nav > div,nav#off-canvas-nav ul,nav#off-canvas-nav > ul#menu-pages {
		width: 346px;
		margin: 0;
	}
	
	#search-and-nav {
		height: auto;
	}
	
	#search-box {
		width: 380px;
		padding-bottom: 16px;
		padding-right: 20px;
		border-radius: 0 6px 0;
	}
    
    #search-button {
        right: 62px;
    }
    
    .wp-block-media-text .wp-block-media-text__media {
        text-align: center;
    }
}

@media (min-width: 600px) {
    #video-modal-panel button.close-modal-panel {
        width: 3rem;
        height: 3rem;
        background: url(img/close-modal.svg) no-repeat;
        border: none;
        border-radius: 0;
    }
    
    .wp-block-media-text .wp-block-media-text__content {
        padding: 0 2.5rem;
    }
	
	.wp-block-media-text.has-media-on-the-left .wp-block-media-text__content {
		padding: 0 0 0 2.5rem;
	}
	
	.wp-block-media-text.has-media-on-the-left.top .wp-block-media-text__content,.wp-block-media-text.has-media-on-the-right.top .wp-block-media-text__content {
        align-self: start;
	}
    
    .wp-block-media-text.has-media-on-the-left.middle .wp-block-media-text__content,.wp-block-media-text.has-media-on-the-right.middle .wp-block-media-text__content {
        align-self: center;
    }

	.wp-block-media-text.has-media-on-the-right {
        -ms-grid-columns: minmax(200px, auto);
        grid-template-columns: minmax(200px, auto);
    }

	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		padding: 0 2.5rem 0 0;
	}
    
    .wp-block-media-text .wp-block-media-text__media img,h2 + .wp-block-media-text.is-stacked-on-mobile figure img, h3 + .wp-block-media-text.is-stacked-on-mobile figure img, h4 + .wp-block-media-text.is-stacked-on-mobile figure img, h5 + .wp-block-media-text.is-stacked-on-mobile figure img {
        align-self: start;
        margin: 0.5rem 0;
    }
}

@media (min-width: 650px) {
	#bottom-nav a#next {
        text-align: left;
        padding-left: 33.33%;
    }
    
    #bottom-nav a#prev {
        text-align: right;
        padding-right: 33.33%;
    }
    
    #bottom-nav a#next:hover,#bottom-nav a#prev:hover {
		text-decoration: underline;
	}
}

@media (min-width: 750px) {
	#bottom-nav {
		margin-top: 2rem;
	}
    
    .content-container > div#main-content > article > :first-child,.content-container > div#main-content > article script:first-child + iframe,.content-container > div#main-content > article > figure.wp-block-image:first-child,.content-container > div#main-content > article > figure.wp-block-gallery:first-child,.content-container > div#main-content > article > figure.wp-block-video:first-child {
		margin-top: 2.46rem;
	}
	
	footer ul {
		display: inline;
	}
	
	footer:not(.home) {
		padding-top: 1rem;
	}
	
	#menu {
		display: none;
	}
	
	ul.bottom-nav {
		display: block;
		width: auto;
        max-width: none;
		margin: 3rem 0 0;
        padding: 0;
        text-align: center;
	}
	
	ul.bottom-nav li {
		display: inline-block;
		width: auto;
		border: none;
	}
	
	ul.bottom-nav li:first-child {
		margin-right: 3px;
	}

	ul.bottom-nav li a {
		display: inline-block;
		width: auto;
		margin: 0 0.66rem 0.75rem 0;
		padding: 0.33rem 0.66rem;
		text-decoration: none;
		color: #444;
		border-radius: 0.25rem;
		border: 1px solid #ddd;
		-ms-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
		transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
		cursor: pointer;
	}
    
    ul.bottom-nav li a.active,ul.bottom-nav li.current_page_item a,ul.bottom-nav li a:focus,ul.bottom-nav li a:hover {
        color: #444;
        border: 1px solid #ddd;
        background-color: #efefef;
    }

	ul.bottom-nav li:last-child a {
		margin-bottom: 0.9rem;
	}
    
    ul.top-nav {
        display: none;
    }
}

@media (min-width: 782px) {
	.is-layout-flex.wp-block-columns > .wp-block-column:not(:first-child) {
		margin-left: 1rem;
	}

    .wp-block-columns > .wp-block-column {
        flex: unset;
        flex-basis: unset !important;
    }
    
    .wp-block-columns > .wp-block-column:not(:first-child) {
        margin: 0 0 0 3rem;
    }
    
    .wp-block-columns > .wp-block-column > :first-child,.wp-block-columns > .wp-block-column > h2:first-child,.wp-block-columns > .wp-block-column > h3:first-child,.wp-block-columns > .wp-block-column > h4:first-child,.wp-block-columns > .wp-block-column > h5:first-child {
        margin-top: 0;
    }
}

@media (min-width: 800px) {
	.content-container a.anchor {
        margin-top: -1.5rem;
        padding-top: 1.5rem;
    }
    
    #bottom-nav a {
		font-size: 1.33rem;
	}
    
    #breadcrumbs {
		display: block;
        background-color: #f2f2f2;
        padding: 1.125rem 0;
        text-align: center;
    }
    
    #breadcrumbs div {
		width: 87.5%;
		max-width: 1225px;
		margin: 0 auto;
		font: 700 0.725rem "Lato",sans-serif;
		text-transform: uppercase;
		line-height: 1.66;
	}
	
	#breadcrumbs div a {
		padding-right: 1rem;
		text-decoration: none; 
		color: #00795f;
		background: url(img/breadcrumb_arrow.svg) no-repeat center right;
		background-size: auto 0.5rem;
		cursor: pointer;
	}
	
	#breadcrumbs div a:hover:not(.active) {
		text-decoration: underline;
	}
	
	#breadcrumbs div a:last-child {
		padding-right: 0;
		background: none;
	}
	
	#breadcrumbs div a.active,#breadcrumbs div span.active {
		color: #222;
		cursor: default;
	}
	
	.content-container {
		width: 87.5%;
		max-width: 1225px;
	}
	
	.content-container a.button:hover,.content-container a.wp-block-button__link:hover {
		background-color: #005859;
	}
	
	.content-container > #main-content.style-guide {
		margin-top: 2.5rem;
	}
	
	div.expansive + br + * {
		margin-top: 0.375rem;
	}
    
	figure.wp-block-image figcaption,figure.wp-block-video figcaption {
		margin: 1.33rem 0 0;
	}
	
	figure.wp-block-image figcaption br,figcaption.blocks-gallery-caption br,figure.wp-block-video figcaption br {
		display: inline;
	}
	
	h1.green-bar {
		padding: 1.66rem 0;
		text-align: center;
	}
	
	h1.green-bar span {
		display: block;
		width: 87.5%;
		max-width: 1225px;
		margin: 0 auto;
	}

	h2{
		margin: 2rem 0 1.5625rem;
	}

	h3,p.lead {
		margin: 1.596rem 0 1.2rem;
	}

	h4,h5 {
		margin: 1.33rem 0 1rem;
	}
	
	#hamburger {
		display: block;
		position: absolute;
		top: 32px;
		right: 34px;
		box-sizing: border-box;
		width: 46px;
		height: 36px;
		font-size: 0;
		color: transparent;
		background-position: right top;
        background-size: 46px 36px;
	}
	
	#header-background {
		width: 100%;
		height: 96px;
	}
	
	#logo-link {
		top: 16px;
    	left: 32px;
		width: 335px;
		height:	52px;
		background: url(img/washington-state-department-of-transportation.svg) no-repeat;
	}
	
	main {
		min-height: 300px;
		padding: 100px 0 0.66rem;
	}
	
	main h1 {
		width: 100%;
	}
    
    main.right-to-left #breadcrumbs div a {
        display: inline-block;
        padding: 0 0 0 1rem;
        background: url(img/breadcrumb-arrow-rtl.svg) no-repeat center left;
        background-size: auto 0.5rem;
    }
    
    nav#off-canvas-nav {
		width: 444px;
		right: -444px;
		padding: 100px 0 40px;
	}
    
    nav#off-canvas-nav ul.home-link li {
		padding: 0;
	}
    
	#search-box {
		top: 32px;
		right: 56px;
		width: 312px;
		max-width: 366px;
		height: 16px;
		margin: 0;
		padding: 0;
		z-index: 1004;
	}
	
	#search-button {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		display: inline-block;
		top: 32px;
		right: 90px;
		vertical-align: top;
		width: 46px;
		height: 36px;
		background-size: 46px 36px;
		cursor: pointer;
	}
	
	#search-form {
		display: inline;
		vertical-align: top;
	}
	
	#search-input {
        right: 17px;
        width: 291px;
        height: 36px;
        padding: 0 42px 0 16px;
        font-size: 1rem;
		border: 1px solid #a0a0a0;
		outline-color: #abcdff !important;
        outline-offset: 0;
    }

	#search-input:focus-visible {
        outline: auto;
    }
	
	#sticky-header {
		position: relative;
	}
    
    .youtube-iframe-container-outer {
		max-width: 640px;
	}
}

@media (min-width: 900px) {
	.content-container > div#main-content > article > figure.wp-block-image:nth-last-child(2),.content-container > div#main-content > article > figure.wp-block-video:nth-last-child(2) {
		margin: 1.5rem 0 1rem;
	}
	
	.content-container > div#main-content > article iframe:nth-last-child(2) {
		margin: 2rem 0 1rem;
	}
	
	.content-container > div#main-content > article .inline-block {
		max-width: 50%;
		margin: 1rem 0;
		padding-right: 2.5rem;
	}
	
	.content-container > div#main-content > article .inline-block.highlight {
		max-width: calc(50% - 40px);
		margin-right: 40px;
		padding-right: 1.125rem;
	}
	
	figure.wp-block-image,figure.wp-block-video {
		margin: 1.5rem 0;
	}
	
	#hamburger {
		width: auto;
		height: 36px;
		padding: 0 0 2px 56px;
		font: 700 16px "Lato",sans-serif;
		color: #303030;
		text-transform: uppercase;
		background-position: left top;
	}
	
	#main-content > .grid-container {
		padding: 2.25rem 0;
	}
    
    main ol,main ul {
        padding-left: 2.5rem;
    }
    
    main ol > li > ol,main ol > li > ul,main ul > li > ol,main ul > li > ul {
        padding-left: 1.25rem;
    }
    
    main.right-to-left ol:not(.left-to-right), main.right-to-left ul:not(.bottom-nav):not(.left-to-right) {
        padding: 0 2.5rem 0 0;
    }
    
    main.right-to-left ol > li > ol,main.right-to-left ol > li > ul,main.right-to-left ul > li > ol,main.right-to-left ul > li > ul {
        padding-right: 1.25rem;
    }
	
	nav#off-canvas-nav {
		width: 516px;
		right: -516px;
	}
    
    nav#off-canvas-nav > div,nav#off-canvas-nav ul,nav#off-canvas-nav > ul#menu-pages {
		width: 370px;
	}
	
	#search-box {
		right: 119px;
        width: 312px;
	}
	
	#search-button {
		top: 32px;
		right: 149px;
	}
    
    #video-veil {
        background-color: rgba(0,0,0,0.75);
	}
    
    .wp-block-group .wp-block-group__inner-container,.wp-block-group.has-background .wp-block-group__inner-container {
        margin-left: -1.75rem;
    }
}

@media (min-width: 1150px) {
	button.close-modal-panel {
        width: 3rem;
        height: 3rem;
        background: url(img/close-modal.svg) no-repeat;
        border: none;
        border-radius: 0;
    }
    
    h1.green-bar,h1.green-bar.long,main.right-to-left h1.green-bar {
        padding: 1.87rem 0;
		font-size: 1.76rem;
    }
    
    #image-modal-panel {
	    top: 0;
        height: 100%;
    }
    
    #image-modal-panel > img {
        max-width: 90%;
        max-height: 90%;
	}
    
    #image-veil {
        background-color: rgba(0,0,0,0.75);
	}
    
    nav#off-canvas-nav ul li a:focus,nav#off-canvas-nav ul li a:hover,nav#off-canvas-nav ul li.page_item a:focus,nav#off-canvas-nav ul li.page_item a:hover,nav#off-canvas-nav > ul#menu-pages li > a:focus,nav#off-canvas-nav > ul#menu-pages li > a:hover {
		background-color: #efefef;
	}
	
	nav#off-canvas-nav ul.top-level li a:focus,nav#off-canvas-nav ul.top-level li a:hover {
		background-color: #efefef;
	}
	
	nav#off-canvas-nav ul:not(.social-links) li:first-child:not(.page_item) a:focus,nav#off-canvas-nav ul:not(.social-links) li:first-child:not(.page_item) a:hover,
	nav#off-canvas-nav > ul#menu-pages:first-child li:not(.page_item) a:focus,nav#off-canvas-nav > ul#menu-pages:first-child li:not(.page_item) a:hover {
		background-color: #efefef;
	}
	
	#search-button {
		top: 32px;
	}
    
    #video-modal-panel > div {
        box-sizing: border-box;
        padding-left: 3rem;
    }
    
    figure.wp-block-gallery.small {
        max-width: 50%;
    }
}

@media (min-width: 1350px) {
	#bottom-nav a {
		font-size: 1.5625rem;
	}
    
    .content-container > div#main-content > article > :first-child,.content-container > div#main-content > article script:first-child + iframe,.content-container > div#main-content > article > figure.wp-block-image:first-child,.content-container > div#main-content > article > figure.wp-block-gallery:first-child,.content-container > div#main-content > article > figure.wp-block-video:first-child {
		margin-top: 2.66rem;
	}
	
	#logo-link {
    	left: 48px;
	}
    
    main.right-to-left #main-content {
        padding: 0 11.75rem 0 0;
    }

    #main-content:not(.home-admin) {
        padding-left: 13.75rem;
    }
}

@media (min-width: 1600px) {
	.content-container > div#main-content > article > :first-child,.content-container > div#main-content > article script:first-child + iframe,.content-container > div#main-content > article > figure.wp-block-image:first-child,.content-container > div#main-content > article > figure.wp-block-video:first-child {
		margin-top: 1.845rem;
	}
	
	#bottom-nav a#next {
        text-align: left;
        padding-left: 30%;
    }
    
    #bottom-nav a#prev {
        text-align: right;
        padding-right: 30%;
    }
    
    #image-modal-panel > img {
        margin-left: 3rem;
    }
}

@media (min-width: 1650px) {
	#bottom-nav {
        margin-top: 4rem;
    }
    
    #breadcrumbs div {
        width: auto;
    }
    
    .content-container:not(.home-admin) {
		position: relative;
		margin: 0 0 0 calc(50% - 415px);
	}
	
	.content-container:not(.home-admin) > div#main-content > article {
		padding-top: 2.125rem;
	}
	
	.content-container > div#main-content > article > :first-child,.content-container > div#main-content > article > figure.wp-block-image:first-child,.content-container > div#main-content > article > figure.wp-block-gallery:first-child,.content-container > div#main-content > article > figure.wp-block-video:first-child,.content-container > div#main-content > article > form:first-child > p:first-child,.content-container > div#main-content > article > h4:first-child,.content-container > div#main-content > article > h5:first-child,.content-container > div#main-content > article > p:first-child,.content-container > div#main-content > article > ul:first-child {
        margin-top: 0.7687rem;
    }
    
    .content-container > div#main-content > article > h2:first-child {
        margin-top: 0.5462rem;
    }
	
	.content-container > div#main-content > article script:first-child + iframe {
		margin-top: 0.5rem;
	}
    
    h1.green-bar,h1.green-bar.long,main.right-to-left h1.green-bar {
        padding: 2.5rem 0;
		font-size: 2.5rem;
    }
	
	h1.green-bar:not(.home-admin) span {
		opacity: 0;
		white-space: nowrap; 
		overflow: hidden;
	}
	
	h1.green-bar:not(.home-admin) span.long {
		margin: 0 auto;
		max-width: 1500px;
	}
    
    #header-background {
        left: calc(calc(calc(100vw - 1650px) / 2) * -1);
        width: 100vw;
    }
    
    #hamburger {
        right: 0;
    }
    
    #logo-link {
        top: 19px;
    }
    
    main {
		padding: 110px 0 0.75rem;
	}
    
    main.right-to-left #main-content {
        padding: 0 6.66rem 0 0;
    }
    
    main.right-to-left #main-content div.table-container {
        margin: 0;
    }
    
    #main-content:not(.home-admin) {
        padding-left: 0;
    }
    
    nav#off-canvas-nav {
        width: calc(calc(calc(100% - 1650px) / 2) + 507px);
        right: calc(calc(calc(calc(100% - 1650px) / 2) + 507px) * -1);
        padding-top: 111px;
    }
    
    #search-box {
        right: 85px;
    }
    
    #search-button {
        right: 115px;
    }
    
    #sticky-header {
		max-width: 1650px;
		margin-left: calc(calc(100% - 1700px) / 2);
	}
    
    ul.bottom-nav {
        display: none;
    }
	
	ul.top-nav {
        display: block;
		position: absolute;
		top: 38px;
		left: -320px;
		width: 250px;
		margin: 0;
	}
	
	ul.top-nav li {
		width: 100%;
        border: none;
        border-bottom: 1px solid #ddd;
	}

	ul.top-nav li a {
		display: inline-block;
		width: 100%;
		margin: -1px 0;
		padding: 1rem 0 1rem 1.5rem;
        font-size: 1rem;
		text-decoration: none;
		color: #444;
		border-radius: 0;
		border: none;
		background: none;
		-ms-transition: none;
		transition: border-color 0.2s;
	}

	ul.top-nav li a:focus,ul.top-nav li a.active,ul.top-nav li:last-child a:focus,ul.top-nav li.current_page_item a,ul.top-nav li.current_page_item:last-child a {
		width: calc(100% + 3px);
        margin-left: -3px;
        background: none;
		border-left: 3px solid #00795f;
	}
    
    ul.top-nav li:last-child a:hover,ul.top-nav li a:hover {
        background-color: #efefef;
    }
    
    ul.top-nav li:first-child {
        margin: 0;
    }
    
    ul.top-nav li:last-child {
		border-bottom: none;
	}
}

/* grid */

.grid {
	/* Grid fallback */
	display: flex;
	flex-wrap: wrap;
}

.grid > a {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	min-height: 5rem;
	margin-bottom: 1.5rem;
	padding: 1.75rem;
	text-align: center;
	text-decoration: none;
    border-radius: 4px;
    border-bottom: 2px solid rgba(255,255,255,0.9);
    background-color: rgba(20,20,35,0.8);
	transition: background-color 0.45s ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

.grid > a > span {
	align-self: center;
	margin: 0 auto;
	font: 400 1.25rem "Lato",sans-serif;
	line-height: 1.66;
	color: #fff;
	text-decoration: none;
}

.grid-container {
	min-height: 15rem;
	margin-bottom: 0.75rem;
	padding: 2rem 0;
	background: url(img/backgrounds/520-opening-mobile.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}

.grid-container .content-container.grid > a {
	margin-top: 0;
}

@media (min-width: 600px) {
	/* If Grid is supported, remove the fallback margin */
	@supports(display:grid) {
		.grid-container > .grid > a {
			width: 100%;
			margin: 0;
		}
	}
	
	.grid {
		/* Supports Grid */
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(45%,1fr));
        grid-template-columns: repeat(8, 1fr);
		grid-gap: 2rem;
	}
	
	.grid > a {
        grid-column: span 4;
		width: 42.5%;
		margin: 0 1rem 2rem;
	}
    
    .grid-container > .grid > a:last-child:nth-child(2n - 1) {
        grid-column-end: 7;
    }
}

@media (min-width: 750px) {
	#main-content > .grid-container {
		min-height: 20rem;
		margin-bottom: 1rem;
	}
}

@media (min-width: 900px) {
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(30%,1fr));
        grid-template-columns: repeat(6, 1fr);
	}
	
	.grid > a {
		width: 27.5%;
		min-height: 7.5rem;
        grid-column: span 2;
	}
    
    .grid-container > .grid > a:last-child:nth-child(2n - 1) {
        grid-column-end: auto;
    }
    
    .grid > a:last-child:nth-child(3n - 1) {
        grid-column-end: -2;
    }

    .grid > a:nth-last-child(2):nth-child(3n + 1) {
        grid-column-end: 4;
    }
    
    .grid > a:last-child:nth-child(3n - 2) {
        grid-column-end: 5;
    }
    
    .grid-container > .grid > a:last-child:nth-child(4),.grid-container > .grid > a:last-child:nth-child(7),.grid-container > .grid > a:last-child:nth-child(10) {
        grid-column-end: -3;
    }
}

@media (min-width: 1150px) {
	.grid > a {
	    backdrop-filter: blur(1px);
    }
    
    .grid > a:hover {
		background-color: rgba(20,20,35,0.9);
		text-decoration: none;
	}
	
	#main-content > .grid-container {
		background-image: url(img/backgrounds/520-opening.jpg);
	}
}

@media (min-width: 1300px) {
	.grid > a {
		min-height: 9rem;
		margin: 0 1.5rem 3rem;
	}
	
	.grid > a > span {
		/* short titles 
        font-size: 1.55rem; */
        font-size: 1.33rem;
		outline: none;
	}
	
	#main-content > .grid-container {
		min-height: 22.5rem;
		padding: 3rem 0;
	}
}

@media (min-width: 1600px) {
	.grid > a {
		margin: 0 2rem 4rem;
	}
	
	#main-content > .grid-container {
		min-height: 30rem;
		padding: 4rem 0;
	}
}

@media (min-width: 1900px) {
	.grid {
		grid-gap: 3rem;
	}

	#main-content > .grid-container {
		min-height: 32rem;
	}
}

@media (min-width: 2100px) {
	#main-content > .grid-container {
		min-height: 36rem;
		padding: 5rem 0;
	}
}

/* tables */

.content-container > div#main-content > article > .table-container:first-child > table,.content-container > div#main-content > article > figure.wp-block-table:first-child > table,.content-container > div#main-content > article > figure.wp-block-table.is-style-stripes:first-child > table
{
	margin-top: 1rem;
}

table {
	margin-top: 1rem;
	border-spacing: 0;
}

table.bottom-caption {
	caption-side: bottom;
}

table.bottom-caption caption {
	padding: 1.5rem 0 0;
}

table.dataTable {
	border-collapse: collapse;	
}

table caption {
	max-width: 80vw;
	padding-bottom: 1.5rem;
	text-align: left;
}

table h2,table h3,table h4,table h5 {
	margin: 0;
}

table td {
	padding: 1rem 1rem 1rem 0.75rem;
	vertical-align: top;
}

table td,table th,.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th {
	min-width: 4.5rem;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

table td :first-child,table th :first-child {
	margin-top: 0;
}

table td.center,table th.center {
	text-align: center;
}

table td.left,table th.left {
	text-align: left;
}

table td.right,table th.right {
	text-align: right;
}

table td ol,table td ul {
    padding-left: 1.25rem;
}

table td ul:last-child,table th ul:last-child,table td ol:last-child,table th ol:last-child {
	margin-bottom: 0;
}

table th {
	padding: 0.75rem 1rem 0.75rem 0.75rem;
	background: #eee;
}

table tr:last-of-type td,figure.wp-block-table table tr:last-of-type td,figure.wp-block-table.is-style-stripes table tr:last-of-type td {
	border: none;
}

.table-container,figure.wp-block-table,figure.wp-block-table.is-style-stripes {
	width: 100%;
    max-width: 85vw;
    overflow-x: auto;
	margin: 0 0 2rem;
    border: none;
}

.table-container.scroll-right,figure.wp-block-table.scroll-right,figure.wp-block-table.is-style-stripes.scroll-right {
	background: url(img/table-scroll-arrow.svg) no-repeat right bottom;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
    background: none;
}

@media (min-width: 450px) {
	.table-container,figure.wp-block-table,figure.wp-block-table.is-style-stripes,figure.wp-block-table.scroll-right,figure.wp-block-table.is-style-stripes.scroll-right {
    	max-width: 90vw;
		background: none;
	}
	
	table td,table th {
		padding-right: 1.5rem;
	}
}

@media (min-width: 900px) {
	table {
		margin: 1.5rem 0 0.5rem;
	}
	
	.table-container,figure.wp-block-table,figure.wp-block-table.is-style-stripes {
		max-width: none;
		padding: 0;
		margin: 0;
	}

	.table-container + *,figure.wp-block-table + *,figure.wp-block-table.is-style-stripes + * {
		margin-top: 1rem;
	}
		
	table td,table th {
		padding-right: 2rem;
	}
}

@media (min-width: 1300px) {
	div.table-container > table {
		margin: 2.5rem auto 1.5rem;
	}

	main.right-to-left #main-content div.table-container {
		margin: 0 -5.875rem 0 0;
	}

	#main-content:not(.home-admin) div.table-container {
		margin-left: -6.875rem;
	}
	
	.table-container,figure.wp-block-table,figure.wp-block-table.is-style-stripes {
		max-width: none;
		overflow: visible;
	}
}

@media (min-width: 1650px) {
	div.table-container > table {
		margin-left: 0;
	}

	#main-content:not(.home-admin) div.table-container {
        margin-left: 0;
    }
}

/* form */

main button,main input[type=button],.button {
    display: block;
    box-sizing: border-box;
	max-width: 310px;
    margin: 1.75rem 0;
    padding: 0.71875rem 1.875rem;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    color: #fff;
    font: 400 0.875rem "Lato",sans-serif;
    letter-spacing: 0.1rem;
	line-height: 1.66;
    border-radius: 0.25rem;
    border: 1px solid #00795f;
    background-color: #00795f;
    -ms-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    cursor: pointer;
}

main button:hover,main button:focus,main input[type=button]:hover,main input[type=button]:focus,.button:active,.button:focus,.button:hover {
	color: #fff;
    border-color: #005859;
	background-color: #005859;
}

main button.button-secondary,main input[type=button].button-secondary,.button.button-secondary,.content-container a.button.secondary {
	max-width: 310px;
	color: #666;
    border: 1px solid #bbb;
	-ms-transition: border-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: border-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
	background-color: transparent;
}

main button.button-secondary:hover,main button.button-secondary:focus,main input[type=button].button-secondary:hover,main input[type=button].button-secondary:focus,.button-secondary:active,.button-secondary:focus,.button-secondary:hover {
	border-color: #666;
}

main button.toggle {
	display: inline;
	max-width: 310px;
	margin: 0.5rem 0 1rem;
	color: #303030;
    border: 1px solid #bbb;
	border-right: none;
	border-radius: 0;
	background-color: #fff;
	-ms-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
	outline: none;
}

main button.toggle:focus-visible {
	outline: auto;
}

main button.toggle.active {
	background-color: #ddd;
}

main button.toggle.first {
	border-radius: 0.25rem 0 0 0.25rem;
}

main button.toggle.last {
	border-right: 1px solid #bbb;
	border-radius: 0 0.25rem 0.25rem 0;
}

main.right-to-left form label.radio-checkbox-container {
    padding: 0 30px 0 0;
}

main.right-to-left form label.radio-checkbox-container span.radio-checked,main.right-to-left form label.radio-checkbox-container span.checkbox-checked {
    left: auto;
    right: 0;
}

main figure.wp-block-image + form,main form h2 + ol,main form h2 + p,main form h2 + ul,main form h3 + ol,main form h3 + p,main form h3 + ul,main form h4 + ol,main form h4 + p,main form h4 + ul,main form figure.wp-block-image + ol,main form figure.wp-block-image + p,main form figure.wp-block-image + ul,main h2 + form,main h3 + form,main h4 + form,main form p + p {
    margin-top: 1rem;
}

main form {
	width: 100%;
	margin: 2rem 0 2.5rem;
}

main form :first-child {
    margin-top: 0;
}

main form div.slide-out {
    padding: 0 0 10px 30px;
}

main form fieldset {
	margin: 1.5rem 0 1rem;
	padding: 1rem 0 0;
	border: none;
}

main form fieldset:last-child, main form fieldset label:last-child input[type=radio] {
	margin-bottom: 0;
}

main form fieldset label {
	margin: 0;
}

main form input[type="email"]:valid,main form input[type="number"]:valid,main form input[type="password"]:valid,main form input[type="search"],main form input[type="tel"]:valid,main form input[type="text"]:valid,main form select:valid,main form textarea:valid{
	border: 1px solid #bbb;
	background-color: #fff;
}

main form input[type=date] {
	padding: 0.5625rem 0.625rem;
	font-size: 16px;
	line-height: 1.66;
	border: 1px solid #bbb;
	border-radius: 0.25rem;
	background-color: #fff;
}

main form input[type="email"],main form input[type="number"],main form input[type="password"],main form input[type="search"],main form input[type="tel"],main form input[type="text"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 310px;
	margin-bottom: 1rem;
	padding: 0.625rem;
	font-family: "Lato",sans-serif;
	font-size: 16px;
	line-height: 1.66;
	color: #303030;
	border: 1px solid #bbb;
	border-radius: 0.25rem;
	background: none;
	background-color: transparent;
}

main form label {
	display: block;
	max-width: 50rem;
    margin: 2rem 0 1rem;
	line-height: 1.66;
}

main form label.inline {
	display: inline-block;
    margin: 0;
    line-height: 1.5;
}

main form label.radio-checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

main form label.radio-checkbox-container input[type=radio],main form label.radio-checkbox-container input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

main form label.radio-checkbox-container input:checked ~ .radio-checked {
    background-color: #fff;
}

main form label.radio-checkbox-container input:checked ~ .radio-checked:after {
    display: block;
}

main form label.radio-checkbox-container span.radio-checked {
    position: absolute;
    top: 6px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #444;
    border-radius: 50%;
}

main form label.radio-checkbox-container .radio-checked:after {
    display: none;
    position: absolute;
    top: calc(50% - 4px);
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background-color: #444;
}

main form label.radio-checkbox-container input[type=checkbox]:checked ~ span.checkbox-checked {
    background-color: #303030;
}

main form label.radio-checkbox-container span.checkbox-checked {
    position: absolute;
    top: 6px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #444;
    border-radius: 2px;
}

main form label.radio-checkbox-container input[type=checkbox]:checked ~ span.checkbox-checked:after {
    display: block;
}

main form label.radio-checkbox-container span.checkbox-checked:after {
    display: none;
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    content: "";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

main form label.radio-checkbox-container + h2,main form label.radio-checkbox-container + textarea.slide-out + h2,main form label.rating + textarea.slide-out + h2,main form label.radio-checkbox-container + h3,main form label.radio-checkbox-container + textarea.slide-out + h3,main form label.rating + textarea.slide-out + h3,main form label.rating + textarea.slide-out + h3,main form label.radio-checkbox-container + h4,main form label.radio-checkbox-container + textarea.slide-out + h4,main form label.rating + textarea.slide-out + h4,main form label.radio-checkbox-container + h5,main form label.radio-checkbox-container + textarea.slide-out + h5,main form label.rating + textarea.slide-out + h5 {
    margin-top: 2.5rem;
}

main form label.radio-checkbox-container + p,main form label.radio-checkbox-container + textarea.slide-out + p,main form label.rating + textarea.slide-out + p,main form textarea + p {
    margin-top: 2rem;
}

main form label.radio-checkbox-container + textarea.slide-out {
    margin-top: 0.5rem;
}

main form label.rating + textarea.slide-out {
    margin-top: 1rem;
}

main form label.rating {
    position: relative;
    padding: 0.75rem 0 0 4.5rem;
}

main form label.rating input[type=number] {
    position: absolute;
    top: 0;
    left: 0;
	width: 3.5rem;
	text-align: center;
}

main form label.rating + *:not(.rating) {
    margin-top: 3rem;
}

main form h3,main form h4,main form h5,main form ol,main form p,main form ul {
    margin-top: 2rem;
}

main form > ol + label {
    margin-top: 0;
}

main form > ol li textarea{
    margin-bottom: 0.25rem;
}

main form > ol:numbered-fields li {
    padding-bottom: 2rem;
}

main form select {
	display: block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	max-width: 310px;
	margin-bottom: 1rem;
	padding: 0.625rem 2.25rem 0.625rem 0.625rem;
	border: 1px solid #bbb;
	border-radius: 0.25rem;
	cursor: pointer;
	font-family: "Lato",sans-serif;
	font-size: 16px;
	line-height: 1.66;
	color: #303030;
	background: none,#fff url(img/select_arrow.svg) no-repeat right 0.75rem center;
}

main form select::-ms-expand {
    display: none;
}

main form textarea {
	display: block;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	max-width: 500px;
	height: 130px;
	padding: 0.625rem;
	border: 1px solid #bbb;
	border-radius: 0.25rem;
	font-family: "Lato",sans-serif;
	line-height: 1.66;
	color: #303030;
}

main form textarea.slide-out,main form div.slide-out {
    display: none;
    overflow: hidden;
}

main input[type=submit],main input[type=reset] {
    display: block;
	box-sizing: border-box;
	max-width: 310px;
	margin: 2rem 0 1.75rem 0;
    padding: 0.71875rem 30px;
	text-transform: uppercase;
    text-align: center;
	text-decoration: none !important;
	color: #fff;
	font: 400 0.875rem "Lato",sans-serif;
	line-height: 1.66;
	letter-spacing: 0.1rem;
    white-space: nowrap;
	border-radius: 0.25rem;
	border: 1px solid #00795f;
	background-color: #00795f;
    -ms-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
	cursor: pointer;
}

main input[type=submit]:focus,main input[type=reset]:focus,main input[type=submit]:hover,main input[type=reset]:hover {
	color: #fff;
    border-color: #005859;
	background-color: #005859;
}

/* Feedback form */

#error {
	box-sizing: border-box;
	width: 100%;
	max-width: 50rem;
	margin-bottom: 1.75rem;
	padding: 0 1rem;
	line-height: 1.66;
	color: #d61a20;
	border: solid 2px #ed1c24;
	border-radius: 0.5rem;
}

input[type="text"].human-verification {
	display: inline-block;
	width: 3rem;
	margin-right: 0.25rem;
	text-align: center;
}

/* video */

.content-container > div#main-content > article > .youtube-container:first-child {
	margin-top: 2rem;
}

button.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    padding: 0;
	color: #303030;
    background: url(img/video-play-button.svg) no-repeat;
    background-size: 100%;
    outline: none;
    border: none;
	z-index: 998;
}

button.video-play-button:focus,button.video-play-button:hover {
	background-color: transparent;
}

button.video-play-button:focus-visible {
	outline: auto;
}

.content-container > div#main-content > article iframe.youtube-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 999;
}

h1 + .youtube-container,h2 + .youtube-container,h3 + .youtube-container {
	margin-top: 0.5rem;
}

img.youtube-thumb {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: 100%;
	width: 100%;
	height: auto;
	margin: auto;
}

.youtube-container {
	display: inline-block;
	box-sizing: border-box;
	width: calc(100% - 1px);
	max-width: 500px;
	margin: 1rem 0 0.5rem;
	padding: 0;
	overflow: hidden;
}

.youtube-container p {
	position: relative;
	margin: 0;
    padding: 0.71875rem 1rem;
    background: #f2f2f2;
    color: #444;
	text-align: center;
    border-radius: 0 0 0.25rem 0.25rem;
	z-index: 997;
}

.youtube-container.light-thumbnail button.video-play-button {
    box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.15), 0 0.375rem 1.25rem 0 rgba(0, 0, 0, 0.125);
    border-radius: 32px;
}

.youtube-player {
	display: block;
	position: relative;
	width: calc(100% + 5px);
	height: 100%;
	overflow: hidden;
	margin: -1px;
	padding-bottom: calc(56.25% + 5px);
	cursor: pointer;
	z-index: 996;
}

#video-modal-panel {
	display: flex;
	align-items: center;
  	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2001;
}

#video-modal-panel.hidden {
	width: 0;
	height: 0;
}

#video-modal-panel > div {
	display: none;
	width: 85%;
 	max-width: 1200px;
    max-height: 100vh;
}

#video-modal-panel > div > div {
	position: relative;
 	width: 100%;
    height: 100%;
	padding-bottom: 56.25%;
	overflow: hidden;
}

#video-modal-panel > img {
	display: none;
}

@media (min-width: 450px) {
	.youtube-player {
		padding-bottom: calc(56.25% - 1px);
	}
}

@media (min-width: 600px) and (min-height: 450px) {
	.youtube-container {
		max-width: 560px;
	}
	
	#youtube-iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
        max-height: 100vh;
	}
}

@media (min-width: 900px) {
	.youtube-container {
        max-width: 635px;
		margin: 1.5rem 0 1rem;
	}
	
	h2 + .youtube-container,h3 + .youtube-container,h4 + .youtube-container,h5 + .youtube-container {
		margin-top: 1rem;
	}
}

@media (min-width: 1900px) {
	.content-container > div#main-content > article > .youtube-container:first-child {
		margin-top: 0.5rem;
	}
}

/* slideshow */

.slideshow {
	display: flex;
	overflow-x: auto;
    overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	opacity: 0;
}

.slideshow::-webkit-scrollbar {
  display: none;
}

.slideshow > div {
	position: relative;
	width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-shrink: 0;
	transform-origin: center center;
	transform: scale(1);
	transition: transform 0.5s;
	margin-right: 0;
    z-index: 1;
}

.slideshow > div > figure {
	display: inline-block;
	max-width: 100%;
	margin: 0;
}

.slideshow > div > figure > img {
	width: auto;
    max-height: calc(100vw - 52px);
    object-fit: scale-down;
    margin-left: -1px;
}

.slideshow-container {
    position: relative;
	display: inline-block;
	width: 100%;
	max-width: 700px;
	margin: 0 auto 1rem;
	background-color: #fff;
}

.slideshow-container > nav {
    margin: 1rem 0 0.875rem;
    text-align: center;
}

.slideshow-container > nav > ul {
    display: none;
    max-width: 90%;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	overflow: visible;
}

.slideshow-container > nav > ul > li {
	display: inline-block;
	padding: 0;
	vertical-align: middle;
}

.slideshow-container > nav > ul > li > button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
    border: none;
	background: none;
}

.slideshow-container > nav > ul > li > button:not(.prev-next) > span {
	display: inline-block;
	width: 0.5625rem;
	height: 0.5625rem;
	border-radius: 0.5625rem;
	border: 1px solid #444;
	text-indent: 150%;
    white-space: nowrap;
    color: #222;
	overflow: hidden;
	background-color: #fff;
	transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
}

.slideshow-container > nav > ul > li > button:not(.prev-next) > span.active {
	color: #fff;
    background-color: #444;
}

.slideshow-container > nav > ul > li > button.prev-next:focus-visible,.slideshow-container > nav > ul > li > button.prev-next:focus-visible {
	outline: auto;
}

.slideshow-container > nav > ul > li > button.prev-next > span {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	text-indent: 150%;
    white-space: nowrap;
    color: #222;
	overflow: hidden;
}

.slideshow-container > nav > ul > li:first-child > button.prev-next > span {
	background: url(img/prev-next.svg) no-repeat center;
	background-size: 100%;
    transform: scaleX(-1);
}

.slideshow-container > nav > ul > li:last-child > button.prev-next > span {
	background: url(img/prev-next.svg) no-repeat center;
	background-size: 100%;
}

.slideshow.vertical-align-center > div {
    align-items: center;
}

@media (min-width: 450px) {
	.slideshow > div > figure > img {
        max-height: 70vh;
    }
    
    .slideshow-container {
        max-height: calc(70vh + 4.75rem);
    }
    
    .slideshow-container > nav > ul {
        max-width: none;
        margin: 0;
	}
}

@media (min-width: 950px) {
	.slideshow-container {
		margin-left: 64px;
	}
	
	.slideshow-container > nav > ul {
		position: relative;
	}
	
	.slideshow-container > nav > ul > li:first-child {
		position: absolute;
		left: -6rem;
	}
	
	.slideshow-container > nav > ul > li:last-child {
		position: absolute;
		right: -6rem;
	}
	
	.slideshow-container > nav > ul > li > button.prev-next > span {
		width: 2rem;
		height: 2rem;
		opacity: 0;
	}
    
    .slideshow-container > nav > ul > li:first-child > button.prev-next > span,.slideshow-container > nav > ul > li:last-child > button.prev-next > span {
        background-size: 2rem;
    }
}

@media (min-width: 1350px) {
    .slideshow-container {
        margin-bottom: 1rem;
    }
    
	.slideshow-container > nav {
		margin: 1.5rem 0 1.33rem;
	}
	
	.slideshow-container > nav > ul > li > button:not(.prev-next) > span {
		width: 0.625rem;
		height: 0.625rem;
		border-radius: 0.625rem;
	}
}

/* Loader */

.loader {
    position: absolute;
    display: block;
    margin: 0px auto;
    width: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    z-index: 0;
}

.loader:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.circular {
    animation: rotate 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

/* Animation */

@keyframes 
rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes 
dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@keyframes 
color {
    100%, 0% {
     stroke: #00795f;
    }
     40% {
     stroke: #97c93d;
    }
     66% {
     stroke: #00abc7;
    }
     80%, 90% {
     stroke: #007da4;
    }
}