
.heroform-block {
position: relative;
padding: 90px 0;
overflow: hidden;
}
.heroform-block.imageleft {
padding: 0;
}
.heroform-block .center {
position: relative;
z-index: 1;
}
.heroform-block.imageleft .row .span6:first-child {
box-sizing: border-box;
}
.heroform-block.imageleft .row .span6:last-child {
box-sizing: border-box;
padding: 90px 0;
}
.heroform-block .span6:first-child {
display: flex;
flex-wrap: wrap;
}

.heroform-block .row.row_reverse {
flex-direction: row-reverse;
}
.heroform-block .row.row_reverse .span6:first-child {
margin: 0 0 0 3.5%;
}
.heroform-block .row.row_reverse .span6:last-child {
margin: 0;
}

.heroform-block figure {
width: 100%;
box-sizing: border-box;
padding: 20px;
margin: 0;
}
.heroform-block img {
display: block;
margin: 0 auto;
}
.heroform-block .maxwidth {
max-width: 500px;
padding: 0 20px 0 0;
}
.heroform-block .row.row_reverse .maxwidth {
padding: 0;
margin: 0 0 0 auto;
}
.heroform-contact {
align-self: flex-end;
font-size: 18px;
font-weight: 600;
}
.heroform-block .row.row_reverse .heroform-contact {
width: 100%;
max-width: 500px;
margin: 0 0 0 auto;
}
.heroform-contact span {
display: block;
padding: 10px 0;
}
.heroform-contact span i {
display: inline-block;
vertical-align: middle;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: 24px 24px;
width: 24px;
height: 24px;
margin: -3px 5px 0 0;
}
.heroform-contact span.phone i {
background-image: url(../../images/icons/home.svg);
}
.heroform-contact span.email i {
background-image: url(../../images/icons/tick-box.svg);
}
.navy-bg-color span.phone i,
.cobalt-bg-color span.phone i,
.magenta-bg-color span.phone i,
.green-bg-color span.phone i {
background-image: url(../../images/icons/home-white.svg);
}
.navy-bg-color span.email i,
.cobalt-bg-color span.email i,
.magenta-bg-color span.email i,
.green-bg-color span.email i {
background-image: url(../../images/icons/tick-box-white.svg);
}
.heroform-contact a {
text-decoration: none;
}
.heroform-contact a:hover,
.heroform-contact a:focus {
text-decoration: underline;
}
.heroform-block:not(.white-bg-color) .content-wrapper {
box-shadow: 0 0 75px rgba(0,0,0,0.33);
color: #011C41;
background: #F5FBFF;
border-radius: 8px;
padding: 30px;
}
.heroform-block:not(.white-bg-color) .content-wrapper a {
color: #0172c5;
}
.heroform-block:not(.white-bg-color) .content-wrapper a:hover {
color: #011C41;
}
.heroform-block .content-wrapper ul li:before,
.heroform-block .content-wrapper ul li:before,
.heroform-block .content-wrapper ul li:before,
.heroform-block .content-wrapper ul li:before,
.heroform-block .content-wrapper ul li:before {
background: #0172c5;
}
.heroform-block .content-wrapper ol li:before,
.heroform-block .content-wrapper ol li:before,
.heroform-block .content-wrapper ol li:before,
.heroform-block .content-wrapper ol li:before,
.heroform-block .content-wrapper ol li:before {
color: #0172c5;
}
.heroform-block .content-wrapper .tick ul li:before,
.heroform-block .content-wrapper .tick ul li:before,
.heroform-block .content-wrapper .tick ul li:before,
.heroform-block .content-wrapper .tick ul li:before,
.heroform-block .content-wrapper .tick ul li:before {
background: url(../../images/icons/tick-box.svg) 50% 50% no-repeat;
background-size: 16px 16px;
}
.heroform-block .wpforms-container,
.heroform-block form {
margin: 0;
}
.heroform-block.imagebgleft .bg-img,
.heroform-block.imagebgright .bg-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
}
.heroform-block.imagebgleft .bg-img.top,
.heroform-block.imagebgright .bg-img.top {
background-position: 50% 0%;
}
.heroform-block.imagebgleft .bg-img.bottom,
.heroform-block.imagebgright .bg-img.bottom {
background-position: 50% 100%;
}
.heroform-block.imagebgleft .bg-img:before,
.heroform-block.imagebgright .bg-img:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
pointer-events: none;
}
.heroform-block.imagebgleft .bg-img:before {
background: linear-gradient(45deg, rgba(245, 251, 255, 0.9) 45%, rgba(245, 251, 255, 0) 65%);
}
.heroform-block.imagebgright .bg-img:before {
background: linear-gradient(135deg, rgba(245, 251, 255, 0) 35%, rgba(245, 251, 255, 0.9) 55%);
}
.heroform-block.white-bg-color + .reviews {
margin-top: -90px;
}
@media screen and (max-width: 767px) {
	.heroform-block {
	padding: 60px 0;
	}
	.heroform-block .span6:first-child {
	margin: 0;
	}
	.heroform-block.imageleft .row .span6:first-child {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 0;
	}
	.heroform-block.imageleft .row .span6:last-child {
	box-sizing: border-box;
	padding: 20px 0 60px 0;
	}
	.heroform-block .maxwidth {
	max-width: none;
	flex: 0 0 100%;
	padding: 0 0 20px 0;
	}
	.heroform-block .row.row_reverse .maxwidth {
	margin: 0 0 20px 0;
	}
	.heroform-contact {
	margin: 0 0 40px 0;
	}
	.heroform-block .row.row_reverse .heroform-contact {
	max-width: none;
	margin: 0 0 30px 0;
	}
	.heroform-block.white-bg-color + .reviews {
	margin-top: -60px;
	}
	.heroform-block.imagebgleft .bg-img:before,
	.heroform-block.imagebgright .bg-img:before {
	background: rgba(245, 251, 255, 0.75);
	}
}

/* Background shield images */
.heroform-block .bg-shdw {
position: absolute;
width: 1920px;
height: 1920px;
background-position: 0 0;
background-repeat: no-repeat;
background-size: 1920px 1920px;
z-index: 0;
}
.heroform-block .bg-shdw.shdw-left-inner {
top: -550px;
left: -500px;
rotate: 45deg;
}
.heroform-block .bg-shdw.shdw-left-outer {
top: -550px;
left: -500px;
rotate: 45deg;
}
.heroform-block .bg-shdw.shdw-right-inner {
top: -550px;
right: -550px;
rotate: -45deg;
}
.heroform-block .bg-shdw.shdw-right-outer {
top: -550px;
right: -550px;
rotate: -45deg;
}


/* Overlay & animation to highlight form */
.heroform-bg-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.6);
opacity: 0;
z-index: 100;
pointer-events: none;
transition: opacity 0.4s ease;
}
.heroform-bg-overlay.active {
opacity: 1;
pointer-events: auto;
}
.form-container {
position: relative;
z-index: 200;
}
@keyframes wiggle {
0% { transform: translateX(0); }
15% { transform: translateX(-5px); }
30% { transform: translateX(5px); }
45% { transform: translateX(-4px); }
60% { transform: translateX(4px); }
75% { transform: translateX(-2px); }
90% { transform: translateX(2px); }
100% { transform: translateX(0); }
}
.wiggle {
animation: wiggle 0.6s ease-in-out;
}
