/* 
Design by Merlin Mah
Copyright 2008-2011
*/


/* background and general shape */
body{
	margin:0 auto;
	color:#000000;
	background:#FFFFFF; 
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
}

/* clear: div for making sure containers keep containing */
.clear{ 
	clear:both;
}

/* for all areas of site */
a img{
	border:none;
	text-decoration:none;
}

/* background div, in case we ever have a whole-page background pattern */
#bg{
/*	background:#FFFFFF center url('i/bg_sand.png') repeat-y; */
	margin:0 auto;
}

/* a multi-use heading level for custom styling */
#bg h5{
	display:inline;
}

/* main: the site's "torso", containing the content area(s) */
#main{
	width:866px;
	min-height:100%;
	overflow:hidden;
	clear:both;
	background:#FFFFFF center url('i/bg_wide.png') repeat-y; 
	margin:0 auto;
	padding:0 auto;
	font-size:1.1em;
}


/* #head: contains logo image */
#head{
	height:180px;
	width:866px;
	margin:0 auto;
	background:url('i/top.png') top center no-repeat; 
	clear:both;
	
}

#head h1.title {
	margin:0;
	font-size:2.3em;
	font-family: Calibri, Optima, Arial, Helvetica, sans-serif;
	color:#000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 20px;
/*	position: relative; 
	top:260px; 
	left: 10px; */
}

#head h1.subtitle {
	font-variant:small-caps;
	letter-spacing:1px;
	font-size:1.0em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #CCCCCC;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
}

/* set link styles for content area */
a:link{
	text-decoration:none;
/*	border-bottom: #63aafe 1px solid; */
	color:#63aafe;
}
a:visited{
	text-decoration:none;
/*	border-bottom: #6699cc 1px dotted; */
	color:#6699cc;
}
a:hover{
	border-bottom: #fe8d07 1px solid;
	color: #fe8d07;
}
a:active{
	text-decoration:none;
	border-bottom: #fe8d07 1px solid; 
	color:#fe8d07;
}

blockquote {
	margin-left:35px;
	margin-bottom:15px;
}


/* #content: holds body material of page, either single or separated into two columns */
#content{
	margin-left: 10px;
	margin-bottom: 15px;
	margin-right: 10px;
	margin-top: 5px;
	width:auto;
	height:inherit;
	min-height:300px;
	padding:10px 10px 10px 10px;
	line-height:1.4em;
	text-align:left;
	overflow:hidden;
}

/* list, paragraph, strikethrough, and highlighting styles for #content */
#content ul{
	padding:0px 0px 0px 20px;
}

#content li{
	padding:0px 0px 6px 0px;
}

#content p{
	display:block;
	margin:0px 0px 10px 0px;
	
}

#content str{
	text-decoration:line-through;
	color:#AAAAAA;
}

#content red{
	color:#FF0000;
}

/* title styles for #content */
#content h1.title {
	margin:0;
	font-size:2.3em;
	font-family: Calibri, Optima, Arial, Helvetica, sans-serif;
	color:#000000;
	padding:0 auto;
}

#content h1.subtitle {
	margin:0;
	font-size:1.1em;
	font-family: Arial, Helvetica, sans-serif;
	font-variant:small-caps;
	color:#666666;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 12px;
	padding-left: 12px;
}

#content h2{
	color:#fe8d07;
	margin:0px 0px 0px 0px;
	font-size:1.4em;
	font-family: Arial, Helvetica, sans-serif;
	padding: 6px 10px 0px 0px;
	display:inline;
}

#content h2.title{
	font-size:1.3em;
	color:#fe8d07;
	margin:0 auto;
/*	background: url('i/content_h2.png') top left no-repeat; */
	padding: 6px 10px 6px 0px;
	display:inline;
}

#content h2.heading{
	font-size:1.3em;
	color:#000000;
	margin:10px 0px 4px 0px;
	padding: 10px 0px 0px 0px;
}

#content h3{
	margin:0 auto;
	font-size:1.1em;
	display:inline;
	font-family: Arial, Helvetica, sans-serif;
	color:#fe8d07;
	padding:10px 10px 0px 10px;
	text-decoration:none;
}

#content h3.inline{
	display:inline;
	padding:0px;
}

#content h4{
	color:#666666;
	font-size:1.0em;
	margin:0px 6px 0px 0px;
	display:inline;
}

#content h4.blue{
	color:#63aafe;
	font-size:1.0em;
	margin:0px 6px 0px 10px;
	display:inline;
}


/* content.container: div for assembling and containing contentboxes inside */ 
#content div.container{
	padding: 0px 0px 10px 0px;
	margin: 5px 5px 25px 10px;
	width:inherit;
	line-height:1.4em;
	text-align:left;
	float:left;
	display:box;
	box-orient:horizontal;
}

/* content.emphcontainer: more noticeably colored container to emphasize content*/ 
#content div.emphcontainer{
	padding: 5px 5px 10px 5px;
	margin: 5px 5px 25px 10px;
	width:auto;
	line-height:1.4em;
	text-align:left;
	float:left;
	border:#fe8d07 1px solid;
}



/* content.boxtitle: subdiv for titling a section, with underline, within #content; use before #content.L/Rbox */ 
#content div.boxtitle{
	min-width:500px;
	max-width:800px;
	margin: 5px 5px 5px 5px;
	padding:0px 0px 0px 0px;
	line-height:1.4em;
	text-align:left;
	overflow:hidden;
	display:block;
	border-bottom:#fe8d07 1px solid;
}

                                                                  
/* content.Lbox, content.Rbox: side-by-side subdivs in #content */
#content div.Lbox{
	max-width:200px;
	margin: 5px 0px 5px 0px;
	padding:0px 0px 0px 0px;
	line-height:1.4em;
	text-align:left;
	display:block;
	float:left;
}

#content div.Rbox{
	width:auto;
	max-width:550px;
	margin: 0px 0px 5px 15px;
	padding:0px 0px 0px 0px;
	border:thick red;
	line-height:1.4em;
	text-align:left;
	float:left;
}

/* content.Fbox: full-width subdividver box in #content  */
#content div.Fbox{
	margin-left: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
	margin-top: 5px;
	width:auto;
	min-width:500px;
	padding:0px 0px 0px 0px;
	line-height:1.4em;
	text-align:left;
	float:left;
}

/* content.box: full-width-capable sub-divider box (although not sure if it works) in #content */
#content div.box{
	margin:5px 5px 5px 5px;
	min-width:40%;
	max-width:96%;
	float:left;
	padding:0;
	/*border:#FFCC00 1px solid; */
}

/* content.squarebox: small button box meant for tiling  */
#content div.buttonbox{
	margin: 5px 5px 5px 5px;
	padding: 2px 2px 2px 2px;
	width:90px;
	min-height:100px;
	float:right;
	border:#63aafe 1px solid;
	overflow:hidden;
	text-align:center;
}


                           
                                                                              
/* left-hand main column */
/* meant to inherit all styles from content; invoke when using the rightbar */
#leftbar{
	width:590px;
	float:left;
	height:inherit;
/*	margin: 10px 0px 10px 10px;
	padding:10px 10px 10px 10px; */
	text-align:left;
	overflow:hidden;
}

/* leftbar.container: narrower variant of content.container for sidebar pages */ 
#leftbar div.container{
	position: relative;
	margin-left: 0px;
	margin-bottom: 15px;
	margin-right: 0px;
	margin-top: 5px;
	width:inherit;
	padding:0px 0px 0px 0px;
	line-height:1.4em;
	text-align:left;
	float:left;
}


/* right-hand sidebar */
/* has its own styles; invoke along with the leftbar */
#leftbar div.boxtitle{
	float: none;
	width: 580px;
	margin: 5px 5px 5px 5px;
	padding:0px 0px 0px 0px;
	line-height:1.4em;
	text-align:left;
	overflow:hidden;
	display:block;
	border-bottom:#fe8d07 1px solid;
}

#leftbar div.box{
	display: block;
	margin: 5px 5px 5px 5px;
	width: 580px;
	padding:0 auto;
	float: none;
	/*border:#FFCC00 1px solid; */
}


#rightbar{
	width:200px;
	float:right;
	min-height:300px;
	margin:30px 0px 10px 10px; 
	padding:0px 0px 30px 10px; 
	text-align:left;
	overflow:hidden;
	border-left:#fe8d07 3px solid;
}

/* lists for the #rightbar */
#rightbar ul{
	margin:0px 0px 0px 0px;
	padding:0 auto;
	list-style:none;
}

#rightbar li{
	padding: 0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}

#rightbar h1 {
	#font-variant:small-caps;
	font-size:1.1em;
	font-family: Arial, Helvetica, sans-serif;
	color: #fe8d07;
	margin:0 auto;
	padding:14px 0px 0px 0px;
}

#rightbar h2{
	color:#000000;
	font-size:1.1em;
	font-family: Arial, Helvetica, sans-serif;
	padding: 3px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}

#rightbar h3{
	font-size:1.0em;
	font-family: Arial, Helvetica, sans-serif;
	color:#fe8d07;
	font-style:normal;
	padding:0 auto;
	margin:0 auto;
	text-decoration:none;
	display:inline;
}

#rightbar h3.heading{
	margin:0;
	font-size:1.1em;
	font-family: Arial, Helvetica, sans-serif;
	color:#666666;
	text-decoration:none;
	display:inline;
}


/* #menu: top navigation menu */
#menu{
	width:858px;
	height:25px;
	margin: 0px 0px 0px 4px;
	border-top:none;
	border-bottom: #63aafe 3px solid;
	padding:150px 0px 0px 0px;
	text-align:center;
	overflow:hidden;
	font-size:1.1em;
}

#menu ul {
	margin: 0 auto;
	padding: 4px 0px 4px 0px;
	list-style: none;
	text-align: center;
	overflow:hidden;
}

#menu li {
	padding: 0px 0px 0px 0px;
	/* notice display and float settings, necessary for horizontal */
	overflow:hidden;
	display:inline;
	float:left;
}

/* set link style for menu; notice display and float settings, necessary for horizontal */
a.menu:link,a.menu:visited{
	color:#fe8d07;
	border:none;
	display:block;
	width:135px;
	height:18px;
	overflow:hidden;
	float:left;
}
a.menu:hover,a.menu:active{
	color:#63aafe;
	border:none;
	display:block;
	width:135px;
	height:18px;
	overflow:hidden;
	float:left;
}

#menu h2{
	font-size:1.3em;
	margin:0px 0 0 0;
	/*background: url('i/content_h2.png') top left no-repeat; */
	font-family: Calibri, Optima, Arial, Helvetica, sans-serif;
	padding: 0px 0 0 0;
	text-align:center;
	overflow:hidden;
}

#menu h2.home{
	margin:0px 0 0px 17px;
	top:0px;
	left:0px;
	position:relative;
	/*background: url('i/topText.png') top left no-repeat; */
	font-family: Calibri, Optima, Arial, Helvetica, sans-serif;
	padding: 0px 0px 5px 0px;
	overflow:hidden;
}


/* the footer's background */
#bgfooter{
	width:866px;
	height:75px;
	margin:0 auto;
	background:url('i/bg_footer_watermark.png') top center no-repeat;
}

/* footer */
#footer{
	clear:both;
	width:866px;
	overflow:hidden; 
	margin: 0 auto;
	padding:0 auto;
	text-align:center;
	color: #666666;
	font-size:1.0em;
}

/* set link styles for footer area */
a.footer:link,a.footer:active{
	text-decoration:none;
	border-bottom: #666666 1px dotted; 
	color:#666666;
}
a.footer:visited{
	text-decoration:none;
	border-bottom: #666666 1px dotted; 
	color:#666666;
}
a.footer:hover{
	text-decoration: underline;
	color: #fe8d07;
	border-bottom:none;
}




