/**
	@Author:	Spi-des-ign
	@Date:		11 Dec 2025
	@Notes:		Andrew Bingham
		
	FONTS & COLORS
	-------------
	light blue: #edf8ff;
	med blue: 	#dbeaf2;
	dark blue:	#1f3c83;
	
	font-family: 'Source Sans Pro', sans-serif;
	available weight: 100, 300, 400, 600, 400italic, 600italic
*/

@import url("font-awesome.min.css");
:root {
	--display-font: essonnes-display, serif;
	--body-font: open-sans, sans-serif;
	
	--display-regular: 400;
	--display-bold: 700;
	--body-light: 300;
	--body-regular: 400;
	--body-bold: 700;
			
	/* --accent: #ef6700; */	
	--brand-blue: #193060;
	/* --brand-blue: #1F3F85; */
	--text-grey: #606060;
	
	--slate: #5A7086;
	--sage: #7D8C80;
	--mauve: #8C7D84;
	--stone: #9E9272;
	--linen: #F7F1F0;
	
	--slate: #193060;
	--sage: #193060;
	--mauve: #193060;
	--stone: #193060;
	--linen: #193060;
	
	--grey: #cfcfcf;
	--grey-1: #EBEBEB;
	--grey-2: #f7f7f7;

	--mid-grey: #252525;
	--dark-grey: #505050;
	--white: #ffffff;	
	--black: #000000;
	
	--bg-tint: #F7F1F0;
	
	--section-pad-large: 7em;
	--section-pad-medium: 5em;
	--section-pad-small: 3em;
	--section-pad-x-small: 1.5em;
	
	--header-height: 220px;
	
    --inner: 1260px; /* 1320 */
    --inner-narrow: 1140px;
    --inner-large: 1150px;
    --inner-wide: 1500px;
    --inner-very-wide: 1970px;
    --inner-full: 100%;
    
    /* new */
    --inner-single: 1000px;
    
    --offset: 60px;
    
    /*--section-default-padding: 70px 0;
    --section-mobile-padding: 40px 0;*/
	}
/**
 * Reset stylesheet to normalize styles across browsers
 */
/* ----- [ Reset ] ----- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,label,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
	}
table { 
	border-collapse:collapse; 
	border-spacing:0; 
	}
fieldset,img {  
	border:0; 
	}
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
	}
ol,ul,li { 
	list-style:none; 
	margin: 0;
	padding: 0;
	}
caption,th { 
	text-align:left; 
	} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
	} 
q:before,q:after { 
	content:''; 
	} 
abbr,acronym { 
	border:0; 
	} 
a {
	text-decoration: none;
	}
img {
	display: block;
	vertical-align: middle;
	max-width: 100%;
	}

* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
	box-sizing: border-box;
	}

html {
	font-size: 100%;
	height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 150px;
	}
body {
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	font-size: 16px;
	line-height: 1.3;
	background: #ffffff;
	}

body, input, textarea, table {
	font-family: var(--body-font);
	font-weight: var(--body-light);
	font-style: normal;
	color: var(--text-grey);
	}

/* ----- [ Typography ] -------------------------*/
p,
li,
td {
	font-family: var(--body-font);
	font-weight: var(--body-regular);
	font-style: normal;
	font-optical-sizing: auto;
	font-size: 1.2rem;
	line-height: 1.7em;
	letter-spacing: 0.03em;
	margin: 0 0 1em;
	color: var(--text-grey);
	}
	
ul {
	margin: 1em 0;
	}

li {
	margin: 0;
	}
em {
	font-style: italic;
	}
strong, b {
	font-weight: 700;
	}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	}

a { 
	color: inherit;
	text-decoration: underline;
	}

a:hover {
	color: var(--brand-blue);
	/*text-decoration: underline;*/
	}
a:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
	}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--display-font);
	font-weight: var(--display-medium);
	font-style: normal;
	color: var(--brand-blue);
	line-height: 1.1;
	margin: 0 0 0.5;
	padding: 0;
	}

h1,.h1 {
	font-size: 2.6rem;
	font-size: clamp(2.6rem, 2.2666rem + 1.6666vw, 3.1rem);
	line-height: 1.2;
	letter-spacing: 0;
	margin: 0 0 0.8em;
	width: 100%;
	text-wrap: balance;
	}
	
.hero h1,
.hero .h1 {
	font-size: 3.2rem;
	font-size: clamp(3.2rem, 2.4608695rem + 3.47826086vw, 4.2rem);
	line-height: 1.1;
	margin: 0 0 0.5em;
	color: var(--white);
	}

h2,.h2 {
	font-size: 3.1rem;
	font-size: 2.6rem;
	font-size: clamp(2.6rem, 2.230434rem + 1.73913vw, 3.1rem);
	line-height: 1.1;
	margin: 0 0 1em;
	break-inside: avoid-column;
	break-after: avoid;
	}
.cms-text h2,
.cms-text .h2 {
	margin-bottom: 0.5em;
	}
	
h3,.h3 { 
	font-size: 2.5rem;
	line-height: 1.1;
	margin: 0 0 0.35em;
	break-inside: avoid-column;
	break-after: avoid-column;
	}
h3 + p {
	break-before: avoid-column;
	}

h4,.h4 { 
	font-family: var(--body-font);
	font-weight: var(--body-bold);
	font-size: 1.75rem;
	line-height: 1.6;
	margin: 0 0 0.2em;
	color: var(--dark-grey);
	}
	
h5,.h5 { 
	font-family: var(--body-font);
	font-weight: var(--body-bold);
	font-size: 1.45rem;
	line-height: 1.6;
	margin: 0 0 0.2em;
	color: var(--dark-grey)
	}

h6,.h6 { 
	font-family: var(--body-font);
	font-weight: var(--body-bold);
	font-size: 1.1rem;
	line-height: 1.6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
	}

p + h2,
p + .h2,
ul + h2,
ul + .h2 {
	margin-top: 1em;
	}
hr + h2,
hr + .h2 {
	margin-top: 0.5em;
	}
p + h3,
p + .h3,
ul + h3,
ul + .h3 {
	margin-top: 0.85em;
	}

/* ----- [ Images ] -----*/
figure {
	margin: 0;
	}
img {
	vertical-align: middle;
	}
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
	}


/* ----- [ Structure ] -----------------*/
.page-wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	min-height: 100%;
	min-height: 100vh;
	padding-top: 0;
	/*z-index: 2;*/
	/*overflow: hidden;*/
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	}

.page-overlay {
	position: fixed;
	top: 0;
	left: 0;
	min-height: 100%;
	height: 100%;
	width: 100%;
	visibility: hidden;
	background: var(--grey1);
	z-index: 600;
	opacity: 0;
	overflow-y: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	padding-top: 120px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	}
.page-overlay.is-open {
	position: fixed;
	opacity: 1;
	visibility: visible;
	overflow-y: auto;
	}

@media screen and (min-width: 750px) {
	.page-overlay {
		align-items: center;
		padding: 0.9;
		}
}

/* ----- [ Structure ] -----------------*/
section,
.page-header,
.page-footer {
	width: 100%;
	margin: 0;
	position: relative;
	}
section {
	margin: 0;
	padding: var(--section-pad-small) 0;
	position: relative;
	}

.inner {
	max-width: calc(var(--inner) + 32px);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	}
	
.inner-single {
	max-width: var(--inner-single);
	}
.inner-narrow {
	max-width: var(--inner-narrow);
	}
.inner-large {
	max-width: var(--inner-large);
	}
.inner-wide {
	max-width: var(--inner-wide);
	}
	
.inner-full {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 !important;
	}

@media screen and (min-width: 200px) {
	.flex-inner,
	.flex-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		position: relative;
		max-width: 100%;
		height: 100%;
		padding: 0 20px;
		padding: 0;
		}
}
@media screen and (min-width: 450px) { 
	.inner {
		padding: 0 30px;
		}
}
@media screen and (min-width: 974px) {
	.flex-inner,
	.flex-row {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
		column-gap: 2em;
		}
	.col-1-of-2 {
		flex: 1 1 390px;
		}
	.col-1-of-3 {
		flex: 1 1 280px;
		}
}

			/* ----- [ Strandoo Simple Grid System v2 ] --------------- */
			.row {
				margin: 0 -10px;
				/*font-size: 0;*/
				}

			.row > .col {
				width: 100%;
				/* display: inline-block; --see below */
				float: left;
				vertical-align: top;
				padding: 0 10px;
				/*font-size: 18px;*/
				text-align: left;
				}
	
			.row > .col.centered {
				text-align: center;
				}

			.row.inline > .col {
				display: inline-block;
				float: none;
				}

			.no-padding {
				margin: 0;
				}
			.no-padding > .col {
				padding: 0;
				}

			.padding-20 {
				margin: 0 -20px;
				}
			.padding-30 {
				margin: 0 -30px;
				}
			.padding-20 > .col {
				padding: 0 20px;
				}
			.padding-30 > .col {
				padding: 0 30px;
				}


			img.full {
				width: 100%;
				}
			img.half {
				width: 50%;
				float: left;
				}
			img.inline-img,
			img.inline {
				max-width: 100%;
				display: inline-block;
				margin: 0 10px;
				}
			.inline > li {
				display: inline-block;
				vertical-align: top;
				}

			@media only screen and (min-width: 600px) {	
				.row-2 > .col,
				.row-3 > .col,
				.row-4 > .col { width: 50%; }
				.row-3 > .col { width: 33.333%; }
				/* .row-4 > .col { width: 25%;} */

				.row-2 .span-2 { width: 100%; }
				.row-3 .span-2 { width: 66.666%; }
				.row-4 .span-2 { width: 50%; }
				.row-4 .span-3 { width: 75%; }
			}
			@media only screen and (min-width: 768px) { 
				/*header { border-bottom: 5px solid blue; }*/
				.row-2 > .col { width: 50%; }
				.row-3 > .col { width: 33.333%; }
				.row-4 > .col { width: 25%; }
				.row-4 > .col { width: 24%; }

				.row-2 .span-2 { width: 100%; }
				.row-3 .span-2 { width: 66.666%; }
				.row-4 .span-2 { width: 50%; }
				.row-4 .span-3 { width: 75%; }	
			}


/* ----- [ Page Header/Navigation ] -----------------*/
.page-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	z-index: 999;
	background: #fff;
	/*color: #fff;
	background: var(--brand-blue);*/
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	}
	
.home-page .page-header {
	position: fixed;
	background: rgba(255,255,255,0.25);
	background: #fff;
	}
	
.page-header .inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	/* justify-content: flex-start; */
	align-items: center;
	width: 100%;
	max-width: var(--inner-very-wide);
	margin: 0 auto;
	padding: 10px 15px;
	overflow: visible;
	}
.branding {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 2em;
	}
.branding p {
	margin: 0;
	}
.branding > div {
	flex: 1;
	}

.head-email,
.head-phone,
.page-header-left,
.page-header-right {
	color: var(--brand-blue);
	font-size: 1.1rem;
	font-weight: var(--body-regular);
	padding: 0 1em;
	display: none;
	}
/*	
.head-email,
.page-header-right {
	text-align: right;
	margin: 0 0 0 auto;
	display: none;
	}
.page-header-right p {
	margin: 0 0 0 auto;
	text-align: right;
	}
*/

.head-phone span {
	font-size: 1.5rem;
	}
.head-email a,
.head-phone a,
.page-header-right {
	text-decoration: none;
	}

.logo-wrapper {
	display: block;
	height: auto;
	max-width: 60%; 
	margin: 10px auto;
	text-decoration: none;  
	border: none;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}
.nav-wrapper {
	align-items: center;
	width: 100%;
	/*background: var(--pale-grey);*/
	border-top: 2px solid var(--brand-blue);
	border: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0;
	overflow: hidden;
	padding: 20px 5% 100px;
	/*color: var(--white);
	background: var(--brand-blue); */
	background: var(--white);
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	visibility: hidden;
	opacity: 0;
	}
	
.nav-wrapper.is-open {
	left: 0;
	height: 100vh;
	overflow: auto;
	visibility: visible;
	opacity: 1;
	}

.nav-list {
	white-space: nowrap;
	margin: 0 auto 6em;
	}
	
.menu-item {
	margin: 0.6em 1em;
	}
.menu-link {
	font-size: 1.1rem;
	line-height: 1.1;
	font-weight: var(--body-regular);
	padding: 0;
	text-decoration: none;
	letter-spacing: 0.05em;
	font-size: 1.6rem;
	border: none;
	letter-spacing: 0;
	text-transform: none;
	text-wrap: wrap;
	}
.menu-link:hover,
.menu-link:active,
.menu-link.on {
	text-decoration: none;
	border-bottom: 1px solid var(--brand-blue);
	/*border-bottom: 4px solid var(--brand-dark);*/
	color: var(--brand-blue);
	}
	
.dropnav {
	display: none;
	max-height: 0;
	overflow: hidden;
	}

.page-header.is-small {
	background: rgba(255,255,255,1);
	}
.is-small .logo-wrapper {
	max-width: 220px;
	margin: 5px auto;
	}
	
.has-children:after {
	content: "\f0da";
	font-family: fontawesome;
	margin-left: 0.4em;
	}
.has-children.submenu-open:after {
	content: "\f0d7";
	font-family: fontawesome;
	margin-left: 0.4em;
	}
.submenu-open + .dropnav {
	display: block;
	max-height: 1000px;
	}
@media screen and (min-width: 390px) {
	.logo-wrapper {
		max-width: 280px;
		}
}
@media screen and (min-width: 920px) {
	.is-fixed .nav-wrapper {
		width: auto;
		margin-left: 50%;
		}
		
	.page-header-right,
	.page-header-left {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		}
	.page-header-right {
		flex-direction: row-reverse;
		}
	.page-header-right img {
		display: none;
		}
}
@media screen and (min-width: 1350px) {
	.page-header-right,
	.page-header-left {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		}
	.page-header-right {
		flex-direction: row-reverse;
		}
	.page-header-right img {
		display: block;
		}
}

@media screen and (min-width: 1350px) {
	.page-wrapper {
		overflow: visible;
		}
	.is-scrolled .logo-wrapper {
		max-width: 120px;
		margin: 6px auto;
		}
	.nav-list {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		white-space: nowrap;
		margin: 0;
		}
		
	.nav-wrapper {
		position: relative;
		height: auto;
		padding: 0;
		color: unset;
		background: var(--brand-blue);
		visibility: visible;
		opacity: 1;
		overflow: visible;
		left: 0;
		}
}

@media screen and (min-width: 1350px) {
	.page-header {
		color: var(--brand-blue);
		background: #fff;
		}
	.page-header .inner {
		/* align-items: flex-end; */
		}
		
	.nav-wrapper {
		border-top: 5px solid var(--brand-blue);
		border-bottom: 5px solid var(--brand-blue);
		}
	
	.main-navigation {
		display: flex;
		flex-direction: row;
		position: relative;
		justify-content: flex-start;
		align-items: center;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		background-color: transparent;
		overflow: visible;
		flex-basis: 34%;
		opacity: 1;
		z-index: 1;
		}

	.menu-item {
		position: relative;
		margin: 0;
		white-space: wrap;
		line-height: 1.1;
		text-align: center;
		}

	.menu-link {
		color: #fff;
		color: rgba(255,255,255,0.8);
		display: inline-block;
		font-size: 1.1rem;
		line-height: 1.1;
		font-weight: var(--body-regular);
		margin: 0;
		padding: 0.4em 1.1em;
		text-decoration: none;
		letter-spacing: 0.03em;
		border-bottom: none;
		-webkit-transition: all 0.15s ease;
		-moz-transition: all 0.15s ease;
		-o-transition: all 0.15s ease;
		transition: all 0.15s ease;
		border-left: 1px solid rgba(255,255,255,0.5);
		}
	.menu-item:first-child .menu-link {
		border-left: none;
		}

	.menu-link:hover,
	.menu-link.on {
		text-decoration: none;
		border-bottom: none;
		/*border-bottom: 4px solid var(--brand-dark);*/
		color: #fff;
		color: rgba(255,255,255,1);
		background: var(--brand-blue);
		}
	.dropnav {

		}
	.dropnav {		
		display: block;
		position: absolute;
		width: auto;
		max-height: unset;
		top: 140%;
		left: 0;
		text-align: left;
		background: var(--brand-blue);
		z-index: 9999;
		visibility: hidden;
		opacity: 0;
		padding: 5px;
		box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.35);
		white-space: nowrap;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: translateX(0px);
		-o-transform: none;
		transform: none;
		-webkit-transition: all .3s ease;
		-moz-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		
		}
	.menu-item:hover .dropnav {
		top: 120%;
		visibility: visible;
		opacity: 1;
		background: var(--slate);
		background: #304a82;
		}
	/*
	.dropnav:before {
		content: "";
		position: absolute;
		top: -28px;
		left: 80px;
		height: 0;
		width: 0;
		border: 15px solid transparent;
		border-bottom: 15px solid #fff;
		}
	*/
		
	.dropnav ul,
	.nav-services,
	.nav-personalise-a-funeral {
		margin: 0;
		}
		
	.nav-services,
	.nav-personalise-a-funeral {
		columns: 2;
		column-gap: 2em;
		}
		
	.dropnav li {
		display: block;
		text-align: left;
		margin: 0;
		padding: 0;
		}

	.dropnav .menu-link {
		border: none;
		padding: 0.6em 1.5em 0.6em 1em;
		
		}
	.dropnav .menu-link:hover,
	.dropnav .menu-ilink.on {
		color: #fff;
		text-decoration: underline;
		}
	.dropnav .menu-link {
		color: #fff;
		background: none;
		white-space: nowrap;
		}
		
	.dropnav .traditional { background: var(--slate); }
	.dropnav .country { background: var(--stone); }
	.dropnav .attended-direct { background: var(--mauve); }
	.dropnav .direct { background: var(--sage); }
	/*
	.main-navigation .level-2 {
		margin: 0;
		}
	.main-navigation .level-2 ul {
		margin: 0 0 0.2em;
		}
	.main-navigation .level-3 .menu-item {
		font-weight: var(--body-lignt);
		font-size: 1rem;
		margin-left: 1em;
		}
	*/
		
	.submenu-toggle {
		position: relative;
		top: -1px;
		z-index: 2;
		display: inline-block;
		height: 12px;
		line-height: 12px;
		font-size: 12px;
		}

	.submenu-toggle:before {
		content: '\f107';
		font-family: 'FontAwesome', sans-serif;
		}
}

/* ----- [ Menu Trigger (Hamburger) ] ---- */
.menu-toggle {
	position: absolute;
	right: 1em;
	display: block;
	background: transparent;
	width: 44px;
	height: 44px;
	cursor: pointer;
	}
.menu-toggle a {
	display: none;
	}
.menu-toggle .menu-icon {
	/* this span is the central line in the menu menu */
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 26px;
	height: 2px;
	background-color: #fff;
	/* these are the upper and lower lines in the menu menu */
	}
.menu-toggle .menu-icon::before, 
.menu-toggle .menu-icon:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: inherit;
	left: 0;
	}
.menu-toggle .menu-icon::before {
	bottom: 8px;
	}
.menu-toggle .menu-icon::after {
	top: 8px;
	}
.menu-toggle.is-clicked .menu-icon {
	background-color: rgba(255, 255, 255, 0);
	}
.menu-toggle.is-clicked .menu-icon::before, 
.menu-toggle.is-clicked .menu-icon::after {
	background-color: #fff;
	}
.menu-toggle.is-clicked .menu-icon::before {
	bottom: 0;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	}
.menu-toggle.is-clicked .menu-icon::after {
	top: 0;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	}

/* was prefaced by 'is-small' class */	
.menu-toggle .menu-icon {
	background-color: #222;
	}
.menu-toggle.is-clicked .menu-icon {
	background-color: rgba(255, 255, 255, 0);
	}
.menu-toggle.is-clicked .menu-icon::before, 
.menu-toggle.is-clicked .menu-icon::after {
	background-color: #222;
	}

@media screen and (min-width: 1350px) {
	.menu-toggle {
		display: none;
		}
	.menu-toggle .menu-text {
		display: inline-block;
		line-height: 70px;
		}
	.menu-toggle .menu-icon {
		left: auto;
		right: 1.25em;
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
		transform: translateX(0);
		}
}



/* ----- part of pages? ------ */
.cd-main-content {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	/*
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	*/
	}

/* ----- [ Home Hero ] --------------- */
.home-hero {
	position: relative;
	margin: 0 auto;
	padding: 0;
	height: auto;
	height: 95vh;
	min-height: 700px;
	z-index: 1;
	}

.home-hero .hero-overlay {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	background: rgba(0, 0, 0, 0.3);
	}
	
/* Fancy Hero */
.home-hero-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: var(--inner-wide);
	padding: 3% 0;
	margin: 0 auto;
	display: flex;
	/* adjustable */
	justify-content: flex-start;
	align-items: center;
	}
.home-hero-content {
	max-width: 42em;
	padding: 2em;
	padding-top: 4em;
	padding-bottom: 1em;
	/*min-width: 600px;*/
	}
.home-hero-content h1,
.home-hero-content h2 {
	color: var(--white);
	font-size: 3.6rem;
	font-size: clamp(3.6rem, 2.07rem + 7.22vw, 5.4rem);
	font-weight: var(--display-medium);
	line-height: 1;
	margin-bottom: 0.2em;
	}
.home-hero-content p {
	color: var(--white);
	}
.home-hero-badge {
	position: absolute;
	top: 25%; 
	right: 7%;
	top: 18%;
	right: 3%;
	width: 180px;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background: var(--white);
	border: 4px solid var(--brand-blue);
	padding: 15px;
	box-shadow: 6px 6px 15px rgba(0,0,0,0.3);
	z-index: 999;
	}
.home-hero-badge p {
	font-size: 1rem;
	font-weight: var(--body-regular);
	line-height: 1.4;
	text-align: center;
	color: var(--brand-blue);
	}
.home-hero-badge strong,
.home-hero-badge bold {
	font-size: 2.3rem;
	font-weight: var(--body-regular);
	}
	
.home-hero-buttons {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 45%;
	width: 100%;
	padding: 10px 30px 10px;
	padding: 10px 30px;
	z-index: 999;
	text-align: left;
	/*display: none;*/
	}
	
.hero-down-link {
	position: absolute;
	bottom: 20px;
	left: 0px;
	height: auto;
	width: 100%;
	text-align: center;
	z-index: 999;
	display: none;
	}
.se-icon {
	width: 42px;
	margin: 0 auto;
	}
.se-icon a {
	fill: #fff;
	text-decoration: none;
	border: none;
	}
.bounce,
.se-icon {
	-moz-animation: bounce 6s infinite;
	-webkit-animation: bounce 6s infinite;
	animation: bounce 6s infinite;
	}
@keyframes bounce {
  0%, 10%, 20%, 30%, 100% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(-30px);
  }
  25% {
    transform: translateY(-15px);
  }
}


@media screen and (max-width: 450px) {
	.home-hero,
	.home-hero.jarallax {
		/*height: 45vh;*/
		}
}
@media screen and (min-width: 580px) {
	.home-hero {
		padding-top: 0;
		min-height: 300px;
		}
	.home-hero-content {
		padding-top: 2em;
		padding-bottom: 2em;
		}
	.home-hero-buttons {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 45%;
		width: 100%;
		padding: 10px 30px 10px;
		padding: 10px;
		z-index: 999;
		text-align: right;
		text-align: center;
		display: block;
		}
}
@media screen and (min-width: 600px) {
	.home-hero {
		margin: 0 auto;
		padding: 0;
		/*padding-top: 20px;*/
		height: auto;
		height: calc(100vh - 50px);
		min-height: 300px;
		max-height: var(--home-hero-max-height);
		}
}
@media screen and (min-width: 760px) {

	.home-hero-buttons {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 45%;
		padding: 10px 30px 10px;
		z-index: 999;
		text-align: right;
		}
	.hero-down-link {
		display: block;
		}
}
@media screen and (min-width: 1200px) {
	.home-hero-badge {
		top: 25%; 
		right: 7%;
		width: 180px;
		}
}
@media screen and (min-width: 1620px) {
	.home-hero-inner {
		max-width: 100%;
		margin-inline: 8vw;
		}
}

/* ----- [ Slick Slider ] -----------------*/
.slick-slider,
.slick-track,
.slick-slider .slick-list,
.slick-slide > div {
	height: 100%;
	}

/* fixes round corner image flash */
.slick-slide {
	z-index: 1;
	height: 100%;
	}


/* Custom */
@media only screen and (max-width: 780px) { 
	.home-slide:first-child {
		background-position: 20% 50% !important;
		}
}
/*	
.home-slide {
	background-size: cover;
	background-position: 50% 50%;
	height: 100%;
	}

.hero-slider,
.hero-slider .slick-track,
.hero-slider .slick-wrapper,
.hero-slider .slick-slide {
	margin: 0;
	height: 100%;
	width: 100%;
	}
*/

/* ----- [ Home: Select Page Navigation ] -----------------*/
/*.nav-images {
	background: #fff;
	}
.nav-images .inner {
	max-width: 1440px;
	}
*/
.nav-image {
	padding: 0 10px;
	margin-bottom: 15px;
	}
.nav-image img {
	display: block;
	}
.nav-image a {
	display: block;
	position: relative;
	margin: 10px;
	margin: 0;
	/*background: #edf8ff;*/
	}
.nav-image-text {
	background: #edf8ff;
	background: var(--brand-blue);
	position: absolute;
	top: auto;
	left: 0;
	right: 0;
	bottom: 0;
	height: 65px;
	height: auto;
	min-height: calc(2 * 1.4em + 20px);
	padding: 10px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
	}
	
.gallery-card a:hover .nav-image-text {
	min-height: 100%;
	background: rgba(25,48,96,0.8);
	}
	
.nav-image-text h3 {
	font-size: 1.75rem;
	line-height: 1;
	color: #fff;
	font-weight: var(--display-medium);
	position: relative;
	margin: 0;
	padding: 4px 6px;
	}
.nav-image a:hover h3 {
	/*text-decoration: underline;*/
	border-bottom: 3px solid lightblue;
	}
	
@media only screen and (min-width: 768px) { 
	.nav-image {
		margin-bottom: 15px;
		}
	.nav-image img {
		display: block;
		}
}

/* ----- [ Home: Body text ] -----------------*/
.home-text {
	padding: 40px 0 60px;
	}
.home-text a {
	text-decoration: underline;
	}
.home-text p {

	}
.winged-logo {
	margin: 0 auto 30px;
	max-width: 100%;
	}
	
.home-video {
	background: lightblue;
	background: #edf8ff;
	padding: 80px 0;
	}
/*
.video-wrap {
	max-width: 640px;
	max-height: 360px;
	width: auto;
	margin: 20px auto;
	}
.video-wrap > div {
	padding-top: 0 !important;
	}
*/
.embed-youtube {
    position: relative;
    padding-bottom: 56.25%; /* - 16:9 aspect ratio (most common) */
    /* padding-bottom: 62.5%; - 16:10 aspect ratio */
    /* padding-bottom: 75%; - 4:3 aspect ratio */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.embed-youtube iframe,
.embed-youtube object,
.embed-youtube embed {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ----- [ Pages: Heroes ] -----------------*/
/* See also hero.inc */
.hero {
	padding: 0;
	overflow: hidden;
	}
.hero .inner {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 80vh;
	max-height: 350px;
	max-height: 600px;
	background: #eee;
	padding-inline: 0;
	}
.hero-text {
	color: #fff;
	padding: 20px;
	width: 100%;
	max-width: 1292px;
	text-align: left;
	z-index: 100;
	}
	
.hero-text h1 {
	color: var(--white);
	/*font-size: 4.2rem;*/
	}

.home-hero-headline h2 {
	/*font-family: 'Dancing Script', cursive;*/
	font-size: 3.5em;
	line-height: 1.1em;
	text-shadow: 0 0 20px rgba(0,0,0,0.6);
	}

@media only screen and (min-width: 600px) {
	.hero {
		}
	.hero .inner {
		max-height: 430px;
		max-height: 600px;
		background: #eee;
		padding: 3em 0;
		}
	.home-hero-headline h2 {
		font-size: 4.5em;
		}
}

/* ----- [Hero Sections ] -----------------*/
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	}
.hero-section-text {
	color: #fff;
	text-align: center;
	padding: 3em 30px;
	}
.hero-section-text h2 {
	font-size: 3.8rem; /* CLAMP */
	margin: 0 0 0.5em;
	}
.hero-section-text p {
	font-size: 1.8rem; /* CLAMP */
	margin: 0 0 0.5em;
	}
	
.hero-section-text .button {
	font-size: 1.6rem;
	padding: 0.5em 1.2em;
	background: none;
	border: 2px solid #fff;
	border-radius: 6px;
	}
.hero-section-text .button:hover {
	color: #fff;
	background: var(--brand-blue);
	}

/* ----- [ Main Page Content ] -----------------*/
.main-content {
	margin-bottom: 20px;
	}
.main-content a,
form a {
	text-decoration: underline;
	}

.main-content a:hover,
form a:hover {
	text-decoration: none;
	}
	
.main-content a.button,
.main-content a.button:hover {
	text-decoration: none;
	}
	
.main-content ul {
	margin: 0 0 1em;
	}
.main-content li {
	list-style-type: disc;
	margin: 0 0 0 1.5em;
	}
.main-content ol li {
	list-style-type: decimal;
	margin: 0 0 0 1.5em;
	}

.main-content p > img {
	max-width: 100%;
	}

@media only screen and (min-width: 480px) {
	.main-content {
		margin-bottom: 50px;
		}
	.main-content p > img {
		}
}

/* ----- [ Basic: Gallery ] -----------------*/
.gallery-section {
	}
	
/* ----- [ Gallery Page & Sections / Isotope ] -----------------*/	
.gallery-link {
	font-size: 1.2rem;
	font-weight: var(--body-semibold);
	text-decoration: none;
	}

.gallery-grid {
	display: grid;
	/*grid-template-columns: repeat(2, 1fr);*/
	/*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1em;
	margin-bottom: 5em;
	padding: 0 20px;
	}

.gallery-card {
	box-shadow: 0 2px 20px rgba(0,0,0,0.15);
	}
.gallery-card a {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	border: none;
	}
.gallery-card img {
	display: block;
	max-width: 100%;
	height: auto;
	transition: all 0.3s ease;
	}

@media only screen and (min-width:1072px) {
	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
		gap: 1.5em;
		margin-bottom: 5em;
		padding: 0 20px;
		}
}

.thumbnail-link {
	display: block;
	position: relative;
	border: none;
	margin: 0;
	}

.thumbnail-link:hover {
	border: none;
	}
	
.thumb-overlay {
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	opacity: 0;
	}
.thumb-overlay:hover {
	opacity: 1;
	}
.thumb-overlay img,
.thumb-overlay .fa {
	font-size: 40px;
	color: #fff;
	max-width: 230px;
	}
	
.gallery-img {
	max-width: 100%;
	}
	
.tip-text {
	font-size: 16px;
	font-weight: 500;
	color: #666;
	float: right;
	}

/* ----- [ Section: Gallery (Featherlight) ] --------  */
.featherlight-next,
.featherlight-previous {		
	display: block;
	position: absolute;
	top: 25px;
	right: 25px;
	bottom: 0;
	left: 80%;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/*background: rgba(0, 0, 0, 0);*/
	background: none;
	opacity: 0;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
	}
.featherlight-previous {
	right: 80%;
	left: 25px;
	}
.featherlight-next span,
.featherlight-previous span {
	display: block;
	position: absolute;
	top: 50%;
	left: 8%;
	width: 60px;
	height: 60px;
	margin-top: -30px;
	background-image: url('../images/arrow-left.png');
	background-size: 100%;
	text-indent: -9999px;
	opacity: 0.8;
	}
.featherlight-next span {
	left: auto;
	right: 8%;
	background-image: url('../images/arrow-right.png');
	background-size: 100%;
	}
.featherlight-next:hover,
.featherlight-previous:hover {
	background: none;
	opacity: 0.8;
	}
.featherlight-next span:hover,
.featherlight-previous span:hover {
	opacity: 1;
	}

/* ----- [ Sidebar Blocks and Navigation ] -----------------*/
.sidebar-block {
	padding: 15px 20px 20px;
	margin: 0 0 20px;
	background: #f4fbff;
	}
.sidebar-block {
	padding: 10px 0 20px;
	background: #fff;
	border-top: 3px solid rgba(212,235,242,1);
	}

.sidebar-nav {
	margin: 0 0 0 1.8em;
	}
.sidebar-block li {
	position: relative;
	font-size: 1em;
	margin-bottom: 0.3em;
	}
.sidenav-1 {
	text-transform: uppercase;
	}
.sidebar-block li.sidenav-2 {
	text-transform: none;
	margin-bottom: 0;
	}

.sidenav-1 > ul {
	margin: 0 0 0 1em;
	display: none;
	}
.sidenav-1.on > ul {
	display: block;
	}
.sidenav-1 a:hover,
.downloads a:hover {
	text-decoration: underline;
	}

.sidenav-1:before,
.downloads li:before {
	content: "";
	display: inline-block;
	height: 8px;
	width: 14px;
	background: #1f3c83;
	background: lightblue;
	position: absolute;
	top: 0.5em;
	left: -1.8em;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	}

.sidenav-1.on:before {
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
	}

@media only screen and (min-width: 480px) {
	.sidebar-block {
		margin: 0 0 20px;
		}
}

/* ----- [ Product Pages: Coffins, Stationery, ] -----------------*/
.product {
	background: #fff;
	margin: 0 0 2em;
	padding: 1.5em;
	overflow: hidden;
	}
.product:nth-child(even) {
	background: var(--linen);
	}
.product-image {
	max-width: 100%;
	width: 50%;
	float: left;
	}
.product-text {
	width: 45%;
	float: right;
	margin: 0;
	line-height: 1.4em;
	}
.coffins-page .product-text {
	margin: 1em 0 0;
	}

/* ----- [ Stationery Page ] -----------------*/
.stationery-page .product-image {
	width: 25%;
	}
.stationery-page .product-text {
	width: 70%;
	}

/* ----- [ Funeral Prices Tables ] -----------------*/
.funeral-fees-page .main-content h3 em {
	font-weight: bold;
	font-size: 1.2em;
	}
.funeral-fees-page .main-content h3 span {
	float: right;
	text-align: right;
	}
.funeral-fees-page .main-content table {
	width: 100%;
	border-top: 1px solid #7690d1;
	margin: 0 0 20px;
	}
.funeral-fees-page .main-content td {
	border-bottom: 1px solid #7690d1;
	border-bottom: 1px solid rgba(212,235,242,1);
	padding: 2px 0;
	vertical-align: top;
	}
.funeral-fees-page .main-content td:last-of-type {
	text-align: right;
	}
/*
.funeral-fees-page .main-content h3 > span::before {
   display: block;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: clip;
   content: 
     ". . . . . . . . . . . . . . . . . . . . "
     ". . . . . . . . . . . . . . . . . . . . "
     ". . . . . . . . . . . . . . . . . . . . "
     ". . . . . . . . . . . . . . . . . . . . "
 }
*/
	
/* ----- [ 2025: Prices ] -----------------*/
.price-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2em;
	}
.price-row + .button {
	box-shadow: 0 5px 17px rgba(0,0,0,0.1);
	}
.price-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	height: 100%;
	box-shadow: 0 5px 17px rgba(0,0,0,0.1);
	}
.price-heading {
	color: #fff;
	background: #5A7086;
	padding: 16px 20px 16px;
	margin: 0;
	height: auto;
	}
.price-card-head {
	color: #fff;
	font-size: 2.3rem; /* add clamp */
	/*font-size: clamp(1.2rem, 2.5vw, 2.3rem);*/
	text-wrap: balance;
	margin: 0 0 0.4em;
	}
.price-heading p {
	font-size: 1.1rem;
	line-height: 1.3;
	color: #fff;
	margin: 0;
	}
	
.price-card-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5em;
	}
.price-card-content p,
.price-card-content li {
	font-size: 1.1rem;
	}
	
.prices-page-template .price-card-content p,
.prices-page-template .price-card-content li {
	font-size: 1rem;
	line-height: 1.4;
	margin-bottom: 0.5em;
	list-style: none;
	margin: 0;
	padding: 0.75em 0;
	}
.prices-page-template .price-card-content li:nth-child(odd) {
	background: var(--linen);
	background: rgba(247,241,240,0.5);
	margin: 0 -7%;
	padding-inline: 7%;
	width: 114%;
	}
	
.price-card-price {
	font-size: 1.8rem;
	font-weight: var(--body-bold);
	margin: 0 0 0.35em;
	border-bottom: 2px solid var(--brand-blue);
	}
.price-card .button,
.price-buttons {
	margin-top: auto;
	margin-bottom: 0;
	}
	
.card-1 .price-heading,
.card-1 .button {
	background: var(--slate);
	border-color: var(--slate);
	}
.card-2 .price-heading,
.card-2 .button {
	background: var(--stone);
	border-color: var(--stone);
	}
.card-3 .price-heading,
.card-3 .button {
	background: var(--mauve);
	border-color: var(--mauve);
	}
.card-4 .price-heading,
.card-4 .button {
	background: var(--sage);
	border-color: var(--sage);
	border-color: var(--sage);
	}
	
.price-card .compare-button {
	background: var(--brand-blue) ;
	border-color: var(--brand-blue);
	}
	
.price-page-template h3 {
	font-size: 2.2rem;
	}
.price-page-template h4 {
	font-size: 1.25rem;
	}
	
@media only screen and (min-width: 600px) {
	.price-card-head {
		font-size: 2.3rem; /* add clamp */
		font-size: clamp(1.2rem, 2.5vw, 2.3rem);
		}
}
@media only screen and (min-width: 1240px) {
	.price-heading {
		min-height: 170px;
		}
}
	

/* ----- [ Stationery Page ] -----------------*/
.resource-list {
	position: relative;
	}
.resource-item {
	list-style-type: none;
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 15px;
	padding: 20px 30px;
	vertical-align: middle;
	}
.resource-item:nth-of-type(3) {
	margin-right: 0;
	}
.resource-logo {
	width: 100%;
	/*max-width: 190px;
	max-height: 100px;*/
	}
@media only screen and (min-width: 480px) {
	.resource-item {
		width: 50%;
		}
}
@media only screen and (min-width: 880px) {
	.resource-item {
		width: 33.33%;
		}
}

/* ----- [ Testimonial Page ] -----------------*/
blockquote {
	margin: 0 0 2em;
	padding: 1.5em 1.5em 0.5em;
	font-style: italic;
	background: #fff;
	background: rgba(255,255,255,0.8);
	background: rgba(255,255,255,0.5);
	position: relative;
	}
blockquote .citation {
	font-size: 1em;
	font-style: italic;
	display: block;
	text-align: right;
	font-weight: 500;
	}
/*
blockquote::before {
	content: "\201C";
	font-family: 'Comfortaa', cursive;
	font-size: 180px;
	font-weight: bold;
	color: #999;
	position: absolute;
	left:20px;
	top:-40px;
	color:#b80072;
	z-index: -1;
	}
*/

.quote-wrapper.reversed blockquote {
	background: rgba(0,0,0,0.5);
	}
.quote-wrapper.reversed p {
	color: #fff;
	}
	

@media only screen and (min-width: 1024px) {
	blockquote {
		margin: 0 0 2em;
		padding: 1.5em 1.5em 0.5em;
		font-style: italic;
		}
	blockquote .citation {
		width: 25%;
		float: right;
		font-size: 1em;
		font-style: italic;
		display: block;
		text-align: left;
		font-weight: 500;
		}
}

/* ----- [ Team Pages ] -----------------*/
.team-row {
	}
.team-member {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0 auto 30px;
	padding: 5em 30px;
	column-gap: 4%;
	max-width: 1296px;
	}

.team-photo-wrapper {
	flex: 2;
	margin: 0 0 2em;
	}
.team-bio {
	flex: 3;
	}
.team-bio h2 {
	margin-bottom: 0.35em;
	}
.team-row:nth-of-type(even) {
	background: var(--bg-tint);

	}


.fa.icon {
	display: inline-block;
	width: 1.8em;
	height: 1.8em;
	font-size: 20px;
	line-height: 1.8em;
	text-align: center;
	vertical-align: baseline;
	margin-right: 8px;
	color: #1f3c83;
	background: none;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	}
	
@media only screen and (min-width: 768px) {
	.team-member {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
		margin: 0 auto 30px;
		padding: 5em 30px;
		column-gap: 4%;
		max-width: 1296px;
		}
	.team-row:nth-of-type(odd) .team-member {
		flex-direction: row-reverse;
		}
}
	
	
/* ----- [ Text/Image Sections / Page Intro ] ----- */
/*.intro-content-section {
	margin-bottom: 3em;  
	}*/
.article-section {
	margin-bottom: 0;  
	}

.content-row {
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	}

.article-section:nth-of-type(odd) {
	background: var(--bg-tint);
	}
.breakout-sidebar {
	height: 300px;
	margin: 0 0 1em;
	overflow: hidden;
	display: flex;
	}
.sidebar-image {
	object-fit: cover;
	min-height: 100%;
	min-width: 100%;
	}
		
/*
.sidebar-text-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 10% 8%;
	background: transparent;
	}
.sidebar-text-wrapper blockquote p {
	font-size: 3rem;
	line-height: 1.2;
	font-weight: var(--body-bold);
	}
*/
	
.page-intro-heading {
	padding: 1.5em 0 0.4em; 
	}
.section-heading {
	max-width: var(--inner-wide);
	margin: 0 auto;
	padding: 0.5em 30px; 
	}
	
.sidebar-nav {
	width: 100%;
	align-self: flex-start;
	margin: 0;
	}

@media only screen and (min-width: 768px) {
	.content-row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: stretch;
		}
	
	.article-section:nth-of-type(odd) .content-row {
		flex-direction: row-reverse;
		}

	.content-row-main {
		width: 50%;
		}
	.content-row-sidebar {
		width: 50%;
		position: relative;
		}
	.content-row-full {
		width: 100%;
		}

	.content-wrapper-main {
		margin: 0;
		padding: 70px 60px 70px 0; 
		}

	.article-section:nth-of-type(odd) .content-wrapper-main {
		margin: 0;
		padding: 70px 0 70px 60px; 
		}
	
	.content-wrapper-sidebar {
		height: 100%;
		}
	.breakout-sidebar {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		height: 100%;
		margin: 0 -30px 0 0;
		overflow: hidden;
		display: flex;
		place-items: center;
		}
	.breakout-sidebar-nav {
		margin: 0 -30px 0 0;
		overflow: hidden;
		display: flex;
		place-items: center;
		}
	.breakout-sidebar.has-image:after {
		content: "";
		position: absolute;
		inset: 0;
		background: #000;
		opacity: 0.5;
		opacity: var(--overlay-opacity, 0);
		z-index: 0; 
		}
	.sidebar-image {
		object-fit: cover;
		min-height: 100%;
		min-width: 100%;
		filter: blur(var(--blur-amount, 0px));
		transition: filter 0.3s ease;   /* optional, nice touch */
		}
}

@media only screen and (min-width: 1500px) {
	.breakout-sidebar {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin-right: calc((100vw - 1232px) / -2);
		overflow: hidden;
		}
	.article-section:nth-of-type(odd) .breakout-sidebar {
		margin-right: 0;
		margin-left: calc((100vw - 1232px) / -2);
		}
}	

/* ----- [ FAQ ] ----------- */
dl.accordion {
	margin: 0 0 1em;
	padding: 0;
	position: relative;
	border-bottom: 1px solid #000000;
	border-top: none;
	width: 100%;
	}
dl.accordion > dt {
	list-style: none;
	margin: 0;
	padding: 0.6em 0;  
	border-top: 1px solid #000000;
	}
dl.accordion > dt a {
	display: block;
	padding: 0.3em 1em 0.3em 0;
	vertical-align: middle;
	position: relative;
	transition: all .2s ease; 
	border-bottom: none !important;
	box-shadow: none !important;
	text-decoration: none;
	}
dl.accordion > dt a:after {
	content: '+';
	color: #000;
	top: 5px;
	right: 5px;
	position: absolute; 
	}
dl.accordion > dt a:hover,
dl.accordion > dt a.open {
	color: var(--accent-red);
	text-decoration: none!important;
	/*text-decoration: underline;*/
	/*background: #eeeeee;*/
	}
dl.accordion > dt a:hover:after { 
	color: var(--accent-red);
	}
/*dl.accordion > dt a.open:after,*/
dl.accordion > dt a.open:after {
	content: '-'; 
	color: var(--accent-red);
	}
dl.accordion dd {
	display: none;
	padding: 0 0 1em;
	margin-bottom: -1px;
	border-bottom: 1px solid #000000; 
	}

dl.accordion h2,
dl.accordion h3 {
	font-size: 1.7rem; 
	margin: 0;
	text-transform: none;
	}
.cms-text .accordion a,
.cms-text .accordion a:hover {
	text-decoration: none;
	}
.cms-text .accordion a:hover {
	text-decoration: underline;
	}
	
.page-section.dark dl.accordion,
.page-section.dark dl.accordion dd {
	border-bottom: 1px solid #ffffff;
	}
.page-section.dark dl.accordion > dt {
	border-top: 1px solid #ffffff;
	}
.page-section.dark dl.accordion > dt a:after,
.page-section.dark dl.accordion > dt a.open:after {
	color: #ffffff;
	}


/* ----- [ News Pages ]------------------ */
.news-section {
	padding: 60px 0;
	}

.news-post-single h1,
.news-post-single h2,
.news-index h2 {
	text-align: left;
	}
.news-section-head {
	text-align: center;
	margin-bottom: 50px;
	}
	
.news-post {
	/*border-top: 1px solid #2e4c93;*/
	margin: 0 0 20px;
	padding: 20px 0;
	}
.news-post:first-of-type {
	border: none;
	padding-top: 0;
	}
	
.home .news-post {
	border: none;
	}

.news-archive-head {
	border-bottom: 1px solid #2e4c93;
	padding-bottom: 15px;
	}

.news-post-single {
	margin: 0 0 20px;
	padding: 0 3em 0 0;
	}

.post-date {
	font-size: 0.9em;
	text-transform: uppercase;
	margin: 0 0 1em;
	font-weight: 600;
	}

.post-featured-image {
	max-width: 100%;
	/*float: left;*/
	margin: 0 25px 20px 0;
	}

.news-summary {
	position: relative;
	padding: 0 20px !important;
	/*border-right: 1px solid #ccc;*/
	margin-bottom: 40px;
	}

.news-summary:before {
    content: "";
    background: #2e4c93;
    width: 1px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0px;
	}
.news-summary:last-of-type:before {
	display: none;
	}
	
.news-summary p {
	font-size: 1em;
	}

.archive-list {
	margin-bottom: 1em;
	}

.sidebar h3 {
	margin: 0 0 0.2em;
	}
.sidebar .archive-list li {
	text-align: left;
	}

.archive-list a,
.archive-list + p a {
	/*font-weight: 700;*/
	}
	
.archive-list + h3 {
	margin-top: 2em;
	}

.archive-list li {
	margin: 0;
	}


.blog-comments {
	margin: 50px 0 0;
	border-top: 1px solid #ddd;
	}
.blog-comments h4 {
	margin: 1em 0 2em;
	}

.sibling-nav {
	margin-top: 30px;
	overflow: hidden;
	}
.sibling-nav .prev-nav,
.sibling-nav .next-nav {
	float: left;
	width: 48%;
	padding: 5px;
	font-size: 18px;
	}
.sibling-nav .next-nav {
	float: right;
	text-align: right;
	}

/* ----- [ Misc. ] -----------------*/
.TextformatterVideoEmbed {
	padding-top: 0!important;
	margin-bottom: 6px;
	}

/* ----- [ Pagination ] -----------------*/
.MarkupPagerNav {
	text-align: right;
	}
.MarkupPagerNav li {
	display: inline-block;
	background: #fff;
	padding: 5px 10px;
	margin-left: 10px !important;
	}
.MarkupPagerNav a {
	text-decoration: none;
	}
.MarkupPagerNav a:hover {
	text-decoration: underline;
	}
.MarkupPagerNavOn a {
	font-weight: 700;
	}

/* ----- [ Contact Forms (including pop-ups) ] --------------- */
.contact-form-wrapper {
	margin-top: 2em;
	}
/* not used; JotForm */
.contact {
	background: #edf8ff;
	padding: 60px 0;
	}
	
.contact-big li {
	text-align: center;
	}

.contact-form {
	max-width: 800px;
	margin: 20px auto 30px;
	text-align: left;
	margin-top: 6.5em;
	}

.contact-form li {
	margin: 0 0 10px;
	padding: 0;
	position: relative;
	}
.antispam {
	display: none;
	}

.hidden {
	display: none;
	}

.common-form {
	/*overflow: hidden;*/
	}
.common-form li {
	margin: 0 0 14px;
	}

.common-form label.check-control {
	display: inline !imporant;
	text-align: left !important;
	}
	
.check-control {
	font-size: 0.9em;
	}
	
label.required:after {
	content: "*";
	}
	
.form-group {
	line-height: 1.3em;
	}
	
.contact-h {
	font-size: 2.6em;
	}

fieldset {
	border: 1px solid #b1d6ff;
	padding: 15px 10px 5px;
	margin: 0 0 10px;
	}

input,
select,
textarea,
button {
	font-weight: var(--body-light);
    font-size: 1em;
    width: 100%;
    padding: 6px 8px;
	color: #333;
	/*padding-left: 1.5em;*/
    /*-webkit-appearance: none;*/
	border: 2px solid #cccccc;
    border-radius: 5px;
    }
    
.form-contact-form input,
.form-contact-form select,
.form-contact-form textarea {
	/*padding-left: 1.5em;*/
    -webkit-appearance: none;
    border: none;
    border-radius: 0;
    }
input[type=submit],
input.button {
    -webkit-appearance: none;
	}

input[type=checkbox] {
	width: auto;
	display: inline-block;
	float: left;
	margin: 5px 8px 8px 5px;
	}
	
.contact-big a {
	font-weight: var(--body-light);
	}
.contact-big a:hover {
	text-decoration: underline;
	}

@media only screen and (min-width: 600px) {
	.contact-form-wrapper {
		margin-top: 6.5em;
		}
	.contact-big li {
		display: inline-block;
		margin: 0.8em 0.8em 1em;
		}
}
@media only screen and (min-width: 1024px) {
	.contact-big li {
		font-size: 1.5em;
		}
}

/* ----- [ buttons ] ----- */
.button {
	display: inline-block;
	color: var(--white);
	font-size: 1.1rem;
	line-height: 1;
	text-align: center;
	font-weight: var(--body-regular);
	text-decoration: none !important;
	white-space: nowrap;
	background: var(--brand-blue);
	border: 2px solid var(--brand-blue);
	border-radius: 6px;
	letter-spacing: 0;
	text-overflow: ellipsis;
	overflow: hidden;
	padding: 0.75em 1.4em;
	margin: 0 auto;
	width: auto;
	cursor: pointer;
	}
.button:hover {
	color: var(--brand-blue);
	background: var(--white);
	text-decoration: none;
	}
	
.button-full {
	width: 100%;
	}
	

.home-hero-buttons .button {
	font-size: 1.2rem;
	text-transform: uppercase;
	padding: 1em 2em;
	box-shadow: 0 8px 15px rgba(0,0,0,0.3);
	border-color: var(--white);
	margin: 0 0.5em;
	}
.home-hero-buttons .button:hover {
	border-color: var(--brand-blue);
	}

.common-form-button {
	margin: 0 auto;
	}


.error,
.success {
	padding: 5px;
	color: #fff;
	font-weight: 700;
	border: 4px solid orange;
	background: orange;
	margin: 0 10px 20px;
	margin: 0 0 20px;
	width: auto;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	}
.common-form .error,
.common-form .success {
	margin: 0 0 20px;
	}
.success {
	border: 4px solid #1f3c83;
	background: #1f3c83;
	}
.ui-widget-content p {
	text-align: right;
	margin: -1.6em 0 0;
	}
span.ui-state-error {
	color: red;
	}


/* ----- [ Map ] -------- */
section.map {
	padding: 0;
	}
.map {
	height: 430px;
	background: #f1f1f1;
	margin-bottom: 20px;
	padding: 30px;
	}	

.address-overlay {
	position: absolute;
	left: 50%;
	top: 20px;
	bottom: 20px;
	right: 100px;
	padding: 3% 40px;
	background: rgba(255,255,255,0.7);
	z-index: 500;
	display: none;
	}
	
.info-window h5 {
	font-size: 1rem;
	}
.info-window p {
	font-size: 0.95rem;
	}
@media only screen and (min-width: 600px) {
	.address-overlay {
		left: 40%;
		right: 10px;
		display: block;
		}
}
@media only screen and (min-width: 768px) { 
	.address-overlay {
		left: 50%;
		right: 20px;
		}
}
@media only screen and (min-width: 1024px) {
	.address-overlay {
		left: 50%;
		right: 100px;
	}
}


.full-width,
.two-columns hr {
	column-span: all;
	}
.full-width h2,
.full-width h3 {
	column-span: all;
	}
h2.full-width {
	column-span: all;
	margin-bottom: 0.6em;
	}
	
/* ----- [ Basic Page ] --------------- */

@media only screen and (min-width: 600px) {
	.one-column img.align_right {
		margin: 0 -15% 2em 2em !important;
		}
	.one-column img.align_left {
		margin: 0 2em 2em -15% !important;
		}
	.one-column img.align_center {
		width: 110%;
		max-width: 110%;
		margin: 1em -5% 2em !important;
		}
	img.inline-block {
		display: inline-block;
		margin-block: 0.5em;
		max-width: 100%;
		}
		
	.two-columns-break {
		display: flex;
		gap: 2em;
		}
	.break-col {
		flex: 1 1 0;
		}
}

@media only screen and (min-width: 960px) {
	.one-column img.align_right {
		margin: 0 -15% 1em 02em !important;
		}

	.intro-text .two-columns,
	.text-section .two-columns {
		columns: 2;
		column-gap: 2em;
		}
	.intro-text .two-columns p,
	.text-section .two-columns p {
		margin: 0 0 1em;
		}
	/*
	.intro-text .two-columns p:last-child {
		margin: 0;
		}
	*/
}

.price-plans {
	margin-top: 3em;
	}

/* ----- [ Utility Styles ] --------------- */
.bg-tint {
	background: var(--bg-tint);
	}

img.right {
	float: right;
	}
.fright {
	float: right;
	}
.fleft {
	float: left;
	}

.centered,
.centered p,
.centered h2,
.centered h3 {
	text-align: center;
	}
	
.text-left,
.text-left p,
.text-left h2,
.text-left h3 {
	text-align: left !important;
	}
.text-right,
.text-right p,
.text-right h2,
.text-right h3 {
	text-align: right !important;
	}
	
	
	
.text-small {
	font-size: 1em;
	}
.footnote {
	font-size: 16px;
	}
	
.clearfix:before,
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	overflow: hidden;
	}
.clearfix:after {
	clear: both;
	}
.clearfix { 
	zoom: 1;
	}
	
.split-images {
	margin: 1.5em auto 2em;
	}
.split-images figure {
	margin: 0 0 1.5em;
	float: none;
	}
	
@media only screen and (min-width: 680px) {
	.flex-images {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
		column-gap: 1em;
		}
	.flex-images > img {
		flex: 1;
		}
	
	.split-images {
		/*columns: 2;
		-webkit-columns: 2;
		column-gap: 1.5em;*/
		}
	.split-images {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
		gap: 1.5em;
		}
		
	.split-images figure {
		margin: 0;
		}
	.split-images figcaption {
		font-size: 1rem;
		padding: 6px 0;
		margin: 0;
		}
}

/* ----- [ Funeral Zone Widget ] --------------- */
#fz-widget {
	margin-top: 20px;
	}
.fz-reviews-widget--compressed {
	top: calc(50% + 40px) !important;
	}
@media all AND (max-width:509px){
	#fz-widget{width:320px !important;height:410px !important;}
	.fz-reviews-widget--compressed { top: calc(100% - 40px) !important; }
	}
@media all AND (min-width:510px) AND (max-width:989px) {#fz-widget{width:510px !important;height:270px !important;}}
@media all AND (min-width:990px) {#fz-widget{width:990px !important;height:170px !important;}}

.fz-reviews-widget {
	/*display: none !important;*/
	/*position: absolute!important;
	bottom: 0 !important;*/
	}

.footer-logos {
	margin: 0;
	}
.footer-logos ul {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: auto;
	row-gap: 1em;
	overflow-x: auto;
	}
.footer-logos li {
	display: inline-block;
	vertical-align: middle;
	padding: 20px;
	flex: 0 0 auto;
	}
	
.footer-logos img {
	max-height: 90px;
	}
	
/* ----- [ Footer ] --------------- */
.page-footer {
	color: #fff;
	clear: both;
	text-align: left;
	margin: 0;
	margin-top: auto;
	padding: 5em 0 0;
	background: var(--black);
	}
.page-footer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--brand-blue);
	opacity: 0.84;
	}
.page-footer .inner {
	overflow: visible;
	z-index: 1;
	}

.page-footer .flex-row {
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	column-gap: 20px;
	text-align: center;
	}

.page-footer .col {
	margin-bottom: 2em;
	}

.page-footer p,
.page-footer li {  
	font-size: 1.05rem;
	font-weight: var(--body-regular);
	margin: 0;
	}
.page-footer ul {
	margin: 0 0 1em;
	}
.page-footer li {
	margin: 0;
	}
.page-footer h3,
.page-footer h4 {
	font-size: 1.1rem;
	font-weight: var(--body-medium);
	color: #fff;
	margin: 0 0 1.5em;
	margin: 0 0 1em;
	}
.page-footer .col h4:not(:first-child) {
	margin-top: 3em;
	}

.page-footer a {
	text-decoration: none;
	border: none;
	}
.page-footer a:hover {
	color: inherit;
	text-decoration: underline;
	}

.footer-logo {
	max-width: 300px;
	margin: 0 auto 20px;
	padding: 0;
	}
.footer-logo img {
	margin: 0 auto;
	width: 100%;
	/*filter:hue-rotate(50deg);*/
	}
	
.footer-sub-logo {
	text-align: center;
	max-width: 300px;
	margin: auto;
	}
.footer-sub-logo h4 {
	font-family: var(--display-font);
	font-size: 1.6rem;
	line-height: 1.25;
	margin: 0 auto 0.5em;
	}
.footer-sub-logo p {
	font-size: 1.4rem;
	line-height: 1.3;
	}
	
.footer-badge {
	display: inline-block;
	height: 60px;
	margin: 0 20px 15px 0;
	}

.footer-text {
	max-width: 21em;
	}

.page-footer .copyright {
	margin: 4em 0 0;
	background: var(--dark-grey);
	}	
p.site-copyright {
	margin: 0 auto!important;
	padding: 5px 10px;
	font-size: 0.8rem;
	font-weight: var(--body-medium);
	color: #cccccc;
	max-width: var(--inner);
	position: relative;
	}
	
.footer-navigation,
.footer-contact span {
	display: none;
	}
.standard-pricelist-link {
	display: block;
	}
	
@media screen and (min-width: 600px) {
	.page-footer .flex-row {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
		column-gap: 20px;
		text-align: left;
		}
	.page-footer .flex-row .col {
		flex: 1;
		}
	.page-footer .flex-row .col:first-child {
		flex: 2;
		}
	.footer-logo {
		max-width: 300px;
		margin: 0 0 20px;
		}
	.footer-sub-logo {
		margin: 0;
		}
}

@media screen and (min-width: 768px) {
	.page-footer-col,
	.page-footer-col p {
		text-align: left;
		}
	.page-footer-col:last-child,
	.page-footer-col:last-child p {
		text-align: right;
		}
}

@media screen and (min-width: 900px) {
	.footer-navigation {
		display: block;
		}
	.footer-contact span {
		display: inline;
		}
	.site-credit {
		display: inline-block;
		}
	.standard-pricelist-link {
		display: none;
		}
}

/* ----- [ SVG Social Media Icons ] --------------- */
.social-icons-wrapper .social-icon {
    display: inline-block;
    height: 26px;
    height: 2.2em;
	width: 26px;
    margin: 0.5em;
    white-space: nowrap;
	}

.social-icons-wrapper .social-icon a,
.social-icons-wrapper .social-icon a:visited {
    opacity: 1;
    border: none;
	}
.social-icons-wrapper .social-icon a:hover,
.social-icons-wrapper .social-icon a:active {
    color: var(--accent);
    opacity: 1;
    border: none;
	}

.social-icons-wrapper .social-icon svg {
    fill: currentColor;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
	}

.social-icons-wrapper .social-icon svg:hover {
	fill: var(--accent);
	}

.social-icon span {
	display: none;
	}

.top-link {
	display: none;
    position: fixed;
    bottom: -20px;
    right: 2%;
    opacity: 0;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    z-index: 9;
	}
.top-link a {
	color: #fff;
	font-size: 20px;
	line-height: 30px;
    background: #8d2427;
    display: block;
    height: 30px;
    width: 30px;
    outline: medium none;
    position: relative;
    z-index: 0;
    text-align: center;
    }
.top-link a:hover {
	border: none;
	background: #8d2427;
	}
.top-link.show {
	opacity: 1;
	bottom: 20px;
	}
	
.top-link .fa {
	margin: 0 0 0 2px;
	line-height: 25px;
	}
@media screen and (min-width: 600px) {
	.socila-icon {
		margin: 0 0.8em 0 0;
		}
}
@media screen and (min-width: 768px) {
	.social-icons-wrapper {
		text-align: left;
		}
}
.top-link {
    position: fixed;
    bottom: 0px;
    right: 16px;
    opacity: 0;
    -webkit-transition: opacity .4s ease;
    -moz-transition: opacity .4s ease;
    -o-transition: opacity .4s ease;
    transition: opacity .4s ease;
    z-index: 100;
    display: none;
	}
.top-link a {
    background: #dbeaf2;
    color: #1f3c83;
    font-size: 32px;
    line-height: 40px;
    display: block;
    height: 40px;
	width: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
    }
.top-link.show {
	opacity: 1;
	}

@media only screen and (min-width: 600px) {
	.top-link {
		display: block;
    	}
}

/** Utility
 * Alignment styles that are used by the InputfieldTinyMCE for 
 * positioning images in bodycopy. If you are using this field type, 
 * you may want to include these or similar styles in your site.
 *
 */
 
/* flex controls */
.f-left { justify-content: flex-start !important; }
.f-right { justify-content: flex-end !important; }
.f-center { justify-content: center !important; }
.f-between { justify-content: space-between !important; }
/*.f-stretch { justify-content: stretch; }*/
.f-stretch { align-items: stretch !important; }
.f-top { align-items: flex-start !important; }
.f-middle { align-items: center !important; }
.f-bottom { align-items: flex-end !important; }
 
 /* ----- [ CMS Text ] --------------- */
.cms-text p > img {
	max-width: 100%;
	}
.cms-text ul,
.cms-text ol {
	margin: 0 0 1em;
	}
.cms-text ul li {
	list-style-type: square;
	list-style-position: outside;
	margin: 0 0 0.5em 1.5em;
	}
.cms-text ol li {
	list-style-type: decimal;
	list-style-position: outside;
	margin: 0 0 0.5em 1.5em;
	}
	
.cms-text p {
	/*break-inside: avoid-column;*/
	}
 
.align_left {
	float: none;
	margin: 0 0 15px 0;
	max-width: 100%;
	}
.align_right {
	float: none;
	margin: 0 0 15px 0;
	max-width: 100%;
	}
.align_center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	}
	
table .align_left {
	float: none;
	margin: 0;
	text-align: left;
	}
table .align_right {
	float: none;
	margin: 0;
	text-align: right;
	}
table .align_center {
	margin: 0;
	text-align: center;
	}

table {
	border: none;
	border-bottom: 1px solid #ccc;
	}
table td {
	padding: 5px 0;
	border: none;
	border-top: 1px solid #ccc;
	}
	
table + h3,
table + h4,
table + p {
	margin-top: 1em;
	}
	

figure {
	margin: 0 0 15px;
	}

figure.align_left {
	width: 100%;
	margin: 0 0 15px;
	}

figure img {
	max-width: 100%;
	}
	
figure.align_left img {
	max-width: 100%;
	}
figcaption {
	font-size: 0.85em;
	font-style: italic;
	margin: 0.3em 0 1em;
	}
figure.align_left:nth-of-type(odd) {
	clear: both;
	}
	
sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { 
  top: 0.4em; 
}

/* blank clearing tool for CMS content */
hr {
	border: none;
	border-top: 3px solid rgba(212,235,242,1);
	margin: 30px 0 20px;
	/*clear: both;*/
	}

a.anchor {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}


/* for download file tables */
.image-table {
	border: none;
	margin: 0 0 1em;
	}
.image-table td {
	padding: 5px;
	vertical-align: top;
	}

/* .cms-content {}*/
/* New CMS-styles for paragraphs with images */
p.image-row-2 > img,
p.image-row-3 > img,
p.image-row-4 > img {
	float: none;
	width: 100%;
	margin: 0 0 1em 0;
	}
@media only screen and (max-width: 600px) {
	p.image-row-3 > img,
	p.image-row-4 > img {
		float: left;
		width: 48.75%;
		margin: 0 2.4% 2.4% 0;
		}
	p.image-row-3 > img:nth-of-type(even),
	p.image-row-4 > img:nth-of-type(even) {
		float: right;
		margin: 0 0 2.4% 0;
		}
}
p.image-row-2:after,
p.image-row-3:after,
p.image-row-4:after {
	content: '';
	display: block;
	clear: both;
	}

@media only screen and (min-width: 600px) { 
	p.image-row-2 > img {
		float: left;
		width: 48.75%;
		margin: 0 2.4% 2.4% 0;
		}
	p.image-row-2 > img:nth-of-type(even) {
		float: right;
		margin-right: 0;
		}

	p.image-row-3 > img {
		float: left;
		width: 31.7%;
		margin: 0 2.4% 2.4% 0;
		}
	p.image-row-3 > img:nth-of-type(3n) {
		float: right;
		margin-right: 0;
		}
	
	p.image-row-4 > img {
		float: left;
		width: 23.2%;
		margin: 0 2.4% 2.4% 0;
		}
	p.image-row-4 > img:nth-of-type(4) {
		float: right;
		margin-right: 0;
		}
}

.inline-icon img {
	float: left;
	max-width: 100px;
	margin: 0 1em 1em 0;
	}
.inline-icon:after {
	content: '';
	clear: both;
	display: block;
	}


@media only screen and (min-width: 600px) {
	.align_left {
		float: left;
		margin: 0 1em 0.5em 0;
		}

	.align_right {
		float: right;
		margin: 0 0 0.5em 1em;
		}
	/*img.align_left {
		width: 48.5%;
		margin: 0 3% 0.8em 0;
		}
	img.align_left:nth-of-type(even) {
		margin-right: 0;
		}*/

	figure {
		margin: 0 20px 10px 0;
		float: left;
		}

	figure.align_left {
		width: 50%;
		margin: 0 0 0.25em;
		padding-right: 1em;
		}
}

/* Brochures */
.brochures-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	}
.grid-item {
	}

.card {
	margin: 0 0 20px;
	}
.image-card {
	max-width: 200px;
	}
.grid-item .image-card {
	max-width: 500px;
	}
.grid-item a {
	text-decoration: none;
	}
.grid-item a:hover {
	text-decoration: underline;
	}
.card-image {
	width: 100%; 
	margin: 0 0 10px;
	-webkit-box-shadow: 0 2px 7px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 2px 7px rgba(0,0,0,0.3);
	box-shadow: 0 2px 7px rgba(0,0,0,0.3);
	}
.card-text p {
	margin: 0 0 0.35em;
	line-height: 1.2;
	}
.card-text h3 {
	font-size: 1.4rem;
	line-height: 1.2;
	font-weight: 400;
	margin: 0;
	}

/* ----- [ Color variants ] ----------- */
.dark {
	color: #fff !important;
	background: var(--brand-blue);
	}
.dark h2,
.dark h3,
.dark p,
.dark li,
.dark a {
	color: #fff;
	}
.dark a:hover {
	}

/**
 * The edit link that appears when you are logged in.
 * It is recommended that you implement an edit button 
 * in your templates to make it easy to switch to and
 * from the admin control panel when editing pages. 
 *
 */
 
.quickedit {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 99;
	opacity: 0.5;
	}
 
#editpage {
	position: fixed;
	bottom: 0;
	left: 0; 
	padding: 5px 6px; 
	background: #db1174; 
	color: #fff; 
	display: block;
	font-weight: bold; 
	z-index: 1000;
	}
#editpage:hover {
	background: #ffffcc;
	color: #000; 
	}

/**
 * WireFatalError is a class that ProcessWire will use to output
 * fatal errors in the design, but only if debug mode is on, or if
 * you are logged in as a superuser. 
 *
 */
.WireFatalError {
	background: #a30000; 
	color: #fff; 
	padding: 1em; 
	position: relative;
	z-index: 9999;
	}


