/*================================================================
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(pages/calendar.css);
@import url(pages/portfolio.css);
@import url(pages/about.css);

/* @import url(pages/forum.css); */

@import url(nav/nav_horiz.css);

@media handheld {
  * { background-image: none !important; }
}

/* BODY 
----------------------------------------------------------------*/

body {
	background: #d1cdc4 url(/images/back_body.png) repeat-x center top;
	margin: 0 auto;
	text-align: center;
}
/* WRAPPER
----------------------------------------------------------------*/
#wrapper {
	background: transparent url(/images/back_wrapper.png) no-repeat center top;
	width: 970px;
	margin: 0 auto;
	text-align: center;
	clear: both;
}
/* HEADER
----------------------------------------------------------------*/
#header {
	text-align: left;
	width: 100%;
}
#branding {
	background: transparent url(/images/back_header.jpg) no-repeat bottom center;
	height: 193px;
	text-indent: -9000px;
	clear: both;
}
#nav {
	background: transparent url(/images/back_menu.png) no-repeat top center;
	clear: both;
	width: 100%;
	height: 32px;
}

/* CONTENT
----------------------------------------------------------------*/
#content {
	background: transparent url(/images/back_content.jpg) repeat-y top center;
	text-align: left;
	width: 970px;
	/* height: auto!important;
	height: 500px;
	min-height: 500px; */
	
}

/* MAIN
----------------------------------------------------------------*/
#main {
  margin: 20px 10px 0 50px;
  padding: 0 0 4em 0;
  text-align: left;
  width: 645px;
  float: left;
  display: inline;
}
.portfolio #main,
.default #main {
  margin: 0 15px 0 35px;
  width: 655px
}
.portfolio #main {
  margin: 20px 0 0 50px;
}
/* SECONDARY CONTENT
----------------------------------------------------------------*/
#secondary {
  background: transparent url(/images/back_sidebar.jpg) repeat-y top left;
  float: left; /* Creates a left sidebar */
  margin: 1em 0 .5em 0;
  display: inline;
  width: 250px;
}


#crew {
  background: transparent url(/images/back_sidebar.jpg) repeat-y top left;
  float: left; /* Creates a left sidebar */
  margin: 1em 0 .5em 0;
  display: inline;
  height: 400px;
}


/* FOOTER
----------------------------------------------------------------*/
#overflow {
	background: transparent url(/images/back_overflow.jpg) no-repeat center top;
	width: 100%; 
	height: auto!important;
	height: 300px;
	min-height: 300px;
	margin-top: -10px;
}
#overflow div{
	width: 300px;
	float: left;
	margin-top: 40px;
}
#overflow div.first {
	margin-left: 22px;
}
#foot {
	width: 950px; 
	background: #2e0604;
	margin: 0 auto;
	float: none;
	text-align: center;
	clear: both;
	padding-bottom: 5px;
}
#foot ul#footer { 
	margin: 1px auto;
	padding: 3em 0 1em;
	height: 50px;
	width: 700px;
	}
#foot p{
	clear: both;
	color:#ffc;
	line-height: 25px;
}
#foot a{
	color:#ffc;
	text-decoration: none;
}