/*
Theme Name: Listing
Author: George English
Author URI: http://englishwebdesign.com
Description: Bespoke theme
Version: 9999.9.9
*/

:root {
	--primary: rebeccapurple;
	--secondary: #444;

	--bg-grey: #dee2e6;
}

/*@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fff; /*var(--secondary); /*hsl(234deg 90% 31%); /*#081798;*/
	color: var(--secondary); /*#fff;*/
	font-family: 'Source Sans 3', sans-serif;
	letter-spacing: -0.01em;
	font-size: 16px;

	line-height: 1.333;
}

.wpcf7-checkbox input,
.wpcf7-radio input,
.screen-reader-response,
.screen-reader-text,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

hr {
	border: none;
	border-top: 1px solid;
	margin: 30px 0;
}

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

h1, h2, h3, p, ul {
	margin: 0 0 20px;
}

h1, h2, h3 {
	font-family: 'Bree Serif';
	font-weight: 500;
	line-height: 1;
	/*letter-spacing: -0.03em;*/
}

h1, h2 {
	font-size: 32px;
}

h3 {
	font-size: 24px;
	line-height: 1.1;
}

h4 {
	font-size: 1em;
	font-weight: 500;
}

blockquote p {
	line-height: 1.2;
	font-weight: 400;
}

ul, 
p:not(form p),
blockquote {
	max-width: 36em;
}

.entry-content p + h3,
.entry-content ul + h3 {
	margin-top: 50px;
}

ul + h2,
p + h2 {
	margin-top: 60px;
}

small {
	display: block;
	font-size: 15px;
	line-height: 20px;
}

/* */

.heading-profile-pic {
	position: relative; 
	border-bottom: 3px solid var(--primary);
	padding-bottom: 24px;
	padding-right: 100px;
}

.heading-profile-pic img {
	position: absolute; 
	right: 30px; 
	bottom: 0; 

	height: 150px; 
	width: auto;
}

@media (max-width: 567px) {

	.heading-profile-pic img {
		height: 140px;
		right: 0;
	}

}

.section-testimonial h2 {
	font-style: italic;
	font-weight: inherit;
	line-height: inherit;
}

.section-testimonial h2 small {
	font-size: 0.8em;
	line-height: inherit;
}

svg {
	vertical-align: top;
}

a,
a u {
	color: inherit;
	text-decoration: none;
}

/*small a,
a:not(.btn):hover {
	border-bottom: 1px solid;
}*/

@keyframes underline {
	0% {
		transform-origin: right;
		transform: scaleX(1);
	}
	40% {
		transform-origin: right;
		transform: scaleX(0);
		/*border-top-width: 1px;*/
	}
	60% {
		transform: scaleX(0);
		transform-origin: left;
		/*border-top-width: 2px;*/
	}
	100% {
		transform-origin: left;
		transform: scaleX(1);
		/*border-top-width: 2px;*/
	}
}

a u,
small a {
	display: inline-block;
	position: relative;
	line-height: 2;
}

small a:after,
a u:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	border-top: 1px solid;
	transform-origin: right;
}

@media (hover: hover) {

	.current-menu-item a:hover:after,
	.current_page_parent a:hover:after,
	small a:hover:after,
	a:hover u:after {
		animation-name: underline;
		animation-duration: 0.5s;
		animation-fill-mode: forwards;
	}

}

.link-contact {
	line-height: 24px;
	color: var(--lightblue);
	display: inline-flex;
	align-items: center;
}

.link-contact svg {
	width: 18px;
	height: 24px;
	vertical-align: top;
	color: inherit;
	margin-right: 20px;
	/*margin-bottom: -4px;*/
}

/* */

.container {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.row {
	display: flex;
	flex-wrap: wrap;

	margin: 0 -20px -40px;

}

.col {
	flex-basis: 0;
	flex-grow: 1;

	padding: 0 20px 40px;
}

.row.no-gutter {
	margin: 0;
}

.row.no-gutter > .col {
	padding: 0;
}

.col-auto {
	flex-basis: auto;
	flex-grow: 0;
	flex-shrink: 0;
}

.col-16 {
	flex-basis: 50%;
	flex-grow: 0;
	flex-shrink: 0;
}

.col-33,
.col-25,
.col-40,
.col-50,
.col-60,
.col-75,
.col-100 {
	flex-basis: 100%;
	flex-grow: 0;
	flex-shrink: 0;
}

@media (min-width: 568px) {

	.col-16 {
		flex-basis: 33.333%;
	}
 
	.col-33,
	.col-25 {
		flex-basis: 50%;
	}
}

@media (max-width: 1199px) {

	.col-50:empty {
		display: none;
	}

}

@media (min-width: 1200px) {

	.row.wide-gutter {
		margin: 0 -40px -80px;
	}

	.row.wide-gutter > .col {
		padding: 0 40px 80px;
	}

	.col-16 {
		flex-basis: 16.666%;
	}

	.col-33 {
		flex-basis: 33.333%;
	}

	.col-25 {
		flex-basis: 25%;
	}

	.col-40 {
		flex-basis: 40%;
	}

	.col-50 {
		flex-basis: 50%;
	}

	.col-60 {
		flex-basis: 60%;
	}

	.col-75 {
		flex-basis: 75%;
	}

}

/* */

.btn {
	margin: 0;
	padding: 13px 32px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	border-radius: 8px;

	border: none;

	display: inline-block;
	text-align: center;

	transition: 0.3s;
	line-height: 24px;

	cursor: pointer;
	font-weight: 500;
}

@media (max-width: 567px) {

	.btn {
		padding-top: 16px;
		padding-bottom: 16px;
		font-size: 15px;
	}

}

@media (min-width: 1700px) {
	.btn {
		font-size: 17px;
	}
}

p + .btn,
p + p .btn,
div + p .btn {
	margin-top: 10px;	
}

.btn svg {
	width: 24px;
	height: 24px;
	vertical-align: top;
	margin-left: 10px;
	margin-right: -10px;
	opacity: 0.6;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
}

.btn-outline {
	background: transparent;
}

.btn-outline-primary {
	border: 1px solid var(--primary);
	color: var(--primary);
}

.btn-outline-secondary {
	border: 1px solid var(--secondary);
	color: var(--secondary);
}


.btn-outline-white {
	border: 1px solid rgba(255,255,255,0.15);
	color: #fff;
}

.btn-outline-white svg {
	opacity: 1;
}

.btn-outline-white:hover svg {
	color: inherit;
	opacity: 0.6;
}

@media (hover: hover) {

	.btn:hover {
		transform: translateY(-6px);
	}

	.btn:active {
		transform: none !important;
		box-shadow: none !important;
		transition: 0.15s;
	}

	.btn-primary:hover,
	.btn-outline-primary:hover {
		background: var(--primary);
		color: #fff;
		box-shadow: 
			0 30px 40px rgba(0,0,0,0.15), 
			0 15px 20px hsla(333deg, 90%, 50%, 0.1);
	}

	.btn-outline-white:hover {
		background: var(--primary);
		border-color: var(--primary);
		color: #fff;
	}

	.btn-outline-secondary:hover {
		background: var(--secondary);
		color: #fff;
		box-shadow: 
			0 30px 40px rgba(0,0,0,0.15), 
			0 15px 20px hsl(234deg, 90%, 31%, 0.1);
	}

}

/* */

.floating-btn-container {
	position: fixed; 
	z-index: 20; 
	right: 5vw; 
	bottom: 5vw; 
	transition: 0.2s;
}

body.scroll-max .floating-btn-container {
	transform: translateX(30px);
	opacity: 0;
}

body.main-nav-active .floating-btn {
	box-shadow: none;
}

.floating-btn {
	
	padding-left: 24px;
	padding-right: calc(66px + 16px + 12px);
	display: flex; 
	align-items: center; 
	background: var(--secondary); 
	color: #fff;
	white-space: nowrap;

	box-shadow: 
		0 30px 40px rgba(0,0,0,0.15), 
		0 15px 20px hsl(234deg, 90%, 31%, 0.2);
}

@media (max-width: 567px) {

	.floating-btn-container {
		bottom: 28px;
		right: 28px;
	}

	.floating-btn {
		border-radius: 10px;
	}

}

body.main-nav-active .floating-btn {
	box-shadow: none;
}

@media (hover: hover) {

	.floating-btn:hover {
		transform: translateY(-6px);
		box-shadow: 
			0 48px 64px rgba(0,0,0,0.15), 
			0 24px 32px hsl(234deg, 90%, 31%, 0.2);
		/*animation-name: floating_btn;
		animation-iteration-count: 1;
		animation-duration: 0.45s;
		animation-fill-mode: forwards;*/
	}

	body.main-nav-active .floating-btn:hover {
		box-shadow: 
			0 30px 40px rgba(0,0,0,0.15), 
			0 15px 20px hsl(234deg, 90%, 31%, 0.2);
	}

}

/*@keyframes floating_btn {
	0% {
		transform: translateY(0);
		box-shadow: 
			0 30px 40px rgba(0,0,0,0.15), 
			0 15px 20px hsl(234deg, 90%, 31%, 0.2);
	}
	33.333333% {
		transform: translateY(-3px);
		box-shadow: 
			0 15px 20px rgba(0,0,0,0.15), 
			0 7.5px 10px hsl(234deg, 90%, 31%, 0.2);
	}
	100% {
		transform: translateY(0);
		box-shadow: 
			0 30px 40px rgba(0,0,0,0.15), 
			0 15px 20px hsl(234deg, 90%, 31%, 0.2);
	}
}*/

.floating-btn img {
	height: 90px; 
	width: auto; 
	position: absolute;
	right: 16px;
	bottom: 0;
}

/* */

.site-header {
	padding-top: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--bg-grey);
	position: relative; /* So z-index works */
	z-index: 10;

	/*background: #fff;
	color: var(--secondary);*/
}

@media (max-width: 567px) {

	body.single .section-hero .circle {
		position: absolute;
		width: 200%;
		left: 0;
		bottom: 0;
	}

	body.single .section-hero .grid-square-wrapper {
		position: relative;
	}

	.bi-arrow-down {
		width: 24px;
		height: 24px;
	}

	body.blog .site-header {
		position: absolute;
		width: 100%;
		background: transparent;
	}

}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-header-menu {
	position: fixed;
	top: 0;
	width: 100%;
	right: 0;
	bottom: 0;
	z-index: 15;

	opacity: 0;
	pointer-events: none;
	visibility: hidden;

	display: flex;
	justify-content: flex-end;

	
}

.site-header-menu svg {
	position: absolute;
	left: 5vw;
	bottom: 5vw;

	transform: skewX(-15deg);
	transform-origin: bottom left;
	color: #fff;

	display: none;
}

.site-header-menu .inner {
	background: #fff;
	box-shadow: 0 0 20vw rgba(0,0,0,0.5);

	display: flex;
	align-items: center;

	transition: 0.6s;

	transform: translateX(50px);

	padding-left: 7.5vw;

	font-size: 45px;
}

@media (max-width: 567px) {

	.site-header-menu .inner {
		transform: translateX(100%);
		width: 100%;
		padding-left: 10%;
		box-shadow: 0 0 20vw rgba(0,0,0,0.05);
		transition: 0.45s;
	}

}

@media (min-width: 568px) {

	.site-header-menu {
		background: hsla(234deg, 90%, 31%, 0.95);
	}

	.site-header-menu .inner {
		width: 60%;
	}

}

@media (min-width: 1300px) {

	.site-header-menu .inner {
		width: 40%;
		font-size: 55px;
	}

}

@media (hover: hover) {

	.site-header-menu a:hover {
		color: var(--primary);
	}

}

.site-header-menu .current-menu-item,
.site-header-menu .current_page_parent {
	font-weight: 500;
	letter-spacing: -0.025em;
	color: var(--primary);
}

.site-header-menu li {
	transform: translateX(3em);
	opacity: 0;
}

.site-header-menu li + li {
	transition-delay: 0.05s;
}

.site-header-menu li + li + li {
	transition-delay: 0.1s;
}

.site-header-menu li + li + li + li{
	transition-delay: 0.15s;
}

.site-header-menu li + li + li + li + li {
	transition-delay: 0.2s;
}

.site-header-menu li:last-child {
	display: none;
}

body.main-nav-active .site-header-menu {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;

	transition: 0.4s;
}


body.main-nav-active .site-header-menu li {
	opacity: 1;
	transform: none;
	transition-duration: 1.2s;
	transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

body.main-nav-active .site-header-menu .inner {
	opacity: 1;
	transform: none;
}

/*body:not(.home) .site-header a:hover,
body:not(.home) .site-header .current-menu-item a {
	color: var(--primary);
}*/

.logo {
	line-height: 1; 
	display: flex; 
	align-items: center; 
}

.logo-circle {
	background: var(--secondary);
    width: 65px;
    height: 65px;
    margin-right: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-circle svg {
	transform: skewX(-15deg);
	width: 44px;
	height: 20px;
}

.logo-mark svg {
	transform: skewX(-15deg);
	transform-origin: bottom left;
}

@media (max-width: 567px) {

	.logo-mark svg {
		width: 55px;
		height: 25px;
		margin-top: 5px;
	}

}

/*body.home .logo {
	color: inherit;
}*/

/*.logo svg {
	vertical-align: top;
}*/

.footer-logo {
	transform: skewX(-15deg); 
}

.menu-primary-menu-container ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

nav.menu-1 .menu-primary-menu-container ul {
	display: flex;
	line-height: 2;
}

nav.menu-1 .menu-primary-menu-container li + li {
	margin-left: 2.2em;
}

nav.menu-1 .menu-primary-menu-container a { 
	position: relative;
	display: block; 
}

nav.menu-1 .menu-primary-menu-container a:after {
	content: "";
	position: absolute;

	bottom: 0;
	left: 0;
	right: 0;
	border-bottom: 1px solid;

	transform: scaleX(0);
	
	transform-origin: right;
	transition: transform 0.2s;
}

@media (max-width: 1024px) {
	nav.menu-1 {
		display: none;
	}
}

@media (min-width: 1700px) {

	nav.menu-1 .menu-primary-menu-container li + li {
		margin-left: 2.7em;
	}

	/*.menu-primary-menu-container a:after {
		border-bottom: 2px solid;
	}*/
}

@media (hover: hover) {

	nav.menu-1 .menu-primary-menu-container a:hover:after {
		transform-origin: left;
		transform: none;
	}

}

nav.menu-1 .current-menu-item a:after,
nav.menu-1 .current_page_parent a:after {
	transform: none;
}

/* */

.grid-square-container {
	width: 100%;

	position: relative;
}

@media (max-width: 1199px) {

	.grid-square-section {
		overflow: hidden;
	}

}

@media (min-width: 1200px) {

	.grid-square-section {
		display: flex;
		align-items: center;
		justify-content: center;

		position: relative;
	}

	.grid-square-container {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		overflow: hidden;
	}

}

.grid-square-container + * {
	position: relative;
}

.grid-square-row {
	display: flex;
}

.grid-square-wrapper {
	flex-basis: 0;
	flex-grow: 1;
}

body.single .section-hero {
	background: var(--secondary);
	color: #fff;
}

body.single .section-hero .grid-square-container {
	border-top: 1px solid rgba(255,255,255,0.1);
}

body.single .section-hero .grid-square-wrapper { 
	border-right: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
}	

body.single .section-hero svg {
	fill: #fff;
}

body.single .grid-square {
	margin-right: -1px;
	margin-bottom: -1px;
}

.grid-square {
	transition: 0.4s;

	display: flex;
	align-items: center;
	justify-content: center;

	background-size: cover;
	background-position: center;
}

.grid-square:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.grid-square-wrapper:last-child {
	border-right: none;
}

.circle-top-left {
	clip-path: circle(100% at 100% 100%);
}

.circle-top-right {
	clip-path: circle(100% at 0 100%);
}

.circle-bottom-left {
	clip-path: circle(100% at 100% 0%);
}

.circle-bottom-right {
	clip-path: circle(100% at 0 0%);
}

.circle {
	clip-path: circle(50% at 50% 50%);
}

.triangle-top-left {
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.triangle-top-right {
	clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.triangle-bottom-left {
	clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.triangle-bottom-right {
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.white {
	background-color: #fff;
}

.purple {
	background-color: var(--primary);
}

.blue {
	background-color: var(--secondary);
}

.pink {
	background-color: var(--primary-light);
}

/*.banner-dark .grid-square.blue,
.banner-dark .grid-square.pink,*/
body.single .section-hero .grid-square.blue,
body.single .section-hero .grid-square.pink,
.section-cta .grid-square.blue,
.section-cta .grid-square.pink {
	background-color: var(--primary) !important;
}

/* */

.section-hero-image {
	background-size: cover; 
	background-position: center; 
	z-index: 2; 
	mix-blend-mode: multiply; 
	filter: grayscale(100%);
}

@media (max-width: 1199px) {

	body.home .section-hero .highlighted {
		max-width: 9em;
	}

	.section-hero-image {
		position: relative;
		padding-top: 60vw;
	}

	.section-hero-image + .grid-square-row {
		margin-top: -60vw;
	}

}

@media (min-width: 1200px) {

	.section-hero-image {
		position: absolute; 
		top: 0; 
		right: 0; 
		width: 40%; 
		height: 100%; 
	}

	.section-hero {
		margin-bottom: max(calc((60vw - 100vh) / 2), 0px);
		min-height: 100vh;
	}
}

@media (min-width: 1200px) and (max-width: 1600px) and (min-height: 50vw) {

	.section-hero:first-child .pink {
		background: transparent;
	}

}

/* */

.section-padded {
	padding: max(50px, 5vw) 0;
}

.section-intro {
	display: flex;
	justify-content: center;
}

/* */

.section-text-shapes {
	width: 10vw; 
	margin-left: auto;
	margin-bottom: -20vw;
	pointer-events: none;
}

@media (max-width: 1199px) {
	.section-text-shapes {
		display: none;
	}
}

/* */

.highlighted {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.2;

	margin-left: -0.025em; 
	overflow: hidden;
}

.highlighted + .highlighted {
	margin-top: -0.1em;
}

.highlighted > span {
	padding-right: 0.2em;
}

/* */

.section-clients {
	background: var(--secondary); 
	color: #fff;
}

.client-logos {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.client-logos img {
	width: 43.333%;
	height: auto;

	margin: 0 3.333%;
	
	filter: invert();
	mix-blend-mode: screen;
}

@media (min-width: 568px) {

	.client-logos img {
		width: 26.666%;
	}

}

@media (min-width: 800px) {

	.client-logos img {
		width: 10%;
	}

}

@media (max-width: 1199px) {
	.section-clients h2 {
		text-align: center;
	}
}

@media (min-width: 1200px) {

	.section-clients .container {
		display: flex; 
		align-items: center;
	}

	.section-clients h2 {
		margin-bottom: 0;
	}

	.client-logos-container {
		border-right: 3px solid #fff; 
		padding: 0 3.333%;
	}

}

/* */

.section-cta {
	background-color: var(--secondary); /*#DFDBE5;*/
		
	/*background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10zm96.546-75.84l-1.732 1-10-17.32 1.732-1 10 17.32zm-100 100l-1.732 1-10-17.32 1.732-1 10 17.32zM38.16 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM60 29v2H40v-2h20zm19.32 5l-1 1.732-17.32-10L62 24l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM111 40h-2V20h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zM40 49v2H20v-2h20zm19.32 5l-1 1.732-17.32-10L42 44l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM91 60h-2V40h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 74l-1 1.732-17.32-10L22 64l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM71 80h-2V60h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM120 89v2h-20v-2h20zm-84.134 9.16l-1.732 1-10-17.32 1.732-1 10 17.32zM51 100h-2V80h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM100 109v2H80v-2h20zm19.32 5l-1 1.732-17.32-10 1-1.732 17.32 10zM31 120h-2v-20h2v20z' fill='%23081798' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
	*/

	color: #fff; /*var(--secondary);*/

	position: relative;
	min-height: 50vw;
}

.section-cta .container {
	z-index: 2;
}

.section-cta-image {
	position: absolute; 
	top: 0; 
	right: 0; 
	width: 40%; 
	height: 100%; 
	background-size: cover; 
	background-position: center; 
	z-index: 2; 
	mix-blend-mode: multiply; 
	filter: grayscale(100%);
}

@media (max-width: 567px) {

	.section-cta-image {
		width: 60%;
		height: 100vw;
	}

}

@media (min-width: 568px) {

	.section-cta h2:first-of-type {
		margin-top: 5vw; 
	}

	.section-cta {
		margin-bottom: 5vw;
	}

	body.error404 .section-cta,
	body.home .section-cta {
		margin-top: 5vw;
	}

}

/*.section-hero .grid-square-row:first-child .grid-square.blue,
.section-hero .grid-square-row:first-child .grid-square.purple {
	background: var(--primary-light) !important;
}*/

/* */

.site-footer {
	background: #fff;
	color: var(--secondary);
	overflow: hidden;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	border-top: 2px solid var(--primary); 
	margin-top: 30px; 
	padding-top: 30px;
	margin-bottom: env(safe-area-inset-bottom);
}

@media (hover: hover) {

	.footer-bottom a:hover {
		border-bottom: 1px solid;
	}

}

.menu-footer-bottom-menu-container * {
	display: inline;
}

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

.menu-footer-bottom-menu-container li + li:before {
	content: "\00a0\00a0|\00a0\00a0\00a0";
}

@media (min-width: 568px) {

	.footer-main {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.footer-bottom {
		margin-top: 60px;
	}

	.menu-footer-bottom-menu-container {
		display: inline;
	}

	.menu-footer-bottom-menu-container li:before {
		content: "\00a0\00a0|\00a0\00a0\00a0";
	}

}

@media (max-width: 567px) {

	.site-footer .logo {
		max-width: 8em;
	}

	.footer-bottom {
		font-size: 14px;
		line-height: 20px;
		flex-direction: column;
	}
}

/* Animation */

@media (prefers-reduced-motion: no-preference) {

	.animate {
		transition: opacity 0.6s, transform 0.6s;
	}

	body.intersection-observer #contact .animate,
	body.intersection-observer .animate.animate-hidden {
		opacity: 0;
		transform: translateY(50px);
	}

	body.intersection-observer .animate.animate-hidden.animate-from-left {
		opacity: 0;
		transform: translateX(-30px);
	}

	body.intersection-observer .animate.animate-hidden.animate-from-right {
		opacity: 0;
		transform: translateX(30px);
	}

	body.intersection-observer .animate.animate-hidden.animate-up-100 {
		opacity: 0;
		transform: translateY(100%);
	}

	body.intersection-observer .animate.animate-hidden.animate-down-100 {
		opacity: 0;
		transform: translateY(-100%);
	}

	body.intersection-observer .animate.animate-hidden.animate-opacity {
		opacity: 0;
	}

	.animate + .animate {
		transition-delay: 0.1s;
	}

	.animate + .animate + .animate {
		transition-delay: 0.2s;
	}

	.animate + .animate + .animate + .animate {
		transition-delay: 0.3s;
	}

	.animate + .animate + .animate + .animate + .animate {
		transition-delay: 0.4s;
	}

	.animate + .animate + .animate + .animate + .animate + .animate {
		transition-delay: 0.5s;
	}

}

/* */

@media (min-width: 1200px) {

	.site-main {
		margin-left: 5%;
	}

}

.entry-content {
	line-height: 1.4;
}

.entry-content h1 {
	margin-bottom: 48px;
}

.entry-content h3 {
	max-width: 22em;
}

.entry-content h2 {
	margin-bottom: 32px;
	max-width: 13em;

	scroll-margin-top: 120px;
}

.entry-content img {
	display: block;
	margin: 48px auto;
}

@media (min-width: 568px) {
	.entry-content h2 {
		margin-bottom: 32px;
	}
}
 
.entry-content blockquote {
	margin: 48px 0;
	padding: 0 48px;
	border-left: 3px solid var(--primary);
}

.entry-content ul {
	margin-bottom: 48px;
	padding: 0;
	list-style: none;
}

.entry-content ul li {
	padding-left: 32px;
	position: relative;
}

.entry-content ul li:before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary)
}

/* */

/*.section-page-intro + .section-image-text {
	background: linear-gradient(150deg, var(--bg-grey), #fff 50%);
}*/

body.home .section-phone + .section-image-text {
	margin-top: -10vw;
}

body.home .section-phone + .section-image-text .inner {
	min-height: calc(100vh + 10vw);
	padding-top: 10vw;
}

body.home .section-phone + .section-image-text p {
	max-width: 24em;
}

.section-image-text .image {
	background-color: var(--bg-grey); 
	background-size: cover; 
	background-position: 50% 100%;
}

.section-image-text .container {
	position: relative;
	z-index: 1;
}

@media (max-width: 1199px) {

	.section-image-text .image {
		padding-top: 100%;
	}

	body.home .section-phone + .section-image-text {
		margin-top: -20vw;
	}

}

@media (max-width: 567px) {

	.section-image-text .image {
		padding-top: 133.333%;
	}

}

@media (min-width: 1200px) {

	.section-image-text .inner {
		min-height: 100vh;
		display: flex; 
		align-items: center; 
		position: relative;
	}

	.section-image-text .image {
		position: absolute; 
		top: 0; 
		bottom: 0; 
		width: 40%; 
	}

}

/* */

/*.section-dark {
	color: #fff;
	position: relative;
	background: linear-gradient(transparent 50%, var(--secondary) 50%);
}

.section-dark-bg-image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--secondary);
	background-size: cover;
	background-blend-mode: multiply;
}

.section-page-intro + .section-dark .section-dark-bg-image,
body.home .section-dark .section-dark-bg-image {
	clip-path: circle(500vw at 0% 500vw);
}

.section-dark .container {
	position: relative;
}*/

/* */

.phone-sticky {
	perspective: 125vw;
}

.section-phone {
	position: relative;
}

.phone-content-1,
.phone-content-2 {
	position: relative;
}

body.home .section-phone {
	clip-path: circle(500vw at 0% calc(100% - 500vw));
}

body.home .phone-content-2 > .row {
	padding-bottom: 20vw;
}

.phone-rotator {
	position: absolute;
	left: 50%;
	top: 50%;

	transform: translate(-50%, -50%);

	transform-style: preserve-3d;
}

/*.phone-shadow {
	position: absolute;

	width: 18vw;
	height: 36vw;
	border-radius: 2.25vw;
	background: var(--secondary-darker);

	transform: translateZ(-200vw) scale(2);

	backface-visibility: hidden;
}*/

.phone-container {
	transform: translateX(133.333%) rotateZ(10deg);
	transform-style: preserve-3d;
	/*transition: 0.2s;*/
}

.flip-phone .phone-container {
	transform: translateX(133.333%) rotateZ(10deg) rotateY(-180deg);
}

.phone {
	display: none;
	width: 18vw;
	height: 34vw;
	background: rgba(0,0,0,0.2);
	position: relative;
	border-radius: 2.5vw;
	transform: translateZ(-0.625vw);
}

.show-phone .phone {
	display: block;
}

.phone2 {
	position: absolute;
	transform: translateZ(0.625vw);
	/*background: var(--secondary-darker);*/
	/*border: 1px solid rgba(255,255,255,0.1);*/
}

.screen {
	position: absolute;
	top: 1vw;
	left: 1vw;
	width: 16vw;
	height: 32vw; /*4vw;*/
	border-radius: 1.25vw;
	overflow: hidden;
	background-color: #fff; /*var(--secondary);*/
}

:root {
	--phone-scale: 16;
}

@media (min-width: 1200px) {

	.section-phone {
		min-height: 200vh;
	}

	.phone-wrapper {
		position: absolute; 
		top: 10vh; 
		left: 0; 
		right: 0; 
		bottom: 0; 
		z-index: 2; 
		pointer-events: none;
	}

	.phone-sticky {
		position: sticky;
		top: 0;
		height: 100vh;
	} 

	.phone-content-1 > .row {
		height: 100vh; 
		padding-top: 20vw;
	}

	.phone-content-2 > .row {
		height: 100vh; 
		align-items: flex-end; 
		padding-bottom: 10vw;
	}

}

@media (max-width: 1199px) {

	:root {
		--phone-scale: 32;
	}

	.phone-content-1,
	.phone-content-2 {
		padding: max(60px, 10vw) 0;
	}

	.section-phone {
		overflow: hidden;
	}

	.phone-sticky {
		height: calc(2.4vw * var(--phone-scale));
		perspective: 150vw;
	}

	.phone-container {
		transform: translateX(0%) rotateZ(10deg) rotateX(2.5deg);
	}

	.flip-phone .phone-container {
		transform: translateX(0%) rotateZ(10deg) rotateX(-2.5deg) rotateY(-180deg);
	}

	.phone {
		width: 36vw;
		height: 68vw;
		border-radius: 5vw;
		transform: translateZ(-1.25vw);
	}

	.phone2 {
		transform: translateZ(1.25vw);
	}

	.screen {
		top: 2vw;
		left: 2vw;
		width: 32vw;
		height: 64vw;
		border-radius: 2.5vw;
	}

}

@media (max-width: 567px) {

	:root {
		--phone-scale: 48;
	}

	.phone {
		width: 54vw;
		height: 102vw;
		border-radius: 7.5vw;
		transform: translateZ(-1.875vw);
	}

	.phone2 {
		transform: translateZ(1.875vw);
	}

	.screen {
		top: 3vw;
		left: 3vw;
		width: 48vw;
		height: 96vw;
		border-radius: 3.75vw;
	}

}

/*.screen:not(.loaded):before {
	content: "";
	position: absolute;
	top: calc(50% - 12px);
	left: calc(50% - 12px);
	width: 24px;
	height: 24px;
	z-index: 1;

	border: 3px solid transparent;
	border-left: 3px solid var(--secondary);
	animation: spin 1s infinite linear;
	border-radius: 50%;
}*/

.screen .iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 375px;
	height: 750px; /*797px;*/

	/*z-index: 2;*/

	border-radius: 29px;
	border: none;

	transform-origin: top left;
	overflow: hidden;
}

.screen .iframe img {
	width: 100%;
	height: auto;
}

.flip-phone .iframe-1,
.iframe-2 {
	display: none;
}

.flip-phone .iframe-2 {
	display: block;
}

/*body {
	scroll-snap-type: y mandatory;
}

.site-header,
.section-phone ~ * {
	scroll-snap-align: start;
}*/


.grid-item-icon {
	width: 72px;
	height: 80px;
	background-color: hsla(330deg, 75%, 90%, 0.4);
	margin-bottom: 30px;
	clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);

	background-size: cover;
	background-position: center;

	font-size: 2em;

	display: flex;
	align-items: center;
	justify-content: center;

	color: var(--primary);
}

.grid-item-icon svg {
	width: 32px;
	height: 32px;

	filter: drop-shadow(0 6px 4px hsl(333deg, 90%, 50%, 0.5));
}

/* */

.section-testimonial img {
	width: 100%; 
	height: 100vh; 
	object-fit: cover; 
	display: block;
}

.testimonial-wrapper {
	position: absolute; 
	left: 25%; 
	width: 50%; 
	top: 50%; 
	transform: translateY(-50%);
}

@media (max-width: 567px) {

	.testimonial-wrapper {
		left: 10%;
		width: 80%;
	}

}

/* Infield labels */

@keyframes animateLabel {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: none;
    }
}

.infield-label label.gfield_label {
    margin-left: 15px !important;
}

.infield-label label.gfield_label,
label.infield {
    position: absolute;
    top: 20px;
    left: 21px;
    z-index: 5;
    pointer-events: none;
    margin: 0;
    color: #aaa;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
}

.infield-label label.gfield_label.active,
.infield-label label.gfield_label.stay-active,
label.infield.active,
label.infield.stay-active {
    font-size: 10px;
    left: 10px;
    top: 8px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    animation-name: animateLabel;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    font-style: normal;
}

.infield-label input,
label.infield + .form-control,
label.infield + span .form-control,
label.infield + div .form-control {
    padding: 15px 15px 0 !important;
}

/* Forms */

label {
    display: block;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

@media (max-width: 567px) {
    .form-group {
        margin-bottom: 20px;
    }
}

::placeholder {
    color: #aaa;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

select,
input[type="text"],
input[type="email"],
textarea,
.form-control {
    height: 60px;
    border: 1px solid #dee2e6;
    font-size: inherit;
    font-family: inherit;
    line-height: 20px;
    padding: 19px 20px;
    font-size: 16px;
    display: block;
    width: 100%;
    outline: none;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    transition: 0.2s;
    letter-spacing: 0;
}

@media (hover: hover) {

	select:hover,
	input[type="text"]:hover,
	input[type="email"]:hover,
	textarea:hover,
	.form-control:hover {
	    border-color: rgba(0, 123, 255, 0.5);
	}

}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.2), 0 30px 40px rgba(0, 0, 0, 0.05), 0 15px 20px rgba(0, 123, 255, 0.1);
}

textarea,
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select,
select.form-control {
    color: inherit;
    background-image: url("img/angle-down.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) 50%;
    background-size: 24px;
}

.input-group {
    position: relative;
    display: flex;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group .btn {
    width: auto;
    min-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: -1px;
    margin: 0 10px 0 0;
}

/* Nice styles radios/checkboxes */

.radio-container {
    display: flex;
}
.radio-container label ~ label {
    margin-left: 30px;
}
.radio-container p {
    margin-bottom: 0;
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    opacity: 0;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    display: flex !important;
    align-items: center;
    position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    content: "";
    width: 2em;
    height: 2em;
    border-radius: 20%;
    border: 1px solid #dee2e6;
    margin-right: 0.75em;
    flex-shrink: 0;
    box-shadow: inset 0 5px 3px -3px rgba(0, 0, 0, 0.05);
}

input[type="radio"] + label:before {
    border-radius: 50%;
}

input[type="radio"] + label:after {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: #007bff;
    position: absolute;
    top: calc(50% - 0.5em);
    left: 0.5em;
    visibility: hidden;
}

input[type="checkbox"] + label:after {
    content: "";
    position: absolute;
    left: 1em;
    top: 50%;
    width: 0.5em;
    height: 1em;
    border: solid #007bff;
    border-width: 0 3px 3px 0;
    transform: translate(-40%, -60%) rotate(45deg);
    visibility: hidden;
}

input[type="radio"]:checked + label:after,
input[type="checkbox"]:checked + label:after {
    visibility: visible;
}

input[type="radio"] + label:focus:before,
input[type="radio"]:focus + label:before,
input[type="checkbox"] + label:focus:before,
input[type="checkbox"]:focus + label:before {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2), 0 30px 40px rgba(0, 0, 0, 0.05), 0 15px 20px rgba(0, 123, 255, 0.1);
}

/* Contact Form 7 overrides */

.grecaptcha-badge {
    visibility: hidden;
}

.gfield_error input,
.form-control.wpcf7-not-valid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2), 0 30px 40px rgba(0, 0, 0, 0.05), 0 15px 20px rgba(220, 53, 69, 0.1) !important;
}

.wpcf7-checkbox,
.wpcf7-radio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

.wpcf7-checkbox label,
.wpcf7-radio label {
    margin: 0 0 10px;
    pointer: cursor;
}

.wpcf7-checkbox .last .wpcf7-list-item-label,
.wpcf7-radio .last .wpcf7-list-item-label {
    padding-right: 0;
}

.wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7-radio .wpcf7-list-item-label {
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    line-height: 1.25;
    padding-right: 30px;
}

.wpcf7-checkbox .wpcf7-list-item-label:before,
.wpcf7-radio .wpcf7-list-item-label:before {
    content: "";
    width: 2em;
    height: 2em;
    border-radius: 20%;
    border: 1px solid #dee2e6;
    margin-right: 0.75em;
    flex-shrink: 0;
    box-shadow: inset 0 5px 3px -3px rgba(0, 0, 0, 0.05);
}

.wpcf7-checkbox input:checked ~ .wpcf7-list-item-label:after,
.wpcf7-checkbox input:checked ~ span:after,
.wpcf7-radio input:checked ~ .wpcf7-list-item-label:after,
.wpcf7-radio input:checked ~ span:after {
    opacity: 1;
    visibility: visible;
}

.wpcf7-checkbox input:focus ~ .wpcf7-list-item-label:before,
.wpcf7-checkbox input:focus ~ span:before,
.wpcf7-radio input:focus ~ .wpcf7-list-item-label:before,
.wpcf7-radio input:focus ~ span:before {
    border-color: #0f4c94;
    box-shadow: 0 0 0 4px rgba(15, 76, 148, 0.2);
}

.wpcf7-radio .wpcf7-list-item-label:before {
    border-radius: 50%;
}

.wpcf7-radio .wpcf7-list-item-label:after {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: #0f4c94;
    position: absolute;
    top: calc(50% - 0.5em);
    left: 0.5em;
    visibility: hidden;
}

.wpcf7-checkbox .wpcf7-list-item-label:before {
    border-radius: 8px;
}

.wpcf7-checkbox .wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    left: 1em;
    top: 50%;
    width: 0.5em;
    height: 1em;
    border: solid #0f4c94;
    border-width: 0 3px 3px 0;
    transform: translate(-40%, -60%) rotate(45deg);
    visibility: hidden;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
    opacity: 0;
}

.wpcf7-display-none {
    display: none;
}

@keyframes spin {
    0% {
        transform: none;
    }
    100% {
        transform: rotate(360deg);
    }
}

.wpcf7 form.submitting button[type="submit"]:after {
    content: "";
    display: inline-block;
    vertical-align: top;
    border: 2px solid transparent;
    border-left: 2px solid;
    animation: spin 1s infinite linear;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    margin-right: -10px;
}

.wpcf7 form.submitting button[type="submit"] svg {
    display: none;
}

.validation_message,
.wpcf7-not-valid-tip {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
    padding-left: 16px;
    font-style: italic;
    display: none;
}

.wpcf7-response-output:empty {
    display: none;
}

.validation_error,
.wpcf7-response-output {
    color: #dc3545;
    background-color: hsla(330deg, 75%, 90%, 0.4);
    background-image: url('img/alert-red.svg');
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 20px 50%;
    border-radius: 8px;
    padding: 20px;
    padding-left: 60px;
    line-height: 20px;
    font-size: 17px;
    margin-top: 30px;
}

.wpcf7-form.sent .validation_error,
.validation_error.wpcf7-mail-sent-ok,
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    background-image: url('img/check.svg');
}

/* */

form .row {
	margin: 0 -15px;
}

form .col {
	padding: 0 15px;
}

/* */

.btn-burger {
    transition: 0s;

    /*transition-delay: 0.3s;

    opacity: 1 !important;*/

    position: fixed;
	z-index: 30;
	background: var(--primary);
	color: #fff;
	border: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	padding: 0;

	top: 5vw;
	right: 5vw;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

@media (min-width: 1025px) {

	.btn-burger {
		transform: scale(0.75);
		opacity: 0;
		pointer-events: none;
	}

}

body.scrolled-down:not(.contact-modal-active) .btn-burger {
	transition: 0.2s;
}

body.main-nav-active .btn-burger,
body.contact-modal-active .btn-burger,
body.scrolled-down .btn-burger {
	transform: none;
	opacity: 1;
	pointer-events: auto;
}

.btn-burger:active {
	transform: scale(0.9) !important;
	transition: 0s;
}
.burger-bar {
    display: block;
    width: 22px;
    border-top: 2px solid;
    transition: transform 0.3s;
}

.btn-burger .state-inactive .burger-bar + .burger-bar {
    margin-top: 4px;
}

.btn-burger .state-inactive {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-burger .state-inactive,
.btn-burger .state-active {
    width: 22px;
    height: 22px;
    position: relative;
    overflow: hidden;
}

.btn-burger .state-active {
    position: absolute;
}

.btn-burger .state-inactive .burger-bar:nth-child(1) {
    transition-delay: 0.3s;
}

.btn-burger .state-inactive .burger-bar:nth-child(2) {
    transition-delay: 0.35s;
}

.btn-burger .state-inactive .burger-bar:nth-child(3) {
    transition-delay: 0.4s;
    width: 16px;
}

.btn-burger .state-active .burger-bar {
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 11px);
}

.btn-burger .state-active .burger-bar:nth-child(1) {
    transform: rotate(-45deg) translateX(-27px);

    transition-delay: 0.1s;
}

.btn-burger .state-active .burger-bar:nth-child(2) {
    transform: rotate(45deg) translateX(27px);
}

/* */

body.contact-modal-active .btn-burger,
body.main-nav-active .btn-burger {
    transition-delay: 0s;
}

body.contact-modal-active .btn-burger .state-inactive .burger-bar,
body.main-nav-active .btn-burger .state-inactive .burger-bar {
    transform: translateX(22px);
}

body.contact-modal-active .btn-burger .state-inactive .burger-bar:nth-child(1),
body.main-nav-active .btn-burger .state-inactive .burger-bar:nth-child(1) {
    transition-delay: 0s;
}

body.contact-modal-active .btn-burger .state-inactive .burger-bar:nth-child(2),
body.main-nav-active .btn-burger .state-inactive .burger-bar:nth-child(2) {
    transition-delay: 0.05s;
}

body.contact-modal-active .btn-burger .state-inactive .burger-bar:nth-child(3),
body.main-nav-active .btn-burger .state-inactive .burger-bar:nth-child(3) {
    transition-delay: 0.1s;
}

/* */

@keyframes cross_1 {
    0% {
        transform: rotate(-45deg) translateX(27px);
    }
    100% {
        transform: rotate(-45deg);
    }
}

@keyframes cross_2 {
    0% {
        transform: rotate(45deg) translateX(-27px);
    }
    100% {
        transform: rotate(45deg);
    }
}

body.contact-modal-active .btn-burger .state-active .burger-bar:nth-child(1),
body.main-nav-active .btn-burger .state-active .burger-bar:nth-child(1) {
    transform: rotate(-45deg);
    transition: 0s;
    transition-delay: 0s;

    animation-name: cross_1;
    animation-duration: 0.3s;
    animation-fill-mode: backwards;
    animation-delay: 0.5s;
}

body.contact-modal-active .btn-burger .state-active .burger-bar:nth-child(2),
body.main-nav-active .btn-burger .state-active .burger-bar:nth-child(2) {
    transform: rotate(45deg);
    transition: 0s;
    transition-delay: 0s;

    animation-name: cross_2;
    animation-duration: 0.3s;
    animation-fill-mode: backwards;
    animation-delay: 0.4s;
}

/* */

.modal-container {
	background: #fff; 
	position: fixed; 
	top: -30px; 
	left: 0; 
	right: 0; 
	bottom: 0; 
	z-index: 25; 

	padding-top: 30px;
	transform: translateY(30px);

	display: flex; 
	align-items: center;
	
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.contact-modal-active #contact {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: none;

	transition: 0.4s;
}

body.intersection-observer.contact-modal-active #contact .animate {
	transform: none;
	opacity: 1;
}

/* */

.modal-container .sidebar-bg {
	position: absolute; 
	top: 0; 
	right: 0;
	bottom: 0; 
	width: 40%; 
	background: var(--secondary);
}

@media (min-width: 1200px) {

	.col-form {
		padding-left: 10vw !important; 
		padding-right: 7.5vw !important; 
		background: #fff;
	}

	.col-sidebar .section-dark-bg-image {
		display: none;
	}

}

@media (max-width: 1199px) {

	.modal-container {
		align-items: flex-start;
		overflow: auto;
	}

	.modal-container .sidebar-bg {
		display: none;
	}

}

@media (max-width: 567px) {

	.modal-container small {
		margin-top: 20px;
		font-size: 13px;
		text-align: center;
	}

}

/* */

/*.section-posts:first-child {
	margin-top: 65px;
}*/

.section-posts {
	/*background: var(--secondary);*/
	overflow: hidden;
}



/*.section-posts .row > .col:nth-child(even) .post-container .post {
	padding-top: calc(40px + 10vh);
}*/

.post-image {
	padding-top: 90%; /*56.25%;*/
	background-size: cover;
	background-position: center;
	background-color: var(--bg-grey);
}

.post-container {
	display: block;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: 0.3s;
}

@media (hover: hover) {

	.post-container:hover {
		transform: translateY(-20px);
	}

}

.post-container .post {
	padding: 10vw;
	background: #fff;
	color: var(--secondary);
	margin-top: -20vw;
	flex-grow: 1;
}

.post-title {
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.025em;
	max-width: 13em;
}

.post-container .pre-heading-shapes {
	width: 126px;
}

.section-posts .row > .col:nth-child(odd) .post-container .post {
	clip-path: circle(200vw at 0% 200vw);
}

.section-posts .row > .col:nth-child(even) .post-image {
	clip-path: circle(200vw at 100% calc(100% - 200vw));
}

@media (max-width: 567px) {

	.section-posts .row > .col:nth-child(odd) .pre-heading-shapes {
		margin-top: 5vw;
	}

	.section-posts .row > .col:nth-child(even) .pre-heading-shapes {
		margin-top: 15vw;
	}

	.section-posts .row > .col:nth-child(odd) .post-container .post {
		clip-path: circle(300vw at 0% 300vw);
	}

	.section-posts .row > .col:nth-child(even) .post-image {
		clip-path: circle(300vw at 100% calc(100% - 300vw));
	}

	.section-posts .container {
		width: 100%;
	}

	.section-posts .row {
		margin: 0;
	}

	.section-posts,
	.section-posts .col {
		padding: 0;
	}

	.nav-links {
		margin: 40px 0;
	}

}

@media (min-width: 578px) {

	.section-posts .row > .col:nth-child(odd) .pre-heading-shapes {
		margin-top: 0;
	}

	.section-posts .row > .col:nth-child(even) .pre-heading-shapes {
		margin-top: 10vw;
	}

	.post-container .post {
		padding: 60px;
	}
}

@media (min-width: 1200px) {

	.post-container .post {
		margin-top: -10vw;
	}

	.section-posts .row > .col:nth-child(even) .pre-heading-shapes {
		margin-top: 5vw;
	}

	.section-posts .row > .col:nth-child(odd) .post-container .post {
		clip-path: circle(100vw at 0% 100vw);
	}

	.section-posts .row > .col:nth-child(even) .post-image {
		clip-path: circle(100vw at 100% calc(100% - 100vw));
	}

	.section-posts .row > .col-50:nth-child(even) {
		transform: translateY(160px);
	}

	.section-posts .row > .col-50:nth-child(even) + .col-100 .nav-links {
		margin-top: 160px;
	}

}

@media (min-width: 1300px) {
	.post-title { 
		font-size: 34px;
	}
}

/* Pagination */

.nav-links {
	text-align: center;
	display: flex;
	justify-content: center;

	color: #fff;
}

.nav-links a,
.nav-links span {
	min-width: 60px;
	line-height: 60px;
	padding: 0px 20px;

	color: inherit;
}

@media (hover: hover) {

	.nav-links a:hover,
	.nav-links a:focus {
		color: var(--primary);
	}

}

.nav-links .current {
	font-weight: 500;
	color: var(--primary);
	background: #fff;
	cursor: default;
	margin: 0 10px;
	border-radius: 30px;
}

@media (max-width: 480px) {
	.nav-links .prev,
	.nav-links .next {
		display: none;
	}
}

/* */

@media (min-width: 1200px) {

	.sidebar-nav {
		position: sticky; 
		top: 10vw;
	}

}

.sidebar-nav ul {
	padding: 0;
	margin: 0 0 60px;
	list-style: none;
	border-left: 1px solid hsla(234deg, 90%, 31%, 0.2);
}

.section-dark .sidebar-nav ul {
	border-left: 1px solid rgba(255,255,255,0.25);
}

.sidebar-nav a {
	display: block;
	padding-left: 36px;

	max-width: calc(13em + 40px);	
	opacity: 0.5;
}

.sidebar-nav li + li {
	margin-top: 0.75em;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
	border-left: 1px solid;
	margin-left: -1px;
	opacity: 1;
}

/* */

.post-author-bio {
	max-width: 36em;
}





/* */

#listing {
	background: rgba(41,49,60,0.05); 
	position: relative;
}

body.post-type-archive-listing #listing {
	padding-top: 103px;
}

.fancy-select-wrap {
	display: inline-block;
	width: 8em;
}

.listings-search-bar {
	position: sticky; 
	top: 66px; 
	background: #29313c; 
	color: #fff; 
	z-index: 2; 
	padding: 20px 0;
	margin-bottom: 0 !important;
	pointer-events: auto;
}

.listings-search-bar form {
	width: 100%; 
	display: flex; 
	justify-content: space-between; 
	flex-wrap: wrap;
	margin-bottom: -10px;
}

.listings-search-bar form > * {
	margin-bottom: 10px;
}

.listings-search-bar h2 {
	color: inherit;
	text-align: center;
	margin-bottom: 20px;
}

.listings-search-bar input,
.listings-search-bar select {
	border-color: transparent !important;
	background-color: rgb(63, 71, 80) !important;
	color: inherit !important;

	-webkit-appearance: none;

	display: inline-block;
	margin: 0;
	margin-left: 1em;
	flex-grow: 1;
	border-radius: 0;
}

.listings-search-bar select {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) 50%;
	padding-right: 36px;
}

.listings-search-bar button {
	background: none; 
	padding: 0; 
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
}

.listings-search-bar button span {
	width: 100%;
}

.listings-filters-sidebar hr {
	border: none;
	border-top: 1px solid;
	margin: 15px 0;
}

.listing {
	background: #fff; 
	box-shadow: 0 30px 30px rgba(0,0,0,0.1); 
	display: block; 
	margin-bottom: 50px;
}

.listing-pad {
	padding: 30px;
}

.map-toggle {
	position: fixed;
	bottom: 5vw;
	left: 5vw;
	z-index: 15;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
}

body.map-active .map-toggle .js-inactive {

}

.map-toggle .state-active:not(body.map-active .map-toggle .state-active),
body.map-active .map-toggle .state-inactive {
	display: none;
}

@media (max-width: 1199px) {

	#listing {
		padding-top: 0 !important;
	}

	.listing-map-container {
		position: fixed;
		top: 56px;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10;
	}

	body:not(.map-active) .listing-map-container {
		display: none;
	}

	.properties-search-bar {
		padding: 40px 0;
	}

	#listing > .container {
		padding-top: 40px;
	}

}

@media (max-width: 567px) {

	.ge-col-sidebar {
		flex-basis: 100%;
	}

}

@media (min-width: 568px) {

	.ge-col-sidebar {
		max-width: 280px;
	}

	.property-filters-sidebar {
		position: sticky; 
		top: 60px;
	}

	.visible-mobile {
		display: none;
	}

}

@media (min-width: 768px) {

	.ge-col-logo {
		max-width: 150px;
	}

}

@media (max-width: 1023px) {

	.listing-pad + .listing-pad .ge-col:not(.ge-col:last-child) {
		flex-basis: 25%;
	}

	.listing-pad + .listing-pad .ge-col:last-child {
		flex-basis: 100%;
	}

}

@media (max-width: 960px) {

	.properties-search-bar form > * {
		flex-grow: 1;
		display: flex;
		align-items: center;
	}

}

@media (max-width: 767px) {

	.listing .ge-col {
		flex-basis: 100%;
	}

	.listing-pad + .listing-pad .ge-col:not(.ge-col:last-child) {
		flex-basis: 50%;
	}

}



@media (min-width: 568px) and (max-width: 960px) {

	.properties-search-bar form  {
		margin-left: calc(var(--ge-gutter) * -1);
		margin-right: calc(var(--ge-gutter) * -1);
	}

	.properties-search-bar form > * {
		flex-basis: calc(50% - (var(--ge-gutter) * 2));
		margin-left: var(--ge-gutter);
		margin-right: var(--ge-gutter);
	}

}

@media (min-width: 1200px) {

	

	.property-filters-sidebar {
		top: 200px;
	}

	.sticky-container {
		position: absolute; 
		top: 0; 
		left: 0; 
		width: 100%; 
		height: 100%; 
		pointer-events: none;
	}

	#listing {
		padding-right: 33.333vw;
	}

	#listing > .container {
		padding: 50px;
	}

	body.post-type-archive-property_commercial #listing > .container,
	body.post-type-archive-property_long #listing > .container {
		padding-left: 20%;
	}

	.listing-map-container {
		position: sticky; 
		top: 146px; 
		margin-left: auto; 
		width: 33.333vw; 
		height: calc(100vh - 146px); 
		pointer-events: auto;
	}

}

@media (min-width: 1700px) {

	#listing > .container {
		padding: 80px;
	}

}

/* */

.profile-pic {
	width: 150px;
	position: relative; 
	background-size: cover; 
	background-position: center;
}

.profile-pic:before {
	content: "";
	display: block;
	padding-top: 100%;
}

/* */

label input[type="checkbox"],
label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

label input[type="checkbox"] + span,
label input[type="radio"] + span {
    display: flex !important;
    align-items: center;
    position: relative;
}

label input[type="checkbox"] + span:before,
label input[type="radio"] + span:before {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 20%;
    background: #fff;
    border: 1px solid #dee2e6;
    margin-right: 0.5em;
    flex-shrink: 0;
    box-shadow: inset 0 5px 3px -3px rgba(0, 0, 0, 0.05);
}

label input[type="radio"] + span:before {
    border-radius: 50%;
}

label input[type="radio"] + span:after {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: #c8825a;
    position: absolute;
    top: calc(50% - 0.25em);
    left: calc(0.25em + 1px);
    visibility: hidden;
}

label input[type="checkbox"] + span:after {
    content: "";
    position: absolute;
    left: 0.5em;
    top: 50%;
    width: 0.2em;
    height: 0.5em;
    border: solid #c8825a;
    border-width: 0 3px 3px 0;
    transform: translate(-40%, -60%) rotate(45deg);
    visibility: hidden;
}

label input[type="radio"]:checked + span:after,
label input[type="checkbox"]:checked + span:after {
    visibility: visible;
}

label input[type="radio"] + span:focus:before,
label input[type="radio"]:focus + span:before,
label input[type="checkbox"] + span:focus:before,
label input[type="checkbox"]:focus + span:before {
    border-color: #c8825a;
    box-shadow: 0 0 0 4px rgba(200, 130, 90, 0.2), 0 30px 40px rgba(0, 0, 0, 0.05), 0 15px 20px rgba(200, 130, 90, 0.1);
}

/* */

.gm-style .gm-style-iw {
	padding: 20px !important;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
	font-size: 16px;
	font-weight: 400;
	font-family: inherit;
	min-width: 320px !important;
}

.gm-style .gm-style-iw:focus {
	outline: none;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1),

	0 0 0 5px rgba(200, 130, 90, 0.2),
	0 10px 20px rgba(200, 130, 90, 0.2);
}

.gm-style-iw-ch {
	padding: 0 !important;
}

.gm-style-iw-chr > button {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	width: 48px !important;
	height: 48px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 10 !important;
}

.gm-style-iw-chr > button img,
.gm-style-iw-chr > button span {
		width: 24px !important;
		height: 24px !important;
		margin: 3px !important;
}

.gm-style-iw-d {
	max-width: 100% !important;
	min-width: 0 !important;
	/*padding-bottom: 10px;
	//padding-right: 20px;


	//overflow: hidden !important;*/
	overflow: visible !important; /* Stop toggle switch focus outline from getting cut off */

}

/* */

.bg-image {
	background-size: cover;
	background-position: center;
}

.square:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.rectangle:before {
	content: "";
	display: block;
	padding-top: 100%;
}
