/* ----------------------------------- photography-post-type ----------------------------------- */
.title-photography {
	text-align: center;
	font-weight: 900;
	font-size: 60px;
	margin: 20px;
	text-align:center;
}

.photography-boxes {
    position: relative;
	margin: 0 auto;
    width: 100%;
    text-align: center;
	display: inline-block;
	clear: both;
	float: none;
	overflow: hidden;
}
	
.photography {
    overflow: hidden;
	width: 31%;
	height: auto;
	vertical-align: top;
	color: #333333;
	word-wrap: break-word;
    display: inline-block;	
}

.photography .sp_height img {
	width: 100%;
	height: 300px;
}

.photography-mask {
	display: none;
}

.photography:hover .photography-mask {
	display: inline-block !important;
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
	background-color:rgba(0,0,0,0.3);	
}

.photography h4 {
	padding: 10px 0 10px 0;
	font-weight: 900;
	font-size: 25px;
	color: #555555;
	margin: 0;
}

.photography-shortcode img {
	width: 100%;
	padding: 20px;	
	margin: 0 auto;

}



.photography-shortcode {
	margin-left: auto;
	margin-right: auto;
	text-align:	center;
	width: 100%;
	display: inline-block;
}

.photography-shortcode .photography {
	width: 200px;
	min-height: auto;
	text-align: center;
	display: inline-block;
}

@media screen and (max-width: 66.5em) { 
	.title-photography {
		font-size: 4vw;
	}
}


.photography-first .photography-sub {
	float: left;
	width: 200px;
	height: 180px;
	margin: 5px 15px 5px 0;
	display: inline-block;
}

.photography-basic {
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
	-webkit-perspective: 300px;
	-moz-perspective: 300px;
	-o-perspective: 300px;
	-ms-perspective: 300px;
	perspective: 300px;
}

.photography-transform {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.photography-transform > div {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-position: center center;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s linear;
	transition: all 0.4s linear;
	-webkit-transform-origin: 50% 0%;
	-moz-transform-origin: 50% 0%;
	-o-transform-origin: 50% 0%;
	-ms-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
}

.photography-transform .photography-transform-back {
    padding: 10px;
	background: #004E87;
	-webkit-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-moz-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-o-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-ms-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
    box-shadow: inset 0 0 0 #000, inset 0 1px 122px #000, inset 0 0 0 #000;	
	opacity: 0;
}

.photography-transform h2 {
	color: #fff;
	letter-spacing: 1px;
	font-size: 26px;
	padding: 60px 10px 10px 10px;
	text-align: center;
	margin: 0 auto;

}

.photography-basic:hover .photography-transform-front {
	-webkit-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-moz-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-o-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-ms-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	opacity: 0;
}

.photography-basic:hover .photography-transform-back {
	-webkit-transform: rotate3d(1,0,0,0deg);
	-moz-transform: rotate3d(1,0,0,0deg);
	-o-transform: rotate3d(1,0,0,0deg);
	-ms-transform: rotate3d(1,0,0,0deg);
	transform: rotate3d(1,0,0,0deg);
	opacity: 1;
}

