/*  
JPHarvey Engineering Solutions
Site Design and Layout by Adrienne Vaughn
*/

/* Universal CSS */

*{
  padding: 0px;
  margin: 0px;
}

/* Universal Classes */

body {
	background-color: #AA9E74;
	background-image: url(layout/bgpatt-grunge.jpg);
	background-repeat: repeat;
}

a {
	color: #807757;
	font-weight: bold;
	text-decoration: none;
}

a:hover, a:active {
	color: #6699FF;
	font-weight: bold;
	text-decoration: none;
}

.imgpad {
	padding-right: .3em;
	margin: 0 1em 0 0;
	}
	
/* jQuery */
	
#quotes div { 
	width: 300px; 
	height: 100px; 
	overflow:hiddin;
	} 
	
#quotes {
		position: absolute; top: 3em; right: 2em; 
	}

/* Layout */

#wrap {
       width: 790px;
       margin: 0 auto;
       padding: 0 0px;
       text-align: left;
	   background:#FFFFFF;
	   position: relative;
	   background-image: url(layout/designlayout.gif);
	   background-position: top;
	   background-repeat: no-repeat;
}

#header {
	width: 790px;
	padding-top: 30px;
}


#content {
	width: 770px;
	padding: 10px;
}


#footer {
	clear: both;
	width: 790px;
	padding: 0px;
}

/* Header Classes */

#header img {
	padding-top: 15px;
	padding-left: 10px;
	padding-bottom: 0px;
}



/* Navigation Menu */

#nav {
	z-index: 2000;
	position: absolute;
	}

#nav {
			font: .9em Verdana, Arial, Helvetica, sans-serif;
			background:#714F0F;
			float:left;
			list-style:none;
			margin:0;
			padding:0;
			width:790px;
		}
		
		#nav li {
			float:left;
		}
		
		#nav ul li {
			border:1px solid #FFFF99;
		}
		
		#nav li.alignright {
			float: right;
		}
		
		#nav a {
			color: #CCCC99;
			font-weight:bold;
			line-height:2em;
			padding:0 1em;
			text-decoration:none;
		}
		
		#nav a:hover {
			color:#fff;
		}
		
		#nav b {
			color: #fff;
			cursor: pointer;
		}
		
		#nav li ul {
			background:#333;
			display:none;
			list-style:none;
			margin:0;
			padding:0;
			position:absolute;
		}
		
		#nav ul li {
			float:none;
			white-space:nowrap;
		}


/* Slides */

#slideshow { z-index: 50;}
#slideshow { height: 200px; width: 790px; padding: 0px; clear: both;}
#slideshow .slide { }
#slideshow .overlay { background: url( 'layout/random/overlay.png' ); bottom: 0; color: #fff; display: none; position: absolute; width: 100%;}
#slideshow .overlay div { padding: .5em; }



/* Content Classes */

#content {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	border-top: 3px double  #CCCCFF;
}

#content p img {
	padding: 5px;
}

#content h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 10px;
	padding: 0px 0px;
}

#content h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 4px;
}

#content p {
	margin-top: 0px;
	padding: 0px 15px;
}

#content .smalltxt {
	font-size: .7em;
}

#content ul li {
	margin-left: 20px;
}

#content .sitemap a{
	font-weight: normal;
}

#content .smalllist ul li {
	margin-left: 50px;
	font-size: .8em;
}

/* Footer Classes */

#footer {
	text-align: center;
	font-size: .6em;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	background-color: #714F0F;
}

#footer p {
	color: #fff;
	margin-top: 2px;
	margin-bottom: 2px;
}

#footer a {
	margin-top: 2px;
	margin-bottom: 2px;
	color: #CCCC99;
}

#footer a:hover, a:active {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

/* Extra Classes */

.sbtitle h2 {
	font-size: .9em;
	color: #807757;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 2px;
}

.sbtitle a {
	color: #000000;
	font-size: .8em;
	font-weight: normal;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 16px;
}

.sbtitle a:hover, .sbtitle a:active {
	color: #990000;
	text-decoration: none;
	background: url(layout/bullet.gif) 0 50% no-repeat;
}

.active {
	background: url(layout/bullet.gif) 0 50% no-repeat;
}

.ratextbig {
	text-align: right;
	font-weight:bold;
}

.ratextsm {
	text-align: right;
	font-style:italic;
	font-size: .8em;
}