/* AutoVilla.Net — rebuilt from the 2008 archived site */
body {
  margin: 0;
  padding: 14px 8px;
  background: #e9e9e9;
  font-family: Verdana, Geneva, Arial, sans-serif;
  color: #333333;
  font-size: 12px;
}
a { color: #333333; }
.wrap {
  width: 618px;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cccccc;
}

/* header / logo / nav */
.headrow {
  display: flex;
  flex-wrap: wrap;
}
.headrow img.logo { display: block; }
nav { display: flex; margin-left: auto; }
nav a img { display: block; }

/* page strip under nav */
.stripe { background: #EBEBEB; height: 14px; }

/* hero (home page only) */
.hero img { display: block; width: 100%; height: auto; }

/* sub-page title bar */
.subtitle { padding: 10px 0 8px 10px; }
.subtitle img { display: block; }

/* two column home boxes */
.cols { display: flex; gap: 10px; padding: 10px; }
.col { background: #F1F1F1; flex: 1; min-width: 0; }
.col img.boxhead { display: block; width: 100%; height: auto; }
.boxbody { padding: 10px; }
.boxbody p { margin: 0 0 10px 0; line-height: 1.5; }
.boxbody a.more { color: #F20000; font-weight: bold; text-decoration: none; }
.boxbody a.more:hover { text-decoration: underline; }
.inv-thumb { text-align: center; padding: 10px 0; }
.inv-thumb img { max-width: 90%; height: auto; }
.spacer10 { height: 10px; background: #ffffff; }

/* generic content panel for sub-pages */
.panel { padding: 10px 14px 20px; }
.panel p { line-height: 1.6; margin: 0 0 12px 0; }
.panel-cols { display: flex; gap: 20px; flex-wrap: wrap; }
.panel-cols > div { flex: 1; min-width: 240px; }

/* financing links box */
.finks { background: #EFEFEF; padding: 6px 8px; margin-bottom: 14px; }
.finks div { padding: 4px 0; }
.finks a { font-weight: bold; color: #333333; }
.finks a:hover { color: #F20000; }
.fin-highlight { color: #CC3300; font-weight: bold; }

/* contact page */
.hours { width: 220px; margin-top: 10px; font-size: 11px; }
.hours td { padding: 2px 0; }
.hours .label { font-weight: bold; }
.map-link img { display: block; border: 1px solid #cccccc; }

/* inventory table */
table.inv { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
table.inv th { background: #888888; color: #ffffff; text-align: left; padding: 4px 6px; }
table.inv th.r, table.inv td.r { text-align: right; }
table.inv td { padding: 4px 6px; }
table.inv tr.shade { background: #EEEEEE; }
table.inv tr.make td { padding-top: 12px; font-weight: bold; color: #F20000; font-size: 13px; border-top: 2px solid #F20000; }
table.inv a { color: #000000; text-decoration: underline; }
table.inv a:hover { color: #F20000; }

/* footer */
.footbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F20000;
  color: #ffffff;
  padding: 4px 8px;
}
.footbar a { color: #ffffff; }
.footinfo {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 11px;
  gap: 10px;
  flex-wrap: wrap;
}
.footinfo .addr { line-height: 1.6; }
.footinfo .contact { text-align: right; line-height: 1.6; }
.footinfo .contact b { color: #333333; }
.credit { text-align: right; padding: 0 14px 14px; }
.credit img { vertical-align: middle; }

/* vehicle detail page */
.veh-title { background: #888888; color: #ffffff; padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.veh-body { display: flex; gap: 14px; padding: 14px; flex-wrap: wrap; }
.veh-photo { flex: 0 0 280px; text-align: center; }
.veh-photo .placeholder {
  width: 280px; height: 210px; background: #eeeeee;
  background-image: repeating-linear-gradient(45deg, #e2e2e2, #e2e2e2 10px, #eaeaea 10px, #eaeaea 20px);
  display: flex; align-items: center; justify-content: center;
  color: #999999; font-size: 11px; border: 1px solid #dddddd;
}
.veh-form { flex: 1; min-width: 240px; }
.veh-form table { width: 100%; border-collapse: collapse; font-size: 11px; }
.veh-form td { padding: 3px 6px; }
.veh-form .hd { background: #DDDDDD; font-weight: bold; padding: 4px 6px; }
.veh-form input[type="text"], .veh-form textarea { width: 95%; border: 1px solid #cccccc; padding: 3px; font-family: Verdana, Arial, sans-serif; }

.veh-details { padding: 0 14px; }
.veh-details table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 14px; }
.veh-details th { background: #DDDDDD; text-align: left; padding: 5px 8px; }
.veh-details td { padding: 5px 8px; border-bottom: 1px solid #eeeeee; }
.veh-details td.lbl { background: #EEEEEE; width: 140px; font-weight: bold; }

.veh-features { padding: 0 14px 14px; }
.veh-features table { width: 100%; border-collapse: collapse; font-size: 12px; }
.veh-features th { background: #DDDDDD; padding: 6px; text-align: center; }
.veh-features td { padding: 4px 8px; }

.veh-back { text-align: center; padding: 10px; }
.veh-back a { font-weight: bold; color: #F20000; text-decoration: none; }
.veh-back a:hover { text-decoration: underline; }
.veh-disclaimer { font-size: 10px; color: #888888; padding: 0 14px 14px; }

/* privacy page */
.privacy-title { color: #CC3300; font-weight: bold; font-size: 14px; margin-bottom: 10px; }
.privacy-num { color: #CC3300; font-weight: bold; }
.privacy-links { background: #EFEFEF; padding: 8px 10px; font-size: 12px; margin-bottom: 14px; }
.privacy-links div { padding: 3px 0; }

@media (max-width: 640px) {
  .headrow { flex-direction: column; }
  nav { margin-left: 0; width: 100%; }
  nav a { flex: 1; }
  nav a img { width: 100%; height: auto; }
  .cols { flex-direction: column; }
  .panel-cols { flex-direction: column; }
  .footinfo { flex-direction: column; text-align: left; }
  .footinfo .contact { text-align: left; }
  table.inv { font-size: 11px; }
}
