/* --------------------- BUTTON --------------------- */
.wp-block-buttons {
	
}
p + .wp-block-buttons {
	margin-top: 1.5rem;
}
.wp-block-buttons.is-content-justification-center {
	
}
.wp-block-buttons.is-content-justification-right {
	
}
	.wp-block-buttons .wp-block-button {
		
	}
	:not(.wp-block-buttons) > .wp-block-button {
		display: inline-block;
	}
	html .wp-block-button .wp-block-button__link,
	html .frontend input[type="submit"],
	html .frontend input[type="button"],
	html .frontend button[type="submit"],
	html .frontend form button,
	.pagination a,
	.pagination .page-numbers {
		background: #7C8081;
		border: 0;
		border-radius: 0;
		color: #FFFFFF;
		cursor: pointer;
		display: inline-block;
		font-size: .7rem;
		font-weight: 700;
		line-height: 1.5;
		padding: calc(.3rem + 2px) 1rem;
		position: relative;
		text-decoration: none !important;
		text-transform: uppercase;
		transition: all .3s ease;
		vertical-align: middle;
		width: auto;
		z-index: 2;
	}
	html .wp-block-button .wp-block-button__link:hover,
	html .wp-block-button .wp-block-button__link:focus,
	html .frontend input[type="submit"]:hover, 
	html .frontend input[type="submit"]:focus, 
	html .frontend input[type="button"]:hover,
	html .frontend input[type="button"]:focus,
	html .frontend button[type="submit"]:hover,
	html .frontend button[type="submit"]:focus,
	html .frontend form button:hover,
	html .frontend form button:focus {
		transform: scale(1.1);
	}

	.wp-block-button.is-style-arrow-label {
		
	}
		.wp-block-button.is-style-arrow-label:not(.left) .wp-block-button__link {
			background: url('images/arrow-right-white.svg') right .8em center/auto 1em no-repeat #7C8081;
			padding-right: 2.5em;
		}
		.wp-block-button.is-style-arrow-label.left .wp-block-button__link {
			background: url('images/arrow-left-white.svg') left .8em center/auto 1em no-repeat #7C8081;
			padding-left: 2.5em;
		}
	.has-white-color .wp-block-button.is-style-arrow-label,
	.wp-block-button.is-style-arrow-label-outline {
		
	}
		.has-white-color .wp-block-button.is-style-arrow-label:not(.left) .wp-block-button__link,
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link {
			background: url('images/arrow-right-white.svg') right .8em center/auto 1em no-repeat;
			background-color: transparent !important;
			border: 1px solid currentColor;
			color: inherit;
			padding-right: 2.5em;
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-white-color {
			background-image: url('images/arrow-right-white.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-black-color {
			background-image: url('images/arrow-right-black.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-light-grey-color {
			background-image: url('images/arrow-right-light-grey.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-mid-grey-color {
			background-image: url('images/arrow-right-mid-grey.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-grey-color {
			background-image: url('images/arrow-right-grey.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-dark-grey-color {
			background-image: url('images/arrow-right-dark-grey.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-purple-color {
			background-image: url('images/arrow-right.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-green-color {
			background-image: url('images/arrow-right-green.svg');
		}
		.wp-block-button.is-style-arrow-label-outline:not(.left) .wp-block-button__link.has-yellow-color {
			background-image: url('images/arrow-right-yellow.svg');
		}
		
		.has-white-color .wp-block-button.is-style-arrow-label.left .wp-block-button__link,
		.wp-block-button.is-style-arrow-label-outline.left .wp-block-button__link {
			background: url('images/arrow-left-white.svg') left .8em center/auto 1em no-repeat;
			background-color: transparent !important;
			border: 1px solid currentColor;
			color: inherit;
			padding-left: 2.5em;
		}

	.wp-block-button.is-style-arrow-no-label {
		
	}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link {
			background: url('images/arrow-right.svg') center/auto 1.6rem no-repeat #ebeced;
			font-size: 0;
			padding: 0;
			width: 3rem; height: 3rem;
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-white-color {
			background-image: url('images/arrow-right-white.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-black-color {
			background-image: url('images/arrow-right-black.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-light-grey-color {
			background-image: url('images/arrow-right-light-grey.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-mid-grey-color {
			background-image: url('images/arrow-right-mid-grey.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-grey-color {
			background-image: url('images/arrow-right-grey.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-dark-grey-color {
			background-image: url('images/arrow-right-dark-grey.svg');
		}
		/*.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-purple-color {
			background-image: url('images/arrow-right.svg');
		}*/
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-green-color {
			background-image: url('images/arrow-right-green.svg');
		}
		.wp-block-button.is-style-arrow-no-label .wp-block-button__link.has-yellow-color {
			background-image: url('images/arrow-right-yellow.svg');
		}


	.wp-block-button.is-style-menu-hover {
	
	}
	html .wp-block-button.is-style-menu-hover .wp-block-button__link:hover,
	html .wp-block-button.is-style-menu-hover .wp-block-button__link:focus {
		transform: none;
	}


	.wp-block-button.is-style-icon {
		
	}
		.wp-block-button.is-style-icon .wp-block-button__link {
			background-color: #4b497d;
			padding: 0;
		}
			.wp-block-button.is-style-icon .wp-block-button__link img {
				display: block;
				width: 2.5rem; height: 2.5rem;
			}



/* --------------------- COLOURS --------------------- */
html .has-white-color {
	color: #FFFFFF !important;
}
	html .has-white-color a {
		color: inherit;
		/*text-decoration: underline;*/
	}
	html .has-white-color hr,
	html .has-white-color .is-style-accordion {
		border-color: currentColor;
	}
	html .has-white-color .row.is-style-gutters-lines > div:not(:last-child)::after,
	html .has-white-color .is-style-gutters-lines > div > div > .wp-block:not(:last-child)::after {
		border-color: currentColor;
	}
html .has-white-background-color {
	background-color: #FFFFFF !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-white-background-color  {
	background-color: rgba(255,255,255,.9) !important;
}
html .has-black-color {
	color: #231f20 !important;
}
html .has-black-background-color {
	background-color: #231f20 !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-black-background-color {
	background-color: rgba(35,31,32,.9) !important;
}
html .has-light-grey-color {
	color: #ebeced !important;
}
html .has-light-grey-background-color {
	background-color: #ebeced !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-light-grey-background-color {
	background-color: rgba(235,236,237,.9) !important;
}
html .has-mid-grey-color {
	color: #808285 !important;
}
html .has-mid-grey-background-color {
	background-color: #808285 !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-mid-grey-background-color {
	background-color: rgba(128,130,133,.9) !important;
}
html .has-grey-color {
	color: #6d6e71 !important;
}
html .has-grey-background-color {
	background-color: #6d6e71 !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-grey-background-color {
	background-color: rgba(109,110,113,.9) !important;
}
html .has-dark-grey-color {
	color: #58595b !important;
}
html .has-dark-grey-background-color {
	background-color: #58595b !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-dark-grey-background-color {
	background-color: rgba(88,89,91,.9) !important;
}
html .has-purple-color {
	color: #4b497d !important;
}
html .has-purple-background-color {
	background-color: #4b497d !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-purple-background-color {
	background-color: rgba(75,73,125,.9) !important;
}
html .has-green-color {
	color: #009985 !important;
}
html .has-green-background-color {
	background-color: #009985 !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-green-background-color {
	background-color: rgba(0,153,133,.9) !important;
}
html .has-yellow-color {
	color: #fbb040 !important;
}
html .has-yellow-background-color {
	background-color: #fbb040 !important;
}
.wp-block-group.is-style-overlay .is-style-text-column.has-yellow-background-color {
	background-color: rgba(251,176,64,.9) !important;
}


/* --------------------- COLUMNS --------------------- */
/*.wp-block-columns {
	margin: 0 -15px;
	text-align: initial;
}
	.wp-block-columns .wp-block-column {
		margin: 0 15px;
	}
	.wp-block-columns.nogutters .wp-block-column {
		margin: 0;
	}*/


/* --------------------- SOURCE COLUMNS --------------------- */
.wp-block-source-columns {
	
}
	.wp-block-source-column {
		background-size: cover;
	}
		.wp-block-source-column .wp-block-image,
		.wp-block-column .wp-block-image {
			margin-bottom: 0;
		}


html .is-style-no-gutters {
	margin-right: 0;
	margin-left: 0;
}
	html .is-style-no-gutters > .col,
	html .is-style-no-gutters > [class*="col-"] {
		padding-right: 0;
		padding-left: 0;
	}


/* --------------------- SOURCE COLUMN --------------------- */
html .is-style-fullheight-image {
	align-self: stretch;
}
	html .is-style-fullheight-image > div,
	html .is-style-fullheight-image .wp-block-image {
		height: 100%;
	}


/* style for a box of padded text, with option for arrow inset */
html .is-style-text-column {
	/*align-items: center;*/
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
}
/* block sitting within column */
html .wp-block-group.is-style-text-column,
.thumb-post {
	box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.1);
	justify-content: flex-start;
}
.thumb-post .is-style-text-column {
	box-shadow: none;
}
html .is-style-text-column,
html [class*="no-gutters"] > .is-style-text-column,
.wp-block-media-text__content {
	padding-top: 1.5rem; padding-bottom: 1.5rem;
	padding-right: 6vw; padding-left: 6vw;
	position: relative;
}
html .container .is-style-text-column, /* .row because only for multiple columns */
html .container .row[class*="no-gutters"] > .is-style-text-column,
.container .wp-block-media-text__content {
	padding-right: 1.5rem; padding-left: 1.5rem;
}
	html .is-style-text-column > div {
		position: relative;
		width: 100%;
		z-index: 4;
	}

.block-editor .is-style-text-column,
.block-editor .wp-block-media-text__content {
	padding: 1rem !important;
}


/* row styles */
.frontend .is-style-gutters-large,
.frontend .is-style-gutters-lines {
	margin-right: -1rem; margin-left: -1rem;
}
	.frontend .row.is-style-gutters-large > div,
	.frontend .row.is-style-gutters-lines > div/*,
	.block-editor .wp-block[data-type="source/columns"] .wp-block-source-columns.is-style-gutters-large > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="source/column"],
	.block-editor .wp-block[data-type="source/columns"] .wp-block-source-columns.is-style-gutters-lines > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="source/column"]*/ {
		padding-right: 1rem; padding-left: 1rem;
		position: relative;
	}
		.frontend .row.is-style-gutters-lines > div:not(:last-child)::before,
		.block-editor .is-style-gutters-lines > div > div > .wp-block:not(:last-child)::before {
			border-left: 1px solid #CCCCCC;
			content: '';
			display: block;
			position: absolute; top: 0; right: 0; bottom: 0;
			width: 0; height: 100%;
		}



/* --------------------- CONTAINER --------------------- */
.wp-block-source-container {
	padding-top: 0; padding-bottom: 0;
}


/* vertical spacing */
html .is-style-padded-small {
	padding-top: 1rem; padding-bottom: 1rem;
}
html .is-style-padded {
	padding-top: 2rem; padding-bottom: 2rem;
}
html .is-style-padded-large {
	padding-top: 3rem; padding-bottom: 3rem;
}




/* --------------------- FONT SIZE / PARAGRAPH --------------------- */
html .has-small-font-size,
html .has-medium-font-size,
html .has-large-font-size,
html .has-huge-font-size {
	
}
html .has-small-font-size {
	font-size: 12px !important;
}
html .has-normal-font-size {
	font-size: 17px !important;
}
html .has-medium-font-size,
.childpage h2,
.wp-block-quote,
.pagination a,
.pagination .page-numbers {
	font-size: 22px !important;
}
html .has-large-font-size { /* equiv h2 */
	font-size: 24px !important;
	line-height: 1.2;
}
html .has-large-plus-font-size { /* equiv h1 */
	font-size: 28px !important;
}
html .has-huge-font-size {
	line-height: 1.2;
}




/* --------------------- GALLERY --------------------- */
.wp-block-gallery {
	
}


/* 'flow' style */
html .wp-block-gallery.is-style-flow {
	display: block;
}
	html .wp-block-gallery.is-style-flow .blocks-gallery-grid {
		display: block;
	}
	html .wp-block-gallery.is-style-flow.columns-2 .blocks-gallery-grid {
		column-count: 2;
	}
	html .wp-block-gallery.is-style-flow.columns-3 .blocks-gallery-grid {
		column-count: 3;
	}
	html .wp-block-gallery.is-style-flow.columns-4 .blocks-gallery-grid {
		column-count: 4;
	}
	html .wp-block-gallery.is-style-flow.columns-5 .blocks-gallery-grid {
		column-count: 5;
	}
	html .wp-block-gallery.is-style-flow.columns-6 .blocks-gallery-grid {
		column-count: 6;
	}
		html .wp-block-gallery.is-style-flow .blocks-gallery-item {
			-webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid;
			display: inline-block !important;
			margin: 0 0 1rem !important;
			width: 100% !important;
		}
			html .wp-block-gallery.is-style-flow .blocks-gallery-item figure {
				display: block;
			}
				html .wp-block-gallery.is-style-flow .blocks-gallery-item figure figcaption {
					
				}


/* no gutters */
		html .wp-block-gallery.is-style-no-gutters .blocks-gallery-item {
			margin: 0;
		}



/* --------------------- GROUP --------------------- */
.wp-block-group.is-style-overlay {
	
}
.frontend .wp-block-group.is-style-overlay {
	pointer-events: none;
	position: relative;
}
	.wp-block-group.is-style-overlay .wp-block-image,
	.wp-block-group.is-style-overlay .wp-block-video {
		margin: 0;
	}

	.wp-block-group.is-style-overlay > .wp-block-group__inner-container > .wp-block-source-container {
		
	}
	.frontend .wp-block-group.is-style-overlay > .wp-block-group__inner-container > .wp-block-source-container {
		align-items: center;
		/*background: rgba(0,0,0,.3);*/
		color: #FFFFFF;
		display: flex;
		justify-content: center;
		position: absolute; top: 0; right: 0; bottom: 0; left: 0;
		transform: none;
		z-index: 50;
	}
		.wp-block-group.is-style-overlay > .wp-block-group__inner-container > .wp-block-source-container .is-style-text-column {
			
		}
	.wp-block-group.is-style-overlay a,
	.wp-block-group.is-style-overlay button,
	.wp-block-group.is-style-overlay input, .wp-block-group.is-style-overlay textarea {
		pointer-events: initial;
	}


.is-style-flex-inline {
	
}
	.is-style-flex-inline > div {
		align-items: center;
		column-gap: 2rem;
		display: flex;
		justify-content: inherit;
	}
		.is-style-flex-inline > div .wp-block-button {
			margin-bottom: 0;
		}

:not(.wp-block-spacer).is-style-brand-gradient {
	position: relative;
}
	:not(.wp-block-spacer).is-style-brand-gradient::before {
		background: rgb(251,176,64);
		background: linear-gradient(180deg, rgba(251,176,64,1) 7%, rgba(75,73,125,1) 46%, rgba(75,73,125,1) 54%, rgba(0,153,133,1) 93%);
		content: '';
		display: block;
		position: absolute; top: 0; left: 0;
		width: .6rem; height: 100%;
		z-index: 1;
	}



/* --------------------- HEADING --------------------- */
/* accordion */
.is-style-accordion {
	border-bottom: 1px solid #CCCCCC;
	margin: 0 !important;
}
	.is-style-accordion a {
		display: block;
		padding: 1rem 2rem 1rem 0;
		position: relative;
	}
		.is-style-accordion a::before,
		.block-editor .is-style-accordion::before {
			content: '+';
			display: block;
			font-size: 1rem;
			position: absolute; right: 0; top: 50%;
			transform: translateY(-50%);
		}
		.is-style-accordion.open a::before {
			content: '-';
		}
	.accordion-content {
		padding: .5rem 0 1.5rem;
	}
	.accordion-content.hidden {
		display: none;
	}
	@media print {
	.accordion-content.hidden {
		display: block;
	}
	}

.is-style-accordion-end { /* spacer option */
	height: 1rem !important;
}



/* --------------------- HORIZONTAL RULE --------------------- */
hr,
.wp-block-separator { 
	border: 0;
	border-bottom: 1px solid currentColor;
	margin: 1rem 0;
	opacity: .25;
	max-width: none !important;
}
.wp-block-separator:first-child,
.wp-block-spacer + .wp-block-separator {
	margin-top: 0;
}
.wp-block-separator:last-child {
	margin-bottom: 0;
}
.wp-block-separator:not([class*="m-"]) + .wp-block-spacer {
	margin-top: -1rem;
}



/* --------------------- INLINE IMAGE --------------------- */
p img {
	height: auto;
}



/* --------------------- IMAGE --------------------- */
.wp-block-image {
	margin: 0;
	position: relative;
}
.wp-block-image:not(.is-style-graphic) img {
	object-fit: cover;
	transition: transform 3s ease;
}
	.wp-block-image a,
	.wp-block-image img {
		display: inline;
		position: relative;
		height: auto;
		z-index: 1;
	}
	.wp-block-image a {
		display: block;
		overflow: hidden;
	}
	.wp-block-image:not(.is-resized) img {
		display: block;
		width: 100%;
	}
	.wp-block-image figcaption {
		text-align: initial;
	}

	.wp-block-image:not(.is-style-graphic) > a:hover img,
	.wp-block-image:not(.is-style-graphic) > a:focus img { /* slow zoom on hover */
		transform: scale(1.1);
	}


.wp-block-image.is-style-icon {
	margin: 0 0 1rem;
}
	.wp-block-image.is-style-icon img {
		display: block;
		object-fit: contain;
		margin-right: auto; margin-left: auto;
		width: auto; max-width: 66.66%; height: 250px;
	}


/* force image aspect ratios */
.frontend .wp-block-image:not(.is-style-graphic) img {
	max-height: calc(100vh - 250px);
}
.frontend .size-banner img {
	min-height: 400px; max-height: 60vh;
}
.frontend .size-landscape img {
	aspect-ratio: 1 / .714;
}
.frontend .size-square img {
	aspect-ratio: 1 / 1;
}
.frontend .size-portrait img {
	aspect-ratio: .714 / 1;
}



/* --------------------- PARAGRAPH --------------------- */
/*.is-style-label {
	font-size: 1rem;
	text-transform: uppercase;
}*/

.is-style-hide-link a,
a.is-style-hide-link {
	color: inherit !important;
	text-decoration: inherit !important;
}

.is-style-corner-label {
	background: #515283;
	color: #FFFFFF;
	font-size: .7rem;
	font-weight: 700;
	padding: calc(.3rem + 2px) 1rem !important;
	position: absolute; top: 0; left: 0;
	text-transform: uppercase;
	z-index: 11;
}
	.is-style-corner-label a {
		color: inherit;
		text-decoration: none;
	}



/* --------------------- QUOTE --------------------- */
.wp-block-quote {
	margin: 0;
}
	.wp-block-quote p:last-of-type {
		margin-bottom: 0;
	}
	.wp-block-quote cite {
		font-size: 1rem;
		font-style: normal;
		font-weight: bold;
	}



/* --------------------- SOCIAL LINKS --------------------- */
html .wp-block-social-links {
	margin: 0;
}

html .frontend .wp-block-social-links.is-style-logos-only {
	
}
	html .wp-block-social-links.is-style-logos-only .wp-social-link {
		display: inline-block;
		padding: 0;
		width: auto; height: auto;
	}
		html .wp-block-social-links.is-style-logos-only .wp-social-link a {
			color: inherit !important;
			padding: 0;
		}
	html .wp-block-social-links.is-style-logos-only .wp-social-link svg {
		width: 2rem; height: 2rem;
	}



/* --------------------- SPACER --------------------- */
.wp-block-spacer.is-style-small,
.wp-block-spacer.is-style-smaller {
	height: 1rem !important;
}
.wp-block-spacer.is-style-medium {
	height: 2rem !important;
}
.wp-block-spacer.is-style-large {
	height: 3rem !important;
}

.mt-small { margin-top: 1rem !important; }
.me-small { margin-right: 1rem !important; }
.mb-small { margin-bottom: 1rem !important; }
.ms-small { margin-left: 1rem !important; }
.mt-medium { margin-top: 2rem !important; }
.me-medium { margin-right: 2rem !important; }
.mb-medium { margin-bottom: 2rem !important; }
.ms-medium { margin-left: 2rem !important; }
.mt-large { margin-top: 3rem !important; }
.me-large { margin-right: 3rem !important; }
.mb-large { margin-bottom: 3rem !important; }
.ms-large { margin-left: 3rem !important; }

.wp-block-spacer.is-style-brand-gradient {
	background: rgb(251,176,64);
	background: linear-gradient(90deg, rgba(251,176,64,1) 7%, rgba(75,73,125,1) 46%, rgba(75,73,125,1) 54%, rgba(0,153,133,1) 93%);
	height: 1.5rem !important;
}



/* --------------------- TABLE --------------------- */
.wp-block-table {
	border: 0;
	border-collapse: collapse;
	margin: 0 0 1rem;
}
	.wp-block-table table {
		
	}
		.wp-block-table tr {
			
		}
			.wp-block-table tr th,
			.wp-block-table tr td {
				padding: .2rem .4rem;
				text-align: left;
			}
			.wp-block-table tr:first-child > th,
			.wp-block-table tr:first-child > td {
				
			}
			.wp-block-table th {
				background: rgba(0,0,0,1);
				color: #FFFFFF;
				border: 1px solid #FFFFFF;
				font-weight: inherit;
			}
			.wp-block-table td {
				border: 1px solid #cccccc;
			}

/* invisible */
.wp-block-table.is-style-no-borders {
	border: 0;
}
.wp-block-table.is-style-no-borders th,
.wp-block-table.is-style-no-borders td {
	background: none;
	border: none;
	padding: 0;
}



/* --------------------- VIDEO --------------------- */
.wp-block-video {
	
}
	.wp-block-video video {
		display: block;
	}



/* --------------------- OTHER STYLES --------------------- */

/* wordpress embed */
.wp-block-embed-wordpress {
	margin: 0;
}
	.wp-block-embed-wordpress .wp-block-embed__wrapper {
		
	}
	.wp-block-embed-wordpress .wp-block-embed__wrapper > blockquote {
		display: none;
	}
		.wp-block-embed-wordpress iframe.wp-embedded-content {
			position: relative !important;
			width: 100%; height: 50vw; max-height: 60vh;
		}

/* embeds (video, other) */
.wp-has-aspect-ratio iframe {
	display: block;
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	width: 100%; height: 100%;
}
	.wp-has-aspect-ratio .wp-block-embed__wrapper::before {
		content: '';
		display: block;
		width: 100%;
	}
	.wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
		padding-top: 75%;
	}
	.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
		padding-top: 56.25%;
	}



/* video links */
.wp-block-image a[href*="youtu"],
.wp-block-image a[href*="vimeo"],
a.video-link {
	display: block;
	overflow: hidden;
	position: relative;
}
	.wp-block-image a[href*="youtu"] img,
	.wp-block-image a[href*="vimeo"] img,
	a.video-link img {
		
	}
	.wp-block-image a[href*="youtu"]::after,
	.wp-block-image a[href*="vimeo"]::after,
	a.video-link::after {
		background: url('images/play.svg') center/100% auto no-repeat transparent;
		content: '';
		display: block;
		position: absolute; top: 0; left: 50%;
		transform: translateX(-50%);
		transition: all .3s ease;
		width: 20%; max-width: 8rem; height: 100%;
		z-index: 2;
	}
	.wp-block-image a[href*="youtu"]:hover::after,
	.wp-block-image a[href*="youtu"]:focus::after,
	.wp-block-image a[href*="vimeo"]:hover::after,
	.wp-block-image a[href*="vimeo"]:focus::after,
	a.video-link:hover::after,
	a.video-link:focus::after {
		transform: translateX(-50%) scale(1.1);
	}




/* narrow */
.is-style-narrow > div,
p.is-style-narrow,
.wp-block-group.is-style-narrow {
	margin-right: auto; margin-left: auto;
	max-width: 800px;
}


/* list menu */
.is-style-list-menu {
	list-style-type: none;
	font-weight: 700;
	padding: 0;
	text-transform: uppercase;
}
	.is-style-list-menu li {
		margin-bottom: 0;
	}
		.is-style-list-menu li a {
			color: inherit;
		}
		.is-style-list-menu li a:hover,
		.is-style-list-menu li a:focus,
		.is-style-list-menu li.active a {
			color: #009985;
		}
		.has-green-color .is-style-list-menu li a:hover,
		.has-green-color .is-style-list-menu li a:focus,
		.has-green-color .is-style-list-menu li.active a {
			color: inherit;
			text-decoration: underline;
		}




/* ----------------------------------------------------------------------
   --------------------------- BREAKPOINTS ------------------------------ 
   ---------------------------------------------------------------------- */


/* smartphones, touchscreens (devices with no hover state and 'coarse' i.e. finger-based cursor position) */
@media (hover: none) and (pointer: coarse) {



}



/* 
@media (max-width: 575.98px) { ... } xs
@media (max-width: 767.98px) { ... } sm
@media (max-width: 991.98px) { ... } md
@media (max-width: 1199.98px) { ... } lg
larger xl
*/


/* xs and sm only */
@media only screen and (max-width: 767.98px) {

html .wp-block-button .wp-block-button__link,
html .frontend input[type="submit"],
html .frontend input[type="button"],
html .frontend button[type="submit"],
html .frontend form button,
.pagination a,
.pagination .page-numbers {
	padding: calc(.3rem + 2px) .5rem;
}

html .is-style-text-column,
.wp-block-media-text__content {
	padding-right: 15px !important; padding-left: 15px !important; /* to match .container padding */
}



}


/* sm (small) + */
@media only screen and (min-width: 575.98px) {




}


/* md (medium) + */
@media only screen and (min-width: 767.98px) {

/* --------------------- FONT SIZE --------------------- */
html .has-small-font-size,
html .has-medium-font-size,
html .has-large-font-size,
html .has-huge-font-size {
	
}
html .has-small-font-size {
	font-size: 12px !important;
}
html .has-normal-font-size {
	font-size: 17px !important;
}
html .has-medium-font-size,
.childpage h2,
.wp-block-quote,
.pagination a,
.pagination .page-numbers {
	font-size: 22px !important;
}
html .has-large-font-size { /* equiv h2 */
	font-size: 24px !important;
}
html .has-large-plus-font-size { /* equiv h1 */
	font-size: 28px !important;
}


/* --------------------- SPACER --------------------- */
.wp-block-spacer.is-style-smaller {
	height: 1.5rem !important;
}
.wp-block-spacer.is-style-small {
	height: 2rem !important;
}
.wp-block-spacer.is-style-medium {
	height: 4rem !important;
}
.wp-block-spacer.is-style-large {
	height: 7rem !important;
}
.mt-small { margin-top: 2rem !important; }
.me-small { margin-right: 2rem !important; }
.mb-small { margin-bottom: 2rem !important; }
.ms-small { margin-left: 2rem !important; }
.mt-medium { margin-top: 4rem !important; }
.me-medium { margin-right: 4rem !important; }
.mb-medium { margin-bottom: 4rem !important; }
.ms-medium { margin-left: 4rem !important; }
.mt-large { margin-top: 7rem !important; }
.me-large { margin-right: 7rem !important; }
.mb-large { margin-bottom: 7rem !important; }
.ms-large { margin-left: 7rem !important; }


/* row styles */
.frontend .row.is-style-gutters-large,
.frontend .row.is-style-gutters-lines,
.frontend .row.is-style-gutters-md-lines {
	margin-right: -2rem; margin-left: -2rem;
}
	.frontend .row.is-style-gutters-large > div,
	.frontend .row.is-style-gutters-lines > div,
	.frontend .row.is-style-gutters-md-lines > div/*,
	.block-editor .wp-block[data-type="source/columns"] .wp-block-source-columns.is-style-gutters-large > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="source/column"],
	.block-editor .wp-block[data-type="source/columns"] .wp-block-source-columns.is-style-gutters-lines > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="source/column"],
	.block-editor .wp-block[data-type="source/columns"] .wp-block-source-columns.is-style-gutters-md-lines > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="source/column"]*/ {
		padding-right: 2rem; padding-left: 2rem;
		position: relative; 
	}
		.frontend .row.is-style-gutters-md-lines > div:not(:last-child)::before,
		.block-editor .is-style-gutters-lines > div > div > .wp-block:not(:last-child)::before,
		.block-editor .is-style-gutters-md-lines > div > div > .wp-block:not(:last-child)::before {
			border-left: 1px solid #CCCCCC;
			content: '';
			display: block;
			position: absolute; top: 0; right: 0; bottom: 0;
			width: 0; height: 100%;
		}




/* vertical spacing */
html .is-style-padded-small {
	padding-top: 2rem; padding-bottom: 2rem;
}
html .is-style-padded {
	padding-top: 4rem; padding-bottom: 4rem;
}
html .is-style-padded-large {
	padding-top: 7rem; padding-bottom: 7rem;
}



}


/* lg (large) + */
@media only screen and (min-width: 991.98px) {




}


/* xl (extra large) + */
@media only screen and (min-width: 1199.98px) {




}



/* xxl (extra extra large) + */
@media only screen and (min-width: 1699.98px) and (min-height: 799.98px) {




}




/* --------------------- EDITOR STYLES --------------------- */
.block-editor .wp-block-heading {
	/* font-family: */
}
.block-editor .editor-post-title__block .editor-post-title__input,
html .block-editor .editor-styles-wrapper {
	/* font-family: */
}
.block-editor .wp-block { /* make blocks slightly visible, massively helpful */
	background-color: rgba(100,100,100,.03);
}
.block-editor .wp-block:not([data-align=full]),
html :where(.wp-block) {
	max-width: 1200px;
}
.block-editor .wp-block-source-container:not(.full-width) > div {
	margin-right: auto; margin-left: auto;
	padding-right: 3rem; padding-left: 3rem;
}
.wp-block-spacer[class*="is-style-"] .components-resizable-box__container { /* limit handle on styled spacers */
	max-height: 100%;
}



.frontend .is-style-brand-curve > div {
	display: grid;
	grid-template: "box";
	mask: url('images/curve-mask.svg');
	mask-repeat: no-repeat;
	mask-position: bottom;
	mask-size: cover;

	> * {
		grid-area: box;
	}

	.wp-block-source-container {
		z-index: 10;
		place-content: center;
	}

	&::after {
		content: '';
		z-index: 10;
		grid-area: box;
		background: url('images/curve.svg') no-repeat bottom;
		background-size: 100%;
	}
}

.no-gap {
	gap: 0;
}

.fill-me img {
	height: 100%;
	object-fit: cover;
}

figure.alignright {
	margin-left: auto;
}

.full-height {
	height: 100%;
}

.wp-block-cover.bottom {
	align-items: flex-end;
}

.wp-block-cover.top {
	align-items: flex-start;
}

.no-bottom {
	margin-bottom: 0;
}

.frontend .is-style-padded-all {
	padding: 2rem;
}

@media (max-width: 768px) {
	.two-mob {
		grid-template-columns: 1fr 1fr !important;
	}

	.one-mob {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 500px) {
	.fourxfour {
		grid-template-columns: 1fr !important;

		> div + div {
			order: 1;
		}
	}
}

.frontend .is-style-brand-curve figure {
	position: relative;

	&::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0));
		z-index: 10;
	}
}

.wp-block-button:not(.is-style-arrow-no-label) a {
	border-radius: 20px !important;
	background-size: auto 1.2em !important;
	background-repeat: no-repeat !important;
	background-position: right 1em center !important;
	background-image: url('images/circle-chevron-right-light.svg') !important;
	padding-right: 2.5em !important;
	background-color: #4D4D4C;
}

.wp-block-button.is-style-arrow-underline a {
	color: #4D4D4C;
	background-color: transparent !important;
	background-image: url('images/circle-chevron-right-dark.svg') !important;
	text-decoration: underline;
	text-underline-offset: 8px;
}

.fourxfour img {
	height: 100%;
	max-height: none !important;
}

.wp-block-button a.has-white-background-color {
	color: black;
	background-image: none !important;
	padding-right: 1rem !important;
}

#menu-main-menu {
	border-bottom: 1px solid white;
	padding-bottom: 1rem;
	display: inline-block;
}

.hover-dim:hover .has-background-dim {
	opacity: 0.7 !important;
}

.hover-dim .has-background-dim {
	transition: opacity 0.5s !important;
}

.is-style-brand-curve .wp-block-spacer {
	height: clamp(10px, 1vw, 100px) !important;
}

html .has-huge-font-size {
	font-size: clamp(5px, 4vw, 53px);
}
html .has-normal-font-size {
	font-size: clamp(10px, 4vw, 17px) !important;
}

.gated-download .gform_button {
	border-radius: 20px !important;
	background-color: #009985 !important;
}