/*
 * Vídeo Popup
 */
.video-popup {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 560px;
    max-width: 100%;
    opacity: 0;
    transition: all .5s cubic-bezier(0.77, 0.00, 0.43, 1);
}
.video-popup__inside {
    position: relative;
    z-index: 1001;
    margin: 20px;
}
.video-popup__content {
    position: relative;
    z-index: 1002;
    /*border-radius: 4px 4px 0 0;*/
    overflow: hidden;
    background-color: #000;
    background-color: rgba(0,0,0,.35);
    transition: all .5s cubic-bezier(0.77, 0.00, 0.43, 1);
}
/*@media only screen and (min-width: 992px) {
    .video-popup__content { border-radius: 4px 0 4px 4px; }
}*/
.video-popup__inside iframe {
    position: absolute;
    z-index: 1003;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s ease;
}
.video-popup__close-btn {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    border: 0 none;
    background-color: #32a457;
    cursor: pointer;
    opacity: 0;
    transition: all .3s ease;

    /* Mobile */
    font-size: 14px;
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-radius: 0 0 7px 7px;
    transform: translate3d(0, -10px, 0);
}
@media only screen and (min-width: 992px) {
    /* Desktop */
    .video-popup__close-btn {
        position: absolute;
        z-index: -1;
        bottom: 100%;
        right: 0;
        font-size: 12px;
        display: inline-block;
        width: auto;
        height: 29px;
        margin: 0 0 -1px 0;
        padding: 7px 15px;
        border-radius: 3px 3px 0 0;
        transform: translate3d(0, 10px, 0);
    }
}
.video-popup__close-btn:focus { outline: none; }
.video-popup__close-btn:hover { background-color: #278f49; }
.video-popup__replay-btn {
    display: none;
    position: fixed;
    z-index: 2000;
    right: 15px;
    bottom: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #32a457;
    font-size: 0;
    line-height: 0;
    border: 0 none;
    cursor: pointer;
    opacity: 0;
    transition: all .3s ease;
}
.video-popup__replay-btn > span {
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-top: 12px solid transparent;
    border-left: 12px solid white;
    border-bottom: 12px solid transparent;
}
.video-popup__replay-btn:hover {
    transform: scale(1.1);
    background-color: #278f49;
}
.video-popup__replay-btn:focus { outline: none; }



.video-popup.-open { opacity: 1; }
/*.video-popup.-open .video-popup__content {
    padding-top: <?php echo $padding_top; ?>%;
}*/
.video-popup.-open iframe {
    transition-delay: .550s;
    opacity: 1;
}
.video-popup.-open .video-popup__close-btn {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: .600s;
}

.video-popup.-close {
    opacity: 0 !important;
    transform: translate3d(0, 30px, 0) !important;
}