/* ------------------------------

		HOMEPAGE CSS STYLES

--------------------------------- */

/* BODY */

.hp-top {
	position: relative;
	height: 508px;
	overflow-y: hidden;
	background: #7ac142;
}

.hp-center-container {
	max-width: 1440px;
	margin: 0 auto;
	margin: 60px auto 0;
}

	.hp-center-container h1 {
		width: 60%;
		margin: 0 auto;
		padding: 0;
		font: 35px "Lato Light", sans-serif;
		text-align: center;
		text-transform: none;
		color: #4e4e4e;
	}


/* TABS CONTENT */

.tabs-content {
	height: 508px;
}

	.tab {
		font-size: 0;
	}
	
		.tab > div {
			display: inline-block;
			width: 50%;
			vertical-align: top;
		}
	
		.tab > div:first-of-type {
			height: 508px;
			background-size: cover !important;
		}
		
			.hp-top #tab01 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-power.jpg') no-repeat center;
			}
			
			.hp-top #tab02 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-rubber.jpg') no-repeat center;
			}
			
			.hp-top #tab03 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-chemical.jpg') no-repeat center;
			}
			
			.hp-top #tab04 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-manufacturing.jpg') no-repeat center;
			}
			
			.hp-top #tab05 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-metals.jpg') no-repeat center;
			}
			
			.hp-top #tab06 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-oil-gas.jpg') no-repeat center;
			}
			
			.hp-top #tab07 > div:first-of-type {
				background: url('../images/homepage/hp-tabs-food-beverage.jpg') no-repeat center;
			}
		
		.tab > div:nth-of-type(2) {
			background: #7ac142;
			color: #fff;
		}
		
			.tab > div:nth-of-type(2) div {
				position: relative;
				top: 85px;
				width: 61%;	
				margin: auto;
			}
			
		.tab > div h3 {
			padding: 0;
			font-size: 37px;
			line-height: 37px;
			color: #fff;
		}
			
			.tab > div h3 span {
				font-family: "Lato Black", sans-serif;
			}
			
		.tab > div p {
			margin: 10px 0;
			font: 16px/21px "Lato", sans-serif;
		}
		
		.tab > div a {
			font: 29px/29px "Lato Light", sans-serif;
			text-decoration: none;
			text-transform: uppercase;
			color: #fff;
		}
		
			.tab > div a i {
				position: relative;
				top: 9px;
				margin-left: 15px;
				font-size: 36px;
				color: #fff;
				transition: color 1s;
			}	
			
			.tab > div a:hover i {
				color: #446927;
			}
			
		
/* TABS */

.hp-tabs {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 50%;
}

	.tabs {
		text-align: center;
		text-transform: uppercase;
		background: #5ca027;
	}
	
	.tabs-nav {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: row wrap;
		-ms-flex-flow: row wrap;
		flex-flow: row wrap;
		margin: 0;
		padding: 0;
	}
	
		.tabs-nav li {
			list-style-type: none;
			box-sizing: border-box;	
		}
		
		.tabs-nav li:last-child {
			-webkit-flex: 0 0 0%;
			-ms-flex: 0 0 0%;
			flex: 0 0 0%;
			-webkit-order: 2;
			-ms-flex-order: 2;
			order: 2;
		}
		
			.tabs-nav li:last-child a {
				display: none;
			}
		
		.tabs-nav li:nth-child(n+1):nth-child(-n+3) {
			-webkit-flex: 1 1 33%;
			-ms-flex: 1 1 33%;
			flex: 1 1 33%;
			-webkit-order: 1;
			-ms-flex-order: 1;
			order: 1;
		}
		
		.tabs-nav li:nth-child(2) {
			border-left: 1px solid #78b04c;
			border-right: 1px solid #78b04c;
		}
		
		.tabs-nav li:nth-child(4),
		.tabs-nav li:nth-child(6) {
			border-right: 1px solid #78b04c;
		}
		
		.tabs-nav li:nth-child(n+4):nth-child(-n+5) {
			-webkit-order: 2;
			-ms-flex-order: 2;
			order: 2;
			border-top: 1px solid #78b04c;
			width: 50%;
		}
		
		.tabs-nav li:nth-child(n+6):nth-child(-n+7) {
			-webkit-order: 3;
			-ms-flex-order: 3;
			order: 3;
			border-top: 1px solid #78b04c;
			width: 50%;
		}
		
		.tabs-nav li.current a { 
			background: #282828;
		}
	
			.tabs-nav li.current a:active{
				outline: 0 !important;
			}	
		
		.tabs-nav a {
			display: block;
			padding: 15px 0;
			font: 17px/19px "Lato", sans-serif;
			color: #fff;
			text-decoration: none;
			transition: background 0.2s;
		}
		
		.tabs-nav a:hover {
			background: #446927;
		}		
	
		
/* SERVICE BINS */

.hp-services {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	margin: 25px 0;
	padding: 25px 0;
	background: #fff;	
}

	.hp-services h2 {
		padding: 0 0 15px;
		font: 34px/34px "Lato Black", sans-serif;
		text-align: center;
		color: #5ca027;
	}
	
	.hp-services img {
		width: 97%;
		border-radius: 3px;
	}
	
	.hp-services p {
		width: 75%;
		margin: 16px auto 0;
		font: 16px/21px "Lato", sans-serif;
		color: #282828;
		text-align: center;
	}
	
	.hp-services p + p,
	.hp-services div + p {
		width: 100%;
		margin: 0;
	}
	
	.hp-services div + p {
		display: none;
	}
	
	.hp-services p + p > a,
	.hp-services div + p > a {
		font: 20px/20px "Lato", sans-serif;
		text-align: center;
		text-transform: uppercase;
		color: #5ca027;
	}

		.hp-services p + p > a > i,
		.hp-services div + p > a > i {
			position: relative;
			top: 6px;
			margin-left: 8px;
			font-size: 27px;
		}
	
	.hp-services a {
		text-decoration: none;
	}
	
	.hp-services div::after {
		content: "";
		display: block;
		clear: both;
	}
	
	.hp-services ul {
		float: left;
		padding-left: 20px;
		list-style-type: none;
		text-align: left;
	}
	
		.hp-services ul a {
			font: 17px/21px "Lato Bold", sans-serif;
			color: #101010;
		}
		
		.hp-services ul a:hover {
			color: #5ca027;
		}
		
			.hp-services ul a i {
				margin-right: 3px;
				font-size: 12px;
				color: #5ca027;
			}
			
	.hp-services .service-bin {
		-webkit-flex: 1 1 32.6%;
		-ms-flex: 1 1 32.6%;
		flex: 1 1 32.6%;
		text-align: center;
	}
	
		.hp-services .service-bin > a:nth-of-type(2) {
			display: none;
		}
		
			.hp-services .service-bin > a:nth-of-type(2) img {
				width: 100%;
				border-radius: 0;
			}	