/*
Theme Name: BasicDev Template
Author: BasicDev Template
Author URI: 
Description: BasicDev Template
Version: 1.0.0
License: 
License URI: 
Text Domain: basicdev
*/
/* Box sizing

--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Typography

--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color);
	font-family: 'AvenirNext-Regular';
	font-size: var(--font-size);
	line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0;
}

h1 {
	position: relative;
	z-index: 1;
}

h2 {}

h3 {}

h4 {}

h5 {}

h6 {}

p {
	margin-top: 0;
	margin-bottom: 0;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--color);
	text-decoration: none;
}

strong {
	font-weight: 700
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements

--------------------------------------------- */
body {
	background: #fff;
}

.container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0px 15px;
}

@media screen and (min-width: 992px) {
	.container {
		width: 1700px;
		padding: 0px 30px;
	}
}

* {
	outline: none;
}

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

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

.wow {
	visibility: hidden;
}

.button {
	text-align: center;
	transition: all 0.2s ease-in-out;
}

.validation_error {
	display: none;
}

.validation_message {
	font-size: 14px;
	text-align: left;
}

main {
	padding-top: 64px;
	overflow:hidden;
}

.lity-iframe video {
	width: 100%;
	height: 100%;
}

.lity-iframe,
.lity-iframe div,
.lity-inline,
.lity-inline div,
.lity-youtube,
.lity-youtube div,
.lity-vimeo,
.lity-vimeo div {
	height: 100% !important;
	max-height: 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-top: inherit;
}

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

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

figure {
	margin: 1em 0;
}

table {
	width: 100%;
}

/* Navigation */
#masthead {
	width: 100%;
	z-index: 99999;
	color: var(--color);
	position: fixed;
	left: 0;
	top: 0;
	height: 64px;
}

#masthead a {
	color: var(--white);
}

#masthead .uppercase.container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

#masthead .header-top {
	height: 52px;
	font-size: 18px;
}

#masthead .header-top .phone {
	padding: 10px 15px 10px 28px;
	background: url(assets/images/icon-phone.png) no-repeat left;
	background-image: -webkit-image-set(url(assets/images/icon-phone.png) 1x, url(assets/images/icon-phone@2x.png) 2x);
}

#masthead .header-top .mail {
	padding: 10px 15px 10px 47px;
	background: url(assets/images/icon-mail.png) no-repeat left;
	background-image: -webkit-image-set(url(assets/images/icon-mail.png) 1x, url(assets/images/icon-mail@2x.png) 2x);
}

#masthead .header-top .soc-instagram {
	width: 22px;
	height: 22px;
	background: url(assets/images/icon-instagram.png);
	background-image: -webkit-image-set(url(assets/images/icon-instagram.png) 1x, url(assets/images/icon-instagram@2x.png) 2x);
}

#masthead .header-top .soc-facebook {
	width: 11px;
	height: 22px;
	background: url(assets/images/icon-facebook.png);
	background-image: -webkit-image-set(url(assets/images/icon-facebook.png) 1x, url(assets/images/icon-facebook@2x.png) 2x);
}

@media (max-width:767.98px) {
	.headercontent {
		will-change: transform;
	}
}

#masthead #logo,
#masthead #logo a {
	line-height: 0;
}

#masthead #logo a {
	display: inline-block;
	position: relative;
}

#masthead #logo a img {
	position: relative;
}

#masthead #site-navigation {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	position: relative;
}

#masthead #site-navigation .menu {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	opacity: 1;
	visibility: visible;
}

#masthead #site-navigation .menu > li a {
	display: inline-block;
	padding: 10px 0 0 0 !important;
	font-size: 16px;
}

#masthead .headercontent {
	width: 100%;
	transition: transform var(--trans-smooth), color var(--trans), -webkit-transform var(--trans-smooth);
}

#masthead #site-navigation .top {
	display: none;
}

#masthead #mobile-menu-hide,
#masthead #mobile-menu-show,
#masthead #site-navigation .menu > li > a {
	text-decoration: none
}

#masthead #mobile-menu-hide,
#masthead #mobile-menu-show {
	width: 28px;
}

#masthead #mobile-menu-show span {
	display: block;
	width: 28px;
	height: 2px;
	background: #fff;
	margin: 8px 0;
}

.mmenu-visible #masthead #mobile-menu-show {
	background-image: url(./assets/images/icon-close-white.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	height: 19px;
}

.mmenu-visible #masthead #mobile-menu-show span {
	display: none !important;
}

#masthead #mobile-menu-show {
	display: none;
}

html.mmenu-visible {
	overflow: hidden !important;
}

.mobile-menu-visible #masthead #mobile-menu-show span {
	width: 15px;
	height: 15px;
	background: url(assets/images/icon-close-dark.svg) no-repeat center;
}

.mobile-menu-visible #masthead #mobile-menu-show span:before,
.mobile-menu-visible #masthead #mobile-menu-show span:after {
	display: none
}

.mobile-menu-visible #masthead #mobile-menu-show {
	width: 15px;
	height: 15px;
	margin-top: 2px;
	z-index: 9999;
}

body.menu-hidden #masthead #site-navigation .menu {
	opacity: 0;
	visibility: hidden
}

#masthead .menu-item-has-children a {
	position: relative;
}

#masthead #menu-header-nav > .menu-item-has-children > a::after {
	content: '';
	position: absolute;
	top: 12px;
	right: 0;
	transform: rotate(-90deg);
	transform-origin: center;
	background-image: url(./assets/images/arrow-down-white.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 13px;
	height: 15px;
}

.mac #masthead #menu-header-nav > .menu-item-has-children > a::after {
	top: 12px;
}

footer {
	background-color: var(--blue);
	color: #fff;
	padding: 59px 0 50px 0;
}

footer .container {
	display: flex;
	justify-content: space-between;
}

#copyright {
	font-size: 16px;
}

#menu-footer-nav {
	list-style: none;
	display: flex;
	gap: 44px;
	padding: 4px 0 0 0;
}

#menu-footer-nav a {
	color: #fff;
	font-size: 16px;
	font-family: "new-science";
	font-weight: bold;
	text-transform: uppercase;
}

@media (min-width:768px) {
	#masthead {
		height: 64px;
	}

	#navigation .inner {
		position: static;
	}

	#masthead #menu-header-nav > .menu-item-has-children:hover a::after {
		transform: rotate(0deg);
	}

	#masthead #site-navigation .menu > li.menu-item-has-children > a {
		padding-right: 16px !important;
	}

	#masthead #menu-header-nav > li > .sub-menu {
		display: flex;
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: 48px;
		left: 0;
		background: #fff;
		width: auto;
		margin: 0;
		padding: 21px 58px 41px 40px;
		z-index: 99999;
		box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.21);
	}

	#masthead #menu-header-nav > li > .sub-menu::before {
		content: '';
		position: absolute;
		top: -20px;
		left: 0;
		right: 0;
		height: 20px;
	}

	#masthead #menu-header-nav > li > .sub-menu ul,
	#masthead #menu-header-nav > li > .sub-menu ul li {
		padding: 0;
		margin: 0;
	}

	#masthead #menu-header-nav > li > .sub-menu ul {
		display: flex;
		flex-direction: column;
	}

	#masthead #menu-header-nav .sub-menu li a {
		color: #001822;
		text-transform: none;
	}

	#masthead #menu-header-nav .sub-menu li a:hover {
		text-decoration: underline;
	}

	#masthead #site-navigation .menu > li .sub-menu .sub-menu a {
		font-size: 13px;
		padding-top: 12px !important;
	}

	#masthead #menu-header-nav > li > .sub-menu > li > a {
		text-transform: uppercase;
		font-family: "new-science";
		font-weight: bold;
		font-size: 16px;
		position: relative;
	}

	#masthead #menu-header-nav > li > .sub-menu > li > a::after {
		content: '';
		position: absolute;
		top: 13px;
		right: -19px;
		background-image: url('./assets/images/arrow-right-blue.svg');
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		width: 13px;
		height: 15px;
	}

	#masthead #menu-header-nav > li > .sub-menu > li {
		padding: 0 25px;
		width: max-content;
	}

	#masthead #menu-header-nav > li > .sub-menu > li:last-child {
		padding-right: 0;
	}

	#masthead #menu-header-nav > li > .sub-menu > li:first-child {
		padding-left: 0;
	}

	#masthead #site-navigation .menu > li.menu-item-has-children:hover .sub-menu {
		visibility: visible;
		opacity: 1;
	}

	.menu-header-nav-left-container li {
		padding-right: 50px;
	}

	.menu-header-nav-left-container li:last-child {
		padding-right: 0;
	}

	#masthead .menu li {
		display: inline-block;
		padding: 0 50px;
	}

	#masthead .menu li:last-child {
		padding-right: 0;
	}
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
	#masthead #site-navigation .menu > li.menu-item-has-children:hover .sub-menu {
		flex-direction: column;
	}

	#masthead #menu-header-nav > li > .sub-menu > li {
		padding: 0 !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 992px) {
	#masthead #menu-header-nav > .menu-item-has-children > a::after {
		width: 9px;
		height: 11px;
	}
}

@media (max-width:1020px) and (min-width:768px) {
	.menu-header-nav-right-container {
		right: 15px;
	}

	.menu-header-nav-left-container {
		left: 15px;
	}

	.menu-header-nav-left-container li {
		padding-right: 50px;
	}

	.menu-header-nav-right-container li {
		padding-left: 50px;
	}
}

@media (max-width:1100px) {
	#masthead .menu li {
		padding: 0 10px;
	}

	#masthead .button {
		font-size: 13px !important;
		width: auto !important;
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width:767.98px) {
	body:not(.mobile-menu-visible) #masthead {
		overflow: hidden
	}

	#masthead .uppercase.container {
		/* flex-direction: row-reverse; */
	}

	.menu-header-nav-left-container,
	.menu-header-nav-right-container {
		margin-top: 20px;
	}

	#masthead #site-navigation {
		display: none;
		background: #ebebeb;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: calc((var(--vh, 1vh) * 100));
		z-index: 300;
		color: #fff;
		padding: 0 15px 0 15px;
		overflow: auto;
		-ms-flex-align: center;
		align-items: center;
		margin-left: 100vw;
		opacity: 0;
		visibility: hidden;
		transition: all .3s ease-in-out;
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-start;
	}

	#masthead #site-navigation ul {
		padding: 0;
		margin: 0;
	}

	#masthead #site-navigation ul.sub-menu li {
		margin: 15px 0;
		padding: 0;
	}

	#masthead #site-navigation ul.sub-menu li .sub-menu li {
		margin: -4px 0;
	}

	#masthead #menu-header-nav > .menu-item-has-children > a::after {
		top: 2px;
		right: -20px;
	}

	.ipad #masthead #menu-header-nav > .menu-item-has-children > a::after,
	.iphone #masthead #menu-header-nav > .menu-item-has-children > a::after,
	.mac #masthead #menu-header-nav > .menu-item-has-children > a::after {
		top: 5px;
	}

	#masthead #menu-header-nav > .menu-item-has-children.acc_active > a::after {
		transform: rotate(0deg);
	}

	#masthead #menu-header-nav > li > .sub-menu > li > a::after {
		content: '';
		position: absolute;
		top: 16px;
		right: -20px;
		transform: rotate(-90deg);
		transform-origin: center;
		background-image: url(./assets/images/arrow-down-white.svg);
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		width: 13px;
		height: 15px;
	}

	#masthead #site-navigation .inner {
		height: calc((var(--vh, 1vh) * 100) - 64px );
		overflow: auto;
		padding-bottom:50px;
	}

	#masthead #site-navigation {
		opacity: 0;
		visibility: hidden;
	}

	#masthead #site-navigation .top {
		display: flex;
	}

	#masthead #mobile-menu-show {
		display: block
	}

	#masthead #site-navigation {
		display: flex;
		margin-top: 64px;
		background: #001822;
	}

	#masthead .menu-header-nav-container {
		padding-top: 50px;
	}

	body.mobile-menu-visible #masthead #site-navigation {
		opacity: 1;
		visibility: visible;
		margin-left: 0;
	}

	#masthead #site-navigation #mobile-menu-hide {
		position: absolute;
		top: 26px;
		left: 25px;
	}

	#masthead #site-navigation .menu {
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
		text-align: left;
	}

	#masthead #site-navigation .menu > li {
		display: block
	}

	#masthead #site-navigation .menu > li > a {
		text-decoration: none;
		font-size: 24px;
		line-height: 1.5;
		padding: 0 0 !important;
	}

	#masthead #site-navigation .menu > li + li {
		margin-top: 35px;
	}

	#masthead .menu a.level0 span,
	#masthead .menu a.level0:after {
		color: #000;
	}

	#masthead #site-navigation .menu > li {
		float: none;
		border: none;
	}

	#masthead .menu {
		overflow: hidden;
	}
}

@media (max-width:992px) {
	#masthead #site-navigation .menu > li a {
		font-size: 12px;
	}

	#masthead .menu li {
		padding: 0 5px;
	}

	#masthead .button {
		margin-left: 15px;
		font-size: 11px !important;
		width: 153px !important;
		height: 32px !important;
		line-height: 32px !important;
	}

	#masthead #logo a img {
		width: 80px;
	}

	#masthead #site-navigation .menu > li.menu-item-has-children > a {
		background-position: right 5px;
	}

	#menu-footer-nav {
		gap: 20px;
	}

	footer .left {
		padding-right: 40px;
		flex-shrink: 0;
	}
}

@media screen and (max-width: 767px) {
	#masthead #site-navigation .menu > li a {
		font-size: 16px;
		background: transparent;
		border: none;
	}

	#masthead #site-navigation .menu .sub-menu .sub-menu a {
		font-size: 12px;
		font-family: 'AvenirNext-Regular';
		text-transform: none;
		font-weight:400;
	}

	footer {
		padding: 36px 0 29px 0;
	}

	footer .container,
	#menu-footer-nav {
		flex-direction: column;
	}

	#copyright {
		text-align: left;
		font-size: 12px;
	}

	footer img {
		width: 100px;
		margin-bottom: 14px;
	}

	#menu-footer-nav {
		gap: 7px;
	}
}

@media screen and (max-width: 567px) {
	html {
		overflow: auto !important;
	}

	body {
		font-size: 18px;
		line-height: 28px;
	}
}

.jarallax {
	position: relative;
	z-index: 0;
}

.jarallax > .jarallax-img {
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

body {
	position: relative;
}

.formblock {
	margin-top: 23px;
	border-radius: 10px;
}

.formblock .form-close {
	font-size: 24px;
	top: 20px;
	padding: 0;
}

#hero .formblock .button {
	margin-top: 0;
	padding-top: 3px;
}

#hero .formblock .close {
	font-size: 24px;
	color: #000000;
	right: 20px;
	top: 7px;
	font-weight: 700;
}

.formblock .form-close.with-success {
	right: 10px;
	display: none;
}

.formblock .gform_wrapper {
	padding: 0px 45px 15px 45px;
}

.formblock .gform_wrapper li {
	margin: 0;
}

.formblock .gfield_html {
	font-size: 16px;
	line-height: 1.3;
	color: var(--black);
	padding-bottom: 20px;
}

.formblock .gform_submission_error {
	display: none;
}

.formblock .gform_wrapper label {
	display: none
}

.formblock ::placeholder {
	opacity: 1;
	color: #000;
}

.formblock .gform_validation_container {
	display: none;
}

.formblock .gform_wrapper input,
.formblock .gform_wrapper textarea,
.formblock .gform_wrapper select {
	font-size: 18px !important;
	border: 1px solid #a5a5a5;
	border-radius: 3px;
	text-indent: 0;
	background: #fff;
	text-align: left;
	padding: 0;
	height: 56px;
	line-height: 56px;
}

.formblock .gform_wrapper textarea {
	padding-top: 20px !important;
	height: 56px !important;
	resize: none !important;
	line-height: 1
}

.formblock .gform_wrapper select {
	width: 100%;
	text-align: left;
	outline: none;
	appearance: none;
	background-repeat: no-repeat;
	background-position: calc(100% - 20px) center;
	background-image: url(../images/down-arrow.png);
	background-image: -webkit-image-set(url(../images/down-arrow.png) 1x, url(../images/down-arrow@2x.png) 2x);
	background-size: 17px 11px;
	cursor: pointer;
}

.formblock .gform_wrapper.gravity-theme .gfield_validation_message,
.formblock .gform_wrapper.gravity-theme .validation_message {
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 12px;
}

.formblock .gform_wrapper .validation_message {
	text-align: left;
	top: -15px;
	right: 0;
	font-size: 12px;
}

.formblock #field_1_7,
.formblock #field_2_7 {
	color: #272727;
	font-size: 27px;
	line-height: 37px;
	padding-top: 57px;
	padding-bottom: 10px;
}

.formblock .gform_confirmation_wrapper {
	min-height: 475px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.formblock .gform_confirmation_message h3 {
	font-size: 40px;
	color: #272727;
}

.formblock .gform_confirmation_message p {
	font-size: 20px !important;
	color: #272727 !important;
	line-height: 1.4 !important;
}

.formblock .gform_confirmation_message br {
	display: block !important;
}

.formblock .gform_validation_errors {
	display: none !important;
}

.formblock.fixed {
	display: none;
}

.formblock .gform_footer .gform_button {
	margin: 0 auto;
}

.formblock .gform_footer {
	position: relative;
}

.formblock .gform_ajax_spinner {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0px;
}

.button,
.formblock .gform_footer .gform_button {
	width: 260px;
	height: 48px;
	line-height: 47px;
	padding-top: 3px;
	background: var(--green);
	display: inline-block;
	text-align: center;
	color: #fff;
	font-family: "new-science";
	font-weight: 700;
	border: 0;
	border-radius: 0;
	font-size: 20px;
	letter-spacing: 0.04em;
}

/* Fix line-height issues */
.ipad .button,
.ipad .formblock .gform_footer .gform_button,
.iphone .button,
.iphone .formblock .gform_footer .gform_button,
.mac .button,
.mac .formblock .gform_footer .gform_button {
	padding-top: 1px;
}

.ipad #hero .formblock .button,
.iphone #hero .formblock .button,
.mac #hero .formblock .button {
	padding-top: 1px;
}

.button2 {
	color: var(--green);
	position: relative;
	display: inline-block;
	width: fit-content;
}

.button2::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -14px;
	background-image: url('./assets/images/arrow-green.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 8px;
	height: 13px;
}

.popup-active {
	overflow: hidden;
}

.popup-active .formblock.fixed {
	display: block;
	z-index: 999999;
	max-width: 674px;
	position: fixed;
	right: 0;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	max-height: 95%;
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: auto;
}

.popup-active .page-wrapper {
	position: relative;
}

.popup-active:after {
	background: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	opacity: 0.9;
}

#field_2_8 {
	position: relative;
}

@media only screen and (max-width:1500px) {
	.formblock .l6 br {
		display: none;
	}
}

@media screen and (max-width: 1100px) {
	#hero .formblock {
		margin-top: 30px;
	}
}

@media screen and (min-width: 992px) and (max-height: 880px) {
	.popup-active .formblock.fixed {
		transform: translateY(-50%) scale(0.9);
		height: inherit;
		justify-content: flex-start;
	}
}

@media screen and (max-width: 567px) {

	.formblock .form-close {
		right: 0;
		font-size: 20px;
	}

	#hero .formblock {
		margin-top: 38px;
		overflow: hidden;
	}

	#hero .formblock .close {
		display: none;
	}

	#hero .gform_footer {
		margin-top: -3px;
	}

	.formblock .gform_fields {
		grid-row-gap: 9px !important;
	}

	.formblock #field_1_7,
	.formblock #field_2_7 {
		font-size: 17px;
		line-height: 1.4;
		padding-top: 25px;
		max-width: 350px;
		padding-bottom: 14px;
	}

	.formblock .gform_wrapper {
		padding: 6px 17px 1px 17px;
		background: var(--white);
		border-radius: 5px;
	}

	.formblock .gform_confirmation_wrapper {
		min-height: 220px;
		padding: 0 15px;
	}

	.formblock .gform_confirmation_message {
		font-size: 12px;
	}

	.formblock .gform_wrapper input,
	.formblock .gform_wrapper textarea,
	.formblock .gform_wrapper select {
		font-size: 12px !important;
		height: 40px !important;
		line-height: 40px !important;
		text-indent: 8px;
	}

	.formblock .gform_wrapper textarea {
		line-height: 1 !important;
		padding: 15px 0 0 8px !important;
	}

	.popup-active:after {
		background-image: url(../../images/bg-popup-m.jpg);
		background-image: -webkit-image-set(url("../../images/bg-popup-m.jpg") 1x, url("../../images/bg-popup-m@2x.jpg") 2x);
	}

	.popup-active .formblock.fixed {
		max-width: 95%;
	}

	.formblock .gform_wrapper .validation_message {
		position: absolute;
		text-align: left;
		top: auto;
		bottom: -6px;
		left: 0;
		right: auto;
		font-size: 9px;
	}

	.formblock .gform_confirmation_message h3 {
		font-size: 21px;
	}

	.formblock .gform_confirmation_message p {
		font-size: 16px !important;
		line-height: 24px !important;
	}

	.formblock .gform_confirmation_message p br {
		display: none !important;
	}

	.formblock:not(.fixed) {
		min-height: 100%;
	}
}


@media screen and (max-width: 400px) {
	.formblock #field_1_7,
	.formblock #field_2_7 {
		font-size: 15px;
	}
}

@media screen and (max-width: 365px) {
	.formblock #field_1_7,
	.formblock #field_2_7 {
		font-size: 14px;
	}
}

@media screen and (max-width: 350px) {
	.formblock #field_1_7,
	.formblock #field_2_7 {
		font-size: 13px;
	}
}


.before-after {
	display: flex;
	margin-top: 120px;
	justify-content: space-between;
}

.before-after .item {
	display: block;
	width: calc(50% - 24px);
}

.before-after .decor {
	position: absolute;
	top: -33px;
	left: -20px;
	width: 107px;
	height: 107px;
	background-color: var(--blue);
	font-size: 16px;
	line-height: 19px;
	border-radius: 50%;
	z-index: 2;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.before-after .after .decor {
	background-color: var(--green);
}

.before-after img {
	width: 100%;
	border-radius: 10px;
}

.before-after .swiper-button-next,
.before-after .swiper-button-prev {
	width: 32px;
	height: 32px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0px 3px 6px #00000029;
	--swiper-navigation-color: #000;
	--swiper-navigation-size: 32px;
	--swiper-navigation-sides-offset: -15px;
}

.before-after .swiper-button-next:after,
.before-after .swiper-rtl .swiper-button-prev:after,
.before-after .swiper-button-prev:after,
.before-after .swiper-rtl .swiper-button-next:after {
	font-size: 11px;
	font-weight: bold;
}

.before-after .swiper-pagination {
	--swiper-pagination-bottom: -43px;
	--swiper-pagination-color: #001822;
	--swiper-pagination-bullet-inactive-color: transparent;
	--swiper-pagination-bullet-horizontal-gap: 9px;
}

.before-after .swiper-pagination-bullet {
	border: 1px solid #707070;
	width: 9px;
	height: 9px;
	opacity: 1;
}

@media screen and (max-width: 768px) {
	.before-after {
		flex-direction: column;
		gap: 47px;
		margin-top: 37px;
	}

	.before-after .item {
		width: 100%;
	}

	.button,
	.formblock .gform_footer .gform_button {
		width: 153px;
		height: 32px !important;
		line-height: 33px !important;
		padding-top: 1px;
		font-size: 11px !important;
	}

	#hero .formblock .button {
		padding-top: 1px;
	}

	#masthead .button {
		line-height: 31px !important;
	}

	.ipad .button,
	.ipad .formblock .gform_footer .gform_button,
	.iphone .button,
	.iphone .button,
	.mac .formblock .gform_footer .gform_button,
	.mac .formblock .gform_footer .gform_button {
		padding-top: 0px !important;
	}

}

@media screen and (max-width: 567px) {
	.before-after .decor {
		font-size: 7px;
		line-height: 8px;
		width: 57px;
		height: 57px;
		top: -18px;
		left: -7px;
		padding-top: 4px;
	}

	.iphone .before-after .decor,
	.ipad .before-after .decor,
	.mac .before-after .decor {
		padding-top: 1px;
	}

	.before-after .swiper-button-next,
	.before-after .swiper-button-prev {
		width: 24px;
		height: 24px;
		--swiper-navigation-sides-offset: -12px;
	}

	.before-after .swiper-button-next:after,
	.before-after .swiper-rtl .swiper-button-prev:after,
	.before-after .swiper-button-prev:after,
	.before-after .swiper-rtl .swiper-button-next:after {
		font-size: 8px;
	}

	.before-after .swiper-pagination {
		--swiper-pagination-bottom: -20px;
		--swiper-pagination-bullet-horizontal-gap: 6px;
	}

	.before-after .swiper-pagination-bullet {
		width: 7px;
		height: 7px;
	}
}

#testimonials {
	margin-top: -67px;
}

#testimonials .l1 {
	font-size: 20px;
}

#testimonials p {
	font-size: 18px;
	line-height: 28px;
	max-width: 365px;
}

#testimonials p img {
	margin-bottom: 13px;
}

#testimonials .swiper {
	padding: 10px;
	margin: 0 20px;
}

#testimonials .swiper-slide {
	height: auto;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.20);
	padding: 9px 25px 27px 74px;
	display:flex;
	flex-direction: column;
	justify-content: center;
}

#testimonials .name {
	font-size: 20px;
}

#testimonials .location {
	font-size: 16px;
}

#testimonials .swiper-prev,
#testimonials .swiper-next {
	width: 45px;
	height: 45px;
	background: #fff url(./assets/images/icon-arrow.svg) no-repeat center;
	bottom: 110px;
	border: 1px solid #e3e3e3;
	border-radius: 22px;
}

#testimonials .swiper-prev {
	left: 37px;
	transform: scale(-1);
	box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.12);
}

#testimonials .swiper-next {
	right: 37px;
	left: auto;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.12);
}

@media only screen and (min-width: 1200px) {
	#testimonials .container {
		width: 1760px;
	}
}

@media only screen and (max-width: 1740px) {
	#testimonials .swiper {
		margin: 0;
	}

	#testimonials .swiper-prev {
		left: 17px;
	}

	#testimonials .swiper-next {
		right: 17px;
	}
}

@media screen and (max-width: 992px) {
	#testimonials .container {
		padding: 0 !important;
	}

	#testimonials .swiper-prev,
	#testimonials .swiper-next {
		display: none;
	}
}

@media screen and (max-width: 567px) {
	#testimonials {
		margin-top: -117px;
	}

	#testimonials .l1 {
		font-size: 14px;
	}

	#testimonials .swiper-wrapper {
		padding: 30px 0 15px 0;
	}

	#testimonials p {
		font-size: 12px;
		line-height: 17px;
		max-width: 235px;
	}

	#testimonials p img {
		margin-bottom: 8px;
	}

	#testimonials .name {
		font-size: 16px;
	}

	#testimonials .location {
		font-size: 12px;
		line-height: 1;
	}

	#testimonials img {
		margin: 3px 0 0px 0;
		width: 119px;
	}

	#testimonials .swiper-slide {
		padding: 20px 15px 20px 30px;
	}

	#testimonials .swiper {
		padding: 10px 15px;
	}
}

#advantage {
	margin-top: 99px;
}

#advantage .title h3 {
	padding-bottom: 0;
	color: #000;
}

#advantage .text {
	font-size: 20px;
	line-height: 29px;
	margin-bottom: 63px;
	margin-top: 5px;
}

#advantage .swiper {
	width: calc(100% + 16px);
	margin-left: -8px;
	overflow: visible;
}

@media screen and (min-width: 993px ) {
	#advantage .swiper-wrapper {
		justify-content: center;
	}
}

#advantage .item {
	width: calc(25% - 16px);
	background: #F7F7F7;
	border-radius: 10px;
	margin: 0 8px;
	height: 296px;
}

#advantage .item:after {
	content: "";
	position: absolute;
	top: -10px;
	left: -10px;
	width: 45px;
	height: 45px;
	background: url(./assets/images/icon-check.svg);
}

#advantage .icon {
	height: 96px;
}

#advantage h4 {
	font-size: 24px;
	line-height: 32px;
	padding-top: 15px;
	color: #000;
	font-weight:400;
}

@media screen and (max-width: 1100px) {
	#advantage h4 {
		font-size: 20px;
		line-height: 28px;
	}
}

@media screen and (max-width: 567px) {
	#advantage {
		margin-top: 0;
	}

	#advantage .item {
		height: 199px;
		margin: 0 5px;
	}

	#advantage a {
		margin-top: 10px;
	}

	#advantage h4 {
		font-size: 16px;
		line-height: 22px;
		padding-top: 0;
	}

	#advantage img {
		transform: scale(0.8);
	}

	#advantage .title h3 {
		padding-top: 34px;
		padding-bottom: 9px;
	}

	#advantage .text {
		font-size: 12px;
		line-height: 18px;
		max-width: 350px;
		margin: 0 auto;
	}

	#advantage .text br {
		display: none;
	}

	#advantage .swiper {
		padding-top: 31px;
	}

	#advantage .item:after {
		top: -8px;
		left: -5px;
		width: 23px;
		height: 23px;
		background-size: 100%;
	}

	.formblock .gform_wrapper.gravity-theme .gfield_validation_message, .formblock .gform_wrapper.gravity-theme .validation_message {
		display:none;
	}
}