body {
  font-family: sans-serif;
  font-size: 12px;
}
a {
  color: #D00009;
}
img {
  border: none;
}
h1 {
  color: #D00009;
  margin: .5em 0;
  font-size: 16px;
}
input[type=text],
input[type=password],
textarea,
select {
  border: 1px solid silver;
  border-bottom: 1px solid grey;
  border-right: 1px solid grey;
}
textarea.medium {
  width: 30em;
  height: 8em;
}
input.button,
button.button,
a.button {
  font-family: sans-serif;
  background: url(../images/button-gradient.png);
  border: none;
  height: 28px;
  line-height: 28px;
  font-size: 13px;
  color: white;
  font-weight: bold;
  display: inline-block;
  padding: 0 5px;
  text-decoration: none;
  vertical-align: top;
}
input.bad {
  background-color: maroon;
  color: white;
}
.top-margin {
  margin-top: 1em;
}
table.list {
  *border-collapse: collapse;
  /* IE7 and lower */
  border-spacing: 0;
  border: solid #ccc 1px;
  border-radius: 3px;
  box-shadow: 0 1px 1px #ccc;
}
table.list td,
table.list th {
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 5px;
  text-align: left;
}
table.list td a.button,
table.list th a.button {
  display: inline-block;
  margin: 2px;
}
table.list td:first-child,
table.list th:first-child {
  border-left: none;
}
table.list tr:hover {
  background: #fbf8e9;
}
table.list th {
  background-color: #dce9f9;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
  background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: linear-gradient(top, #ebf3fc, #dce9f9);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border-top: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
table.list th span.sort-direction {
  margin-left: .5em;
}
table.list th:first-child {
  -moz-border-radius: 3px 0 0 0;
  -webkit-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}
table.list th:last-child {
  -moz-border-radius: 0 3px 0 0;
  -webkit-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}
table.list th:only-child {
  -moz-border-radius: 3px 3px 0 0;
  -webkit-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}
table.list tr:last-child td:first-child {
  -moz-border-radius: 0 0 0 3px;
  -webkit-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}
table.list tr:last-child td:last-child {
  -moz-border-radius: 0 0 3px 0;
  -webkit-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
}
table.list td.actions a {
  margin-right: .5em;
  text-decoration: none;
}
table.list td.money,
table.list th.money {
  text-align: right;
}
table.list td.number {
  text-align: center;
}
table.list tr.even td {
  background-color: #F9F9F9;
}
table.list tr.odd td {
  background-color: #EEE;
}
table.list td.bad {
  background-color: #d00c00;
  color: white;
}
table.list td.left-border,
table.list th.left-border {
  border-left: 1px solid #c90000;
}
table.list th.backorder-header {
  background: #c90000;
  color: white;
  text-align: center;
}
table.list input.backorder-amount {
  font-weight: bold;
  background: #CCC;
  color: black;
}
table.list tr.backorder td {
  background-color: #EED3D7;
}
table.form td,
table.form th {
  padding: .3em;
}
table.form th {
  text-align: right;
  padding-right: 1em;
  vertical-align: top;
}
table.form input {
  width: 20em;
}
table.form label.error {
  margin: 0 1em;
  color: red;
}
div.pager {
  margin: 1em 0;
}
div.pager select {
  margin-right: .5em;
}
div.pager a {
  margin-right: .5em;
  text-decoration: none;
}
div.pager a.selected {
  font-weight: bold;
  color: black;
}
div.button-bar-right-aligned {
  text-align: right;
}
div.button-bar-right-aligned button,
div.button-bar-right-aligned input,
div.button-bar-right-aligned a {
  margin-left: 1em;
}
table.offer {
  border-collapse: collapse;
  margin: 1em auto;
}
table.offer td {
  vertical-align: top;
}
table.offer td.title {
  border-right: 1px solid #DDD;
  border-left: 1px solid #DDD;
  position: relative;
  background: white;
  width: 200px;
  padding: 0 15px 15px;
}
table.offer td.title div.bottom-line {
  height: 1px;
  background: #DDD;
  margin-top: .5em;
  margin-bottom: 1em;
}
table.offer td.title div.info-wrapper {
  min-height: 150px;
}
table.offer td.column-1 {
  border: none;
}
table.offer td.column-3 {
  border: none;
}
table.offer td.title div.cover-wrapper {
  height: 200px;
  border: 1px solid #DDD;
  padding: 1px;
  margin-bottom: .5em;
  text-align: center;
}
table.offer td.title div.cover-wrapper img {
  min-height: 150px;
  min-width: 150px;
  max-height: 200px;
  max-width: 200px;
}
table.offer td img.cover {
  display: block;
  margin-bottom: .5em;
}
table.offer table.info {
  margin: 0 auto;
  font-size: 13px;
  width: 100%;
}
table.offer table.info th {
  text-align: left;
  white-space: nowrap;
  color: #AEAEAE;
  padding-right: .3em;
  width: 50px;
}
table.offer table.info td {
  color: #313131;
}
table.offer table.info span.normal-price {
  text-decoration: line-through;
}
#container {
  width: 1000px;
  margin: 0 auto;
  border: 1px solid silver;
}
#header {
  background: #f7f7f7 url(../images/header-gradient.png);
  background-repeat: repeat-x;
  height: 134px;
  position: relative;
}
#header-logo {
  position: absolute;
  left: 34px;
  top: 19px;
}
#header-title {
  position: absolute;
  left: 228px;
  top: 48px;
}
#login-block {
  position: absolute;
  left: 749px;
  top: 8px;
  width: 240px;
}
#login-block h1 {
  margin: 0;
  margin-bottom: 5px;
}
#login-block #login-block-divider {
  float: left;
  margin-right: 1em;
}
#login-block #login-form {
  margin: 0;
  padding: 0;
}
#login-block #login-form p {
  white-space: nowrap;
  margin: 5px 0;
  text-align: right;
}
#login-block #login-form p label {
  width: 60px;
  float: left;
  color: #979797;
  margin-right: .5em;
  line-height: 20px;
}
#login-block #login-form p input {
  width: 150px;
}
#login-block #login-links {
  margin-top: 5px;
  float: left;
}
#login-block #login-links a {
  display: block;
  margin-bottom: .5em;
}
#login-block #login-button {
  background: url(../images/login-button-gradient.png);
  border: none;
  height: 24px;
  line-height: 24px;
  color: white;
  font-weight: bold;
  padding: 0 .7em;
  float: right;
  margin-top: 5px;
}
#main-menu {
  height: 40px;
  background: url(../images/main-menu-gradient.png);
  background-repeat: repeat-x;
}
#main-menu a,
#main-menu #call-us {
  font-size: 18px;
  color: white;
  display: block;
  float: left;
  line-height: 40px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: bold;
}
#main-menu a#my-basket-link {
  float: right;
}
#main-menu a#my-basket-link img {
  float: left;
  margin-right: 5px;
}
#main-menu div.divider {
  background: url(../images/main-menu-divider.png);
  float: left;
  width: 2px;
  height: 40px;
}
#main-menu #flags {
  float: right;
}
#main-menu #call-us {
  margin-left: 2em;
}
#main-menu #call-us img {
  vertical-align: middle;
  margin-right: .5em;
}
div.message {
  font-weight: bold;
  padding: 1em;
  background: #FFF6BF;
  font-size: 14px;
}
div.help-message {
  padding: 1em;
  background: #FFF6BF;
  border: 1px solid silver;
}
div.error-message {
  font-weight: bold;
  padding: 1em;
  background: #dd3c16;
  color: white;
  font-size: 14px;
  margin: 1em 0;
  padding: .5em;
  border: 1px solid silver;
}
#main {
  padding: 1em;
  min-height: 200px;
}
#main div.message {
  margin: 1em 0;
  padding: .5em;
  border: 1px solid silver;
}
#footer {
  background: url(../images/footer-background.png);
  height: 172px;
  padding-top: 20px;
  padding-left: 37px;
  color: #888;
  font-size: 11px;
}
#footer a {
  color: #888;
}
#footer #footer-left {
  width: 230px;
  float: left;
  background: url(../images/footer-divider.png);
  background-repeat: no-repeat;
  background-position: right;
  height: 109px;
}
#footer #footer-left img {
  display: block;
  margin-bottom: 1em;
}
#footer #footer-middle {
  padding: 0 10px;
  width: 520px;
  float: left;
  background: url(../images/footer-divider.png);
  background-repeat: no-repeat;
  background-position: right;
  min-height: 100px;
}
#footer #footer-right {
  padding-left: 10px;
  float: left;
}
#footer p {
  margin-top: 0;
}
#catalogue-search-form {
  width: 60%;
  padding-right: 1em;
  border-right: 1px solid silver;
  float: left;
}
#catalogue-search-form div.column {
  float: left;
  width: 33%;
}
#catalogue-search-form div.triple-column {
  float: left;
  width: 100%;
}
#catalogue-search-form div.column label,
#bulk-search label,
#catalogue-search-form div.triple-column {
  color: gray;
  display: block;
}
#catalogue-search-form div.column input,
#catalogue-search-form div.column select {
  width: 80%;
}
#catalogue-search-form #search-button {
  margin-top: 1em;
  width: auto;
}
#search-results-overview {
  float: left;
  margin-left: 1em;
}
#search-results-overview h1 {
  margin-top: 0;
}
tr.basket-totals td {
  font-weight: bold;
  background: #cbd5ff;
}
#bulk-search {
  margin-top: 15px;
}
#bulk-search textarea,
#catalogue-search-form .triple-column textarea {
  width: 100%;
  height: 15ex;
}
table.form input.checkbox {
  width: auto;
}
ul#special-offers li {
  list-style-type: square;
}
ul#special-offers li a {
  font-size: 15px;
}
label.error {
  color: maroon;
  font-weight: bold;
  padding: 0 1em;
}
input.error,
select.error,
textarea.error {
  border: 1px solid maroon;
  color: maroon;
}
td.request-price {
  font-weight: bold;
}
#article-detail .article-image {
  float: left;
  margin-right: 2em;
}
#article-detail h1 {
  font-size: 20px;
}
#article-detail table.form {
  font-size: 16px;
}
#article-detail table.form th {
  text-align: left;
}
.registration-teaser {
  border: 1px solid silver;
  background: #fcfcd6;
  padding: .5em;
  margin-bottom: 1em;
  font-weight: bold;
  font-size: 120%;
  box-shadow: 0 0 2px #aaa;
}
#catalogue-list td {
  font-size: 13px !important;
}
#catalogue-list td a {
  color: #333;
}
