/*
 *	The structure of this stylesheet follows these rules:
 *	- first are generic tag and class definitions
 *	- next we proceed from outer wrappers inside and from top to bottom
 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;text-align:left;font-family:inherit;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}q:before,q:after,blockquote:before,blockquote:after{content:"";}

body {
	color: #242424;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
}

a {
	color:#79a9f0;
	text-decoration: none;
}

a:hover {
        color: #d93227;
        font-weight:normal;
	text-decoration: none;
}

a.button-green {
	display: block;
	background: url(../images/buy-btn.jpg) no-repeat 0px 0px;
	width: 142px;
	height: 42px;
	text-indent: -5000px;
	float: left;
	margin: 20px 20px 0px 0px;
}

a.button-blue {
	display: block;
	background: url(../images/quote-btn.jpg) no-repeat;
	width: 142px;
	height: 42px;
	text-indent: -5000px;
	float: left;
	margin: 20px 20px 0px 0px;
}

a.button-blue:hover, a.button-green:hover {
	background-position: 0px -42px;
}
.clear {
	clear: both;
	float: none !important;
}

h6 {
	font-weight: bold;
}
/* this wrapper is used with some bacground variations that require shadow */
#wrapper-shadow {
	width: 1030px;
	margin: auto;
}

#wrapper {
	background-color: white;
	width: 1020px;
	margin: auto;
	padding-top: 30px;
}

#header, #billboard, #insurance, #featured, #content, #footer {
	margin: 0px 40px 0px 40px;;
}

#header {
	padding-top: 10px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e7e7e7;
}

#heading {
	float: left;
}

#header h1 {
	font-weight: bold;
	font-size: 26px;
        color:#79a9f0;
	letter-spacing: -1px;
	margin-bottom: 6px;
}

#header h1 a {
        color:#79a9f0;
	font-weight: bold;
	text-decoration:none;
}

#header h1 a:hover {
        color: #d93227;
        font-weight: bold;
	text-decoration:none;
}

#heading h3 {
	font-size: 16px;
	color: #79a9f0;
	margin-top: 5px;
}

h4 {
	font-weight: bold;
	font-size: 16px;
        color:#79a9f0;
}

/* navigation */

#menu {
	margin-top: 32px;
	float: right;
}

#menu ul {
	
}

#menu ul li {
	float: left;
	display: block;
}

#menu ul li ul li {
	padding: 2px 0px;
	border: 1px solid #e7e7e7;
	border-top: 1px solid white;
	background-color: #f5f5f5;
}

#menu ul li ul{
	padding-top: 20px;
}

#menu ul li ul li a{
	font-size: 12px;
}

#menu ul li a {
	font-size: 13px;
	color: #79a9f0;
	text-decoration: none;
	padding: 10px 0px 10px 20px;
}

#menu ul li a:hover, #menu ul li.current_page_item a {
	color:#d93227;
}


li.current_page_item a {
	font-weight: bold;
}

li.current_page_item  ul li a {
	font-weight: normal;
}

#nav, #nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
}

#nav li{
	float:left;
	position:relative;
}

#nav ul {
	background-color: white;
	position:absolute;
	display:none;
	width:12em;
	top: 20px;
	z-index: 1000;
}

#nav li ul a{
	width:210px;
	height:auto;
	float:left;
	padding-top: 5px;
	padding-bottom: 5px;
}

#nav ul ul{
	top:auto;
}	

#nav li ul ul {
	left:11em;
	margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
	display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
	display:block;
}

/* billboard */

#billboard {
	margin-top: 30px;
	width: 940px;
	height: 376px;
	overflow: hidden;
}

#billboard img {
	width: 940px;
	height: 376px;
}

/* insurance */

#insurance {
	margin-top: 30px;
	width: 940px;
	height: 375px;
        background-image:url('../images/p-carinsurance.jpg');
	overflow: hidden;
}
#insurance-form {
	width: 220px;
        padding-top: 120px;
        padding-left: 0px;
}
#insurance-form input {
        width:160px;
        font-family:Arial,Helvetica;
        font-size:15px;
	padding:7px;
        border:5px #6fa0e7 solid;
}
#insurance-form .insurance-go {
        width:260px;
        height:97px;
        border: none;
        background: url('../images/form-getcarinsurancequotes-1.gif') no-repeat top left;
        padding: 2px 8px;
}
#insurance-form .insurance-go:hover {
        width:260px;
        height:97px;
        border: none;
        background: url('../images/form-getcarinsurancequotes-2.gif') no-repeat top left;
        padding: 2px 8px;
}
#insurance-form-type {
        padding-top:20px;
        padding-left:20px;
        font-size:16px;
}
#insurance-form-type a {
        color:#ffffff;
        text-decoration:none;
}
#insurance-form-type a:hover {
        color:#ffcc00;
        text-decoration:none;
}
#insurance-form-type .insuranceswitch a, a:hover {
        color:#79a9f0;
        text-decoration:none;
}
#insurance-form-zipcode {
        padding-top:105px;
        padding-left:20px;
}
#insurance-form-submit {
        padding-top:5px;
}

/* insurance right */

#insurance-right {
	margin-top: 30px;
	width: 269px;
	height: 375px;
        background-image:url('../images/p-carinsurance-right.jpg');
	overflow: hidden;
}
#insurance-right-form {
	width: 220px;
        padding-top: 120px;
        padding-left: 0px;
}
#insurance-right-form input {
        width:160px;
        font-family:Arial,Helvetica;
        font-size:15px;
	padding:7px;
        border:5px #6fa0e7 solid;
}
#insurance-right-form .insurance-go {
        width:260px;
        height:97px;
        border: none;
        background: url('../images/form-getcarinsurancequotes-1.gif') no-repeat top left;
        padding: 2px 8px;
}
#insurance-right-form .insurance-go:hover {
        width:260px;
        height:97px;
        border: none;
        background: url('../images/form-getcarinsurancequotes-2.gif') no-repeat top left;
        padding: 2px 8px;
}
#insurance-right-form-type {
        padding-top:20px;
        padding-left:20px;
        font-size:16px;
}
#insurance-right-form-type a {
        color:#ffffff;
        text-decoration:none;
}
#insurance-right-form-type a:hover {
        color:#ffcc00;
        text-decoration:none;
}
#insurance-right-form-type .insuranceswitch a, a:hover {
        color:#79a9f0;
        text-decoration:none;
}
#insurance-right-form-zipcode {
        padding-top:105px;
        padding-left:20px;
}
#insurance-right-form-submit {
        padding-top:5px;
}

/* featured services */

#featured {
	margin-top: 30px;
	background-color: #f4f4f4;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

#featured div {
	float: left;
	text-align: center;
}

#featured div h4, #featured div h5 {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

#featured div h5 {
	font-size: 12px;
	font-weight: normal;
	text-align:left;
}

#featured div img {
	margin-top: 25px;
	max-height: 80px;
	max-width: 230px;
	overflow: hidden;
}

#featured div.center {
	padding-top: 25px;
	width: 278px;
	height: 350px;
	border-left: 1px solid #e7e7e7;
	border-right: 1px solid #e7e7e7;
        padding-left: 30px;
        padding-right: 30px;
}

#featured div.first, #featured div.last {
	padding-top: 25px; 
        padding-left: 30px;
        padding-right: 30px;
	width: 240px;
	height: 350px;
}

/* main content */

#content {
	padding: 30px 0px 20px 0px;
	border-bottom: 1px solid #e7e7e7;
}

#contact a {
	color:#d93227;
        text-decoration: none;
        border-bottom: 1px #ccc dotted;
}

#contact a:hover {
	color:#000;
        text-decoration: none;
        border-bottom: 1px #ccc dotted;
}

#content h2 {
	font-size: 18px;
	font-weight: bold;
        color:#79a9f0;
	margin-bottom: 20px;
}

#content h2 a {
	color:#79a9f0;
	text-decoration: none;
}

#content h2 a:hover {
        color: #d93227;
	text-decoration: none;
}

#content h3 a {
	color:#79a9f0;
	text-decoration: none;
}

#content h3 a:hover {
        color: #d93227;
	text-decoration: none;
}

#content p.date {
	color: #ddd;
}

#content.half div {
	width: 450px;
	float: left;
}

#content.half div.half-1 {
	margin-right: 40px;
}

#content .features-row {
	margin-bottom: 25px;
}

#content .half-2 .feature {
	float: left;
	width: 215px;
}

#content .half-2 .feature.first {
	margin-right: 20px;
}

#content .half-2 .feature img {
	float: left;
	width: 40px;
	height: 40px;
	margin-right: 20px; 
}

#content .half-2 .feature div {
	width: 155px;
}

#content .half-2 .feature div h6 {
	font-size: 15px;
	font-weight: bold;
	color: #0686b0;
	margin-bottom: 5px;
}

/* footer */

#footer p {
	color: #5b5b5b;
        text-align:center;
	margin: 20px 0px 0px;
	padding-bottom: 20px;
}

#footer a {
	color:#79a9f0;
	text-decoration: none;
}

#footer a:hover {
        color: #d93227;
        font-weight:normal;
	text-decoration: none;
}

#copyright {
	font-size:11px;
        line-height:16px;
        text-align:center;
        padding-bottom:20px;
}

#billboard-delay, #billboard-effect {
	display: none;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

#content .maincontent img, #content .maincontent-hp img, #content .half-1 img {
	padding: 5px;
	border: 1px solid #ccc;
}

#content img.alignleft {
	margin: 20px 20px 15px 0px;
}

#content img.alignright {
	margin: 0px 20px 15px 20px;
}

.half-1, .maincontent-hp {
	padding-bottom: 20px;
}

/*logos box*/
.logos-box{
	width:940px;
        height:60px;
        margin-top:10px;
        margin-left:50px;
}
.logos-box ul{
	width:940px;
	float:left;
}
.logos-box li{
	width:90px;
	height:60px;
        padding-left:10px;
	float:left;
}
.logos-box li.logoslast{
	width:90px;
	height:60px;
        padding-right:10px;
	float:left;
}
