/*
 * YT Video Background
 * Version: 1.0
 * Author: marcoscgdev@gmail.com
 *
 * License: Envato Regular License
 * Re-distribution of this script is not allowed.
 * https://codecanyon.net/user/marcoscgdev
*/
.b_yt-video-background {
	position: absolute;
	background: #000;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -99;
	width:100%;
	min-height:300px;
}

.b_yt-video-background .b_yt-video-background-image {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-webkit-background-position: center;
	-moz-background-position: center;
	-o-background-position: center;
	background-position: center;
	-webkit-background-repeat: no-repeat;
	-moz-background-repeat: no-repeat;
	-o-background-repeat: no-repeat;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.b_yt-video-background iframe {
  width: 100%;
  height: 100%;
	pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
	.b_yt-video-background {
		height: 300%;
		top: -100%;
	}
}

@media (max-aspect-ratio: 16/9) {
	.b_yt-video-background {
		width: 300%;
		left: -100%;
	}
}
