
/* ELEMENTS *************************************************************************** ELEMENTS */

/* a */
body.supplementary a,
body.supplementary a:link,
body.supplementary a:hover,
body.supplementary a:active,
body.supplementary a:visited,
div#content a,
div#content a:link,
div#content a:hover,
div#content a:active,
div#content a:visited,
div#footer a,
div#footer a:link,
div#footer a:hover,
div#footer a:active,
div#footer a:visited
{
  color: #d1060a;
  font-weight: bold;
  text-decoration: none;
}

body.supplementary a:hover,
div#content a:hover,
div#footer a:hover
{
  color: #959595;
}

body
{
  background: #fff url("/images/bg.png") top center repeat-x;
  font-family: Helvetica, sans-serif;
}

body.supplementary
{
  background-image: none;
}

h2
{
  font-weight: bold;
}

hr
{
  height:1px;
}

tr.sold /* This is in the wrong place. */
{
  color:#bababa;
}

div#favourites-show table.car-list tr.sold td.info a { color: #bababa; }

a.sold,
a.sold:link,
a.sold:visited,
a.sold:active
{
  color: #bababa !important;
  font-weight: normal !important;
}

tr.sold a,
tr.sold a:link,
tr.sold a:visited,
tr.sold a:active
{
  color: #bababa !important;
  font-weight: normal !important;
}

.notice
{
  background:transparent none repeat scroll 0 0;
  border: none;
  color:#666666;
  font-weight:bold;
  margin-bottom:35px;
  text-align:center;
}

/* LAYOUTS ***************************************************************************** LAYOUTS */

div#logo img
{
  display: block;
  margin-top: 36px;
}

div#header-main
{
  margin-top: -108px;
}

div#nav
{
  margin-top: 108px;
  position:relative;
  z-index:999;
}

div#header-image img
{
  display: block;
}

div#title
{
  background: transparent url("/images/title-bg.png") top center no-repeat;
  margin-bottom: 18px;
  padding-top: 54px;
}

div#title h1
{
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 36px;
  margin-bottom: 0;
  padding-left: 16px;
  text-transform: uppercase;
}


/* WIDGETS ***************************************************************************** WIDGETS */

/* action-button */

a.action-button,
a.action-button:link,
a.action-button:hover,
a.action-button:active,
a.action-button:visited,
span.action-button
{
  background: transparent url("/images/action-button.png") top center no-repeat;
  color: #fff !important;
  display: block;
  font-size: 10px;
  font-weight: bold;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 110px;
}

a.action-button:hover
{
  color: #333 !important;
}

#used-cars-show a.action-button,
#used-cars-show a.action-button:link,
#used-cars-show a.action-button:hover,
#used-cars-show a.action-button:active,
#used-cars-show a.action-button:visited
{
  background-image: url("/images/action-button-dark.png");
}

/* ??? home-primary */

#home-primary
{
  margin-bottom: 20px;
  margin-top: 20px;
  background: url("/images/bg-home-primary.gif") top right no-repeat;
}

/*#home-primary .container .login {
  text-align:right;
  margin-bottom: -36px;
}*/

#home-primary .members .content
{
  padding: 20px 20px 0px 10px;
}

#home-primary .members .content h3
{
  border-bottom: solid 1px #f54956;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

#home-primary .members .content p
{
  color: #ffffff;
  font-size: 11px;
  line-height: 14px;
  margin: 0 0 5px 0;
  padding: 0;
}

#home-primary .members .content .buttons
{
  padding-left: 55px;
}

#home-primary .members .content img
{
  margin-bottom:10px;
}

#home-primary .members .content label
{
  color: #ffffff;
  font-size: 10px;
  display: block;
  float: left;
  width: 60px;
}

#home-primary .members .content input
{
  width: 135px;
  height: 16px;
}

#home-primary .members .content #user_session_submit
{
  width: 71px;
  height: 21px;
}

#home-primary .members .content form.formtastic fieldset ol li
{
  margin-bottom: 5px;
}

#home-primary .members .content p.inline-hints
{
  margin-left: 60px;
  margin-top: 2px;
}

#home-primary .members .content p.inline-hints a,
#home-primary .members .content p.inline-hints a:link,
#home-primary .members .content p.inline-hints a:visited,
#home-primary .members .content p.inline-hints a:active
{
  color: #ff7373;
  text-decoration: none;
}

#home-primary .members .content p.inline-hints a:hover
{
  text-decoration: underline;
}

/* actions-bar */

div.actions-bar div.main a,
div.actions-bar div.main h2
{
  font-size: 11px;
  line-height: 36px;
  margin: 0 0 0 18px;
}

div.actions-bar div.actions ul
{
  list-style-type: none;
  margin: 0;
}

div.actions-bar div.actions li
{
  float: right;
  padding: 9px 18px 9px 0;
}

/* back-link */

a.back-link,
a.back-link:link,
a.back-link:hover,
a.back-link:active,
a.back-link:visited
{
  background-image: url("/images/back-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/back-link.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.back-link:hover
{
  color: #000 !important;
  background-image: url("/images/back-link-roll.png");
}

/* address */

#footer div.address
{
  color: #888;
  font-size: 11px;
  margin-bottom: 18px;
  width: 145px;
}

#footer div.address p
{
  margin-bottom: 0;
}

#footer div.address a, 
#footer div.address a:link,
#footer div.address a:visited,
#footer div.address a:active
{
  color: #ed1c24 !important;
  font-weight: bold;
  text-decoration: none;
}

#footer div.address a:hover
{
  color: #666 !important;
  font-weight: bold;
  text-decoration: none;
}
/*
#footer div.address a span
{
  color: #666;
}*/

/* car-list */

table.car-list
{
  border-collapse: collapse;
}

table.car-list tr
{
  background: transparent url("/images/car-list-bg.png") bottom center repeat-x;
  height: 126px;
}

table.car-list tr.last
{
  background: transparent;
}

table.car-list td
{
  padding: 0;
}

table.car-list td.images img
{
  display: block;
}

table.car-list td.info
{
  padding: 0 10px;
}

table.car-list td.info h3
{
  color: #000;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 0;
}

table.car-list td.info h3 a,
table.car-list td.info h3 a:link,
table.car-list td.info h3 a:hover,
table.car-list td.info h3 a:active,
table.car-list td.info h3 a:visited
{
  color: #000  !important;
  font-weight: normal !important;
  text-decoration: none;
}

table.car-list td.info p
{
  color: #545454;
  margin-bottom: 0;
}

table.car-list td.actions
{
  width: 100px;
}
table.car-list td.actions p
{
  color:black;
  font-size:11px;
  font-weight:bold;
  margin:-20px 0 5px;
  text-align:center;
}

table.car-list td.actions strong
{
  display: block;
  font-size: 24px;
  line-height: 24px;
  margin-bottom: 18px;
  text-align: center;
}

table.car-list ul
{
  list-style-type: none;
  margin: 0;
}

table.car-list td.images ul li,
table.car-list td.info ul li
{
  float: left;
  margin-right: 10px;
}

table.car-list td.actions ul li
{
  margin-bottom: 6px;
}

table.car-list td ul li.last
{
  margin: 0;
}

#search-show table.car-list td.images
{
  width: 356px;
}

#new-cars table.car-list td.images
{
  width: 112px;
}

table.car-list td.info a,
table.car-list td.info a:link,
table.car-list td.info a:visited
{
  color: #000000 !important;
  font-weight: normal !important;
  text-decoration:none;
}

table.car-list td.info a:hover
{
  color:#666666 !important;
  text-decoration:none;
}

#favourites-show table.car-list td.info a,
#favourites-show table.car-list td.info a:link,
#favourites-show table.car-list td.info a:visited
{
  color: #000000 !important;
  font-weight: normal !important;
  text-decoration: none;
}

#favourites-show table.car-list td.info a:hover
{
  color: #666666 !important;
  text-decoration: none;
}

#users-edit table.car-list td.images
{
  width: 110px;
}

#users-edit table.car-list td.info .more,
#users-edit table.car-list td.info a.more 
{
  background: url("/images/btn-more-info-roll.gif") no-repeat bottom left;
  color: #545454 !important;
  display: block;
  font-weight: normal !important;
  height: 17px;
  margin-top: 3px;
  padding-left: 20px;
  text-decoration: none;
}

#users-edit table.car-list td.info a:hover.more
{
  background: url("/images/btn-more-info-roll.gif") no-repeat bottom left;
  color: #000000 !important;
}

#users-edit table.car-list td.info .remove,
#users-edit table.car-list td.info a.remove
{
  background: url("/images/btn-remove-fav-roll.gif") no-repeat bottom left;
  padding-left:20px;
  height:17px;
  display:block;
  text-decoration:none;
  margin-top:3px;
  color:#545454 !important;
  font-weight: normal !important;
}

#users-edit table.car-list td.info a:hover.remove
{
  background: url("/images/btn-remove-fav-roll.gif") no-repeat bottom left;
  color:#000000 !important;
}

#users-edit table.car-list td.kms
{
  width: 100px;
}

#users-edit table.car-list td.transmission
{
  width: 100px;
}

#users-edit table.car-list td.actions
{
  width: 100px;
}

/* car-view */

div.car-view
{
  background: #efefef;
  margin-bottom: 18px;
  padding-bottom: 8px;
}

div.car-view div.title
{
  background: #333;
  color: #fff;
}

div.car-view div.title div.heading h2
{
  color:#FFFFFF;
  font-size:20px;
  line-height:22px;
  margin:10px 0 7px;
  padding:0 18px;
}
div.car-view div.title div.actions p
{
  color:#FFFFFF;
  font-size:10px;
  margin-left:0;
  margin-top:-5px;
  text-align:center;
  margin-bottom:0px;
}

div.car-view div.title div.actions div
{
  padding: 9px 18px;
}

div.car-view div.title div.actions span
{
  float: right;
  margin-left: 18px;
}

div.car-view div.title div.actions strong
{
  font-size: 22px;
  line-height: 18px;
}

div.car-view div.photos
{
  padding: 18px 0 0 18px;
  width: 438px;
}

div.car-view div.photos img
{
  display: block;
}

div.car-view div.photos hr
{
  margin: 10px 0 0 0;
}

div.car-view div.photos ul
{
  list-style-type: none;
  margin: 10px 0 0 -10px;
}

div.car-view div.photos ul li
{
  float: left;
  margin: 0 0 10px 10px;
}

div.car-view div.details
{
  padding: 18px 18px 10px 0;
  width: 465px;
}

div.car-view table
{
  width: 100%;
}

div.car-view tr.even th,
div.car-view tr.even td
{
  background: #e1e1e1;
}

div.car-view div.details th
{
  font-weight: normal;
}

/* cmi-box */

div.cmi-box
{
  background: #efefef url("/images/cmi-box-top-bg.png") top center no-repeat;
  margin-bottom: 18px;
}

div.cmi-box div.content
{
  background: transparent url("/images/cmi-box-bottom-bg.png") bottom center no-repeat;
  padding: 18px 18px 0 18px;
}

div.cmi-box div.content .list a,
div.cmi-box div.content .list a:link,
div.cmi-box div.content .list a:active,
div.cmi-box div.content .list a:visited
{
  text-decoration:none;
  text-transform:uppercase;
  color:#333333 !important;
}

div.cmi-box div.content .list a:hover
{
  text-decoration:underline;
  color:#666666 !important;
}

div.cmi-box div.content .list .checkbox
{
  margin:0;
  padding:0;
}

div.cmi-box div.content .aside
{
  margin-top:0px
}

div.cmi-box div.content .aside .palette
{
  background:#dddddd; 
  padding:20px; 
  margin-bottom:50px;
}

div.cmi-box div.content .aside .palette h3
{
  color:#6a6a6a; 
  margin-bottom:0px;
  font-size:14px;
}

div.cmi-box div.content .aside .palette hr
{
  background: #959595; 
  color: #959595;
  margin: 10px 0;
}

div.cmi-box div.content h3
{
  color: #000;
  font-size: 1.2em;
  font-weight: bold;
  padding: 0;
  text-transform: uppercase;
  line-height:18px;
}

body#used-cars-show div.cmi-box div.content h3
{
  color: #bababa;
}

/* cmi-box-dark -> cmi-box */

div.cmi-box-dark
{
  background: #d6d6d6 url("/images/cmi-box-dark-top-bg.png") top center no-repeat !important;
}

div.cmi-box-dark div.content
{
  background-image: url("/images/cmi-box-dark-bottom-bg.png") !important;
}

/* cmi-search */

form.cmi-search fieldset.inputs ol
{
  list-style-type: none;
  margin: 0 0 18px -10px;
}

form.cmi-search fieldset.inputs li
{
  display: block;
  float: left;
  margin-left: 10px;
  width: 340px;
}

form.cmi-search fieldset.inputs li.hidden
{
  display: none;
}

form.cmi-search fieldset.inputs li.half-col
{
  width: 165px; /* Should be 165.5px */
}

form.cmi-search fieldset.inputs li.half-col select
{
  width: 85px;
}

form.cmi-search fieldset.inputs label
{
  width: 80px;
}

form.cmi-search fieldset.inputs li.small-label label
{
  width: 20px;
}

form.cmi-search fieldset.buttons
{
  padding-left: 80px;
}

form.cmi-search fieldset ol li.boolean
{
  width: auto;
}

form.cmi-search fieldset ol li.boolean label
{
  padding-left: 80px;
}
body#home form.cmi-search fieldset.buttons a {
  color:#ED1C24;
  font-size:11px;
  font-weight:normal;
  line-height:28px;
  text-decoration:none;
}
body#home form.cmi-search fieldset.buttons a:hover {
  color:#666666;
  font-size:11px;
  font-weight:normal;
  line-height:28px;
  text-decoration:underline;
}

/* body#home form.cmi-search */

body#home form.cmi-search fieldset.inputs li
{
  width: 314px;
  margin-bottom: 4px;
}

body#home form.cmi-search fieldset.inputs li.half-col
{
  width: 152px;
}

body#home form.cmi-search fieldset.inputs li.half-col select
{
  width: 92px;
}

body#home form.cmi-search fieldset.inputs label
{
  width: 60px;
}

body#home form.cmi-search fieldset.inputs li.small-label label
{
  width: 20px;
}

body#home form.cmi-search fieldset.buttons
{
  padding-left: 60px;
}

body#home form.cmi-search fieldset ol li.boolean
{
  width: auto;
}

body#home form.cmi-search fieldset ol li.boolean label
{
  padding-left: 60px;
}

/* contact-dealer */

.contact-dealer{font-weight:bold;text-align:center;}
.contact-dealer span{background:transparent url(/images/contact-dealer-bg.png) top left no-repeat;display:inline-block;line-height:31px;padding-left:10px;}
.contact-dealer span span{background:transparent url(/images/contact-dealer-bg.png) bottom right no-repeat;display:inline-block;height:31px;line-height:31px;padding-right:10px;}
.contact-dealer strong{color:#D1060A;}

/* edit-title-button */

.edit-title-button
{
  height: 14px;
  float: left;
  line-height: 14px;
  margin-top: -28px;
  text-align: right;
  width: 100%;
}

/* elastic-button */

.elastic-button,
.elastic-button span
{
  color: #fff;
  background-image: url("/images/elastic-button.png");
  font-weight: normal;
  text-transform: uppercase;
}

.elastic-button span
{
  height: 26px;
  line-height: 26px;
}

/* elastic-button-alt -> elastic-button */

.elastic-button,
.elastic-button span
{
  background-image: url("/images/elastic-button-alt.png");
}

/* favourite-link */

a.favourite-link,
a.favourite-link:link,
a.favourite-link:hover,
a.favourite-link:active,
a.favourite-link:visited
{
  background-image: url("/images/favourite-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/favourite-link-roll.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.favourite-link:hover
{
  color: #000 !important;
  background-image: url("/images/favourite-link-roll.png");
}

/* features-box */

/*div.features-box h3
{
  background: transparent url("/images/features-box-heading-bg.png") top center no-repeat;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  height: 50px;
  line-height: 36px;
  margin: 0 0 -18px 0;
  padding-top: 4px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 200px;
  z-index: 1;
}

div.features-box div.cmi-box
{
  background-image: url("/images/features-box-top-bg.png") !important; /* important, overriding another widget * /
  margin-bottom: 0 !important; /* important, overriding another widget * /
}

div.features-box div.cmi-box div.content
{
  background-image: url("/images/features-box-bottom-bg.png") !important; /* important, overriding another widget * /
  padding-bottom: 18px !important; /* important, overriding another widget * /
}

div.features-box ul
{
  list-style-type: none;
  margin-left: -10px;
  width: 439px;
}

div.features-box li
{
  float: left;
  margin-left: 10px;
  width: 209px;
}*/

/* friend-link */

a.friend-link,
a.friend-link:link,
a.friend-link:hover,
a.friend-link:active,
a.friend-link:visited
{
  background-image: url("/images/friend-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/friend-link-roll.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.friend-link:hover
{
  color: #000 !important;
  background-image: url("/images/friend-link-roll.png");
}

/* info-link */

a.info-link,
a.info-link:link,
a.info-link:hover,
a.info-link:active,
a.info-link:visited
{
  background-image: url("/images/info-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/info-link-roll.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.info-link:hover
{
  color: #000 !important;
  background-image: url("/images/info-link-roll.png");
}

/* last */

/* FIXME: This isn't good, we're duplicating code already in Blueprint. */
div.last
{
  border: none !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

/* location-details */

.location-details
{
  width: 235px;
}

/* new-cars-list */

ul.new-cars-list
{
  list-style-type: none;
  margin: 0 0 0 0;
  width: 924px;
}

ul.new-cars-list li
{
  float: left;
/*  margin-right: 2px;*/
}

/* member-details */

table.member-details th,
table.member-details td
{
  vertical-align: top;
}

table.member-details th
{
  font-weight: normal;
  padding-left: 0;
  width: 30%;
}

table.member-details td
{
  font-weight: bold;
}

/* pagination */

div.pagination
{
  background: transparent url("/images/pagination-bg-right.png") right center no-repeat;
  float: right;
  height: 23px;
  line-height: 23px;
  margin-bottom: 18px;
}

div.pagination p
{
  background: transparent url("/images/pagination-bg-left.png") left center no-repeat;
  display: inline; /* Fix IE 6 double margin bug. */
  float: right;
  font-weight: bold;
  height: 23px;
  line-height: 23px;
  margin: 0 10px 0 0;
  padding-left: 10px;
  text-transform: uppercase;
}

div.pagination a,
div.pagination span
{
  float: left;
  padding: 0 0.5em;
}

div.pagination a.disabled,
div.pagination span.disabled
{
  display: none;
}

div.pagination a,
div.pagination a:link,
div.pagination a:hover,
div.pagination a:active,
div.pagination a:visited
{
  color: #000 !important;
  font-weight: normal !important;
  text-decoration: none;
}

div.pagination a:hover
{
  color: #a3120f !important;
}

div.pagination a.prev_page,
div.pagination span.prev_page
{
  background: transparent url("/images/pagination-prev-page-bg.png") left center no-repeat;
  padding-left: 10px;
}

div.pagination a.next_page,
div.pagination span.next_page
{
  background: transparent url("/images/pagination-next-page-bg.png") right center no-repeat;
  padding-right: 10px;
}

div.pagination span.current,
div.pagination a.current,
div.pagination a.current:link,
div.pagination a.current:hover,
div.pagination a.current:active,
div.pagination a.current:visited
{
  color: #a3120f !important;
}

/* print-link */

a.print-link,
a.print-link:link,
a.print-link:hover,
a.print-link:active,
a.print-link:visited
{
  background-image: url("/images/print-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/print-link.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.print-link:hover
{
  color: #000 !important;
  background-image: url("/images/print-link-roll.png");
}

/* progress-tabs */

div.progress-tabs
{
  background: transparent url("/images/progress-tabs-bg.jpg") top center repeat-x;
}

div.progress-tabs ol
{
  float: left;
  list-style-type: none;
  margin: 0;
}

div.progress-tabs ol li
{
  float: left;
  height: 90px;
}

div.progress-tabs div
{
  float: right;
}

div.progress-tabs img
{
  display: block;
}

/* results-per-page */

div.results-per-page,
div.results-per-page p
{
  float: left !important; /* important, overriding pagination */
}

/* save-link */

a.save-link,
a.save-link:link,
a.save-link:hover,
a.save-link:active,
a.save-link:visited
{
  background-image: url("/images/save-link-roll.png"); /* Preloads the rollover image. */
  background: transparent url("/images/save-link.png") left center no-repeat;
  color: #545454 !important;
  display: block;
  font-size: 11px;
  font-weight: normal !important;
  padding-left: 19px;
  padding-top: 2px;
  text-decoration: none;
}

a.save-link:hover
{
  color: #000 !important;
  background-image: url("/images/save-link-roll.png");
}

/* search-image */

#search-new div.search-image
{
  position: relative;
  z-index: 1;
}

/* sort-order */

div.sort-order
{
  float: left;
  height: 23px;
  line-height: 23px;
  margin-bottom: 18px;
}

div.sort-order p
{
  display: inline; /* Fix IE 6 double margin bug. */
  float: left;
  font-weight: bold;
  height: 23px;
  line-height: 23px;
  margin: 0 10px 0 0;
  padding-left: 10px;
  text-transform: uppercase;
}

div.sort-order a,
div.sort-order span
{
  padding: 0 0.5em;
}

div.sort-order a,
div.sort-order a:link,
div.sort-order a:hover,
div.sort-order a:active,
div.sort-order a:visited
{
  color: #000 !important;
  float: left;
  font-weight: normal !important;
  text-decoration: none;
}

div.sort-order a:hover
{
  color: #a3120f !important;
}

div.sort-order a.asc,
div.sort-order a.asc:link,
div.sort-order a.asc:hover,
div.sort-order a.asc:active,
div.sort-order a.asc:visited
{
  display: block;
  background: transparent url("/images/sort-order-asc-bg.png") right center no-repeat;
  padding-right: 10px;
  width: 60px;
  text-align: center;
}

div.sort-order a.desc,
div.sort-order a.desc:link,
div.sort-order a.desc:hover,
div.sort-order a.desc:active,
div.sort-order a.desc:visited
{
  display: block;
  background: transparent url("/images/sort-order-desc-bg.png") right center no-repeat;
  padding-right: 10px;
  width: 60px;
  text-align: center;
}

/* space */

hr.space
{
  margin-bottom: -1px; /* this is bad: don't override, extend */
}

/* sf-menu */

#nav ul.sf-menu,
#nav ul.sf-menu *
{
  font-size: 12px;
}

#nav ul.sf-menu
{
  font-family: inherit;
  margin-bottom: 0;
  text-transform: none;
}

#nav ul.sf-menu li
{
  background: transparent;
}

#nav ul.sf-menu a
{
  padding: 9px 18px 9px 0;
}

#nav ul.sf-menu li:hover,
#nav ul.sf-menu li.sfHover,
#nav ul.sf-menu a:focus,
#nav ul.sf-menu a:hover,
#nav ul.sf-menu a:active
{
  color: #ed1c24 !important;
}

#nav ul.sf-menu li li
{
  background: #373737;
  
}

#nav ul.sf-menu li li a
{
  padding: 5px 9px;
}
.login-bar {
  position:relative;
  z-index: 1;
  text-align:right;
  margin-bottom: -36px;
  font-size:10px;
}
.login-bar a
{
  color:#353535 !important;
  text-decoration:none;
}
.login-bar a:hover
{
  color:#ef353c !important;
  text-decoration:none;
}

/* tab-bar */

ul.tab-bar
{
  height: 36px;
  font-size: 10px;
  font-weight: bold;
  margin: 0 0 18px 0;
  text-transform: uppercase;
}

ul.tab-bar li
{
  background: #e1e1e1 url("/images/tab-bar-bg.png") top center repeat-x;
  float: right;
  line-height: 36px;
  list-style-type: none;
}

ul.tab-bar li.last
{
  background: #e1e1e1 url("/images/tab-bar-left-last.png") top left no-repeat;
}

ul.tab-bar li.act
{
  background: #efefef url("/images/tab-bar-left-act.png") top left no-repeat;
}

ul.tab-bar li.act.last
{
  background-image: url("/images/tab-bar-left-last-act.png");
}

ul.tab-bar span,
ul.tab-bar a,
ul.tab-bar a:link,
ul.tab-bar a:active,
ul.tab-bar a:visited
{
  color: black;
  display: block;
  margin-bottom: -4px;
  padding: 4px 3em 0 3em;
  text-decoration: none;
  color:#4a4a4a !important;
}

ul.tab-bar a:hover
{
  color: black !important;
}

ul.tab-bar li.first span,
ul.tab-bar li.first a,
ul.tab-bar li.first a:link,
ul.tab-bar li.first a:hover,
ul.tab-bar li.first a:active,
ul.tab-bar li.first a:visited
{
  background: transparent url("/images/tab-bar-right-first.png") top right no-repeat;
}

ul.tab-bar li.act span,
ul.tab-bar li.act a,
ul.tab-bar li.act a:link,
ul.tab-bar li.act a:hover,
ul.tab-bar li.act a:active,
ul.tab-bar li.act a:visited
{
  background: transparent url("/images/tab-bar-right-act.png") top right no-repeat;
  color:#000000 !important;
}

ul.tab-bar li.act.first span,
ul.tab-bar li.act.first a,
ul.tab-bar li.act.first a:link,
ul.tab-bar li.act.first a:hover,
ul.tab-bar li.act.first a:active,
ul.tab-bar li.act.first a:visited
{
  background-image: url("/images/tab-bar-right-first-act.png");
}

h2.home
{
  background: url("/images/page-icon-home.gif") top left no-repeat;
}

h2.signup
{
  background: url("/images/page-icon-signup.gif") top left no-repeat;
}

h2.personal-details
{
  background: url("/images/page-icon-personal-details.gif") top left no-repeat;
}

h2.service-booking
{
  background: url("/images/page-icon-book-service.gif") top left no-repeat;
}

h2.saved-search
{
  background: url("/images/page-icon-saved-search.gif") top left no-repeat;
}

h2.favourites
{
  background: url("/images/page-icon-favourites.gif") top left no-repeat;
}

h2.vehicle-search
{
  background: url("/images/page-icon-search.gif") top left no-repeat;
}

/* tabbed-cmi-box */

div.tabbed-cmi-box .heading
{
  display: inline;
  float: left;
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
/*  margin-bottom: 1px;*/
  padding-left: 40px;
  text-transform: uppercase;
}

div.tabbed-cmi-box ul.tab-bar
{
  height: 54px;
  margin-bottom: -18px;
  position: relative;
  z-index: 1;
}

div.tabbed-cmi-box div.cmi-box div.content
{
  padding-top: 40px;
}

div.tabbed-cmi-box ul.tab-bar span,
div.tabbed-cmi-box ul.tab-bar a
{
  padding-bottom: 18px;
}

#home-secondary div.cmi-box
{
  background: #efefef url("/images/cmi-box-home-top-bg.png") top center no-repeat;
  margin-bottom: 18px;
}

#home-secondary div.cmi-box div.content
{
  background: transparent url("/images/cmi-box-home-bottom-bg.png") bottom center no-repeat;
  padding-top: 18px;
}

#home-secondary .home-search div.cmi-box div.content
{
  min-height: 191px;
}

#search-new div.tabbed-cmi-box
{
  margin-top: 54px !important; /* important, overriding another widget */
}

#search-new div.tabbed-cmi-box div.content
{
  padding-left: 240px !important; /* important, overriding another widget */
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li
{
  float: left;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li
{
  background-image: url("/images/tab-bar-show-bg.png") !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first
{
  background: transparent url("/images/tab-bar-show-left-first.png") left center no-repeat !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last
{
  background: transparent url("/images/tab-bar-show-bg.png") top center repeat-x !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act
{
  background-image: url("/images/tab-bar-show-left-act.png") !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act.first
{
  background-image: url("/images/tab-bar-show-left-first-act.png") !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act.last
{
  background: transparent url("/images/tab-bar-show-left-act.png") top left no-repeat !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first span,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first a,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first a:link,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first a:hover,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first a:active,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.first a:visited
{
  background-image: url("/images/tab-bar-show-right-first.png") !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last span,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last a,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last a:link,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last a:hover,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last a:active,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.last a:visited
{
  background: transparent url("/images/tab-bar-show-right-last.png") top right no-repeat !important;
}

#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act span,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act a,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act a:link,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act a:hover,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act a:active,
#used-cars-show div.tabbed-cmi-box ul.tab-bar li.act a:visited
{
  background-image: url("/images/tab-bar-show-right-act.png") !important;
}

#used-cars-show div.tabbed-cmi-box div.cmi-box
{
  background-image: url("/images/features-box-top-bg.png") !important; /* important, overriding another widget */
  margin-bottom: 0 !important; /* important, overriding another widget */
}

#used-cars-show div.tabbed-cmi-box div.cmi-box div.content
{
  background-image: url("/images/features-box-bottom-bg.png") !important; /* important, overriding another widget */
  padding-bottom: 18px !important; /* important, overriding another widget */
}

#used-cars-show div.tabbed-cmi-box div.cmi-box ul
{
  list-style-type: none;
  margin-left: -10px;
  width: 439px;
}

#used-cars-show div.tabbed-cmi-box div.cmi-box li
{
  float: left;
  margin-left: 10px;
  width: 209px;
}

body#new-cars-show div.tabbed-cmi-box div.cmi-box,
body#used-cars-show div.temp-new-car div.cmi-box
{
  background-image: url("/images/cmi-box-new-cars-top-bg.png") !important; /* important, overriding another widget */
}

body#new-cars-show div.tabbed-cmi-box div.cmi-box div.content,
body#used-cars-show div.temp-new-car div.cmi-box div.content
{
  background-image: url("/images/cmi-box-new-cars-bottom-bg.png") !important; /* important, overriding another widget */
}

body#info div.tabbed-cmi-box div.cmi-box div.primary
{
/*  padding-right: 0;*/
  width: 670px;
}
body#grades div.tabbed-cmi-box div.cmi-box div.primary
{
/*  padding-right: 0;*/
  width: 880px;
  margin-left:40px;
}

body#info div.tabbed-cmi-box div.cmi-box div.aside
{
/*  padding-top: 40px;*/
/*  padding: 18px 18px 18px 0;*/
  width: 234px;
}

/*
body#info div.tabbed-cmi-box div.cmi-box
{
  background-image: url("/images/cmi-box-info-top-bg.png") !important; /* important, overriding another widget * /
}

body#info div.tabbed-cmi-box div.cmi-box div.content
{
  background-image: url("/images/cmi-box-info-bottom-bg.png") !important; /* important, overriding another widget * /
}
*/

/* formtastic */

form.formtastic legend 
{
  background:transparent;
  text-transform: uppercase;
  color:#6a6a6a;
  padding-bottom:5px; 
  margin:0; 
}

form.formtastic fieldset ol li fieldset legend
{
  position: static;
}

form.formtastic p.info
{
  margin-bottom: 18px;
}

/* .errorExplanation */

.errorExplanation
{
  background:url("/images/icon-error.png") #f0c7c0 no-repeat top left;
  background-position:20px 22px; 
  color:#000000;
  font-weight:normal;
  padding:20px 20px 20px 70px;
  margin-bottom:20px;
}
.errorExplanation ul
{
  color:#bb1d06;
  font-weight:bold;
  margin-left:20px !important;
}
.errorExplanation li
{
    list-style:circle;
}
.errorExplanation h2
{
  font-size:12px;
  color:#bb1d06;
  font-weight:bold;
  text-transform:uppercase;
  line-height:18px;
}
.successExplanation
{
  background:url("/images/icon-success.png") #c0e0c4 no-repeat top left;
  background-position:20px 22px; 
  color:#000000;
  font-weight:normal;
  padding:20px 20px 20px 70px;
  margin-bottom:20px;
  margin-top: 20px;
}
.successExplanation ul
{
  color:#537a00;
  font-weight:bold;
  margin-left:20px !important;
}
.successExplanation li
{
    list-style:circle;
}
.successExplanation h2
{
  font-size:12px;
  color:#537a00;
  font-weight:bold;
  text-transform:uppercase;
  line-height:18px;
}

/* ----- Lightbox ----- */

.lightbox
{
  background:#f4f4f4;
  padding:75px;
  text-align:center;
}
.lightbox h2
{
  margin:0;
  padding:8px 0;
}
.lightbox form.formtastic input {
  margin-bottom:5px;
}
.lightbox img
{
  float:right;
  text-align:right;
}
.lightbox form.content, .lightbox div.content 
{
  text-align:left;
}

#banner-inner { width: 710px; height: 272px; }

div.lightbox { width: 500px; }

body.has-lightbox-form { background-color: #f4f4f4; }

p.gradeset {
  width:210px;
  float:left;
  font-size:10px;
  background:#c4c4c4;
  position:absolute;
  left:0;
  bottom:-17px;
  text-transform:uppercase;
  font-weight:bold;
  padding: 2px 0px 2px 10px;
  margin:0;
  height:13px;
}
.grade {
  width:210px;
  float:left;
  font-size:10px;
  margin-bottom:20px;
  margin-right:10px;
}
.grade a,
.grade a:visited,
.grade a:active,
.grade a:hover
{
  font-weight:normal!important;
}
.grade ul {
  margin:0;
  padding:0;
  width:200px;
  list-style-type:none;
}
.content .banner {
  display:block;
  float:left;
  width:837px;
  border-bottom:solid 1px #c4c4c4;
  margin-bottom:35px;
  position:relative;
}
.content .banner p {
  float:left;
  width:200px;
  text-transform:uppercase;
  font-weight:bold;
  font-size:10px;
}
.content .banner img {
  float:right;
  margin-bottom:10px;
}

.imgfix {display:block;}

/* Corporate videos */
#corporate-video { float: left; }
#corporate-video-sidebar { float: left; margin-left: 30px; width: 456px; }