@charset "UTF-8";

/*
    Name: YouTubePopUp
    Description: jQuery plugin to display YouTube video in PopUp, responsive and retina, easy to use.
    Version: 1.0.0
    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;
    width:100%;
    height:100vh;
    background-color:rgba(0,0,0,0.8);
    top:0;
    left:0;
    opacity: 0;
    z-index:9999999999999;
    -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;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding:50px;
}

@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body.logged-in .YouTubePopUp-Wrap{ /* For WordPress */
    top:32px;
    z-index:99998;
}

.YouTubePopUp-Content{
    width: 100%;
    max-width: 1600px;
    display:block;
    margin: 0 auto;
    position:relative;
}


.YouTubePopUp-container{position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%; z-index: 0;}
.YouTubePopUp-container iframe,
.YouTubePopUp-container object, 
.YouTubePopUp-container embed,
.YouTubePopUp-container video{
  position: absolute; top: 0; left: 0; width: 100% ; height: 100%; outline: none; border: none;
}


.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: -45px;
    cursor:pointer;
    right: -45px;
    margin:auto 0;
    width:50px;
    height:50px;
    background:url("https://storage-asset.msi.com/global/picture/close.svg") no-repeat;
    background-size:cover;
    z-index: 2;
}

.YouTubePopUp-Close:hover{
    opacity:0.5;
}

@media screen and (max-width:1920px){
    .YouTubePopUp-Content{
       max-width: 1200px;
    }
}
@media screen and (max-width:1536px){
    .YouTubePopUp-Content{
       max-width: 1000px;
    }
}
@media screen and (max-width:960px){
    .YouTubePopUp-Wrap{
        padding: 0;
    }
    .YouTubePopUp-Close{
        top: auto;
        right: auto;
        bottom: -60px;
        left: calc(50% - 25px);
        background-color: #999;
        border-radius: 50%;
    }
}