@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;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.8);
    top:0;
    left:0;
    z-index:99999;
}

.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{
    max-width:680px;
    display:block;
    margin:0 auto;
    height:100%;
    position:relative;
}

.YouTubePopUp-Content iframe{
    max-width:100% !important;
    width:100% !important;
    display:block !important;
    height:480px !important;
   border: 10px solid papayawhip;
    border-radius: 10px;
    position:absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.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;
    cursor:pointer;
    bottom:528px;
    right:0px;
    margin:auto 0;
    width:24px;
    height:24px;
    background:url(../images/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;
}

@media all and (max-width: 768px) and (min-width: 10px){
    .YouTubePopUp-Content{
        max-width:90%;
    }
}

@media all and (max-width: 600px) and (min-width: 10px){
    .YouTubePopUp-Content iframe{
        height:320px !important;
    }

    .YouTubePopUp-Close{
        bottom:362px;
    }
}

@media all and (max-width: 480px) and (min-width: 10px){
    .YouTubePopUp-Content iframe{
        height:220px !important;
    }

    .YouTubePopUp-Close{
        bottom:262px;
    }
}
/*
.btn {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
  background: #3498db;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  text-decoration: none;
}
.btn a {
    color: white;
    font-weight: 500;
    font-size: 20px;
}
*/


/**/
.main-figure-video-link{
	font-size:18px;
	position:absolute;
	z-index:+11;
	margin: 0.75em!important;
	display:inline-block!important;
	width:auto!important;
}

.main-figure-video-link + .main-figure{
	padding-top:0;
	margin-top:0;
}

.main-figure-video-link-banners{
	font-size:18px;
	position:absolute;
	z-index:+11;
	margin: 0.75em!important;
	display:inline-block!important;
	width:auto!important;
}

.main-figure-video-link-banners + .main-figure{
	padding-top:0;
	margin-top:0;
}

/**
 * Banner with video link icon
 */


.main-figure-video-banners-link{
	position:relative;
	display:block;
	overflow:hidden;
	
}

.main-figure-video-banners-link:hover:before{
	-webkit-transform: translateY(-15%) rotate(360deg);
	transform: translateY(-15%) rotate(360deg);

	/*opacity:1;*/
}

.main-figure-video-banners-link:before{
	content:'';
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:0;
	padding-bottom:100%;
	background-image:url(../images/venobox/play.png);
	background-repeat:no-repeat;
	background-size:50% auto;
	background-position:50% 50%;
	background-color:transparent;
	-webkit-transition: -webkit-transform .3s ease-in-out;
	transition: transform .5s ease-in-out;
	/*opacity:0.7;*/
	-webkit-transform:translateY(-15%) rotate(0);
	transform: translateY(-15%) rotate(0);
	transform-origin: 50% 50%;
}

.id-banner-pos-a.grid-row {
    margin-top: 10px;
}