/*
Video Box
*/

.sa-el-video-box-container {
    position: relative;
    height: 0;
}

.sa-el-aspect-ratio-11 .sa-el-video-box-container {
    padding-bottom: 100%;
}

.sa-el-aspect-ratio-169 .sa-el-video-box-container {
    padding-bottom: 56.25%;
}

.sa-el-aspect-ratio-43 .sa-el-video-box-container {
    padding-bottom: 75%;
}

.sa-el-aspect-ratio-32 .sa-el-video-box-container {
    padding-bottom: 66.6666%;
}

.sa-el-aspect-ratio-219 .sa-el-video-box-container {
    padding-bottom: 42.8571%;
}

.sa-el-video-box-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50%;
    cursor: pointer;
}

.sa-el-video-box-play-icon-container {
    position: absolute;
    z-index: 1;
    cursor: pointer;
    transform: translate(-50%, -50%);
    background: rgba(252, 252, 252, 0.35);
}

.sa-el-video-box-description-container {
    position: absolute;
    z-index: 1;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.sa-el-video-box-text {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.sa-el-video-box-play-icon {
    padding: 15px;
    transform: translateX(4%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.sa-el-video-box-video-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.8s ease-in-out;
    -moz-transition: opacity 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-in-out;
    -ms-transition: opacity 0.8s ease-in-out;
    transition: opacity 0.8s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

.sa-el-video-box-container[data-overlay="true"][data-type="self"] .sa-el-video-box-video-container {
    opacity: 0;
    visibility: hidden;
}

.sa-el-video-box-video-container iframe,
.sa-el-video-box-video-container video {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 1;
    border: none;
}

.sa-el-video-box-video-container video {
    -o-object-fit: contain;
    object-fit: contain;
}