/*================================================================
LAYOUT stylesheet for the website.

Define layout and backgrounds for:
  - Body
  - Wrapper
  - Header
  - Sidebar
  - Content
  - Footer
  ( Navigation is defined in nav.css )
  
  ***  NO TYPOGRAPHY STYLES HERE PLEASE  ***
  
================================================================*/
@import url(global/base.css);
@import url(global/style.css);
@import url(global/thickbox.css);


@import url(nav/nav_horiz.css);
/* @import url(nav/vert_button.css); */

/* BODY 
----------------------------------------------------------------*/

body {
	background:#5C9CCA url(/images/back_body.gif) top left repeat-x;
	margin: 0 auto;
	text-align: center;
}
/* WRAPPER
----------------------------------------------------------------*/
#wrapper {
	background:none;
	width: 960px;
	
	margin: 0 auto;
	text-align: center;
	clear: both;
}
/* HEADER
----------------------------------------------------------------*/
#header {
	background: transparent url(/images/back_header.jpg) no-repeat 0 0;
	text-align: left;
	width: 960px;
	position: relative;
}
.spontaneous-evolution #header {
	/* background: #340166; */
}
.biology-of-belief #header {
	/* background: #107089;
	background: none; */
}
#branding {
	background: transparent url(/images/back_branding.png) no-repeat 10px 30px;
	height: 116px;
	text-indent: -9000px;
	clear: both;
}
/*.page.biology-of-belief #branding, 
.page.spontaneous-evolution #branding {
	height: 75px;
	background-position: 10px 15px;
} */

/* CONTENT
----------------------------------------------------------------*/
#banner {
	background: transparent url(/images/back_banner.jpg) no-repeat 0 0;
	height:  410px;
	margin-top: -14px;
	margin-left: 5px;
	position: relative;
}
#content {
	text-align: left;
	width: 960px;
	background:transparent url(/images/back_content.png) 0 0 repeat-y ;
	margin-top: 10px;
	position: relative
}

/* MAIN
----------------------------------------------------------------*/

#main {
  width: 675px;
  margin: 30px 0 0 40px;
  padding: 0 0 50px 0;
  float: left; /* Creates a left sidebar */
  background: #fff;
}
.page.calendar #main ,
.page.articles #main,
.default #main {
  	width: 741px;
	background:#d4ecf9;
	margin: 4px 4px 0;
}
/* SECONDARY CONTENT
----------------------------------------------------------------*/

#secondary {
  float: right; /* Creates a left sidebar */
  width: 207px;
  margin: 0 0 0;
  display: inline;
}
.default #secondary {
		margin-top: 0;
}
/* OVERFLOW CONTENT
----------------------------------------------------------------*/
#overflow {
  margin: 10px 15px;
  clear: both;
}
#overflow .sidebar{
  float: left; /* Creates a left sidebar */
  width: 223px;
  display: inline;
}
#overflow div.first{
  margin: 0 20px 0 10px;
}
#overflow div.last{
  margin: 0 0 0 20px;
}

/* FOOTER
----------------------------------------------------------------*/
#footer {
	background: #192B40;
	border-top:15px solid #d4ecf9;
	padding: 15px 0 5px;
	margin:0;
	width: 755px;
	text-align: center;
	clear: both;
}
#copy {
	width: 100%;
	margin: 0 auto;
}