/* ======================================================================================================================================================
Video Banner
====================================================================================================================================================== */

.avia-video-banner, .avia-iframe-wrap{clear:both; position: relative; margin-bottom:20px; }

.avia-video-banner, .avia-video-banner iframe, .avia-video-banner video{background-color: #000;}

/*responsive iframe trick*/
.avia-video-banner iframe, .js_active .avia-iframe-wrap iframe, div .avia-video-banner .avia-iframe-wrap{position: absolute; width:100%; height:100%; left:0; top:0; padding:0; background-color: #f8f8f8 !important;}
.avia-video-banner-custom{height:0;}
.avia-video-banner-16-9, .js_active .avia-iframe-wrap{padding-bottom: 40%; height:auto;}
/*Keep Preview Img Size*/
.av-lazyload-video-embed {padding-bottom: 40% !important; height:auto;}
.avia-video-banner-4-3{padding-bottom: 75%; height:0;}

/*html 5 video - always has 100 width and natural height. behaves like image when it comes to aspect ratio*/

video{
	width:100%;
	height:auto;
}

#top .avia-video-banner .av-click-to-play-overlay{
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	cursor: pointer;
	z-index: 1000;
}

#top .avia-video-banner .av-click-to-play-overlay .avia_playpause_icon{
	display: block;
	-webkit-transition: opacity 0.4s ease-out;
	transition: 		opacity 0.4s ease-out;
}

#top .avia-video-banner .av-click-to-play-overlay:hover .avia_playpause_icon{
	opacity: 0.7;
}
/*Overlay Photo*/
.avia-video-banner .mejs-poster, .avia-video-banner{background-position: center center;background-size: cover;}
.avia-video-banner .mejs-poster{position: absolute;
	height:100% !important; width:100% !important; top:0; left:0;
}
#top .avia_playpause_icon::before {
	font-size: 65px !important;
}
#top .avia_playpause_icon {
	background-color: red !important;
	font-size: 100px !important;
	transition: all 0.3s ease;
	border-radius: 50% !important;
}