/**
 * Best4Mage - Frontend Configurable Product Matrix
 * @author Best4Mage
 */

/*-------------------------------------------------------------------------------------------------------------------*/
/* List page */
.page-layout-fcpmlist .column.main {
  float: right;
  order: 2;
  width: 79.1667%;
}
.page-layout-fcpmlist .sidebar-main {
  float: left;
  order: 1;
  width: 20.8333%;
}
.page-layout-fcpmlist .sidebar-additional {
  clear: left;
  float: left;
  padding-left: 0;
  padding-right: 2%;
  order: 2;
  width: 20.8333%;
}
.page-layout-fcpmlist .fcpm-col {
  display: inline-block;
  margin-bottom: 30px;
}
.product-matrix-outer.fcpm-col {
  width: 60%;
}
.product.details.product-item-details.fcpm-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;
}
.fcpm-col .qty-wrapper {
	display:block;
	position: initial;
	background: none;
	max-width: 80px;
	margin: auto;
	padding: 0;
}
.fcpm-col .qty-wrapper .qty {
	float: left;
	max-width: 57px;
	height: 36px;
}
.fcpm-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;
}
.fcpm-col .qty-wrapper .qty-control.qty-plus {
	background: #c2c2c2 url("../images/2-plus.png") no-repeat scroll center center/9px
}
.fcpm-col .qty-wrapper .qty-control.qty-minus {
	background: #c2c2c2 url("../images/2-minus.png") no-repeat scroll center center/9px
}
.fcpm-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;
}

@media only screen and (max-width : 900px) {
  /* Styles */
  .product.details.product-item-details.fcpm-col {
    width: 100%;
  }
  .product-matrix-outer.fcpm-col {
    width: 100%;
  }
}

@media only screen and (max-width : 379px) {
  /* Styles */
  .product-matrix-outer.fcpm-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%;
  }
}
