/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/

.core-v2-hero-image.fixed-height {
    max-height: 600px;
}

.core-v2-hero-image.fixed-height .img-cont,
.core-v2-hero-image.fixed-height .img-cont img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
}

.core-v2-hero-image .img-cont::before {
	display: block;
	background: rgba(0,0,0,0.2);
    pointer-events: none;
}

.core-v2-hero-image .title-cont {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    text-align: center;
}

.core-v2-hero-image.hide-content .title-cont {
    display: none;
}

.core-v2-hero-image .title-cont .subtitle {
    font-size: 1.125rem;
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-none);
    letter-spacing: 0.113em;
}

.core-v2-hero-image .title-cont .title {
    font-size: 3.75rem;
    font-family: var(--font-barlow-condensed);
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    letter-spacing: .0188em;
    color: rgba(0,0,0,0.2);
    -webkit-text-stroke: 1px var(--white);
    line-height: var(--leading-none);
}
.core-v2-hero-image .slide-content {
    position: absolute;
    bottom: 10%;
    left: 5%;
    max-width: 90%;
    z-index: 1;
}
.core-v2-hero-image .slide-content .waypoint-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.2;
    vertical-align: bottom;
    font-family: var(--font-barlow);
    text-transform: uppercase;

    @media (min-width: 640px) {
        font-size: 24px;
    }
}

.core-v2-hero-image .slide-content .waypoint-title .inner {
    display: flex;
}

.core-v2-hero-image .slide-content .waypoint-title .title:after {
    content: "";
    display: block;
    margin-top: 2px;
    height: 6px;
    width: 100%;
}

.core-v2-hero-image .slide-content .waypoint-title a {
    color: inherit;
    font: inherit;
    text-decoration: inherit;
    font-size: 18px;

    @media (min-width: 40em) {
        font-size: inherit;
    }
}

.core-v2-hero-image .slide-content .waypoint-title i {
    padding-right: 10px;
    font-size: 18px;
    position: relative;
    top: 0px;

    @media (min-width: 40em) {
        font-size: inherit;
    }
}
@media (hover: hover) {
	.core-v2-hero-image.animation-expand .slide:hover .slide-img {
		scale: 1.02;
	}
}

@media(min-width: 64em) {
    .core-v2-hero-image.fixed-height {
        height: 600px;
    }

    .core-v2-hero-image.fixed-height .img-cont,
    .core-v2-hero-image.fixed-height .img-cont img {
        height: 600px;
    }

    .core-v2-hero-image .title-cont .subtitle {
        font-size: 1.875rem;
        transform: translateX(-50%);
    }

    .core-v2-hero-image .title-cont .title {
        font-size: 7.5rem;
        transform: translateX(50%);
    }

    .core-v2-hero-image.js-loaded .title-cont .subtitle,
    .core-v2-hero-image.js-loaded .title-cont .title {
        transform: none;
    }

    .core-v2-hero-image .title-cont .title,
    .core-v2-hero-image .title-cont .subtitle {
        transition: all ease 1.5s;
    }

}