/* The gallery overlay */

#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:#222;
	xxxbackground: url(trans.png) repeat;
	background-color:rgba(0,0,0,0.6);
	overflow:hidden;
	display:none;
margin-left: -0px;
	
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s 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("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: 95%;
	max-width: 98%;
	vertical-align: middle;
}

#gallerySlider.rightSpring{
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring{
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */

@-moz-keyframes rightSpring{
	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;}
}

/* Safari and Chrome Keyframe Animations */

@-webkit-keyframes rightSpring{
	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{
	border:none;
	text-decoration:none;
	background:url('arrows.png') no-repeat;
	opacity:0.5;
	cursor:pointer;
	position:absolute;
	width:43px;
	height:58px;
	
	top:50%;
	margin-top:-29px;
	
	-moz-transition:opacity 0.2s ease;
	-webkit-transition:opacity 0.2s ease;
	transition:opacity 0.2s ease;
}

#prevArrow:hover, #nextArrow:hover{
	opacity:1;
}

#prevArrow{
	background-position:left top;
	left:40px;
}

#nextArrow{
	background-position:right top;
	right:40px;
}

#imageTitle {
	position: absolute;
	
	color: #FFFFFF;
	
	text-align: left;

	
	top: 10px;
	border-radius: 17px;
 
	font-size: 20px;
	font-family: Arial;
	text-transform:uppercase;
 
	content: attr(title);
	display: inline-block;
  
  /* width: 100%;
  left: 10%;
	 max-width: 165px;
	 background-color: rgba(0, 0, 0, 0.4);
	   for small heading */
	
	width: 40%;
	margin-left: 30%;
	background-color: rgba(55,46,64,0.7);
	
	
	overflow: hidden;
	padding: 2px 0px;

	text-align: center;
	white-space: nowrap;
	
	
	
}

.placeholder img{
   -webkit-box-shadow: 10px 10px 12px rgba(0,0,0,.7);
   -moz-box-shadow: 10px 10px 12px rgba(0,0,0,.7);
   box-shadow: 10px 10px 12px rgba(0,0,0,.7);
   -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=135, Color='#000000')";
   /* For IE 5.5 - 7 */
   filter: progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=135, Color='#000000');
}





@media screen and (min-device-width: 320px) and (max-device-width: 480px) {
	
	
	#imageTitle {
	 font-size: 14px;
  
  /* width: 100%;
  left: 10%;
	 max-width: 165px;
	 background-color: rgba(0, 0, 0, 0.4);
	   for small heading */
	
	width: 70% !important;
	margin-left: 15% !important;
	background-color: rgba(55,46,64,0.7);
	
	}
	
}



@media screen and (min-width: 481px) and (max-width: 700px) {

#imageTitle {
	 font-size: 14px;
  
  /* width: 100%;
  left: 10%;
	 max-width: 165px;
	 background-color: rgba(0, 0, 0, 0.4);
	   for small heading */
	
	/*width: 36% !important; 
	margin-left: 32% !important;*/
		width: 56% !important; 
	margin-left: 22% !important;
	background-color: rgba(55,46,64,0.7);
	
	
	}
	
}

@media screen and (min-width: 1700px) and (max-width: 2600px) {

#imageTitle {
	
  
  /* width: 100%;
  
	 max-width: 165px;
	 background-color: rgba(0, 0, 0, 0.4);
	   for small heading */
	
	width: 22% !important;
	margin-left: 39% !important;
	background-color: rgba(55,46,64,0.7);
	
	
	}
	
}