/*
	Theme Name: Sofia Thomas
	Theme URI: https://www.sofiathomas.co.uk
	Description: Custom WP theme for Sofia Thomas
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
#hidden {display: none;}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: effra, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size:12pt;
	color:#464857;
	/*background:#E6E3D8;*/
	background-color: #FBFAF7;
	line-height:1.6em;
	letter-spacing:0.02em;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height:auto;
	vertical-align:bottom;
}
a {
	color:#997832;
	text-decoration:none;
	transition: 0.6s color;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

main {
	background: transparent;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
}
h1 {
	font-size:1.8em;
}
h2 {
	font-size:1.6em;
	line-height:1.4em;
}
h3 {
	font-size:1.4em;
}
h4 {
	font-size:1.2em;
}

h5, h6 {
	margin-top:0;
}

ul li {
	list-style:none;
}
ul li::before {
    font-family: "FontAwesome"; content: "\f054";
	margin-left:-2em;
	margin-right:1.3em;
}

ul#menu-header-top li::before, 
#main-nav ul li::before, 
.footer-1 ul li::before, 
.footer-2 ul li::before, 
ul.services-dots li::before,
.slick-dots li::before {
	content:'';
	margin:0;
}

.hide-mobile {
	display:none;
}

.pad-1em {
	padding:1em;
}
.pad-2em {
	padding:2em;
}
.pad-3em {
	padding:3em;
}

.line-top,
.line-right,
.line-bottom,
.line-left {
	background:#997832; 
	position:absolute;
}
.line-top {
	width:100%;
	height:1px;
	left:0;
	top:2em;
}
.line-right {
	width:1px;
	right:2em;
	bottom:0;
	top:0;
}

.line-bottom {
	width:100%;
	height:1px;
	left:0;
	bottom:2em;
}
.line-left {
	width:1px;
	left:2em;
	bottom:0;
	top:0;
}

figure, iframe {
	max-width:100%;
}


/* Mobile nav */

#nav-button-container {
	padding:0.5em 1em;
	position:absolute;
	right:25px;
	/*top:50%;*/
	transform: translateY(-50%);
	width:6rem;
	cursor:pointer;
	text-transform: uppercase;
	font-size:0.9em;
	text-align: left;
	z-index:3;
	display:none;
}


#nav-button {
	position:absolute;
	top:0;
	right:8px;
	height:30px;
	width:30px;
}


#nav-button span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #39A0C2;
  opacity: 1;
  filter:alpha(opacity=100);
  left: 0;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
      transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  z-index: 3;
}

#nav-button span:nth-child(1) {
  top: 0px;
}

#nav-button span:nth-child(2),#nav-button span:nth-child(3) {
  top: 8px;
}

#nav-button span:nth-child(4) {
  top: 16px;
}



#nav-button.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
  display:none;
}

#nav-button.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
}

#nav-button.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
}

#nav-button.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1200px;
	width:95%;
	margin:0 auto;
	position:relative;
	background:#fbfaf7;
}
.inner {
	width:93%;
	position:relative;
	margin:0 auto;
}
.inner-narrow {
	width:75%;
}
/* header */
#header {
	position:sticky;
	top:0;
	-moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
/*	  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.11), 
              0 2px 2px rgba(0,0,0,0.11), 
              0 4px 4px rgba(0,0,0,0.11), 
              0 6px 8px rgba(0,0,0,0.11),
              0 8px 16px rgba(0,0,0,0.11);
          box-shadow: 0 1px 1px rgba(0,0,0,0.11), 
              0 2px 2px rgba(0,0,0,0.11), 
              0 4px 4px rgba(0,0,0,0.11), 
              0 6px 8px rgba(0,0,0,0.11),
              0 8px 16px rgba(0,0,0,0.11);*/
	/*background:#fff;*/
	background-color: #FBFAF7;
	color:#1f6093;
}
#header a {
	color:#1f6093;
}
#header, #header-top {
	border-bottom: 1px solid #997832;
	z-index:2;
}
#header-top {
	font-size:0.8em;
	color:#061622;
}
#header-top a {
	color:#061622;
}
#header-top .left > * {
	margin-right:1em;
}
#header-top .right {
	/*width:45%;*/
	width: 25%;
}
#header-top .right .mailchimp-button a {
	color:#997832 !important;
}
#header .inner {
	display:flex;
	justify-content: space-between;
	align-items: center;
	border-left: 1px solid #997832;
	border-right: 1px solid #997832;
	padding:0 1em;
	position: static;
}
.header-bottom {
	display:flex;
	justify-content: space-between;
	padding-right:0 !important;
}
#menu-header-top {
	display:flex;
	justify-content: space-between;
	list-style:none;
	text-transform: uppercase;
}
/* logo */
.logo {
	flex-shrink: 1;
	padding:1em 2em 1em 0;
}
.logo-img {
	max-width:265px;
	width: 165px;
}
/* nav */
#main-nav {
	/*position:sticky;*/
	top:0;
	flex-grow:1;
	height:100%;
	height:118px;
}
#main-nav a {

	color:#061622;
}
#main-nav .current-menu-item > a {
	background-color: #F9F5EE;
	width:100%;
}
#main-nav > ul {
	display: flex;
	justify-content: space-between;
	list-style:none;
	height:100%;
	width:100%;
	margin:0;
	padding:0;
	align-items: stretch;
}
#main-nav > ul > li {
	border-left:1px solid #997832;

	height:100%;
	width:100%;
}
#main-nav > ul > li > a{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	text-align:center;
	padding-top:1em;
	height:100%;
	box-shadow: inset 0px 0px 0px #EBE4D6;
	transition: all 0.5s !important;
}

#main-nav > ul > li > a:hover {
	box-shadow: inset 0px -118px 0px #EBE4D6;
}
#main-nav > ul > li .sub-menu {
	position: absolute;
	left:0;
	width:100%;
	display: flex;
	flex:0;
	justify-content: space-around;
	background-color: #EBE4D6;
	border-bottom:1px solid #997832;
	display:none;
	transition: 0.6s all;
  	overflow: hidden;
  	padding:0;
}
.sub-menu li a {
	padding:1.3em;
	display: block;
}
.sub-menu > li, .sub-menu > li a {
    width: 100%;
    text-align: center;
}
.sub-menu .current-menu-item > a {
	background-color: #F9F5EE;
}

#main-nav > ul > li:hover .sub-menu {
	display: flex;
	height:auto;
	/*max-height:100px;*/
	opacity:1;
}


/* Hero Images */
#hero-image {
	position:relative;
	/*margin-bottom:;*/
}

#hero-caption {
	position:absolute;
	bottom:-2em;
	left:0;
	width:50%;
	padding:2em 4em 6em 2em;
	border-right:1px solid #997832;
	border-bottom:1px solid #997832;
	transition:.6s all;
	z-index:1;
}

#hero-caption-line-bottom {
	width:100%;
	height:1px;
	background:#997832; 
	position:absolute;
	left:0;
	bottom:2em;
}
#hero-caption-line-right {
	width:1px;
	background:#997832; 
	position:absolute;
	right:2em;
	bottom:0;
	top:0;
}


/* footer */
.footer {
	background: #F9F5EE;
	padding-top:3em;
	padding-bottom:4em;
}
.footer a {
	color:#444;
}
.footer .inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap:1em;
}

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

.footer-1 { grid-area: 1 / 1 / 2 / 2; }
.footer-2 { grid-area: 1 / 2 / 2 / 3; }
.footer-3 { grid-area: 1 / 3 / 2 / 4; }
.footer-4 { grid-area: 1 / 4 / 2 / 5; }
.footer-5 { 
	grid-area: 2 / 1 / 3 / 2;
	align-self: flex-end;  
}
.footer-6 { 
	grid-area: 2 / 2 / 4 / 4;
	align-self: flex-end; 
	text-align:center;
}
.footer-6 img {
	display: inline;
	margin:0 10px;
}
.footer-7 { grid-area: 2 / 3 / 3 / 4; }
.footer-8 {
	grid-area: 2 / 4 / 3 / 5; 
	font-size:0.8em;
	align-self: flex-end;
}
.footer-8 a {
	color:#997832;
}



.blue-gradient {
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#e6235f92',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	color:#fff;
}

#homepage-bottom-right {
/*	background: url(img/watermark-right.svg), -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%); 
	background: url(img/watermark-right.svg), -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%);
	background: url(img/watermark-right.svg), linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); 
	filter: url(img/watermark-right.svg), progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#e6235f92',GradientType=1 ); */
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#e6235f92',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	color:#fff;
	background-blend-mode: multiply;
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 100%;
}

.darker-blue-gradient {
	background: -moz-linear-gradient(-45deg, rgba(35,51,101,0.96) 0%, rgba(129,138,145,0.9) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(35,51,101,0.96) 0%,rgba(129,138,145,0.9) 100%);
	background: linear-gradient(135deg, rgba(35,51,101,0.96) 0%,rgba(129,138,145,0.9) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233365', endColorstr='#e6235f92',GradientType=1 );
	color:#fff;
}


#about-blue-right {
/*	background: url(img/watermark-about-right.svg), -moz-linear-gradient(-45deg, rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%);
	background: url(img/watermark-about-right.svg), -webkit-linear-gradient(-45deg, rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%);
	background: url(img/watermark-about-right.svg), linear-gradient(135deg, rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%);
	filter: url(img/watermark-about-right.svg), progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233365', endColorstr='#e6235f92',GradientType=1 );*/
	background: -moz-linear-gradient(-45deg, rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%);
	background: linear-gradient(135deg, rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233365', endColorstr='#e6235f92',GradientType=1 );
	color:#fff;
  background-position: right bottom;
	background-size: 100%;
	background-blend-mode: multiply;
	background-repeat: no-repeat;
}




.light-blue-gradient {
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(61,173,222,0.96) 100%);
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(61,173,222,0.96) 100%);
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(61,173,222,0.96) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#f53dadde',GradientType=1 );
	color:#fff;
}

 
#about-blue-left {
/*	background:url(img/watermark-about-left.svg), -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(80,91,100,0.6) 100%);
	background:url(img/watermark-about-left.svg), -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(80,91,100,0.6) 100%);
	background:url(img/watermark-about-left.svg), linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(80,91,100,0.6) 100%);
	filter:url(img/watermark-about-left.svg), progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#f53dadde',GradientType=1 );*/
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(80,91,100,0.6) 100%);
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(80,91,100,0.6) 100%);
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(80,91,100,0.6) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#f53dadde',GradientType=1 );
	color:#fff;
	background-position: left bottom;
	background-size: 100%;
	background-blend-mode: multiply;
	background-repeat: no-repeat;
}

.blue-grey-gradient {
	background: rgb(195,196,200); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(195,196,200,.6) 0%, rgba(197,234,250,.6) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgba(195,196,200,.6) 0%,rgba(197,234,250,.6) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgba(195,196,200,.6) 0%,rgba(197,234,250,.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c3c4c8', endColorstr='#c5eafa',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	background-blend-mode: multiply;
}

.grey-panel {
	/*background-color: #E6E3D8;*/
	background-color: #FBFAF7;
}

.light-button {
	border:2px solid #3e4d58;
	color:#3e4d58;
}

.dark-button {
	border:2px solid #fff;
	color:#fff;
}

.light-button, .dark-button {
	transition:0.6s all;
	padding:0.6em 1.5em;
	box-shadow: inset 0px 0px 0px transparent;
	text-transform: uppercase;
}
.light-button:hover {
	color:#fff;
	box-shadow: inset 300px 0px 0px #3e4d58;
}
.dark-button:hover {
	color:#3e4d58;
	box-shadow: inset 300px 0px 0px #fff;
}

#guides-popup {
	width:400px;
	position: fixed;
	bottom:0;
	right:0;
	z-index:2;
	background-color:#fff;
	border:1px solid #DBDEE1;
	display:none;
}

#guides-popup-close {
	position:absolute;
	top:0;
	right:0;
	content:'×';
	height:30px;
	width: 30px;
	background:#fff;
	color:#475474;
	display:flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6em;
	cursor: pointer;
}

#guides-popup-container {
	padding:1.5em;
}

#guides-popup-container h3 {
	margin-top:0;
}

#guides-popup-button {
	background:#5FC5DB;
	color:#fff;
	text-transform: uppercase;
	font-size:0.8em;
	width:100%;
	text-align: center;
	display: block;
	line-height:2.5em;
	transition:0.6s all;
}

#guides-popup-button:hover {
	background: #475474;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/


/* Homepage */
#clients {
	text-align:center;
	padding:5em;
}

#client-logos, #award-logos {
	display:flex;
	justify-content: space-around;
}

#awards {
	/*margin-top:5em;*/
	/*background-color:#F9F5EE;*/
	background-color: #FBFAF7;
	padding:3em;
}
#client-logos img, #award-logos img {
	transform: scale(0.7);
	height: 85px;
}
#upcoming-events-container {
	display:block;
	position:relative;
	clear:both;
}
#upcoming-events {
	margin-top:-2em;
	/*padding-top:75%;*/
	position: relative;
	width:100%;
	min-height:500px;
	clear:both;
}

#upcoming-events-inner {
	display:flex;
	justify-content: flex-start;
	/*position: absolute;*/
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width:100%;
}

#upcoming-events-inner > div {
	width:50%;
}

#upcoming-events-left {
	margin-top:6em;
	background-size:cover;
	background-position:center center;
	padding-top:calc(50% + 4em);
	position:relative;
}
/*#upcoming-events-left-panel {
	width:100%;
	height:10em;
	background: rgba(0,0,0,0.6);
	position:absolute;
	bottom:0;
	z-index:1;
}*/


#upcoming-events-right {
	padding:4em 2em 20em 4em;
	border-left:#997832;
	height:calc(100% - 4em);
	position:relative;
	/*padding-bottom:30%;*/
}

#upcoming-events-testimonial {
	background:#41aac9;
	color:#fff;
	padding:1em 2em;
	/*height:10em;*/
	width:75%;
	position:absolute;
	left:0;
	bottom:0;
	z-index:1;
}
#upcoming-events-testimonial span {
	font-style: italic;
}

#upcoming-events-line-top {
	width:100%;
	height:1px;
	background:#997832; 
	position:absolute;
	left:0;
	top:2em;
}
#upcoming-events-line-left {
	width:1px;
	height:100%;
	background:#997832; 
	position:absolute;
	left:2em;
	top:0;
}

#homepage-blog-container {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2em
}

#homepage-blog-container article img {
	transition:1s all;
	filter: grayscale(75%);
}
#homepage-blog-container article:hover img {
	filter: grayscale(0%);
}
.homepage-news {
	padding:3em 0 5em;
}
.homepage-news h1, .homepage-news h2 , .homepage-news > h3 {
	text-align:center;
}
.homepage-news > h3 {
	margin-bottom:2em;
}
.homepage-news article a, #blog-list-container article a {
	color:#444;
}
.homepage-news article a.blog-category, #blog-list-container article a.blog-category {
	color:#997832;
}

#homepage-bottom-section {
	position:relative;
	display: flex;
	justify-content: space-between;
	margin:0 auto;
}
#homepage-bottom-section > div {
	position:relative;
	width:50%;
	padding:4em;
}

#homepage-bottom-left {
	margin-bottom:5em;
	background-size:cover;
	background-position:center top;
	background-repeat: no-repeat;
}
#homepage-bottom-right {
	padding-bottom:10em !important;
	margin-top:5em;
}

/* Events */
#events-page-content {
	padding-top:6em;
}
#events-page-content h1 {
	text-align: center;
}

.event-month-tag {
	display:inline-block;
	padding:0.1em .8em;
	background: #997832;
	color:#3e4d58;
	font-size:0.7em;
	text-transform: uppercase;
	clear:both;
	margin-top:1em;
}
.event-panel {
	background:#253360;
	color:#997832;
	min-height:4em;
	padding:1em;
	margin:0;
	border-bottom:1px solid #997832;
	display:grid;
	grid-template-columns: 1fr 5fr 1fr;
	align-items: center;
	grid-gap:1em;
	transition:0.6s all;
}
.event-panel:hover {
	color:#997832;
	background:#1E5688;
/*	transform: translateY(-5px);
	-webkit-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);*/
}

.events-arrow {
	text-align:right;
}

#in-the-know {
	text-align:center;
	padding:3em 0 5em 0;
}

.event-alert {
	background-color:#222F59;
	color:#fff;
	padding:1em;
}

.event-alert a:hover {
	color:#fff;
}

/* About */
#about-blue-panels {
	position:relative;
	display: flex;
	flex-align:center;
	/*background:#E6E3D8;*/
	background-color: #FBFAF7;
	padding-top: 2em;
	padding-bottom: 5em; /* extra 3 em to negate offset of panel 2 */
}
#about-blue-panels > * {
	position:relative;
	padding:3em;
	width:50%;
}

.about-separator {
}


#about-blue-panels ul li {
	list-style:none;
	margin-bottom:1em;
	/*margin-left:1em;*/
}
#about-blue-panels ul li::before {
    font-family: "FontAwesome"; content: "\f054";
	margin-left:-2em;
	margin-right:1em;
  }
#about-blue-right {
	/*transform: translateY(5em);*/
	margin-bottom:-5em;
	margin-top:5em;
	/*background-image:url('img/watermark-right.svg');*/
}
.about-separator-container {
	position: relative;
}
.about-separator {
	position: relative;
	width:100%;
	display:block;
	height:auto;
}
.about-separator-caption {
    background-color: #997832;
    color: #42515b;
    text-transform: uppercase;
    font-size: .8em;
    padding: 0.5em 1em;
    box-sizing: border-box;
    content: 'Sofia Thomas';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#book {
	padding-top:6em;
	display:flex;
	justify-content:space-between;
}

#book > * {
	width:50%;
}
#book-left h2:first-of-type {
	margin-top:0;
}
#book-right {
	display:flex;
	align-items:center;
}


/* Services Pages */
#services-content-container {
/*	width:90%;
	margin:5em auto;*/
	padding:5em;
	position:relative;
}
#services-content-container h2 {
	text-align:center;

}
#services-content {
	display: flex;
	justify-content: space-between;
}
#services-content > div {
	width:calc(50% - 1em);
	padding:1em;
	margin:1em;
	/*text-align: justify;*/
  	text-align-last: left;
}
#services-slider {
	width:60%;
	display:block;
	position: relative;
	margin:0 auto;
	background-color:#42515b;
	color:#fff;
	margin-bottom:4em;
	padding-top:3em;
	margin-top:-4em;
}
#services-slider-inner {
	display:flex;
	grid-template-columns: 1fr 1fr;
	max-width:100%;
	padding-top:2em;
	margin-bottom:4em;
}
#services-slider-left {
	width:40%;
	position:relative;
}
#services-slider-left ul {
	list-style: none;
}
#services-slider-left ul li {
	margin:0;
}
#services-slider-left button {
	background-color:transparent;
	color:#f1f1f2;
	border:0;
	margin-bottom:0.6em;
	font-size: 1.3em;
	opacity:0.5;
	transition: 0.6s all;
	border-bottom:1px solid transparent;
	padding:3px 0;
	text-align: left;
	outline:0;
}
#services-slider-left ul li.slick-active button {
	border-bottom:1px solid #997832;
	opacity:1;
	color:#fff;
}
#services-slider-content {
	max-width:60%;
	padding:0 2em 4em;
}

#services-slider-arrows {
	position:absolute;
	bottom:0;
	left:0;
	line-height:4em;
}
#services-slider-arrows > i {
	padding:2em;
	color:#3A4751;
	background-color:#f3f3f3;
	cursor:pointer;
	font-size:0.8em;
}
#services-slider-arrows > i:first-of-type {
	background-color:#bebfc3
}


.services-news {
	margin-top:4em;
	margin-bottom:6em;
	padding-top:0;
}

.services-news #homepage-blog-container {
	margin-bottom:3em;
	margin-top:2em;
}



/* Contact Page */
#contact-page-container {
	display:flex;
	justify-content: space-between;
}
#contact-form {
	width:60%;
}
#contact-form ul, #contact-form ul li {
	padding:0;
	margin:0;
}
#contact-form ul li:before {
	display:none;
}
#contact-form .gform_wrapper.gravity-theme .gfield_checkbox label, #contact-form .gform_wrapper.gravity-theme .gfield_radio label {
	font-size:1em;
}
#contact-form input, #contact-form textarea {
	font-size:0.8em;
	padding:.8em;
}
#contact-form input[type="submit"] {
	background-color:#253766;
	color:#fff;
}
#contact-right {
	width:40%;
	padding-left:3em;
}
/*#contact-form form #form-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1em;
}
#contact-form form #form-container span:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
#contact-form form #form-container span:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
#contact-form form #form-container span:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
#contact-form form #form-container span:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
#contact-form form #form-container span:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
#contact-form form #form-container span:nth-child(6) { grid-area: 4 / 1 / 5 / 3; }
#contact-form form #form-container input[type="submit"] { 
	grid-area: 5 / 1 / 6 / 3; 
	background-color:#0977AF;
	color:#fff;
	border:0;
	transition: 0.6s all;
}

*/
#contact-form input, #contact-form textarea {
	width:100%;
	resize:none;
	min-height:2em;
}
#contact-form input[type="checkbox"] {
	width:auto;
	margin-right:0.5em;
	min-height:0;
}
#contact-form input[type="submit"] {
	background-color:#0977AF;
	border:0;
	text-transform: uppercase;
	transition: 0.6s all;
}
#contact-form input[type="submit"]:not([disabled]):hover {
	transform: translateY(-1px);
	background-color: #118EC7;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
}

#contact-form input[type="text"]::placeholder, 
#contact-form input[type="email"]::placeholder,
#contact-form input[type="tel"]::placeholder,
#contact-form textarea::placeholder {
	text-transform: uppercase;
}
/*------------------------------------*\
	REUSABLE MODULES
\*------------------------------------*/

#book-sofia {
	background:#253766;
	color:#fff;
	min-height:100px;
	width:100%;
	padding:3em 0;
}

#book-sofia .inner {
	display:flex;
	justify-content: space-between;
}
#book-sofia .inner > * {
	width:50%;
	position:relative;
}

#book-sofia-left {
	padding:65px 2em 20px 0;
}
#book-sofia-left span {
	font-style: italic;
	font-weight:bold;
}
#book-sofia-left > div::before, #book-sofia-left > div::after {
	height:60px;
	width:60px;
	content:'';
	position: absolute;
	display:block;
}

#book-sofia-left > div::before {
	background:url('img/quote-dark-blue-left.svg');
	background-size:contain;
	background-repeat: no-repeat;
	left:-1em;
	transform: translateY(-125%);
}

#book-sofia-left > div::after {
	background:url('img/quote-dark-blue-right.svg');
	background-size:contain;
	background-repeat: no-repeat;
	right:2em;
	transform: translateY(-20%);
}
#book-sofia-right {
	padding:0 0 0 2em;
}
#book-sofia-right h1 {
	text-align: left;
	margin-bottom:1em;
}

#book-sofia-right input {
	width:100%;
	display: block;
	margin-bottom:1.4em;
	min-height:1.6em;
	padding:0.8em;
	background:#0D1E44;
	border: 0;
	text-transform: uppercase;
	font-size:.8em;
	color:#fff;
}

#book-sofia-right input[type="submit"] {
	background: #20305D;
	border:1px solid #fff;
	color:#fff;
}

#faqs {
	min-height:300px;
	padding:5em;
/*	background-image: url('img/watermark-left.svg');*/
	background-size:contain;
	/*background-size:contain;*/
	/*background-blend-mode: screen;*/
	background-repeat: no-repeat;
	background-position:bottom left;
}

#faqs h1 {
	text-align:center;
	margin-bottom:2em;
}


/* testimonials slider */
#testimonials-slider {
	/*background: #E6E3D8;*/
	background-color: #FBFAF7;
	padding:7em;
	position:relative;
	width:100%;
	text-align: center;
}
#testimonials-slider::before {
	height:50px;
	width:50px;
	content:'';
	position:absolute;
	top:4em;
	left:4em;
	background-image:url('img/quote-light-blue-left.svg');
	background-size:contain;
	background-repeat: no-repeat;
}
#testimonials-slider::after {
	height:50px;
	width:50px;
	content:'';
	position:absolute;
	bottom:4em;
	right:4em;
	background-image:url('img/quote-light-blue-right.svg');
	background-size:contain;
	background-repeat: no-repeat;
}
#testimonials-slider .inner {
	position:relative;
}
.testimonial-text {
	font-size:1.2em;
}
.testimonials-slider-name {
	display:block;
	font-weight: bold;
	font-style: italic;
	margin-top:1em;
}

#testimonials-controls {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
}
.testimonial-prev, .testimonial-next {
	position:absolute;
	left:50%;
	bottom:.4em;
	cursor:pointer;
	padding:0;
	margin:0;
}
.testimonial-prev {
	transform: translateX(-2.6em);
}
.testimonial-next {
	transform: translateX(2em);
}
#testimonials-slider ul.slick-dots {
	margin:0;
	padding:0;
}

#testimonials-slider ul.slick-dots li {
  display: none;
}
#testimonials-slider ul.slick-dots li.slick-active {
  display: block;
}
.testimonials-page {
	background:#997832;
	color:#fff;
	display:inline-block;
	font-size:0.8em;
	padding:0.3em 1em;
	margin:0 auto;
	position:absolute;
	bottom:0;
	left:50%;
	transform: translateX(-50%);
}



/* Blog */
#blog-list-title {
	background: #F9F5EE;
	padding:3em 0;
	margin-bottom:2em;
	position:relative;
}
#blog-list-container {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 1.5em;
}
#blog-list-container article, #homepage-blog-container article {
	background-color:#F9F5EE;
	transition:0.6s all;
}
#blog-list-container article:hover, #homepage-blog-container article:hover {
	transform: translateY(-5px);
	-webkit-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
}
#blog-list-container article h2 {
	margin:0;
}
#homepage-blog-container h3 {
	margin-top:0.5em;
}
#blog-list-container article img {
	transition:1s all;
	filter: grayscale(75%);
}
#blog-list-container article:hover img {
	filter: grayscale(0%);
}

a.blog-category {
	display: block;
	color:#997832;
	font-size:0.8em;
	text-transform: uppercase;
	margin-bottom:0.8em;
}

#blog-list-container h2 {
	font-size:1em;
	font-weight:bold;
}

/* pagination */

.pagination {
	margin:10px 0px;
	padding:10px 0px;
	display:flex;
	position:relative;
	justify-content: center;
	margin:3em auto;
	text-align:center;
}

.page-numbers {
	display:flex;
	justify-content: center;
	align-items: center;
	width:66px;
	height:66px;
	border-radius:50%;
	border:4px double #fff;
	font-size:1em;
	color:#997832;
	line-height:66px;
	text-align:center;
	text-decoration:none;
	background:#F9F5EE;
	font-weight:bold;
	transition:0.6s all;
	margin:0.5em;
}

.page-numbers:hover{
	border:4px double #bbb;
	color:#000;
	text-decoration:none;
	background:#F1EBDE;	transform: translateY(-5px);
	-webkit-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.75);
} 


.blog-single-category {
	color:#997832;
	text-transform: uppercase;
}

.blog-single-category-separator {
	color:#997832;
}

.single-blog-title {
	line-height:1.4em;
}


.single-article {
	display: flex;
	justify-content: space-between;
}

#single-article-left {
	width:70%;
}

#single-article-right {
	padding-left:3em;
	width:30%;
}
#single-article-right a {
	margin-bottom:1em;
	padding-bottom:1em;
	border-bottom:1px dotted #ccc;
	display:block;
}
#single-article-right a:last-of-type {
	border:0;
}

.current {
	background-color:#997832 !important;
	color:#fff !important;
}

.next, .prev {
	background-color:#F9F5EE !important;
}

#about-main-content {
	padding-top:5em;
	padding-bottom:3em;
}

#about-main-content > .inner {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:2em;
}
#about-main-content img {
	margin:0;
}
#about-main-content h2 {
	text-align: center;
	display: block;
	width:50%;
	margin:1em auto;
}
.as-featured {
	font-size:1.3em;
	display:flex;
	align-items: center;
	justify-content: space-between;
	width:80%;
}

.as-featured img {
	max-width:100px;
	height:auto;
	margin-left:10px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    NON-MS STUFF
	It's 2019 for Christ's sake...
\*------------------------------------*/
@supports(mix-blend-mode: multiply) {
	#homepage-bottom-right .watermark {
/*		background-image:url('img/watermark-right.svg');*/
		background-position:right bottom;
		background-repeat: no-repeat;
		background-size:contain;
		position: absolute;
		bottom:0;
		right:0;
		height:500px;
		width:500px;
		z-index:0;
		background-blend-mode: multiply;
		mix-blend-mode: multiply;
	}
	#about-watermark-right {
/*		background-image:url('img/watermark-about-right.svg');*/
		background-position:right bottom;
		background-repeat: no-repeat;
		background-size:contain;
		position: absolute;
		top:2em;
		right:0;
		height:500px;
		width:500px;
		z-index:0;
		background-blend-mode: multiply;
		mix-blend-mode: multiply;
	}
	#about-watermark-left {
/*		background-image:url('img/watermark-about-left.svg');*/
		background-position:left bottom;
		background-repeat: no-repeat;
		background-size:contain;
		position: absolute;
		bottom:-2em;
		left:2em;
		height:500px;
		width:500px;
		z-index:0;
		background-blend-mode: multiply;
		mix-blend-mode: multiply;
	}
	.about-blue-inner {
		z-index:1;
	    display: block;
	    position: relative;
	}
}



/* Resources */
#resource-list-title {
	background: #a0dce9;
	padding:3em 0;
	position:relative;
}
#resources-bar {
	background-color:#243667;
	height:75px;
	display:flex;
	align-items: center;
	margin-bottom: 3em;
	font-size:1.1em;
	font-weight:400;
}
#resources-bar ul {
	list-style: none;
	display:flex;
}

#resources-bar ul li::before {
	content:'';
	margin:0;
}
#resources-bar ul li {
	margin-right:2em;
	padding:0;
}
#resources-bar ul li a {
	color:#f1f1f2;
	transition:0.6s all;
}
#resources-bar ul li a:hover {
	color:#fff;
}



/* Resources list */

.resource-list-article {
	display:flex;
	margin-bottom: 3em;
	background:#F9F5EE;
}

.resource-list-article > div {
	width:50%;
	position:relative;
}

.resource-list-left img, .resource-list-left > a {
	min-width:100%;
	display: block;
	height:auto;
}

.resource-list-type {
	background-color:#997832;
	color:#42515b;
	text-transform: uppercase;
	font-size:0.8em;
	padding:0.5em 1em;
	box-sizing: border-box;
}

.resource-list-content {
	padding:3em;
}
.resource-list-content a h2 {
	transition: 0.6s color;
}
.resource-list-content a h2:hover {
	color:#A0DCE9;
}
.resource-list-content a {
	color:#997832;
}

/* Single resource */
.single-resource-article {
	display:flex;
}

.single-resource-article > div {
	width:50%;
}


/* Reset download plugin crap */
.dae-shortcode-download-file-image, .dae-shortcode-download-title, .dae-shortcode-download-text {
	display:none;
}

.dae-shortcode-download-button-icon i {
	display:none;
}

body .dae-shortcode-download-button {
	border:2px solid #3e4d58 !important;
	color:#3e4d58;
	border-radius:0 !important;
}
html body .dae-shortcode-download-button:hover {
	border-radius:0 !important;
}


/* Services index accordion */
.accordion.services-index-accordion {
	background-color: #061622;
}
.panel.services-index-panel {
	padding:0;
}
.services-index-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0px 0px;
  grid-template-areas:
    "acc-image acc-intro"
    "acc-content acc-content";
}
.acc-image { grid-area: acc-image; 
	border-bottom:1px solid #D3EFFD;
}
.acc-intro { 
	grid-area: acc-intro; 
	display:flex; 
	justify-content: center; 
	flex-direction: column;
	padding:2em;
	border-bottom:1px solid #D3EFFD;
}
.acc-content { grid-area: acc-content; padding:1em; }

@media all and (-ms-high-contrast:none) {

.services-index-panel {
  display: -ms-grid;
  -ms-grid-columns: repeat(2, 1fr);
  -ms-grid-rows: repeat(2, 1fr);
  gap: 0px 0px;
}

.acc-image {
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
}

.acc-intro {
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
}

.acc-content {
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
}

}


.wp-block-table td {
	padding:1em;
}


/* 16:9 aspect ratio oEmbed video block fix */
.wp-block-embed.wp-embed-aspect-16-9 {
	position:relative;
	padding-top: 56.25%;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	position: absolute;
    height: 100%;
    top: 0;
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
	max-height:100%
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:1140px) {

}
@media only screen and (max-width:1024px) {

}
@media only screen and (max-width:960px) {
	#hero-caption {
		width:65%;
	}
	#header-top .right {
		width:50%;
	}
	.as-featured {
		width:100%;
	}
}
@media only screen and (max-width:768px) {
	h1 {
		font-size:1.6em;
	}
	h2 {
		font-size:1.4em;
		line-height:1.4em;
	}
	h3 {
		font-size:1.2em;
	}
	h4 {
		font-size:1.1em;
	}
	.inner-narrow {
		width:90%;
	}
	#clients {
		padding:5em 1em;
	}
	.hide-mobile {
		display: block;
	}
	.mobile-stack, .stack-mobile {
		display:block !important;
		width:100% !important;
	}
	#header-top .inner {
		display:block;
		text-align:center;
		height: 100%;
		padding:1em;
	}

	#header-top .left span {
		display: block;
	}

	#header-top .inner > * {
		width:100%;
	}
	#menu-header-top {
		padding-left:0;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.logo-img {
		max-width: 50%;
	}
	
	#header-top {
		/*height:100px;*/
		height: auto;
	}

	#main-nav {
		/*display:none;*/
		position:fixed;
		top:100px;
		width:100%;
		display:none;
		height:auto;
		background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#e6235f92',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
		color:#fff;
		left:0;
		border:1px solid #997832;
		/*padding-bottom:1em;*/
			-webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	z-index:2;
	}

	#main-nav ul {
		display: block;
		margin-left:0;
	}
	#main-nav ul li {
		height:auto;
		border:0;
	}
	#main-nav ul li a {
		padding:1em;
		color:#fff;
	}
	#main-nav > ul > li > a:hover {

	box-shadow: none;
	/*color:rgba(6,22,34,0.96);*/
	color:#fff;
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(61,173,222,0.96) 100%);
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(61,173,222,0.96) 100%);
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(61,173,222,0.96) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#f53dadde',GradientType=1 );
	}

	#main-nav > ul > li .sub-menu {
		display: block;
    	width:100%;
    	position:relative;
    	background:rgba(37,53,104,0.9);
    	border-bottom:0;
    	text-align: center;
    	padding:0;
    	font-size:0.9em;
    	text-transform: uppercase;
	}
	#main-nav > ul > li .sub-menu li {
		padding:0.6em;
	}
	#main-nav>ul>li:hover .sub-menu {
    	display: block;
	}
	
	#nav-button-container {
		display:block;
	}
	#nav-button {
		transition:0.6s all;
	}
	#nav-button.open {
		transform:scale(0.6);
	}
	#nav-button.open span {
		background:#fff;
	}

	#hero-caption {
		position:relative;
		width:100%;
		bottom:0;
		margin-top:-2em;
		padding:2em 4em 2em 2em;
	}
	#hero-caption-line-bottom {
		top:2em;
		bottom:auto;
	}
	#upcoming-events {
		margin-top:-6em;
	}

	#testimonials-slider {
		padding:7em 3em;
	}

	#client-logos {
		display:block;
	}

	#blog-list-container {
		grid-template-columns: 1fr 1fr;
	}
	
	#upcoming-events-right {
		padding:4em;
	}
	#upcoming-events-testimonial {
		position:relative;
		width:100%;
		height:auto;
		margin-top:2em;
	}
	#homepage-bottom-left {
		padding-top:75% !important;
		margin-bottom:0;

	}
	#homepage-bottom-right {
		margin-top:0;
	}
	#book-sofia .inner {
		width:80% !important;
		margin:0 auto;
	}
	#book-sofia-left {
		padding-right:0;
	}
	#book-sofia-right {
		margin-top:3em;
		padding-left:0;
	}
	#services-slider {
		width:90%;
	}
	#services-slider-left {
		display:none;
	}
	#services-slider-content {
		width:100%;
		max-width:100%;
	}
	#services-content-container {
		padding:2em 0;
		position: relative;
	}
	#services-content {
		max-width:100%;
		/*width:80%;*/
		margin:0 auto;
		padding:0;
		padding-bottom: 3em
	}
	#services-content > div {
		margin:0;
		padding:0 2em;
	}
	#book-sofia-left > div::after {
		right:-1em;
	}
	#faqs {
		padding:3em 0;
	}
	#about-main-content {
		padding-top:2em;
		padding-bottom:2em;
	}
	#about-main-content h2 {
		width:80%;
	}
	#about-main-content .inner {
		display:block;
	}
	#about-blue-panels {
		padding-bottom:0;
	}
	#about-blue-right {
		margin:0;
	}
	#contact-right {
		padding:0;
	}
	.single-article {
		width:93% !important;
		position:relative;
		margin:0 auto;
	}
	#single-article-right {
		padding-left:0;
	}
	#upcoming-events-testimonial {
		display:none;
	}
	.as-featured {
		width:100%;
		display:block;
	}
	.as-featured span {
		display:block;
		position:relative;
		width:100%;
		clear:both;
	}
	.as-featured img {
		margin-right:15px !important;
		margin-top:10px !important;
	}
	.footer {
		padding:1em;
	}
	.footer-2 {
		margin-top: 1em;
	}
	.footer-5, .footer-6 {
		display:none !important;
	}
/*	#single-article-right a {
		width:80%;
		margin:0 auto;
		margin-bottom:1em;
	}*/
}
@media only screen and (max-width:480px) {
	#blog-list-container {
		grid-template-columns: 1fr;
	}
	#guides-popup {
		width:100%;
	}
}
@media only screen and (max-width:320px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}
@media only screen and (min-width:769px) {
	#main-nav {
		display:flex !important;
	}
	#main-nav ul li {
		opacity:1 !important;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#356492;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#356492;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#356492;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.wp-block-separator {
	border-top:1px solid;
	border-bottom:0;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}



.accordion {
  background-color: #39A0C1;
  background-color: #2A3A6A;
  background-color: #061622;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border:0;
  border-bottom: 1px solid #909CA2;

    display: grid;
    grid-template-columns: 5fr 1fr;
  text-align: left;
  outline: none;
  font-size: 1.3em;
  transition: 0.4s;
  position:relative;
  padding-right:25px;
  margin:0;
  align-items:center;
}

.accordion.active, .accordion:hover {
  background-color: #39444F;
  color:#fff;
}


.accordion .fa-chevron-right {
	transition:0.3s transform;
	text-align:right;
	font-size:0.4em;
}

.accordion.active .fa-chevron-right {
	transform: rotate(90deg);
}

.panel {
  padding: 0 18px;
  /*background-color: rgba(255,255,255,0.5);*/
  background-color:#fff;
  overflow: hidden;
  max-height:0;
  transition: max-height 0.5s ease-out;
}

.panel h3:first-of-type {
	margin-top:0;
}

#mailchimp-modal {
  display:none;
  font-size:1.2em;
  padding:2em 3em;
  width:50%;
  background:#fff;
  border:2px solid #293661;
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:2;
  -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
  text-align:center;
}
#mailchimp-modal input {
	width:100%;
	text-align:center;
	height:2em;
}
#mailchimp-modal input[type="submit"] {
	background: -moz-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%, rgba(129,138,145,0.9) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  rgba(6,22,34,0.96) 0%,rgba(129,138,145,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5233264', endColorstr='#e6235f92',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	color:#fff;
}
#close-mailchimp-modal {
  position:absolute;
  top:0;
  right:0;
  transform: translate(50%, -50%);
  background:#fff;
  border:2px solid #293661;
  color:#293661;
  border-radius:50%;
  height:35px;
  width:35px;
  z-index:3;
  font-size:25px;
  text-align:center;
  line-height:28px;
  cursor:pointer;
}

.wp-block-quote {
	margin-inline-start:60px;
	padding-top:.3em;
}

.wp-block-quote::before {
    content: '';
    height: 40px;
    display: block;
    position: absolute;
    width: 40px;
    background-image: url(img/quote-light-blue-left.svg);
    background-size: contain;
    background-repeat: no-repeat;
    left: 10px;
}


