@charset "UTF-8";

/*
    Name: YouTubePopUp | Style
    Description: jQuery plugin to display YouTube, Vimeo, and MP4 video in a pop-up. Responsive, retina ready, and easy to use.
    Version: 1.1.2
    Written By: Alobaidi
    Live Demo: https://wp-plugins.in/VP-Live-Demos
    Copyright 2020 Alobaidi (email: wp-plugins@outlook.com)
*/

.YouTubePopUp-Wrap{
    position:fixed;
    width:100%;
    height:100%;
    background-color:#000;
    background-color:rgba(0,0,0,0.8);
    top:0;
    left:0;
    z-index:2147483647;
}

.Video-PopUp-Content{
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-justify-content:center;
    width:100%;
    height:100%;
}

.vp-flex{
    /*
   max-width:800px;
   width:100%;
   height:450px;
   max-height:90%;
   */
   display: flex;
   position:relative;
   background-color:#000;
   /*
   max-width: calc(100vw - 20%) !important;
   max-height: calc(100vh - 20%) !important;

   width: 100vw;
   height: 100vh;
   height: calc(100vh - 30%);
   */
}

.vp-flex iframe, .vp-flex video{
    width:100%;
    height:100%;
    max-width:100% !important;
    max-height:100%;
    min-width:100%;
    min-height:100%;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    border:none;
/*
    display:block;
    border:5px solid #fff;
    
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3);
    background-color:#000;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
*/
}


.YouTubePopUp-Close{
    position:absolute;
    top:5px;
    cursor:pointer;
    right:-35px;
    margin:auto 0;
    width:24px;
    height:24px;
    background:url(close.png) no-repeat;
    background-size:24px 24px;
    -webkit-background-size:24px 24px;
    -moz-background-size:24px 24px;
    -o-background-size:24px 24px;
}

.YouTubePopUp-Close:hover{
    opacity:0.5;
}

.vp-flex.vp-flex-no-border iframe,
.vp-flex.vp-flex-no-border video{
    padding:0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    -moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;
}

.vp-flex-no-border.vp-vt-locally,
.vp-flex-no-border.vp-vt-vimeo{
    box-shadow:none;
   -moz-box-shadow:none;
   -webkit-box-shadow:none;
}

/* Tablet & Mobile Style */
@media all and (max-width: 782px){
    .vp-flex, .Video-PopUp-Content .vp-flex{
        max-width: calc(100vw - 10%) !important;
        max-height: calc(100vh - 10%) !important;
    }
}

@media all and (max-width: 320px){
    .vp-flex, .Video-PopUp-Content .vp-flex{
        max-width: calc(100vw - 6%) !important;
        max-height: calc(100vh - 6%) !important;
    }
}
    
@media (max-width: 750px) {
    .YouTubePopUp-Close {
        top: -30px;
        right: -10px;
    }
}
