/*
Theme Name: urbansoul
Theme URI: https://www.urbansouldesign.co.uk/
Author: urbansoul
Author URI: https://www.urbansouldesign.co.uk/
Description: An experimental block theme for designers, developers, and creators.
Text Domain: urbansoul
*/


/* Defaults
---------------------------------------------------------------------------- */

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-size: 18px;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-block-button__link {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

ol,
ul {
	margin: 0;
	padding: 0 0 0 12px;
	list-style-position: inside;
}

b,
strong {
	font-weight: var(--wp--custom--bold-weight);
}

blockquote {
	margin: 0;
}

/* Styles
--------------------------------------------- */
body {
	background: #fff;
	font-family: var(--wp--custom--font-family-secondary);
	color: var(--wp--preset--color--dark-grey);
	max-width: 100%;
	overflow-x: hidden;
  position: relative;
}
body.opened {
  overflow: hidden;
}

.editor-styles-wrapper:after{
  display: none;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5rem;
}

ul:not(.wp-submenu),
ol {
	margin: 0 0 1rem 1rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul:not(.wp-submenu),
li > ol {
	margin-bottom: 0;
	margin-left: 1.5rem;
}

.entry-content ul {
	list-style: none;
}
.entry-content ul li, .entry-content ol li {
	position: relative;
	margin-bottom: 8px;
	margin-left: 28px;
}
/* .entry-content ul li:before {
	content: url(images/bullet-blue.svg);
	width: 15px;
	height: 15px;
	position: absolute;
	left: -20px;
	top: 2px;
} */

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5rem 1.5rem;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	width: 100%;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5rem;
	width: 100%;
}

/* Links
--------------------------------------------- */
a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	transition: var(--wp--custom--standard-transition);
	color: var(--wp--preset--color--blue);
}

/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.chevron::before {
	border-style: solid;
	border-width: 2px 2px 0 0;
	content: '';
	display: inline-block;
	height: 12px;
	width: 12px;
	position: relative;
}

.chevron.right:before {
	right: -70px;
	transform: rotate(45deg);
	top: -2px;
}

.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}

.chevron.left:before {
	left: -10px;
	transform: rotate(-135deg);
	top: 0;
}


@keyframes slide-in {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-256px);
  }
}
@keyframes slide-out {
  0% {
    transform: translateX(-256px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes opacity-in {
	0% {
		opacity: 0;
	}
	1% {
			opacity: 0;
	}
	100% {
			opacity: 1;
	}
}
@keyframes opacity-out {
	0% {
		opacity: 1;
	}
	1% {
			opacity: 1;
	}
	100% {
			opacity: 0;
	}
}

.main-navigation span {
	cursor: pointer;
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
	min-width: 340px;
}

.main-navigation > ul > li {
	position: relative;
}

.mobile .main-navigation > ul > li {
	margin-left: 10px;
	position: relative;
}

.main-navigation a {
	color: var(--wp--preset--color--white);
}

.main-navigation a:hover, .current-menu-item a, .current-menu-ancestor > a {
	color: var(--wp--preset--color--blue);
}

.main-navigation > li {
	position: relative;
	margin: 0 0 0 30px;
}

.main-navigation li li {
	display: block;
}

.mobile .main-navigation li {
	width: 100%;
	display: block;
	margin: 10px 0;
}

.main-navigation a, .navigation-main span {
	display: block;
	text-decoration: none;
	padding: 5px;
	font-family: var(--wp--custom--font-family-primary);
	white-space: nowrap;
	font-size: var(--wp--preset--font-size--l);
	white-space: normal;
}

.main-navigation ul ul ul a {
	font-size: var(--wp--preset--font-size--normal);
}

.site-side-inner {
	position: absolute;
	right: 0;
	top: calc(90vh - 370px);
}

.page-template-default .site-side-inner {
	top: calc(90vh - 520px);
}

.site-side-inner ul {
	list-style: none;
}

.site-side-inner li {
	display: block;
	margin-bottom: 10px;
}

.site-side-inner a {
	display: block;
	background-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--navy);
	font-weight: var(--wp--custom--bold-weight);
	border-radius: 50px 0 0 50px;
	width: 230px;
	padding: 15px 15px 15px 35px;
	text-decoration: none;
	box-shadow: 0 0 7px 1px var(--wp--preset--color--black);
	font-size: var(--wp--preset--font-size--xl);
	transition: .4s all;
}

.site-side-inner li:nth-of-type(1) {
	transition-delay: 1s;
}

.site-side-inner li:nth-of-type(2) {
	transition-delay: 1.2s;
}

.site-side-inner li:nth-of-type(3) {
	transition-delay: 1.4s;
}

.site-side-inner li:nth-of-type(4) {
	transition-delay: 1.6s;
}

.site-side-inner a:hover {
	background-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--yellow);
}

@media(min-width:960px){
	.site-side-inner {
		top: calc(90vh - 300px);
	}	
	.page-template-default .site-side-inner {
		top: calc(90vh - 460px);
	}
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	background-color: var(--wp--preset--color--secondary);
	width: 50px;
	height: 38px;
	position: absolute;
	cursor: pointer;
	padding: 0;
	border: none;
	z-index: 1051;
	transform: translateY(-50%);
}

.menu-button-line-1, .menu-button-line-2, .menu-button-line-3 {
	display: block;
	left: 10px;
	width: 30px;
	height: 2px;
	background-color: var(--wp--preset--color--white);
	position: absolute;
	-webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

button.menu-button-wrapper.menu-toggle:hover .menu-button-line-2 {
	width: 15px;
}

.menu-button-line-1 {
	top: 9px;
}

.menu-button-line-2 {
	top: 17px;
}

.menu-button-line-3 {
	top: 25px;
}

.opened .menu-button-line-1 {
	top: 17px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.opened .menu-button-line-2 {
	opacity: 0;
  left: -60px;
}

.opened .menu-button-line-3 {
	top: 17px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Header
--------------------------------------------- */
.site-header {
	position: relative;
	padding: 10px 20px;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.site-header .site-branding a {
	position: relative;
}
.site-head-inner, .header-area {
	display: flex;
	width: 100%;
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	z-index: 2;
	position: relative;
}
.header-area .wp-block-column {
	padding: 0 50px;
}
.internal-hero {
	padding-top: 0;
	background-position: center;
	background-size: cover;
	padding-bottom: 125px;
	position: relative;
	height: 399px;
	overflow: visible;
}
.internal-hero:after {
	content: '';
	position: absolute;
	bottom: -7px;
	width: 100%;
	min-height: 7px;
	height: 7px;
	background-image: linear-gradient(to right, var(--wp--preset--color--navy), var(--wp--preset--color--navy) 16.6666%, var(--wp--preset--color--yellow) 16.666%, var(--wp--preset--color--yellow) 33.333%, var(--wp--preset--color--green) 33.333%, var(--wp--preset--color--green) 50%, var(--wp--preset--color--cyan) 50%, var(--wp--preset--color--cyan) 66.666%, var(--wp--preset--color--blue) 66.666%, var(--wp--preset--color--blue) 83.333%, var(--wp--preset--color--purple ) 83.333%, var(--wp--preset--color--purple ) 100%);
}
.internal-hero .custom-logo {
	width: 225px;
}
.internal-hero .wp-block-post-title {
	margin-top: 0;
}
.hero-subheading {
	margin: 75px 0 0 0!important;
}
.hero-subheading mark {
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 5px 1px;
}
hr {
	height: 3px!important;
	opacity: 1!important;
}
hr.is-style-default {
	height: 2px!important;
}
/* @media(min-width:960px) { */
	.site-head-inner {
		padding: 20px 20px 10px 20px;
	}
/* } */
@media(min-width:1180px){
	.header-area {
		padding: 0 75px;
	}	
}
@media(min-width:1350px){
	.header-area {
		padding: 0 150px;
	}	
}
.editor-styles-wrapper .header-area {
	background-color: var(--wp--preset--color--smoke);
}

.site-header .site-branding {
	flex: 1;
	margin-right: 20px;
	position: relative;
}
.site-header .site-branding img {
	width: 330px;
}
@media(min-width:960px) {
	.site-header .site-branding img {
		width: 100%;
		height: auto;
	}
}
	.site-header .main-navigation {
	flex: 1;
	margin-left: 20px;
}

#home-background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.site-header .header-overlay, .site-header .header-overlay:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-header .header-overlay:after {
	background: var(--wp--preset--gradient--blue-to-transparent-to-blue);
	content: '';
}

body:not(.home) .site-header .header-overlay:after {
	background: var(--wp--preset--gradient--blue-to-transparent-to-white);
}

@media screen and (min-width: 460px) {
	.site-header {
		min-height: 260px;
	}
	.home .site-header {
		min-height: 350px;
		overflow: hidden;
	}
}

@media screen and (min-width: 768px) {
	.site-header {
		min-height: 625px;
	}
	.home .site-header {
		min-height: 850px;
	}
}

.search-link-wrapper {
	display: flex;
	height: 50px;
	color: var(--wp--preset--color--white);
	align-items: center;
	margin-bottom: 0;
	flex: 3;
	justify-content: flex-end;
	text-decoration: none;
}

.search-text {
	margin-right: 15px;
}

.search-link-wrapper img {
	width: 25px;
}

.search-section {
	visibility: hidden;
	height: 0;
	width: 0;
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	opacity: 0;
	overflow: hidden;
	transition: 1s opacity;
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--navy);
	z-index: 9999;
}

.search-section.open {
	visibility: visible;
	height: 100vh;
	width: 100vw;
	opacity: 1;
}

.search-section .container {
	max-width: 800px;
	width: 80%;
	height: 80%;
	margin: auto;
	position: relative;
}

.close-search {
	font-size: var(--wp--preset--font-size--jumbo);
	font-weight: var(--wp--custom--bold-weight);
	color: var(--wp--preset--color--navy);
	display: block;
	text-align: right;
	text-decoration: none;
}

.search-form-wrapper {
	margin-top: 30%;
}

.search-form-wrapper input {
	font-size: var(--wp--preset--font-size--xxxl);
	font-weight: var(--wp--custom--bold-weight);
}

.search-form-wrapper input[type="search"] {
	width: 78%;
	padding: 3px 20px;
}

.search-form-wrapper input[type="submit"] {
	width: 20%;
	background-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	padding: 13px;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5rem;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.posts-navigation, .post-navigation {
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	padding: 0 20px;
}


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}
.no-overflow-y {
	overflow-y: hidden;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5rem 0 0;
}

.home .entry-content {
	margin-top: 0;
}

.entry-content {
	min-height: 60vh;
}

.home .site-main .entry-content > *:not(.alignfull), .not-with-sidebar .site-main .entry-content > *:not(.alignfull),
.page-template-template-full-width .site-main .entry-content > *:not(.alignfull) {
	max-width: var(--wp--custom--content-size);
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.with-sidebar {
	max-width: var(--wp--custom--content-size);
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
  display: grid;
  grid-template-areas: 'left';
  grid-template-columns: 1fr;
  grid-auto-flow: column; 
  grid-gap: 0;
	position: relative;
	z-index: 1;
}

.with-sidebar .site-main {
  display: inline-block;
  vertical-align: top;
  grid-area: left;
  grid-row: 2;
}

.with-sidebar aside {
  display: inline-block;
  vertical-align: top;
  grid-area: left;
  grid-row: 1;
}

.with-sidebar .alignfull {
	margin: 0 -20px;
}

.entry-content #breadcrumbs {
  padding: 30px 20px;
}

.home .entry-content #breadcrumbs {
  display: none;
}

@media (min-width: 768px) {

	.with-sidebar {
    grid-template-columns: auto 340px;
    grid-auto-flow: row;
    grid-template-areas: 'left right';
    grid-column-gap: 70px;
  }

  .with-sidebar .site-main {
    grid-area: left;
    grid-row: auto;
		min-width: 0;
		margin-top: -125px;
  }

	.page-id-300 .with-sidebar .site-main, .page-id-153 .with-sidebar .site-main, .page-id-55 .with-sidebar .site-main {
		margin-top: 0;
	}
  
  .with-sidebar aside {
    grid-area: right;
    grid-row: auto;
		margin-top: -125px;
		min-width: 0;
		z-index: 2;
  }
}

@media (min-width:1500px) {
	.home .site-main .entry-content > *:not(.alignfull), .not-with-sidebar .site-main .entry-content > *:not(.alignfull), .page-template-template-full-width .site-main .entry-content > *:not(.alignfull), .with-sidebar, .entry-content #breadcrumbs {
		padding-left: 0;
		padding-right: 0;
	}	
}

.entry-content .alignwide {
	max-width: var(--wp--custom--wide-size);
}

.page-links {
	clear: both;
	margin: 0 0 1.5rem;
}

.entry-meta, .entry-footer {
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	padding: 0 20px;
}

.search .hentry {
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	padding: 0 20px;
}

/* Comments
--------------------------------------------- */
.comments-area {
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	padding: 0 20px;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 .5rem;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5rem;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5rem;
	display: grid;
	grid-gap: 1.5rem;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* Formidable
--------------------------------------------- */

/* .frm_forms {
	padding: 60px 70px;
	background-color: var(--wp--preset--color--smoke);
} */

.with_frm_style legend + h2, .with_frm_style h2.frm_form_title, #loginform h2 {
	text-transform: uppercase;
	margin-bottom: 15px;
	font-family: var(--wp--custom--font-family-primary);
	color: var(--wp--preset--color--navy);
}

body .with_frm_style h2, body .with_frm_style .frm-show-form .frm_section_heading h3, #loginform h3 {
	color: var(--wp--preset--color--navy);
}

.frm_style_formidable-style.with_frm_style .frm-show-form .frm_section_heading h3 {
	border-top: 2px solid #e8e8e8;
	margin-bottom: 16px;
}

.with_frm_style .frm-show-form .frm_section_heading h3 {
	font-weight: normal;
}

body .with_frm_style input[type=email], body .with_frm_style input[type=text], body .with_frm_style textarea {
	/* background-color: var(--wp--preset--color--light-grey);
	border: none; */
	border-radius: 0;
	border: 1px solid #BFC3C8;
	box-shadow: none;
	font-family: var(--wp--custom--font-family-secondary);
	padding: 6px 10px;
	width: 100%;
}

body .with_frm_style input[type=number] {
	border-radius: 0;
}

#loginform input[type=email], #loginform input[type=text], #loginform input[type=password], #loginform .with_frm_style textarea {
	border-radius: 0;
	border: 1px solid #BFC3C8;
	box-shadow: none;
	font-family: var(--wp--custom--font-family-secondary);
	padding: 6px 10px;
	width: 100%;
}

#loginform input[type=email]:focus, #loginform input[type=email]:focus-visible, #loginform input[type=text]:focus, #loginform input[type=text]:focus-visible, #loginform input[type=password]:focus, #loginform input[type=password]:focus-visible{
	background-color: #ffffff;
	border: 1px solid #66afe9!important;
	color: var(--text-color);
	box-shadow: 0 1px 1px rgb(0 0 0 / 8%) inset, 0 0 8px rgb(102 175 233 / 60%);
}

.forgot-password {
	display: none;
}

body .with_frm_style .frm_primary_label, #loginform label, .pseudo-label {
	font-family: var(--wp--custom--font-family-secondary);
	font-weight: 600;
	font-size: 0.8888rem;
}

.pseudo-label {
	margin-bottom: -25px;
}

#loginform label {
	display: block;
}

 body .with_frm_style .frm_radio label, body .with_frm_style .frm_checkbox label {
	font-family: var(--wp--custom--font-family-secondary);
	font-weight: 600;
	font-size: 0.777rem;
}

body .with_frm_style p, #loginform p {
	font-family: var(--wp--custom--font-family-secondary);
	font-size: 0.777rem;
}

body .frm_form_field .frm_radio {
	margin-bottom: 5px!important;
}

body .with_frm_style .frm_radio input[type=radio], body .with_frm_style .frm_checkbox input[type=checkbox] {
	width: 24px;
	height: 24px;
}

body .with_frm_style .frm_radio input[type=radio]:before, body .with_frm_style .frm_checkbox input[type=checkbox]:before {
	box-shadow: inset 16px 16px var(--wp--preset--color--blue);
	width: 16px;
	height: 16px;
	margin: 0;
}

.with_frm_style .vertical_radio .frm_checkbox label, .with_frm_style .vertical_radio .frm_radio label {
	display: block;
	padding-left: 20px;
	text-indent: -20px;
	margin-bottom: 12px;
}

.frm_style_formidable-style.with_frm_style p.description, .frm_style_formidable-style.with_frm_style div.description, .frm_style_formidable-style.with_frm_style div.frm_description, .frm_style_formidable-style.with_frm_style .frm-show-form > div.frm_description, .frm_style_formidable-style.with_frm_style .frm_error, .frm_style_formidable-style.with_frm_style .frm_pro_max_limit_desc {
	font-style: normal;
}

.with_frm_style .frm_button {
	border-radius: 0;
	background-color: var(--wp--preset--color--purple);
	border: 1px solid var(--wp--preset--color--purple);
}

.with_frm_style .frm_button:hover {
	border-radius: 0;
	background-color: var(--wp--preset--color--cyan-bluish-gray);
}

body .frm_style_formidable-style.with_frm_style .frm_submit button, #loginform .button, .logged-in.wp-block-loginout a, .frm_logout_link, .frm_style_formidable-style.with_frm_style input[type=submit] {
	font-family: var(--wp--custom--font-family-secondary);
	background-color: var(--wp--preset--color--blue);
	border: 1px solid var(--wp--preset--color--blue);
	border-radius: 0;
	width: 117px;
	text-align: center;
	vertical-align: top;
	transition: var(--wp--custom--standard-transition);
	font-family: Cooperhewitt,sans-serif;
	font-size: .9rem;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 20px 11px 20px;
}

.frm_style_formidable-style.with_frm_style input[type=submit] {
	width: auto;
}

#loginform .button, .logged-in.wp-block-loginout a, .frm_logout_link, .frm_style_formidable-style.with_frm_style input[type=submit] {
	padding: 10px 20px;
	color: #fff!important;
}

body .frm_style_formidable-style.with_frm_style .frm_submit button:hover, body .frm_style_formidable-style.with_frm_style .frm_submit button.frm_page_skip:hover, .with_frm_style a.frm_start_over:hover, #loginform .button:hover, .frm_logout_link:hover, .frm_style_formidable-style.with_frm_style input[type=submit]:hover {
	background-color: #fff;
	color: var(--wp--preset--color--blue)!important;
	border: 1px solid var(--wp--preset--color--blue)!important;
}

body .frm_style_formidable-style.with_frm_style .frm_submit button.frm_page_skip, .with_frm_style a.frm_start_over {
	font-family: var(--wp--custom--font-family-secondary);
	background-color: var(--wp--preset--color--green);
	border: 1px solid var(--wp--preset--color--green);
	padding: 10px 20px;
	text-decoration: none;
	font-weight: 400;
	color: #fff;
	line-height: normal;
	text-align: center;
	display: inline-block;
	vertical-align: top;
	margin: 0;
	transition: var(--wp--custom--standard-transition);
}

.with_frm_style .frm_top_container .frm_primary_label, .with_frm_style .frm_hidden_container .frm_primary_label, .with_frm_style .frm_pos_top {
	margin-bottom: 15px;
	margin-top: 20px;
}

.back-link {
	text-decoration: none;
	font-size: .777rem;
}

.wp-block-columns.narrow {
	max-width: 800px!important;
	margin: 0 auto!important;
	display: block;
}

/* Move save button */
#frm_field_467_container, #frm_field_790_container, #frm_field_791_container, #frm_field_792_container, #frm_field_793_container,
#frm_field_794_container, #frm_field_795_container, #frm_field_796_container, #frm_field_797_container, #frm_field_798_container,
#frm_field_799_container, #frm_field_800_container
{
	grid-column-start: 1;
	grid-row-start: 99!important;
	width: 100%;
	height: 39px;
	float: none;
}

.with_frm_style:not(#frm_form_27_container) .frm_submit {
	grid-column-start: 1;
	grid-row-start: 100;
	clear: both;
	float: none;
}
ul.sigNav {
	margin: 0;
}
.typed input[type="text"], .typed input[type="text"]:focus, #content .with_frm_style .typed input[type="text"], .with_frm_style .typed input[type="text"], .with_frm_style .typed input[type="text"]:focus {
	font-size: var(--wp--preset--font-size--xxxxl)!important;
}
.frm_signature_icon:before, .frm_keyboard_icon:before {
	position: absolute;
	top: 5px;
}
@media(min-width:450px){
	body .frm_style_formidable-style.with_frm_style .frm_submit button.frm_page_skip, .with_frm_style a.frm_start_over {
		margin: 10px;
	}	
	#frm_field_467_container, #frm_field_790_container, #frm_field_791_container, #frm_field_792_container, #frm_field_793_container,
	#frm_field_794_container, #frm_field_795_container, #frm_field_796_container, #frm_field_797_container, #frm_field_798_container,
	#frm_field_799_container, #frm_field_800_container
	{
		grid-column-start: 1;
		grid-row-start: 99!important;
		width: 80px;
		height: 39px;
		float: left;
	}

	.with_frm_style:not(#frm_form_27_container) .frm_submit {
		grid-column-start: 5!important;
		grid-row-start: 99;
		clear: none;
		float: left;
	}
}

/* Move save button */

#frm_form_11_container .frm_message {
	display: block;
	width: 300px;
	position: absolute;
	top: 50%;
	z-index: 999;
	left: 50%;
	transform: translate(-50%, -50%);
}

#frm_form_11_container .frm_message:after {
	position: absolute;
	top: -100%;
	left: -200%;
	width: 500%;
	height: 500%;
	content: '';
	background-color: rgba(0,0,0,0.4);
	z-index: -1;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5rem;
	margin-bottom: 1.5rem;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
}

.has-text-align-center {
	text-align: center;
	display: block!important;
	margin-left: auto!important;
	margin-right: auto!important;
}

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

/* Banner
--------------------------------------------- */
.site-banner {
  display: block;
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}
.site-banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
	object-position: center;
}
.site-banner-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60vh;
  background-image: linear-gradient(rgba(69,69,69,0) 32%, rgba(69,69,69,0.2) 50%, rgba(69,69,69,0.9) 80%,rgba(69,69,69,0.9));
}

.parent-page-id-55 .site-banner-overlay, .page-id-55 .site-banner-overlay {
  background-image: linear-gradient(rgba(92,136,195,0) 32%, rgba(92,136,195,0.2) 50%, rgba(92,136,195,0.9) 80%,rgba(92,136,195,0.9));
}

.site-banner .entry-header {
	max-width: var(--wp--custom--content-size);
	height: 100%;
	padding: 0 20px;
  position: relative;
	display: flex;
	margin: 0 auto;
}

.entry-header h1, h1.entry-title {
	width: 100%;
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	position: relative;
	z-index: 1;
	color: var(--wp--preset--color--blue);
	text-align: left;
}

.home h1.entry-title, .home .header-title, .home .header-title-spacer {
	display: none;
}

.single .site-header h1.entry-title, .page .site-header h1.entry-title {
	display: none;
}

#wp--skip-link--target {
	padding: 0!important;
	margin: 0!important;
}

/* Footer
--------------------------------------------- */
.footer-first .cta-wrapper {
	display: flex;
	flex-direction: column;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	position: relative;
	color: var(--wp--preset--color--white);
	padding-top: 90px;
	padding-bottom: 90px;
}

.footer-first .cta-wrapper * {
	position: relative;
}

.footer-first .cta-wrapper-overlay {
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.footer-first .cta-wrapper img {
	display: inline-block;
	margin-right: 24px;
	width: 32px;
	height: 32px;
}

.footer-first .cta-wrapper p {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-first .cta-wrapper hr, .footer-first .cta-wrapper .cta-contact-details {
	margin: 32px auto;
}

.footer-first .logos-wrapper {
	text-align: center;
	padding: 40px 0;
}

.footer-first .logos-wrapper img {
	max-width: 100%;
	max-height: 50px;
	width: auto;
	margin: 0 1.5%;
}

.site-footer {
	padding: 80px 0;
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
	position: relative;
	padding-bottom: 100px;
  overflow: hidden;
}
.footer-wrapper-columns {
	display: block;
	position: relative;
	z-index: 4;
	column-gap: 30px;
}
.site-footer .container {
	max-width: var(--wp--custom--content-size);
	margin: 0 auto;
	padding: 0 20px;
	z-index: 4;
}

.footer-col-1 img {
	width: 90%;
	max-width: 250px;
}

.site-footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
	flex-basis: 0!important;
}

.site-footer .footer-col-4 .widget_media_image {
	display: inline-block;
	margin-right: 5px;
}

.site-footer .footer-col-4 img {
	width: 32px;
	height: 32px;
}

.site-footer h5 {
	margin-top: 0;
}

.site-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

@media(min-width:600px) {
	.site-footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
		flex-basis: 50%!important;
	}	
}

@media(min-width:991px) {
	.site-footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
		flex-basis: 0!important;
	}	
}

@media screen and (min-width: 37.5em) {
	.footer-wrapper-columns {
		display: flex;
	}
	.footer-wrapper-columns > div {
		flex: 1;
	}	
}

/* Blocks
--------------------------------------------- */
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 210px;
}

.wp-block-cover.alignfull, .wp-block-cover.alignfull .wp-block-group {
	padding: 0!important;
}

main.wp-block-group > div[class^="wp-block-"], .wp-block-cover .wp-block-cover__inner-container, .header-block, .wp-block-navigation__responsive-close {
	max-width: var(--wp--custom--content-size)!important;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.header-block {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	margin: 40px auto;
	z-index: 3;
}

.wp-block-cover.no-gap {
	margin-block-start: 0!important;
}

.wp-block-navigation__responsive-close {
	margin: 40px auto;
}

.home .hero {
	position: relative;
	overflow: hidden;
}

.home .hero .wp-block-cover__inner-container {
	width: 100%!important;
}

.home .hero .wp-block-columns {
	gap: 0;
}

.home .hero .wp-block-column:first-of-type {
	z-index: 1;
}

.home .hero .wp-block-image, .home .hero .wp-block-image img {
	height: 100%;
	width: auto;
}

.home .hero .wp-block-image img {
	position: absolute;
}

.home .hero .wp-block-image.ice img {
	width: 494px;
	height: 943px;
	bottom: 0;
	left: 33.33%;
}

.home .hero .wp-block-image.wind img {
	width: 1087px;
	height: 943px;
	bottom: 0;
	left: 54.166%;
}

.home .hero .wp-block-image.storm img {
	width: 1087px;
	height: 805px;
	top: 0;
	left: 54.166%;
}

.home .hero .wp-block-image:first-of-type {
	margin-right: -10%;
}

.home .hero .wp-block-image:last-of-type {
	margin-right: -10%;
}

.overlap {
	margin-top: -65%!important;
}

.icon {
	max-width: 170px;
	max-height: 170px;
}

.narrow, .wp-block-group:not(.slider) > .narrow {
	max-width: var(--wp--custom--content-size)!important;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100%;
}

p.narrow, h2.narrow, .wp-block-group:not(.slider) > p.narrow, .wp-block-group:not(.slider) > h2.narrow {
	margin-bottom: 1.5rem;
}

.wp-block-group:not(.slider) {
	padding: 20px 0!important;
}

.wp-block-cover.link, .wp-block-cover.link a {
	cursor: pointer;
	transition: .4s all;
	text-decoration: none;
}

.wp-block-cover.link:hover, .wp-block-cover.link:hover a {
	color: var(--wp--preset--color--gold);
}

.wp-admin .edit-post-visual-editor {
	padding-bottom: 40px;
}

.wp-admin .editor-styles-wrapper h1 {
	color: var(--wp--preset--color--dark-grey);
}

.wp-block-file, a[href*=".pdf"], a[href*=".PDF"], a[href*=".doc"], a[href*=".DOC"], a[href*=".docx"], a[href*=".DOCX"], a[href*=".xls"], a[href*=".XLS"], a[href*=".xlsx"], a[href*=".XLSX"], a[href*=".ppt"], a[href*=".PPT"], a[href*=".pptx"], a[href*=".PPTX"] {
  position: relative;
}

.wp-block-file:hover a, a[href*=".pdf"], a[href*=".PDF"], a[href*=".doc"], a[href*=".DOC"], a[href*=".docx"], a[href*=".DOCX"], a[href*=".xls"], a[href*=".XLS"], a[href*=".xlsx"], a[href*=".XLSX"], a[href*=".ppt"], a[href*=".PPT"], a[href*=".pptx"], a[href*=".PPTX"] {
  color: var(--wp--preset--color--blue);
  border: 1px solid var(--wp--preset--color--medium-grey);
}

.wp-block-file:hover:before, a[href*=".pdf"]:hover:before, a[href*=".PDF"]:hover:before, a[href*=".doc"]:hover:before, a[href*=".DOC"]:hover:before, a[href*=".docx"]:hover:before, a[href*=".DOCX"]:hover:before, a[href*=".xls"]:hover:before, a[href*=".XLS"]:hover:before, a[href*=".xlsx"]:hover:before, a[href*=".XLSX"]:hover:before, a[href*=".ppt"]:hover:before, a[href*=".PPT"]:hover:before, a[href*=".pptx"]:hover:before, a[href*=".PPTX"]:hover:before {
  background-color: var(--wp--preset--color--blue);
  background-image: url(images/download-icon-hover.svg);
}

.wp-block-file:before, a[href*=".pdf"]:before, a[href*=".PDF"]:before, a[href*=".doc"]:before, a[href*=".DOC"]:before, a[href*=".docx"]:before, a[href*=".DOCX"]:before, a[href*=".xls"]:before, a[href*=".XLS"]:before, a[href*=".xlsx"]:before, a[href*=".XLSX"]:before, a[href*=".ppt"]:before, a[href*=".PPT"]:before, a[href*=".pptx"]:before, a[href*=".PPTX"]:before {
  content: "";
  background-image: url(images/download-icon.svg);
  background-size: 22px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  height: 35px;
  width: 35px;
  background-color: var(--wp--preset--color--smoke);
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  border-radius: 5px;
  transition: all ease .3s;
}

.wp-block-file a, a[href*=".pdf"], a[href*=".PDF"], a[href*=".doc"], a[href*=".DOC"], a[href*=".docx"], a[href*=".DOCX"], a[href*=".xls"], a[href*=".XLS"], a[href*=".xlsx"], a[href*=".XLSX"], a[href*=".ppt"], a[href*=".PPT"], a[href*=".pptx"], a[href*=".PPTX"] {
  color: var(--wp--preset--color--dark-grey);
  font-weight: var(--wp--custom--bold-weight);
  padding: 20px 20px 20px 60px;
  background-color: var(--wp--preset--color--smoke);
  margin-bottom: 15px;
  display: block;
  text-decoration: none;
  transition: all ease .3s;
  border: 1px solid var(--wp--preset--color--smoke);
}

.wp-block-file a.wp-block-file__button {
  display: none;
}

.wp-block-image img {
  height: auto;
  width: 100%;
}

.wp-block-image.not-100-percent img {
	width: auto;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
	flex-grow: 0;
}

.wp-block-image figcaption {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--navy);
	font-weight: bold;
}

@media(min-width:768px){
	.wp-block-image figcaption {
		font-size: var(--wp--preset--font-size--normal);
	}
}

@media(min-width:1200px){
	.wp-block-image figcaption {
		font-size: var(--wp--preset--font-size--xl);
	}
}


.wp-block-button.events-button , .wp-block-button.events-button a {
  width: 100%;
  text-align: left;
}

.wp-block-button.events-button a {
  padding-right: 30px;
  position: relative;
}

.wp-block-button.events-button a:after {
  content: url(images/arrow-icon.svg);
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 37px;
  height: 37px;
  padding: 7px;
  z-index: 1;
  border-radius: 20px;
  background: var(--wp--preset--color--blue);
  border: 1px solid var(--wp--preset--color--blue);
  transition: all .4s ease-in-out;
}

.wp-block-button.events-button a:hover:after {
  background: var(--wp--preset--color--blue);
}

.wp-block-button__link {
	transition: .4s background-color ease-in-out;
	margin-bottom: 10px;
}

p.welcome {
	margin-bottom: -1rem;
}

.header-left {
	border-top: 3px solid var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--xl);
}

.wp-block-acf-header-left input{
	font-size: var(--wp--preset--font-size--xl);
}

.wp-block-columns.cards {
	margin-top: -94px;
	z-index: 1;
	position: relative;
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 30px;
}

.wp-block-columns.cards .wp-block-column {
	box-shadow: var(--wp--custom--card-shadow);
}

.wp-block-columns.cards .wp-block-column h4, .wp-block-columns.cards .wp-block-column p {
	margin-left: 20px;
	margin-right: 20px;
}

.wp-block-columns.cards .wp-block-column .wp-block-buttons, .wp-block-columns.cards .wp-block-column .wp-block-button, .wp-block-columns.cards .wp-block-column .wp-block-button__link {
	width: 100%;
	display: block;
	border: none;
	margin-bottom: 0;
	text-align: left;
	position: relative;
}

.wp-block-columns.cards .wp-block-column .wp-block-button__link:after {
	position: absolute;
	right: 20px;
	content: url(images/button-arrow.svg);
	width: 28px;
	height: 22px;
}


.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
	margin-left: 0!important;
}

@media(min-width:200px) {
	.wp-block-columns.cards>.wp-block-column:not(:only-child) {
    flex-basis: 100%!important;
	}
}

@media(min-width:600px) and (max-width:990px) {
	.wp-block-columns.cards>.wp-block-column:not(:only-child) {
    flex-basis: calc(50% - 20px)!important;
		min-width: calc(50% - 20px);
	}
}

@media(min-width:991px) {
	.wp-block-columns.cards>.wp-block-column:not(:only-child) {
    flex-basis: 0!important;
	}
}

.wp-block-columns.brands {
	flex-wrap: wrap;
	align-items: center;
	row-gap: 20px;
	column-gap: 20px;
}

.wp-block-columns.brands .wp-block-column {
	padding: 0 10px;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
	margin-left: 0!important;
}

@media(min-width:200px) {
	.wp-block-columns.brands>.wp-block-column:not(:only-child) {
    flex-basis: calc(50% - 20px)!important;
	}
}

@media(min-width:600px) {
	.wp-block-columns.brands>.wp-block-column:not(:only-child) {
    flex-basis: calc(25% - 20px)!important;
	}
}

@media(min-width:1200px) {
	.wp-block-columns.brands>.wp-block-column:not(:only-child) {
    flex-basis: 0!important;
	}
}


/* Slick
--------------------------------------------- */
.page .slick-slide {
	height: calc(90vh - 140px);
}
.slick-slide.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slick-dots {
	list-style: none;
	margin-top: -10vh;
	max-width: var(--wp--custom--content-size);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-left: 15px;
}

.slick-dots li {
	content: '';
	border-radius: 20px;
	border: 1px solid;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--dark-grey);
	display: inline-block;
  margin: 5px;
	width: 8px;
	height: 8px;
	transition: 1s all;
}

.slick-dots li.slick-active {
	background-color: var(--wp--preset--color--white);
}

.slick-dots li button {
	visibility: hidden;
	width: 8px;
	height: 8px;
	overflow: hidden;
	padding: 0;
}

/* Ajax Load More (ALM)
--------------------------------------------- */
.news-item-wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	min-height: 360px;
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	-ms-flex-align: end;
	align-items: flex-end;
	background-position: 0px 0px, 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	text-decoration: none;
	color: var(--wp--preset--color--blue);
}

.news-item-wrapper:hover {
	transition: all ease 300ms;
	text-decoration: none;
}

.news-item-wrapper._1 {
	margin-bottom: 5%;
	border-left: 15px solid var(--wp--preset--color--gold);
}

.news-item-wrapper._2 {
	margin-top: 5%;
	border-right: 15px solid var(--wp--preset--color--gold);
}

.news-item-wrapper.archive-page {
	width: 100%;
	margin-bottom: 30px;
	display: inline-block;
	vertical-align: top;
	box-shadow: var(--wp--custom--card-shadow);
}

.news-item-wrapper.archive-page:hover {
	border-left: 10px solid var(--wp--preset--color--gold);
}

.news-item-wrapper.subject-page {
	width: 49%;
	margin-bottom: 30px;
}

.news-item-wrapper.subject-page:hover {
	border-left: 10px solid var(--wp--preset--color--gold);
}

.news-item-wrapper .services-wrapper {
	color: var(--wp--preset--color--black);
	font-size: var(--wp--preset--font-size--small);
	margin-top: 10px;
}

.news-item-inner {
	width: 100%;
	padding: 30px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.news-item-image {
	height: 220px;
	width: 100%;
	background-size: cover;
}

a .news-item-title, .news-item-title {
	color: var(--wp--preset--color--blue);
	font-size: 2.2rem;
	text-decoration: none;
	margin-bottom: 10px;
	margin-top: 0;
}

.news-section a {
	text-decoration: none;
}

.news-item-link {
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
	color: var(--wp--preset--color--white);
	font-weight: 700;
	text-decoration: none;
}

.news-tag {
	display: inline-block;
	padding: 2px 10px;
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--white);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.alm-load-more-btn.more {
	background-color: var(--wp--preset--color--blue)!important;
	transition: var(--wp--custom--standard-transition);
}

@media(min-width:450px){
	.news-item-wrapper.archive-page {
		width: calc(50% - 30px);
	}
	
	.news-item-wrapper.archive-page:nth-child(even) {
		margin-left: 15px;	
	}
	
	.news-item-wrapper.archive-page:nth-child(odd) {
		margin-right: 15px;	
	}
}


@media(min-width:768px){
	.news-item-wrapper.archive-page {
		width: calc(100%);
	}
	
	.news-item-wrapper.archive-page:nth-child(even) {
		margin-left: 0;	
	}
	
	.news-item-wrapper.archive-page:nth-child(odd) {
		margin-right: 0;	
	}
}

@media(min-width:1000px){
	.news-item-wrapper.archive-page {
		width: calc(50% - 30px);
	}
	
	.news-item-wrapper.archive-page:nth-child(even) {
		margin-left: 15px;	
	}
	
	.news-item-wrapper.archive-page:nth-child(odd) {
		margin-right: 15px;	
	}
}

/* Margins & Padding
--------------------------------------------- */
.no-margins {
	margin: 0!important;
}
.small-margins {
	margin: 5px!important;
}

/* Sidebars
--------------------------------------------- */
.side-nav {
  padding: 40px;
  background-color: var(--wp--preset--color--smoke);
}
.side-nav .inner-wrap {
	margin-bottom: 40px;
}
.side-nav .inner-wrap:last-of-type {
	margin-bottom: 0;
}
.side-nav h4 {
	margin: 0 0 10px 0;
	color: var(--wp--preset--color--blue);
	cursor: pointer;
	position: relative;
}
.side-nav h4:after {
	position: absolute;
	right: 0;
	content: '+';
	font-weight: var(--wp--custom--bold-weight);	 
	transition: var(--wp--custom--standard-transition);
}
.side-nav h4.opened:after {
	content: '-';
	transform: rotate(180deg);
}
.side-nav ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.side-nav li {
  padding: 0;
  display: block;
}
.side-nav .current-menu-ancestor > a {
  color: var(--wp--preset--color--blue);
}
.side-nav .current-menu-item > a {
	text-decoration: underline;
}
.side-nav a {
  padding: 8px 0;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid var(--wp--preset--color--medium-grey);
	color: var(--wp--preset--color--black);
}
.side-nav .page_item_has_children > a, .side-nav .current_page_item > a, .side-nav .menu-item-has-children > a {
	font-weight: var(--wp--custom--bold-weight);
}
.side-nav .current_page_item > a {
	color: var(--wp--preset--color--blue);
	text-decoration: none;
}

.side-nav ul ul ul li, .side-nav .children li, .side-nav .sub-menu li {
  padding-left: 10px;
}
#downloads {
	padding: 40px;
	margin: 20px 0;
	background-color: var(--wp--preset--color--smoke);
}
#downloads .heading {
	color: var(--wp--preset--color--blue);
	font-weight: var(--wp--custom--bold-weight);
	border-bottom: 1px solid var(--wp--preset--color--medium-grey);
}
#downloads a {
	border-bottom: 1px solid var(--wp--preset--color--medium-grey);
}

/* Pagination
--------------------------------------------- */
.pagination {
  display: block;
  width: 100%;
  margin: 40px auto;
	max-width: var(--wp--custom--content-size);
	padding: 0 20px;
}

.pagination ul {
  list-style: none;
	margin: 0;
	padding: 0;
}

.pagination ul li {
  display: inline-block;
}

.pagination ul li a,
.pagination ul li span {
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  position: relative;
  min-width: 150px;
  margin-top: 20px;
  margin-right: 5px;
  border-radius: 5px;
  text-align: center;
  color: #231f20;
  background-color: var(--wp--preset--color--medium-grey);
  border: 1px solid var(--wp--preset--color--medium-grey);
  transition: all ease 300ms;
}

.pagination ul li.next-posts a,
.pagination ul li a.next,
.pagination ul li a.prev {
  background-color: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--green);
  transition: all ease 300ms;
}

.pagination ul li.next-posts a:hover {}

.pagination ul li:hover a,
.pagination ul li span {
  background-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}


/* Events
--------------------------------------------- */
.event-wrapper a {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  align-items: flex-end;
  padding: 25px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--wp--preset--color--blue);
}
.event-title {
  font-size: var(--wp--preset--font-size--xxl);
  font-weight: var(--wp--custom--bold-weight);
  flex: 1.5;
}
.event-date {
  font-size: var(--wp--preset--font-size--normal);
  position: relative;
  flex: 1;
}
.event-date:after {
  content: url(images/arrow-icon.svg);
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 37px;
	height: 37px;
	padding: 7px;
	border-radius: 20px;
	transition: all .4s ease-in-out;
}
.event-wrapper a:hover .event-date:after {
	background: var(--wp--preset--color--light-blue);
}
.ui-widget-header {
	border: 1px solid var(--wp--preset--color--blue);
	background: var(--wp--preset--color--blue);
	color: #ffffff;
	font-weight: bold;
}
.ui-widget-content {
	border: 1px solid var(--wp--preset--color--medium-grey);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}
.fc-day-grid-event{
	background-color: var(--wp--preset--color--gold)!important;
	border-color: var(--wp--preset--color--gold)!important;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
	border: 1px solid var(--wp--preset--color--light-blue);
	background: var(--wp--preset--color--light-blue);
	color: var(--wp--preset--color--dark-grey);
}

/* Page Specific
--------------------------------------------- */
.warning {
	background-color: var(--wp--preset--color--white);
	border: 1px solid red;
	padding: 20px;
}

/*--------------------------------------------------------------
# Admin
--------------------------------------------------------------*/
button .block-editor-block-icon.has-colors svg {
	fill: var(--wp--preset--color--brown);
}
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>.components-button {
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--black);
	font-weight: 700;
	border-color: var(--wp--preset--color--green);
}

.components-panel__header.edit-site-sidebar__panel-tabs ul,
.components-panel__header.edit-post-sidebar__panel-tabs ul {
	list-style-type: none!important;
	list-style: none;
}


/*--------------------------------------------------------------
# Staff List
--------------------------------------------------------------*/
  
.staff-list-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.staff-name {
  margin: 0;
}

.staff-job-title {
  letter-spacing: 0;
}

.staff-list-outer-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.staff-list-inner-wrapper {
  width: 33.33%;
  padding: 20px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  word-wrap: break-word;
  line-height: 1.2;
}

.staff-list-inner-wrapper:hover {
  background-color: var(--wp--preset--color--yellow);
}

.staff-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.staf-list-title {
  display: block;
  margin-top: 10px;
  padding-right: 20px;
  background-color: #fff;
	border-bottom: 1px solid var(--wp--preset--color--blue);
}

.staff-list-title-wrapper {
  position: relative;
}


/*--------------------------------------------------------------
# Single
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Flow Flow
--------------------------------------------------------------*/
.page #ff-stream-1 {
	background-color: var(--wp--preset--color--white);
}

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/
::-webkit-scrollbar {
	width: 12px;
}
::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--green);
	border-left: 1px solid var(--wp--preset--color--green);
}
::-webkit-scrollbar-track {
	background-color: var(--wp--preset--color--turqoise);
	border-left: 1px solid var(--wp--preset--color--blue);
}

/*-------------------------------------------------------------
# EditorsKit
-------------------------------------------------------------*/
.ek-underline {
	text-decoration: none!important;
	position: relative;
	background-color: var(--wp--preset--color--green);
	box-shadow: 0.5em 0 0 var(--wp--preset--color--green),-0.5em 0 0 var(--wp--preset--color--green);
	z-index: -1;
}

@font-face{font-family:'Cooperhewitt book';src:url(./fonts/CooperHewitt-Book.ttf) format('truetype');font-weight:400;font-style:normal}@font-face{font-family:Cooperhewitt;src:url(./fonts/CooperHewitt-BookItalic.ttf) format('truetype');font-weight:400;font-style:italic}@font-face{font-family:Cooperhewitt;src:url(./fonts/CooperHewitt-BoldItalic.ttf) format('truetype');font-weight:700;font-style:italic}@font-face{font-family:Cooperhewitt;src:url(./fonts/CooperHewitt-Bold.ttf) format('truetype');font-weight:700;font-style:normal}@font-face{font-family:Cooperhewitt;src:url(./fonts/CooperHewitt-Semibold.ttf) format('truetype');font-weight:600;font-style:normal}@font-face{font-family:Cooperhewitt;src:url(./fonts/CooperHewitt-SemiboldItalic.ttf) format('truetype');font-weight:600;font-style:italic}


/*-------------------------------------------------------------
# New Gutenberg Styles
-------------------------------------------------------------*/
.wp-block-post-content > *:not(.alignfull) {
	max-width: var(--wp--custom--content-size);
	margin-left: 20px;
	margin-right: 20px;
}
@media (min-width:1440px){
	.wp-block-post-content > *:not(.alignfull) {
		max-width: var(--wp--custom--content-size);
		margin-left: auto;
		margin-right: auto;
	}	
}
.overflowx-allow {
	overflow-x: auto;
}
.overflowx-allow table {
	width: max-content;
	border-collapse: collapse;
}
@media (max-width:660px){
	tr:nth-child(odd) {
		background-color: var(--wp--preset--color--smoke);
	}
}
td, th {
	padding: 2px 25px;
	font-family: var(--wp--custom--font-family-secondary);
	font-weight: 400;
}
td {
	border-bottom: 1px solid silver;
	font-size: .9rem;
}
tr th {
	text-align: left;
}
th {
	margin-bottom: 10px;
	color: var(--wp--preset--color--blue);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: none;
}
.my-applications td {
	max-width: 345px;
}
.my-applications tr td:nth-child(5) {
	min-width: 135px;
}
.my-applications table + .wp-block-buttons {
	margin: 40px 0;
}
.wp-block-buttons a {
	text-decoration: none;
	cursor: pointer;
}

/** Save form modal **/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: var(--wp--preset--color--blue);
  margin: auto;
  padding: 0;
  border: 1px solid #888;
	color: #fff;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: var(--wp--preset--color--blue);
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: var(--wp--preset--color--blue);
  color: white;
}