/**
 *
 * -------------------------------------------
 * Stylesheet for the template.gallery.php page style
 * -------------------------------------------
 * 
 **/
 
.gallery-page .intro {
	padding: 20px 0;
}
#gallery {
	margin: 10px 0;
	overflow: hidden;
	position: relative;
}
#gallery figure {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}
#gallery figure.active {
	opacity: 1;
	position: relative;
	z-index: 3;
}
#gallery img {
	display: block;
	height: auto;
	position: relative;
	width: 100%;
}
#gallery figcaption {
	background: rgba(255,255,255,0.8);  
	bottom: -100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	padding: 26px;
	position: absolute;
	-webkit-transition: bottom 0.5s ease-out;
	-moz-transition: bottom 0.5s ease-out;
	-ms-transition: bottom 0.5s ease-out;
	-o-transition: bottom 0.5s ease-out;
	transition: bottom 0.5s ease-out;
	width: 100%;
	z-index: 2;
}
#gallery figure.active figcaption {
	bottom: 0;	
	z-index: 4;
}
#gallery figcaption h3 {
	
	font-weight: 300;
	margin: 0;
}
#gallery figcaption p {
	line-height: 1.6;
	margin: 0.6em 0 0;
}
#gallery ol {
	border-color: #ff5c8d;
	left: 27px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 26px;
	width: 100%;
	z-index: 10;
}
#gallery ol li {
	border: 2px solid #ccc;
	border-color: gray;
	border-width: 2px;
	                       
	border-style: solid;
	                       
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	height: 15px;
	margin: 0 -1px!important;
	text-indent: -999px;
	-webkit-transform: scale(0.75);
	-moz-transform: scale(0.75);
	-ms-transform: scale(0.75);
	-o-transform: scale(0.75);
	transform: scale(0.75);
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
	width: 15px;
}
#gallery ol li:hover,
#gallery ol li.active {
	border-color: #ff6a61;
	-webkit-transform: scale(1.0);
	-moz-transform: scale(1.0);
	-ms-transform: scale(1.0);
	-o-transform: scale(1.0);
	transform: scale(1.0);
}
