/*
 	Theme Name: Flexico
	Version: 1
 */

:root {
	--black: #010101;
	--green: #183028;
	--teal: #39D7C2;
	--white: #FFF;
	--grey: #D4D4D2
}

html,
body{
	scroll-behavior: smooth;
}

section {
	width: 100%;
}

body {
	margin: 0;
}

body * {
	box-sizing: border-box;
}

body,
p,
select,
li,
div {
	font-family: 'Helvetica', sans-serif;
	font-size: 16px;
	font-weight: 400;
}

body .cms p:nth-last-child(1) {
    margin-bottom: 0;
}

body li a {
	color: var(--teal);
	word-wrap: break-word
}

body ul {
	padding-left: 16px;
}

.cms h1,
.h1 {
	font-size: 92px;
	font-weight: 700;
	letter-spacing: -1.84px;
	margin: 0;
}

.cms h2,
.h2 {
	font-size: 72px;
	font-weight: 700;
	line-height: 115%;
	letter-spacing: -1.44px;
	margin: 0;
}

.cms h3,
.h3 {
	font-size: 32px;
	font-weight: 400;
	line-height: 130%;
	letter-spacing: -0.32px;
	margin: 0;
}

.cms h4,
.h4 {
	font-size: 24px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.cms p,
.p {
	font-size: 18px;
	font-weight: 400;
	line-height: 150%;
	margin-top: 0;
	margin-bottom: 20px;
}

.cms .p-l p,
.cms .p-l,
.p-l p,
.p-l {
	font-size: 32px;
	font-weight: 400;
	line-height: 135%
}

body a {
	text-decoration: none;
	transition: .4s ease;
}

body a:hover {
	color: var(--teal)
}

body img {
	display: block
}

.dark p,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark a {
	color: var(--white);
}

.button {
    text-decoration: none;
    display: inline-block;
    padding: 11px 20px;
    font-size: 16px;
    border-radius: 100px;
    transition: .3s ease;
	border: solid 1px;
}

.button.gform_button {
	background-color: var(--teal);
	width: 100%;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTMuMTI1IDEwSDE2Ljg3NSIgc3Ryb2tlPSIjMDEwMTAxIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSA0LjM3NUwxNi44NzUgMTBMMTEuMjUgMTUuNjI1IiBzdHJva2U9IiMwMTAxMDEiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
	background-repeat: no-repeat;
    background-position: right 100px center;
    padding-right: 40px;
    text-transform: lowercase;
}

.cta-v2 .button.gform_button {
	background-image: none;
	width: fit-content;
	background-color: var(--green);
	border-color: var(--green);
	color: var(--white);
	margin: 0 auto;
	padding-right: 20px;
}

.button.button--arrow {
    display: inline-flex;
    gap: 12px;
}

.button.button--arrow:after {
    content: '';
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTMuMTI1IDEwSDE2Ljg3NSIgc3Ryb2tlPSIjMDEwMTAxIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSA0LjM3NUwxNi44NzUgMTBMMTEuMjUgMTUuNjI1IiBzdHJva2U9IiMwMTAxMDEiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
    display: block;
    height: 20px;
    width: 20px;
}

.container {
	max-width: 1280px !important;
	width: 80%;
	margin: 0 auto;
	padding: 0 44px;
}

#menu-main-menu {
    list-style: none;
}

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

.hero select {
    appearance: none;
    background-size: 44px;
    background-repeat: no-repeat;
    background-position: right 10px center;
    height: 60px;
    cursor: pointer;
}

.gfield textarea {
	font-family: Arial;
}

.gfield select {
	appearance: none;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjMWYxZjFmIj48cGF0aCBkPSJNNDgwLTM2MCAyODAtNTYwaDQwMEw0ODAtMzYwWiIvPjwvc3ZnPg==");
	background-size: 46px;
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.blog-post__body h1 {
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -1.44px;
}

.blog-post__body h2 {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.64px;
    margin-bottom: 52px;
    margin-top: 50px;
}

.image-carousel__slider {
    position: relative;
}

/* .image-carousel__slider:before {
    content: '';
    display: block;
    height: 110%;
    width: 40px;
    background: white;
    position: absolute;
    left: -90px;
    top: -20px;
    z-index: 100000;
    box-shadow: 90px 0px 20px 11px #ffffff8a;
}

.image-carousel__slider:after {
    content: '';
    display: block;
    height: 110%;
    width: 40px;
    background: white;
    position: absolute;
    right: -90px;
    top: -20px;
    z-index: 100000;
    box-shadow: 90px 0px 20px 11px #ffffff8a;
} */

.newsletter .gform_heading {
    display: none;
}

#cms-content .newsletter .gform_fields {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

#cms-content .newsletter form {
    display: flex;
    align-items: center;
    gap: 24px;
}

.newsletter .gform-body.gform_body {
    width: 100%;
}

#cms-content .newsletter .gform_fields>div {
    width: 100%;
}

#cms-content .newsletter .gform_fields>div input {
    background-color: transparent;
    border: solid 2px var(--teal);
    border-radius: 999px;
    color: var(--teal);
    padding: 8px 20px;
    font-family: Helvetica;
    font-size: 18px;
}

#cms-content .newsletter .gform_fields>div input::placeholder {
    color: var(--teal);
}

#cms-content .newsletter .button.gform_button {
    padding-right: 24px;
    padding-left: 23px;
    font-weight: bold;
    color: var(--green);
	background-image: none;
}

header #menu-item-123454 .sub-menu a {
	text-transform:capitalize !important;
}

.text-image-person--1__content {
    width: 42%;
}

#cms-content .swiper-scrollbar {
    height: 18px;
    background-color: var(--green);
    padding: 3px 0;
    cursor: grab;
}

#cms-content .swiper-scrollbar .swiper-scrollbar-drag {
    background-color: var(--teal);
}

#cms-content .contact input, #cms-content .contact select, #cms-content .contact textarea {
    background-color: var(--teal);
    border-radius: 999px;
    color: var(--green);
    font-weight: bold;
}

#cms-content .contact input::placeholder, #cms-content .contact textarea::placeholder {
    color: var(--green);
}

#cms-content .contact textarea {
    border-radius: 16px;
}

#cms-content .contact input.button {
    width: auto;
    background-image: none;
    background-color: var(--green);
    color: var(--white);
    padding-right: 20px;
    display: block;
    margin: 0 auto;
}

.contact__ty:before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: #183028;
    position: absolute;
    left: -100%;
    top: 0;
}

.page-id-123717 .text-image h2 span {
    background-color: var(--green) !important;
    color: var(--teal) !important;
}

.page-id-123766 .cms h1 {
    line-height: 80px;
}

.page-id-123766 .cms h1 span {
    line-height: 100%;
}

select option {
	background-color: var(--white);
	color: var(--black);
}

select option:hover {
	background-color: var(--green);
}

@media only screen and (max-width: 1600px) {
	.text-image-person[data-layout="2"] h2 {
		font-size: 60px;
	}
	
	.text-image-person--1__content {
		width: 52%;
	}
}

@media only screen and (max-width: 1440px) {
	.text-image-person--1__content {
		width: 58%;
	}
}

@media only screen and (max-width: 1280px) {
	.text-image-person[data-layout="2"] h2 {
		font-size: 42px;
	}
	
	.text-image-person--1__content {
		width: 67%;
	}
}

@media only screen and (max-width: 1200px) {
	.text-image-person--1__content {
		width: 67%;
	}
}

@media only screen and (max-width: 1024px) {
	.contact__ty:before {
		display: none;
	}
	
	.text-image-person--1__content {
		width: 100%;
	}
	
	#menu-button {
		position: relative;
		width: 32px;
		height: 32px;
		font-size: 2rem;
		transition: all 0.3s ease;
		cursor: pointer;
		background-color: transparent;
		border: none;
	}

	#menu-button span {
		position: absolute;
		right: 0;
		width: 100%;
		height: 0.125em;
		border-radius: 0.125em;
		background: var(--teal);
		transition: inherit;
	}

	#menu-button span:nth-child(1) {
		top: 0.125em;
	}

	#menu-button span:nth-child(2) {
		top: 0.438em;
	}

	#menu-button span:nth-child(3) {
		top: 0.75em;
		width: 0.625em;
	}

	#menu-button[aria-expanded="true"] span:nth-child(1) {
		top: 50%;
		transform: translateY(-50%) rotateZ(-135deg);
	}

	#menu-button[aria-expanded="true"] span:nth-child(2) {
		right: 50%;
		width: 0;
	}

	#menu-button[aria-expanded="true"] span:nth-child(3) {
		top: 50%;
		width: 100%;
		transform: translateY(-50%) rotateZ(135deg);
	}

	.header__menu {
		position: fixed;
		top: 89px;
		left: 0;
		width: 100%;
		height: calc(100dvh - 89px);
		background-color: var(--green);
		border-top: solid var(--teal) 5px;
		opacity: 0;
		visibility: hidden;
		transition: .3s ease;
	}
	
	.admin-bar .header__menu {
		top: 120px;
		height: calc(100dvh - 120px);
	}
	
	.header__menu.menu--open{
		opacity: 1;
		visibility: visible
	}
	
	#header #menu-main-menu li {
		width: 100%;
		position: relative;
	}

	#menu-main-menu .sub-menu {
		position: relative;
		opacity: 1;
		visibility: visible;
		padding: 0;
		list-style: none;
		margin-top: 20px;
		margin-left: 10px;
		display: none;
		background: none;
	}

	#header #menu-main-menu .menu-item-has-children>svg {
		position: absolute;
		right: 0;
		cursor: pointer;
	}

	#header #menu-main-menu, #header .menu-main-menu-container {
		width: 100%;
	}

	#header #menu-main-menu .menu-item-has-children>svg path {
		stroke: #fff;
	}

	#menu-main-menu .sub-menu.open {
		display: block;
	}
}

@media only screen and (max-width: 767px) {
	.cms h1,
	.h1 {
		font-size: 52px;
	}

	.cms h2,
	.h2 {
		font-size: 38px;
	}
	
	.text-image-person--1__content h2 {
		line-height: 140%;
	}

	.text-image-person--1__content h2 span {
		padding: 30px 12px !important;
	}

	.cms h3,
	.h3 {
		font-size: 26px;
	}
	
	#cms-content .newsletter .gform_fields,
	#cms-content .newsletter form {
		flex-direction: column
	}
}

@media only screen and (max-width: 639px) {
	.button.gform_button {
		background-position: right 50px center
	}
	
	.cms .text-image__fancy-heading {
		font-size: 30px;
	}
	
	.text-image-person[data-layout="2"] h2 {
        font-size: 30px;
    }
	
	.text-image br {
		display: none;
	}
	
	.table .cms .table__main>.flex h4 {
		font-size: 22px;
	}

	.table .cms .table__main>.flex h3 {
		font-size: 18px;
	}

	.table .cms .grid img {
		height: 24px;
		width: 24px;
	}
}