form {
  clear: both;
}

#content fieldset {
  margin: 1em 0;
  padding: 0 0 1em 0;
}
#content fieldset h3,
#shipping h3 {
  background-color: #15b;
  color: #fff;
  margin: 2px 2px .5em 2px;
  padding: 3px 8px;
}

#content label {
  float: left;
  margin: .5em;
  width: 9em;
  text-align: right;
}

input, textarea {
  margin-top: .25em;
}
textarea {
  width: 300px;
  height: 60px;
}
form ol {
  margin-left: .5em;
  margin-right: 1.5em;
  list-style-type: none;
}

#content form li {
  float: left;
  clear: left;
  width: 100%;
  margin-left: 0;
}

/* nested items - checkboxes, radio buttons, etc.*/
form ol ul,
form ol ol {
  margin-top: .5em;
  margin-left: 2.5em;
  list-style-type: none;
}
#content ol ul label,
#content ol ol label {
  text-align: left;
}
#content .discover label {
  width: auto;
}
label input {
  margin-bottom: 0;
}

div.legend {
  display: block;
  width: 100%;
}

.hidden {
  display: none;
}

.req-label {
  font-weight: bold;
}

#content .warning {
  color: #900;
  background: #ffc;
  padding: 5px;
}
/***************************************
   =search form
-------------------------------------- */

#search {
  margin-bottom: 20px;
}
#search-text {
  width: 16em;
}
.placeholder {
  color: #999;
}
#search label {
  display: block;
}

#sidebar .autocomplete {
  position: absolute;
  background: #fff;
  border: 1px solid #888;
  width: 16em;
  list-style-type: none;
  z-index: 52;
}

#sidebar .autocomplete li {
  padding: 2px;
  margin: 0;
}

#sidebar .autocomplete li.selected {
  background: #008;
  color: #fff;
}

/***************************************
   =cart
-------------------------------------- */
#content #cart {
  border-collapse: collapse;
}
#content #cart tfoot {
  border-top: 2px solid #000;
  white-space: nowrap;
}
#content #cart tfoot tr {
  border-bottom: 1px solid #ccc;
}
td.item {
  width: 100%;
}
td.quantity input {
  width: 30px;
  
}
#cart th.price, td.price,
#cart th.cost, td.cost,
td.value {
  text-align: right;
}
td.delete-item {
  text-align: center;
}
tr.total {
  font-weight: bold;
}
tr.actions {
  text-align: right;
}

.field-keys {
  border-top: 1px solid #15b;
  border-bottom: 1px solid #15b;
  background: #e3e3e3;
  padding: 3px;
  margin: .5em 10px;
}
#shipping {
  border: 1px solid #000;
  padding: 2px .25em;
  float: right;
  margin-bottom: 1em;
}
#shipping-name {
  margin-left: 3px;
}
#shipping-name a {
  padding: 6px 0 0 20px;
  background: url('../icons/pencil_go.png') no-repeat 0 50%;
}
