/*!
 * 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';

.svTitleFix {
    text-align: center;
}

.svPlayer {
    padding-top: 40px;
    margin-bottom: 15px;
}

.meuVideo {
    position: relative;
    padding-bottom: 53.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    box-shadow: 0px 0px 10px #000;
    border: 5px solid #fff;
}

.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: #959595;
}

.adCenter {
    margin: 0 auto;
    max-width: 800px;
}

#svBox {
    max-width: 800px;
    font-family: 'Roboto', serif;
    margin: 0 auto;
    position: relative;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

#svList {
    list-style: none;
    margin: 0 auto;
    padding: 0 !important;
    display: block;
    font-size: 0;
}

#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;
}

/* If have the image layer */
.svThumb img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    transition: all 1s;
}

#svList li:hover .svThumb img {
    transform: scale(1.05);
}

.sv-overlay {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #000 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSB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    opacity: .4;
    filter: alpha(opacity=.4);
    transition: all 0.6s;
}

.ytVideo .sv-overlay {
    background: #000 url("../images/youtube.png") no-repeat center 20%;
    background-size: 35px auto;
}

.vimeoVideo .sv-overlay {
    background: #000 url("../images/vimeo.png") no-repeat center 20%;
    background-size: 30px auto;
}

.dailyMVideo .sv-overlay {
    background: #000 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: Roboto, 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;
    padding: 0 10px;
}

.closeUiBtn {
    font-size: 30px;
    line-height: 30px;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 5px;
    position: absolute !important;
    right: 15px;
    background-color: #000;
    z-index: 1000;
    display: inline-block;
    top: 6px;
}

.closeUiBtn:hover {
    color: #f5f5f5;
    background-color: #730f0f;
}

.svThumb, .closeUiBtn {
    cursor: pointer;
}

.clear {
    clear: both;
}

/* jQuery 900 Media Queries */
.mQuery900 #svList li {
    width: 25%;
    min-width: 300px;
}

.mQuery900 .svTitle {
    font-size: 15px;
}

/* jQuery 700 Media Queries */
.mQuery700 #svList li {
    width: 33.3%;
    min-width: 300px;
}

.mQuery700 #svBox {
    width: 100%;
    max-width: 100%;
    font-size: 100%;
}

.mQuery700 .svTitle {
    font-size: 15px;
}

.mQuery700 .sv-text {
    font-size: 23px;
}

/* jQuery 550 Media Queries */
.mQuery550 .meuVideo {
    padding-bottom: 51.20%;
}

.mQuery550 .svTitle {
    font-size: 14px;
}

.mQuery550 #svList li {
    width: 50%;
    min-width: 300px;
}

.mQuery550 .closeUiBtn {
    font-size: 150%;
    line-height: 100%;
    position: initial;
}

/* jQuery 0 Media Queries */
.mQuery0 .meuVideo {
    padding-bottom: 51.20%;
}

.mQuery0 .svTitle {
    font-size: 14px;
}

.mQuery0 #svList li {
    width: 100%;
}

.mQuery0 .closeUiBtn {
    font-size: 150%;
    line-height: 100%;
    position: initial;
}
