@charset "UTF-8";

/*
    Name: YouTubePopUp
    Description: jQuery plugin to display YouTube or Vimeo video in PopUp, responsive and retina, easy to use.
    Version: 1.0.1
    Plugin URL: http://wp-time.com/youtube-popup-jquery-plugin/
    Written By: Qassim Hassan
    Twitter: @QQQHZ
    Websites: wp-time.com | qass.im | wp-plugins.in
    Dual licensed under the MIT and GPL licenses:
        http://www.opensource.org/licenses/mit-license.php
        http://www.gnu.org/licenses/gpl.html
    Copyright (c) 2016 - Qassim Hassan
*/

.YouTubePopUp-Wrap{
    position:fixed;
    background-color:#000;
    background-color:rgba(0,0,0,0.8);
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index:9999999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.YouTubePopUp-animation{
    opacity: 0;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUp;
    animation-name: YouTubePopUp;
}

@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.YouTubePopUp-Content{
    width:680px;
    max-height: 100%;
    position: relative;
    padding: 45px 0;
    display: flex;
}

.YouTubePopUp-Content.YouTubePopUp-iframe{
    height: 570px;
}

.YouTubePopUp-Content iframe,
.YouTubePopUp-Content video{
    max-width:100% !important;
    min-width:100% !important;
    width:100% !important;
    display:block !important;
    border:none !important;
    background: #000;
}

.YouTubePopUp-Hide{
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUpHide;
    animation-name: YouTubePopUpHide;
}

@-webkit-keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.YouTubePopUp-Close{
    position:absolute;
    top:0;
    right:0;
    cursor:pointer;
    width:24px;
    height:24px;
    background:url(../images/close.png) no-repeat;
    -webkit-background-size:24px 24px;
    -moz-background-size:24px 24px;
    -o-background-size:24px 24px;
    background-size:24px 24px;
}

.YouTubePopUp-Close:hover{
    opacity:0.5;
}

@media all and (max-width: 767.98px){
    .YouTubePopUp-Content{
        width:90%;
    }
}

@media all and (max-width: 599.98px){
    .YouTubePopUp-Content.YouTubePopUp-iframe{
        height: 410px;
    }
}

@media all and (max-width: 479.98px){
    .YouTubePopUp-Content.YouTubePopUp-iframe{
        height: 310px;
    }
}
