/* 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 {
		background-color: #02020A;
		margin:0 0 0 0;
		background-attachment: scroll;
		background-image:  url(images/bgRepeatingHoriz.jpg);
		background-repeat: repeat-x;
		background-position: left top;
}
#outerWrapper {
		margin: 0 auto 0 auto;
		min-height: 100%;
		background:  url(images/bgRepeatingVert.gif) repeat-y scroll center top;
}
* html #outerWrapper2 { height:100% }
#outerWrapper {
		margin: 0 auto 0 auto;
		min-height: 100%;
		height: 100%;
		background-image:url(images/bg.jpg); 
		background-repeat:no-repeat; 
		background-position: center top; 
		background-attachment: scroll;
}
* html #outerWrapper { height:100% }
#wrapper {
		position: relative;
		clear: both;
		min-height: 600px; /*Mozilla - CSS2*/
		height: 600px;
		width: 820px;
		margin:0 auto 0 auto;
		padding-bottom: 0px;
}
div[id=wrapper]#wrapper { height: auto;}/*For IE to set auto height*/
#header {
		float: left;
		width: 800px;
		height: 200px;
		margin:0 0 0px 0;
		padding:0px;
		color:#000;
		background: url(images/logo.jpg) no-repeat scroll center top;
}
#nav {
		width: 770px;
		height: 30px;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		z-index:3;
}

#sidebar {
		float: left;
		width: 225px;
		padding: 0 0 0 0;
		margin: 10px 0 0 0px;
		display:inline;
}
div[id=main]#sidebar { height: auto;}/*For IE to set auto height*/
#main {
		float:left;
		min-height: 400px;
		height: auto;
		width: 566px;
		padding: 0px;
		margin: 10px 0px 0px 15px;
		display:inline;
		background-attachment: scroll;
		background-image: url(images/bgContent.gif);
		background-repeat: no-repeat;
}
div[id=main]#main { height: auto;}/*For IE to set auto height*/

#roundedContent {
		background-color: #212b33;
		padding: 15px 15px 50px 15px;
		margin: 0;
		width: auto;
		height: auto;
        border: 0px solid #afc1cb;
        border: 1px solid #afc1cb;
		/*min-height: 500px; 
		height: 500px;*/
}
#footer {
		clear: both;
		width: auto;
		height: 20px;
		padding: 10px 25px 5px 5px;
		margin: 0px auto 0px auto;
		font: normal 10px/13px Arial, Helvetica, sans-serif;
		color: #D1A75D;
		text-align: right;

}
#modulesOuter {
		background-color: #212b33;
		width: auto;
		padding: 0px;
		margin: 20px 0 0 0;
		border: 0px solid #afc1cb;
		border: 1px solid #afc1cb;
	    opacity: .67;
}
#modulesInner {
		width: auto;
		padding: 0;
		margin: 0;
		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 */
