/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Sansation:wght@600;700&family=Titillium+Web&display=swap');

html {
	font-size: 20px;
}
h1,h2,h3,h4,h5,h6 {
	font-family: "Sansation", sans-serif;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0px;
	color: #56485F;
	opacity: 1;
}
h1 {
	font-size: 34px;
	line-height: 38px;
	margin-bottom: 25px;
}
h2 {
	font-size: 30px;
	line-height: 33px;
	margin-bottom: 28px;
}
h3 {
	font-size: 25px;
	line-height: 28px;
	margin-bottom: 18px;
}
p,ul,ol,dl,label {
	font-family: "Titillium Web", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 21px;
	line-height: 26px;
	letter-spacing: 0.19px;
	color: #171717;
	opacity: 1;
	margin-bottom: 26px;
}
ul {
	list-style-type: square;
	list-style-position: inside;
	padding-left: 0;
}
ul li {
	margin-bottom: 26px;
}
.bg-lt-grey {
	background-color: #f0f0f0;
}


/* NAV */

.header {
	background: #3D3244;
	color: rgba(255,255,255,0.7);
	height: 120px;
}
.header .header-menu .nav .nav-item .nav-link {
	font-family: "Titillium Web", sans-serif;
	font-weight: 400;
	font-size: 22px;
	color: #666;
	letter-spacing: 0.015em;
	text-transform: uppercase;
}
.header .header-menu .nav .nav-item:hover .nav-link::before {
	display: none;
}
.header .header-menu .nav .nav-item .nav-link:hover {
	color: #888;
}
.header .header-toggle span,
.header .header-toggle span::before,
.header .header-toggle span::after {
	background: #666;
}


/* HOME */ 

#hero .section.bg-image {
	height: 720px;
}
#hero .section.bg-image .container .ycg {
	margin-top: -18px;
}
#intro .owl-carousel {
	margin: 61px 0 -63px;
}
#calc label, #calc p {
	margin-bottom: 1rem;
	padding: 15px 0;
}
#benefits .nav {
	margin-top: -7px;
	display: flex;
}
#benefits .nav .nav-item {
	flex: auto;
	position: relative;
}
#benefits .nav.nav-pills .nav-item .nav-link {
	position: absolute;
	width: auto;
	left: 0;
	right: 0;
	max-width: 100%;
	color: #fff;
	background: #BCBCBC;
	padding: 18px 20px 14px;
	border-radius: 0;
}
#benefits .nav.nav-pills .nav-item .nav-link.active, 
#benefits .nav.nav-pills .nav-item .show .nav-link {
	background: #F7931E;
	margin: 0 18px;
}
#benefits .nav.nav-pills .nav-item:has(> .nav-link.active) + .nav-item > .nav-link, 
#benefits .nav.nav-pills .nav-item:has(> .show .nav-link) + .nav-item > .nav-link {
	margin-left: 18px;
}
#benefits .nav.nav-pills .nav-item:has(+ .nav-item .nav-link.active) > .nav-link, 
#benefits .nav.nav-pills .nav-item:has(+ .nav-item .show .nav-link) > .nav-link {
	margin-right: 18px;
}
#benefits .nav.nav-pills .nav-item .nav-link:before,
#benefits .nav.nav-pills .nav-item .nav-link:after {
	z-index: -1;
	content: "";
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: inherit;
}
#benefits .nav.nav-pills .nav-item .nav-link:before {
	left: -18px;
}
#benefits .nav.nav-pills .nav-item .nav-link:after {
	right: -18px;
}

#benefits .nav.nav-pills .nav-item .nav-link.active:before, 
#benefits .nav.nav-pills .nav-item .show .nav-link:before,
#benefits .nav.nav-pills .nav-item:has(> .nav-link.active) + .nav-item > .nav-link:before, 
#benefits .nav.nav-pills .nav-item:has(> .show .nav-link) + .nav-item > .nav-link:before {
	left: 0px;
/* SLANT
	-webkit-transform: skewX(-10deg);
	-moz-transform: skewX(-10deg);
	-ms-transform: skewX(-10deg);
	transform: skewX(-10deg);
*/
}
#benefits .nav.nav-pills .nav-item .nav-link.active:after, 
#benefits .nav.nav-pills .nav-item .show .nav-link:after, 
#benefits .nav.nav-pills .nav-item:has(+ .nav-item .nav-link.active) > .nav-link:after, 
#benefits .nav.nav-pills .nav-item:has(+ .nav-item .show .nav-link) > .nav-link:after {
	right: 0px;
/* SLANT
	-webkit-transform: skewX(-10deg);
	-moz-transform: skewX(-10deg);
	-ms-transform: skewX(-10deg);
	transform: skewX(-10deg);
*/
}

#benefits .nav.nav-pills .nav-item .nav-link {
	margin: 0 18px;
}
#benefits .nav.nav-pills .nav-item:first-of-type .nav-link:before, 
#benefits .nav.nav-pills .nav-item:first-of-type .nav-link:before,
#benefits .nav.nav-pills .nav-item:last-of-type .nav-link:after, 
#benefits .nav.nav-pills .nav-item:last-of-type .nav-link:after {
	height: 0;
	width: 0;
}

#benefits .nav.nav-pills .nav-item:first-of-type .nav-link {
	margin-left: 0;
}
#benefits .nav.nav-pills .nav-item:last-of-type .nav-link {
	margin-right: 0;
}
#benefits .tab-content {
	padding-top: 83px;
}
#message.bg-lt-grey {
	background-color: #f0f0f0;
}
#contact .container {
	padding-top: 38px;
}
footer {
	margin-top: 57px;
}


/* MODALS */

.hide, .modal-backdrop {
	display:none;
}
.modalDialog, .modalDrawer {
	overflow:auto;
	height:100%;
	position:fixed; /* follows you when you scroll */
	right:0;
	left:0;
	background: rgba(0,0,0,0.7);
	z-index:99999;
	pointer-events:none;
	-webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	-moz-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	-o-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modalDialog {
	top:100%;
	bottom:auto;
}
.modalDrawer {
	bottom: 100%;
	top: auto;
}
.modalDialog.visible, .modalDrawer.visible {
	bottom: 0;
	pointer-events:auto;
}
.modalDialog.visible {
	top: 0;
}
.modalDialog h3, .modalDrawer h3 {
	font-weight: 200;
	font-size: 27px;
	margin-bottom: 30px;
}
.modalDialog form {
	padding: 46px 0 0;
	text-align: center;
}
input:not(.form-check-input), .form-control {
	font-family: 'venn', sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	border: 1px solid #ccc;
}
.modalDialog form input[type=submit] {
	width: auto;
	margin: 0 auto 16px;
	border-radius: 0;
}
.modalDialog > div, .modalDrawer > div {
	background:#fff;
	position:relative;
	padding:30px 34px 40px;
	border-radius: 0;
}
.modalDialog > div {
	max-width:414px;
	margin:5% auto;
}
.modalDrawer > div {
	max-width: 1200px;
	margin: 0 auto;
}
.modalDialog .modalClose, .modalDrawer .modalClose {
	z-index: 9999;
	background: none;
	position: absolute;
	width: 24px;
	font-size: 26px;
	color: #20262b;
	text-align: center;
	text-decoration: none;
}
.modalDialog .modalClose {
	font-weight: 600;
	right: 12px;
	top: 9px;
}
.modalDrawer .modalClose {
	left: 50%;
	transform: translateX(-50%);
	bottom: 20px;
}
.modalDrawer a {
	color: #131519;
}
.modalDialog .form-error {
	margin-bottom: 20px;
}
.modalDialog .form-error h3 {
	font-weight: 300;
	font-size: 23px;
	margin-bottom: 0;
}
.modalDialog .form-error label {
	font-size: 15px;
	line-height: 24px;
}


/* TERMS MODAL */

#terms-modal.modalDialog h3 {
	font-weight: 200;
	font-size: 23px;
}
#terms-modal.modalDialog p {
	font-size: 15px;
	line-height: 22px;
}
#terms-modal.modalDialog > div {
	max-width: 600px;
}
