/*!
 * 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');

.svTitleFix {
	text-align:center;
}

.meuVideo {
    position: relative;
    padding-bottom: 25px; /* 16:9 */
    padding-top: 0px;
    height: 0;
    text-align: center;
}
.meuVideo a {
  font-family: 'encode_sansmedium';
  color: #fff;
  text-align: center;
  line-height: 1;
  font-size:18px;
  padding-bottom:4px;
}

.svTitle {
    font-family: Roboto,sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 0.5em;
    color: #444;
}

.adCenter {
	margin:0 auto;
	max-width:800px;
}
#svBox{
	font-family: 'Roboto', serif;
  margin:0 auto;
	position:relative;
	padding: 10px;
}
#svList {
		text-align: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: block;
    font-size: 0;
    margin-top: 30px;
}
#svList li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    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;
		margin:10px!important;
}

/* If have the image layer */
.svThumb img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transition:all 1s;
		margin:10px!important;
}

#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-color: rgba(255, 255, 255, 0.7);
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
.ytVideo .sv-overlay {
  background-color: rgba(255, 255, 255, 0.7);
}
.dailyMVideo .sv-overlay {
  background-color: rgba(255, 255, 255, 0.7);
}
#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;
	max-height: 65px;
    overflow: hidden;
}
#svList li:hover .sv-text {
    transform:translateY(0px);
    opacity:0.9;
}

.infoBox {
    clear: both;
	background-color: #fff;
	padding: 0 10px;
}


.closeUiBtn {
    display:none;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 5px;
    position: absolute;
    right: -55px;
    background-color: rgba(0, 0, 0, 0.1);
}
.closeUiBtn:hover {
    color: #f5f5f5;
	background-color: #730f0f;
}

.svThumb, .closeUiBtn {cursor:pointer;}
.clear {clear: both;}


/* jQuery 9000 Media Queries */
.mQuery900 #svList li {
	max-width: 380px;
	min-width: 250px;
}
.mQuery900 .svTitle {
	font-size: 1.5em;
}


/* jQuery 700 Media Queries */
.mQuery700 #svList li {
	width:33.33%;
}
.mQuery700 #svBox {
	width: 100%;
	max-width: 100%;
	font-size: 100%;
}
.mQuery700 .svTitle {
	font-size: 1.5em;
}
.mQuery700 .sv-text {
	font-size: 23px;
}


/* jQuery 550 Media Queries */
.mQuery550 .meuVideo {
    padding-bottom:0px;
}
.mQuery550 .svTitle {
	font-size: 1.17em;
}
.mQuery550 #svList li {
	width:50%;
}
.mQuery550 .closeUiBtn {
	font-size: 200%;
	line-height: 100%;
	position: initial;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
