/* typefaces */
@font-face {
	font-family: 'Museo_Slab_500';
	src: url('fonts/Museo_Slab_500.eot');
	src: local('☺'), url('fonts/Museo_Slab_500.woff') format('woff'), url('fonts/Museo_Slab_500.ttf') format('truetype'), url('fonts/Museo_Slab_500.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Museo_Slab_500';
	src: url('fonts/Museo_Slab_500italic.eot');
	src: local('☺'), url('fonts/Museo_Slab_500italic.woff') format('woff'), url('fonts/Museo_Slab_500italic.ttf') format('truetype'), url('fonts/Museo_Slab_500italic.svg') format('svg');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'AvenirLight';
	src: url('fonts/Avenir-Light.eot');
	src: local('☺'), url('fonts/Avenir-Light.woff') format('woff'), url('fonts/Avenir-Light.ttf') format('truetype'), url('fonts/Avenir-Light.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'GothamLight';
	src: url('fonts/Gotham-Light.eot');
	src: local('☺'), url('fonts/Gotham-Light.woff') format('woff'), url('fonts/Gotham-Light.ttf') format('truetype'), url('fonts/Gotham-Light.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSans-300';
	src: url('fonts/MuseoSans-300.eot');
	src: local('☺'), url('fonts/MuseoSans-300.woff') format('woff'), url('fonts/MuseoSans-300.ttf') format('truetype'), url('fonts/MuseoSans-300.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSans-100';
	src: url('fonts/MuseoSans-100.eot');
	src: local('☺'), url('fonts/MuseoSans-100.woff') format('woff'), url('fonts/MuseoSans-100.ttf') format('truetype'), url('fonts/MuseoSans-100.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
/* end-types */

/* general styles */
html {
	font-family: Helvetica, sans-serif;
}

body {
	font-family: "GothamLight", "AvenirLight", "Helvetica Nueue", Helvetica, Arial, sans-serif;
	border-top: 8px solid #8bb0b7;
	margin: 0;
	padding: 0;
}

a:link {
	color: #4a8dd2;
	text-decoration: none;
}

a:visited {
	color: #4a8dd2;
	text-decoration: none;
}

a:hover {
	color: #999;
	text-decoration: none;	
}

a:active {
	color: #999;
	text-decoration: none;
}

.container {
	max-width: 1040px;
	margin: 0px auto 0px auto;
}

#header {
	position: relative;
	top: 0;
	border-bottom: 1px solid #e3e2de;
	padding: 0;
}

#main {
	margin-top: 40px;
}

#logotext {
	font-family: "Museo_Slab_500", Georgia, serif;
	font-size: 2.3em;
	color: #636363;
	letter-spacing: 0px;
	margin: 30px 0 5px 0;
	padding: 0;
	font-weight: 400;
}

#logotext a {
	color: inherit;
}

#nav {
	text-align: right;
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
}

#nav ul li {
	font-family: "MuseoSans-100", "Museo_Slab_500", Georgia, serif;
	font-size: 1.2em;
	text-transform: uppercase;
	margin: 0 0 0 22px;
	padding: 0px;
	display: inline;
}

#nav a {
	color: #636363;
	text-decoration: none;
}

#nav a:hover {
	color: #bbb;
}


h2.section-header {
	font-family: "GothamLight", "AvenirLight", "Helvetica Nueue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #b81c11;
	font-size: 1.3em;
	margin-bottom: 16px;
	margin-top: 40px;
}

h2.first-section {
	margin-top: 0px;
}

p {
	font-family: "MuseoSans-100", "GothamLight", "AvenirLight", "Helvetica Nueue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #333;
	font-size: 1em;
	margin: .5em 0 1em 0;
	padding: 0;
	line-height: 1.2;
}
/* end-main */

/* index project stubs */
#main-projects ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li.main-project-item {
	list-style: none;	
	color: #a6a6a8;
	width: 46%;
	float: left;
	padding: 0;
	margin: 0 4% 40px 0;
	text-align: center;
	position: relative;
}

li.main-project-item img {
	max-width: 100%;
	border: 1px solid #aaa;
	box-shadow: 2px 2px 6px .75px #bbb;
}

.project-tools {
	font-style: italic;
}

/* hover captions */
.main-project-caption, .main-project-caption-js {
    display: none;
    position: absolute;
    bottom: 5px;
    left: 1px;
    width: 100%;
    height: 40px;
    background: #666;
    background: rgba(0,0,0,0.4);
}

.main-project-caption p, .main-project-caption-js p {
    text-align: left;
    position: absolute;
    font-family: "AvenirLight", "GothamLight", "HelveticaNueue", "Helvetica", Arial, sans-serif;
	color: #eee;
	margin: 13px 0 0 16px;
}

.main-project-item:hover .main-project-caption {
    display: block;
}
/* end index project stubs */


/* about */
#about-content {
	/*prevent wrap*/
	width: 50%;
	float: left;
	overflow: hidden;
	zoom: 1;
}

#about-img {
	float: left;
	width: 45%;
}
#about-img img {
	/*float: right;*/
	padding: 0 0 0 40px;
	max-width: 100%;
}
/* end-about*/


/* project-new */
.project-item {
	margin: 0 0 60px 0;
	overflow: auto;
	width: 100%;
}

.project-item-img {
	float: left;
	width: 55%;
	padding-right: 55px;
}

.project-item-img img {
	border: 1px solid #aaa;
	box-shadow: 2px 2px 6px .75px #bbb;
	max-width: 100%;
	margin: 4px;
}

.project-item-content {
	padding: 0;
	margin-left: 0;

	/*prevent wrap*/
	overflow: hidden;
	zoom: 1;
}
/* end project-new */

.project-banner {
	margin-bottom: 50px;
}

.project-banner img {
	max-width: 100%;
}

.project-content {
	margin: 20px 60px 70px 60px;
}

.project-content p {
	line-height: 1.5;
}

.row {
	margin: 30px 0 0 0;
}

.project-header {
	font-family: 'Lato', 'MuseoSans-100', Arial, sans-serif;
	font-weight: 300;
	font-size: 2em;
	text-align: center;
	text-transform: uppercase;
	margin: 0 0 0 0;
	display: block;
}

.left-half {
	width: 460px; /* 1040 in half */
	margin: 0;
	padding: 0 40px 20px 20px;
	float: left;
	display: inline;
	box-sizing: border-box;
}
.right-half {
	width: 460px; /* 1040 in half */
	margin: 0;
	padding: 0 20px 60px 40px;
	float: left;
	display: inline;
	box-sizing: border-box;
}

.whole {
	width: 1000px; /* 1040 in half */
	padding: 0;
	margin: 0 20px 0 20px;
	float: left;
	display: inline;
}

.project-small img, .whole img {
	max-width: 100%;
}

.project-small-sub {
	margin-top: 15px;
}

/* media queries */
@media (min-width: 651px) and (max-width: 1100px) {
    .container {
		width: 90%;
		min-width: 450px;
		margin: 0px auto 0px auto;
    }

	#main {
		margin-top: 40px;
	}

	h2.section-header {
		margin-bottom: 13px;
	}

	#project-img img {
		float: right;
		padding: 0 0 0 30px;
		max-width: 400px;
	}


	.left-half {
		width: 50%;
		padding: 0 25px 20px 10px;
		margin: 0;
		/*margin: 0 10px 20px 10px;*/
		float: left;
		display: inline;
		box-sizing: border-box;
	}
	.right-half {
		width: 50%;
		padding: 0 10px 20px 25px;
		margin: 0;
		/*margin: 0 10px 20px 10px;*/
		float: left;
		display: inline;
		box-sizing: border-box;
	}

	.whole {
		width: 100%;
		margin: 0;
		padding: 0 20px 0 20px;
		float: left;
		display: inline;
		box-sizing: border-box;
	}
}

@media (max-width: 650px) {
    .container {
		width: 80%;
		min-width: 380px;
		margin: 0px auto 0px auto;
    }

	#main {
		margin-top: 30px;
	}

	#nav {
		top: -6px;
	}

	#nav ul li {
		font-size: 1.1em;
		margin: 0 0 0 13px;
	}

	#logotext {
		font-size: 1.8em;
		margin: 30px 0 0 0;
	}

	h2.section-header {
		margin-bottom: 10px;
	}

	#project-img img {
		float: right;
		padding: 0 0 0 30px;
		max-width: 300px;
	}

	.project-item {
		margin: 0 0 40px 0;
	}

	li.main-project-item {
		float: none;
		width: 100%;
		margin: 0 0 20px 0;
	}

	li.main-project-item img {
		max-width: 100%;
		border: 1px solid #aaa;
		box-shadow: 2px 2px 6px .75px #bbb;
	}

	.project-item-img {
		width: 96%;
		float: none;
		padding-right: 0px;
	}

	#about-img img {
		padding: 0 0 0 20px;
	}

	.left-half, .right-half {
		width: 100%;
		padding: 0 10px 20px 10px;
		margin: 0;
		/*margin: 0 10px 20px 10px;*/
		float: left;
		display: inline;
		box-sizing: border-box;
	}

	.whole {
		width: 100%;
		margin: 0;
		padding: 0 20px 0 20px;
		float: left;
		display: inline;
		box-sizing: border-box;
	}
}

@media (max-width: 420px) {
    .container {
		min-width: 280px;
	}

	#main {
		margin-top: 25px;
	}

	#nav {
		top: -7px;
	}

	#nav ul li {
		font-size: .9em;
		margin: 0 0 0 7px;
	}

	#logotext {
		font-size: 1.5em;
		margin: 30px 0 0 0;
	}

	h2.section-header {
		margin-bottom: 10px;
	}

	li.main-project-item {
		float: none;
		margin: 0 0 20px 0;
	}

	li.main-project-item img {
		max-width: 100%;
		border: 1px solid #aaa;
		box-shadow: 2px 2px 6px .75px #bbb;
	}

	.project-item-img {
		width: 96%;
		float: none;
		padding-right: 0px;
	}

	#about-content {
		width: 100%;
	}

	#about-img {
		display: none;
	}


	.left-half, .right-half {
		width: 100%;
		padding: 0 10px 20px 10px;
		margin: 0;
		/*margin: 0 10px 20px 10px;*/
		float: left;
		display: inline;
		box-sizing: border-box;
	}

	.whole {
		width: 100%;
		margin: 0;
		padding: 0 10px 0 10px;
		float: left;
		display: inline;
		box-sizing: border-box;
	}
}

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix {
  zoom: 1; }
