/* LAYOUT
based on template 1 */


#wrapper, #header, #nav, #sidebar, #main, #footer{
		border:0px solid #000;/*for testing*/
} 
/* for 100% height - also set the containing div to 100% height*/
html,body {
		height: 100%;
} 

.bg {
	margin:0 0 0 0;
	background: #fff url(images/bgRepeating.jpg) repeat-x scroll left top;
}
#outerWrapper {
		margin: 0 auto 0 auto;
		min-height: 100%;
		height: 100%;
}
* html #outerWrapper { height:100% }
#wrapper {
		position: relative;
		clear: both;
		min-height: 600px; /*Mozilla - CSS2*/
		height: auto;
		width: 900px;
		margin:0 auto 0 auto;
		padding-bottom: 0px;
}
div[id=wrapper]#wrapper { height: auto;}/*For IE to set auto height*/  
#header {
		width: 900px;
		height: 350px;
		margin:0 0 0px 0;
		padding:0px;
		color:#000;
}
#nav {
		width: 770px;
		height: 30px;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		z-index:3;
}

#sidebar {
		float: left;
		width: 188px;
		padding: 0 0 0 0;
		margin: 10px 20px 0 155px;
		display:inline;
}
div[id=main]#sidebar { height: auto;}/*For IE to set auto height*/
#main {
		float:left;
		min-height: 400px;
		height: 400px;
		width: 520px;
		padding: 10px 0px 10px 0px;
		margin: 0px 0px 0px 0px;
		display:inline;
}
div[id=main]#main { height: auto;}/*For IE to set auto height*/
#footer {
		clear: both;
		width: 890px;
		height: 20px;
		padding: 10px 5px 5px 5px;
		margin: 0px auto 0px auto;
		font: normal 10px/13px Arial, Helvetica, sans-serif;
		color: #000;
		border-top:1px dotted #666;
		text-align: center;

}

.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 */
