/* LAYOUT
based on template 1 */


/* for 100% height - also set the containing div to 100% height*/
html,body {
		height: 100%;
		background: #2938d3 url(images/bg.jpg) no-repeat scroll center top;
		/* position:relative;  -- Can't set body and html to relative -- don't make no sense */
}

#wrapper {
	position: relative;
	clear: both;
	min-height: 600px; /*Mozilla - CSS2*/
	height: 600px;
	width: 860px;
	padding-bottom: 0px;
	margin: 0 auto;

}
div[id=wrapper]#wrapper { height: auto;}/*For IE to set auto height*/
#header {
	width: 297px;
	height: 479px;
	padding: 0;
	z-index:0;
	margin:0;
	float: right;
	position: absolute;
    top:0px;
    left:0px;
}
#nav {
	width: 563px;
	height: 111px;
	padding:0px;
	color:#000;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 297px;
	position: relative;
	z-index: 0;
}

#sidebar {
	width: 297px;
	padding:0;
	margin:0;
	position: relative;
	float:left;
    left:0px;
	top: 360px;
    background:#2c9eda url(images/sidebar.gif) no-repeat scroll bottom left;
}

div[id=main]#sidebar { height: auto;}/*For IE to set auto height*/
#main {
	min-height: 400px;
	width: 551px;
	display:inline;
    margin:0 0 0 0;
	padding: 0px 6px;
	float: right;
	background:#EBF0F4 url(images/contentBg.jpg) repeat-y scroll top left;
	position: relative;
	height: auto;
}
div[id=main]#main { height: auto;}/*For IE to set auto height*/
#footer {
	clear: both;
	width: 563px;
	height: 40px;
	font: normal 10px/16px Arial, Helvetica, sans-serif;
	color: #000;
	text-align: center;
	margin: 0 0 0 297px;
	padding: 6px 0;
	background: transparent url(images/footer.gif) no-repeat scroll left top;
	border-top: 1px dashed #BFC5DA;

}

.cleaner {
		clear:both;
		height:1px;
		margin: -1px 0 0 0;
		padding:0;
		border:none;
		visibility: hidden;
		font: 1px/1px serif;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
