/************************************************/
/* Optimal AEC web site default CSS document 
/* Prepared by Optimal AEC, Octover 2008 
/* optimalaec-default.css  
/************************************************/

/************************************************/
/* HTML Tag Styles                              */
/************************************************/

body{
	background-color:#A5A5A5;
	font-family: Verdana,Arial,sans-serif;
	color: #333333;
	font-size: 10px;
	margin: 0px;
	padding: 0px;
}

/**** Link Styles *******************************/

a:link, a:visited{
	color: #506CB5;
 	text-decoration: none;
	font-weight: bold;
}

a:hover{
	color: #801719;
	text-decoration: underline;
	font-weight: bold;
}

/**** Image Styles ******************************/

img{

}


/************************************************/
/* DIV Styles                                   */
/************************************************/


#container{
	background-color:#FFFFFF;
	position: relative;
	width: 742px;
	margin: auto;
	text-align: left;
	top: 40px;
	border: solid #000000 2px;
}

/**** Header and Footer Styles ******************/

#header{
	clear: left;
	height: 100px;
	background-color: #000000;
}

#header h1{
	color: #506CB5;
	line-height: 100px;
	margin: 0px;
	padding-left: 10px;
	font-size: 300%;
}

#header a:link, a:hover, a:visited{
	text-decoration: none;
	border: 0 none;
}

#header  img{
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 2px;
	margin-bottom: 0px;
	border: 0;
}

#prod-head img{
	position: absolute;
	margin-top: -2px;
	margin-right: 0px;
	margin-left: 0px;
	float: right;
	clear:both;
}

#prod-foot{
	position:relative;
	clear:both;
	bottom:0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-left: 0px;
}

#footer{
	position:relative;
	clear:both;
	bottom:0px;
	height: 45px;
	background-color: #000000;
	margin-top:-10px;
	width:100%;
}

#footer p{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	text-align: center;
	color: #999999;
	padding-top: 5px;
}

/**** Navigation Menu Styles ********************/

#nav{
	float: left;
	width: 185px; /*220*/
	position:relative;
	left:0px;
	top:65px;
	margin-bottom:50px;
	background-color:#FFFFFF;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	font-size: 110%;
}

#nav h1{
	padding-left: 10px;
	margin-left: 0px;
	margin-bottom: 3px;
	background-color: #820024;
	border-top:1px solid;
	border-bottom:1px solid;
	border-color:#000000;
	margin-top: 0px;
	margin-right: 0px;
	font-size: 140%;
	color:#FFFFFF;
}

#nav p{
	font-family: Arial, Helvetica, sans-serif;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	line-height: 100%;
}

#nav a:link, #nav a:visited{
	color: #506CB5;
	text-decoration: none;
	font-weight: bold;
}

#nav a:hover{
	color: #801719;
}

#nav img{
	margin-left: -8px;
}

.subnav{
	font-size: 90%;
	padding-left: 13px;
}

/**** Secondary Navigation **********************/

#nav-2{
	position: relative;
	float:left;
	clear:left;
	width: 185px;  /*220*/
	top: 50px;
	margin-bottom: 20px;
	font-size: 100%;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

#nav-2 h1{
	padding-left: 10px;
	margin-left: 0px;
	margin-bottom: 3px;
	background-color: #DE791C;
	margin-top: 0px;
	margin-right: 0px;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	font-size: 140%;
	color: #FFFFFF;
}

#nav-2 p{
	font-family: Arial, Helvetica, sans-serif;
	margin-left: 20px;
	margin-right: 10px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 0px;
}

#nav-2 a, #nav-2 a:visited{
	color: #717073;
}

#nav-2 a:hover{
	color: #801719;
}

#nav-2 img{
	margin-left: -10px;
}


/**** News Items ********************************/

#news{
/* This is the news items section in the left margin */
	float: left;
	clear: left;
	position: relative;
	left:0px;
	top: 50px;
	width: 185px;  /*220*/
	margin-bottom: 80px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #FFFFFF;

}

#news h1, #news h2, #news h3{
	padding-left: 10px;
	margin-left: 0px;
	margin-bottom: 3px;
}

#news h1{
/* This is the news header */
	background-color: #000000;
	margin-top: 3px;
	margin-right: 0px;
	border-top: 1px solid #000000;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	font-size: 140%;
	color: #FFFFFF;
}

#news h2{
/* This is the headline */
	margin-right: 8px;
	margin-top: 10px;
	font-size: 120%;
	color: #333333;

}

#news h3{
/* This is the date */
	margin-right: 8px;
	margin-top: 3px;
	font-size: 105%;
	color: #333333;
	font-weight: normal;
	font-style: italic;
}

#news p{
/* This is the article summary */
	background-color: #FFFFFF;
	font-size: 90%;
	line-height: 15px;
	padding-left: 10px;
	margin-left: 0px;
	margin-right: 8px;
	margin-top: 3px;
	margin-bottom: 3px;
}

.newslink{
/* for the 'more...' link to the actual article */
	text-align: right;
}

.newsfrontheader{
	text-align:left;
	margin:0px;
}

#newsarchive{
	text-align: right;
	text-decoration: none;
	font-size: 75%;
	margin-top: -18px;
}

#newsarchive a, #newsarchive a:visited{
	color: #E8E8E8;
	font-weight: normal;
	text-decoration: none;
}

#newsarchive a:hover{
	color: #801719;
}

#newsarticlelist{
	position:relative;
	float:right;
	clear:right;
	top:50px;
	left:-10px;
	width: 490px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 50px;
	background-color: #FFFFFF;
}

#newsarticlelist h1, #newsarticlelist h2, #newsarticlelist h3, #newsarticlelist p{
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}

#newsarticlelist h1{
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 10px;
	font-size: 165%;
}

#newsarticlelist h2{
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 1px;
	font-size: 110%;
}

#newsarticlelist h3{
	font-weight: normal;
	margin-top: 2px;
	margin-bottom: 1px;
	font-size: 100%;
	font-style: italic; 
}

#newsarticlelist p{
	font-weight: normal;
	margin-top: 2px;
	margin-bottom: 1px;
	font-size: 100%;
}

/**** Content Styles ****************************/

#content{
	position:relative;
	float:right;
	clear:right;
	top:50px;
	left:-10px;
	width: 525px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 70px;
	background-color: #FFFFFF;

}

/**** Heading Styles ****************************/

#content h1, #content h2, #content h3, #content h4, #content h5{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #333333;
	margin-top: 15px;
}

#content h1{
	font-size: 175%;
	margin-bottom: 10px;
}

#content h2{
	font-size: 140%;
	margin-bottom: -4px;
}

#content h3{
	font-size: 120%;
	margin-bottom: -7px;
}

#content h4{
	font-size: 110%;
	font-style:italic;
	margin-bottom: -8px;
	margin-top: -10px;
}

#content h5{
	font-size: 100%;
	margin-bottom: -8px;
}


#content p{
	margin-top: 15px;
	margin-bottom: 0px;
}

#content img{
	border: 0;
}

#imagebox-r{
	float: right;
	margin-top:20px;
	margin-left: 10px;
}

#imagebox-l{
	float: left;
	margin-top:20px;
	margin-right: 10px;
}

#imagebox-inline{
	float: left;
	clear:both;
	margin-top: 5px;
	margin-bottom: 10px;
}

#imagebox-b{
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
}

#quotebox{
	float: right;
	width: 150px;
	background-color: #E8E8E8;
	border-style: solid;
	border-width: 1px;
	padding-left: 5px;
}

#quotebox p{
	font-style: italic;	
}

#indent{
	position: relative;
	left: 30px;
	width: 460px;
}
	
.caption{
	position: relative;
	top: -10px;
	font-size: 85%;
	color: #333333;
	text-align: center;
}

.address{
	position: relative;
	top: -10px;
}

.noborder{
	border:0px;
}

#innertable{
	border:1px solid;
	width:95%;
	background-color:#CCCCCC;
	padding-left:1px;
}

#innertable h1{
	margin-top:5px;
	margin-bottom:2px;
	font-size:130%;
	text-align:left;
}

