/*.page-header {background-color: #333333;}
.page-header.scrolled {
	height: 60px;
	}
.expand {float: right;}*/

.overlay {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 0px;
	z-index: 0;
	transition: opacity 1s;
	}
.overlay.on {
	opacity: 1;
	height: 100%;
	transition: opacity 1s;
	cursor: pointer;
	z-index: 0;
	}
	
.page-header {
	
	}
.nav-wrap {
	padding: 0;
	}

.page-nav-sub {
	display:inline-block;
	position:relative;
	margin-top:0px;
	height:60px;
	width:100%;
	z-index: 50;
	background-color:#333333;
	
	
	box-sizing: border-box;
	}
	
	.desktop-nav {
		display: none;
		}
.nav-wrap nav.mobile-nav {
	position: absolute;
	top: -500%;
	
	display: block;
	box-sizing: border-box;
	z-index: -10;
	background-color: #333333;
	width: 100%;
	
	overflow: hidden;
	transition: top 0.8s ease-in;
	}
	
.nav-wrap nav.mobile-nav.open {
	
	top: 60px;
	transition: top 0.8s ease-out;
	}

.nav-wrap nav.mobile-nav a {
	display: block;
	padding: 10px;
	margin: 2px;
	background-color: #363636;
	font-weight: 400;
	font-size: 1.2em;
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	}

.nav-wrap a.logo {
	display: block;
	height: 40px;
	width: 100px;
	float: left;
	margin: 10px 0 0 10px;
	border: none;
	padding: 0;
	background-image:url(../images/logo-footer.png);
	background-size: contain;
	background-repeat: no-repeat;
	text-indent: -99999px;
	z-index: 30;
	}
	
.page-nav-sub .expand {
	display: block;
	float: right;
	padding: 5px;
	margin: 8px 10px 0 0;
	}
	
.page-nav-sub .expand i {
	display: block;
	position: relative;
	width: 40px;
	height: 5px;
	background-color: #ffffff;
	border-radius: 2px;
	margin: 5px 2px;
	transition: all 0.5s;
	}
	
.page-nav-sub .expand.opened i {
	opacity: 0;
	transition: all 0.5s;
	/*transform-origin: left center;*/
	}

.page-nav-sub .expand.opened i:first-child {
	opacity: 1;
	top: 10px;
	transform: rotate(45deg);
	
	}
.page-nav-sub .expand.opened i:last-child {
	opacity: 1;
	top: -10px;
	transform: rotate(-45deg);
	}
	
.page-nav-sub .expand.closed i {
	top: 0;
	}

/*	
#mobile-nav {
	display: table-row;
	float: right;
	width: 250px;
	}

#mobile-nav a {
	display: table-cell;
	box-sizing: border-box;
	padding: 10px 12px;
	vertical-align: middle;
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.1);
	border: solid 5px #333333;
	border-radius: 8px;
	text-decoration: none;
	}*/
	
#hero {
	background-position: 35% 0%;
    background-repeat: no-repeat;
    background-size: cover;
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	height: 395px;
	}
	
.slide {
	
	}
#hero .hero-content {
	height: 395px;
	position: relative;
	/*top: -485px;*/
	display: table;
	max-width: 1140px !important;
	}
	
.hero-logo, .hero-text {
	display: table-row;
	text-align: left;
	margin: 0 auto;
	box-sizing: border-box;
	height: auto;
	}	
	
.hero-logo {
	vertical-align: top;
	/*padding: 20px 30px;*/
	}
	
.hero-text {
	transform: translateY(0);
	max-width: 1140px;
	/*vertical-align: bottom;*/
	
	}
/*.hero-text {
	display: block;
	display: table-cell;
	width: 100%;
	max-width: 1140px;
	
	vertical-align: bottom;
	position: relative;
	top: -485px;
	
	padding: 0px 30px;
	box-sizing: border-box;
	text-align: center;
	}*/
	
.hero-text h1 {
	display: table-cell;
	/*height: 365px;*/
	vertical-align: bottom;
	text-align: left;
	font-size: 38px;
	line-height: 42px;
	text-transform: uppercase;
	color: #ffffff;
	font-weight: 300;
	padding: 0 30px 30px 30px;
	max-width: 600px;
	margin: 0;
	text-shadow: 2px 1px 8px #333333;
	}

.hero-text h1 b {
	font-weight: 700;
	}
	
.hero-logo img {
	width: 80%;
	height: auto;
	display: block;
	margin: 20px 30px;
	}
	
#intro p {
	line-height: 1.6em;
	font-size: 1.3em;
	}
	
#capabilities {
	margin-bottom: 0;
	max-width: 800px;
	}

#capabilities .item {
	width: 50%;
	font-size: 1em;
	}

#capabilities .item .icon img {
	max-width: 120px;
	}
	
#main {
	text-align: left;
	margin: 0 auto;
	max-width: 1790px;
	padding-bottom: 40px;
	}
	
#main .wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0px 30px;
	box-sizing: border-box;
	}
	
#main h2 {
	font-weight: 300;
	font-size: 33px;
	line-height: 1.2em;
	padding: 20px 0 20px 0;
	text-transform: none;
	margin: 0 auto;
	max-width: 1100px;
	}
	
#main p {
	margin: 10px auto 20px auto;
	max-width: 1100px;
	}
	
#main hr {
	height: 0px;
	/*border-bottom: 3px solid #006f54;*/
	border-bottom: none;
	color: transparent;
	/*width: 150px;*/
	width: 100%;
	margin: 0 auto;
	max-width: 1100px;
	margin-top: 40px;
	}
	
#main hr::before {
	content: '';
	display: block;
	margin: 0;
	padding: 0;
	width: 150px;
	border-bottom: 3px solid #006f54;
	}
	
#main img {
	margin-top: 60px;
	margin-bottom: 40px;
	}
	
#main .fluff {
	width: 100%;
	max-width: 1400px;
	height: auto;
	margin: 60px auto;
	}
	
.img-full {
		display: block;
		width: 100%;
		height: auto;
		margin: 30px auto;
		}

.stats {
	width: 100%;
	max-width: 1400px;
	margin: 50px auto;
	}
	
.stats.two-across {
	max-width: 900px;
	}

.stat, .stat-img, .stat-txt {
	margin: 0 auto;
	text-align: center;
	}
		
#main .stat-img img {
	/*display: block;*/
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: auto;
	max-width: 320px;
	}

.stat-txt {
	padding-bottom: 20px;
	padding-right: 20px;
	padding-left: 20px;
	}

.stat-txt h3 {
	font-size: 2em;
	font-weight: 300;
	margin-top: 0;
	margin-bottom: 0;
	}
	
.stack {
	width: 100%;
	margin: 0 auto;
	margin-right: auto;
	text-align: center;
	}
	
#main .stack img {
	width: 100%;
	height: auto;
	margin: 20px auto;
	}
/*
#featured-work {
	background-color: #ededed;
	box-shadow: 0 0 10px 0 #333333, inset 0 -8px 8px -8px #333333;
	padding: 40px 0;
	}

#featured-work .work-wrapper {
	width: 90%;
	min-width: 300px;
	margin: 0 auto;
	
	}
	
#featured-work .case {
	
	width: 46%;
	height: 100%;
	box-sizing: border-box;
	padding: 0px;
	margin: 2%;
	float: left;
	background-color: #ffffff;
	text-decoration: none;
	color: #000000;
	font-size: 14px;
	line-height: 20px;
	}

	
#featured-work .case .image-box, #featured-work .case .text-box {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
	}
	
#featured-work .case .image-box {
	position: relative;
	}
	
#featured-work .case .image-box .button {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	text-align: center;
	margin-top: -15px;
	}
	
#featured-work .case .text-box {
	box-sizing: border-box;
	padding: 20px;
	}

#featured-work .case .image-box img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	opacity: 0.5;
	transition: opacity .2s;
	z-index: 5;
	}
	
#featured-work .case .image-box .button::after {
	content: "Read More";
	display: inline-block;
	box-sizing: border-box;
	z-index: 10;
	color: #ffffff;
	padding: 10px 20px;
	border: 2px solid #ffffff;
	text-transform: uppercase;
	font-size: 18px;
	background-color: rgba(0, 0, 0, 0.3);
	box-shadow:  0 0 8px 2px rgba(0, 0, 0, 0.4);
	text-shadow: 2px 2px 8px #000000;
	}
	
.view-more {
	width: 100%;
	position: fixed;
	bottom: 0;
	text-align: center;
	display: none;
	}

.view-more a {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 50px;
	background-color: rgba(255, 255, 255, 0.75);
	border: solid 3px #333333;
	text-transform: uppercase;
	text-decoration: none;
	margin: 5px;
	color: #000000;
	box-shadow: 1px 1px 8px #333333;
	}*/

.clear {height: 0px !important;}
.mobile-hide {display: none;}
.mobile-show {display: block;}

@media screen and (min-width: 480px) {
	#capabilities .item {
		width: 25%;
		}
	
	.hero-text h1 {
		font-size: 48px;
		line-height: 52px;
		max-width: 800px;
		vertical-align: middle;
		}
	}

@media screen and (min-width: 668px) {
	#intro .content { 
		width: 100%;
		max-width: 100%;
	}
	
	#intro .sidebar {
		width: 100%;
		}
	}

@media screen and (min-width: 768px) {
	.mobile-hide {display: block;}
	.mobile-show {display: none;}
	.expand, .close, .overlay {display: none !important;}
	
	.page-header {
		/*overflow: hidden;*/
		background-color: #ffffff;
		}
	.nav-wrap {
	padding: 0 30px;
	}
	.nav-wrap nav.mobile-nav {
		display: none;
		}	
	.page-nav-sub a.logo {
	display: block;
	float: left;
	position: relative;
	top: -12px;
	height: 25px;
	width: 66px;
	border: none;
	padding: 0;
	margin: 0;
	background-image:url(../images/logo-ac-small.png);
	text-indent: -99999px;
	}
.page-nav-sub {
	/*display: block;
	height: 60px !important;
	padding-bottom: 0;
	display: table;*/
		/*width: auto;
		max-width: 100%;*/
		width: 100%;
		max-width: 1120px;
		height: 60px !important;
		padding: 32px 0 12px;
		box-sizing: border-box;
		background-color: #ffffff;
	}
.page-nav-sub nav.mobile-show {
	display: none;
	}
	
.page-header.scrolled {
	height: 40px;
	}

.page-header.scrolled .page-nav-sub {
	/*height: auto !important;*/
	padding-top: 12px;
	height: 40px !important;
	transition: padding 1s ease-in-out, height 1s ease-in-out;
	}
	
.page-header.scrolled .page-nav-sub a.logo {
	top: -8px;
	transition: top 1s;
	}
	

	
.page-nav-sub nav {
	/*top: -25px;*/
	position: relative;
	height: auto;
	background-color: transparent;
	/*float: left;
	margin-left: 75px;*/
	display: table-row;
		transform: translateY(0px) !important;
	}
	
.page-nav-sub nav a {
	display: table-cell;
		color: #333333;
		background-color: transparent;
		height: 16px;
		vertical-align: middle;
		text-align: center;
		padding: 0 30px;
		text-transform: uppercase;
		text-decoration: none;
		border-right: 1px solid #333333;
		font-size: 0.9em;
		line-height: 0.9em;
	}
		
	.page-nav-sub nav a:last-child {
		padding-right: 0px;
		border-right: none;
		}	
		
	#mobile-nav {
		display: none;
		}
		
	#hero {
		background-position: center top;
		}
	.hero-text h1 {
		font-size: 62px;
		line-height: 70px;
		max-width: 800px;
		/*vertical-align: middle;*/
		}
		
	#intro .content {
		width: 60%;
		max-width: 800px;
		}
		
	#intro .sidebar {
		width: 40%;
		}
		
	#capabilities .item {
		width: 50%;
		}
			
	.stats {
		/*display: table-row;*/
		}
		
	.stat {
		display: table-cell;
		vertical-align: top;
		height: 100%;
		}
		
	.stats.three-across .stat {
		width: 33.3%;
		}
		
	.stats.two-across .stat {
		width: 50%;
		}
	#main .stat-img {
		padding: 0 40px;
		}
	
	#main .stat-img img {
		max-width: 390px;
		margin: 0;
		}
	#main .stack div {
		margin: 0;
		padding: 10px;
		float: left;
		box-sizing: border-box;
		}	
	
	#main .stack.half div {
		width: 50%;
		}
	#main .stack.thirds div {
		width: 33.3%;
		}
		
	#main .stack div.clear {
		width: 100%;
		clear: both;
		float: none;
		}
			
	/*#featured-work .case {
		width: 30%;
		margin: 1.5%;
		font-size: 16px;
		line-height: 24px;
		}
	
	#featured-work .case .image-box img{
	opacity: 1;
	transition: opacity .2s;
	}
	
	#featured-work .case .image-box .button {
		display: none;
		}
	
	#featured-work .case:hover .image-box .button {
		display: block;
		}
		
	#featured-work .case:hover .image-box img {
		opacity: 0.5;
		transition: opacity .2s;
		}*/
	
	
	}
	
@media screen and (min-width: 1060px) {
	
	/*
	#featured-work .work-wrapper {
	width: 1040px;
	margin: 0 auto;
	}
	
	#featured-work .case {
	width: 326px;
	margin: 10px;
	}
	
	#featured-work .case .image-box {
		height: 326px;
		}
	
	#featured-work .case .text-box {
	padding: 20px 50px;
	}*/
	
	
	}
	
@media screen and (min-width: 1175px) {
	/*#main hr {
	margin-left: 0px;
	}*/
	}