/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */

body {
	margin: 0 auto;
	padding: 0;
	text-align: center;
	background: #FFFFFF url(images/site_bg.jpg) repeat-x;
	font: 11px Verdana, Tahoma, Arial, Helvetica, sans-serif;
	color: #383838;
}

/* Sets the margin and padding to zero */
dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, p, fieldset, address, blockquote, th, td {
	 margin: 0;
	 padding: 0;
	 text-align: left;  /* Not necessary if not using text-align center in body tag for older IE browsers. */
}

/* Removes borders for  images and fieldsets*/
img, fieldset {
	border: 0;
}

/* Styles h1, h2, h3, h4, h5 tags */
h1, h2, h3, h4, h5 {
	color: #910000;
	margin-left: 11px;
	margin-right: 10px;
	}
h1 {
	font-weight: bold;
	font-size: 15px;
	border-bottom: 1px solid #ECECEC;
	color: #000000;
	padding-bottom: 10px;
	text-align: right;
}
h2 {
	font-size: 18px;
}
h3 {
	font-size: 16px;
}
h4 {
	font-size: 14px;
}
h5 {
	font-size: 12px;
	color: #000000;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding-bottom: 5px;
}

/* Sets the line-height for the p, td, and address tags */
p {
	line-height: 16px;
	margin: 10px 10px 5px;
	color: #FFFFFF;
}

td {
	line-height: 18px;
}
address {
	line-height: 14px;
	font-style: normal;
	}
	
/* Creates DIV to set back to top link */
p#back {
	margin: 5px 10px 5px 11px;
	text-align: right;
	font-weight: bold;
	font-size: 10px;
	clear: both;
	border-top: 1px solid #E5E5E5;
}
p#back a {
	text-align: right;
}
	
/* Styles A links */

a:link {
	text-decoration: underline;
	color: #FFFFFF;
	}
a:visited {
	text-decoration: underline;
	color: #FFFFFF;
 }

a:hover {
	text-decoration: none;
	color: #FFFFFF;
	}

a:active, a.selected {
	text-decoration: none;
	color: #910000;
	}


/* ----------------- PAGE LAYOUT ELEMENTS ----------------- */
/* Styles the DIV that serves as the container for the layout. Setting the left and right margins to auto will center DIV. */
div#container {
	width: 770px;
	margin: 0px auto;
	background: #ffffff url(images/layout.gif) repeat-y; /* Faux column bg for page */
}

/* Creates DIV container for the cta. */
div#cta {
	width: 565px;
	margin: 0px auto;
	height: 150px;
	background: url(images/cta.jpg) no-repeat;
	}
	
/* Creates DIV container for sidebar content */ 
div#sidebar {
	width: 205px;
	float: left;
	padding: 0px;
	color: #ffffff;
	background: #A80101;
}
div#sidebar a {
	color: #ffffff;
}
div#sidebar address {
	padding: 5px 0px 10px 15px;
}

/* Creates DIV container for main content */ 
div#content {
	width: 565px;
	float: right;
	padding: 0px 0px 5px 0px;
}
div#content ol, div#content ul {
	line-height: 18px;
	margin-left: 11px;
	margin-bottom: 10px;
	margin-right: 10px;
}
div#content ul li{
	padding-left: 10px;
	background: url(images/bullet.gif) no-repeat;
	list-style: none;
	color: #FFFFFF;
}

/* Creates DIV container for main content on pages that are not DIY */
div#body1 {
	width: 362px;
	float: left;
}
div#body2 {
	width: 200px;
	float: left;
	background:#CCCCCC;
	height: 100px;
	padding-right:2px;
}

/* Styles DIV container for Google map */
div#map {
	border: 1px solid #E5E5E5;
	text-align: center;
	margin: 5px auto 5px;
	width: 538px;
}

/* Styles DIY frames in Plus sites */
iframe#iframe1 {
	margin: -20px 0px 0px -10px;
	overflow: hidden;
}

/* Creates DIV container for footer content*/ 
div#footer {
	font-size: 10px;
	width: 740px;
	margin: 0px auto;
	text-align: left;
	clear: both;
	padding: 0px 15px;
	background: #000000;
	color: #333333;
}
div#footer a {
	color: #E0DFE3;
	padding-right: 2px;
	padding-left: 2px;
}

/* Creates DIV container for sub-navigation */
div#subnav {
	font-size: 10px;
	margin: 0px auto;
	padding: 10px 0px 5px;
}

/* Creates DIV container for copyright statement */
div#copyright {
	font-size: 9px;
	margin: 0px auto;
	padding: 5px 0px 10px;
	color: #666666;
}

/* ----------------- MAIN NAVIGATION ----------------- */

/* Apply the ul#mainnav style to our entire <ul>.*/

/* Sets a background color and width for our navigation box. Removes all default margins and padding. */
ul#mainnav {
	margin: 0px;
	padding: 0px;
	width: 205px;
	background: #C80101;
}

/* Removes the default bullets. */
ul#mainnav li {
	display: inline; /* Redefined here only to remove stray padding. */
	list-style: none;
}

/* Styles our links. Setting the display to block ensures our links will stack back on top of one another as block level elements. The width sets the "hit" area of the links.  */
ul#mainnav li a:link, ul#mainnav li a:visited, ul#mainnav li a:active {
	font-size: 9px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
	display: block;
	width: 185px;
	padding: 6px 5px 9px 15px;
	background: #C80101 url(images/link_bg.jpg) no-repeat;
}

/* Creates our hover status. */
ul#mainnav li a:hover {
	background: #920101 url(images/hover_bg.jpg) repeat-y;
	color: #ffffff;
	width: 185px;
}

/* Creates our current custom class. Be sure to apply .current to each applicable a tag on individual pages. */
ul#mainnav li a.current:link, ul#mainnav a.current:visited {
	background: #7B0000 url(images/current_bg.jpg) repeat-y;
	color: #ffffff;
	width: 185px;
}

/* Create CLASSES to float images and groups of images in SPAN tags */

/* start hack to hide DIV styles from Internet Explorer */
html>body div#rtfloat {
	float: right;
	margin: 0px 10px 10px;
}
html>body div#lftfloat {
	float: left;
	margin: 0px 2px 0px 10px;
}
/* end hack to hide styles from Internet Explorer */

div#rtfloat {
	float: right;
	margin: 0px 10px 10px 5px;
	color: #FFFFFF;
}
div#rtfloat img {
	margin: 0px;
	padding-top: 10px;
	padding-left: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
}
div#tablecontent {
	width: 330px;
	float: left;
	padding: 0px 0px 0px 10px;
	margin: 0px;
	vertical-align: top;
}

div#lftfloat {
	float: left;
	margin: 0px 2px 10px 10px;
}
div#lftfloat img {
	margin: 0px 0px 1px;
}
img.rt {
	float: right;
	margin: 10px 15px 10px 10px;
}
img.rtborder {
	border: 1px solid #E5E5E5;
	float: right;
	margin: 10px 15px 10px 10px;
}
img.lft {
	float: left;
	margin: 10px 10px 10px 15px;
}
img.lftborder {
	border: 1px solid #E5E5E5;
	float: left;
	margin: 10px 10px 10px 15px;
}
img.rtnotopmargin {
	float: right;
	margin: 0px 15px 10px 10px;
}
img.rtbordernotopmargin {
	border: 1px solid #E5E5E5;
	float: right;
	margin: 0px 15px 10px 10px;
}
img.lftnotopmargin {
	float: left;
	margin: 10px 10px 10px 15px;
}
img.lftbordernotopmargin {
	border: 1px solid #E5E5E5;
	float: left;
	margin: 10px 10px 10px 15px;
}
img.ctrborder {
	border: 1px solid #E5E5E5;
	text-align: center;
	margin: 5px auto;
}
img.ctr {
	text-align: center;
	margin: 5px auto;
}

/* Style unordered lists */
ul, body>ul.leftul, body>div#leftpara, body>ul.rightul, body>div#rightpara, ul.leftul, div#leftpara, ul.rightul, div#rightpara {
	list-style: none;
}

/* CLASSES to create columns for unordered lists. */
ul.leftul1 {
	float: left;
	width: 130px;
	color: #FFFFFF;
	padding-top: 10px;
}
ul.rightul1 {
	float: left;
	width: 130px;
}
ul.leftul2 {
	float: left;
	width: 250px;
}
ul.rightul2 {
	float: left;
	width: 250px;
}
div#leftpara2 {
	float: left;
	width: 260px;
}
div#rightpara2 {
	float: left;
	width: 260px;
}

/* Class to stop items from floating right or left */
.clear {
	clear: both;
}
.clearleft {
	clear: left;
}


/* Class to center text and images */
.center {
	text-align: center;
}

/* Class to underline text */
.underline {
	text-decoration: underline;
}

/* Class to style the ADV's business name */
.businessname {
	font-size: 10px;
	font-weight: bold;
}
div#copyright a {
	font-size: 9px;
	margin: 0px auto;
	padding: 5px 0px 10px;
	color: #666666;
}
div#tablecontent td {
	padding: 3px;
	text-align: center;
	vertical-align: top;
}
