.p5 {
	height:1px;
	padding:2px 0;
	clear:both;
}

.gallery {
	position:relative;
	overflow:hidden;
	width: 93%;
	margin:10px auto;
	padding:50px;
	background:#f2c5b0;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	color: #333;
}

.gallery a:link,
.gallery a:active,
.gallery a:visited {
	color:#0061ff;
	outline:0;
	text-decoration:none;
}

.gallery a:hover {color: #00a1ff;} 

.gallery img {border:0;}
.gallery .float-left {float:left;}
.gallery .float-right {float:right;}
.gallery .clear {clear:both;}
.gallery .clearb10 {padding-bottom:10px;clear:both;}

.gallery .titlebar {
	height:24px;
	line-height:24px;
	margin:0 5px;
	font-size: 18px;
}

.gallery .title {
	font-size:20px;
	font-weight:400;
}

.gallery .thumb-album {
	overflow:hidden;
	width:150px;
	height:130px;
	float:left;
	margin:8px;
	padding:5px;
	background-color:#472013;
	color:#fff;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	transition: 0.3s;
}

.gallery .thumb-album a {color:#fff;}

.gallery .thumb-album:hover {
	background-color:#ff622d;
	color:#fff;
}

.gallery .thumb-album a {color:#bbb;}
.gallery .thumb-album:hover a {color:#fff;}

.gallery .thumb {
	overflow:hidden;
	float:left;
	width:150px;
	height:110px;
	margin:8px;
	background-color:#472013;
	border:5px solid #472013;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	transition: 0.3s;
}

.gallery .thumb:hover {
	background-color: #ff622d;
	border:5px solid #ff622d;
}

.gallery .thumb-wrapper {
	width:100%;
	height:110px;
	overflow:hidden;
}

.gallery .thumb-wrapper img {height:auto;}

.shadow {
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
}

/***** pagination style *****/
.gallery .paginate-wrapper {
	padding:10px 0;
}

.gallery a.paginate {
	color:#f2f2f2;
	margin:0 2px;
	text-decoration:none;
	background-color: #a35a41;
	border-radius: 4px;
	padding: 5px;
}

.gallery a.paginate:hover {
	background-color: #ff622d;
}

.gallery a.current-paginate {
	color:#f2f2f2;
	font-weight:700;
	padding:0;
	margin:0 2px;
	text-decoration:none;
	background-color: #472013;
	border-radius: 4px;
	padding: 5px;
}

.gallery a.paginate-arrow {
	text-decoration:none;
	border:0;
}