/* ------ venobox.css --------*/
.vbox-overlay *, .vbox-overlay *::before, .vbox-overlay *::after{
    -webkit-backface-visibility: hidden;
    -webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
body{ -webkit-overflow-scrolling:touch;}
.vbox-overlay{
    background: rgba(0,0,0,0.10); 
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1040;
    -webkit-transform:translateZ(1000px);
    transform: translateZ(1000px);
    transform-style: preserve-3d;
}
.relativo{
    float: left;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
} 
.vbox-preloader{
    position:fixed; 
    width:36px; 
    height:36px;
    left:50%; 
    top:50%; 
    margin-left:-18px; 
    margin-top:-18px;
    /*background: url(preload.gif) center center no-repeat;*/
    display: none;
    overflow: hidden;
}
.vbox-close{
    cursor: pointer;
    position: fixed;
    top:50%; 
	left:50%; 
	margin: -253px 0 0 473px;
    width: 40px;
    height: 40px;
    display: block;
    background: url(close.gif) center center no-repeat;
	background-size: 20px;
    color: #fff;
    text-indent: -100px;
    overflow: hidden;
}
.vbox-next, .vbox-prev{
    cursor: pointer;
    position: fixed; top:50%; left:0; margin-top: -25px; width: 50px; height: 50px; font-size: 0; background: url("prev.gif") center center no-repeat; background-size: 30px;
    text-indent: -100px;
    overflow: hidden;
} 
.vbox-next{ left:auto; right:0; background-image: url("next.gif"); }
.vbox-title{
    width: 100%; 
	height: 40px;
    float: left;
    text-align: center;
    color: #fff;
    padding: 6px 40px;
    overflow: hidden;
    background: #161617;
    position: fixed;
    display: none;
    top: -1px;
    left: 0;
}
.vbox-num{
    cursor: pointer;
    position: fixed;
    top: -1px;
    left: 0;
    height: 40px;
    display: block;
    color: #fff;
    overflow: hidden;
    line-height: 28px;
    font-size: 12px;
    padding: 6px 10px;
    background: #161617;
    display: none;
}
/* ------- inline window ------ */
.vbox-inline{
    width: 420px;
    height: 315px;
    padding: 10px;
    background: #fff;
    text-align: left;
    margin: 0 auto;
    overflow: scroll;
}

/* ------- Video & iFrames window ------ */
.venoframe{
    border: none;
    width: 90%;
	max-width:886px;
    height: 460px;
    margin: 0 auto;
	box-shadow:0 0 50px -5px #000;
}
.vbox-container{
    position: relative; 
    width: 98%;
    max-width: 1024px;
    margin: 0 auto;
	display: flex;
	align-items: center;
}
.vbox-content{
    text-align: center;
    float: left;
    width: 100%;
    position: relative; 
	margin: 0!important;
	padding-top: 50%;
}
.vbox-container img{
	display: block;
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
    max-width: 100%;
    max-height: 100%;
}
.vwrap{
    opacity: 1; 
    width: 100%; 
    position: fixed; 
    left: 0;  
	z-index: 1; 
} 
.vbox-content.swipe-left{
    margin-left: -200px !important;
}
.vbox-content.swipe-right{
    margin-left: 200px !important;
}
.animated{
    webkit-transition: margin 300ms ease-out;
    transition: margin 300ms ease-out;
}
.animate-in{
    opacity: 1;
}
.animate-out{
    opacity: 0;
} 

@media only screen and (max-width: 991px){
	.vbox-close{ margin:0; top:0; left:auto; right:0;}
	.vbox-prev{ left:5%; margin-left: 0;}
	.vbox-next{ left:auto; right:5%; margin-right: 0;} 
}

