/*
Theme Name: Construction Child
Author: Vamtam
Author URI: http://vamtam.com
Template: construction
*/

h1 {
	font-weight: normal;
	font-size: 40px;
}
.responsive-layout .page-header h1 {
	font-size: 32px;
}
h2 {
	font-weight: normal;
	font-size: 26px;
	padding-top: 12px;
}
.page-wrapper > div,
.page-wrapper > article {
	padding-left: 15px;
	padding-right: 15px;
}
.fixed-header-box .logo-wrapper .logo.text-logo {
	text-transform: uppercase;
}
.page-header .title,
.responsive-layout #sub-header .meta-header-inside {
	padding-bottom: 0;
}
body.home nav.sort_by_cat {
	margin-bottom: 0 !important;
}
body.home nav.sort_by_cat .inner-wrapper {
	display: none !important;
}
article.type-portfolio .portfolio-image-wrapper > img {
	display: inline;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 500px;
}
@media (max-width: 359px) {
	.fixed-header-box .logo-wrapper .logo.text-logo {
		font-size: 15px;
	}	
	header.main-header #header-text {
		white-space: normal;
		line-height: normal;
	}
}
@media (min-width: 360px) and (max-width: 399px) {
	.fixed-header-box .logo-wrapper .logo.text-logo {
		font-size: 18px;
	}
}
@media (min-width: 600px) {
	.responsive-layout .jhs-team .grid-1-4,
	.responsive-layout .jhs-team .grid-1-5,
	.responsive-layout .jhs-team .grid-1-6 {
		float: left !important;
		clear: none !important;
	}
	.responsive-layout .jhs-team .grid-1-4 {
		width: 25% !important;
	}
	.responsive-layout .jhs-team .grid-1-5 {
		width: 20% !important;
	}
	.responsive-layout .jhs-team .grid-1-6 {
		width: 16.66666666% !important;
	}
}
@media (max-width: 958px) {
	.responsive-layout .jhs-team .grid-1-4,
	.responsive-layout .jhs-team .grid-1-5,
	.responsive-layout .jhs-team .grid-1-6 {
		padding: 0;
	}
	.responsive-layout .jhs-team .team-member img {
		display: block;
	}
	header.main-header.layout-logo-text-menu .first-row-right {
		display: table-cell !important;
		height: auto !important;
	}
	header.main-header.layout-logo-text-menu .first-row #header-text > div {
		padding: 0 0 5px 0;
		margin-left: 10px;
	}
	header.main-header.layout-logo-text-menu .first-row #header-text > div big {
		font-size: 20px;
	}
}
@media (max-width: 959px) {
	.responsive-layout header.main-header .logo-wrapper {
		padding-left: 0;
	}
}
/*** Portfolio ***/
.portfolios .portfolio-item-wrapper .portfolio_details {
	padding: 0;
}
.portfolios .portfolio-item-wrapper .portfolio_details a {
	display: block;
	padding: 5%;
	height: 100%;
}