/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/* increase home page section title font */
.front-page-section-title, .home.page .content-area-inside .entry-title {
	font-size: 3.4rem;
	font-weight: bolder;
}

/* reduce margin between section titles and content */
@media screen and (min-width: 768px) {
	.home.page .content-area-inside .entry-header, .front-page-section-title {
		margin-bottom: 50px;
	}
}

/*Removing header image for each subpage*/
body:not(.home) figure.entry-media {
	display: none;
}

/*Our Work page*/
/*set content width*/
body.page-id-29 .entry-content {
	max-width: unset;
}

/*set projects width*/
@media screen and (min-width: 48em) {
	.column-3 .portfolio-entry {
		margin-right: 1% !important;
		width: 32% !important;
	}
}

.jetpack-portfolio-shortcode .portfolio-entry.last-item-row {
	margin-right: 0 !important;
}

/*remove gap above title*/
.portfolio-featured-image + .portfolio-entry-title {
	margin-top: 0 !important;
}

/*hide meta and content*/
.portfolio-entry-meta, .portfolio-entry-content {
	display: none;
}

/*remove default link over effect*/
body.page-id-29 .entry-content a:hover {
	opacity: 1;
}

/*set layover*/
.portfolio-entry {
	position: relative;
}

.portfolio-entry-title {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.7);
	opacity: 0;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

/*hide title*/
.portfolio-entry-title a {
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 50%;
	margin-right: -50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #fff;
	overflow: hidden;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

/*set hover effect*/
.portfolio-entry:hover .portfolio-entry-title {
	opacity: 1;
}

.portfolio-entry:hover .portfolio-entry-title a {
	top: 50%;
	visibility: visible;
}