/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */

body {
	margin: 0 auto;
	padding: 0;
	text-align: center;
	background: #c2e2e3 url(images/bg_site.jpg) repeat-x;
	font: 11px Verdana, Tahoma, Arial, Helvetica, sans-serif;
	color: #212121;
}

/* Sets the margin and padding to zero */
div, 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: #584370;
	margin-left: 10px;
	margin-right: 10px;
	}
h1 {
	font-weight: normal;
	font-size: 24px;
	margin-top: 5px;
	}
h2 {
	font-size: 18px;
}
h3 {
	font-size: 16px;
}
h4 {
	font-size: 14px;
	border-bottom: 1px solid #d4d2d2;
}
h5 {
	font-size: 12px;
}

/* Sets the line-height for the p, td, and address tags */
p {
	line-height: 18px;
	margin: 5px 10px;
}

td {
	line-height: 18px;
}
address {
	line-height: 14px;
	font-style: normal;
	}
	
/* Creates DIV to set back to top link */
p#back {
	margin: 5px 10px;
	text-align: right;
	font-weight: bold;
	font-size: 10px;
	clear: both;
}
p#back a {
	text-align: right;
}
	
/* Styles A links */

a:link {
	text-decoration: underline;
	color: #16787a;
	}
a:visited {
	text-decoration: underline;
	color: #7b5e9b;
 }
a:hover {
	text-decoration: none;
	color: #a18bb9;
	}
a:active, a.selected {
	text-decoration: none;
	color: #8c71a9;
	}
	
/* 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.leftul, div#leftpara {
	float: left;
	width: 250px;
}
ul.rightul, div#rightpara {
	float: left;
	width: 250px;
}

/* Class to stop items from floating right or left */
.clear {
	clear: both;
}

/* 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: 12px;
	font-weight: bold;
}

/* ----------------- 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: url(images/layout.gif) repeat-y; /* Faux column bg for page */
}

/* Creates DIV container for header. */
div#header {
	width: 770px;
	margin: 0px auto;
	}
	
/* Creates DIV container for sidebar content */ 
div#sidebar {
	width: 205px;
	float: left;
	padding: 20px 0px 0px;
	color: #16787a;
	background: #b5dcdd url(images/sidebar_bg.gif) no-repeat;
}
div#sidebar a {
	color: #16787a;
}
div#sidebar address {
	padding: 35px 0px 10px 10px;
}

div#calculator {
	padding:20px 10px;
}

div#calculator a{
	font-size:18px;
	color:#584370;
}

/* Creates DIV container for main content */ 
div#content {
	width: 565px;
	float: right;
	padding: 0px 0px 10px 0px;
	background: url(images/content_bg.jpg) no-repeat;
}
div#content ol, div#content ul {
	line-height: 18px;
	margin-left: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
}
div#content ul li{
	padding-left: 10px;
	background: url(images/bullet.gif) no-repeat;
	list-style: none;	
}

/* Creates DIV container for cta */ 
div#cta {
	width: 565px;
	margin: 0px auto;
}

/* Styles DIV container for Google map */
div#map {
	border: 1px solid #d4d2d2;
	text-align: center;
	margin: 5px auto 5px;
	width: 543px;
}

/* Styles DIY frames in Plus sites */
iframe#iframe1 {
	margin: -20px 0px 0px -10px;
	overflow: hidden;
}

/* Styles DIY frames in Plus sites */
iframe#iframe2 {
	margin: -20px 0px 0px -20px;
	overflow: hidden;
}

/* Creates DIV container for footer content*/ 
div#footer {
	font-size: 10px;
	width: 750px;
	margin: 0px auto;
	text-align: left;
	padding: 0px 10px;
	clear: both;
	background: #9ecdcf url(images/footer_bg.gif) no-repeat;
	color: #16787a;
}
div#footer a {
	color: #16787a;
	font-weight: bold;
}

/* Creates DIV container for sub-navigation */
div#subnav {
	font-size: 10px;
	margin: 0px auto;
	padding: 12px 0px 8px;
}

/* Creates DIV container for payment options */
div#subnav #payment{
	float: right;
}

/* Creates DIV container for copyright statement */
div#copyright {
	font-size: 9px;
	margin: 0px auto;
	padding: 8px 0px 10px;
	background: #c2e2e3
}

/* ----------------- 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;
}

/* 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: 10px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
	display: block;
	width: 185px;
	padding: 6px 10px 7px;
	text-transform: uppercase;
	background: url(images/link_bg.gif) no-repeat;
}

/* Creates our hover status. */
ul#mainnav li a:hover {
	background: #7cb8ba url(images/hover_bg.jpg) repeat-y;
	color: #16787a;
	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: #5aa2a4 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: 10px 15px 10px 10px;
}
html>body div#lftfloat {
	float: left;
	margin: 10px 10px 10px 10px;
}
/* end hack to hide styles from Internet Explorer */

div#rtfloat {
	float: right;
	margin: 10px 8px 10px 10px;
}
div#rtfloat img {
	border: 1px solid #d4d2d2;
	margin: 0px 0px 10px;
}
div#lftfloat {
	float: left;
	margin: 10px 10px 10px 0px;
}
div#lftfloat img {
	border: 1px solid #d4d2d2;
	margin-bottom: 10px;
}
img.rt {
	float: right;
	margin: 10px 15px 10px 10px;
}
img.rtborder {
	border: 1px solid #d4d2d2;
	float: right;
	margin: 10px 15px 10px 10px;
}
img.lft {
	float: left;
	margin: 10px 5px 5px 10px;
}
img.lftborder {
	border: 1px solid #d4d2d2;
	float: left;
	margin: 10px 5px 5px 10px;
}
img.rtnotopmargin {
	float: right;
	margin: 0px 15px 10px 10px;
}
img.rtbordernotopmargin {
	border: 1px solid #d4d2d2;
	float: right;
	margin: 0px 15px 10px 10px;
}
img.lftnotopmargin {
	float: left;
	margin: 0px 5px 5px 10px;
}
img.lftbordernotopmargin {
	border: 1px solid #d4d2d2;
	float: left;
	margin: 0px 5px 5px 10px;
}
img.ctrborder {
	border: 1px solid #d4d2d2;
	text-align: center;
	margin: 5px auto;
}
img.ctr {
	text-align: center;
	margin: 5px auto;
}
img.contactus {
	text-align: center;
	margin: 5px 20px;
	border: 1px solid #d4d2d2;
}
