/**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* @author    Innovadeluxe SL
* @copyright 2016 Innovadeluxe SL

* @license   INNOVADELUXE
*/

#idxrcombtabs-product .table-combinations .table-combinations-header,
#idxrcombtabs-product .table-combinations .table-combinations-body,
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row {
  display: flex;
  flex-wrap: nowrap;
}
#idxrcombtabs-product .table-combinations .table-combinations-body {
  flex-direction: column;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row {
  width: 100%;
}

#idxrcombtabs-product .table-combinations .table-combinations-header {
  justify-content: space-between;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-header
  .header-item,
#idxrcombtabs-product .table-combinations .table-combinations-body .body-item {
  width: 13%;
}
#idxrcombtabs-product
  .table-combinations
  .table-combinations-header
  .header-item.combination-name,
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .body-item.combination-name {
  flex-grow: 1;
}

#idxrcombtabs-product .in-stock:before {
  content: "";
  background: url(../img/iconos.png) no-repeat;
  height: 10px;
  width: 10px;
  display: inline-block;
  background-position: -5px -37px;
  position: relative;
  top: 0px;
  margin-right: 2px;
}

#idxrcombtabs-product .out-stock:before {
  content: "";
  background: url(../img/iconos.png) no-repeat;
  height: 10px;
  width: 10px;
  display: inline-block;
  background-position: -5px -48px;
  position: relative;
  top: 0px;
  margin-right: 2px;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-header
  .header-item {
  padding: 8px 3px;
  background: #f9f9f9;
  font-weight: bold;
  border: 1px solid #d6d4d4;
  border-left: 0;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-header
  .header-item:first-child {
  border-left: 1px solid #d6d4d4;
}
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row {
  border-bottom: 1px solid #d6d4d4;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row
  .body-item {
  padding: 8px 3px;
  border-right: 1px solid #d6d4d4;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row
  .body-item:first-of-type {
  border-left: 1px solid #d6d4d4;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row
  span {
  display: block;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row
  span.old-price {
  text-decoration: line-through;
}
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .table-combinations-body-row
  .body-item.comb-price {
  text-align: center;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .combination-discounts
  .reduction-percentage,
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .combination-discounts
  .reduction-amount {
  margin-right: 10px;
  padding: 1px 2px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  line-height: 23px;
  color: #fff;
  background: #f13340;
  border: 1px solid #d02a2c;
  display: block;
}
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .btn-stock-alert {
  background: #2a7ff7;
  padding: 5px;
  height: 35px;
  width: 100%;
  border-radius: 5px;
  display: inline-block;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .idxr-icon-envelope {
  display: block;
  width: 20px;
  height: 15px;
  margin: 0 auto;
  background: url(../img/iconos.png) no-repeat;
  background-position: 0px -20px;
  top: 3px;
  position: relative;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .btn-combination_sold {
  background: #bababa;
  height: 30px;
  width: 100%;
  border-radius: 5px;
  display: block;
  padding: 2px 6px;
  cursor: not-allowed;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .idxr-icon-cart {
  background: url(../img/iconos.png) no-repeat;
  height: 20px;
  width: 20px;
  display: block;
  margin: 0 auto !important;
  background-position: 0px 0px;
  top: 5px;
  position: relative;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  input.combtab-quantity {
  width: 100% !important;
  height: 30px !important;
  padding: 5px !important;
  border: 1px solid #d6d4d4 !important;
  text-align: center !important;
  border-radius: 5px !important;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .btn-combination {
  background: #4cbb6c;
  height: 30px;
  width: 100%;
  border-radius: 5px;
  display: block;
  padding: 2px 6px;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .btn-combination:hover {
  background: #058505;
  cursor: pointer;
}

#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .body-item.quantity-column,
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .body-item.add-column {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#idxrcombtabs-product .table-combinations .btn_add_all_footer {
  background: #4cbb6c;
  color: #fff;
  padding: 10px;
  border: #4cbb6c;
  border-radius: 5px;
  font-size: 0.9em;
  display: block;
  cursor: pointer;
  width: 50%;
  text-align: center;
}
@media (max-width: 768px) {
  #idxrcombtabs-product .table-combinations .btn_add_all_footer {
    width: 100%;
  }
  #idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .combination-discounts
  .reduction-percentage,
#idxrcombtabs-product
  .table-combinations
  .table-combinations-body
  .combination-discounts
  .reduction-amount {
      margin-right: 0px;
      font-size: 0.7em;
  }
}
@media (min-width: 1025px) {
  #idxrcombtabs-product .table-combinations .table-combinations-footer {
    display: flex;
    flex-direction: row-reverse;
    padding-top: 20px;
  }
  #idxrcombtabs-product .table-combinations .btn_add_all_footer:hover {
    background: #058505;
  }
}

#idxrcombtabs-product .table-combinations .table-combinations-body .table-combinations-body-row img {
  max-width: 100%;
}