

.fullscreen {
	background:#f4f4f4 url(images/fullscreenIcon.png) center center no-repeat;
	bottom:10px;
	position:absolute;
	width:40px;
	height:40px;
	right:10px;
	cursor:pointer;
}


#containerGallery {
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0;
    position: fixed;
    z-index: 4000000;
    display: none;
}
#containerGalleryBG {
    /*background: rgba(255,255,255,0.8);*/
	background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
	opacity:0;
}
#mediaPreloader, #headerPreloader, #mailPreloader, #firstImagePreloader, #mainPreloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115px;
    height: 10px;
    margin-left: -57px;
    margin-top: -7px;
    /*background-image: url(images/preloader.gif);*/
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 100;
}

#mediaContainer img {
    position: absolute;
}
#mediaContainer{
	position:absolute;
	top:0px;
	left:0;
	width:100%;
	height:100%;
    z-index: 200;
}
#mediaContainer iframe,
#mediaContainer object,
#mediaContainer embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#embedContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	opacity:0;
}

#embedContainer iframe, #embedContainer object, #embedContainer embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#closeGallery {
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/CLOSE_gallery.png);
    width: 70px;
    height: 70px;
    cursor: pointer;
    bottom: 0px;
    right: 0px;
    position: absolute;
    z-index: 300;
}
.arrowGallery {
    width: 60px;
    height: 60px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
	background-size: 30px;
	position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -20px;
    z-index: 300;
    background-color: #fff;
}
#arrowGalleryLeft.arrowLeft {
   background-image: url(../images/new/arrow.png);
   left: 0px;	
   transform: rotate(180deg);
}
#arrowGalleryRight.arrowRight {
    background-image: url(../images/new/arrow.png);
    right: 0px;
    left: auto;
}

#mediaInfo {
    opacity: 0;
    position: absolute;
    bottom: 30px;
    width: 50%;
    z-index: 300;
    background: rgba(0,0,0,0.5);
    padding: 10px 30px;
    text-align: left;
    box-sizing: border-box;
}



@media only screen and (max-width: 1024px) {
    #closeGallery{
        width: 45px;
        height: 45px;
        bottom: auto;
		top: 0;
        right: 0px;
    }
    #arrowGalleryLeft.arrowLeft{
        left: 0px;
    }
    #arrowGalleryRight.arrowRight{
        right: 0;
    }
    .arrowGallery{
        width: 40px;
        height: 40px;
        background-size: 20px;
    }
}


@media screen and (max-width: 768px) {
	#mediaInfo {
	    width: 80%;
	}
}
@media screen and (max-width: 500px) {
	#mediaInfo {
	    width: 100%;
		bottom:0;
	}
	.arrowGallery {
		left: 20px;
	}
	#arrowGalleryRight.arrowRight {
		right: 20px;
	}
	#closeGallery {
		top: 20px;
		right: 20px;
	}
}


#mediaTitle {
    color: #FFF;
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 5px;
}
#mediaContent {
    color: #FFF;
    font-size: 14px;
}

















