/*-----------------------------------+
 | Site: Commonwealth Architecture   |
 | Part: Master stylesheet           |
 +-----------------------------------*/

/* Global
=====================================================================*/

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background: #506e84 url(../images/bg.jpg) no-repeat;
}

.clear {
	clear: both;
}

span {
	display: none;
}

/* Divs
=====================================================================*/

#container {
	margin: 0;
	padding: 0;
	width: 940px;
}

#header {
	margin: 0 0 0 235px;
	padding: 0;
	position: relative;
}

#wrapper {
	margin: 0;
	padding: 0;
	width: 100%;
	float: left;
	display: inline;
}

#content {
	margin: 105px 130px;
	padding: 0 0 0 60px;
}

#sidebar {
	float:left;
	width:150px;
	margin-top: 126px;
	margin-left:-150px;
	display: inline;

}

#nav {
	float: left;
	width: 165px;
	margin-top: 180px;
	margin-left: -940px;
	display: inline;
}

#box {
	width: 624px;
	height: 545px;
}

#flash {
	width: 620px;
	height: 333px;
	margin: 13px 0 0 -20px;
}

#news {
	margin: 0 0 0 16px;
	padding: 0;
}

#text {
	margin: 0 0 5px -6px;
	padding: 0;
}

#footer {
	margin: 10px 0;
	padding: 0;
	text-align: center;
}

/* headers
=====================================================================*/

#header h1 {
	margin: 38px 0 0 0;
	padding: 0;
	width: 230px;
	height: 58px;
	position: absolute;
	background: transparent url(../images/commonwealth_logo.png) no-repeat;
}

#header h2 {
	margin: 83px 0 0 0;
	padding: 0;
	width: 312px;
	height: 13px;
	left: 248px;
	position: absolute;
	background: transparent url(../images/header_tagline.gif) no-repeat;
}

#sidebar h3 {
	margin: 0;
	padding: 0;
	width: 47px;
	height: 32px;
	background: transparent url(../images/news.gif) no-repeat;
}

#header h3 {
	margin: 0;
	padding: 0;
	width: 305px;
	height: 23px;
	background: transparent url(../images/newlook.gif) no-repeat;
	position: absolute;
	left: 250px;
}

#footer h1 {
	margin: 0 0 0 20px;
	padding: 0;
	width: 583px;
	height: 60px;
	background: transparent url(../images/footer.gif) no-repeat;
}

#pixels {
	position: relative;
	margin: -24px 0;
	padding: 0;
	left: 620px;
	width: 58px;
	height: 13px;
}

#pixels h2 a img {
	margin: 0;
	padding: 0;
	width: 58px;
	height: 13px;
	border: none;
}

/* nav
=====================================================================*/

#nav_main ul li {
	margin: 0;
	padding: 0;
	float: left;
	display: block;
}

#nav_secondary ul li {
	margin: 0;
	padding: 0;
	float: left;
	display: block;
}

#nav_main ul li a,
#nav_secondary ul li a {
	width: 162px;
	height: 23px;
	display: block;
}

#nav_main ul li#nav_casestudies a {
	background: transparent url(../images/nav_casestudies.gif) no-repeat;
}

#nav_main ul li#nav_contact a {
	background: transparent url(../images/nav_contact.gif) no-repeat;
}

#nav_main ul li#nav_firm a {
	background: transparent url(../images/nav_firm.gif) no-repeat;
}

#nav_secondary ul li#nav_ftpaccess a {
	margin: 23px 0 0 0;
	background: transparent url(../images/nav_ftpaccess.gif) no-repeat;
}

#nav_main ul li#nav_news a {
	background: transparent url(../images/nav_news.gif) no-repeat;
}

#nav_main ul li#nav_portfolio a {
	background: transparent url(../images/nav_portfolio.gif) no-repeat;
}

#nav_main ul li#nav_services a {
	background: transparent url(../images/nav_services.gif) no-repeat;
}

#nav_secondary ul li#nav_sustainable a {
	background: transparent url(../images/nav_sustainable.png) no-repeat;
}

#nav_secondary ul li#nav_adaptivereuse a {
	margin: 23px 0 0 0;
	background: transparent url(../images/nav_adaptivereuse.gif) no-repeat;
}

#nav_secondary ul li#nav_adaptivereuse a:hover,
#nav_main ul li#nav_casestudies a:hover,
#nav_main ul li#nav_contact a:hover,
#nav_main ul li#nav_firm a:hover,
#nav_secondary ul li#nav_ftpaccess a:hover,
#nav_main ul li#nav_news a:hover,
#nav_main ul li#nav_portfolio a:hover,
#nav_main ul li#nav_services a:hover,
#nav_secondary ul li#nav_sustainable a:hover {
	background-position: 0 -23px;
}

/* typography
=====================================================================*/

p {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: small;
	color: #fff;
}

p.news_item {
	font-size: x-small;
	line-height: 13px;
	color: #dbe3e8;
	margin: 8px 0 0 6px;
}

p.news_item a {
	color: #6cc0ff;
	font-size: x-small;
	display:inline-block;
}

/*
p.news_item a {
	color: #6cc0ff;
	font-size: x-small;
	display:inline-block;
	padding-left:16px;
	background:transparent url(/images/newsitem.gif) top left no-repeat;
}
*/

p.news_item a:hover {
	text-decoration: none;
}


/* insane box
=====================================================================*/
/* Basic styling, used when JavaScript is unsupported */
.cbb {
	margin:1em 0;
	padding:0 10px;
	border:1px solid #666;
}
.cbb h1 {
	margin:0 -10px;
	padding:0.3em 10px;
	font:bold 1.2em/1 Arial, Helvetica, sans-serif;
}
/* Normal styling */
.cb {margin:0.5em 0;}
	/* Top corners and border */
.bt {
	height:6px;
	margin:0 0 0 22px;
	background:url(../images/box.gif) no-repeat 100% 0;
}
.bt div {
	position:relative;
	left:-22px;
	width:22px;
	height:6px;
	background:url(../images/box.gif) no-repeat 0 0;
	font-size:0;
	line-height:0;
}

	/* Bottom corners and border */
.bb {
	height:12px;
	margin:0 0 0 24px;
	background:url(../images/box.gif) no-repeat 100% 100%;
}
.bb div {
	position:relative;
	left:-24px;
	width:24px;
	height:12px;
	background:url(../images/box.gif) no-repeat 0 100%;
	font-size:0;
	line-height:0;
}

	/* Left border */
.i1 {
	padding:0 0 0 12px;
	background:url(../images/box.gif) repeat-y 0 0;
}
	/* Right border */
.i2 {
	padding:0 12px 0 0;
	background:url(../images/box.gif) repeat-y 100% 0;
}
	/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
.i3 {
	display:block;
	margin:0;
	padding:1px 10px;
}
	/* Make the content wrapper auto clearing so it will contain floats (see http://positioniseverything.net/easyclearing.html). */
.i3:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}
.i3 {display:inline-block;}
.i3 {display:block;}
/* Default CSS ends here */