﻿/* ------------------------------
PAGE STRUCTURE
------------------------------ */

#container{width:980px; margin:0 auto; min-height:300px;}

#topbar{width:960px; display:block; min-height:50px; margin:0 0 auto 10px;} /*10px left margin fixes IE*/
#navbar{width:960px; display:block; height:41px; margin:0 0 auto 10px;} /*10px left margin fixes IE*/
#main{width:960px; display:block; margin:0 0 auto 10px;} /*10px left margin fixes IE*/
#footer{width:960px; display:block; height:24px; margin:0 0 0 10px;} /*10px left margin fixes IE*/

/* ------------------------------
PAGE ELEMENTS BODY
------------------------------ */

body  {
	font: 100% Arial;
	background: #666666;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}

/* ------------------------------
PAGE ELEMENTS #CONTAINER
------------------------------ */

#container { 
	background-image:url('../images/container.gif');
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */} 

/* ------------------------------
PAGE ELEMENTS #TOPBAR
------------------------------ */

#topbar { 
	background: #3366CC; 
	text-align: center;
	padding: 10px 0 10px 0;
} 
#topbar h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
}

/* ------------------------------
PAGE ELEMENTS #NAVBAR
------------------------------ */

#navbar {background: #808080; padding:1px 0 1px 0;}

/* ------------------------------
PAGE ELEMENTS #MAIN
------------------------------ */

#main {background: #FFFFFF;}
#content {text-align:left; padding:0 20px 0 20px;}

/* ------------------------------
PAGE ELEMENTS #FOOTER
------------------------------ */

#footer { 
	background:#3366CC;
	text-align:center;
} 

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
}

/* ------------------------------
PAGE ELEMENTS INDEX PAGE
------------------------------ */

#indexcontainer { 
	width:980px; margin:0 auto; min-height:300px;
	
	background-image:url('../images/container3.gif');
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

#indexmain {
	width:960px; display:block; margin:0 0 auto 10px;  /*10px left margin fixes IE*/
	
	/*background: #FFFFFF;*/
}

#indexcontent {text-align:left; padding:0 15px 0 15px;}

#indexnews {text-align:center; padding:0 15px 0 18px; background-color:#99CCFF}


