html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html { 
	height: 100%;
	width: 100%;
	position: relative;
}

body { 
	margin: 0;
	padding: 0;
	font-family: open-sans, helvetica, arial;
	color: #757575;
	background: rgb(253,253,253);
	font-size: 18px;
	padding-top: 80px;
}

::selection {
  	background: #eb522e;
  	color: #ffffff;
}
::-moz-selection {
 	background: #eb522e;
 	color: #ffffff;
}

a { 
	color: #eb522e; 
	text-decoration: none; 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
	
a:hover { 
	color: #ef911a; 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

img {
	max-width: 100%;
	border: none;
}

p { 
	margin: 1.5em auto; 
	line-height: 1.2em;
}

em {
	font-style: italic;
}

small { 
	font-size: .8em; 
}

strong {
	font-weight: bold; 
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

h1 { font-size: 2em; }

h2 { font-size: 1.8em; }

h3 { font-size: 1.6em; }

h4 { font-size: 1.4em; }

h5 { font-size: 1.2em; }

h6 { font-size: 1em; }

.clear { 
	clear: both;
	height: 0; }
 
.container { 
	max-width: 1600px;
	min-width: 240px;
 	margin: 0 auto;
 	position: relative; 
 	padding: 0 1.5em;
}

header#masthead {
	width: 100%;
	height: 80px;
	line-height: 80px;
	background: #fefefe;
	position: fixed;
   top: 0;
   transition: top 0.2s ease-in-out;
   border-bottom: 1px solid #ececec;
   box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
   z-index: 999; }
   
header#masthead.nav-up {
    top: -80px;
}
  	
header#masthead #logo {
	height: 100%;
	width: 181.5px;	
	float: left;
	background-image: url(images/logo.png);
	background-size: 181.5px;
	background-repeat: no-repeat;
	background-position: left center;
}
  	
header#masthead a #logo {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

header#masthead a:hover #logo{ 
	opacity: 0.75; 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

header#masthead nav#navigation {
	float: right; 
}

header#masthead nav#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

header#masthead nav#navigation ul li {
	display: inline-block;
	margin: 0 10px; 
}

header#masthead nav#navigation ul li:first-of-type {
	margin: 0 10px 0 0; 
}

header#masthead nav#navigation ul li:last-of-type {
	margin: 0 0 0 10px; 
}

header#masthead nav#navigation ul li a {
	color: #757575; 
}

header#masthead nav#navigation ul li a:hover {
	color: #8ebd3e; 
}

header#masthead #menu-button {
	 float: right;
    width: 30px;
    padding: 25px 10px 20px 10px; 
    cursor: pointer;
    display: none;
}
    
header#masthead #menu-button i {
	 display: block;
    height: 5px;
    background: #eb522e;
    width: 100%;
    margin: 5px 0;
}

nav#mobile-navigation { 
	position: absolute;
   top: 80px;
   z-index: 99;
   background: white;
   width: 100%;
   height: calc(100vh - 95px);
   box-shadow: 5px 5px 10px rgba(0,0,0,0.05);
   display: flex;
   justify-content: center;
   align-items: center;
   display: none;
}

nav#mobile-navigation ul {
	height: auto; }
	
nav#mobile-navigation ul li {
	font-size: 1.25em; 
	margin: 2em auto;
	width: 100%;
	text-align: center; 
}

nav#mobile-navigation ul li a {
	color: #757575;
}

nav#mobile-navigation ul li a:hover {
	color: #8ebd3e; 
}

#feature {
	width: 100%;
	min-height: 400px;
	height: calc(100vh - 95px); 
	background-image: url(images/banner.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative; 
	box-shadow: inset 0px 0px 200px rgba(0,0,0,0.75);
	background-attachment: fixed;
}

h1#feature-text {
	 text-align: center;
    color: white;
    font-size: 3em;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 98%;
    padding: 1%;
    line-height: 1.25em;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
}

#main {
	margin: 0 auto 1.5em auto;
	clear: both;
}

#home-page-content {
	max-width: 50%;
	margin: 3em auto; 
	padding: 2em;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.05); 
	background: #ffffff;
}

#home-portrait {
	float:left; 
	width: 20%; 
	margin-right:2.5%; 
	margin-top: 6%;
	text-align: center;
}

#home-blurb {
	float: left;
	width: 77.5%;
}

h1#page-title { 
	color: #eb522e;
}

.cta-button { 
	display: inline-block; 
   padding: .5em;
   background: #57acd4;
   color: white;
   font-weight: bold;
   border-radius: 2px;
   text-transform: lowercase;
}

.cta-button:hover {
	background: #8ebd3e;
	color: white; 
}

#grid {
	margin: 0 auto;
	padding: 0;
	display: flex; 
	flex-flow: row wrap;
	flex-direction: wrap;
	justify-content: flex-start;
	align-content: flex-start;
	width: 100%;
}

#grid .cell {
	width: 49%;
	height: 450px; 
	margin: 0 2% 1.5em 0;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1); 
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}	

#grid .cell:nth-child(even) {
	margin: 0 0 1.5em 0; 
}

/* #grid .cell.blank {
	background-color: #131313; } */

#grid .cell a { 
	display: block;
	width: 100%;
	height: 100%;
}

#grid .cell .cell-info {
	 position: absolute;
    bottom: 0;
    height:  100%;
    /* background: rgba(33, 33, 33, 0.85); */
    /* background: rgba(87, 172, 212, .9);*/
    color: white;
    width: 100%;
    -webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	opacity: 0;
}

#grid .cell:hover .cell-info {
	/* background: rgba(235, 82, 46, .9); */
	background: rgba(255,255,255, .25);
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	opacity: 1;
}

#grid .cell .cell-info h1.cell-title {
	padding: .25em;
	font-size: 2em;
	position: absolute;
	/* top: 50%; */
	top: 0;
	left: 50%;
	width: auto;
	text-align: center; 
	transform: translate(-50%, -50%);
	background: #8ebd3e;
	border-radius: 2px; 
	-webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   -o-transition: all 0.5s ease;
   -ms-transition: all 0.5s ease;
   transition: all 0.5s ease;
}

#grid .cell:hover .cell-info h1.cell-title {
	top: 50%; 	
}

#grid .cell .cell-info h1.cell-title:hover {
   background: #57acd4; 
   -webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   -o-transition: all 0.5s ease;
   -ms-transition: all 0.5s ease;
   transition: all 0.5s ease;
}

#grid .cell#barley_hopsters {
	background-image: url(images/work/barley_hopsters.jpg);
}
	
#grid .cell#wd_partners {
	background-image: url(images/work/wdpartners.png);
	background-position: top left;
}

#grid .cell#wayfind {
	background-image: url(images/work/wayfind.jpg);
}

#grid .cell#syndesis {
	background-image: url(images/work/syndesis.jpg);
}

.cell.blank {
   display: flex;
   justify-content: center;
   align-items: center;
   background: #ffffff;
}

.cell.blank:hover {
	background: #eb522e;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.cell.blank p {
	padding: 1.5em; 
	color: #b1b1b1;
	font-size: 1.5em;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
	
.cell.blank:hover p {
	color: white;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}	
	
footer#colophon {
	width: 100%;
	min-height: 75px;
	background: #131313;
	color: #7b7b7b;
	font-size: .75em; 
	padding: 1em 0;
	clear: both;
}

footer#colophon a { 
	color: #b5b5b5; 
}

footer#colophon a:hover { 
	color: #7b7b7b; 
}

footer#colophon nav#navigation { 
	float: right; 
	display: none;
}

footer#colophon nav#navigation ul {
	margin: 0;
	padding: 0;
	list-style-type: none; 
}

footer#colophon nav#navigation ul li {
	display: inline-block;
	margin: 0 10px; 
}

footer#colophon nav#navigation ul li:first-of-type {
	margin: 0 10px 0 0; 
}

footer#colophon nav#navigation ul li:last-of-type {
	margin: 0 0 0 10px; 
}

footer#colophon nav#navigation ul li a {
	color: #7b7b7b; 
}

footer#colophon nav#navigation ul li a:hover {
	color: #b5b5b5;
}

a#top-button {
    background: rgb(116,116,116);
    opacity: 0;
    padding: 15px 15px;
    border-radius: 3px;
    position: fixed;
    right: 15px;
    bottom: 15px;
    cursor: pointer;
}

a#top-button:hover {
	background: #8ebd3e; }
		
@media screen and (max-width: 1024px) {	
	
	#home-page-content {
		max-width: 100%; 
	}		
	
	#grid .cell { 
		width: 100%; 
	}
		
	/* #grid .cell.blank { 
		display: none; 
	} */
		
	#grid .cell .cell-info { 
		opacity: 1; 
	}
		
	#grid .cell .cell-info h1.cell-title {
		top: 50%;		
		min-width: 65%;
	}
			
}

@media screen and (min-width: 641px) {
	nav#mobile-navigation { display: none!important;}
}
	
@media screen and (max-width: 640px) {	

	.clear { display: none; }

	/* header#masthead #logo {
		width: 55px; 
	} */

	header#masthead nav#navigation { 
		display: none; 
	}
	
	header#masthead #menu-button {
		display: block;
	}
	
	#feature { background-attachment: initial; }
	
	#feature h1#feature-text { font-size: 2em; }
	
	#home-portrait {
		float:none;
		width: 100%;
		margin: 0 0 50px 0;
		text-align: center;
	}

	#home-blurb {
		float: none;
		width: 100%;
		text-align: center;
	}
	
	#grid .cell {
		height: 300px;
	}
	
	#grid .cell .cell-info h1.cell-title {
		font-size: 1.5em; 
	}
		
	.cell.blank p { 
		font-size: 1em;
	}
	
	footer#colophon nav#navigation { 
		float: none; 
		margin: 1.5em 0;
	}
	
}