/* -- undo browser HTML defaults http://tantek.com/log/2004/09.html#d06t2354 -- */
:link,:visited {text-decoration: none;}
ul,ol {list-style: none;}
h1,h2,h3,h4,h5,h6,pre,code,p {font-size: 1em;}
ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,blockquote,fieldset,input {margin: 0; padding: 0;}
a img,:link img,:visited img {border: none;}
address {font-style: normal;}
hr { display: none; }

/* body-options*/

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color:#ffffff;
	margin: 0px 0px;
}

body.home {
	background: url(images/background_home.jpg);
	background-repeat: no-repeat;
	background-color:#ffffff;
	margin: 0 auto;
}

body.about {
	background: url(images/background_about.jpg);
	background-repeat: no-repeat;
	background-color:#ffffff;
	margin: 0 auto;
}

body.contact {
	background: url(images/background_contact.jpg);
	background-repeat: no-repeat;
	background-color:#ffffff;
	margin: 0 auto;
}

body.portfolio {
	background: url(images/background_portfolio.jpg);
	background-repeat: no-repeat;
	background-color:#ffffff;
	margin: 0 auto;
}

body.in_progress {
	background: url(images/background_in_progress.jpg);
	background-repeat: no-repeat;
	background-color:#ffffff;
	margin: 0 auto;
}

/* body-options*/

#main-wrapper{
	width: 1050px;
	margin-left: 0;
}

/******* Masthead*/

#masthead{
	width: 1050px;
	margin: 0;
	padding:0;
	font-size:0.95em;
	line-height:0.95em;
}

#logo_content{
	width: 180px;
	float:left;
	margin-left:10px;
	padding:50px 0 0 10px;
	border-top: 11px solid #4D4D4D;
}

#logo h1{
margin:0;
padding:0;
}

.accessibility {
height:1px;
left:0;
overflow:hidden;
position:absolute;
top:-500px;
width:1px;
}

/******* nav_main*/

ul#nav_main {
	width: 180px;
	float:left;
	margin-left:10px;
	padding:57px 0 0 10px;
	border-top: 11px solid #4D4D4D;
	font-weight: bold;
}

ul#nav_main li a:link,
ul#nav_main li a:visited {
	color: #4D4D4D;
	text-decoration: none;
}

ul#nav_main li a:hover {
	color: #076A71;
}

ul#nav_main li.last{
	margin-bottom:20px
}
/******* nav_sub*/

ul#nav_sub {
	width: 180px;
	float:left;
	margin-left:10px;
	padding:57px 0 0 10px;
	border-top: 11px solid #4D4D4D;
	font-weight: bold;
}

ul#nav_sub li a:link,
ul#nav_sub li a:visited {
	color: #4D4D4D;
	text-decoration: none;
	
}

ul#nav_sub li a:hover {
	color: #076A71;
}

ul#nav_sub li.last{
	margin-bottom:20px
}

#line_1{ 
	width: 180px;
	float:left;
	margin-left:10px;
	font-weight:bold;
	border-top: 11px solid #4D4D4D;
	padding:57px 10px 0 0;
	font-size:.95em;
	color:#4D4D4D;
	text-align:right;
}
#line_1 a:link, #line_1 a:visited { 
	color:#4D4D4D;
	text-decoration: none;
}

#line_1 a:hover {
	color:#076A71;
}

#line_1 span.grey{
	color:#999999;
}
#line_1_2{ 
	width: 180px;
	float:left;
	margin-left:10px;
	font-weight:bold;
	border-top: 11px solid #4D4D4D;
	padding:44px 10px 0 0;
	font-size:.95em;
	color:#4D4D4D;
	text-align:right;
}


#line_2{ 
	width: 190px;
	height:100px;
	float:left;
	margin-left:10px;
	border-top: 11px solid #4D4D4D;	
	padding:0;
}

#line_3{ 
	width: 190px;
	height:100px;
	float:left;
	margin-left:10px;
	border-top: 11px solid #4D4D4D;	
	padding:0;
}

#line_new{ 
	width: 180px;
	float:left;
	margin-left:10px;
	font-weight:bold;
	border-top: 11px solid #4D4D4D;
	
	font-size:.95em;
	color:#4D4D4D;
	text-align:right;
}

#language{ 
	width: 180px;
	float:left;
	margin-left:10px;
	border-top: 11px solid #4D4D4D;
	padding:10px 0 0 10px;
}

#language span{ 
	float: left;
	padding:1px 70px 2px 4px;
	margin-left:5px;
	font-size:.7em;
	font-weight:bold;
	background-color:#fefdf9;
}

#language a:link, #language a:visited { 
	color:#4D4D4D;
	text-decoration: none;
}

#language a:hover {
	color:#076A71;
}

#language img {
	float: left;
}
	
#line_4{ 
	width: 190px;
	height:425px;
	float:left;
	margin-left:10px;
	border-top: 5px solid #4D4D4D;
	background-color:#E8E8E8;	
	padding:0;
}

#line_5{ 
	width: 190px;
	height:425px;
	float:left;
	margin-left:10px;
	border-top: 5px solid #4D4D4D;
	background-color:#E8E8E8;	
	padding:0;
}

#line_6{ 
	width: 190px;
	height:425px;
	float:left;
	margin-left:10px;
	border-top: 5px solid #4D4D4D;
	background-color:#E8E8E8;	
	padding:0;
}
/******* Content*/

#content{
	width: 1050px;
	float:left;
}

#text_1{ 
	width: 165px;
	padding:18px 15px 0 10px;
	float:left;
	margin-left:10px;
	border-top: 5px solid #4D4D4D;
	color: #4D4D4D;
}

#title{
	font-size:0.75em;
	line-height:1.1em;
}

#title h2{
	font-weight:bold;
}

#project_description{
	font-size:0.7em;
	line-height:1em;
}

#project_description span.sup{
    font-size: 0.6em;
    vertical-align: text-top;
}

#text_2{ 
	width: 170px;
	height: 407px;
	float:left;
	margin-left:10px;
	padding:18px 10px 0 10px;
	border-top: 5px solid #4D4D4D;
	font-size:1em;
	line-height:1em;
	font-weight: bold;
	color: #4D4D4D;
}

#text_3{ 
	width: 170px;
	height: 407px;
	float:left;
	margin-left:10px;
	padding:18px 10px 0 10px;
	border-top: 5px solid #4D4D4D;
	font-size:0.75em;
	line-height:1.1em;
	color: #4D4D4D;
}

#text_3 a:link, #text_3 a:visited { 
	color:#4D4D4D;
	text-decoration: underline;
}

#text_3 a:hover {
	color:#076A71;
}


/******* portfolio buttons*/
ul#nav_images {
margin: 0;
padding: 0;
}

ul#nav_images li {
width: 190px;
height:430px;
list-style: none;
display:inline;
font-size:0.6em;
text-decoration: none;
font-style:oblique;
float:left;
margin-left:10px;
}

ul#nav_images li a{
display:block;
border-top: 5px solid #4D4D4D;
}

ul#nav_images li.perren a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/perren_st_btn.jpg) 0 0 no-repeat;
color:#ffffff;
}

ul#nav_images li.perren a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

ul#nav_images li.casa_maria a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/casa_maria_btn.jpg) 0 0 no-repeat;
color:#ffffff;
}

ul#nav_images li.casa_maria a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

ul#nav_images li.front_to_back a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/front_to_back_btn.jpg) 0 0 no-repeat;
color:#ffffff;
}

ul#nav_images li.front_to_back a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

ul#nav_images li.earlsfield a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/earlsfield_btn.jpg) 0 0 no-repeat;
color:#ffffff;
}

ul#nav_images li.earlsfield a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

/******* portfolio 2 buttons*/
ul#nav_images li.other_criteria a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/other_criteria_btn.jpg) 0 0 no-repeat;
color:#ffffff;
}

ul#nav_images li.other_criteria a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

/******* inprogress buttons*/
ul#nav_images2 {
margin: 0;
padding: 0;
}

ul#nav_images2 li {
width: 190px;
height:430px;
list-style: none;
display:inline;
font-size:0.6em;
text-decoration: none;
font-style:oblique;
float:left;
margin-left:10px;
}

ul#nav_images2 li a{
display:block;
border-top: 5px solid #4D4D4D;
}


ul#nav_images2 li.lancasters a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/the_lancasters_btn.jpg) 0 0 no-repeat;
color: #ffffff;
}

ul#nav_images2 li.lancasters a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

ul#nav_images2 li.toddington_manor a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/toddington_btn.jpg) 0 0 no-repeat;
color: #ffffff;
}

ul#nav_images2 li.toddington_manor a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

ul#nav_images2 li.science a {
width: 180px;
height:20px;
padding:410px 0 0 10px;
background: url(images/science_btn.jpg) 0 0 no-repeat;
color: #ffffff;
}

ul#nav_images2 li.science a:hover { 
background-position: 0 -430px;
color: #ffffff;
}

#footer{
	width: 1000px;
	float:left;
	margin-left:10px;
	padding-top:60px;
	font-size:0.6em;
	line-height:0.95em;
	color: #000000;
}

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

#footer a:hover {
	color:#076A71;
}

#footer p.copyright { width:400px;float: left;}
#footer p.link {
	float: left;

}


.demo{
width:790px;
height:430px;
float:left;
margin-left:10px;
background: url(images/gallery_background.jpg);
background-repeat: no-repeat;
}

img.replaced {
border-top: 5px solid #4D4D4D;
}

.galleria li{
	display:block;
	overflow:hidden;
	float:left;
	margin:0;}

*html .galleria li div span{width:590px} /* MSIE bug */

.galleria_container{margin:0 auto;height:430px;width:590px;float:right;}
.gallery_demo li.active{border-style:solid;border-color:#4D4D4D;}
.gallery_demo li.hover{border-style:solid;border-color:#076A71;}
.gallery_demo li{display:block;width:55px;height:70px;overflow:hidden;float:left;border:3px solid #eee;margin: 15px 2px 2px 0;}
.gallery_demo{width:190px;float:left;}
.galleria li img.thumb{cursor:pointer;display:block;}
.caption{height:1px;left:0;position:absolute;top:-500px;width:1px;}

.nav{padding-top:15px;float:left;font-size:0.75em;color:#4D4D4D;}
.nav a{color:#4D4D4D;text-decoration:none;outline:none;}
.nav a:hover{color:#076A71;}
