.autoplayer-pro {
    --controls-bg-hover-color: var(--gray-100);
    --controls-text-hover-color: var(--sw-key-color);
    --text-content-bg-color: var(--primary-color-100);
    --text-color: var(--gray-100);
    --border-color: var(--gray-100);
    
    position: relative;
    overflow: hidden;
    height: 80vh;
    display: flex;
}

@media (min-width: 641px) {
    .autoplayer-pro {
        height: 100vh;
    }
}

.autoplayer-pro .poster {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: blur(4px);
}

.autoplayer-pro .fallback.loaded .poster {
    filter: none;
}
.autoplayer-pro:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none;
    z-index: 10;
}

.autoplayer-pro .video {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 300ms cubic-bezier(0,0,0.3,1);
}

.autoplayer-pro.video-loaded .video {
    opacity: 1;
}

.autoplayer-pro .video-controls {
    display: none;
    margin-bottom: var(--space-4);
}

.autoplayer-pro.video-loaded .video-controls {
    display: block;
}

.autoplayer-pro .video-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

@media (hover: hover) {
    .autoplayer-pro .video-control:hover {
        background-color: var(--controls-bg-hover-color);
        color: var(--controls-text-hover-color);
    }
}


.autoplayer-pro .video-control:focus {
    outline: var(--border-color) solid 1px;
    outline-offset: 2px;
}

.autoplayer-pro .video-control .fa-play {
    margin-left: var(--space-px);
}

.autoplayer-pro .text-content {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    padding: var(--space-8) var(--space-12);
    width: calc(100% - 4rem);
    max-width: var(--width-comfortable);
    z-index: 12;
}

.autoplayer-pro .text-content .title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    line-height: var(--leading-tight);
    color: var(--text-color);
}

.autoplayer-pro .description {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--text-color);
    margin-bottom: var(--space-2);
}

.autoplayer-pro .text-content .read-more {
    font-family: var(--font-display);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
}

.autoplayer-pro .text-content .read-more:hover,
.autoplayer-pro .text-content .read-more:focus {
    text-decoration: underline;
    outline: none;
}

.autoplayer-pro .logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70%;
    z-index: 3;
}

.autoplayer-pro .logo-wrapper .logo {
    max-width: 242px;
}

/* TITLE / SUBTITLE / CTA */
.hero-video .item-content {
	position: absolute;
	top: 45%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	z-index: 10;
}

.hero-video .item-content a {
	text-decoration: none;
}

.hero-video .item-content .item-inner {
	padding: 0px 10%;
}

.hero-video .item-content .item-inner,
.hero-video .item-content .item-inner > a {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.hero-video .item-content .subtitle h3 {
	display: inline-block;
	padding: 8px 15px;
	color: #000;
	font-size: 5vw;
	font-family: 'expressway';
	line-height: 1;
	text-transform: uppercase;
	background-color: #fbd100;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.hero-video.subcolor-blue .subtitle h3 {
	color: #fff;
	background-color: #004f88;
}

.hero-video .item-content .title h2 {
	color: #fff;
	font-family: 'expressway';
	line-height: 1;
	font-size: 32px;
	margin-top: 15px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.hero-video .item-content .call-to-action {
	display: inline-block;
	margin-top: 15px;
	padding: 5px 10px;
	color: #fff;
	font-size: 1.5rem;
	font-family: 'expressway';
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	border: 4px solid #fff;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3), inset 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.hero-video .item-content .call-to-action:hover {
	text-decoration: none;
}

@media (min-width: 768px) {
	.hero-video .item-content .item-inner {
		padding: 0px 20%;
	}
	
	.hero-video .item-content .title h2 {
		font-size: 5.5vw;
	}
	.hero-video .item-content .subtitle h3 {
		font-size: 2.2vw;
	}
}