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

div#details h1 {
  padding: 30px 0 14px 30px;
  font-size: 2.2em;
  background-image: url("../images/tiles/panel-970-top.gif");
  background-repeat: no-repeat;
}

div#details h2 {
  padding: 12px 0 14px 30px;
  font-size: 1.8em;
  color: #c50100;
}

div#details ul {
  float: right;
  margin: -30px 46px 0 0;
}

div#details ul li {
  padding: 0 0 10px 0;
  font-size: 1.2em;
  text-align: right;
}

div#details ul li:first-child {
  font-weight: bold;
}

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

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

div#details ul.broken {
  padding: 0 0 14px 0;
  margin-right: 17px;
}

div#details ul.broken li {
  display: block;
  padding: 0 4px 12px 8px;
  font-size: 1.2em;
  font-weight: normal;
  color: inherit;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center left;
}

div#details 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#details table {
  clear: both;
  display: block;
  width: 933px;
  margin: 0 0 0 20px;
  background-image: url("../images/tiles/933-red-top.gif");
  background-repeat: no-repeat;
}

div#details table tr {
  cursor: pointer;
}

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

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

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

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

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

div#details 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#details 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#details table tr th a:hover {
  text-decoration: underline;
}

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

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

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

div#details 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#details table tr td:nth-child(1) img {
  float: left;
}

div#details table tr 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#details table tr td h3 {
  padding: 0 0 4px 0;
  font-size: 1.1em;
  font-weight: bold;
  color: #c50100;
  max-height: 22px;
  overflow: hidden;
}

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

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

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

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

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

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

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

div#details table 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#details div.column {
  float: left;
  width: 355px;
  padding: 0 30px 0 30px;
  voice-family: "\"}\"";
  voice-family: inherit;
  width: 295px;
}

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

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

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

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

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

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

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

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


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

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

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

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

div#details ul.broken li form {
  display: inline;
}

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

div#details #per-page-select {
  margin-right: 10px;
}

div#details #per-page-select.webkit {
  margin-top: -16px;
}

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

div#details #opening_hours table {
  background: none;
  clear: none;
  margin: auto;
  width: auto;
  font-size: 10px;
  float: none;
  position: relative;
  top: -2px;
  left: -2px;
}

div#details #opening_hours table td {
  text-align: left;
  padding: 0 2px;
  vertical-align: middle;
  border: none;
  cursor: text;
}

div#details #opening_hours table tr td:nth-child(2) {
  padding: 0 8px;
}

div#details div.column dl dd#opening_hours {
  float: none;
}

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

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

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

#directions-img-div {
  position: relative;
  float: left;
}

#click-to-view-map {
  position: absolute;
  bottom: 15px;
  right: 0px;
}

#sales-team {
  margin: 10px 15px 30px 30px;
  font-size: 1.2em;
}

#sales-team-picture {
  width: 245px;
  height: 138px;
  float: right;
}

#sales-team-list {
  width: 665px;
}

#sales-team-title {
  font-weight: bold;
  margin-bottom: 20px;
}

.sales-team-member {
  width: 200px;
  padding-right: 20px;
  float: left;
  margin-bottom: 20px;
}

.sales-team-member img {
  float: left;
  margin-right: 10px;
  border-radius: 5px;
}

.sales-team-member div {
  float: left;
  line-height: 1.6em;
  width: 130px;
}