/*
    GitHub URL: https://github.com/gucastiliao/video-popup-js
*/

.videopopupjs{
    /* background-color:#000; */
    background-color:rgba(0,0,0,0.8);
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:99999;
    text-align: start!important;
}
.videopopupjs--hide{
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: videoPopupJsHide;
    animation-name: videoPopupJsHide;
}
.videopopupjs__close{
    /*width:30px;
    height:30px;
    cursor:pointer;
    display:block;
    margin-bottom:10px;
    color:rgba(255, 255, 255, 0.59);*/
        /* width: 30px;
    height: 30px; */
    position: absolute;
    top: 0;
    /* right: 0; */
    right: 15px;
    display: block;
    margin-bottom: 10px;
    color: rgb(255 255 255);
}
.videopopupjs__close:after{
    /* width:30px;
    height:30px; */
    display:block;
    text-align:center;
    /* content:'X';
    font-family:'Verdana';
    border-radius:50%; */
    line-height:1;
    font-size:22px;

    content: "\f00d";
    font-family: FontAwesome;
    margin-top: 15px;
    padding: 0.25em;
    opacity:0.8;
    /* content: "";
width: 30px;
height: 30px;
    background: url("../../images/close.png") no-repeat -30px -50px fixed;

    border-image: url(../images/close.png) 30 round; */
}
.videopopupjs__close:hover{
    opacity:1;
}
.videopopupjs--animation{
    opacity: 0;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: videoPopupJs;
    animation-name: videoPopupJs;
}
.videopopupjs__content{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto;     
    /* height:90%;
    width: 74%; */
    display: inline-block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    /* height:90%;
    width:75%; */
    
   
}
.videopopupjs__content iframe{  
    /* height:100%;
    width:100%;  */
    height:90%;
    width: 75%;
    /* position:absolute;  */
}
.videopopupjs__block--notfound{
    position:absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width:100%;
    height:100%;
    background-color:#fff;
    text-align:center;
    vertical-align: middle;
    line-height: 500px;
    font-family:'Arial';
    font-size:20px;
}

.x-video a{
    position: relative;
  }
  .x-video a span i{
    position: absolute;
      top: 42%;
      left: 45%;
      right: 0;
      font-size: 50px;
      color: #fff;
  }
  .x-video a span i:hover, .x-video:hover .x-video a span i{
    color: red;
  }


@media(max-width:768px){
    .videopopupjs__content{      
        display: flex;
        align-items: center;
        justify-content: center;   
        height: 40%;      
    }
    .videopopupjs__content iframe{  
        height:100%;
        width:100%;  
    }
}

@media(min-width:768px) and (max-width: 900px){
    .videopopupjs__content{      
        display: flex;
        align-items: center;
        justify-content: center;   
        height: 55%;   
        width:100%;   
    }
    .videopopupjs__content iframe{  
        height:100%;
        width:100%;  
    }
}

/* @media(min-width: 360px) and (max-width: 540px){
    .videopopupjs__content{       
        display: flex;
        align-items: center;
        justify-content: center;         
    }
    .videopopupjs__content iframe{  
        height:30%;
        width:100%;  
    }
} */

/* @media(min-width:541px) and (max-width: 768px){
    .videopopupjs__content{        
        display: flex;
        align-items: center;
        justify-content: center;         
    }
    .videopopupjs__content iframe{  
        height: 32%;
    width: 76%
    }
} */

/* @media(min-width:769px) and (max-width: 900px){
    .videopopupjs__content{        
        display: flex;
        align-items: center;
        justify-content: center;      
    }
    .videopopupjs__content iframe{  
        height: 69%;
        width: 66%;
    }
} */

/* @media(min-width:900px) and (max-width: 1030px){
    .videopopupjs__content{  
             display: flex;
        align-items: center;
        justify-content: center;         
    }
    .videopopupjs__content iframe{  
        height: 32%;
    width: 76%; 
    }
} */


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

    100%{
        opacity: 1;
    }
}

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

    100%{
        opacity: 1;
    }
}

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

    100%{
        opacity: 0;
    }
}

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

    100%{
        opacity: 0;
    }
}