.tab-pane{
  min-height:150px;
}
#item-top{
  clear:both;
  padding:25px 22px 19px 22px;
  background: url("../images/bkg_product-view.gif") no-repeat scroll 100% 0 #FFFFFF;
}
#item-bottom{
  padding:5px 15px 15px 15px;
}
#item-outer{
  border: 1px solid #C4C6C8;
  background:white;
}
#item-left{
  float:left;
  width:40%;
  position:relative;
  text-align:left;
}
#item-top p.product-image{
  margin:0;
  text-align: center;
}
#item-top p.product-image.has-more-views{
  margin-left:50px;
}
.more-views{
  width:44px;
  display: block;
  margin-left: -5px;
  vertical-align: top;
  padding:1px;
  float:left;
  margin-top:-5px;
}
.more-views-inner{
  height: 250px;
  overflow: hidden;
}
#item-right{
  float:left;
  width:56%;
  margin-left:4%;
}
#item-related{
  float:right;
  width:10%;
}
.lot-history-table{
  margin:0;
}
.tab-content table{
  /*margin:0;*/
  width:100%;
  text-align:center;
}
#min-qty-apply{
  display:none;  
}
.filter{
  padding:3px 8px;
  display:inline-block;
  margin: 5px 10px 5px 0px;
  cursor:pointer;
  border-radius:3px;
  white-space:nowrap;
  border: 1px solid #C6C6C6;
  color: #666;

  text-shadow: 0 1px 0 #FFF;
  border-radius: 3px;
  background-color: #f9f9f9;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9f9f9),color-stop(100%, #dfdfdf));
  background-image: -webkit-linear-gradient(top, #f9f9f9,#dfdfdf);
  background-image: -moz-linear-gradient(top, #f9f9f9,#dfdfdf);
  background-image: -ms-linear-gradient(top, #f9f9f9,#dfdfdf);
  background-image: -o-linear-gradient(top, #f9f9f9,#dfdfdf);
  background-image: linear-gradient(top, #f9f9f9,#dfdfdf);
  /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DFDFDF, endColorstr=#F9F9F9);*/
  box-shadow: 0 1px 0 #f2f2f2,0 1px 0px #fff inset,0 -1px 0 #e8e8e8 inset;
}
.filter:hover,.filter:focus{
  color:#333333;
}
.filter-color:hover,.filter-color:focus{
  /*color:#f5f5f5;*/
  color:white;
  text-shadow: 1px 1px 1px #000000;
}
.filter-color{
  background-image:none;
  color:white;
  text-shadow:1px 1px 0px #000000;  
  box-shadow:none;
  float:left;
  margin:5px;
}

.filter-color-all{
  position:absolute;
  top:3px;
  margin:5px;
}
.filter-color-all-foreign{
  position:relative;
  top:0px;
  float:left;
}
.filter-active{
  font-weight:bold;
  cursor:auto;
}
.filter-active:hover,.filter-active:focus{
  color:inherit;
}
.filter-color.filter-active:hover,.filter-color.filter-active:focus{
  color:white;
  text-shadow:1px 1px 0px #000000;  
}
.filters{
  margin:12px 0px;
  clear:both;
  background:lightgray;
  position: relative;
  padding:10px;
  border: 1px solid #CCC;
  background-color: #f7f7f7;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7),color-stop(100%, #e9e9e9));
  background-image: -webkit-linear-gradient(top, #f7f7f7,#e9e9e9);
  background-image: -moz-linear-gradient(top, #f7f7f7,#e9e9e9);
  background-image: -ms-linear-gradient(top, #f7f7f7,#e9e9e9);
  background-image: -o-linear-gradient(top, #f7f7f7,#e9e9e9);
  background-image: linear-gradient(top, #f7f7f7,#e9e9e9);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5E5E5, endColorstr=#F7F7F7);
  border-radius: 3px;
  box-shadow: 0 1px 0px #fff inset;
}
.filters:first-child{
  margin-top:0px;
}

.filter-col-1,.filter-col-2,.filter-col-3,.filter-col-4{
  float: left;
  /*padding: 15px;*/
  width:25%;
  /*min-height:58px;*/
  position:relative;
}
.filters-grid .filter-col-single .filter-color{
  margin:0;
  position:relative;
  right:auto;
}
.gqty-box{
  width:26px;
  margin-right:4px;
  height: 21px;
  margin-left:5px;
}
button.btn-gbuy{
  vertical-align:top;
}
.color-gqty-box{
  float:right;
  margin:5px 4px 0px 0px;
}

.filters-grid .filter-color{
  /*width:143px;*/
  margin-right:0px;
  white-space:nowrap;
  overflow:hidden;
  position:absolute;
  left:0px;
  right:82px;
  text-overflow:ellipsis;
  padding-bottom: 2px;
}
.filters-grid{
  overflow:hidden;
}
.filters-grid-overflowing{
  height:113px;
}
.filters-grid.expanded{
  height:auto;
}
.filter-expander{
  width:100%;
  cursor:pointer;
  clear:both;
  position:relative;
  top:4px;
  margin-bottom:2px;
}
.filter-expander-s{
  text-align:center;
  /*font-weight:bold;*/
  padding:2px;
}
.btn-color-buy{
  /*padding: 3px 8px;*/
  margin-top:5px;
  float:right;
}
#buy-content{
  padding-top:10px;
}
#buy-filters{
  margin-bottom: 20px;
}
.filter-description{
  position:relative;
  font-weight:bold;
  padding:0px 15px 0px 0px;
  top: 2px;
  white-space: nowrap;
}
.filters select {
  margin-top:5px;
  margin-right:30px;
  border: 1px solid #CCC;
}
#condition-filter-description{
  padding-right:49px;
}
.filter-section{
  margin-left:5px;
}
.filter-header{
  text-align:center;
  font-size:13px;
  padding:2px 0px 8px 0px;
}
#tags {
  display: block;
  margin:5px 0 10px 0px;
}
#tags li{
  margin-top:10px;
  padding-left:0px;
  padding-right:10px;
}


#min-qty-box{
  width:37px;
  padding-left:5px;
}

.after-flag{
  position:relative;
  top:3px;
  padding-left:2px;
  vertical-align: top;
}
.after-flag a{
  vertical-align:top;
}
.buy-tab-note{
  font-size:11px;
}
.shop-item-note{
  font-size:11px;
  /*border-top:1px solid #E4E4E4;*/
  border-bottom:1px solid #E4E4E4;
  margin-bottom:10px;
}
.shop-item-divider{
  border-bottom:1px solid #E4E4E4;
  margin-bottom:10px;
}
/*.more-view{
  float:left;
}*/
.more-views-inner a {
  display:block;
  margin-bottom:6px;
  line-height:0;
}
.more-views-inner a img:hover ,.more-views-inner a img:focus{
  box-shadow: 0px 0px 2px 1px #afe8fb;
}

.more-views-inner a img{
  border: 1px solid #DDDDDD;
  max-width: 100%;
  max-height: 100%;
  padding: 1px;
}
.ph-table th{
  width:25%;
}
.ph-table th,.ph-table .cellheader{
  font-size:14px;
  text-align:center;
  font-weight:bold;
}
.ph-table .label{
  float:right;
}
.ph-table td div{
  max-width:85%;
  text-align:left;
  margin:auto;
}
.item-tab a:focus,.edit-tab a:focus{
  outline:none;
}
.tab-content table.half-catalog-table{
  width:50%;
}
.img-source{
  color: gray;
  font-size: 10px;
  display: block;
}
.nav-tabs{
  position:relative;
}
#item-pre-bottom{
  padding: 15px 15px;
}
.store-item #item-bottom{
  background: #faf7ee url("../images/bkg_product_collateral.gif") 0 0 repeat-x;
  padding: 15px 25px;
}
.store-item #item-bottom h2{
  font-weight: bold;
  font-size: 15px;
  color: #e26703;
  border-bottom: 1px solid #e5dcc3;
  padding: 0 0 1px;
  margin: 0 0 15px;
}
.ph-updated{
  font-size:10px;
  color:gray;
  margin-top:15px;
}
.paired-buttons.btn-group{
  white-space:normal;
}
.paired-buttons.btn-group a{
  margin-bottom:5px;
}
.highlight-select{
  color:#228b22;
}
#color-filters-inner{
  position:relative;
}
.filter-divider-wrap {
  height: 100px;
  position: relative;
  margin: 5px;
}
.filter-divider{
  text-align:center;
  transform:translate(0%, 0%);
  font-size:13px;
}
.filter-divider:before {
  content:"";
  position: absolute;
  width: 100%;
  height: 1px;
  top:50%;
  left:0;
  z-index:-1;
  background: black;
}
.filter-divider span {
  background:white;
  padding:10px;
  display: inline-block;
}

.input-prepend.input-append .field-prefix{
  margin-right: -1px;
}
.input-prepend.input-append .form-item .field-prefix .add-on{
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}
#buy table.dataTable.collapsed.hideplus tr.child li[data-dtr-index='5']{
  display:none;
}
.tab-content #buy{
  overflow:hidden;
}
.min-holder{
  display:inline;
  white-space: nowrap;
}
.item-right-table{
  width:100%;
  border: 1px solid lightblue;
  margin:0px 0px 5px 0px;
}
.item-right-table td{
  padding: 3px 8px 2px 10px;
  width:50%;
}
.item-right-table tr{
  /*border-bottom: 1px solid #ccc;*/
  border-top: 1px solid lightblue;
}
.item-right-table td:first-child{
  border-right: 1px solid #ccc;
}
.item-right-table tr.odd{

  background-color: #e4f8ff;
}
.item-right-table tr.even{
  background-color: #f8fdff;
}


.item-right-table td.spanned{
  border:0;
}
.dimseg{
  width: 20%;
  display: inline-block;
  white-space:nowrap;
  text-align:center;
}
.yearseg{
  width: 33%;
  display: inline-block;
}
.scrolldown{
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  border-bottom-right-radius: 4px;
  float: left;
  padding: 4px 12px;
  line-height: 20px;
  text-decoration: none;
  /*background-color: #ffffff;*/
  border: 1px solid #dddddd;
  color: #0088cc;
  font-size: 9px;
  font-weight: bold;
}
.scrolldown:hover,.scrolldown:focus{
  text-decoration: none;
  background-color: #f5f5f5;
  outline:none;
}
.edit-form-table .form-type-checkbox{
  margin-left:0;
}
.tab-content #edit .fieldset-legend,.tab-content #edit .form-item-add{
  display:none;
}
.tab-content #edit .nav-tabs{
  border-bottom:0;
  margin-bottom:0;
}
.tab-content #edit fieldset{
  margin-top:0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.tab-content #edit .nav-tabs .active > a{
  border-color: #c0c0c0;
  border-bottom-color: transparent;
}
.edit-form-bottom{
  margin:0 20px 0 20px;
}
#edit-attributes .form-inline .form-item{
  vertical-align:top;
}
#edit .filter-guidelines{
  display:none;
}
#right-wide{
  width: 100%;
  max-width:400px;
  margin-top:15px;
}
#right-wide .btn-group{
  display:flex;
}
#right-wide .btn-group .btn{
  white-space: normal;
  flex:1;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}
#right-wide .associated-buttons > .btn:first-child{
  border-bottom-left-radius: 0;
}
#right-wide .associated-buttons > .btn:last-child{
  border-bottom-right-radius: 0;
}
#right-wide .item-right-but-cont{
  white-space: nowrap;
  margin:5px 0 20px 0;
}
#right-wide .item-right-but-cont > .btn:first-child{
  border-top-left-radius: 0;
}
#right-wide .item-right-but-cont > .btn:last-child{
  border-top-right-radius: 0;
}
#right-wide .item-top-but{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 5px;
}
#right-wide .paired-buttons .btn, #right-wide .btn-group .btn-primary{
  border-radius:0;
  margin-bottom: 0;
}