/*!
 * Speed Vault Video Gallery
 *
 * @author Hélio Chun - https://www.facebook.com/user128
 * @version 1.1.0 - Square Base
 * @description Lazy load video gallery for Youtube, Vimeo and DailyMotion videos
 *
 * Inspired by a Stack Overflow question
 */

@import 'https://fonts.googleapis.com/css?family=Roboto';
@import url('https://fonts.googleapis.com/css?family=Oswald');
.wpsvgallery_cols-col-lg-1, .wpsvgallery_cols-col-lg-2, .wpsvgallery_cols-col-lg-3, .wpsvgallery_cols-col-lg-4, .wpsvgallery_cols-col-lg-5, .wpsvgallery_cols-col-lg-6, .wpsvgallery_cols-col-md-1, .wpsvgallery_cols-col-md-2, .wpsvgallery_cols-col-md-3, .wpsvgallery_cols-col-md-4, .wpsvgallery_cols-col-md-5, .wpsvgallery_cols-col-md-6, .wpsvgallery_cols-col-sm-1, .wpsvgallery_cols-col-sm-2, .wpsvgallery_cols-col-sm-3, .wpsvgallery_cols-col-sm-4, .wpsvgallery_cols-col-sm-5, .wpsvgallery_cols-col-sm-6, .wpsvgallery_cols-col-xs-1, .wpsvgallery_cols-col-xs-2, .wpsvgallery_cols-col-xs-3, .wpsvgallery_cols-col-xs-4, .wpsvgallery_cols-col-xs-5, .wpsvgallery_cols-col-xs-6 {
	float: left;
	margin-bottom: 10px;
	min-height: 1px;
	padding-left: 5px;
	padding-right: 5px;
	position: relative;
}
.wpsvgallery_cols-col-lg-1 {
	width: 100%;
}
.wpsvgallery_cols-col-lg-2 {
	width: 50%;
}
.wpsvgallery_cols-col-lg-3 {
	width: 33.2222%;
}
.wpsvgallery_cols-col-lg-4 {
	width: 24.9%;
}
.wpsvgallery_cols-col-lg-5 {
	width: 19.9%;
}
.wpsvgallery_cols-col-lg-6 {
	width: 16.6667%;
}

/* md */
@media (min-width: 992px) and (max-width: 1100px) {
	.wpsvgallery_cols-col-md-1{
		width: 100%;
	}
	.wpsvgallery_cols-col-md-2{
		width: 50%;
	}
	.wpsvgallery_cols-col-md-3{
		width: 33.22222222%;
	}
	.wpsvgallery_cols-col-md-4{
		width: 24.9%;
	}
	.wpsvgallery_cols-col-md-5{
		width: 19.9%;
	}
	.wpsvgallery_cols-col-md-6{
		width: 16.66666666666667%;
	}

}

/* sm */
@media (min-width: 650px) and (max-width: 991px) {

	.wpsvgallery_cols-col-sm-1{
		width: 100%;
	}
	.wpsvgallery_cols-col-sm-2{
		width: 49.9%;
	}
	.wpsvgallery_cols-col-sm-3{
		width: 33.22222222%;
	}
	.wpsvgallery_cols-col-sm-4{
		width: 24.9%;
	}
	.wpsvgallery_cols-col-sm-5{
		width: 19.9%;
	}
	.wpsvgallery_cols-col-sm-6{
		width: 16.66666666666667%;
	}


}

/* xs */
@media (max-width: 651px) {
	.wpsvgallery_cols-col-xs-1{
		width: 100%;
	}
	.wpsvgallery_cols-col-xs-2{
		width: 49.9%;
	}
	.wpsvgallery_cols-col-xs-3{
		width: 33.22222222%;
	}
	.wpsvgallery_cols-col-xs-4{
		width: 24.9%;
	}
	.wpsvgallery_cols-col-xs-5{
		width: 19.9%;
	}
	.wpsvgallery_cols-col-xs-6{
		width: 16.66666666666667%;
	}


}

.svTitleFix {
	text-align:center;
}

.meuVideo {
    position: relative;
    padding-bottom: 53.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.meuVideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.svTitle {
    font-family: Roboto,sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 0.5em;
    color: #444;
}

.adCenter {
	margin:0 auto;
	max-width:800px;
}
#svBox{
	max-width:800px;
	font-family: 'Roboto', serif;
    margin:0 auto;
	position:relative;
	padding: 12px 7px 3px;
    background-color: rgba(0, 0, 0, 0.3);
}
#svList {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: block;
    font-size: 0;
}
#svList li {
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}
        
/* The wrapper for each item */
.svThumb {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
}
        
/* If have the image layer */
.svThumb img {
    display:block;
    width: 100%;
    height: 180px;
    border:none;
    transition:all 1s;
}

#svList li:hover .svThumb img {
    transform:scale(1.05);
}
        
/* If have the overlay layer */
.sv-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: red;
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
.ytVideo .sv-overlay {
    background: #3DC0F1 url("../images/youtube.png") no-repeat center 20%;
	background-size: 35px auto;
}
.vimeoVideo .sv-overlay {
    background: #3DC0F1 url("../images/vimeo.png") no-repeat center 20%;
	background-size: 30px auto;
}
.dailyMVideo .sv-overlay {
    background: #3DC0F1 url("../images/dailyMotion.png") no-repeat center 20%;
	background-size: 30px auto;
}
#svList li:hover .sv-overlay {
    opacity:0.8;
}
/* If have captions */
.sv-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
    overflow: hidden;
}
#svList li:hover .sv-text {
    transform:translateY(0px);
    opacity:0.9;
}
.infoBox {
    clear: both;
	background-color: #fff;
	padding: 0 10px;
}
.closeUiBtn {
  border-radius: 5px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  padding: 0 12px;
  position: absolute;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  z-index: 999;
}
.closeUiBtn:hover {
    color: #f5f5f5;
}
.svThumb, .closeUiBtn {cursor:pointer;}
.clear {clear: both;}