/* Main styles */

body {

	font-family: "Helvetica","arial",sans-serif;
	font-weight: 300;	
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	background-color: #f1f1f1;
	background-repeat: repeat;
	font-size: 14px;
	color: #333;
}



A img {
	border:  none;
}

A:link, A:visited{
	color: #D3007B;
	text-decoration: none;
}

A:hover {
	color: #D3007B;
	text-decoration: underline;
}



h1 {
	font-weight: normal;
	font-size: 1.7em;
	line-height: 20px;
	margin-bottom: 5px;
}

h2 {
	font-weight: normal;
	line-height: 18px;
	font-size: 18px;
	margin-bottom: 2px;
}


/* Page layout */

#main {
	position: relative;
	display: block;
	padding:  10px 20px 20px 20px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	/*max-width: 845px;*/
	
}

.over-box-wrap {
	float: left;
	margin-top: 10px;
	/*margin-right: 10px;*/
	position: relative;
	cursor: pointer;
}

#featured-projects > .over-box-wrap {
	margin-bottom: 20px;
}

.proj-left {
	margin-top: 10px;
	margin-bottom: 60px;
	float: left;
}

.proj-right {
	margin-top: 10px;
	margin-bottom: 60px;
	float: right;
}




@media only screen and (min-width: 900px) {
    /* big */
    #main {
	/*max-width: 845px;*/
	max-width: 1200px;
	padding-right: 20px;
    }
    
    #top-info {
    	float: right;
    	text-align: right;
    }
    
    .over-box-wrap {
    	/*width: 275px;*/
    	width: 32.5%;
    	margin-right: 1.25%;    	
    }
    
    .over-box-wrap:nth-child(3n + 2) {
    	margin-right: 0px;
     	float: right;
    }
    
    .over-box-wrap:nth-child(3n + 0) {
    	clear: left;
    }
    
    .proj-left, .proj-right {
    	/*width: 400px;	*/
    	width: 49%;
    }
    
    .two-3rds {
    	/*width: 540px;*/
    	width: 66%;
    	float: left;
    }
    
    .one-3rds {
    	/*width: 275px;*/
    	width: 32%;
    	float: right;
    }
    

}

@media only screen and (max-width: 899px) {
    /* medium */
    #main {
		max-width: 860px;
		/*width: 100%;*/

    }
    
    #top-info {
    	float: right;
    	text-align: right;
    }
    
    .over-box-wrap {
    	width: 49.2%;
    	margin-right: 1.6%;    	
    }
    
    .over-box-wrap:nth-child(2n + 2) {
    	margin-right: 0px;
    	float: right;
    }
    

    
    .proj-left, .proj-right {
    	width: 100%;	
    }
    
    .two-3rds {
    	/*width: 540px;*/
    	width: 66%;
    	float: left;
    }
    
    .one-3rds {
    	/*width: 275px;*/
    	width: 32%;
    	float: right;
    }
    
}

@media only screen and (max-width: 600px) {
    /* small */
    #main {
		max-width: 560px;
    }
    
    #top-info {
    	clear: left;
    	margin-top: 20px;
    	float: left;
    	text-align: left;
    }
    
    .over-box-wrap {
    	width: 100%;
    }
    
    .proj-left, .proj-right {
    	width: 100%;	
    }
    
    .two-3rds {
    	/*width: 540px;*/
    	width: 100%;
    	float: left;
    }
    
    .one-3rds {
    	/*width: 275px;*/
    	width: 100%;
    	float: left;
    }
    
}

#header {
	margin: 20px 0 60px 0px;
	height: 90px;
	position: relative;
	width: 100%;
}

#header h1 {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light","Helvetica Neue", "arial", sans-serif;
	font-weight: 300;
/*	-webkit-text-stroke: 1px transparent;*/
}

#header .hr {
	margin: 8px 0;
	border-top: 1px solid #888;
}


#top-nav {
	float: left;
}


#top-nav a:link, #top-nav a:visited {
	color: #000;
}

#top-nav a:hover {
	color: #D3007B;
	text-decoration: underline;
}

#top-nav .current-nav:link, #top-nav .current-nav:visited {
	color: #D3007B;
}

#top-nav .current-nav:hover {
	text-decoration: none;
}

#site-nav {
	float: left;
}

#page-nav {
	margin-left: 20px;
	float: left;
	width: 70px;
}



.current-nav {
	color: #D3007B;
}




#mail_envelope {
	margin-right: 5px;
	display: none;
}

#email-link:link, #email-link:visited {
	color: #000;
} 

#email-link:hover {
	color: #D3007B;
	text-decoration: underline;
}

/* Body Content */

#proj-boxes {

}

.proj-group {
	
}

.proj-group h1 {
	font-size: 1em;
	text-transform: uppercase;	
	margin: 0;
}

.proj-group .hr {
	margin: 0;
	border-top: 1px solid #888;
}

#featured-projects {

}

#all-projects {
	margin-top: 60px;
}

.proj-box h1 {
	font-size: 1.4em;
	line-height: 1em;
	margin-top: 0px;
	margin-bottom: 0px;
	font-weight: bold;
}

.proj-box p {
	margin: 14px 0;
	line-height: 1.2em;
}

.proj-about {
	margin-bottom: 10px;
}

.proj-about h1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #444;
	margin-top: 26px;
	margin-bottom: -6px;
}

.proj-about h1:first-child {
	margin-top: 8px;
}


.proj-box h3 {
	font-size: 14px;
	margin-top: 14px;
	margin-bottom: -12px;
	font-weight: bold;
}

.h {
	background-color: rgb(255,255,50);
}


#proj-nav {
	/* Start with project navigation hidden	*/
	display: none;
	margin-top: 46px;
	*margin-bottom: -55px; /* More IE7 stupidity */
	
	border-bottom: 1px solid #888;
	padding: 10px 0 5px 0px;
	
	background-color: rgba(241,241,241,.95);
	z-index: 1000;
	
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	top: 0px;
	
}

#proj-nav-left {
	float: left;
}

#proj-nav-right {
	float: right;
}




.left-most {
	/*margin-left: 0px;*/
}

.over-box {
	width: 100%;
	height: 165px;
	float: left;
	margin-right: 10px;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}


.over-box h1 {
	text-transform: none;
	margin-top: 0px;	
}

.over-box-bg {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

.over-box-fg {
	position: absolute;
	opacity: .85;
	filter:alpha(opacity=85);
	width: 100%;
	/*height: 100%;*/
	position: absolute;
	display: inline;
}


.over-box img {
	width: 100%;
	margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.over-box-text {
	padding: 0;
	margin-top: 4px;
	position: relative;
	float: left;
	clear: both;
	width: 100%;
}

.over-box-text h1 {
	font-family: 'HelveticaNeue','Helvetica Neue',Arial,Helvetica,sans-serif;
	font-weight: 300;
	color: #222;
	margin-top: -2px;
	padding-left: 0px;
	font-size: 1em;
	line-height: 1.6em;
	text-transform: none;

}

.over-box-text h2 {
	display: block;
	color: #333;
	font-style: italic;
	padding-left: 0px;
	font-size: .85em;
	font-weight: lighter;
	line-height: 1em;
	margin: 0;
	padding: 0;
	margin-bottom: 16px;

}

.over-box-desc {
	font-size: .85em;
	clear: both;
	padding-top: 0px;
}

.over-box-desc p {
	line-height: 1.3em;
}

.over-box-bar {
	background-color: #999 ;
	position: relative;
	float: left;
	margin-top: 4px;
	margin-bottom: 4px;
	height: 4px;
	width:100%;	
}

.proj-box, .proj_box {
	display: none;
	margin-top: 10px;
	margin-bottom: 60px;
	margin-left: 0px;
/*	width: 825px;*/
	border-left: 0;
	border-right: 0;

/*	padding: 15px 10px;	*/
/*	background-color: #fff;*/
	
/*	-moz-box-shadow: 0px 3px 10px #aaa;
	-webkit-box-shadow: 0px 3px 10px #aaa;
	box-shadow: 0px 3px 10px #aaa;	*/
}





.image, .image img {
	width: 100%;
	height: auto;
}

.image.spinner {
	margin: 60px 0 60px 184px;
	text-align: center;
	width: 32px;
	height: 32px;
	
}

.image-border {
	border: 1px solid rgba(0,0,0,.2);
}	

.image-padding {
/*	padding-bottom: 20px;*/
}

.image-wrap {
	position: relative;
	margin-bottom: 10px;
	padding-bottom: 20px;
	width: 100%;
}

.video {
	position: relative;
	margin-bottom: 10px;
	width: 400px;
}

.image-caption {
	border-top: 1px solid #888;	
	margin-top: 5px;
	padding-top: 4px;
	font-style: italic;
	position: relative;
	width: 100%;
	font-size: .9em;
}

.learn-more {
	opacity: 0;
	filter:alpha(opacity=0);
}


#footer {
	color:  #333333;
	margin-top: 15px;
	margin-bottom: 25px;
	text-align: center;
	font-size: 12px;	
}

#footer A, #footer a:link, #footer a:visited {
	color:  #333333;
	text-decoration: underline;
}




/* Break */

.break {
	clear:  both;
}



/* About page */

.about-box {
	margin-bottom: 40px;
}

.about-box h1 {
	font-size: 1em;
	text-transform: uppercase;	
	margin: 0;
}


.about-box .hr {
	margin: 0;
	border-top: 1px solid #888;
}

.about-box p {
	font-size: 1em;
	padding-right: 10px;
	line-height: 1.3em;
}

.about-box ul {
	list-style: none;
	padding: 0;
	*margin-left: 0px; /* More IE7 stupidity */
}

.about-box li {
	padding-bottom: 8px;
}

.bold {
	font-weight: 700;
}

