/* Car listings */
div#listings-top {
  clear: both;
  width: 970px;
  height: 6px;
  margin: 13px 0 0 0;
  background-image: url("../images/tiles/panel-970-top.gif");
  background-repeat: no-repeat;
}

div#listings {
  clear: both;
  width: 970px;
  padding: 18px 0 42px 0;
  background-color: #fff;
  background-image: url("../images/tiles/panel-970.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

div#listings p {
  float: right;
  padding: 0 32px 16px 0;
  font-size: 1.2em;
}

div#listings ul {
  float: left;
  margin: 0 0 16px 32px;
}

div#listings ul.bottom {
  margin: 30px 0 16px 32px;
}

div#listings ul li {
  display: inline;
  padding: 0 4px 0 8px;
  font-size: 1.2em;
  color: #999;
  background-image: url("../images/bullets/vertical-grey.gif");
  background-repeat: no-repeat;
  background-position: center left;
}

div#listings ul li:first-child {
  padding: 0 4px 0 0;
  background-image: none;
}

div#listings ul li a {
  font-weight: bold;
  color: #c50100;
}

div#listings dl {
  clear: both;
  float: left;
  margin: 0 0 0 32px;
}

div#listings dl dt {
  display: inline;
  padding: 0 4px 0 0;
  font-size: 1.3em;
}

div#listings dl dd {
  display: inline;
  font-size: 1.3em;
  font-weight: bold;
  color: #c50100;
}

div#listings div#no-results {
  clear: both;
  display: block;
  width: 933px;
  margin: 0 0 0 20px;
  font-size: 1.4em;
  text-align: center;
  padding: 20px 0 20px 0;
  background-color: #f0f0f0;
}

div#listings table {
  clear: both;
  display: block;
  width: 933px;
  margin: 20px 0 0px 20px;
  background-image: url("../images/tiles/933-red-top.gif");
  background-repeat: no-repeat;
}

div#listings table tr {
  cursor: pointer;
}

div#listings table tr.alt {
  background-color: #f0f0f0;
}

div#listings table tr.high {
  background-color: #3c3c3c;
}

div#listings table tr.high-clicked-even {
  background-color: #bff3d0;
}

div#listings table tr.high-clicked-odd {
  background-color: #22c558;
}

div#listings table tr th {
  border-right: #dedede 1px solid;
  padding: 12px 16px 12px 16px;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
}

div#listings table tr th:last-child {
  border: 0;
}

div#listings table tr th a {
  color: #fff;
  text-decoration: none;
}

div#listings table tr th.asc a {
  padding: 0 12px 0 0;
  background-image: url("../images/bullets/asc-sort.gif");
  background-repeat: no-repeat;
  background-position: center right;
}

div#listings table tr th.desc a {
  padding: 0 12px 0 0;
  background-image: url("../images/bullets/desc-sort.gif");
  background-repeat: no-repeat;
  background-position: center right;
}

div#listings table tr th a:hover {
  text-decoration: underline;
}

div#listings table tr td {
  border-right: #dedede 1px solid;
  border-bottom: #dedede 1px solid;
  font-size: 1.2em;
  vertical-align: middle;
  text-align: center;
}

div#listings table tr.high td {
  color: #fff;
}

div#listings table tr td:nth-child(2) {
  padding: 8px 0 0 16px;
  text-align: left;
  vertical-align: top;
}

div#listings table tr td.description {
  width: 100%;
  max-width: 300px;
  padding: 8px 16px 0 16px;
  text-align: left;
  vertical-align: top;
}

div#details table tr td.wordwrap {
  word-wrap: break-word;
  word-break: break-all;
}

div#listings table tr td:nth-child(1) img {
  float: left;
}

div#listings table tr td a:visited span {
  position: absolute;
  width: 92px;
  height: 69px;
  margin: 0 0 0 -92px;
  background-image: url("../images/cars/thumbnails/viewed-overlay.gif");
  background-repeat: no-repeat;
}

div#listings table tr td h3 {
  padding: 0 0 4px 0;
  font-size: 1.1em;
  font-weight: bold;
  color: #c50100;
  max-height: 22px;
  overflow: hidden;
}

div#listings table tr.high td h3 {
  color: #fff;
}

div#listings table tr td h3 a {
  text-decoration: none;
}

div#listings table tr td h3 a:hover {
  text-decoration: underline;
}

div#listings table tr.high td h3 a {
  color: #fff;
}

div#listings table tr td p {
  float: left;
  padding: 0;
  font-size: inherit;
  line-height: 17px;
}

div#listings table tr td a {
  color: #c50100;
}

div#listings table tr.high td a {
  color: #fff;
}

div#listings div.column {
  float: left;
  width: 335px;
  padding: 0 30px 0 30px;
  voice-family: "\"}\"";
  voice-family: inherit;
  width: 275px;
}

div#listings div.column dl {
  clear: both;
}

div#listings div.column dl dt {
  float: left;
  width: 90px;
  padding: 0 0 12px 0;
  font-size: 1.2em;
  font-weight: bold;
}

div#listings div.column dl dd {
  float: left;
  display: block;
  padding: 0 0 12px 0;
  font-size: 1.2em;
  line-height: 15px;
}

div#listings div.column form {
  clear: both;
}

div#listings div.column form label {
  display: block;
  padding: 6px 0 0 0;
}

div#listings div.column form input {
  float: left;
  margin: 0 6px 0 0;
  padding: 4px 0 3px 0;
}

div#listings div.column form input[type="image"] {
  padding: 0;
}

div#adcontainer {
  margin: 10px 18px 0px 19px;
  background: #fff;
}

div#listings #pagination {
  font-size: 12px;
  text-align:center;
  margin-top: 28px;
}

div#listings #pagination a {
  border: 1px solid #dedede;
  font-weight: bold;
  padding: 5px 7px;
  color: #c50100;
}
div#listings #pagination a:hover {
  background: #c50100;
  color: #fff;
  text-decoration: none;
}

div#listings #pagination span {
  padding: 5px 7px;
  border: 1px solid #dedede;
}
div#listings #pagination span.dots {
  border: none;
}

div#listings #pagination span.selected {
  background: #c50100;
  color: #fff;
  font-weight: bold;
}

div#listings #per-page {
  float: right;
  font-size: 12px;
  margin-right: 10px;
}

div#listings #per-page-select {
  margin-top: -5px;
  margin-left: 5px;
  float: right;
}

div#listings table#car-listings tr td a.visited span {
  position: absolute;
  width: 92px;
  height: 69px;
  margin: 0 -69px 0 -92px;
  background-image: url("../images/cars/thumbnails/viewed-overlay.gif");
  background-repeat: no-repeat;
}

div#listings .dealer-name-hidden, div#listings .engine-fuel-type-hidden {
  display: none;
  border: 1px solid #f1f1f1;
  color: #666;
  background: white;
  position: absolute;
  padding: 2px;
}

img.star {
  vertical-align: middle;
}

.video-icon {
  vertical-align: middle;
  float: right;
}

#preview {
  width: 400px;
  height: 300px;
}
.preview-overlay {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: #000;
  opacity: 0.7;
  font-size: 14px;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  line-height: 20px;
}

.preview-overlay img {
  vertical-align: middle;
}

/* new SR stuff */
#car-listings {
  margin: 0 20px;
}
#listings-header {
  font-size: 12px;
  font-weight: bold;
  color: #3C3C3C;
  clear: both;
  margin: 0 8px 10px;
}
#listings-header div {
  float: right;
  width: auto;
  padding: 5px;
  margin-left: 10px;
  text-align: right;
}
#listings-header a {
  text-decoration: underline;
}
#listings-header a:hover {
  text-decoration: none;
}
#listings-header div.asc a {
  padding: 0px 20px 0 0;
  background-image: url("/d2/images/asc.png");
  background-repeat: no-repeat;
  background-position: center right;
}
#listings-header div.desc a {
  padding: 0 20px 0 0;
  background-image: url("/d2/images/desc.png");
  background-repeat: no-repeat;
  background-position: center right;
}
#listings-header-sort {
  font-weight: normal !important;
  width: auto !important;
}
#listings-main {
  clear: both;
}

#listing-type {
  float: left;
}
#listing-type.srt0 {
  margin: -10px 1px 10px 20px;
}
#listing-type.srt1 {
  margin: 20px 0 -20px 20px;
}
#listing-type img {
  margin: 0 5px 5px 0;
}
.listing {
  margin-bottom: 10px;
  min-height: 164px;
  clear: both;
  cursor: pointer;
}
.listing-header {
  border-top: 1px solid #c50100;
  padding: 5px 10px 3px;
  background: #f0f0f0;
}
.listing h2 {
  width: 825px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 18px;
}

.listing-price {
  float: right;
  font-size: 1.6em;
  font-weight: bold;
  color: #3A3A3A;
}

.listing-main {
  padding: 8px 0 0 0;
  clear: both;
}

.listing-images {
  list-style: outside none none;
  width: 350px;
  float: left;
  overflow: hidden;
}

ul.listing-images {
  margin: 0 !important;
}
.listing-images li {
  float: left;
  margin: 0px 8px 8px 0px;
  position: relative;
  float: left;
  padding: 0 !important;
  background: none !important;
}

.listing-images li a {
  border: 1px solid #999;
  display: block;
  position: relative;
  text-decoration: none
}

.listing-images li a.visited span {
  background-image: url("/d2/images/viewed-overlay.gif");
  background-repeat: no-repeat;
  width: 165px;
  height: 124px;
  position: absolute;
  top: 0px;
  z-index: 4;
}

.listing-num-images{
  height: 30px;
  line-height: 30px;
  width: auto;
  text-align: center;
  color: #fff;
  font-weight: bold;
  background: #000;
  opacity: 0.5;
  position: absolute;
  bottom: 1px;
  left: 1px;
  padding: 0 5px;
  z-index: 3;
}

.listing-num-images > img {
  width: 14px !important;
  height: 14px !important;
  display: inline !important;
  vertical-align: text-bottom !important;
}

.listing-images li.secondary {
  height: 59px;
  overflow: hidden;
  width: 78px;
}

.listing-images li img {
  display: block;
  vertical-align: top;
}

.listing-images li.primary img {
  height: 124px;
  width: 165px;
}

.listing-features {
  clear: none;
  float: left;
  margin-top: 8px;
  max-height: 110px;
  width: 150px;
}

.listing-stars > img {
  margin-top: 0px;
  width: 18px;
  height: 17px;
}

.listing-features ul {
  margin: 0 !important;
  float: none !important;
}

.listing-features li {
  margin: 0px 0px 7px;
  line-height: 22px;
  font-size: 13px !important;
  font-weight: bold;
  padding: 0 0 0 25px !important;
  position: relative;
  display: block !important;
  float: none;
  display: inline;
  color: inherit !important;
  background: none !important;
}

.listing-features li i {
  display: block;
  position: absolute;
  top: 2px;
  left: 0px;
  width: 20px;
  height: 17px;
  background: url("/images/bullets/sr-sprite.png") no-repeat scroll 0px 0px transparent;
}

.listing-features .item-engine .feature {
  background-position: 0px 0px;
}
.listing-features .item-year .feature {
  background-position: 0px -20px;
}
.listing-features .item-colour .feature {
  background-position: -98px -305px;
}
.listing-features .item-nct .feature {
  background-position: -69px -20px;
}
.listing-features .item-owner .feature {
  background-position: -69px 0px;
}

.listing-features .item-seller .feature {
  background-position: -46px -20px;
}

.listing-features .item-transmission .feature {
  background-position: -23px 0px;
}

.listing-features .item-body .feature {
  background-position: -46px 0px;
}

.listing-features .item-odometer .feature {
  background-position: -23px -20px;
}

.listing-features .item-green-rating .feature {
  background-position: -92px 0px;
}

.listing-features .item-ncap .feature {
  background-position: -92px -20px;
}

.listing-features .item-swatch i{
  width: 18px;
  height: 18px;
  background: url("/images/swatches/swatches-sprite.png") no-repeat scroll 0px 0px transparent;
}

.listing-features .item-swatch .red{
  background-position: 0px 0px;
}
.listing-features .item-swatch .wine{
  background-position: 0px -24px;
}
.listing-features .item-swatch .brown{
  background-position: 0px -48px;
}
.listing-features .item-swatch .bronze{
  background-position: 0px -72px;
}
.listing-features .item-swatch .blue{
  background-position: -24px 0px;
}
.listing-features .item-swatch .light-blue{
  background-position: -24px -24px;
}
.listing-features .item-swatch .yellow{
  background-position: -24px -48px;
}
.listing-features .item-swatch .beige{
  background-position: -24px -72px;
}
.listing-features .item-swatch .green{
  background-position: -48px 0px;
}
.listing-features .item-swatch .light-green{
  background-position: -48px -24px;
}
.listing-features .item-swatch .orange{
  background-position: -48px -48px;
}
.listing-features .item-swatch .gold{
  background-position: -48px -72px;
}
.listing-features .item-swatch .turquoise{
  background-position: -72px 0px;
}
.listing-features .item-swatch .silver{
  background-position: -72px -24px;
}
.listing-features .item-swatch .grey{
  background-position: -72px -48px;
}
.listing-features .item-swatch .white{
  background-position: -72px -72px;
}
.listing-features .item-swatch .pink{
  background-position: -96px 0px;
}
.listing-features .item-swatch .purple{
  background-position: -96px -24px;
}
.listing-features .item-swatch .black{
  background-position: -96px -48px;
}

.listing-actions {
  float: right;
  margin-top: 8px;
  max-height: 110px;
  width: 110px;
}

.listing-location {
  font-size: 16px;
  font-weight: bold;
}

.listing-location/*, .listing-button*/ {
  margin-bottom: -14px;
  text-align: right;
  font-size: 12px;
}

.listing-button {
  margin-bottom: 5px;
}

.listing-save, .listing-enquire {
  height: 26px;
  line-height: 26px;
}

.listing-save a, .listing-enquire a {
  font-size: 12px;
  color: #c50100;
  font-weight: bold;
  background-repeat: no-repeat;
  background-position: left top;
  padding-left: 25px;
}

.listing-save a {
  background-image: url('/images/bullets/yellow-star.png');
}

.listing-enquire a {
  background-image: url("/d2/images/sprite-chrome.png");
  background-position: -2px -75px;
}

a.listing-link {
  display: block;
  width: 109px;
  height: 28px;
  line-height: 28px;
  color: #fff;
  font-weight: bold;
  background-image: url('/images/buttons/109-red.gif');
  font-size: 12px;
  text-decoration: none;
  margin-top: 20px;
}
a.listing-link:hover {
  background-image: url('/images/buttons/109-red-over.gif');
}

div#search.inline {
  clear: none;
  float: none;
  width: auto;
  margin: 0;
  background: none;
}

div#search.inline #outer-wrapper {
  clear: none;
  width: auto;
  padding: 0;
  background: none;
}

div#search.inline #outer-wrapper #form-wrapper {
  clear: none;
  width: auto;
  padding: 0;
  background: none;
}

div#search.inline #outer-wrapper #form-wrapper #inner-form-wrapper {
  background: none;
}

div#search.inline #make-model-legend {
  margin-left: 0;
}

div#search div#outer-wrapper div#form-wrapper form legend {
  color: #fff;
}

div#search.inline #outer-wrapper #form-wrapper #advanced-left {
  padding: 0 20px 0 0;
}

div#search.inline #outer-wrapper #form-wrapper #advanced-middle {
  padding: 0 20px 0 0;
}

div#search.inline #outer-wrapper #form-wrapper form label {
  color: #fff;
  font-size: 12px;
}

div#search.inline #outer-wrapper #form-wrapper form #advanced-left select {
  width: 128px;
  font-size: 12px;
}

div#search.inline #outer-wrapper #form-wrapper form ol li {
  padding: 0px 0px 10px;
}
div#search.inline label {
  text-align: left;
  vertical-align: top;
  margin: 2px 0px 0px;
  width: 84px;
}

div#search.inline #outer-wrapper #form-wrapper #advanced-right input[type="submit"] {
  font-size: 15px;
}

div#search.inline .makes-models {
  padding-left: 0;
}

div#search.inline a {
  color: #fff;
}