.button-video-popup-backend {
    padding: 10px 20px;
    background: #257cba;
    color: #FFFFFF;
    display: inline-block;
    font-size: 13px;
    font-family: monospace;
}

button.quiz-button.quiz-button-style-link {
    background: none;
    border: none;
    text-decoration: underline;
    font-size: 16px;
}

button.quiz-button.quiz-button-style-buttom {
    border-radius: 9px;
    background: #D7A84F;
    border-color: #D7A84F;
    width: 100%;
    margin-bottom: 10px;
    padding: 17px;
}

body div#button-video-popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000000bf;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 0;
    -webkit-transition: all 200ms 500ms ease;
    -moz-transition: all 200ms 500ms ease;
    -ms-transition: all 200ms 500ms ease;
    -o-transition: all 200ms 500ms ease;
    transition: all 200ms 500ms ease;
}

body.button-video-popup div#button-video-popup {
    display: flex;
}

body.button-video-popup-opened div#button-video-popup {
    opacity: 1;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

.button-video-inner {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    position: relative;
    background: #FFFFFF;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(-50px);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

body.button-video-popup .button-video-inner {
    display: flex;
}

body.button-video-popup-opened .button-video-inner {
    transform:translateY(0px);
    opacity: 1;
    -webkit-transition: all 500ms 200ms ease;
    -moz-transition: all 500ms 200ms ease;
    -ms-transition: all 500ms 200ms ease;
    -o-transition: all 500ms 200ms ease;
    transition: all 500ms 200ms ease;
}

.button-video-exit {
    position: fixed;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;
    background: #FFFFFF;
    padding: 3px;
    border-radius: 0 5px 0 0;
    cursor: pointer;
}

.button-video-exit svg {
    transform:rotate(0deg);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.button-video-exit:hover svg {
    transform:rotate(90deg);
}

.button-video-content {
    width: 100%;
    height: 100%;
}

.button-video-content .video-button-popup-player{
    width: 100%;
    height: 100%;
}

.button-video-content video {
    width: 100%;
    height: 100%;
}

.button-video-content .vjs-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: initial;
    object-position: center;
    max-width: none;
    background-size: cover;
    background-position: 50%;
}

.button-video-pass {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 30px;
    cursor: pointer;
}

@media screen and (max-width: 1100px) {

    .button-video-content .video-button-popup-player,
    .button-video-content video{
        width: 100%;
        height: 100%;
        object-fit:cover;
        object-position:center;
    }

    .button-video-inner {
        width: 100%;
        height: 100%;
    }

}

