/* front styles
-----------------------------------------*/
#front-content {
	margin: 10px auto 10px auto;
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
	background: rgba(0,0,0,0.3);
	border:20px solid rgba(51,81,39,0.8);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.6);
	padding: 20px;
}
.front-group {
	display: inline-block;
	width: 340px;
	height: 180px;
	position: relative;
	margin: 0px;
	padding: 0px;
}
.front-group img {
	width:100%;
	height:100%;
	position:absolute;
	display:block;
	box-shadow: 5px 10px 10px -5px rgba(0,0,0,0.5);
	overflow: hidden;
}
.front-group .detail {
	display:block;
	width:100%;
	height:100%;	
	position:absolute;
	text-decoration: none;
	background: rgba(150,150,150,0.5);
	box-shadow: 5px 10px 10px -5px rgba(0,0,0,0.5);
	overflow: hidden;
}
a:hover {
	text-decoration: none;
}
.front-group .detail h3 {
	font-family: 'Cinzel', serif;	
	font-weight: 700;
	color: #FFF;
	font-size: 16px;
	line-height: 1.0em;
	margin: 10px auto 0px auto;
	padding: 5px 0px 0px 0px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
}
.front-group .detail p {
	color: #EEE;
	margin-top: 10px;
	height: 89px;
	font-size: 13px;
	text-align: justify;
	padding: 0px 20px 0px 20px;
	line-height: 1.4em;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
}

.front-item { 
	display:block; 
	width:100%; 
	height:100%; 
}
.front-item .viewbutton {
	font-family: 'Cinzel', serif;	
	font-weight: 700;
	display: block;
	margin: 0px;
	padding: 0px;
	width: 350px;
	height: 40px;
	border: 0;
	color: #CCC;
	font-size: 16px;
	line-height: 43px;
	background: rgba(0,0,0,0.7);
	text-shadow: 1px 1px 1px rgba(0,0,0, 0.6);
}
.front-item .viewbutton:hover { 
	color: #FFF;
	background: rgba(51,81,39,0.8);
	}
.pagination { width: 100%; }
.pagination li {
	width: 30px;
	height: 30px;
	line-height: 30px;	
	background-color: white;
	-webkit-box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	-ms-box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	margin-right: 10px;
	border: 1px solid rgba(44, 44, 44, 0.1);
}
.pagination li:last-child {	margin-right: 0; }
.pagination li.active, .pagination li:hover { background-color: #A7DDFF; }

/*  CSS3 flip
-------------------------------------------------------------------------------------*/
.front-group .front-item img,  .front-group .front-item .detail {
	-webkit-transition:0.5s ease-in-out;
	-moz-transition:0.5s ease-in-out;
	transition:0.5s ease-in-out;
}
.front-group .detail {
	-moz-transform:perspective(800px) rotateY(180deg);
	-webkit-transform:perspective(800px) rotateY(180deg);
	transform:perspective(800px) rotateY(180deg);
}
.front-group img {
	-moz-transform:perspective(800px) rotateY(0deg);
	-webkit-transform:perspective(800px) rotateY(0deg);
	transform:perspective(800px) rotateY(0deg);
}
.front-item:hover > .detail {
	-moz-transform:perspective(800px) rotateY(0);
	-webkit-transform:perspective(800px) rotateY(0);
	transform:perspective(800px) rotateY(0);	
}
.front-item:hover > img {
	-webkit-transform:perspective(800px) rotateY(-179.9deg);
	-moz-transform:perspective(800px) rotateY(-179.9deg);
	transform:perspective(800px) rotateY(-179.9deg);	
}
.front-group img, .front-group .detail {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
}
