@import url('reset.css');
body{
	font-family: 'Oswald', sans-serif;
	font-size: 13px;
	text-transform: uppercase;
}
a{
    color: #ddd;
    text-decoration: none;
}
.clr{
    clear: both;
}
/* Top Bar */
.eg-top{
	background: rgba(255, 255, 255, .8);
	position: fixed;
	top: 70px;
	right: 70px;
	width: 100%;
	z-index: 10;
	height: 40px;
}
.eg-top.close-button-only{
    width: 40px;
}
.eg-top.close-button-only h1{
    display:none;
}
.eg-top h1{
    color: #333;
    font-size: 20px;
    line-height: 40px;
    padding: 0 10px;
}
.eg-top h1 span{
    color: #555;
    font-size: 12px;
}
.eg-main-wrapper{
    width: 100%;
    overflow: scroll;
    outline: none;
    /*height dynamic*/
}
.eg-main{
    position: relative;
    display: table;   /* Allow the centering to work */
    margin: 0 auto;
}
.eg-main a{
    float: left;
    width: 210px;
    height: 210px;
    position: relative;
    overflow: hidden;
    margin: 0px 0px 2px 2px;
    background: #fff url(../images/thumb_bg.jpg) no-repeat center center;
    background-size: 110% 110%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.eg-main a.eg-loading,
.eg-main a.eg-loading:hover{
    background: #fff url(../images/ajax-loader.gif) no-repeat center center;
    background-size: 31px 31px;
}
.eg-main a.eg-loading img,
.eg-main a.eg-loading:hover img{
    opacity: 0.5;
}
.eg-main > a.eg-loading > span,
.eg-main a.eg-loading > span{
    display: none;
}
.eg-main a img{
    opacity: 0.95;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.eg-main > a > span{
    display: block;
    position: absolute;
    width: 100%;
    height: 20px;
    line-height: 22px;
    text-align: center;
    font-size: 11px;
    bottom: -20px;
    left: 0px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.eg-main a:hover > span{
    bottom: 0px;
}
.eg-main a:hover img{
    opacity: 0.8;
}
.eg-main a:hover{
    background-size: 100% 100%;
}
.eg-content{
    background: #f9f9f9;
}
.eg-content .eg-title{
    text-align: center;
    background: #333;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.eg-video-preview{
    position: absolute;
    top: 44px;
    left: 0px;
    background: #000;
    width: 100%;
    height: 630px; /*dynamic*/
    display: none;
}
.eg-video{
    text-align: center;
    background: #333;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.eg-title h2{
    color: #fff;
    font-size: 26px;
    line-height: 30px;
    padding-top: 30%;
    text-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.eg-title h2 span{
    text-transform: none;
    font-size: 16px;
    font-family: Georgia, serif;
    font-style: italic;
    display: block;
}
.eg-content .eg-title:hover{
    background: #000;
}
.eg-content-preview{
    position: absolute;
    top: 44px;
    left: 0px;
    background: #000;
    width: 100%;
    height: 630px; /*dynamic*/
    display: none;
}
.eg-content-preview .eg-title h2{
    font-size: 50px;
    padding: 85px 40px 20px 40px;
}
.eg-content-preview .eg-title span{
    padding: 20px 0px 0px 5px;
    font-size: 22px;
}
.eg-content-full{
    font-family: 'Oswald';
    text-transform: none;
    line-height: 26px;
    margin: 0px 40px;
    border-top: 1px solid #333;
    padding: 20px 0px;
	font-size: 16px;
}
.eg-content-full p{
	padding: 5px 0px;
}
.eg-preview{
    overflow: hidden;
    position: absolute;
    top: 40px;
    display: none;
}
.eg-video-full{
    text-transform: none;
    margin: 0px;
    padding: 0px;
    border: none;
}
.eg-preview{
    overflow: hidden;
    position: absolute;
    top: 40px;
    display: none;
}
.eg-preview-descr{
    position: absolute;
    bottom: 30px;
    left: 10px;
    z-index: 999;
    font-size: 50px;
    text-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.eg-preview img{
	position: absolute;
}
.topper{
	top: 0px;
	position:absolute;
	width: 100%;
	height: 20px;
	z-index: 2;
}
.eg-nav span{
	width: 53px;
	height: 800px;
	position: absolute;
	top: 0;
	margin-top: -43px;
	cursor: pointer;
    text-indent: -9000px;
	opacity: 0.6;
	z-index: 999;
    background: transparent url(../images/nav.png) no-repeat top right;
	right: 0px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}
.eg-nav span.eg-nav-prev{
	background-position: top left;
	left: 0px;
    right: auto;
}
.eg-close{
	top: 70px;
	right: 70px;
	background: transparent url(../images/close.png) no-repeat center center;
	position: absolute;
	width: 70px;
	height: 70px;
	cursor: pointer;
	opacity: 0.2;
	z-index: 999;
    text-indent: -9000px;
}
.eg-nav span:hover, .eg-close:hover{
	opacity: 1;
}
.eg-loading-large{
    text-indent: -9000px;
    width: 60px;
    height: 60px;
    background: #fff url(../images/ajax-loader.gif) no-repeat center center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -30px 0 0 -30px;
    z-index: 999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px 10px 10px 10px;
    opacity: 0.9;
}
.eg-main > a > span.eg-video-icon{
    width:30px;
    height:30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px 30px 30px 30px;
    left:90px;
    top:90px;
    opacity:0.5;
    display:block;
    position:absolute;
    background: black url(../images/video.png) no-repeat center center;

}
