﻿.video-player-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(77, 77, 77, .8);
    display: flex;
    justify-content: center;
    align-items: center;

    height: 0;
    visibility: visible;
    opacity: 0;
    transition: all ease-in-out .1s;
}

.video-player-overlay.active {
    height: auto;
    visibility: visible;
    opacity: 1;
}

.video-player-overlay.active .video-player-modal {
    visibility: visible;
}

.video-player-modal-wrapper {
    position: relative;
}

.video-player-modal-wrapper:after {
    content: "";
    background-image: url('../assets/img/close-button.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10001;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.video-player-modal {
    visibility: hidden;
    position: relative;
    padding: 10px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.6);
    z-index: 1;
}

.video-player-modal > div {
    width: 96vh !important;
    height: 54vh !important;
}

@media (max-width: 979px){
    .video-player-modal > div {
        width: 80vw !important;
        height: 45vw !important;
    }
}