/* Homepage Stylesheet */

/* Base Styles */

h1 {
	color: var(--primary);
}

.row.title-row {
    padding-top: 70px;
    padding-bottom: 0px;
}

main#genesis-content {padding-top: 0;}

div#acf64a6e8b9dae03 .row-inner {
    align-items: center;
}

/* Homepage Feature - Hero Slider */

.slick-arrow svg {
    height: 40px;
    color: #fff;
    fill: #fff;
}

.slick-arrow {
    background: none;
    position: absolute;
    top: calc(50% - 30px);
    z-index: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 400ms;
    background: none;
    border: 0 !important;
    outline: 0 !important;
}

.hero-size-fullscreen #hero-slider {
    height: calc(100vh - 197px);
}

.nav-transparent .hero-size-fullscreen #hero-slider {
    height: 100vh !important;
}

.hero-size-default #hero-slider .text {padding: 120px 0;}

.hero-size-default .anchor-wrap {display: none;}

.slick-list.draggable {
    height: 100%;
}

.slick-track {
    height: 100%;
}

.slide {
    height: 100%;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
	position:relative;
}

#hero-slider .slide:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: block;
    content: '';
}

button.slick-next.slick-arrow {
    right: 0;
}

button.slick-prev.slick-arrow {
    left: 0;
}

.slick-arrow:focus {
    background: rgba(255,255,255,0.4);
}

.slick-arrow:hover {
    background: rgba(255,255,255,0.4);
}

#hero-slider .text {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
	padding:0 5%;
	position:relative;
	z-index:2;
}

.home-feature .text p.primary, .home-feature .text h1.primary {
    color: #fff;
    font-size: 60px;
    text-shadow: 0 0 10px rgb(0 0 0 / 60%);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 16px;
	text-align:center;
	padding:0 40px;
}

.home-feature .text p.secondary {
    display: block;
    color: #fff;
    font-size: 20px;
    text-shadow: 0 0 5px rgb(0 0 0 / 40%);
    margin-bottom: 32px;
    max-width: 100%;
    padding: 0 40px;
    text-align: center;
}

.hero-slide {background-size: cover !important;background-position: center bottom !important;position: relative;}

.hero-slide:before {content: '';position: absolute;width: 100%;height: 100%;background: rgba(0,0,0,0.3);z-index: 1;left: 0;top:0;left:0;}

a#home-anchor {border-left: solid 4px #fff;border-bottom: solid 4px #fff;display: inline-block;width: 40px;height: 40px;transform: rotate(-45deg);position: relative;transition: all 300ms;outline:0;}

.anchor-wrap {bottom: 50px;position: absolute;text-align: center;width: 100%;z-index:2;display: none;}

.row.title-row::before {
    content: '';
    width: 90%;
    max-width: 1600px;
    border-top: solid 1px var(--lightborder);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

a#home-anchor:hover {opacity: 0.7;}

.nav-transparent .hero-slide {padding-top: 100px;}

@media only screen and (max-width:960px) {
	.row.title-row {
		padding-top: 20px;
		padding-bottom: 20px;
}
	.row.main-content {
		padding-top: 40px;
	}
	.home-feature .text p.primary {font-size: 44px;}

	.home-feature .text p.secondary {font-size: 18px;}
}

@media only screen and (max-width:768px) {
	.slick-arrow svg {
		height: 20px;
	}

	button.slick-arrow {
		padding: 10px 20px;
	}
}

@media only screen and (max-width:600px) {
	div#home-feature {
		display: none;
	}
}

/* Static Text Hero Slider */

.static-hero > .text {position: absolute;z-index: 1;width:85%; max-width: 1400px;margin: 0 auto;left: 0;right: 0;text-align: center;}

div#home-feature.static-hero {display: flex;align-items: center;}

.static-hero div#hero-slider {width: 100%;}

.static-hero.hero-size-default div#hero-slider {height: 500px !important;}

/* Single Image or Video Asset */
div#home-feature.single-asset {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 600px !important;
}

div#home-feature.single-asset .text {position: absolute;z-index: 1;width:85%;max-width: 1400px;margin: 0 auto;left: 0;right: 0;text-align: center;bottom: 64px;}

.single-asset .asset-wrap {position: absolute;width: 100%;height: 100%;background-repeat: no-repeat !important;/* background-size: contain !important; */background-position: center !important;display: flex;justify-content: center;align-items: center;}

.single-asset-image.asset-wrap img {max-width: 90%;width: 650px;}

.single-asset .asset-wrap:before {content: '';position: absolute;top: 0;left: 0;/* background: rgba(0,0,0,0.3); */width: 100%;height: 100%;z-index:1;}

.nav-transparent div#home-feature.single-asset {height: 100vh !important;}

.single-asset video {width: auto;height: auto;top: 50%;left: 50%;transform: translate(-50%,-50%);position: absolute;min-width: 100%;min-height: 100%; object-fit: cover; max-width:none;}

/* Side by Side Feature */

div#home-feature.side-by-side {display: flex;}

div#home-feature.side-by-side .text {width: 50%;padding: 0 5%;}

div#home-feature.side-by-side #hero-slider {width: 50%;height: 100% !important;}

.side-by-side .hero-slide:before {display: none;}

div#home-feature.side-by-side {height: calc(100vh - 140px);align-items: center;padding: 100px 0;}

div#home-feature.side-by-side .text .primary {text-align: left;color: var(--darkdefault);text-shadow: none;padding: 0;}

div#home-feature.side-by-side .text .secondary {color: var(--darkdefault);text-align: left;text-shadow: none;padding: 0;}

.side-by-side .hero-slide {background-size: contain !important;background-repeat: no-repeat !important;background-position: center !important;}

.side-by-side .anchor-wrap {display: block;}

.side-by-side a#home-anchor {border-color: var(--darkdefault);}

.header-stacked div#home-feature.side-by-side, .header-inline div#home-feature.side-by-side {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.header-stacked div#home-feature.side-by-side .text, .header-inline div#home-feature.side-by-side .text {
    padding-left: 0;
}

@media only screen and (max-width:1500px) {
	.header-stacked div#home-feature.side-by-side, .header-inline div#home-feature.side-by-side {
		max-width:100%;
	}

	.header-stacked div#home-feature.side-by-side .text, .header-inline div#home-feature.side-by-side .text {
		padding-left: 5%;
	}
	div#home-feature.side-by-side .text .primary {font-size: 48px;}

	div#home-feature.side-by-side .text .secondary {font-size: 18px;}
}

@media only screen and (max-width:950px) {
	div#home-feature.side-by-side .text .primary {font-size: 32px;}

	div#home-feature.side-by-side .text .secondary {font-size: 16px;}
}

@media only screen and (max-width:700px) {
	div#home-feature.side-by-side .text {width: 100%;margin-bottom: 40px;position: relative;z-index: 1;}

	div#home-feature.side-by-side {/* display: block; */padding: 50px 0;}

	div#home-feature.side-by-side #hero-slider {width: 100%;position: absolute;top: 0;left: 0;}

	.side-by-side .hero-slide:before {display: block;background: rgba(255,255,255,0.9);}
}

/* Homepage Popup */
div#homepage-popup {
    display: block;
    position: fixed;
    z-index: 45;
    right: 20px;
    bottom: 5vh;
    transition: top .5s, left .5s, right .5s, bottom .5s, opacity 300ms;
    /* padding: 20px; */
    background-image: url(/wp-content/uploads/wia-popup-bg.png);
    width: 354px;
    height: 244px;
}

div#homepage-popup.hidden {
    opacity: 0;
}

#homepage-popup .popup-inner {
    /* padding: 20px; */
    /* background-image: url(/wp-content/uploads/wia-popup-bg.png); */
    /* border-radius: 10px; */
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0 30px;
    flex-direction: column;
    justify-content: center;
    /* box-shadow: rgba(0,0,0,0.2) 0 0 10px; */
}

#homepage-popup h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

#homepage-popup p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 16px;
    margin: 0;
    color: #fff;
}

#homepage-popup .close {
    position: absolute;
    top: 10px;
    right: 0;
    padding: 10px;
    margin: 0;
    font-weight: 500;
    color: #5a5a5a;
    cursor: pointer;
    user-select: none;
}

#homepage-popup .close svg {
    width: 15px;
    color: #fff;
}

#homepage-popup .close:hover svg {
    opacity: .7;
}

@media only screen and (max-width: 680px) {
	div#homepage-popup {
		display: none;
	}
}