h2.pagetitle.with-subtitle {
	margin-bottom: 0;
	line-height: 100%;
}
.gallery-desc {
	width: 860px;
	max-width: 100%;
	margin: 40px auto;
	text-align: center;
}

.style-portfolio .read-more {
	display: block;
	margin: 50px auto;
	text-align: center;
	text-transform: lowercase;
}
.style-portfolio .read-more a:before {
	content: "back to ";
}
.style-portfolio .read-more span {
	display: none;
}

.gallery-style-grid .item {
	margin-bottom: 30px;
}
.project-type-grid {
	margin: 40px auto 20px;
}
.project-type-grid .item {
	position: relative;
	display: table;
	margin-bottom: 30px;
}
.project-type-grid h2 {
	margin: 0;
	width: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	display: none;
}
.project-type-grid a:hover h2 {
	display: inline-block;
}
.project-type-grid h2 span {
	display: block;
	line-height: 100%;
}
.project-type-grid a .overlay {
  	position: absolute;
  	top: 0;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	height: 100%;
  	width: 100%;
	opacity: 0;
  	background-color: #F7F3F2;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.project-type-grid a:hover .overlay {
  	opacity: 0.8;
}
.project-type-grid a {
	color: initial;
}

.project-type-grid .item,
.gallery-item .item {
	padding: 0;
}
.project-type-grid .item img,
.gallery-item .item img {
	display: block;
}

.gallery-style-classic {
	width: 980px;
	max-width: 100%;
	margin: 40px auto;
}
.gallery-style-classic img {
	display: block;
	margin: 20px auto;
}

.gallery-style-slide {
	margin-bottom: 90px;
}
.gallery-style-slide .carousel-image {
  	display: block;
  	max-height: 550px;
  	min-width: 150px;
  	max-width: 100%;
  	top: 50%;
  	transform: translateY(-50%);
}
.gallery-style-slide .flickity-page-dots {
	bottom: -50px;
}

.gallery-style-masonry {
	margin: 40px auto;
}
.gallery-desc.wrapcontent {
	max-width: 96%;
	width: 96%;
	box-sizing: border-box;
}
.gallery-style-masonry.wrapcontent {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}
.gallery-style-masonry .grid-item {
	width: 350px;
  	margin-bottom: 10px;
}
.gallery-style-masonry .grid-item img {
	display: block;
}

body.page.page-template-cpt-portfolio .site-inner {
	width: 94%;
}