/**
 * Best4Mage - Ultimate Configurable Products Suite
 * @author Best4Mage
 */
/*-------------------------------------------------------------------------------------------------------------------*/
/* List page */
.page-layout-ucpslist .column.main {
  float: right;
  order: 2;
  width: 79.1667%;
}
.page-layout-ucpslist .sidebar-main {
  float: left;
  order: 1;
  width: 20.8333%;
}
.page-layout-ucpslist .sidebar-additional {
  clear: left;
  float: left;
  padding-left: 0;
  padding-right: 2%;
  order: 2;
  width: 20.8333%;
}
.page-layout-ucpslist .ucps-col {
  display: inline-block;
  margin-bottom: 30px;
}
.product-matrix-outer.ucps-col {
  width: 60%;
}
.product.details.product-item-details.ucps-col {
  width: 39%;
}
.product-matrix-outer thead {
  background: #eee none repeat scroll 0 0;
}
.matrix_custom_options tbody tr {
  background: #fcfcfc none repeat scroll 0 0;
}
.product-matrix-wrapper table > thead > tr > th,
.product-matrix-wrapper table > tbody > tr > th,
.product-matrix-wrapper table > tfoot > tr > th,
.product-matrix-wrapper table > thead > tr > td,
.product-matrix-wrapper table > tbody > tr > td,
.product-matrix-wrapper table > tfoot > tr > td {
  padding: 8px 8px;
}
.product-matrix-wrapper table th, table td {
  text-align: center;
}
.product-matrix-wrapper tr.odd {
  background: #fcfcfc none repeat scroll 0 0;
}
.product-matrix-wrapper tr.even {
  background: #f7f7f7 none repeat scroll 0 0;
}
.product-matrix-wrapper table .swatch-option {
  float: none;
  height: 25px;
  line-height: 25px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-width: 30px;
}
.product-matrix-wrapper table .swatch-option.color {
  width: 40px;
}
.product-matrix-wrapper .qty {
  max-width: 60px;
  text-align: center;
}
.ucps-col .qty-wrapper {
	display:block;
	position: initial;
	background: none;
	max-width: 80px;
	margin: auto;
	padding: 0;
}
.ucps-col .qty-wrapper .qty {
	float: left;
	max-width: 57px;
	height: 36px;
}
.ucps-col .qty-wrapper .qty-control {
	width: 23px;
	height: 18px;
	background: #ccc;
	display: inline-block;
	float: left;
	text-align: center;
	line-height: 17px;
	cursor: pointer;
	color: transparent;
}
.ucps-col .qty-wrapper .qty-control.qty-plus {
	background: #c2c2c2 url("../images/2-plus.png") no-repeat scroll center center/9px
}
.ucps-col .qty-wrapper .qty-control.qty-minus {
	background: #c2c2c2 url("../images/2-minus.png") no-repeat scroll center center/9px
}
.ucps-col .qty-wrapper .qty-control:hover {
	background-color: #ddd;
}


#bulk-add-to-cart .qty {
  display: none;
}
#bulk-add-to-cart {
  text-align: right;
}
#bulk-add-to-cart .action.tocart.primary {
  font-size: 16px;
  margin-right: 20px;
  padding: 10px 20px;
}
.add-to-cart-bulk-wrapper {
  background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
  bottom: 0;
  box-shadow: 0 0 5px 1px #aaa;
  left: 0;
  padding: 7px;
  position: fixed;
  width: 100%;
  z-index: 999;
}
.ucps_hide .modes{
  display: none;
}

@media only screen and (max-width : 900px) {
  /* Styles */
  .product.details.product-item-details.ucps-col {
    width: 100%;
  }
  .product-matrix-outer.ucps-col {
    width: 100%;
  }
}

@media only screen and (max-width : 379px) {
  /* Styles */
  .product-matrix-outer.ucps-col {
    margin-left: -110px;
    min-width: 290px;
  }
}
@media only screen and (max-width : 639px) {
  /* Styles */
  .products-list .product-item-photo {
    padding: 0 10px 0 0;
    text-align: left;
    width: 35%;
  }
}
@media (min-width: 640px){
  .ucps-col .product-item-actions .actions-primary {
      display: initial;
  }
  .ucps-col .product-item-actions .actions-primary + .actions-secondary{
    padding-left: 0px;
  }
  div .ucps-col .product-item .price-final_price{
    margin-bottom: 10px;
  }
}
@media only screen and (min-width:768px ){
  .ucps-col .product-item-name,.ucps-col .product.name a {
    font-weight: 500;
    font-size: 20px;
  }
}

@media only screen and (min-width: 340px) and (max-width:379px){
  .product-matrix-outer.ucps-col{
    width: 310px;
  }
  .page-layout-ucpslist .ucps-col{
    margin-bottom: 10px;
  }
}
@media only screen and (min-width: 320px) and (max-width:340px){
  .product-matrix-outer.ucps-col{
    margin-left: -105px;
    min-width: 299px;
  }
  .page-layout-ucpslist .ucps-col{
    margin-bottom: 0px;
  }
  .list-per .product-item {
    margin-bottom: 20px;
  }
}
.products-grid .show[data-role="priceBox"], 
.products-grid .show[data-role="tierPriceBox"] {
    display: inline-block !important;
    position: relative;
    width: 49%;
}
.products-list .show[data-role="priceBox"], 
.products-list .show[data-role="tierPriceBox"] {
    display: inline-block !important;
}
.products-grid .show[data-role="tierPriceBox"] {
  text-align: right;
  position: relative;
}
.products-list .show[data-role="tierPriceBox"] {
  position: relative;
  margin-left: 30px;
}
.show[data-role="priceBox"] .hide.price-label {
  display: none !important;
}
.tier-price-label {
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    color: #666;
}
.tier-price-label:hover+.tier-price-tooltip {
  display: block;
}
.tier-price-label:hover,
.tier-price-label:focus {
    color: #000;
}
.tier-price-tooltip {
  width: 220px;
  /*max-height: 100%;*/
  min-height: 20px;
  min-width: 20px;
  position: absolute;
  padding: 5px;
  background: #fff;
  color: #444;
  border: 1px solid #adadad;
  display: none;
  z-index: 999;
  text-align: center;
  font-size: 12px;
  bottom: 25px;
  right: 0;
}
.tier-price-tooltip .corner {
  right: 0;
  position: absolute;
  bottom: 0;
  height: 8px;
}
.products-list .tier-price-tooltip {
  left: 0;
  right: auto;
}
.products-list .tier-price-tooltip .corner {
  left: 20px;
  right: auto;
}
.tier-price-tooltip .corner:after {
    content: '';
    position: relative;
    top: 3px;
    left: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7.5px 0 7.5px;
    border-color: #fff transparent transparent transparent;
    font-size: 1px;
}

.tier-price-tooltip .corner:before {
    content: '';
    position: relative;
    top: 4px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8.5px 0 8.5px;
    border-color: #adadad transparent transparent transparent;
    font-size: 1px;
}
