.vidyard-player-container {
    left: 0;
    position: relative !important;
    top: 0;
}
.video--fullwidth {
    overflow: hidden;
    position: relative;
}
.video--normal .video--fullwidth {
    height: 100%;
}
@media (min-width: 768px) {
    .video--short .vidyard-player-container,
    .video--shorter .vidyard-player-container, 
    .video--shortest .vidyard-player-container {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
    }
    .video--short .video--fullwidth {
        height: 500px;
    }
    .video--shorter .video--fullwidth {
        height: 400px;
    }
    .video--shortest .video--fullwidth {
        height: 300px;
    }
}
.video--overlay {
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 1.5s 0.5s, visibility 1.5s 2.5s;
    visibility: hidden;
    width: 100%;
}
.video--normal .video--overlay {
    height: 100%;
}
@media (min-width: 768px) {
    .video--short .video--overlay {
        height: 500px;
    }
    .video--shorter .video--overlay {
        height: 400px;
    }
    .video--shortest .video--overlay {
        height: 300px;
    }
}
.video--overlay.visible {
    opacity: 1;
    transition: opacity 1.0s;
    visibility: visible;
}
.video--overlay video {
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.video--content-overlay > .container,
.video--content-overlay > .container > .row {
    height: 100%;
}
.video--content-overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.video--overlay p {
    color: #ffffff;
}
.image--overlay {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 1.5s 0.5s, visibility 1.5s 2.5s;
    visibility: hidden;
    width: 100%;
}
.image--overlay.visible {
    opacity: 1;
    transition: opacity 1.0s;
    visibility: visible;
}
.image--overlay > .container,
.image--overlay > .container > .row {
    height: 100%;
}
.image--overlay p {
    color: #ffffff;
}
.btn.btn--videoclose {
    position: absolute;
    top: 20px;
    right: 20px;
}





/* new style */

.video--overlay .modal {
    position: absolute;
    top: 0;
    width: 100%;
    padding-right: 0 !important;
    height: 100%;
}

.video--overlay .modal .modal-dialog {
    max-width: 100%;
    margin: 0;
}

.video--fullwidth .hc-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}


.video--fullwidth .hc-modal video {
    width: 100%;
    position: static;
    transform: none;
/*     height: 100%; */
        height: auto;
    top: 0;
}

.video--fullwidth .hc-modal .hc-modal-dialog button.close {
    background: #000;
    border-radius: 50%;
    color: #fff;
    font-weight: normal;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;
    z-index: 99;
    border: 1px solid #fff;
    font-size: 22px;
        display: none;
}

.video--fullwidth .hc-modal .hc-modal-dialog {
    height: 100%;
}

.video--fullwidth .hc-modal .hc-modal-dialog .hs-modal-content {
    height: 100%;
}

.video--fullwidth .hc-modal .hc-modal-dialog .hc-modal-body {
    height: 100%;
}

.video--fullwidth.video-playing .video--overlay > video {
    display: none;
}

.video--fullwidth.video-playing .hc-modal {
    z-index: 12;
}

.video--fullwidth.video-playing .hc-modal .hc-modal-dialog button.close {
 display: block;   
}

