html, body, h1, h2, h3, h4, ul, li {
	margin: 0;
	padding: 0;
}
h1 img {
	display: block;
}
img {
	border:none;
}
a {
	text-decoration: none;
	color: #FFFFFF;
}
a:hover {
	color: #fcdf3d;
}
.left {
	float: left;
}
.right {
	float: right;
}
.more {
	text-align: right;
}
.clear {
	clear: both;
}

body {
	background: #041038 url(images/qaulityusedcars.jpg) repeat-x;
	font: 11px arial, sans-serif;
	color: white;
	padding-bottom: 5px;
}

/** layout **/
#wrapper {
	width: 820px;
	background: #041038 url(images/header.jpg) no-repeat;
	position: relative;
	margin: 0 auto;
	height: 780px;
}
#logo {
	width: 310px;
}
#logo h1{
  color: white;
  font-style: normal;
  font-weight: bold;
  position: relative;
  top: 0px;
  margin: 0;
  font: 1em  arial, sans-serif;
}
#address {
	width: 310px;
}
#address h1{
  color: white;
  font-style: normal;
  font-weight: bold;
  position: relative;
  padding: 2px 0 2px 8px;
  top: 0px;
  margin: 0;
  font: 1.1em  arial, sans-serif;
}
h1 {
  color: #fcdf3d;
  font-style: normal;
  font-weight: bold;
  position: relative;
  padding-left: 5px;
  top: 0px;
  margin: 0;
  font: 1.1em  arial, sans-serif;
}

h1 em {
  color: white;
  font: 2.4em  arial, sans-serif;
  font-weight: bold;
  font-style: normal;
  position: relative;
  top: 0px;
}

h2 {
  padding: 0 0 0 0;
  font: 12px  arial, sans-serif;
  color: yellow;
  margin: 0; 
}

h2 em {
  color: #fcdf3d;
  font-style: normal;
  font-weight: bold;
  position: relative;
  padding-left: 5px;
  top: 0px;
}
h3 {
  padding: 5px 0 0 5px;
  font: 12px arial, sans-serif;
  color: white;
}
h3 em {
  color: red;
  font-style: normal;
  position: relative;
  padding-left: 15px;
  top: 0px;
}

/* nav */

#nav {
	position: absolute;
	top: 0px;
	left: 310px;
	width: 510px;
}
#nav li {
  float: left;
  background: url(images/nav_left.gif) no-repeat;
  list-style: none;
  padding-left: 10px;
  padding-right: 15px;
  padding-top: 10px;
  line-height: 1.1;
}
#nav span {
  display: block;
  font-size: 2.5em;
}
#nav a {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
}
#nav a:hover {
  color: #fcdf3d;
}
/* Main Cars image*/
#maincar {
    position: absolute;
    top: 85px;
    left: 0px;
    width: 310px;
    height: 170px;
	margin: 5px 0px 0px 8px;
	padding: 0px 0px 0px 5px;
	z-index: 10;
}
#rkdetail {
	position: absolute;
	top: 90px;
	left: 12px;
	width: 308px;
	z-index: 100;
}
#rkdetail h1{
  font: 11px arial, sans-serif;
  color: black;
  margin: 0;
  padding: 0;
}
#rkdetail h2{
  font: 10px arial, sans-serif;
  color: #666;
  margin: 0;
  padding: 0;
}
#rkdetail p{
  font: 10px arial, sans-serif;
  color: #CCC;
  margin: 0;
  padding: 0;
}
#forecourt {
	margin: auto;
	height: 400px;
	width: 800px;
	background-color: white;
}
#forewords{
	width:780px;
	height: 30px;
	color: black;
	margin: auto;
	padding: 10px 0 0 0;
	text-align: center;
	font-size: 1.3em;
}
#financewords{
	width:800px;
	color: black;
	background: #FFF;
	margin: 0 ;
	padding: 0;
	text-align: center;
	font-size: 1.1em;
	height: auto;
	}
#financewords p{
	margin: 0;
	padding: 2px 0 0 0;
}
#foreheading{
	width:780px;
	height: 25px;
	color: black;
	margin: auto;
}
#foreheading h1{
	font-size: 1.8em;
	color: black;
	text-align: center;
}

#foreleft {
	float: left;
	height: 150px;
	width: 195px;
	padding-left: 2px;
	margin-left: 2px;
}
#forecentre1 {
	float: left;
	height: 150px;
	width: 195px;
	padding-left: 2px;
	margin-left: 2px;
}
#forecentre2 {
	float: left;
	height: 150px;
	width: 195px;
	padding-left: 2px;
	margin-left: 2px;
}
#foreright {
	float: left;
	height: 150px;
	width: 195px;
	padding-left: 2px;
	margin-left: 2px;
}
#webuanycar {
	width: 485px;
	margin: auto;
	padding: 5px 0 5px 0;
}
#webuanycar h1{
	font-size: 1.9em;
	font-style: italic;
	font-weight: bold;
	color:#CCC;
	text-align: center;
}
#robertkeithmap{
	width: 428px;
	height:380px;
	padding: 2px 2px 2px 2px;
	margin: auto;
	float: right;
}
#rkaddress{
	width: 350px;
	height:380px;
	padding: 2px 2px 2px 2px;
	margin: auto;
	float: left;
	color: #000;
	text-align: left;
}
#rkaddress p{
	font-size: 1.4em;
	margin: 2px;
	padding: 2px 0 0 2px;
}
#rkaddress a{
	color: #009
}

#imgholder{
	position: absolute;
	top: 125px;
	left: 20px;
	width: 280px;
	height: 255px;
	z-index: 100;
}
#imgholder h1{
  font: 12px arial, sans-serif;
  color: black;
  margin: 0;
  padding: 0;
  text-align:center;
}

/** topcontent **/
#topcon {
  background: url(images/top-shape.jpg) no-repeat;
  width: 485px;
  position: absolute;
  top: 90px;
  left: 325px;
  color: #fff;
}
#topcon-inner {
  margin: 10px 15px 10px 100px;
  height: 150px;
  overflow: auto;
}
#topcon h1 {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	color: #fcdf3d;
	font-weight: bold;
}
#topcon h2 {
  font-size: 1.2em;
  color: white;
}
#topcon p {
  font-size: 1.1em;
  color: white;
  margin: 5px 0 0 0;
  padding: 0;
}
#maintelephone {
	  width: 285px;
	  position: absolute;
	  top: 250px;
	  left: 525px;
	  display: inline;
}
#maintelephone h2 {
  font-size: 2em;
  color: #fcdf3d;
}

#mainemail {
	  width: 235px;
	  position: absolute;
	  top: 258px;
	  left: 30px;
	  font-size: 1.2em;
	  display: inline;
}

/** Main Car Body **/
#cartelephone {
	  width: 285px;
	  position: absolute;
	  top: 76px;
	  left: 510px;
	  display: inline;
}
#cartelephone h2 {
  font-size: 2em;
  color: #fcdf3d;
}

#caremail {
	  width: 185px;
	  position: absolute;
	  top: 86px;
	  left: 30px;
	  display: inline;
  	  font-size: 1.2em;
}
#listcontent {
	width: 800px;
	position: absolute;
	background: white;
	color: black;
	top: 100px;
	margin: 5px 0 0 5px;
	padding: 5px 5px 5px 5px;
	height: auto;
}

#carcontent {
	width: 800px;
	position: absolute;
	background: white;
	color: black;
	top: 100px;
	margin: 5px 0 0 5px;
	padding: 5px 5px 5px 5px;
	height: auto;
}
#cardescription {
  width: 800px;
  height: 305px;
  margin: 0;
  padding: 0;
}
#carname {
  margin: 5px 0 5px 0px;
  width: 800px;
  text-align: center;
}
#carname h1{
	color: navy;
	padding: 0;
	margin: 0;
	font-size: 1.7em;
	font-weight: bold;
}

#carimage {
	float: left;
    width: 402px;
	margin: 0px 0;
	padding: 0;
}
#cartitles {
	float: none;
	font-size: 1em;
	margin: 0 200px 0 420px;
	padding: 0;
	width: 180px;
}
#cartitles h2{
	font-size: 1.5em;
	padding: 4px 0 0 0;
	margin: 4px 0 0 5px;
	color: black;
}

#cardetails {
	float: right;
    width: 180px;
	margin: 0;
	padding: 0;
	font-size: 1em;
}

#cardetails h2 {
	font-weight: bold;
	font-size: 1.5em;
	padding: 4px 0 0 0;
	margin: 4px 0 0 5px;
	color: navy;
}
#carhint {
	  width: 360px;
	  position: absolute;
	  top: 330px;
	  left: 430px;
	  display: inline;
  	  font-size: 1.1em;
	  text-align: center;
	  color: #069;

}
#smallimages {
	margin: 5px 0 0 0;
	padding: 5px 0 0 0;
	height: 70px;
	width: 800px;
}
#smallimages img{
	padding:0;
	margin: 0;
	height: 56px;
	width: 75px;
	cursor: crosshair;
}
#carextras {
	margin: 0px 0px 5px 0px;
	padding: 0px 0 0 0;
	width: 800px;
	height: auto;
}
/* allow room for 3 columns */
#carextras ul{
    width: 60em;
	font-size: 1.5em;
	font-style: normal;
}

  /* float & allow room for the widest item */
#carextras ul li{
	background-image:url(images/extratick.gif);
    float: left;
    width: 14em;
	margin-left: 30px;
	display: inline;
	height: 1.8em;
	margin-top: 5px;
}
#carextras oldimg{
	border: 0;
	margin: 0 0 0 -30px;
	padding-right:15px;
	display: inline;
	float: right;
}
#carextras tryimg{
	border: 0;
	position: absolute;
	left: 300px;
}
/* finance page*/
#carfinance {
  width: 510px;
  font-size: 1.1em;
  margin-right: 5px;
}
#financetitles {
	float: left;
	width: 80px;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	color: green;
}
#financedetails {
	float: right;
	width: 120px;
	margin-left: 120px;
	padding: 0;
	font-size: 1.2em;
}
#financedetails p{
	color: red;
}
/* stylelists*/
/* Specific css for the car lists from forecourt*/
#listcar {
	width: 800px;
	border: thin;
	margin: 0 auto;
	padding: 2px 0px 2px 0px;
	background: url(images/list-back.jpg);
	height: 125px;
}
#listheader{
	width: 796px;
	height: 18px;
	margin: 0;
	padding: 0;
	color: white;
	font-size: 1.4em;
}
#listheader a{
	color: white;
}
#listheader a hover{
	color: #FC3;
}

#listcarname{
	width: 310px;
	float: left;
	margin: 0;
	padding: 0 0 0 5px;
	font-weight: bold;
}
#listcarcolour{
	width: 345px;
	margin: 0 115px 0 325px;
}
#listcarprice{
	width: 105px;
	float: right;
	margin: 0;
	padding: 0;
	font-weight: bold;
}
#listcarimage img{
	padding: 2px 0 2px 0;
	margin: 2px 0 3px 0;
	height: 90px;
	width: 120px;
	text-align: left;
}

#listdetails {
	width: 790px;
	font-size: 1.1em;
}
#listdetails a{
	color:#03F;
}
#listleft {
	width: 220px;
	float: left;
}

#listright {
	width: 220px;
	float: right;
}

#listmiddle {
	width: 220px;
}
/* end stylelists*/

.align-right{
	float: right;
	display: inline;
	margin: 0 0 5px 5px;
}
.align-left{
	float: left;
	margin: 0 5px 5px 0;
}
/** Body **/

#content {
  width: 800px;
  position: absolute;
  color: white;
  top: 280px;
  left: 10px;
}
#content a {
  color: #fff;
}
#content a:hover {
  color: #fee;
}
#body {
  background: #041038;
  border: 2px solid white;
  background: #0e214e;
  padding: 10px;
}

#body h2 {
  font-size: 12px;
  text-align: center;
  margin-bottom: 0.5em;
  color: #fcdf3d;
}
#body h3 {
  font-size: 12px;
  color: #FFEA00;
}
#body .more a {
  font-weight: bold;
  text-decoration: none;
}
#body .more a:hover {
  text-decoration: underline;
}

.box {
  float: left;
  width: 235px;
  background: #031149;
  margin-right: 18px;
  font-size: 1.1em;
}
.box-t { background: top url(images/box_t.gif) repeat-x; }
.box-r { background: right url(images/box_r.gif) repeat-y; }
.box-b { background: bottom url(images/box_b.gif) repeat-x; }
.box-l { background: left url(images/box_l.gif) repeat-y; }
.box-tr { background: top right url(images/box_tr.gif) no-repeat; }
.box-br { background: bottom right url(images/box_br.gif) no-repeat; }
.box-bl { background: bottom left url(images/box_bl.gif) no-repeat; }
.box-tl { background: top left url(images/box_tl.gif) no-repeat; }

.box-tl {
  padding: 13px 18px;
}

.box p {
  margin: 1em 0;
}
.box img{
	padding: 2px 5px 0 0px;
}

p.more {
  margin: 0;
}

#hits {
  width: 265px;
  font-size: 1.1em;
}
#hits .box-tl {
  padding-bottom: 15px;
}
#hits ul {
  margin: 1em 0;
}
#hits li {
  list-style: none;
  margin: 0.9em 0;
}
#hits ul a {
  text-decoration: none;
}
#hits ul a:hover {
  text-decoration: underline;
}
#hits img{
	margin: 5px 0 2px 0;
	padding: 0px 2px 2px 5px;
}
#carreview {
  width: 510px;
  font-size: 1.1em;
  margin-right: 5px;
}
#carreview img{
	margin: 5px 0 2px 0;
	padding: 0px 2px 2px 5px;
}
#new {
  margin-right: 0;
}
#new .box-tl {
  padding-bottom: 15px;
}
#new p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

#body .hr-yellow {
  border-top: 1px solid #FFEA00;
  padding-bottom: 5px;
  margin-top: 5px;
}

/** footer **/
#footer {
  clear: both;
  text-align: center;
  width: 800px;
  background: #041038;
  color: white;
}
#footer p{
  margin: 0.8em;
}
#footer ul {
  margin-top: 0.2em;
}
#footer li {
  display: inline;
  list-style: none;
}
#footer a{
    color: white;
}
#footer a:hover{
    color: #fcdf3d;
}
#footer img{
    border: thin;
	margin: 0 40px 0 40px;
}

#caremailme {
  clear: both;
  margin: 15px 0 5px 5px;
  padding: 5px 0 0 0;
  width: 780px;
  text-align: center;
}
#caremailme a {
	font-size: 1.5em;
    color: navy;
}
#caremailme  a hover{
    color: yellow;
}
#carmileage  {
  clear: both;
  font-size: 1.2em;
  margin: 5px 0 5px 5px;
  width: 780px;
  text-align: center;
}
#goback{
  clear: both;
  font-size: 1.2em;
  margin: 5px 0 5px 5px;
  width: 780px;
  text-align: center;
}
#goback a {
    color: navy;
}
#goback a hover{
    color: #FC3;
}
#robertkeithinfo{
  clear: both;
  font-size: 1.2em;
  margin: 0px 0 0px 0px;
  padding: 5px 0 5px 0;
  width: 800px;
  text-align: center;
  background: #041038;
  color: #FC3;
}
#carfooter {
  clear: both;
  margin: 5px 0 5px 5px;
  width: 780px;
  text-align: center;
  font-size: 1.2em;
}
#carfooter ul {
  margin-top: 0.2em;
}
#carfooter li {
  display: inline;
    color: black;
}
#carfooter a {
    color: navy;
}
#carfooter a hover{
    color: #FC3;
}

/* =Hoverbox Code
----------------------------------------------------------------------*/

.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
}

.hoverbox a .preview
{
	display: none;
}

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -45px;
	left: -60px;
}

.hoverbox img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	padding: 1px;
	vertical-align: top;
	width: 133px;
	height: 100px;
}

.hoverbox li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	display: inline;
	float: left;
	margin: 1px;
	padding: 1px;
	position: relative;
}

.hoverbox .preview
{
	border-color: #000;
	width: 320px;
	height: 240px;
	z-index: 1;
}
/* = End of Hoverbox Code
----------------------------------------------------------------------*/
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

