/* Gallery CSS Document */

/* PHOTO GALLERY PAGES */	
	.gallery-holder {display:block;}
		.gallery-holder .gallery-item {
		float:left;
		width:15%;
		height:auto;
		margin-right:2%;
		margin-bottom:14px;
		text-align:center;
		}
			.gallery-holder .gallery-item img {
			max-width:100%;
			height:auto;
			width:auto\9; /* ie8 */
			vertical-align:bottom;
			}
		
		.gallery-holder div:nth-child(6n+6) {margin-right:0%;}
		.gallery-holder div:nth-child(6n+7) {clear:left;}
	
		.gallery-holder .gallery-item-textover {
		float:left;
		width:15%;
		height:auto;
		margin-right:2%;
		margin-bottom:14px;
		text-align:center;
		position:relative;
		}
			.gallery-holder .gallery-item-textover img {
			max-width:100%;
			height:auto;
			width:auto\9; /* ie8 */
			vertical-align:bottom;
			}
			
			.gallery-holder .gallery-item-textover .gallery-title {
			position:absolute;
			bottom:0px;
			width:100%;
			color:#ffffff;
			min-height:10%;
			padding-top:5%;
			padding-bottom:5%;
			cursor:pointer;
			-moz-transition:all 0.15s;
			-webkit-transition:all 0.15s;
			transition:all 0.15s;
			background-color:#000000;
			background-color:rgba(0,0,0,0.5);
			}
				.gallery-holder .gallery-item-textover a:hover .gallery-title {	
				padding-top:5%;
				padding-bottom:5%;
				min-height:50%;
				}
	
	
	.gallery-cat-holder {display:block;}
		.gallery-cat-holder .gallery-item {
		float:left;
		width:22%;
		height:auto;
		margin-right:4%;
		margin-bottom:14px;
		text-align:center;
		}
			.gallery-cat-holder .gallery-item img {
			max-width:100%;
			height:auto;
			width:auto\9; /* ie8 */
			vertical-align:bottom;
			}
		
		.gallery-cat-holder div:nth-child(4n+4) {margin-right:0%;}
		.gallery-cat-holder div:nth-child(4n+5) {clear:left;}
		
		.gallery-cat-holder .gallery-item-textover {
		float:left;
		width:22%;
		height:auto;
		margin-right:4%;
		margin-bottom:14px;
		text-align:center;
		position:relative;
		}
			.gallery-cat-holder .gallery-item-textover img {
			max-width:100%;
			height:auto;
			width:auto\9; /* ie8 */
			vertical-align:bottom;
			}
			
			.gallery-cat-holder .gallery-item-textover .gallery-title {
			position:absolute;
			bottom:0px;
			width:100%;
			color:#ffffff;
			min-height:10%;
			padding-top:5%;
			padding-bottom:5%;
			cursor:pointer;
			-moz-transition:all 0.15s;
			-webkit-transition:all 0.15s;
			transition:all 0.15s;
			background-color:#000000;
			background-color:rgba(0,0,0,0.5);
			}
				.gallery-cat-holder .gallery-item-textover a:hover .gallery-title {	
				padding-top:5%;
				padding-bottom:5%;
				min-height:50%;
				}
				
				
	
	.gallery-slider-main {
	position:relative;
	width:100%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	height:318px;
	padding:2px;
	border:solid #e1e1e1 1px;
	}
		
		.gallery-slider-main .gsm-image {
		position:absolute;
		left:0px;
		top:2px;
		width:100%;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		box-sizing:border-box;
		height:312px;
		text-align:center;
		display:none;
		}
		
	.gsp-holder {
	width:100%;
	height:72px;
	padding:5px 0px;
	position:relative;
	overflow:hidden;
	margin-top:15px;
	}

		.gsp-holder a.gsp-left,
		.gsp-holder a.gsp-right {
		display:block;
		position:absolute;
		top:5px;
		width:53px;
		height:72px;
		color:#ffffff;
		cursor:pointer;
		background-color:#f2f3f4;
		z-index:900;
		}
			.gsp-holder a.gsp-left:hover,
			.gsp-holder a.gsp-right:hover {
			background-color:#6a6c6d;	
			}
		
			.gsp-holder a.gsp-left {left:0px;}
				.gsp-holder a.gsp-left strong,
				.gsp-holder a.gsp-left b {
				position:absolute;
				left:20px;
				top:25px;
				width:0; 
				height:0; 
				border-top:solid transparent 10px;
				border-bottom:solid transparent 10px; 
				border-right:solid #a4a6a7 10px;
				}
			
			.gsp-holder a.gsp-right {right:0px;}
				.gsp-holder a.gsp-right strong,
				.gsp-holder a.gsp-right b {
				position:absolute;
				right:20px;
				top:25px;
				width:0; 
				height:0; 
				border-top:solid transparent 10px;
				border-bottom:solid transparent 10px; 
				border-left:solid #a4a6a7 10px;
				}
	
		.gsp-holder .gallery-slider-previews {
		position:absolute;
		left:0px;
		top:0px;
		}
		
		.gsp-holder .gallery-slider-previews .gsp-image {
		float:left;
		margin:5px 5px;
		width:90px;
		height:68px;
		text-align:center;
		padding:1px;
		cursor:pointer;
		border:solid #e1e1e1 1px;
		}
			.gsp-holder .gallery-slider-previews .gsp-image img {
			max-height:100%;
			}
			
			.gsp-holder .gallery-slider-previews .gsp-image-current {
			margin:2px 1px;
			width:98px;
			height:74px;
			border:solid #878888 1px;
			}
		
		
	
			
	.photo-holder {
	display:block;
	text-align:center;
	}
	
	.side-gallery-item {
	float:left;
	width:22%;
	}
		.side-gallery-item img {
		max-width: 100%;
		height: auto;
		width: auto\9; /* ie8 */
		}
		
		
		
	/* Gallery Photos */
	.gallery {
	clear:both;
	display:block;
	}
	
		.gallery .gallery-image {
		float:left;
		overflow:hidden;
		position:relative;
		-webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
		-moz-transition: 	all 600ms cubic-bezier(0.19, 1, 0.22, 1);
		-ms-transition: 	all 600ms cubic-bezier(0.19, 1, 0.22, 1);
		transition:         all 600ms cubic-bezier(0.19, 1, 0.22, 1);
		}
		
			.gallery .gallery-image img {
			vertical-align:middle;
			-webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
			-moz-transition: 	all 600ms cubic-bezier(0.19, 1, 0.22, 1);
			-ms-transition: 	all 600ms cubic-bezier(0.19, 1, 0.22, 1);
			transition:         all 600ms cubic-bezier(0.19, 1, 0.22, 1);
			}
		
				.gal-photos .photo-item:hover img {
				/*transform:scale(1.4);*/
				}