/* My Policy */

body{
	font-family: Verdana, Geneva, sans-serif;
	font-size:100%; /* browsers default to 16px, use 100% for more consistent text resizing in IE */
	line-height: 1em;/* 1*16=16px */
	background: #e9e9e9 url(../images/background.jpg) repeat-x;
	margin:0;
	color: #000;
}

.container{
	width:962px;
	margin:0 auto; /* centre */
	font-size:0.6875em; /* 0.6875*16=11px */
	position:relative;
	padding-top:10px;
}

.yf .container, .ym .container {
	padding-top: 0;
}
/* overrides to container for faq, tips, terms & conditions pages */
#faq, #tips, #terms{
	width:750px;
	padding-top: 0;
}

#header{
	margin:0 33px 0 32px;
	min-height:100px;
}

.yf #header, .ym #header {
	margin: 0 0 5px 0;
	line-height: 0;
}
* html #header{
	height:100px;
	overflow:visible;
}

#main{
	border: solid 13px #d2d2d2;
	background:#fff;
	margin-bottom:15px;
	min-height:200px; /* trigger hasLayout to cure IE7 bug */
}

.yf #main, .ym #main {
	border: solid 13px #F3F3F3;
}



#main_colorbox {
	border: solid 13px #f0efef;
	padding: 20px;
	background:#fff;
	min-height:200px; /* trigger hasLayout to cure IE7 bug */
	font-size: 110%;
	line-height: 150%;
}
#footer{
	border-top:dashed 1px #333;
}

/* General */

h1, h2, h3, h4, h5 {
	margin:0;
	padding:0;
}

h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #003A5A;
	font-size: 1.6em;
}

#main_colorbox h2 {
	font-size: 1.4em;
	margin-bottom: 10px;
}

p{
	margin:0 0 11px 0;
	padding:0;
}

a{
	color:#000;
}
a:hover{
	color:#fff;
}

#main a, #main_colorbox a{
	color: #003A5A;
	text-decoration: none;
	border-bottom: 1px dotted #003a5a;
	cursor: pointer;
}

#main a:hover, #main_colorbox a:hover{
	color: #000;
	text-decoration: underline;
	border-bottom: none;
}
	


/* Header */

#logo {
	display:block;
	overflow:hidden;
	margin:10px 0 0 20px;
	padding:0;
}

#logo.mfp {
	margin-top: 0;
	position: absolute;
	top: 10px;
	left: 30px;
}
#logo a {
	display:block;
	text-indent:-9999px;
}
#logo a img {
	display:block;
	text-indent:0;
	margin:0;
	padding:0;
	border:0;
}
#telephone{
	background:transparent url(../images/0800.jpg) no-repeat scroll 0 0;
	position:absolute;
	top:10px;
	right:43px;
	display:inline;
	width:241px;
	height:64px;
}

#landing #telephone {
	background:transparent url(../images/0800landing.jpg) no-repeat scroll 0 0;
}

#landing .yf #telephone {
		background:transparent url(../images/telephone_grey.jpg) no-repeat scroll 0 0;
}
#telephone.other {
	background:transparent url(../images/telephone_other.jpg) no-repeat scroll 0 0;
}

#telephone p {
	text-indent:-9999px;
}


/* Navigation */

#navbar {
	font-family: Arial, Helvetica, sans-serif;
	font-size:1.272272em; /* 1.272272*11=14px */
	position:relative;
	z-index:5;
	float:right;
	display:inline;
	margin:10px 10px 0 0;
}

#navbar.mfpnavbar {
	margin-top: 79px;
}

#navbar ul, #navbar li{
	margin:0;
	padding:0;
	list-style: none;
	line-height:1;
}

#navbar li {
	float:left;
	margin-left:32px;
}
#navbar li.first {
	margin-left:16px;
}

#navbar li:hover, #navbar li.iehover {
	cursor: pointer;
}
#navbar li a {
	color:#084258;
	text-decoration:none;
	display:block;
}

#navbar li a:hover, #navbar li a.selected {
	color:#bed73d;
}

#myfirstpolicy #navbar li a:hover, #myfirstpolicy #navbar li a:hover {
	color: #ec008c;
}

#mycarpolicy #navbar li a:hover, #mycarpolicy #navbar li a:hover {
	color: #38BBE5;
}
#navbar ul li ul {
	position: absolute;
	left: -999em;
}

#navbar ul li:hover ul, #navbar ul li.iehover ul{
	left: auto;
	margin:0;
	padding:0;
	background:#f1f1f1;
}

#navbar ul li ul li {
	display:block;
	float:none;
	margin:0; padding:0;
	border-bottom:dotted 1px #fff;
}
#navbar ul li ul li a {
	padding:10px;
}



/* Main */
#top_banner, #middle_banner{
	text-indent:-9999px;
}
#top_banner img, #middle_banner img{
	display:block;
	text-indent:0;
	color:transparent;
}
#top_banner{
	margin-bottom:-10px;
}
#top_banner img{
	position:relative;
	top:-30px;
	z-index:1;
}

.fleet #top_banner img{
	top: 0;
}
#middle_banner{
	position:relative;
	float: left;
	width: 569px;
}
.banner{
	float:left;
	margin:0;
	padding:0;
	line-height:0;
	width:0; /* fix IE8 bug */
}
a#quotebtn{
	display:block;
	width:238px;
	height:44px;
	overflow:hidden;
	background:url(../images/getaquote.jpg);
	position:absolute;
	top:111px;
	left:320px;
	border-bottom: none;
}

#myfirstpolicy a#quotebtn, #mycarpolicy a#quotebtn{
	background-image: url(../images/getaquote_grey.jpg);
}
* html a#quotebtn{right:60px;}
a#quotebtn:hover{background-position:0 44px;}

#content{
	clear:both;
	margin:0 33px 0 32px;
	overflow:auto;
	font-size: 110%;
	line-height: 2em; /* 2*11=22px */
}

#landing #content {
	width: 560px;
	clear: left;
}


.column{
	width:555px;
	display:inline;
	margin-top: 15px;
	float: left;
	padding-left: 5px;
}

.yf .column, .ym .column  {
	margin-top: 35px;
}

.fleet #content .column, .fleet #content {
	width: 870px;
	padding: 0;
}


.button {
	margin: 0 0 25px 0;
	width: 150px;
	height: 10.5em;
	display: block;
	padding: 15px 90px 20px 15px;
	line-height: 19px;
	border: 13px solid #d2d2d2;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 90%;
	float: right;
}

#landing .button {
	margin-right: 15px;
	font-size: 110%;
	color: #C00;
	padding-right: 15px;
	font-weight: bold;
}

#landing .yf .button, #landing .ym .button {
	color: #EC008C;
	width: 220px;
	height: 50px;
	margin: 10px 15px 10px 0;
	float: right;
	clear: right;
}

#landing h4 {
	color: #003A5A;
	font-family: Arial black,Arial,Helvetica,sans-serif;
	font-size: 20px;
	letter-spacing: -1px;
	margin-bottom: 10px;
}

* html .button{display:inline;}

.button p {
	margin: 0;
}

.button#first {
	background: url(/images/mp_bottom.jpg) no-repeat bottom right;
}

#landing .button#first {
	background: none;
}

.button#second {
	background: url(/images/mypolicy.jpg) no-repeat bottom right;
	clear: right;
}

.button#first_mfp {
	background: url(/images/myfirstpolicy_bottom.jpg) no-repeat bottom right;
}

.button#first_mcp {
	background: url(/images/mcp_top.jpg) no-repeat bottom right;
}

.button#second_mfp {
	background: url(/images/mfp_pic_two.jpg) no-repeat bottom right;
}

h2#mfp {
	display: block;
	height: 18px;
	width: 150px;
	background: url(/images/mfplogo_box.gif) no-repeat;
	text-indent: -9999px;
	margin-bottom: 5px
}

h2#mcp {
	display: block;
	height: 18px;
	width: 135px;
	background: url(/images/mcplogo_box.gif) no-repeat;
	text-indent: -9999px;
	margin-bottom: 5px;
}

h2#questions, h2#questions_mcp {
	display: block;
	height: 16px;
	width: 92px;
	background: url(/images/questions.gif) no-repeat;
	text-indent: -9999px;
	margin-bottom: 5px;
}

h2#questions_mcp {
		background: url(/images/questions_blue.gif) no-repeat;
}

h2#safety {
	display: block;
	height: 39px;
	width: 109px;
	background: url(/images/safety.gif) no-repeat;
	text-indent: -9999px;
	margin-bottom: 5px;
}

h2#mcpfaq, h2#mfpfaq, h2#tac, h2#ydst {
	display: block;
	height: 19px;
	text-indent: -9999px;
	margin-bottom: 5px;
}
h2#mcpfaq {
	width: 156px;
	background: url(/images/mcp_faqs.gif) no-repeat;
}
h2#mfpfaq {
	width: 163px;
	background: url(/images/mfp_faqs.gif) no-repeat;
}

h2#tac {
	width: 161px;
	background: url(/images/tac.gif) no-repeat;
}

h2#ydst {
	width: 201px;
	height: 20px;
	background: url(/images/ydst.gif) no-repeat;
}

#main_colorbox h3{
	font-size: 100%;
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 5px;
	color: #00395A;
}

#icons {
	text-align: right;
	clear: both;
}

#clear {
	clear: both;
}

/* footer */
#footer a {
	color: #333;
}

#footer a:hover {
	margin-top: 1px;
	color: #000;
}
#footer p{
	margin:0;
	padding:11px 0;
}
.left{
	float:left;
}
.copyright {
	float: right;
}

dt {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-style: italic;
	color: #00395A;
	margin: 10px 0;
}

dd {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	margin: 0 0 0 10px;
	line-height: 160%;
}

dd strong {
	color: #00395A;
}

.small {
	font-size: 90%;
}

#landing h2, #landing h3 {
	color: #BED73E;
	font-family: Arial black,Arial,Helvetica,sans-serif;
	font-size: 27px;
	letter-spacing: -1px;
}

#landing .yf h2, #landing .yf h3 {
	color: #EC008C;
}

#landing .yf h2#pagetitle,  #landing .ym h2#pagetitle {
	font-size: 22px;
}

#landing h3 {
	font-size: 22px;
	margin: 10px 0 20px 0;
	color: #003A5A;
}

#landing .ym h3, p#green {
	color: #BED73E;
}

.blue_block {
	float: right;
	width: 275px;
	clear: right;
	padding-right: 13px;
	text-align: center;
}

#special {
	background: url(/images/special.jpg) no-repeat;
	width: 420px;
	height: 189px;
	border: 2px solid #bdd73d;
	padding: 80px 400px 0 20px;
	margin: 0 auto;
}
	
	#special2 {
	width: 620px;
	height: 189px;
	border: 2px solid #bdd73d;
	padding: 80px 200px 0 20px;
	margin: 0 auto;
}
	
.column1, .column2 {
	float: left;
	width: 420px;
	padding: 20px;
	font-size: 1.1em;
	line-height: 1.7em;
}

.column2 {
	float: right;
	border-left: 3px solid #F3F3F3;
}

.column1 #pagetitle, .column2 #pagetitle {
	margin: 30px;
}

.column1 h3, .column2 h3 {
	padding: 10px 30px;
	line-height: 1.1em;
}

#full {
	clear: both;
	font-size: 1.2em;
	line-height: 1.7em;
	padding: 20px;
	width: 820px;
	margin: 0 auto;
	border-top: 10px solid #F3F3F3;
}

#landing #full .button {
	color:#C06;
	font-size:110%;
	font-weight:bold;
	padding-right:15px;
	margin: 0 0 0 15px;
}

#internal {
	width: 450px;
	margin: 0 auto 50px auto;
	text-align: center;
}



#internal li, #internal ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
