/*================================================================
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(global/sIFR-screen.css);


@import url(pages/articles.css);
@import url(pages/tabs.css);
@import url(pages/calendar.css);
@import url(pages/contact.css);

@import url(nav/nav_horiz.css);
/* @import url(nav/vert_button.css); */

/* div {border: 1px solid red;} */

/* BODY 
----------------------------------------------------------------*/

body {
	background-color: #000;
	margin: 0 auto;
	text-align: center;
	color: #666;
}
/* WRAPPER
----------------------------------------------------------------*/

#wrapper {
	background: #001429 url(/images/back_inner.jpg) no-repeat center 0;
	text-align: center;
	clear: both;
	width: 100%;
}
body.default #wrapper {
	background: #001429 url(/images/back_body.jpg) no-repeat center 0;
}
/* HEADER
----------------------------------------------------------------*/
#header {
	height: 100px;
}
.default #header {
	height: 137px;
}
#header .media.flash{
	float: right;
	position: relative;
	top: 0;
}
#branding {
	position: absolute;
	z-index: 99;
	top: 0; right: 0;
	height: 155px;
}
#branding h1{
	text-indent: -9000px;
	display: none;
	}
/* CONTENT
----------------------------------------------------------------*/
#content {
	margin: 0 auto;
	text-align: left;
	float: none;
	width: 940px;
	color: #fff;
	height: auto!important;
	height: 500px;
	min-height: 500px;
}

/* MAIN
----------------------------------------------------------------*/
#main {
  text-align: left;
  height: auto!important;
  height: 350px;
  min-height: 350px;
  padding-bottom: 2em;
  width: 880px;
  margin: 0 40px;

}
.default #main {
 display: inline;/*   hack for IE double margin */
  float: left; /* Creates a sidebar */
  width: 400px;
  margin: 0 20px 1em 0;
  text-indent: -9000em;
}
/* SECONDARY CONTENT
----------------------------------------------------------------*/
#secondary {
	margin: 2em 0 0 30px;
}
.default #secondary {
	float: left; /* Creates a sidebar */
	display: inline;
	margin: -30px 0 0 0;
	width: 500px;
	border-width: 0 0 0 0;
}
#secondary div.group {
	float: left;
	width: 300px;
	display: inline;
	overflow: hidden;
}
#secondary div.group.list {
	margin-left: 100px;
	width: 200px;
}
.default #secondary div.group,
.default #secondary div.group.list {
  	width: 250px;
  	border-left: none;
	margin: 0 0 0 0;
}
/* FOOTER
----------------------------------------------------------------*/
#footer {
	background: #000;
	width: 100%; height: 100px;
	text-align: center;
	border-top: double #036;
	margin-top: 2em;
}

#featured  {
	border: 1px solid black;
	 height: 450px; width: 200px; overflow: hidden;
}
.flipable  {
	border: 1px solid red;
	width: 200px;  height: 450px;
	float: left;
}
