﻿/** BEGIN Html elements **/
body { font-family: Cambria, Georgia, "Times New Roman"; -webkit-font-smoothing: antialiased; }
body { background-color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: "Arial Narrow", "Franklin Gothic Medium", Arial; }
h1 { margin: .2em 0 1.1em 0; }
h2 { margin: 0.3em 0 0.2em 0; }
form { margin: 0; padding: 0; border:0; }
table { border-spacing:0; border-collapse:collapse; border:0; margin:0; }
table td { padding:0; border:0; }
tfoot td { font-weight: bold; border-top: 1px dotted gray; }
img { -webkit-user-select: none; -webkit-touch-callout: none; }
/** END Html elements **/

.med { font-size:92%; }
.sm { font-size:80%; }
.xsm { font-size:68%; }
.xxsm { font-size:60%; }
.nobr { white-space: nowrap; }

  .padnav li em {
    display:inline;
    font-size: 68%;
    border:1px solid #bbb;
    -webkit-border-radius: 14px; -moz-border-radius: 14px; border-radius: 14px;
    color: #777;
    background-color: #e5e5e5;
    padding:2px 5px;
    white-space:nowrap;
    margin-left:3px;
    font-style:normal;
    float:right;
  }


/** BEGIN Form input elements **/
input[type="checkbox"] { -webkit-transform: scale(1.5,1.5); }
::-webkit-input-placeholder { color: #ccc; font-style: italic; font-family:serif; }
:-moz-placeholder { color: #ccc; font-style: italic; font-family:serif; }
/** END Form input elements **/

/** BEGIN Generic helper classes **/
/** BEGIN Generic helper classes **/
.hide { 
  opacity: 0; 
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* For IE8 (first!) */
  filter:alpha(opacity=0); /* For IE5-7 */ 
}
.show { 
  opacity: 1; 
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* For IE8 (first!) */
  filter:alpha(opacity=100); /* For IE5-7 (second!) */ 
}
.opacity50 { 
  opacity: .5; 
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* For IE8 (first!) */
  filter:alpha(opacity=50); /* For IE5-7 (second!) */ 
}
.clear { width: 100%; height: 1px; margin: 0 0 -1px; clear: both; }
div.clearFloat { clear: both; font-size: 1px; line-height: 1px; height: 1px; max-height:1px; }
br.tall { line-height: 160%; }
.erase { display: none; }
.active{}
.nobr { white-space:nowrap; }
.center { text-align:center; }
.right { text-align:right; }
.left { text-align:left; }
.med { font-size:92%; }
.medsm { font-size:88%; }
.sm { font-size:80%; }
.xsm { font-size:68%; }
.xxsm { font-size:60%; }
.lg { font-size:1.05em; }
.xlg { font-size:1.2em; }
.xxlg { font-size:1.3em; }
.bold { font-weight:bold; }
.normal { font-weight:normal; }
.gray { color:#666; }
.lightgray { color:#999; }
.silver { color:#c0c0c0; }
.black { color:#000; }
.red { color:#f00; }
.green { color:#090; }
.blue { color:#00f; }
.brown { color: #895906; }
.it { font-style:italic; }
.strike { text-decoration:line-through; }
.hand {cursor: pointer;}
.edgeless { margin:0; padding:0; border:0; }
.ltrspace { letter-spacing:.1em; }
.money { text-align:center; }
span.dlr { font-size:68%; padding-right:.1em; vertical-align:text-top;opacity:.7; }
span.cents { font-size:80%; vertical-align:text-top; }
td.c { text-align: center; }
td.r { text-align: right; }
td.c-s { text-align: center; font-size:80%; }
td.r-s { text-align: right; font-size:80%; }
td.top { vertical-align: top; }
td.mid { vertical-align:middle; }
.sm-gr { font-size:80%; color:#666; }
.sm-gr-dash { display:inline-block; font-size:80%; color:#666; border-bottom-width: 1px; border-bottom-style: dashed; }
.float-left { float: left; }
.float-right { float: right; }

/** END Generic helper classes **/

/** BEGIN App-specific helpers **/
.special-order { color:#eca742; font-style:italic; font-size:92%; }
.on-sale-note { color:#f40; font-style:italic; font-size:92%; }
.promo-note { color:#f40; font-style:italic; font-size:92%; }
.deadstock-class { display:inline-block;margin:1px 0 0 4px;color:#f40; font-style:normal; font-size:80%;padding:0px 3px;border:1px solid #f40;vertical-align:text-top; }
.back-link { font-size:13pt;font-weight:normal;padding-left:2em;white-space:nowrap; }
.hilite-lineno { background-color:yellow;padding:3px 3px;border:1px solid #ccc; }
.docs-acctno { font-size:92%;margin-top:6px;border-top:1px solid #ebebeb; }
.second-date { font-size:86%; color:#888; }
a.lightview { color:blue; }
th span.colhd, td span.colhd { border-bottom: 1px dashed #999; padding-bottom:0; }
span.supplier { font-weight:normal; white-space:nowrap; font-style:italic; }
span.halso { font-weight:normal; padding-left:1em; font-size:92%; }
table#docs-list { margin-top:1em; margin-left:1.1em; margin-right:1em; }
  table#docs-list tr.docrow-hover { background-color:#f6f6f6; cursor:pointer; }
table.no-drill.doc-parts { margin-top:1em; margin-left:1em; }
.tapme { border-bottom: 1px solid #ddd; padding-bottom:0;cursor:pointer; }
table.taller td { padding:1em .4em; }
h3.content-title { padding-bottom:.8em; }
.not-list-price { text-decoration:line-through;color:#888; }
.cataloginfo { border-bottom-width:1px; border-bottom-style: dashed; cursor: pointer; }
.contactinfo { border-bottom-width:1px; border-bottom-style: dashed; cursor: pointer; white-space:nowrap; }
.whobought { border-bottom-width:1px; border-bottom-style: dashed; cursor: pointer; white-space:nowrap; }
.purchhist { border-bottom-width:1px; border-bottom-style: dashed; cursor: pointer; }
.item-is-new {
  color: red;
  padding: 0 4px;
  margin-left:10px;
  border:1px solid red;
}

table.data-sm-pad {
  margin: 0px 0px 4px 0px;
  background-color:#fcfcfc;
  width:100%;
}
table.data-sm-pad td {
  font-size:11px;
  padding: 3px 4px;
  text-align:center;
  border:1px solid #ddd;
}
table.data-sm-pad td div {
  font-size:10px;
  margin:0;
  padding-bottom:2px;
}
table.data-sm-pad td.yr {
  line-height:9px;
  padding: 2px 4px 1px 4px;
  background-color:#e6e6e6;
}

table.data.admin-list {

}
table.data.admin-list th {
  padding: 2px 4px;
  border:1px solid #ddd;
}
table.data.admin-list td {
  font-size:11pt;
  padding: 4px 8px;
  border:1px solid #ddd;
}
table.data.admin-list td.c {
  text-align:center;
}
table.data.admin-list td.sm {
  font-size:10pt;
}
table.data.admin-list td a {
  text-decoration:underline;
}

div.date-above {
  font-size:80%;
  margin:0;
  padding:0;
}
div.date-below {
  font-size:68%;
  /*color:#999;*/
  margin:0;
  padding:0;
  line-height:80%;
}
td.td-submit input {
  margin-right:1em;
}
div.admin-content-div {
}
  div.admin-content-div h1 {
    margin-top:0;
    margin-bottom:.3em;
  }
  div.admin-content-div h2 {
    margin-top:0;
    margin-bottom:1em;
  }

td.admin-td-checkbox {
  padding:35px 15px;
  line-height:35px;
}
  td.admin-td-checkbox label {
    padding-left:.5em;
  }
div.admin-footer-menu {
  margin:3em 0 2em 0;
}
  div.admin-footer-menu a {
    text-decoration:underline;
  }

span.dot-none {
  display:inline-block;
  background: #fff;
	width: 8px;
	height: 8px;
	border-radius: 50%;
  vertical-align:middle;
}
span.dot-up {
  display:inline-block;
  background: #0f0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
  vertical-align:middle;
}
span.dot-down {
  display:inline-block;
  background: #f00;
	width: 8px;
	height: 8px;
	border-radius: 50%;
  vertical-align:middle;
}
span.dot-black {
  display:inline-block;
  background: #000;
	width: 8px;
	height: 8px;
	border-radius: 50%;
  vertical-align:middle;
}
/** END App-specific helpers **/



input.order-qty {
  font-size:110%;
  width:4.5em;
  padding:2px 4px;
}

input.quickedit-price {
  font-size:100%;
  width:4.5em;
  padding:2px 4px;
}

input.quickedit-qty {
  font-size:100%;
  width:2.8em;
  padding:2px 4px;
}


table.form td {
  padding: 6px 12px;
  border:none;
}
  table.form td label {
    font-weight:bold;
  }
  table.form td input {
    font: normal 12pt  helvetica, arial, sans serif;
    padding:4px 6px;
  }
    table.form td input[type="text"] {
      font: normal 12pt monospace;
    }
  table.form td textarea {
    font: normal 12pt monospace;
    padding:4px 6px;
  }
  table.form td select {
    font: normal 12pt monospace;
    padding:4px 6px;
  }



/** BEGIN Header arrows http://css-tricks.com/snippets/css/css-triangle/ **/
span.arrow-down {
  display:inline-block;
  margin-left:3px;
  width:0px; 
  height:0px; 
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:5px solid #e1e1e1;
  font-size:0px;
  line-height:0px;
}
span.arrow-down-black {
  display:inline-block;
  margin-left:3px;
  margin-bottom:1px;
  width:0px; 
  height:0px; 
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid #000;
  font-size:0px;
  line-height:0px;
}
span.arrow-right {
  display:inline-block;
  margin-left:3px;
  width:0px; 
  height:0px; 
  border-bottom:5px solid transparent;
  border-top:5px solid transparent;
  border-left:5px solid #e1e1e1;
  font-size:0px;
  line-height:0px;
}
/** END Header arrows **/

/** BEGIN Flash messages **/
.flashcart {
  display:block;
  position: absolute;
	overflow:hidden;
  height: 26px; width: 240px;
  /*top: auto; right: 70px; bottom: 25px; left:auto;*/
  top: 49px; right: 40px; bottom: auto; left:auto;
  padding:6px;
	text-align:center;
	opacity: .99; 
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=95)"; /* For IE8 (first!) */
  filter:alpha(opacity=95); /* For IE5-7 (second!) */ 
  border-bottom: 1px solid #555;
  border-right: 1px solid #555;
  border-left: 1px solid #555;
  -webkit-border-bottom-left-radius: 8px; -moz-border-radius-bottomleft: 8px; border-bottom-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px; -moz-border-radius-bottomright: 8px; border-bottom-right-radius: 8px;
  z-index:98;
}
.flashcart.flashsuccess {
  background-color: #00af64; 
  color:#fff;
}
.flashcart.flashfail {
  background-color: #ed1846; 
  color:#fff;
}
/** END Flash messages **/

/** BEGIN Paging helper popup **/
#pageboxgrabber {
  display:block;
  position: absolute;
	overflow:hidden;
  height: 12px; width: 80px;
  /*top: auto; right: 70px; bottom: 25px; left:auto;*/
  top: auto; right: 64px; bottom: 25px; left:auto;
  padding:0;
	text-align:center;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  border-left: 1px solid #666;
  border-bottom: 1px solid #47a;
  -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px; border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; border-top-right-radius: 8px;
  z-index:998;
  background: rgba(0, 0, 0, .5);
}
  #pageboxgrabber hr {
    font-size:6px;
    border:0;
    width:40px;
    color: #bbb;
    background-color: #bbb;
    height: 1px;
  }
#pagebox {
  display:block;
  position: absolute;
	overflow:hidden;
  height: 30px; width: 136px;
  /*top: auto; right: 70px; bottom: 25px; left:auto;*/
  top: auto; right: 30px; bottom: 25px; left:auto;
  padding:6px;
	text-align:center;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  border-left: 1px solid #666;
  border-bottom: 1px solid #58b;
  -webkit-border-top-left-radius: 6px; -moz-border-radius-topleft: 6px; border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px; -moz-border-radius-topright: 6px; border-top-right-radius: 6px;
  z-index:998;
  background: rgba(0, 0, 0, .5);
  color:#fff;
}
  #pagebox div {
    padding:4px;
  }
  #pagebox a, #pagebox span {
    font: normal 9pt 'Trebuchet MS', 'Lucida Grande', Helvetica, Arial, sans-serif;
    padding:4px 10px;
    margin:0 4px;
    border:1px solid #ddd; 
    background-color:#ddd;
    color:#222;
    cursor:pointer; 
    text-decoration:none;
    letter-spacing:.2em;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
  }
    #pagebox span {
      background-color:#999;
      color:#666;
      cursor:default; 
      border:1px solid #999; 
    }


/** END Paging helper popup **/

/** BEGIN Page section elements - header, content, footer **/
#page-header div {
}
  #ph-name {
    float:left;
    padding:0 3px;
    margin:6px 5px 0px 5px;
    display:block;
  }
  #app-icon {
    width:30px;
    height:30px;
    padding:0;
    margin:0 6px 0 0;
    border:0px solid #ccc;
  }
  #ph-search {
    float:right;
    /*padding:6px 15px 0 5px;*/
    margin:3px 5px;
    display:block;
  }
    #ph-search input[type="search"] {
	      font: italic 16px Georgia, "Times New Roman", Times, serif;
	      /*width: 165px;*/
        margin:0;
	      padding: 5px;
	      border: none;
	      -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
	      outline: none;
	      background-color: #fff;
    }
    #search-submit {
      cursor:pointer; 
      width:36px; 
      height: 29px; 
      line-height:29px; 
      font-size:12px; 
      color: #444;  
      border: 1px solid #222; 
      -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; 
      margin:0;
      padding:0;
    }
      #submit-submit:hover {
          background-color: #357AE8; 
      }
  #ph-checkout {
    float:right;
    border-left:1px solid #ccc;
    padding:0 15px;
    margin:4px 5px;
    display:block;
  }
  #ph-cart {
    float:right;
    border-left:1px solid #ccc;
    padding:0 15px;
    margin:6px 5px 0px 5px;
    display:block;
  }
  .cart-hover { cursor:pointer; color:#ddd;}
  #ph-account {
    float:right;
    /*border-left:1px solid #ccc;*/
    padding:0 5px 0 15px;
    margin:6px 12px 0px 5px;
    display:block;
  }
  #ph-app {
    float:right;
    border-left:1px solid #ccc;
    padding:0 0 0 15px;
    margin:4px 5px;
    display:block;
  }
  #ph-arc {
    float:right;
    padding:10px 20px 5px 15px;
    margin:4px 5px;
    display:block;
    font: bold 17px "Arial Narrow", "Franklin Gothic Medium", Arial; 
    cursor:pointer;
  }
    #page-header div.pre-title { 
      font: bold 13px "Arial Narrow", "Franklin Gothic Medium", Arial;
      white-space: nowrap;
	    overflow: hidden;
    }
    #page-header div.title { 
      font: bold 17px "Arial Narrow", "Franklin Gothic Medium", Arial; 
      white-space: nowrap;
	    overflow: hidden;
	    /* max-width:300px;  TODO: Portrait collision with search input */
	    text-overflow: ellipsis;
      float:left;
    }
  #Categories {
    font-size:13pt;
    margin:0 15px 0 0;
    max-width:200px;
  }
  #SubCategories {
    font-size:13pt;
    margin:0;
    max-width:260px;
  }
  #Suppliers {
    font-size:13pt;
    margin:0;
  }
    #Categories option,
    #SubCategories option,
    #SubCategories option {
      font-size:120%;
    }
#page-footer div.footer-left {
  font: normal 11px Verdana;
  position: relative;
  float: left;
  padding: .5em 1em; 
}
#page-footer div.footer-right {
  font: normal 11px Verdana;
  position: relative;
  padding: .5em 2em; 
  float: right;
}
#page-footer a {
  font: normal 11px Verdana;
	color: #fff;
	text-decoration: none;
}
  #page-footer a:hover {
	  text-decoration: underline;
  }
/** END Page section elements - header, content, footer **/

/** BEGIN Icons **/
img.icon { margin-top:4px; }
div.icon {
  margin-top:4px;
  height:24px;
  width:24px;
  text-align:center;
  display:inline-block;
}
  div.icon.key { background:url('/a/css/img/info-icons.png') 0px -24px; }
  div.icon.stophold { background:url('/a/css/img/info-icons.png') -24px 0px; }
  div.icon.autohold { background:url('/a/css/img/info-icons.png') -48px 0px; }
  div.icon.cprod { background:url('/a/css/img/info-icons.png') -72px -24px; }
  div.icon.custcat { background:url('/a/css/img/info-icons.png') -96px -24px; }
  div.icon.invitem { background:url('/a/css/img/info-icons.png') -120px -24px; }
  div.icon.addcustcat { background:url('/a/css/img/info-icons.png') -144px -24px; }
  div.icon.delcustcat { background:url('/a/css/img/info-icons.png') -144px 0px; }
  div.icon.itemnote { background:url('/a/css/img/info-icons.png') -120px 0px; }
div.icon32 {
  margin:0px 6px;
  padding:0px;
  border:0;
  height:32px;
  width:32px;
  vertical-align:text-top;
}
  div.icon32.fav { background:url('img/favorites.png') 0px 0px; }
  div.icon32.fav-dis { background:url('img/favorites-d.png') 0px 0px; opacity:0.5; }
div.icon19 {
  margin:0px 6px;
  padding:0px;
  border:0;
  height:19px;
  width:19px;
}
  div.icon19.checked { background:url('img/checkbox3.png'); }
div.icon18 {
  display:inline-block;
  margin:0px 2px 4px 4px;
  padding:0; 
  border:0; 
  height:20px;
  line-height:8px;
  width:22px;
  vertical-align:bottom;
}
  div.icon18.cprod { background:url('/a/css/img/info-icons.png') -72px -24px; }


div.flagged span {
  display:inline-block;
  margin:0px 2px 4px 4px;
  background:url('/a/css/img/flag.png'); 
  padding:0; 
  border:0; 
  height:20px;
  line-height:8px;
  width:22px;
  vertical-align:bottom;
}

div.icon16 {
  margin:0px;
  padding:0px;
  border:0;
  height:16px;
  width:16px;
}
  div.icon16.energystar { opacity: .5; background:url('/a/css/img/energystar16.gif') 0px -16px; margin:8px 6px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
  
/** END Icons **/

/** BEGIN Paging **/
div.pager { 
  float:left;
  margin:2em 1.5em 4em 1.5em;
}
  div.pager a { 
    font: bold 1.25em "Arial Narrow", "Franklin Gothic Medium", Arial;
    color: #666; 
    text-decoration: none; 
    padding: 0 .4em; 
    margin: 0 .2em;
  }
    div.pager a:hover { 
      background-color: Silver; 
    }
    div.pager a.selected { 
      background-color: #353535; color: White; 
    }
    div.pager a.prev, 
    div.pager a.next { 
      font-size: 1.05em;
    }
  div.pager span.selected { 
    font: bold 1.25em "Arial Narrow", "Franklin Gothic Medium", Arial;
    color: #fff; 
    background-color: #666; 
    padding:0 .4em;
    border:.5px solid #fff;
    margin: 0 .2em;
  }
span.paging-summary { 
  font: normal 68% Verdana, Arial;
  color: #666;
  padding-left: 1.5em;
}
div.list-count-summary { 
  float: right;
}
/** END Paging **/

/** BEGIN Validation erros/messages **/
.field-validation-error {
  color: #ff0000;
}
.field-validation-valid {
  display: none;
}
.input-validation-label {
  font-style: italic;
  font-size:92%;
  color: #f66;
}
.input-validation-error {
  border: 1px solid #ff0000;
  background-color: #ffeeee;
}
.validation-note {
  margin-left: 1em;
  color: #f00;
}
.validation-summary-errors {
  font-weight: bold;
  color: #ff0000;
}
.validation-summary-valid {
  display: none;
}
.message {
  display:inline-block;
  font-weight: bold;
  color: #080;
  margin:1.2em 0 0 1em;
  border: 1px solid #0a0;
  background-color: #efe;
  padding:.5em;
}
.message-error {
  display:inline-block;
  font-weight: bold;
  color: #f00;
  margin:1.2em 0 0 1em;
  border: 1px solid #f00;
  background-color: #fee;
  padding:.5em;
}
.empty-dataset {
  display:inline-block;
  margin:2em 1em;
  font-style:italic;
  /*font-weight: bold;
  color: #f00;
  border: 1px solid #f00;
  background-color: #fee;*/
  padding:.5em;
}
  .empty-dataset span {
    font-weight: normal;
  }
  .empty-dataset a {
    font-weight: normal;
    color: #f00;
    padding:.5em .2em;
  }
/** END Validation erros/messages **/

/** BEGIN Data list tables **/
table.drill, 
table.no-drill {
  margin:0;
}
  table.drill th, 
  table.no-drill th {
    font: bold 68% "Trebuchet MS", Arial;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding:.6em;
    vertical-align:middle;
    background-color:#f4f4f4;
  }
  table.drill td, 
  table.no-drill td {
    border-bottom: 1px solid #ebebeb;
    padding:.6em;
    vertical-align:text-top;
  }
  table.drill td {
    cursor:pointer;
  }
    table.drill tr:hover {
      background-color:#f6f6f6;
    }
    table.drill tr.no-hover:hover {
      background-color:#fff;
    }
      table.no-drill tr.no-hover td,
      table.drill tr.no-hover td {
        cursor:default;
      }
    table.no-drill td.no-pad-r,
    table.drill td.no-pad-r {
      padding-right:0;
      text-align:right;
    }
    table.no-drill td.no-pad-l,
    table.drill td.no-pad-l {
      padding-left:0;
      text-align:left;
    }
    table.no-drill td.middle,
    table.drill td.middle {
      vertical-align: middle;
    }
    table.no-drill td.sm-pad-l,
    table.drill td.sm-pad-l {
      padding-left:.4em;
      text-align:left;
    }
    table.no-drill td.price,
    table.drill td.price {
      padding-right:0;
      text-align:right;
      white-space:nowrap;
    }
    table.no-drill td.price2,
    table.drill td.price2 {
      text-align:center;
      white-space:nowrap;
    }
    table.no-drill td.uom,
    table.drill td.uom {
      padding-left:.4em;
      text-align:left;
      /*font-size:80%;*/
    }
    table.drill td.top, 
    table.no-drill td.top {
      vertical-align:top;
    }
    table.drill td.topimg, 
    table.no-drill td.topimg {
      vertical-align:top;
      text-align:center;
      padding-top:12px;
    }
    table.drill td.top12, 
    table.no-drill td.top12 {
      vertical-align:top;
      padding-top:12px;
    }

    table.no-drill tr.subcategory-header-row td {
      font-size: 68%;
    }

    table.no-drill tr.line-header-row td,
    table.no-drill tr.category-header-all-row td,
    table.no-drill tr.category-header-row td {
      font-size: 68%;
    }

    table.no-drill tr.item-row td {
      font-size: 92%;
    }

      table.no-drill tr.item-row td div.itemnumber {
        white-space: nowrap;
        font-weight: bold;
        font-size: 100%;
        /*letter-spacing: .02em;*/
      }
        table.no-drill tr.item-row td div.itemnumber span.item-is-new {
          font-size: 72%;
          font-family:sans-serif;
          vertical-align:top;
          margin-top:0;
          padding:0px 2px;
        }

      table.no-drill tr.item-row td div.itemdesc {
        font-size: 92%;
      }
      table.no-drill tr.item-row td div.itemdesc-sm {
        font-size: 80%;
      }
      table.no-drill tr.item-row td.uom {
        font-size: 72%;
        color:gray;
      }
      table.no-drill tr.item-row td.qty-td {
        font-size: 100%;
      }
      table.no-drill tr.item-row td.item92 div {
        font-size: 92%;
      }
      table.no-drill tr.item-row td span.avail-uom {
        font-size: 92%;
        color:gray;
      }
      table.no-drill tr.item-row td table.hist td {
        font-size: 80%;
        padding:4px 4px;
      }
        table.no-drill tr.item-row td table.hist td.uom {
          font-size: 80%;
          color:gray;
          padding-left:0px;
        }




span.header-title-label {
  display:block;
  font-size:68%;
}
tr.big-leader-row {
  font-size:20px;
}
tr.small-leader-row {
  font-size:6px;
}
tr.category-header-row {
  /*background-color: #ffbd40;
  background-color: #f3d59c;
  background-color: #f3d59c;*/
  /*background-color: #996632;
  color:#fff;*/
  background-color: #DFC188;
}
  tr.category-header-row.FOODSVC {
    /*background-color: #B58480;
    background-color: #588F5B;*/
    background-color: #9FC9A2;
    background-color: #8FBC8F;
    background-color: #9FC9A2;
  }
  tr.category-header-row.JANSAN {
    /*background-color: #9BACD2;
    background-color: #B9C1D7;
    background-color: #8E94AE;*/
    background-color: #6495ED;
    background-color: #B0C4DE;
    background-color: #ADD8E6;
    background-color: #B9BFD6;
  }
  tr.category-header-row.INDPKG {
    background-color: #DFC188;
  }
  tr.category-header-row.UNITED {
    background-color: #aaa;
  }

  tr.line-header-row td,
  tr.category-header-all-row td,
  tr.category-header-row td {
    font: bold 68% "Trebuchet MS", Arial;
    vertical-align:middle;
    padding:3px 10px 1px 15px;
    text-transform:uppercase;
    letter-spacing:.1em;
    /*border-top-color:#000;
    border-top-width:1px;
    border-bottom-width:0;*/
    height:28px;
  }
    tr.category-header-all-row.title td {
      padding:3px 10px 3px 15px;
      height:14px;
      background-color:#aaa;
      color:#000;
      text-align:center;
      border-bottom:none;
    }
  tr.line-leader-row
  tr.category-leader-all-row
  tr.category-leader-row {
  }
    tr.line-leader-row td,
    tr.category-leader-all-row td,
    tr.category-leader-row td {
      line-height:1px;padding:0;border:0;
      font-size:1px;
    }
tr.subcategory-header-row {
  background-color: #e4e4e4;
}
  tr.subcategory-header-row td {
    font: bold 68% "Trebuchet MS", Arial;
    padding-top:4px;
    padding-bottom:4px;
    white-space:nowrap;
    text-align: center;
    color: #666;
    cursor:default;
    border-top:2px solid #ccc;
    border-bottom:1px solid #ccc;
  }
    tr.subcategory-header-row td.label {
      text-align: left;
      padding-left:25px;
      letter-spacing:1px;
      color: #000;
    }

    tr.subcategory-header-row.FOODSVC td {
      border-top-color:#9FC9A2;
      border-top-color:#8FBC8F;
      border-top-color:#9FC9A2;
    }
    tr.subcategory-header-row.JANSAN td {
      border-top-color:#6495ED;
      border-top-color:#B0C4DE;
      border-top-color:#ADD8E6;
      border-top-color:#B9BFD6;
    }
    tr.subcategory-header-row.INDPKG td {
      border-top-color:#DFC188;
    }
    tr.subcategory-header-row.UNITED td {
      border-top-color:#aaa;
    }

    tr.subcategory-header-row.FOODSVC td.label {
      background: -webkit-linear-gradient(left,  #9FC9A2 0px,#9FC9A2 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
      background: -webkit-linear-gradient(left,  #8FBC8F 0px,#8FBC8F 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
      background: -webkit-linear-gradient(left,  #9FC9A2 0px,#9FC9A2 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
    }
    tr.subcategory-header-row.JANSAN td.label {
      background: -webkit-linear-gradient(left,  #6495ED 0px,#6495ED 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
      background: -webkit-linear-gradient(left,  #B0C4DE 0px,#B0C4DE 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
      background: -webkit-linear-gradient(left,  #ADD8E6 0px,#ADD8E6 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
      background: -webkit-linear-gradient(left,  #B9BFD6 0px,#B9BFD6 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
    }
    tr.subcategory-header-row.INDPKG td.label {
      background: -webkit-linear-gradient(left,  #DFC188 0px,#DFC188 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
    }
    tr.subcategory-header-row.UNITED td.label {
      background: -webkit-linear-gradient(left,  #aaa 0px,#aaa 15px,#e4e4e4 15px,#e4e4e4 16px); /* Chrome10+,Safari5.1+*/
    }




    /*tr.subcategory-header-row td.label span {
      border-left: 15px solid #9FC9A2;
    }*/

    tr.subcategory-header-row td.left {
      text-align: left;
    }
    tr.subcategory-header-row td.rt {
      text-align: right;
    }
  /*tr.subcategory-header-row th {
    background-color: #ddd;
    color: #000;
  }*/
tr.item-supplier-header-row {
  background-color: #eee;
}
tr.item-supplier-header-row td {
  font: normal 68% "Trebuchet MS", Arial;
  color: #555;
  padding:2px 20px;
  /*border-top:1px solid #ddd;*/
  border-bottom:0px solid #ddd;
  /* FAF1D7, FFF5E1, FAEBD7, efeedf, #E4E6D5, F9F8E9, F9F8E9, FFFFF3    */

    background-image: -webkit-linear-gradient(right, #ffffff, #F9F8E9);
    background-image: -moz-linear-gradient(right, #ffffff, #F9F8E9);
    background-image: -o-linear-gradient(right, #ffffff, #F9F8E9);
    background-image: -ms-linear-gradient(right, #ffffff, #F9F8E9);
    background-image: linear-gradient(right, #ffffff, #F9F8E9);
    background-repeat: repeat-x;



}
#show-promo-chart,#hide-promo-chart,
#collapse-part,
#expand-list,
#collapse-list {
  font-size: 10pt;
  padding:6px 3px;
  text-decoration:underline;
  color:#555;
  letter-spacing:.02em;
  cursor:pointer;
}

/** END Data list tables **/

/** BEGIN POD Scan link **/
table td.pod-scan-link {
  vertical-align:middle; 
  padding-left:40px; 
  white-space:nowrap;
}
  td.pod-scan-link a {
    -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
    font: bold 1.0em "Arial Narrow", "Franklin Gothic Medium", Arial;
    color: #444; 
    text-decoration: none; 
    padding: .5em .6em; 
    margin: 0 .2em;
    background-color: silver; 
    border: 2px solid #bbb;
  }
    td.pod-scan-link a:hover {
      background-color: #999; color: #ddd; 
      border: 2px solid Silver;
    }
/** END POD Scan link **/

/** BEGIN Dragdealer JS v0.9.5 **/
/** http://code.ovidiu.ch/dragdealer/
 * Copyright (c) 2010, Ovidiu Chereches
 * MIT License: http://legal.ovidiu.ch/licenses/MIT
 **/
.dragdealer {
	  /*width: 480px;
	  min-width: 480px;*/
	position: relative;
	height: 40px;
	background-color: #eee;
  text-align:center;
}
  .dragdealer .handle {
	  position: absolute;
	  cursor: pointer;
  }
  .dragdealer .red-bar {
	  width: 80px;
	  min-width: 80px;
	  height: 40px;
	  background-color: #0c0;
	  color: #FFF;
	  line-height: 40px;
	  text-align: center;
  }
  .dragdealer .disabled {
	  background-color: #898989;
  }
.pricer-bar-container {
  margin:.5em 0 1.5em 0;
}
/** END Dragdealer JS v0.9.5 **/




/* PAGE: ITEM PRICE LIST DETAIL */
table#itemprice-detail-info td {
  border:0;
  margin:0;
  padding:6px;
}


/* CATALOG PHOTO */
img.photo-thumb { margin:0;border:0;padding:0;max-height:35px;max-width:35px;vertical-align:text-top; }



/* SITE ADMIN  AND ITEM PURCHASE HISTORY*/
table caption { font-size:68%; font-style:italic; margin-bottom:.5em; }
table.data { border-collapse:collapse; }
table.data thddd { padding:3px 6px; border: 1px solid #999; white-space:nowrap; color:#999; }
  table.data th { padding:8px 8px; border: 1px solid #999; white-space:nowrap; color:#fff; font-size:68%; }
  table.data th a { color:#fff; }
table.data td { padding:5px 8px; border: 1px solid #999;font-size:80%; white-space:nowrap; }
table.data.taps td { padding:10px 8px; font-size:92%; cursor:pointer; }
table.data.taps tr.notap td { padding:5px 8px; font-size:100%; cursor:default; }
table.data td.max160 { white-space: nowrap; overflow: hidden; max-width:160px; text-overflow: ellipsis; }
table.data td.max200 { white-space: nowrap; overflow: hidden; max-width:200px; text-overflow: ellipsis; }
table.data td.max250 { white-space: nowrap; overflow: hidden; max-width:250px; text-overflow: ellipsis; }


table.hist { border-collapse:collapse; }
  table.hist th { padding:8px 8px; border: 1px solid #999; white-space:nowrap; color:#fff; font-size:9pt; }
  table.hist td { padding:5px 8px; border: 1px solid #999;font-size:11pt; white-space:nowrap; }
  table.hist td.noleft { border-left:0px solid #fff; padding-left:2px; text-align:left; }
  table.hist td.uom { border-left:0px solid #fff; padding-left:2px; text-align:left; font-size:80%;}
  table.hist td.noright { border-right:0px solid #fff; padding-right:2px; text-align:right; }


div.admin-menu li { margin-bottom:.5em; }
div.admin-menu a { text-decoration:underline; cursor:pointer; }



/* ORDER SUBMIT MESSAGE */

div.message-order-success {
  display:inline-block;
  margin:40px 20px 30px 20px;
  padding:10px;
  max-width:600px;
  border-top:2px solid #13782a;
  border-bottom:2px solid #13782a;
}
  div.message-order-success span {
    display: block;
    margin-bottom:.2em;
  }
  div.message-order-success span.msg-header {
    font-weight:bold;
    color:#02b205;
    font-size:15pt;
  }
  div.message-order-success span.msg-body {
    font-size:13pt;
  }
  div.message-order-success span.msg-footer {
    font-style:italic;
    font-size:11pt;
  }

div.message-order-fail {
  display:inline-block;
  margin:40px 20px 30px 20px;
  padding:10px;
  max-width:600px;
  border-top:2px solid #781322;
  border-bottom:2px solid #781322;
}
  div.message-order-fail span {
    display: block;
    margin-bottom:.2em;
  }
  div.message-order-fail span.msg-header {
    font-weight:bold;
    color:#b20205;
    font-size:15pt;
  }
  div.message-order-fail span.msg-body {
    font-size:13pt;
  }
  div.message-order-fail span.msg-footer {
    font-style:italic;
    font-size:11pt;
  }


/* BEGIN APP NAV SELECT */
  #item-line-select {
    font-family: 'Trebuchet MS','Lucida Grande',Helvetica,Arial,sans-serif;
    font-weight:normal;
    border: none  ! important;    
    -webkit-appearance: none;
    cursor:pointer;
  }



/* END APP NAV SELECT */


/* BEGIN Customer List PAGE */

    .cust-hover { background-color:#f6f6f6; cursor:pointer; }
    #customer-list { margin-left:1em; }

    select.sel-rep {
      -webkit-appearance: none;
      font-family: Cambria, Georgia, serif;
      font-size: 13pt;
      font-weight: normal;
      line-height: 1.5em;
      line-height: 35px;
      padding:0 12px;
      -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
      border: none !important;
      cursor: pointer;
    }
      select.sel-rep option {
        line-height: 1.5em;
        letter-spacing: 1px;
      }
      #cust-filter-landscape select.sel-rep {
        float: left;
        font: normal 12pt 'Trebuchet MS', 'Lucida Grande', Helvetica, Arial, sans-serif;
        line-height: 12pt;
        width:162px;
        min-width:162px;
        max-width:162px;
        height:45px;
        margin: 4px 0px 0px 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }
      #cust-filter-portrait select.sel-rep {
        float: left;
        font: normal 11pt 'Trebuchet MS', 'Lucida Grande', Helvetica, Arial, sans-serif;
        line-height: 11pt;
        width: 110px;
        max-width: 110px;
        min-width: 110px;
        height:45px;
        margin: 1px 4px 0 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }
      select.sel-rep option {
        background-color: #fff;
        color: #000;
      }


    /*select.sel-rep {
      font-size: 13pt;
      font-family: Cambria, Georgia, "Times New Roman";
      padding: 4px 6px;
      margin-left:20px;
      background-color: #fefefe;
      -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
      line-height: 1.5em;
    }
      select.sel-rep option {
        line-height: 1.5em;
        letter-spacing:1px;
      }*/
    table.history-lines {
      width:100%;
      margin-right:0px;
      text-align:right;
    }
      table.history-lines th {
        font-size: 10px;
        padding: 1px 6px;
        color:#bbb;
      }
      table.history-lines td {
        font-size: 12px;
        padding:2px 4px;
      }
div.stackedbar {
  /*float:left;*/
  display:inline-block;
}
  div.stackedbar ul {
    margin:0;
    padding:10px 0 0 0;
    list-style:none;
    border: 1px solid #aeaeae; 
    background-color: #f6f6f6; 
    float:left; /*should be clearfix'd instead*/
    display:block;
  }
    div.stackedbar ul li {
      width: 23px; 
      height: 50px; 
      margin: 2px 3px 1px 3px;
      padding:0;
      border:0;
      display:inline-block;
      float:left;
      position:relative;
    }
      div.stackedbar ul li+li {
        margin-left:0;
      }
      div.stackedbar ul span {
        position:absolute; 
        background-color: #369; 
        right:0;
        left:0;
        background-color: #aeaeae;
      }
      div.stackedbar div.xaxis {
        /*float:left;*/
        background-color: #fff;
        margin: 0 0 0 0;
        display: block;
        padding:2px 0px;
        /*bottom: 0px;
        position: relative;
        opacity:1;*/
        /*text-align:center;*/
        /*border:1px solid green;*/
      }
      div.stackedbar div.xaxis span {
        margin: 4px 4px 4px 4px;
        padding:0;
        border:0;
        width: 23px; 

        font-size:9px;
        line-height:23px;

        position: relative;

        text-align:right;
        /*bottom: -28px;
        width: 20px;
        position: relative;*/
        background-color: #fff;
        margin: 0px 0px;
        display: inline-block;

        font-family:Helvetica, Arial, sans-serif;
        text-transform:uppercase;
        letter-spacing:1px;

        /*background-color:lightyellow;*/

        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
      }




    .vgraph-wrapper {
      display: inline-block;
      position: relative;
      vertical-align:top;
      margin: 6px;
      border: 1px solid #aeaeae;
      background-color: #eaeaea;
      width: 240px;
      height: 52px;
    }

      .vgraph-wrapper > div {
        bottom: 0px;
        width: 18px;
        position: absolute;
        background-color: #aeaeae;
        margin: 1px;
        display: inline-block;
      }
        .vgraph-wrapper > div span {
          font-size:7pt;
          line-height:12pt;
          text-align:center;
          bottom: -28px;
          width: 18px;
          position: absolute;
          background-color: #fff;
          margin: 1px;
          display: inline-block;
          /*overflow:hidden;*/
          font-family:Helvetica, Arial, sans-serif;
          text-transform:uppercase;
          letter-spacing:1px;

          -webkit-transform: rotate(-90deg);
          -moz-transform: rotate(-90deg);
          -ms-transform: rotate(-90deg);
          -o-transform: rotate(-90deg);
          filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
        }

    .hgraph-wrapper {
      display: inline-block;
      position: relative;
      vertical-align: top;
      margin: 6px;
      border: 1px solid #fff;
      background-color: #fff;
      width: 240px;
      height: 155px;
    }
    .hgraph-labels {
      left: 0px;
      top: 0px;
      height: auto;
      position: absolute;
    }
      .hgraph-labels > div {
        left: 0px;
        width: 65px;
        height: 12px;
        position: absolute;
        margin: 1px;
        display: inline-block;
        font-size: 10px;
        line-height: 12px;
        text-align:right;
      }
    .hgraph-bars {
      left: 70px;
      top: 0px;
      height: auto;
      position: absolute;
    }
      .hgraph-bars > div {
        left: 0px;
        height: 10px;
        position: absolute;
        margin: 1px;
        display: inline-block;
        /*font-size: 12px;*/
        line-height: 12px;
        border:1px solid #bbb;
      }
        /*.hgraph-bars > div.graph-group1 {
          background-color: #9FC9A2;
        }
        .hgraph-bars > div.graph-group2 {
          background-color: #D0BED9;
        }
        .hgraph-bars > div.graph-group3 {
          background-color: #DFC188;
        }
        .hgraph-bars > div.graph-group4 {
          background-color: #B6C1D6;
        }
        .hgraph-bars > div.graph-group5 {
          background-color: #fffdaa;
        }*/
    .hgraph-values {
      left: 80px;
      top: 0px;
      height: auto;
      position: absolute;
    }
      .hgraph-values > div {
        width: 65px;
        height: 12px;
        position: absolute;
        margin: 1px;
        display: inline-block;
        font-size: 10px;
        line-height: 12px;
        text-align: left;
      }
    /*.graph-group1 {
      top: 0px;
    }
    .graph-group2 {
      top: 14px;
    }
    .graph-group3 {
      top: 28px;
    }
    .graph-group4 {
      top: 42px;
    }
    .graph-group5 {
      top: 56px;
    }
    .graph-group6 {
      top: 70px;
    }
    .graph-group999 {
      top: 84px;
    }*/
/* END CUSTOMER LIST PAGE */


/* SALES HISTORY CHART PAGE */
    .hist-hover { background-color:#f6f6f6; cursor:pointer; }

    .bprice { display:none; }
    div#acct-graph-table { display:inline-block; margin-top:1em; }
    div#graph-wrapper { height: 220px; margin: 20px 20px 0 40px; width:@(graphWidth)px; }
    div#acct-totals { margin:0em 1em; }
    div#acct-totals table.history-lines td { font-size:9pt; padding:1em .4em; }
    div#acct-totals table.history-lines td div.bprice { color:#777; font-style:italic;margin-top:2px; }

    div#prod-totals { display:inline-block; margin:10px 20px; }
    div#prod-totals table.history-lines td { font-size:92%; padding:.5em .8em; }
    div#prod-totals table.history-lines tr.grouphist { cursor:pointer; }
    div#prod-totals table.history-lines tr.grouphist td { background-color:#e9ab17; zbackground-color:#fc0;padding:1.2em .8em; }
    div#prod-totals table.history-lines tr.grouphist td.groupexp { background-color:#fff; border-bottom:1px solid #fff; }
    div#prod-totals table.history-lines tr.grouphist td:first-child { padding-left:20px; 
      -webkit-border-top-left-radius: 10px; -moz-border-top-left-radius: 10px; border-top-left-radius: 10px;
      -webkit-border-bottom-left-radius: 10px; -moz-border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
    }

    div#prod-totals table.history-lines th:first-child { padding-left:15px; }
    div#prod-totals table.history-lines tr.cathist { cursor:pointer; display:none; }
    div#prod-totals table.history-lines tr.cathist td { background-color:#ede275; padding:1.2em .8em; }
    div#prod-totals table.history-lines tr.cathist td:first-child { border:0; }
    div#prod-totals table.history-lines tr.cathist td:first-child + td { padding-left:20px; 
      -webkit-border-top-left-radius: 10px; -moz-border-top-left-radius: 10px; border-top-left-radius: 10px;
      -webkit-border-bottom-left-radius: 10px; -moz-border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
    }

    div#prod-totals table.history-lines tr.itemhist { display:none; }
    div#prod-totals table.history-lines tr.itemhist td:first-child { border:0; }
    div#prod-totals table.history-lines tr.itemhist td:last-child { border:0; }

    div#prod-totals table.history-lines tr.last-hist-row td { font-size:1px; padding:0; border:0; }
    div#prod-totals table.history-lines td.uom { text-align:left;padding-left:0; }
    div#prod-totals table.history-lines td i { color:#999; font-size:10pt; }
    #expand-prod, #collapse-prod, 
    div#prod-totals table.history-lines tr.grouphist td.groupexp { text-decoration:underline; cursor:pointer; font-size:10pt; letter-spacing:.08em;}
    table.history-lines td { text-align:right; }
    table.history-lines td.left { text-align:left; }
    table.history-lines td.c { text-align:center; }

    table.history-lines td.sel { color:#fff; }

    /* http://stackoverflow.com/questions/5523735/how-to-make-a-radio-button-look-like-a-toggle-button */
    #version-buttons { margin:4px 40px; float:left;width:100%;min-width:450px;vertical-align:top;}
    #version-buttons label {float:left;width:140px;margin:1px;overflow:auto;}
    #version-buttons label span {font: normal 16px 'Trebuchet MS', 'Lucida Grande', Helvetica, Arial, sans-serif;
      text-align:center;padding:8px 4px;display:block;background-color:#c6c6c6;-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;border:2px solid #D0D0D0;}
    #version-buttons label input {position:absolute;top:-100px;}
    #version-buttons input:checked + span {background-color:#5a9ec7;color:#F7F7F7;border:2px solid #FFCC00;}

h3#order-history-hdr {
  margin: 30px 20px 10px 20px;
  font-size:12pt;
}

div#order-history-result table#results-table {
  margin:0 20px;
}
  div#order-history-result table#results-table th {
    font-size:8pt; 
    font-weight:normal;
    padding:.3em .4em;
    background-color:#eee;
  }
  div#order-history-result table#results-table td { 
    font-size:9pt; 
    padding:.4em .8em; 
  }

  #clear-purch-drill { 
    font-size:10pt; 
    text-decoration: underline; 
    margin-left:1em;
    padding:.5em; 
  }



  /* PAGE: CUSTOMER PRODUCTS */

span.uom {
  color: gray;
  font-size:80%;
}
div.itemprice {
  font-size:11pt;
  padding-bottom:6px;
}
span.cprod-lastsaledate {
  font-weight:normal;
  font-size:12pt;
  margin-left:40px;
  white-space:nowrap;
  font-style:italic;
  color:#666;
}
span.cprod-sortedby {
  font-weight:normal;
  font-size:12pt;
  white-space:nowrap;
}
span.list-is-more {
  color: Blue;
}
span.qty-ordered {
  display: block;
  font-size:80%;
}
span.qty-ordered-nobr {
  font-size:80%;
}
span.more-cats {
  font-weight:normal;
  margin-left:.5em;
}
  span.more-cats a {
    padding: .8em .1em;
  }
tr.discontinued-header-row {
  background-color: #f4debd;
}
  tr.discontinued-header-row td {
    font: bold 120% "Trebuchet MS", Arial;
    white-space:nowrap;
    text-align: center;
    color: #666;
    cursor:default;
  }
tr.typegroup-header-row {
  background-color: #b69c6c;
}
  tr.typegroup-header-row td {
    font: bold 120% "Trebuchet MS", Arial;
    white-space:nowrap;
    text-align: center;
    color: #eee;
    cursor:default;
  }
/*tr.cprod-header-row {
  background-color: #ffbd40;
  background-color: #f3d59c;
}*/
.on-sale-note {
  font-weight:normal;
  font-style:italic;
  color: #ff7c00;
}
.on-sale-price {
  font-style:italic;
  color: #ff7c00;
}
.on-sale-not-price {
  font-style:normal;
  color: #000;
  text-decoration:line-through;
}
.on-sale-opt {
  color: #ff7c00;
  cursor:pointer;
}
.list-price {
  color: #666;
  font-size:92%;
  text-decoration: line-through;
}

div.next-sale-date {
  margin-top:2px;
  font-weight:normal;
  font-style:italic;
}
  div.next-sale-date span.date-ancient {
    color:#888;
  }
  div.next-sale-date span.date-passed {
    color:#f00;
  }
  div.next-sale-date span.date-today {
    color:#f00;
  }
  div.next-sale-date span.date-future {
    color:#888;
  }


input.vmi-qty,
input.order-qty {
  font-size:110%;
  width:4.5em;
  padding:2px 4px;
}
input.edit-qty {
  font-size:120%;
  width:5em;
  padding:2px 4px;
}
input.edit-price-opt {
  font-size:120%;
  width:2.5em;
  padding:2px 4px;
}
input.edit-price {
  font-size:120%;
  width:5em;
  padding:2px 4px;
}

div.item-cart-submit button {
 cursor:pointer; 
}





/* UOM RADIO BUTTONS */
/* Based on http://jeremyworboys.com/writing/toggle-buttons-without-javascript */
.uom-buttons {
  margin:3px 0;
}
.uom-buttons input {
  display: none;
}
.uom-buttons label,
.uom-buttons-stacked label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  padding: 6px 12px;
  font-size: 11pt;
  line-height: 15pt;
  text-align: center;
  vertical-align: middle;
}
  .uom-buttons.stacked label {
    display:block;
    padding: 6px 9px;
    font-size: 10pt;
  }
.uom-buttons label:hover {
  background-color: #e6e6e6;
}
.uom-buttons label:active,
.uom-buttons input:focus + label {
  background-color: #d9d9d9;
  outline: 0;
}
.uom-buttons input:checked + label {
  border-width: 1px;
  border-style: solid;
  color:#fff;
}
.uom-buttons span:first-child label {
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  margin-left: 0;
}
  .uom-buttons.stacked span:first-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-left-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  border-bottom-left-radius: 0px;
  }

.uom-buttons span:last-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  border-bottom-right-radius: 8px;
}
  .uom-buttons.stacked span:last-child label {
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  -webkit-border-top-right-radius: 0px;
  -moz-border-radius-topright: 0px;
  border-top-right-radius: 0px;
  }


/* CHECKOUT ORDER/QUOTE RADIO BUTTONS */
/* Based on http://jeremyworboys.com/writing/toggle-buttons-without-javascript */
.quoteorder-buttons {
  margin:3px 0;
}
.quoteorder-buttons input {
  display: none;
}
.quoteorder-buttons label,
.quoteorder-buttons-stacked label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  padding: 12px 24px;
  font-size: 12pt;
  line-height: 15pt;
  text-align: center;
  vertical-align: middle;
}
  .quoteorder-buttons.stacked label {
    display:block;
  padding: 6px 9px;
  font-size: 10pt;
  }
.quoteorder-buttons label:hover {
  background-color: #e6e6e6;
}
.quoteorder-buttons label:active,
.quoteorder-buttons input:focus + label {
  background-color: #d9d9d9;
  outline: 0;
}
.quoteorder-buttons input:checked + label {
  border-width: 1px;
  border-style: solid;
  color:#fff;
}
.quoteorder-buttons span:first-child label {
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  margin-left: 0;
}
  .quoteorder-buttons.stacked span:first-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-left-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  border-bottom-left-radius: 0px;
  }

.quoteorder-buttons span:last-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  border-bottom-right-radius: 8px;
}
  .quoteorder-buttons.stacked span:last-child label {
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  -webkit-border-top-right-radius: 0px;
  -moz-border-radius-topright: 0px;
  border-top-right-radius: 0px;
  }




/* ACCOUNT ITEMS LIST VIEW MODE RADIO BUTTONS */
/* Based on http://jeremyworboys.com/writing/toggle-buttons-without-javascript */
#acctitem-viewmode {
  text-align: left; 
  float: left; 
  margin: 0;
  white-space:nowrap;
}
#purch-drill-rb input,
#acctitem-viewmode input {
  display: none;
}
#purch-drill-rb label,
#acctitem-viewmode label {
  font: 10pt normal "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 15pt;
  padding: 4px 8px;
  border: 1px solid #cccccc;
  background-color: #f5f5f5;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
#purch-drill-rb label:hover,
#acctitem-viewmode label:hover {
  background-color: #e6e6e6;
}
#purch-drill-rb label:active,
#purch-drill-rb input:focus + label,
#acctitem-viewmode label:active,
#acctitem-viewmode input:focus + label {
  background-color: #d9d9d9;
  outline: 0;
}
#purch-drill-rb input:checked + label,
#acctitem-viewmode input:checked + label {
  border-width: 1px;
  border-style: solid;
  color:#fff;
}
#purch-drill-rb span:first-child label,
#acctitem-viewmode span:first-child label {
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  margin-left: 0;
}

#purch-drill-rb span:last-child label,
#acctitem-viewmode span:last-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  border-bottom-right-radius: 8px;
}


/* PURCHASE HISTORY RADIO BY ORDER or BY CATEGORY */
#purch-drill-rb {
  white-space:nowrap;
  display:inline;
  margin-left:.5em;
}




table.price-matrix-table {
  text-align:right;
}
  table.price-matrix-table th {
    font-size:7.5pt;
    font-style:normal;
    padding:2px 6px;
    background-color:#f5f5f5;
    border-width:1px;
    border-style:solid;
    border-color:#ddd #ccc;
    white-space: nowrap;
  }
  table.price-matrix-table td {
    font-size:10pt;
    padding:2px 6px;
    border-bottom:1px solid #fff;
    white-space: nowrap;
  }
  table.price-matrix-table tr.qty-brk td {
    border-width:1px;
    border-style:solid;
    border-color:#ddd #ccc;
  }
  table.price-matrix-table tr.spacer td {
    font-size:4px;
    padding:0 0 0 0;
    border-bottom:0px solid #fff;
  }



dt {
  font-weight: bold;
  margin-top: 1em;
}
dd {
  font-size: 92%;
  margin-top: .3em;
  line-height: 125%;
}
dd div {
  margin-top:.3em;
}

span.watchvideo {
  display:inline-block;
  background: url('img/film@2x.png') no-repeat 0 1px;
  background-size: 10px;
  padding-left: 20px;
  color:#999;
  font-size:9pt;
  /*float:right;*/
  cursor:pointer;
  /*text-decoration:underline;
  margin-top:1.2em;*/
}


      div.menu-icon.w75.accounts {
        background: url('/a/css/img/nav/Accounts65x75.png') no-repeat center;
        width:75px;
      }
      div.menu-icon.w50.announce {
        background: url('/a/css/img/nav/Announce43x50.png') no-repeat center;
      }
      div.menu-icon.w50.directory {
        background: url('/a/css/img/nav/Directory43x50.png') no-repeat center;
      }
      div.menu-icon.w50.summary {
        background: url('/a/css/img/nav/Summary43x50.png') no-repeat center;
      }
      div.menu-icon.w50.overview {
        background: url('/a/css/img/nav/Overview43x50.png') no-repeat center;
      }
      div.menu-icon.w50.directory {
        background: url('/a/css/img/nav/Directory43x50.png') no-repeat center;
      }
      div.menu-icon.w50.docs {
        background: url('/a/css/img/nav/Folders43x50.png') no-repeat center;
      }
      div.menu-icon.w50.overview {
        background: url('/a/css/img/nav/Summary43x50.png') no-repeat center;
      }
      div.menu-icon.w50.notes {
        background: url('/a/css/img/nav/Notes43x50.png') no-repeat center;
      }
      div.menu-icon.w50.settings {
        background: url('/a/css/img/nav/Settings43x50.png') no-repeat center;
      }
      div.menu-icon.w50.activities {
        background: url('/a/css/img/nav/Activities43x50.png') no-repeat center;
      }
      div.menu-icon.w50.helpinfo {
        background: url('/a/css/img/nav/InfoHelp43x50.png') no-repeat center;
      }


table.data.admin-list th {
  background-color:#333;
  color:#fff;
}


/* BEGIN SALES HISTORY */
#acct-graph-table #chart-line {
  height: 300px;
}
#acct-graph-table #chart-stack {
  height: 300px;
}
#acct-graph-table #chart-pie {
  height: 400px;
}
#acct-graph-table #chart-bar {
  height: 440px;
}
#order-history-result {
  margin-bottom:600px;
}
/* END SALES HISTORY */




/** BEGIN SEARCH LINK (in header) **/
#searchicon {
  display:block;
  position: relative;
  height: 37px; width: 37px;
  padding:0 4px 0 4px;
  z-index:999;
  background-image: url('img/search@3x.png');
  background-repeat:no-repeat;
  background-size: 26px;
  background-position:right 7px center;
  cursor:pointer;
  margin:0 8px 0 0;
}
#searchlist-textbox {
  font:12pt sans-serif;
  padding:3px 5px;
  min-width:300px;
}

  #ph-search {
    float:right;
    /*padding:6px 15px 0 5px;
    margin:4px 5px;*/
    padding:4px 4px;
    /*border:1px solid gold;*/
    margin:0px 0px;
    display:inline-block;
  }
    #ph-search input[type="search"] {
	      /*font: italic 16px Georgia, "Times New Roman", Times, serif;*/
	      /*width: 165px;*/
        font:12pt sans-serif;
        padding:3px 5px;
        min-width:300px;
        margin:0;
	      /*padding: 5px;*/
	      border: none;
	      -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
	      outline: none;
	      background-color: #fff;
    }

  #ph-search {
    padding:6px 15px 0 5px;
  }
    #ph-search input[type="search"] {
	      width: 165px;
    }
/** END SEARCH LINK **/



/** BEGIN NOTES LINK (in header) **/
#notesicon {
  display:block;
  position: relative;
  height: 37px; width: 37px;
  padding:0 4px 0 4px;
  z-index:999;
  background-image: url('img/compose@2x.png');
  background-repeat:no-repeat;
  background-size: 26px;
  background-position:right 7px center;
  cursor:pointer;
  margin:0 8px 0 0;
}

  #ph-notes {
    float:right;
    /*padding:6px 15px 0 5px;
    margin:4px 5px;*/
    padding:4px 4px;
    /*border:1px solid gold;*/
    margin:0px 0px;
    display:inline-block;
  }

  #ph-notes {
    padding:6px 15px 0 5px;
  }

/** END NOTES LINK **/



/* START YN BUTTONS */
.yn-buttons {
  margin:3px 0;
}
.yn-buttons input {
  display: none;
}
.yn-buttons label,
.yn-buttons-stacked label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  padding: 10px 16px;
  font-size: 10pt;
  line-height: 10pt;
  text-align: center;
  vertical-align: middle;
}
.yn-buttons label:hover {
  background-color: #e6e6e6;
}
.yn-buttons label:active,
.yn-buttons input:focus + label {
  background-color: #d9d9d9;
  outline: 0;
}
.yn-buttons input:checked + label {
  border-width: 1px;
  border-style: solid;
  color:#fff;
}
.yn-buttons span:first-child label {
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-left-radius: 8px;
  margin-left: 0;
}
.yn-buttons span:last-child label {
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  border-bottom-right-radius: 8px;
}
/* END YN BUTTONS */

/* BEGIN BADGES */
a.badge:after {
  display:inline-block;
  content:attr(data-count);
  position:relative;
  background:rgba(255,0,0,1);
  color:#fff;
  height:1.4rem;
  top:-.2rem;
  right:1rem;
  width:1.4rem;
  min-width:1.4rem;
  text-align:center;
  vertical-align:top;
  line-height:1.4rem;
  font-size:.75rem;
  border-radius:50%;
  border:0px solid red;
  padding:0px;
}
div.badge:after {
  display:inline-block;
  content:attr(data-count);
  position:relative;
  background:rgba(255,0,0,1);
  color:#fff;
  height:1.4rem;
  top:-.3rem;
  right:-1.5rem;
  min-width:1.4rem;
  text-align:center;
  vertical-align:middle;
  line-height:1.5rem;
  font-size:.80rem;
  border-radius:50%;
  border:0px solid red;
  padding:0px;
}

/* END BADGES */
