/* Global styles */

/* JMT - stolen from depot.css */

/* START:notice */
#notice {
  border: 2px solid red;
  padding: 1em;
  margin-bottom: 2em;
  background-color: #f0f0f0;
  font: bold smaller sans-serif;
}
/* END:notice */


h1 {
        font:  150% sans-serif;
        color: #226;
        border-bottom: 3px dotted #77d;
}

/* Styles for products/index */
#product-index .list-image {
  float: left;
  width:        60px;
  height:       70px;
}

#product-index .leftnav {
  float: left;
}

#product-index .rightnav {
  float: right;
  clear: right;
  width: 10%;
  text-align: right;
}

#product-index .content {
  width: 60%;
  margin: 5px;
  vertical-align: top;
  height: 70px;
}

#product-index .title {
  font-weight: bold;
  font-size: larger;
}

#product-index .list-line-even {
  background:   #e0f8f8;
}

#product-index .list-line-odd {
  background:   #f8b0f8;
}

#product-show .show-image {
  width: 60px;
  height: 70px;
}
/* START:mainlayout */
/* Styles for main page */

#banner {
  background: #9c9;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
/*  JMT - was font: small-caps 40px/40px "Times New Roman", serif; */
  font: small-caps;
  font-size: 300%;
  color: #282;
  text-align: center;
}

#banner img {
  float: left;
}

#columns {
  background: #141;
}

#main {
  margin-left: 13em;
  padding-top: 4ex;
  padding-left: 2em;
  background: white;
}

#side {
  float: left;
  padding-top: 1em;
  padding-left: 1em;
  padding-bottom: 1em;
  width: 12em;
  background: #141;
}

#side a {
  color: #bfb;
  font-size: small;
}
/* END:mainlayout */

/* An entry in the store catalog */

#store  .oldentry {
  overflow: auto;
  margin-top: 1em;
  border-bottom: 1px dotted #77d;
}

#store .newentry {
  overflow: auto;
  margin-top: 1em;
  border-bottom: 1px dotted #77d;
}

#store .newentry .left {
  float: left;
  width: 15%;
}

#store .newentry .right {
  float: right;
  clear: right;
  width: 80%;
}

#store .newentry .icon {
  width: 100%;
}

#store .newentry .qrcode {
  width: 100%;
}

#store .newentry h3 {
 margin-top: 0;
 margin-bottom: 2px;
 color: #227;
}

#store .newentry p {
 margin-top: 0.5em;
 margin-bottom: 0.8em;
}

#store .newentry .button {
  text-align: center;
}

#store .title {
  font-size: 120%;
  font-family: sans-serif;
}

#store .oldentry img {
  width: 75px;
  float: left;
}

#store .oldentry h3 {
 margin-top: 0;
 margin-bottom: 2px;
 color: #227;
}

#store .oldentry p {
 margin-top: 0.5em;
 margin-bottom: 0.8em;
}

#store .oldentry .price-line {
 clear: both;
}

#store .oldentry .add-to-cart {
  position: relative;
}

#store .oldentry  .price {
  color: #44a;
  font-weight: bold;
  margin-right: 2em;
}

/* START:inline */
#store .oldentry form, #store .oldentry form div {
  display: inline;
}
/* END:inline */

/* START:cartmain */
/* Styles for the cart in the main page */

.cart-title {
  font: 120% bold;
}

.item-price, .total-line {
  text-align: right;
}

.total-line .total-cell {
  font-weight: bold;
  border-top: 1px solid #595;
}
/* END:cartmain */

/* START:cartside */
/* Styles for the cart in the sidebar */

#cart, #cart table {
  font-size: smaller;
  color:     white;
}

#cart table {
  border-top:    1px dotted #595;
  border-bottom: 1px dotted #595;
  margin-bottom: 10px;
}
/* END:cartside */

/* START:form */
/* Styles for order form */

.depot-form fieldset {
  background: #efe;
}

.depot-form legend {
  color: #dfd;
  background: #141;
  font-family: sans-serif;
  padding: 0.2em 1em;
}

.depot-form label {
  width: 5em;
  float: left;
  text-align: right;
  padding-top: 0.2em;
  margin-right: 0.1em;
  display: block;
}

.depot-form select, .depot-form textarea, .depot-form input {
  margin-left: 0.5em;
}

.depot-form .submit {
  margin-left: 4em;
}

.depot-form div {
  margin: 0.5em 0;
}
/* END:form */

/* The error box */

.fieldWithErrors {
  padding: 2px;
  background-color: #EEFFEE;
  display: inline;
}

.fieldWithErrors * {
  background-color: red;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/* START:i18n */
.locale {
        float:right;
        padding-top: 0.2em
}
/* END:i18n */

/* JMT - bits below are my efforts */

body {
  font-family: sans-serif;
}
