body {
	font-size: 16px;
	font-family: "Source Sans Pro", sans-serif;
	background-color: #fff;
	
}

#container {
	overflow: hidden;
	background-color: #fff;
}

#menu, #close {
	display: none;
	font-family: "Source Sans Pro", sans-serif;
}

.sidenav {
	width: 25%;
	height: 100%;
	padding: 3%;
	margin: 1% 0 0;
	padding: 0% 4% 0% 2%;
	float: left;
	position: fixed;
	overflow: hidden;
}

.sidenav img {
	display: block;
	margin: 0 auto;
	width: 100%;
	padding: 0;
	margin: 2.75% 0 15%;
}	

.sidenav a {
	display: block;
	text-align: center;
	font-size: 1em;
	color: #333;
	text-decoration: none;
	text-transform: uppercase;
	padding-bottom: 5%;
	font-family: "Source Sans Pro", sans-serif;
}



#projects {
	display: none;
}

#projects a, .worksub a {
	font-size: .75em;
	color: #777;
	text-decoration: none;
	text-transform: none;
	padding-bottom: 3.5%;
	font-family: "Antic Slab", serif;
	font-weight: lighter;
	text-align: center;
}

#projects a:hover, .sidenav a:hover, .worksub a:hover {
	color: #e9ec6b;
}

#projects a:last-child, .worksub a:last-child {
	margin-bottom: 3%;
}



.photowrap {
	/*border-bottom: 2px solid #333;*/
	
}

.photowrap .photo {
	background: url(../images/windowsm.jpg) no-repeat center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 15%;
	background-attachment: fixed;
	padding: 25% 0px;

}

.photowrap .photo2 {
	background: url(../images/buildings.jpg) no-repeat center;
	-webkit-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	padding: 25% 0px;
}

.mainwrap {
	margin: 0 auto;
	padding: 0 15% 5% 25%;
	background-color: #fff;
}

.mainwrap, .photowrap {
	width: 75%;
	float: right;
}

.mainwrap p:first-child {
	font-size: 1.8em;
	color: #333;
	margin: 10% 0 5%;
	color: #bbb;
}

.mainwrap p {
	font-size: 1.1em;
	line-height: 1.5em;
	margin: 2% 0 0%;
}

.photo h1, .photo2 h1 {
	font-size: 4em;
	text-transform: uppercase;
	color: #000;
	font-style: italic;
	text-align: center;
	padding-top: 2%;
}

/*.photo2 h1 {
	margin-bottom: 0;
	padding-bottom: 0;
}*/

.photo2 h2 {
	margin-top: 0;
	padding-bottom: 3%;
	line-height: 0;
	font-size: 1.4em;
	text-align: center;
}

.opacity {
	background: rgba(255, 255, 255, 0.8); 
	padding: 1%;
}

.clear {
	clear: both;
}



#content {
	width: 75%;
	float: right;
	margin-top: 1%;
	margin-bottom: 3%;
	overflow: hidden;
}
.callout {
	overflow: hidden;
	position: relative;
	float: left;
	width: 50%;
	padding: 0 2%;
	margin-bottom: 0;
	/*border-top: 1px solid #000;*/
	/*border-bottom: 1px solid #000;*/
}

.navpage {
	overflow: hidden;
	position: relative;
	float: right;
	width: 45%;
	padding: 1% 0 1%;
	margin-right: 5%;
	/*border-bottom: 1px solid #000;*/
}

.navpage a{
	float: right;
	padding-right: 5%;
	text-decoration: none;
	font-size: .9em;
	color: #777;
}

.navpage a:hover {
	color: #e9ec6b;
}

 h1 {
	color: #000;
	font-size: 1.4em;
	line-height: 1.8em;
}

.callout p {
	margin-top: 2%;
	color: #777;
	line-height: 1.2em;
	width: 100%;
	float: left;
	overflow: hidden;
}

.slidewrap,  {
	float: left;
	width: 100%;
	margin-top: 2%;
}

#slides img,  {
	width: 100%;
}

#slidehide, .slidewraphide {
	visibility: hidden;
}


span {
 	text-transform: uppercase;
 	color: #000;
	border-top: 1px solid #e9ec6b;
	border-bottom: 1px solid #e9ec6b;
 	;
 }

 a.maxmin {
 	text-transform: none;
 	border: none;
 	margin-left: 3%;
 	color: #777;
 	font-weight: normal;
 	font-size: .7em;
 	vertical-align: center;
 }
 a.maxmin:hover {
 	color: #e9ec6b;
 }
 

 #contact {
 	margin-top: 5%;
 	background: rgba(255,255,255 .4); 
 	
 }


 fieldset {
 	padding-top: 5%;
 }

 label {
 	font-size: 1.1em;
 	text-transform: uppercase;
 }

input, textarea {
 	display: block;
 	margin: 1% 0 5%;
 	width: 100%; 
 	padding: 1%;	
 	border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border: solid 2px #e9ec6b;
 }

 input:focus,textarea:focus {
	background: #e9ec6b;
	color:#000;
}

 input[type="submit"] {
 	display: block;
 	width: 25%;
 	background-color: #000;
 	color: #fff;
 	text-transform: uppercase;
 	padding: .5%;
 	border: none;
 }

  input[type=submit]:hover {
  	background-color: #e9ec6b;
  	color: #333;
  }

  .blackbox {
  	position: absolute;
  	background-color: #333;
  	padding: 3% 3% 6%;
  	left: 30%;
  	top: 0;
  	z-index: 1;
  }

  .blackbox h1 {
  	color: #fff;
  	text-transform: uppercase;
  	font-weight: normal;
  	text-align: center;
  	font-style: italic;
  	line-height: 1.3em;
  }

  #gallerywrap {
	width: 75%;
	float: right;
}


.galleryitem { 
	position: relative;
	float: left;
	overflow: hidden;
	margin: 1%;	   
	width: 31.33%;
}
	

/*.galleryitemlg { 	   
	width: 59%;	 
}

.galleryitemsm { 	   
	width: 41%;	 
}*/

.galleryitem img{ 
	width: 98%; 

}

.galleryitem p{ 
	text-decoration: none;
	color: #000;
	float: left;	
} 

.galleryitem:hover { 
	opacity: .5;
}

footer {
	width: 100%;
	padding: 1%;
	overflow: hidden;
}

@media only screen and (max-width: 1150px) {
	body {
		font-size: 14px;
	}
	 h1 {
	 	font-size: 1.3em;
	 	line-height: 1.9em;
	 }

	#projects a, .worksub a {
		font-size: .85em;
	}

	.sidenav img {
		margin-bottom: 7%;
	}

	#content, #gallerywrap {
		width: 70%;
	}

	.sidenav {
		width: 30%;
	}

}

@media only screen and (max-width: 1024px) {
	.mainwrap {
		padding: 0 15% 5% 20%;
	}

	.blackbox {
		padding: 2% 2% 5%;
	}

	.blackbox h1{
		font-size: 1.5em;
	}


}

@media only screen and (max-width: 900px) {
	body {
		font-size: 13px;
	}

	h1 {
		font-size: 1.2em;
	}
	#projects a, .worksub a {
		font-size: .7em;

	}


	.photowrap .photo {
		background: url(../images/windowsm.jpg) no-repeat center;
		background-attachment: scroll;
		padding: 25% 0px;
	}

	.photo h1, .photo2 h1 {
		font-size: 3em;
	}
	.photo2 h2 {
		font-size: 1.1em;
	}

	.mainwrap p:first-child {
		font-size: 1.5em;
	}

	
}
@media only screen and (max-width: 650px) {

	body {
		margin-top: 0;
	}

	h1 {
		font-size: 1.1em;
	}
	
	.sidenav {
		width: 100%;
		height: auto;
		clear: both;
		background-color: #fff;
		padding: 0;
		margin: 0;
		border-bottom: 1px solid #000;
	}

	.sidenav a {
		width: 100%;
		padding-bottom: 2%;
		color: #000;
		
	}

	.sidenav img {
		width: 45%;
		float: left;
		margin: 3% 3%;
	}


	#projects {
		display: block;
	}
		

	#projects a, .worksub a {
		color: #555;
		padding-bottom: 2%;
		
	}


	#projects a:last-child, .worksub a:last-child {
		margin-bottom: 1.5%;
		
	}

	#menu {
		width: 12%;
		margin-top:3%;
		display: block;
		text-align: center;
		float: right;
		color: #000;
	}

	#innernav {
		display: none;
		overflow: hidden;
		width: 100%;
		background-color: #fff;
		color: #000;
		padding-top: 5%;
		border-top: 1px solid #000;
		
	}

	
	/*.worksub {
		display: none;
	}*/


	#close {
		width: 100%;
		display: block;
		color: #e9ec6b;
		text-align: right; 
		margin-top: 3%;
		margin-bottom: 0;
		padding-bottom: 0;
		padding-right: 10%;
	}

	.photowrap,  {
		margin: 12% 0;
	}

	.blackbox {
		position: static;
		min-width: 100%;
		display: block;
		left: 0;
		padding: 1%;
		margin-top: 20%;
		border: 1px solid #000;
		background-color: #fff;
	}

	#contact {
		margin: 10% 0;
	}

	.mainwrap, .photowrap, #contact {
		width: 100%;
		float: left;
	}

	#content, #gallerywrap {
		width: 100%;
		margin: 12% 0;
		clear: both;
		position: absolute;
		z-index: -1;
 	}


 	h1, {
 		font-size: 1.5;
 	}

 	.blackbox h1 {
 		color: #000;
 		font-size: 2em;
 	}
}



@media only screen and (max-width: 480px) {

	body {
		font-size: 12px;
	}
	.photowrap .photo {
		background: url(../images/windowmb.jpg) no-repeat center;
		background-attachment: scroll;
		padding: 25% 0px;
	}

	.photo h1 {
		font-size: 2em;
	}

	.mainwrap {
		padding: 0 15% 5% 15%;
	}

	.mainwrap p:first-child {
		margin: 1% 0 5%;
	}

	.blackbox h1 {
 		font-size: 1.5em;
 	}

 	.navpage {
		margin-right: 0;
	}

	h1 {
		margin-left: 1.5%;
	}


}

@media only screen and (max-width: 320px) {

	body {
		font-size: 11px;
	}

	h1 {
		font-size: 1em;
		margin-left: 1.5%;
	}

	

}	

@media (orientation:portrait) {
	.galleryitem { 
		position: relative;
		float: left;
		overflow: hidden;
		margin: 1%;	   
		width: 48%;
	}

	.slidewrap {
		display: none;
	}

	.slidewraphide {
		visibility: visible;
		overflow: hidden;
		float: left;
		width: 100%;
		margin-top: 2%;
	}

	#slidehide img {
		display: block;
		visibility: visible;
		width: 100%;
	}

	#slidehide p {
		visibility: visible;
		padding: 1% 2% 2%;
		font-size: .75em;
	}

}

