/* @group video popup
------------------------------------ */
.popup-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--main-blue);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    
    opacity: 0;
    /* REMOVED
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s;
    */

    /* Fix (add) for Chrome and Android Users */
    display:none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity .7s;

}
.showVideoPopup.popup-video {
    /* REMOVED
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    */

    /* Fix (add) for Chrome and Android Users */
    opacity: 1;
    display:flex;
}
.popup-video__control {
    position: absolute;
    top: -2.5rem;
    right: 3rem;
    z-index: 2;
}
.popup-video__control button {
    display: inline-block;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    transition: opacity .7s;
}
.popup-video__control .close-video {
    width: 5rem;
    height: 5rem;
    background-color: var(--main-blue);
    background-image: url(../../img/layout/common/close-icon.svg);
    background-repeat: no-repeat;
    background-size: 2rem auto;
    background-position: center;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    border: 0.1rem solid var(--main-white);
    cursor: pointer;
}
.popup-video figure {
    width: 100%;
    max-width: 160rem;
    height: 40rem;
    padding: 0 1.5rem;
    overflow: visible;
}

@media only screen
and (min-width : 961px) {
    .popup-video figure {
        height: 80vh;
        padding: 0 6rem;
    }
    .popup-video__control {
        right: 8rem;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
}

/* @end */
