/* The gallery overlay */

#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background: url(../icon/bg1.png) repeat;
	overflow:hidden;
	display:none;
	
	-moz-transition:opacity 0.5s ease;
	-webkit-transition:opacity 0.5s ease;
	transition:opacity 0.5s ease;
}

/* This class will trigger the animation */

#galleryOverlay.visible{
	opacity:1;
}

#gallerySlider{
	height:100%;
	
	left:0;
	top:0;
	
	width:100%;
	white-space: nowrap;
	position:absolute;
	
	/*-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;*/
}

#gallerySlider .placeholder{
	background: url("../icon/preloader.gif") no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
}

/* The before element moves the
 * image halfway from the top */

#gallerySlider .placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

#gallerySlider .placeholder img{
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

#gallerySlider.rightSpring{
	animation: rightSpring 0.3s;
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring{
	animation: leftSpring 0.3s;
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */

@keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

/* Safari and Chrome Keyframe Animations */

@keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Arrows */

#prevArrow,#nextArrow{
	width: 60px;
	height: 118px;
	background:url('../icon/l1.png') no-repeat center center;
	opacity:1;
	cursor:pointer;
	position:absolute;
	top:50%;
	left: 0;
	margin-top:-59px;
	-moz-transition:all 0.5s ease;
	-webkit-transition:all 0.5s ease;
	transition:all 0.5s ease;
}
#nextArrow{
 background:url('../icon/r1.png') no-repeat center center;
 left: auto;
 right: 0;
}

#prevArrow:hover, #nextArrow:hover{
	background-color: #6b6a68;
	opacity: 0.7;
	-webkit-opacity: 0.7;
	-ms-opacity: 0.7;
}

/*pagelimit*/
#pagelimit{position:absolute; bottom:20px; left:50%; margin-left:-18px; color:#fff; font-size:20px; }
