body {
  background: #FFF;
  font: normal 100% Trebuchet MS, sans-serif ! important;
  color: #000;
  margin: 30px;
  line-height: 1.3em;
}

h1, h2, h3, h4, h5, h6, u {
  margin-top: 1.2em;
  margin-bottom: 0.2em;
  text-transform: uppercase;
}
h1 { font-size: 170%; margin-top: 0em; }
h2 { font-size: 130%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; color: #000; }
h5 { font-size: 100%; color: #000; }
h6 { font-size: 90%; color: #000; }

li, li ul, li ol {
     margin-top: 0.3em;
  margin-bottom: 0.3em;
}

p, ul, ol {
     margin-top: 0.8em;
  margin-bottom: 0.8em;
}

a { text-decoration: underline; }
h1, h2, h3, h4, h5, h6, u, .ASMred, a { color: #E72727; }
a:active,
a:hover { background: #EEE; }
a.no-bg { background: transparent ! important; }

acronym, abbr, .help { border-bottom: 1px dotted #DDD; cursor: help; }

h1, h2, h3, h4, h5, h6,
hr, a { background: transparent; }

hr {
  display: block;
  height: 0px;
  border: 0px;
  border-top: 1px dotted #000;
  margin: 1.5em 0;
  padding: 0;
}

small, .small, sub, sup { font-size: 80%; }
big, .big { font-size: 120%; }

#footer {
  font-size: 75%;
  line-height: 1.15em;
  border-top: 1px dotted #000;
}
#footer, #footer a {
  color: #666;
  text-decoration: none;
}

#navigation u, #navigation u a, #navigation a u {
  font: bold 16px/16px sans-serif;
  text-decoration: none ! important;
  color: #000 ! important;
}

.uppercase { text-transform: uppercase; }

#payment-details { text-align: center; }

input, textarea, select { font: normal 13px Trebuchet MS, sans-serif; }

table.form td { border-collapse: collapse; border-spacing: 0px; padding: 3px 15px; background-color: #F3F3F3; text-align: left; }
table.form th { padding: 15px; background-color: #CCC; text-transform: uppercase; }
table.form input.submit {
  background-color: #EAC500;
  font-weight: bold;
  font-size: 16px;
  padding: 3px 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
}

img.photo { margin: 0 10px; border: 3px solid #E72727; }

.photoBox { white-space: nowrap; font-size: 75%; float: right; }

#altTitle { display: none; }

#translateThis img { border: 1px solid #000; margin: 0px 5px; vertical-align: middle; }
#translateThis a:hover img { border-color: #E72727; }
#translateThis a:hover { background-color: transparent; }

#submenu ul li {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0px 0px 2px 0px;
}
#submenu ul {
  display: block;
  padding: 0px;
  margin-left: 0px;
  float: left;
  height: 400px;
  width: 160px;
}
#submenu ul li a {
  display: block;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  background-color: #E9EC00;
  border: 1px solid #222;
  font-weight: bold;
  color: #000;
  padding: 3px 8px;
  width: 118px;
}
#submenu ul li a:hover {
  background-color: #F9FC00;
  color: #E72727;
  border: 1px solid #E72727;
}

html.popup #navigation { display: none; }
html.popup #footer { margin: 30px 0 0 0; }
html.popup { background: #FFF; }
html.popup body { margin: 1em; width: auto; }


/* Online Auction Contacts Table */
#contactsTable { border: 1px solid #AAA; font-weight: bold; }
#contactsTable th {
  background: transparent;
  color: #D00;
}
#contactsTable td, #contactsTable th {
  font-size: 80%;
  text-align: center;
  padding: 3px 10px;
  white-space: nowrap;
}
#contactsTable th { text-transform: uppercase; border-bottom: 1px solid #AAA; }
#contactsTable tr td,
#contactsTable tr th { background: #FFF ! important; }
#contactsTable tr.alt td,
#contactsTable tr.alt th { background: #FFB ! important; }

/* Auction contacts popup */
#auctionPopup #contactsTable { margin: 0px auto; }
#auctionPopup #innerPara { text-align: center; line-height: 110%; }
#auctionPopup #contactsTable td,
#auctionPopup #contactsTable th { padding: 2px 10px ! important; }

/* Home page specific */
#homePage #content {
    margin-right: 365px;
    border-right: 1px dotted #000;
    overflow: hidden;
  }
#homePage #contactTable table tbody th {
    text-align: right;
    padding-right: 10px;
  }
#homePage #hoursTable table tbody th {
    text-align: left;
    padding-right: 10px;
  }
#homePage #hoursTable table tbody td {
    text-align: center;
  }
#homePage .homeTables {
    float: left;
    width: 260px;
  }
#homePage #sidebar {
  position: absolute;
  top: 280px;
  right: 35px;
  width: 300px;
}
#homePage #sidebar h2 {
  margin-bottom: 1em;
}
#homePage #sidebar iframe {
  border: 3px solid #E72727;
}
#homePage #sidebar ul,
#homePage #sidebar ul li {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: inline;
}
#homePage #sidebar ul li {
  margin-right: -6px;
}
#homePage #sidebar ul li a {
  border: 1px solid #E72727;
  padding: 4px 8px 8px 8px;
  line-height: 20px;
  text-decoration: none;
  font-size: 12px;
}

/* About Us Page specific*/
#aboutPage h2 { clear: right; }
#aboutPage p img.photo { margin-right: 0px; margin-left: 25px; }

/* Auction Page specific */
#auctionPage #contactsTable { float: right; margin: 5px 0 20px 30px; }

/* Thame site page */
#thamePage img.photo { width: 420px; margin-bottom: 20px; }

/* Used Car Parts page */
#partsPage #content {
  margin-right: 560px;
  border-right: 1px dotted #000;
}

#partsPage input,
#partsPage textarea { width: 235px; }
#partsPage select { width: 240px; }
#partsPage select.half { width: 118px; }
#partsPage input.submit { width: auto; }
#partsPage #enqOpts { margin-left: 0.8em; padding-left: 0.8em; }
#partsPage #enqOpts li { margin-bottom: 1em; }

#partsPage #partsEnquiryForm {
  display: block;
  position: absolute;
  top: 280px;
  right: 32px;
}
#partsPage #partsEnquiryForm table {
  margin-top: 1em;
  border: none;
}

/* Contact Page specific */
#contactPage #siteAddresses,
#contactPage #contactNumbers { text-align: center; }
#contactPage #siteAddresses { float: right; }
#contactPage #contactNumbers { float: left; }
#contactPage #siteAddresses td,
#contactPage #contactNumbers td {
  white-space: nowrap;
  padding: 3px 10px 3px 0px;
  font-size: 90%;
}
#contactPage #siteAddresses td { padding: 3px 0px 3px 10px; }
#contactPage #sidebar iframe {
  border: 3px solid #E72727;
}
#contactPage #sidebar ul.tabs,
#contactPage #sidebar ul.tabs li {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: inline;
}
#contactPage #sidebar ul.tabs li {
  margin-right: -6px;
}
#contactPage #sidebar ul.tabs li a {
  border: 1px solid #E72727;
  padding: 4px 8px 8px 8px;
  line-height: 20px;
  text-decoration: none;
  font-size: 12px;
}


/* 4salvage My Auctions fix */
div table.aa tbody tr td.aa a { white-space: normal; }
div table.aa { width: 700px ! important; margin-bottom: 5px; }
div table.aa,
div table.aa table.aa { font-size: 85%; }
div table.aa table.aa { width: 380px ! important; margin-left: 10px }
div table.aa tbody tr td { width: auto ! important; }
div table.aa tbody tr td img { margin-right: 5px; }

@media screen {
  html {
    background: #404040 url('../images/bg.png') fixed repeat center -240px;
    overflow-y: scroll;
    margin-bottom: 50px;
  }
  body {
    position: relative; 
    background: #FFF;
    width: 970px;
    margin: 0 auto;
  }
  #content {
    padding: 0px 35px;
    margin-top: 75px;
  }
  #navigation {
    background: #E9EC00 url('../images/bg_navi.png') scroll no-repeat left top;
    position: absolute;
    left: 0px;
    top: 228px;
    width: 970px;
    overflow: hidden;
  }
  #navigation ul, #navigation ul li {
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px;
    float: left;
  }
  #navigation ul {
    padding-left: 4px;
    height: 45px;
  }
  #navigation ul li a {
    display: block;
    padding: 7px 11px 5px 10px;
    margin: 9px 0px 0px 1px;
    border-left: 1px solid #F8F9AE;
    border-right: 1px solid #BEC700;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
  }
  #navigation ul li a:hover {
    color: red ! important;
    background: transparent url('../images/bg_navi_items.png') scroll repeat-x left top;
  }
  #navigation ul li a#naveBay { padding-left: 65px; background: transparent url('../images/bg_navi_items_ebay.png') scroll repeat-x left -45px; }
  #navigation ul li a#naveBay:hover { background-position: left top; }
  #navigation ul li a#navStart {
    border-left: none;
  }
  #navigation ul li a#navEnd {
    border-right: none;
  }
  #footer {
    clear: both;
    padding: 20px 0px 30px 0px;
    margin: 30px 35px 0px 35px;
  }
  /* start LEGACY Bluesock list */
  table.negative-theme, #top div table th h4 { background-color: #BBB; }
  #top div table th h4 { display: block; padding: 1.5em 0px 2em 0px; color: #000; margin: 0px; }
  table.negative-theme th { background-color: #BBB; font-size: small; padding: 0px 12px; }
  table.negative-theme tr.tcolour1 td,
  table.negative-theme tr.tcolour2 td,
  table.negative-theme tr.tcolour-over td { font-size: small; background-color: #FFFFFF; height: 45px; }
  .style5 {
	font-size: x-small;
	color: #FF0000;
  }
  .style5bold {
	color: #FF0000;
	font-weight: bold;
  }
  #form1 input {
	background-color: red;
	font-weight: bold;
	color: #FFFFFF;
  }
  #form1 select {
	background-color: #FFCC00;
  }
  .special-border     { border: 1px solid #C90404; }
  #top div table td h4 {
    font: bold 100% Trebuchet MS, sans-serif;
    color: #000;
  }
  #top div table td ul li { text-align: left ! important;
    
  }
  /* end LEGACY Bluesock list */
}