/**
* Fuel Theme
* Version 5.0.0
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
--------------------------------------------------------------*/


.main { overflow: hidden; }


/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.home-header {position: relative;background: var(--primary-color);}
.home-header-image { height: 28.25rem;padding-top: 1.7rem; padding-right: 0.8rem; padding-left: 0.8rem; padding-bottom: 1.2rem;}
.home-header-image:after {content: '';background-image: url(../images/hero-image.png);background-position: 81% top;background-size: cover;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}
.home-header-container { z-index: 2; position: relative; height: 100%;display: flex;flex-wrap: wrap;justify-content: center;align-content: space-between;}
.home-header-text-title { font-size: 2rem; line-height: 1.4; text-align: center; color: var(--white); text-shadow: 0px 0px 12px var(--content-color); margin: 0 0 0;}
.home-header-text-title br { display: none; }
.green-text { color: var(--accent-color); }
.home-header-button-container {width: 100%;}
.home-header-button { display: flex; height: 2.3rem; justify-content: center; align-items: center; background: var(--white); text-align: center; margin: 0 auto 1rem; font-size: 0.9rem; line-height: 1.15; color: var(--primary-color); width: 100%;max-width: 14.3rem;font-family: 'Fredoka', sans-serif;}
/* .home-header-button:last-of-type { margin: 0 auto 0; } */
.home-header-button:hover, .home-header-button:focus { background: var(--accent-color); color: var(--white); }
.home-header-button svg { height: 0.9rem; margin-right: 0.35rem; }
.hero-dot-grid { width: 38.8vw; max-width: 12rem;height: 50vw; max-height: 12.5rem;background-image: url(../images/dot-grid.svg); background-size: cover;position: absolute; bottom: -22.5vw; right: 0rem; z-index: 1; }

@media (min-width: 48.5em) {
	.home-header:before { content: ''; position: absolute; top: 0; right: 15.3vw; bottom: 0; left: 0; background: linear-gradient(90deg, #253A7C 7.5%, rgba(37, 58, 124, 0) 100%); z-index: 1; }
	.home-header-image { padding-top: 5rem; }
}

@media (min-width: 58.5em) {
    .home-header-image { height: 34.5rem; padding-top: 0;padding-right: var(--contain-padding); padding-bottom: 0;padding-left: var(--contain-padding);}
    .home-header-image:after {  background-position: calc(100% - 4rem) top;background-repeat: no-repeat; }
    .home-header-container { display: flex;  align-content: center;}
    .home-header-text-title {font-size: 2.5rem;margin: 0 0 3rem;}
    .home-header-text-title br { display: block; }
}

@media (min-width: 68.5em) {
    .home-header-image:after { transform: translateX(-100%); transition: all 750ms ease-in-out; }
    .js-intersected .home-header-image:after { transform: translateX(0%);}    
    .home-header-container { justify-content: flex-start; }
    .home-header-text { position: relative; }
    .home-header-text-title { font-size: 3rem;line-height: 1; margin-left: 3rem; opacity: 0; transition: all 500ms ease-in-out; transition-delay: 1s; }
    .js-intersected .home-header-text-title { opacity: 1; }
    .home-header-left-icon { width: 1.9rem; height: 17rem; position: absolute; top: 0; bottom: 0; left: -2.5rem;margin: auto; display: flex; }
    .home-header-left-icon-line {height: 7.3rem;width: 0.1rem;background: var(--white);position: absolute;right: 0;left: 0;margin: auto;} 
    .header-lower-line { bottom: 0; }   
    .home-header-left-icon-line.header-upper-line { transform: scale(1,0); transition: all 300ms ease-in-out; transform-origin: bottom; transition-delay: 750ms; }
    .home-header-left-icon-line.header-lower-line { transform: scale(1,0); transition: all 300ms ease-in-out; transform-origin: top; transition-delay: 750ms; }
    .js-intersected .home-header-left-icon-line.header-upper-line, 
    .js-intersected .home-header-left-icon-line.header-lower-line { transform: scale(1,1); }
    .home-header-left-icon-green-ring { width: 1.85rem; height: 0.7rem; background-image: url(../images/ring-icon-green.svg); background-size: contain; background-position: center; background-repeat: no-repeat; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; z-index: 1; opacity: 0; transition: all 300ms ease-in-out; transition-delay: 750ms; }
    .js-intersected .home-header-left-icon-green-ring { opacity: 1; }
    .home-header-button-container { right: 3rem; position: absolute;right: 0;bottom: 0;display: flex; transform: scale(1,0); transition: all 300ms ease-in-out; transform-origin: bottom; transition-delay: 1.5s; }
    .js-intersected .home-header-button-container { transform: scale(1,1); }
    .home-header-button {margin: 0;border-radius: 1.5rem 1.5rem 0 0;width: auto;max-width: none;padding: 0 2.5rem;}
    .home-header-button:last-of-type {margin: 0 0 0 1.2rem;}
}

@media (min-width: 75em) {
    .home-header-text-title { font-size: 3.6rem; text-align: left;margin-bottom: 0;}
    .home-header-button-container { justify-content: flex-end; }
    .hero-dot-grid { width: 12.4rem; max-width: none; height: 12.7rem; max-height: none; top: 26.8%; bottom: auto; right: auto; left: 79vw; background-position: center; }
}

@media (min-width: 82.5em) {
    .home-header-image:after { padding-right: 0; padding-left: 0; }
}

@media (min-width: 91.25em) {
    .home-header-image:after { background-position: top left; }
}

@media (min-width: 101.75em) {
    .home-header-image:after { background-size: contain; }
    .home-header-button-container { /* right: 17.6vw; */ }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
.welcome-section { padding-top: 3.8rem; padding-bottom: 3.8rem;font-size: 0.9rem; line-height: 1.66;text-align: center;position: relative;}
.welcome-section:after { content: ''; background-image: url(../images/welcome-section-down-point.svg); width: 7rem; height: 2.1rem; position: absolute; right: 0; bottom: -2.05rem; left: 0; margin: auto; z-index: 1;}
.welcome-section-title {font-size: 1.6rem;line-height: 1.25;text-align: center;margin: 0 0 4.5rem;position: relative;z-index: 1;}
.welcome-section-title:after {content: '';height: 0.7rem;position: absolute;right: calc(var(--contain-padding) * -1);bottom: -2.5rem;left: calc(var(--contain-padding) * -1);margin: auto;max-width: 19rem;background-image: url(../images/title-underline.svg);background-position: center;}

@media (min-width: 48.5em) { 
    .welcome-section-title { font-size: 2.4rem; line-height: 1.33; }
    .welcome-section-text { width: 100%; max-width: 35.2rem; margin: 0 auto 1.6rem; font-size: 1rem; padding: 0 1rem;}
}

@media (min-width: 58.5em) {
    .welcome-section-text { padding: 0 0; }
}

@media (min-width: 68.5em) {
	.welcome-section-title { opacity: 0; transition: 500ms ease-in-out; } 
	.js-intersected .welcome-section-title { opacity: 1; } 
	.welcome-section-text { opacity: 0; transition: 500ms ease-in-out; transition-delay: 500ms; } 
	.js-intersected .welcome-section-text { opacity: 1; } 
	.welcome-section-button-container { opacity: 0; transition: 500ms ease-in-out; transition-delay: 1000ms; } 
	.js-intersected .welcome-section-button-container { opacity: 1; }
}


/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
.cta-section { background: var(--primary-color); padding-top: 5.4rem;color: var(--white);}
.cta-section-container { margin: 0 0 3rem; }
.cta-section-title { font-size: 1.6rem; line-height: 1.25; text-align: center; margin: 0 0 2.5rem; position: relative; color: var(--white);}
.cta-section-title:after {content: '';height: 0.7rem;position: absolute;right: calc(var(--contain-padding) * -1);bottom: -1.25rem;left: calc(var(--contain-padding) * -1);margin: auto;max-width: 19rem;background-image: url(../images/title-underline.svg);background-position: center;}
.cta-section-text { text-align: center; }
.cta-box-container-row { position: relative; }
.cta-box-container-row:after { content: ''; position: absolute; bottom: -3.85rem; right: 0; width: 5.5rem; height: 7.7rem; background-image: url(../images/dot-grid.svg); background-size: cover; z-index: 0;}
.cta-box-container { width: 100%; max-width: 24rem; margin: 0 auto 2.5rem;position: relative;z-index: 1;}
.cta-box-container:last-of-type { margin-bottom: 0; }
.cta-box-container:before { content: ''; position: absolute; top: -1.2rem; right: 50%; left: 0; height: 2.5rem; border-radius: 1.5rem 0 0 0; z-index: 0; }
.cta-box-container:after { content: '';  position: absolute; top: -1.2rem; right: 0; left: 50%; height: 2.5rem; border-radius: 0 1.5rem 0 0; z-index: 0; }
.cta-box-container.exp-hl-cta:before { background: #42ADE2; }
.cta-box-container.exp-hl-cta:after { background: #253A7C; }
.cta-box-container.new-ha-cta:before { background: #845DB7; }
.cta-box-container.new-ha-cta:after { background: #A388C5; }
.cta-box-container.hear-pro-cta:before { background: #F7941D; }
.cta-box-container.hear-pro-cta:after { background: #F9C990; }
.cta-box-container.cognivue-cta:before { background: #099061; }
.cta-box-container.cognivue-cta:after { background: #00B14C; }
.cta-box-container.exp-hl-cta .cta-box-image { background-image: url(../images/cta-img-1.jpg); }
.cta-box-container.new-ha-cta .cta-box-image { background-image: url(../images/cta-img-2.jpg); }
.cta-box-container.hear-pro-cta .cta-box-image { background-image: url(../images/cta-img-3a.jpg); }
.cta-box-container.cognivue-cta .cta-box-image { background-image: url(../images/cta-img-4.jpg); }
.cta-box-image {  border-radius: 1.5rem; height: 19.25rem;background: var(--primary-color);z-index: 1;padding: 0 1rem 2.3rem; background-size: cover; background-position: center;position: relative;display: flex;flex-wrap: wrap;align-content: flex-end;}
.cta-box-image:after { content: ''; background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 100%); position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: -1;border-radius: 1.4rem;}
.cta-box-title { color: var(--white); font-size: 1.6rem;}
.cta-box-descrip { font-size: 0.9rem; }
.cta-box-link { display: block; font-family: 'Fredoka', sans-serif; font-size: 1rem; line-height: 1.2; color: var(--white); margin: 1.7rem 0 0; }
.cta-box-link:hover {color: var(--white);}
.cta-box-link-arrow { margin-left: 0.75rem; transition: all 300ms ease-in-out; }


.cta-box-link:hover .cta-box-link-arrow { margin-left: 1.25rem; }

.cta-box-container.exp-hl-cta .cta-box-link:hover { color: #42ADE2; }
.cta-box-container.new-ha-cta .cta-box-link:hover { color: #845DB7; }
.cta-box-container.hear-pro-cta .cta-box-link:hover { color: #F7941D; }
.cta-box-container.cognivue-cta .cta-box-link:hover { color: #099061; }









@media (min-width: 48.5em) { 
    .cta-section { position: relative; }
    .cta-section:before { content: ''; position: absolute; top: -18.7rem; left: var(--contain-padding); width: 0.1rem; height: 23.7rem; background: var(--ltgrey); }
    .cta-section:after { content: ''; position: absolute; top: -3rem; right: var(--contain-padding); width: 0.1rem; height: 27rem; background: var(--ltgrey); }
    .cta-box-container-row {  display: flex; flex-wrap: wrap; }
    .cta-box-container { width: 50%; margin: 0 auto 4.75rem; }
    .cta-box-image { height: 22rem; padding: 0 2rem 2.2rem;}    
    .cta-box-text-overflow {  overflow: hidden; }
    .cta-box-text-container { transform: translateY(calc(100% - 4.7rem)); transition: all 500ms ease-in-out; }
    .cta-box-container:hover .cta-box-text-container { transform: translateY(0); }
    .cta-box-container:hover .cta-box-image:after { background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0.51) 100%); }
}

@media (min-width: 58.5em) { 
    .cta-section-container {margin: 0 0 4.4rem;}
    .cta-section-title {font-size: 2.4rem; line-height: 1.33;}
    .cta-section-text {width: 100%;max-width: 29.7rem;margin: 0 auto 0;}
    .cta-box-descrip { font-size: 1rem; }
}

@media (min-width: 68.5em) { 
    .cta-box-container-row { padding-right: calc(50% - 25rem);padding-left: calc(50% - 25rem);margin: auto; justify-content: space-between; }
    .cta-box-container-row:after { right: 0; width: 7.8rem; }
    .cta-box-container { margin: 0 0 4.75rem; }
    .cta-box-container:last-of-type { margin-bottom: 4.75rem; }
    .cta-box-container:nth-child(odd):before { top: 0; left: -1.5rem; width: 50%; height: 50%; transition: all 500ms ease-in-out;transform-origin: bottom;}
    .cta-box-container:nth-child(odd):after { top: 50%; left: -1.5rem;width: 50%; height: 50%;border-radius: 0 0 0 1.5rem; transition: all 500ms ease-in-out;transform-origin: top;}
    .cta-box-container:nth-child(even):before { top: 0; right: -1.5rem; left: auto;width: 50%; height: 50%; border-radius: 0 1.5rem 0 0;transition: all 500ms ease-in-out;transform-origin: bottom;}
    .cta-box-container:nth-child(even):after {top: 50%;right: -1.5rem;left: auto;width: 50%;height: 50%;border-radius: 0 0 1.5rem 0;transition: all 500ms ease-in-out;transform-origin: top;}
    .cta-box-container:nth-child(odd):hover:before,
    .cta-box-container:nth-child(even):hover:before { transform: scale(1,1.2); }
    .cta-box-container:nth-child(odd):hover:after,
    .cta-box-container:nth-child(even):hover:after { transform: scale(1,1.2); }
}

@media (min-width: 75em) { 
    .cta-box-container-row { padding-right: calc(50% - 26.5rem); padding-left: calc(50% - 26.5rem);}
}

@media (min-width: 82.5em) { 
    .cta-section { border-bottom: 3rem solid var(--white); }    
    .cta-box-container-row { margin-bottom: -3rem;padding-right: 0; padding-left: 0;width: 100%;max-width: 53rem;}
    .cta-box-container-row:before { content: ''; position: absolute; top: -5.4rem; left: -7rem; width: 12.4rem; height: 12.2rem; background-image: url(../images/dot-grid.svg); background-size: cover; }
    .cta-box-container.hear-pro-cta, .cta-box-container.cognivue-cta { margin: 0 0 0; }
}

@media (min-width: 85em) { 
    .cta-box-container-row:after {   bottom: -4.7rem; right: -7.5rem; width: 12.4rem; height: 12.2rem;   background-size: contain;}    
}

@media (min-width: 100em) { 
    .cta-box-container-row:after { right: -8.8rem; }
}





/**
 * NOTE: If map and/or contact form styling appears on secondary pages, place styles in style.css
 */









