/* Homepage Stylesheet */

/* Base Styles */

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

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

/* 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-default #hero-slider {
    height: calc(60vh);
}

.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: 0px;
}

.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: end;
    flex-direction: column;
	align-items: flex-start;
    height: 100%;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.home-feature .text p.primary {
    color: #fff;
    font-size: clamp(32px, 5vw, 64px);
    text-shadow: 0 0 10px rgb(0 0 0 / 60%);
    font-weight: 700;
    display: block;
    line-height: 1.2;
    margin-bottom: 0px;
    /*padding: 0 20px;*/
}

.home-feature .text p.primary::after {
	content: '';
	position: absolute;
	background: #00000091;
	width: 55%;
	height: 150px;
	bottom: 0;
	left: 0;
	z-index: -1;
	transform: skew(315deg);
}

@media only screen and (max-width:960px) {
    .home-feature .text p.primary::after {
    	width: 65%;
    }
}


@media only screen and (max-width: 600px) {
    .home-feature .text p.primary::after {
    	width: 80%;
    }
}

.home-feature .text p.secondary {
    display: none;
    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 !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;
}

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: block;
        height: auto;
        min-height: 60vh;
    }
    
    .home-feature .text {
        width: 100%;
        padding: 20px;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .home-feature .text p.primary {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .home-feature .text p.secondary {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.4;
    }
}

@media only screen and (max-width:400px) {
    div#home-feature {
        min-height: 50vh;
    }
    
    .home-feature .text p.primary {
        font-size: clamp(24px, 7vw, 32px);
    }
}

/* 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;
}

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;
}

.single-asset .asset-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.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);
    }
}