@font-face {
  font-family: TradeGothic;
  src: url(TradeGothicCond.ttf ) format("truetype");
}
@font-face {
  font-family: TradeGothic;
  font-weight: bold;
  src: url(TradeGothicBold.ttf ) format("truetype");
}
h3.title {
  padding-bottom: 4px;
  border-bottom: 1px dotted #000;
}
a,
a:visited,
a:hover {
  text-decoration: inherit;
  color: inherit;
  cursor: pointer;
}
a.button,
input.button {
  border: 1px solid #000;
  border-bottom: 2px solid #000;
  background: #fff;
  padding: 4px 8px;
  font-family: TradeGothic;
}
a.button:hover {
  background: #eee;
}
a.button.icon {
  height: 20px;
  margin: 0 2px;
  padding: 0 4px 3px;
  border-radius: 4px;
}
a.button.disabled {
  opacity: 0.5;
  cursor: default;
}
a.button.big {
  display: block;
  width: 48px;
  height: 60px;
  text-align: center;
  float: left;
  margin-left: 16px;
}
a.button.big img {
  display: block;
  margin: auto;
  margin-top: 4px;
  margin-bottom: 4px;
}
body {
  margin: 24px 48px;
  min-width: 600px;
  font-family: 'TradeGothic';
}
div.logo {
  margin: 0 0 24px;
}
ul.nav {
  margin: 0;
  padding: 0;
}
ul.nav li {
  display: inline;
  padding: 6px 12px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
ul.nav li.active {
  border-bottom: 3px solid #000;
  padding-bottom: 4px;
}
ul.nav li.link:hover {
  border-bottom: 3px solid #000;
  padding-bottom: 4px;
  background: #eee;
}
ul.account.nav {
  float: right;
}
ul.tabs {
  margin: 0 0 2px 8px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 80%;
}
ul.tabs li {
  display: inline;
  padding: 4px 8px;
}
ul.tabs li.tab {
  background: #ccc;
  border: 1px solid #000;
  border-radius: 4px 4px 0 0;
}
ul.tabs li.tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
}
ul.tabs li.spacer {
  border: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #000;
}
ul.tabs li.spacer:first-child,
ul.tabs li.spacer:last-child {
  padding-right: 16px;
}
div.tab-content {
  border: 1px solid #000;
  padding: 16px 32px;
  border-radius: 4px;
  display: none;
}
div.tab-outside-content {
  padding: 0 33px 16px;
}
div.admin-message.popup {
  position: absolute;
  z-index: 999;
  left: 50%;
  width: 200px;
  margin-left: -104px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 4px solid #fff;
}
div.goodnews {
  border-radius: 4px;
  font-weight: bold;
  padding: 8px 8px 8px 64px;
  margin-bottom: 12px;
  min-height: 40px;
  background: #8f8;
  background-image: url(../img/icons/check_32x26.png);
  background-repeat: no-repeat;
  background-position: 16px 16px;
}
div.warnings {
  border-radius: 4px;
  font-weight: bold;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #000;
  background: #ff0;
}
div.errors {
  border-radius: 4px;
  font-weight: bold;
  padding: 8px 8px 8px 64px;
  margin-bottom: 12px;
  min-height: 40px;
  background: #f88;
  background-image: url(../img/icons/denied_32x32.png);
  background-repeat: no-repeat;
  background-position: 16px 16px;
}
div.errors ul {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  font-weight: normal;
}
div.errors ul li {
  margin: 0;
}
div.block {
  clear: both;
  margin: 12px 0;
  margin-left: 160px;
}
div.block label {
  display: block;
  float: left;
  margin-left: -160px;
  width: 140px;
  text-align: right;
}
input[type=text],
textarea,
input[type=password] {
  border: 1px solid #000;
  background: #ff8;
  width: 600px;
}
input[type=select] {
  width: 240px;
}
div.block.inactive {
  opacity: 0.5;
}
textarea[disabled],
textarea[readonly],
input[disabled],
input[readonly] {
  opacity: 0.5;
  background: #eee;
}
tr.error td {
  background: #f88;
}
div.moneyfield input[type=text] {
  width: 160px;
  text-align: right;
}
div.percentfield input[type=text] {
  width: 60px;
  text-align: right;
}
div.small input[type=text] {
  width: 60px;
}
div.medium input[type=text] {
  width: 160px;
}
div.large input[type=text],
div.large textarea {
  width: 320px;
}
table {
  border: 2px solid #000;
  margin: 8px 0;
}
table thead tr {
  background: #000;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
table td {
  border: none;
  padding: 4px 8px;
}
table td.standby {
  color: #888;
}
table td.status {
  text-transform: uppercase;
  font-size: 80%;
  vertical-align: bottom;
}
table tr:nth-child(2n) {
  background: #eee;
}
table.simple tr:nth-child(2n) {
  background: #fff;
}
table tbody tr:hover,
table.simple tbody tr:hover {
  background: #ffd;
}
table thead tr:hover {
  background: #000;
}
table tr.locked {
  background: #ff0;
}
table.descriptors {
  font-size: 80%;
}
table.descriptors input[type=text] {
  width: 200px;
}
div#photos {
  width: 700px;
  margin-bottom: 12px;
  border: 2px solid #000;
}
div#photos .empty {
  margin: 12px 0 0 12px;
}
div#photos ul {
  padding: 0;
  margin: 12px 0 0 12px;
}
div#photos ul li {
  width: 160px;
  height: 160px;
  list-style: none;
  float: left;
  margin: 0 12px 12px 0;
  padding: 0;
  position: relative;
  text-align: center;
  background: #eee;
}
div#photos ul li div.controls {
  position: absolute;
  top: 4px;
  right: 4px;
  opacity: 0.5;
}
div#photos ul li img {
  vertical-align: middle;
}
div#photos ul li:hover div.controls {
  opacity: 1;
}
div#photos ul.collection li {
  opacity: 0.4;
}
div#photos ul.collection li:nth-child(1),
div#photos ul.collection li:nth-child(2),
div#photos ul.collection li:nth-child(3) {
  opacity: 1;
}
div#images div.empty {
  margin: 12px;
}
p.tip,
span.tip {
  font-size: 80%;
}
tr.transaction.balanced {
  color: #aaa;
}
tr.transaction input[type="checkbox"] {
  margin-right: 4px;
}
tr.transaction,
tr.transaction td {
  background: #fff;
  border-top: 1px solid #ccc;
}
tr.transaction:hover,
tr.transaction:hover td {
  background: #ffd;
}
tr.transaction a {
  border-bottom: 1px dotted #000;
}
tr .showhover {
  display: none;
}
tr:hover .button.showhover {
  display: inline;
}
table.nogrid,
table.nogrid td {
  border: 0;
  background: #fff;
}
span.number_assist {
  margin-left: 12px;
  background: #ddd;
  color: #000;
  border-radius: 8px;
  padding: 0 8px;
}
/* COLLECTION */
ul.lots {
  border: 1px solid #000;
  border-radius: 4px;
  padding: 4px;
}
ul.lots li {
  margin: 0;
  list-style: none;
}
ul.lots li.lot-row {
  min-height: 26px;
  cursor: pointer;
}
ul.lots li.lot-row div {
  display: inline-block;
  vertical-align: top;
}
ul.lots li.lot-row:hover,
ul.lots li.lot-row.ui-draggable-dragging {
  background: #ffd;
  z-index: 999;
}
ul.lots li.lot-row.being-dragged {
  background: #f0f0f0;
}
ul.lots li div.drag-target {
  display: block;
  height: 2px;
  -webkit-transition-property: background height;
  -webkit-transition-duration: 0.2s;
}
ul.lots li div.drag-target.valid-drop {
  background: #ff9;
  height: 18px;
}
tr.bought td {
  background: #9f9;
}
tr.changed td {
  background: #f99;
}
td p {
  margin: 0;
}
td.lot_thumbnail img {
  max-width: 100px;
  max-height: 100px;
}
@media print {
  body {
    margin: 0;
  }
  h3.title,
  div.logo,
  img {
    display: none;
  }
  table tr,
  table tr td {
    page-break-inside: avoid;
  }
  table tr td img {
    display: inline !important;
  }
  div.tab-outside-content {
    padding: 0;
  }
  table {
    border: 1px solid #ccc;
  }
  table thead tr td {
    color: #000;
  }
  table tr {
    border-bottom: 1px solid #ccc;
  }
  table tr td {
    font-family: Arial;
    font-size: 12pt;
  }
  div {
    display: block !important;
    float: none !important;
  }
}
.item-name1 {
  font-family: 'TradeGothic', 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 4px;
}
.item-name2 {
  font-family: 'TradeGothic', 'Arial Narrow', sans-serif;
  font-style: italic;
  font-weight: normal;
  font-size: 13px;
  margin: 0 0 4px;
}
table.editable-master input,
table.editable-master textarea {
  border: 0;
  border-radius: 3px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.1);
  width: 100%;
}
table.editable-master select {
  font-size: 11px;
  text-transform: uppercase;
}
table.editable-master textarea {
  height: 6em;
  font-size: 12px;
}
table.editable-master a.button {
  font-size: 11px;
  padding: 3px 6px;
  text-transform: uppercase;
}
table.editable-master a.subtlebutton {
  font-size: 11px;
  padding: 3px 6px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.faded {
  opacity: 0.5;
}

pre {
  font-size: 11px;
}