html {
  margin: 0;
  padding: 0;
  background: black;
  font-family: Arial, sans-serif;
}

body {
  position: relative;
  width: 1000px;
  margin: 0 auto;
}

#kmd-h1 {
  margin: 0;
  position: fixed;
  *position: absolute; /* IE6 doesn't understand fixed, and IE7 attaches the image to the top-left corner of the viewport */
  *left: 0; /* IE6 and IE7 need this explicitly specifying, but Firefox 3.0 can't tolerate it */
  background: url(/kmd-left.png) no-repeat;
  width: 234px;
  height: 624px;
}

#kmd-h1 span {
  display: none;
}

#wrapper {
  margin-left: 234px;
  background: url(/kmd-top.png) no-repeat;
  padding-top: 65px; /* height of kmd-top.png */
}

#kmd-minibasket {
  position: absolute;
  top: 10px;
  right: 0;
  width: 245px;
  height: 50px;
  color: #eee;
  text-decoration: none;
}

#kmd-minibasket span {
  position: absolute;
  display: block;
  top: 22px;
  left: 9px;
  width: 150px;
  font-size: 12px;
}

#main {
  min-height: 474px; /* 624px - 35px (navbar) - 65px (basket bar) - 2*25px (padding) */
  background: #fbf4fb;
  color: black;
  padding: 25px;
}


/* navbar */

#navbar {
  position: relative;
  display: block;
  font-size: 16px;
  font-family: serif;
  margin: 0;
  padding: 0 25px;
  background: black;
  *border-bottom: 1px solid black; /* suppresses mysterious IE6/IE7 layout weirdness */
}

#navbar ul {
  margin: 0;
  padding: 0;
}

#navbar li {
  display: block;
  list-style-type: none;
  float: left;
  position: relative;
  margin-right: 1.2em;
  _border-bottom: 1px solid black; /* IE6 puts extra vertical space between menuitems without this */
}

#navbar-clear {
  clear: both;
}

#navbar a {
  display: block;
  background: black;
  color: #ccc;
  text-decoration: none;
  padding: 0.5em 0;
}

#navbar a:hover {
  color: #ddd;
}

#navbar .navbar-menu {
  position: absolute;
  display: none;
  top: 2em;
  left: -0.8em;
  width: 170px !important;
  padding: 0.4em 0.8em;
  background: black;
}

#navbar .navbar-menu li {
  float: none;
  padding: 0;
  margin: 0;
}

#navbar .navbar-menu a {
  padding: 0.1em 0;
}

#navbar .kmd-navbar-signin {
  float: right;
  margin: 0 0 0 1.2em;
}


/* category links on shop pages (shown just below the navbar) */

#kmd-catlinks {
  margin: 0 0 1.5em 0;
  padding: 0.5em;
  background: #dcd3db;
}

#kmd-catlinks a {
  padding-left: 1em;
}

.kmd-catlink-current {
  color: black;
  text-decoration: none;
}


/* general */

h2 {
  margin: 0 0 0.83em 0;
}

h3 {
  margin: 1em 0;
  font-size: 1.1em;
}


/* misc old */

form.listy label {
  margin: 0 0 0.3em;
}

form.listy input,
form.listy textarea {
  display: block;
  margin: 0 0 1em 1em;
}

/* The above styles are for forms using <label/><input/>, where this is for <label>...<input/></label> */
form.listy label input,
form.listy label textarea {
  margin: 0.3em 0 0.7em 1em;
}

form.listy span.fielderror {
  display: block;
  color: red;
  margin: 0 0 2em 1em;
  font-style: italic;
}


/* forms, e.g. on the checkout and account pages */

.formfieldgrid {
  padding: 0;
  border-collapse: collapse;
  font-size: 11.5px;
}

.formfieldgrid th,
.formfieldgrid td {
  padding: 2px 0;
}

.formfieldgrid th {
  text-align: right;
  font-weight: normal;
  width: 90px;
  padding-right: 5px;
}

p.formfieldgridsubmit {
  margin: 0 0 2em 95px;
}


/* shop category */

.kmd-category-product {
  display: block;
  float: left;
  width: 152px;
  margin: 0 25px 20px 0;
  min-height: 270px; /* stop long product names from causing gaps in the grid layout */
  color: black;
  text-decoration: none !important;
  font-size: 13px;
}

.kmd-category-product:hover {
  color: blue;
}

.kmd-category-product img {
  display: block;
  border: 1px solid black;
  margin-bottom: 4px;
}

.kmd-category-product .kmd-cp-price {
  margin-top: 4px;
  display: block;
}

.kmd-page-category-end {
  clear: left;
}


/* item/$n page */

.page-item,
.page-item h2 {
  line-height: 1.1;
}

.page-item img {
  border: 1px solid black;
}

.info-right-col {
  width: 315px;
}

.info-right-col form {
  text-align: center;
}

.info-right-col input {
  margin-top: 5px;
}

#info-pics {
  float: right;
  margin-left: 2px;
}

#info-thumbs {
  float: right;
  text-align: center;
  width: 62px;
}

#info-thumbs img {
  display: block;
  margin-bottom: 2px;
}

.info-page .price {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.addtobasket select {
  width: 100px;
  text-align: left;
}

.addtobasket input,
.addtobasket select {
  display: block;
  margin: 3px auto;
}

.product-custom-fields {
  font-size: 80%;
  border: none;
  border-collapse: collapse;
}

.product-custom-fields th,
.product-custom-fields td {
  padding: 0.2em 0;
}
.product-custom-fields th {
  text-align: left;
  padding-right: 0.5em;
}

.matching-products,
.related-products {
  clear: both;
  margin: 35px 0;
}

.matching-products ul,
.related-products ul {
  margin: 0;
  padding: 0;
}

.matching-products h4,
.related-products h4 {
  margin-bottom: 10px;
}

.matching-products img,
.related-products img {
  border: 1px solid black;
  display: block;
  margin-bottom: 8px;
}

.matching-product {
  float: left;
  display: block;
  width: 192px;
  margin-right: 15px;
}

.matching-product span {
  display: block;
  text-align: center;
}

.matching-product a {
  font-size: 80%;
}

.matching-product img {
  float: left;
  margin-right: 5px;
}

.matching-product select {
  width: 80px;
}

.matching-products .clear {
  clear: both;
}

.matching-product a,
.related-product a {
  text-decoration: none;
}

.related-product {
  display: block;
  float: left;
  width: 100px;
  font-size: 80%;
  text-align: center;
}


/* basket page */

.basket-table {
  vertical-align: middle;
}

.basket-table td {
  padding-right: 1em;
}

.basket-table-header th {
  text-align: left;
  font-weight: normal;
}

.basket-table img {
  border: 1px solid black;
}


/* checkout */

.chform .formsection {
  padding-left: 2em;
  margin-bottom: 2em;
}

.chform h6 {
  font-size: 1em;
  margin: 0 0 0.5em -2em;
}

#checkoutitems {
  width: 80%;
  border-collapse: collapse;
}

.checkout-price {
  text-align: right;
}

.checkout-row-delivery td {
  padding-bottom: 0.5em;
}

.checkout-row-grandtotal td {
  border-top: 1px solid;
  padding-top: 0.1em;
  font-size: 1.3em;
}


/* account page */

.account-orders {
  width: 100%;
  border-bottom: 1px solid black;
  border-collapse: collapse;
}

.account-orders th {
  text-align: left;
  border-bottom: 1px solid black;
}

.account-orders td {
  padding: 0.25em 0;
}


/* order page */

.order-addresses {
  border-collapse: collapse;
}

.order-addresses td {
  padding: 0;
}

.order-addresses b {
  display: block;
  margin: 0.7em 0 0.3em;
}

.order-products-table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
}

.order-products-table th,
.order-products-table td {
  padding: 0.25em 0;
}

.order-products-table th {
  text-align: left;
  font-weight: bold;
}

.order-products-table .pricecell {
  text-align: right;
}

.order-products-table .order-total th {
  text-align: right;
}

.order-products-table-header th {
  border-bottom: 1px solid black;
}

.first-order-total-row th,
.first-order-total-row td {
  border-top: 1px solid black;
}


/* hdywy */

ul.hdywy,
ul.hdywy li {
  margin: 0;
  padding: 0;
  display: block;
}

ul.hdywy a.hdywylink {
  float: left;
  margin: 0 1em 1em 0;
}

ul.hdywy img {
  border: none !important;
}

ul.hdywy li {
  width: 340px;
  padding-right: 10px;

  vertical-align: top; /* keep the blocks' top edges aligned, rather than bottom edges */
  display: inline-block;
  /* get pseudo inline-block behaviour from IE7 and earlier */
  *display: inline;
  zoom: 1;
}


/* collections list */

.kmd-page-collections h3 { /* section heading */
  clear: left;
  font-size: 1.3em;
  margin: 1em 0;
}

.kmd-page-collections ul,
.kmd-page-collections li {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.kmd-page-collections a {
  display: block;
  text-decoration: none !important;
}

.kmd-page-collections a span {
}

.kmd-page-collections div {
  clear: left;
  margin: 0 0 2em 0;
}

.kmd-page-collections h6 {
  font-size: 1em;
  margin: 0 0 1em 0;
}

.kmd-collections img {
  float: left;
  border: none;
  margin: 0 1em 2em 0;
}

.kmd-collections a {
  color: black !important;
}

.kmd-collections a:hover .readmore {
  color: blue;
}


/* collection page */

/* for the 2009 april collection quotes */
.kmd-collection blockquote {
  text-align: center;
  font-style: italic;
  font-size: 1.5em;
  font-family: "Apple Chancery", serif;
  margin: 1em 0;
}

#kmd-collection-images {
  float: left;
  margin: 0 2.5em 2em 0;
}

#kmd-collection-thumbs {
  text-align: center;
  /* IE puts the box below the #kmd-collection-images unless we float it */
  float: right;
  /* Explicit width makes the text-align work (ish) again */
  width: 350px;
}

#kmd-collection-thumbs img {
  margin-left: 1px;
}

#kmd-collection-thumbs-after {
  clear: right;
}

.prevnextcollection {
  margin: 2em 5em 0;
}

.nextcollection {
  float: right;
}


/* about pages */

.kmd-about h6 {
  font-size: 1em;
  margin-bottom: 0.5em;
}

.kmd-about-img-left {
  float: left;
  clear: both;
  margin: 0 25px 25px 0;
}

.kmd-about-img-right {
  float: right;
  clear: both;
  padding-left: 25px; /* IE7 didn't like margin-left, and showed the image snug to the text */
  margin-bottom: 25px;
}


/* stockists and shop */

#kmd-shops p,
#kmd-stockists p {
  text-align: left;
  margin: 0.4em 0;
}

#kmd-shops h6,
#kmd-stockists h6 {
  font-size: 1em;
  margin-bottom: 0.5em;
}



/* diary */

.blogpost {
  margin: 2em 2.5em 0;
  padding-bottom: 1em;
}

.blogpost img {
  border: none; /* suppress browser-default img-link borders */
}

.blogpost h3 {
  margin-bottom: 0;
}

.blogpostmeta {
  margin: 0.5em 0 1.5em;
}

#blogheader h3 {
  font-size: 2em;
  margin: 0;
}

#blogheader a {
  display: block;
  float: left;
  margin: 0.5em 0 0.8em;
  padding-right: 1em;
}

#blogheader select {
  display: block;
  clear: left;
}

/* IE6 hack - it would put the widget above the Collections menu if it were visible */
* html #blogheader select {
  display: none;
}

/* wordpress comment form defaults to seventy trillion pixels wide */
#commentform textarea {
  width: 500px;
}
