/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/******BOX STYLE******/
.h1-bundle{
  margin: 30px 0 10px 0 ;
  text-align: center;
}
#total_price_div h3{
  color: #2a5aaa;
}
.product-additional-info .row{
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0rem;
  margin: 0rem;
}
.product-additional-info .thumbnail-container{
  margin-top: 0;
  margin-bottom: 0;
}
.product-miniature .thumbnail-container{
  width: auto !important;
  height: auto;
}


.product-additional-info .thumbnail-container .product-title{
  height: auto !important;
  margin-bottom: 1rem;
  padding: 5px;
}
.thumbnail-container .product-image{
  cursor: pointer;

  /*   display: inline-grid;
    align-items: center; */

  /*   display: flex;
    align-items: center;
    justify-content: center; */
}
.attribute, .attributevalue{
  text-transform: uppercase;
}
.attribute{
  font-weight: 800;
}
.custombundle-container{
  display:inline-block;
  margin: 10px;
  margin-bottom: 50px;
}
.custombundle{
  display: inline-block;
}
.custombundle .thumbnail-container .product-title a{
  font-size: 14px;
}
.custombundle .product-miniature .product-title{
  margin: 0;
  padding: 7px 0;
  height: 68px;
  overflow: hidden;
}
.custombundle .attributes-bundle{
  text-align: center;
  overflow-x: hidden;
  overflow-y: visible;
  height: 44px;
}
.custombundle .product-meta{
  width: 100%;
  padding: 0 1rem 0.5rem 1rem;

}

.custombundle .product-price-and-shipping{
  /*   position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px 0; */
}
.custombundle .thumbnail-container .product-meta li{
  font-size: 12px;
}
.item-bundle{
  position: relative;
  align-items: center;
  padding: 0;
  float: left;
  width: 50%;
}
.total-bundle{
  padding: 0 0 1rem 0;
}
@media(max-width:402px){
  .item-bundle .col-lg-10, .item-bundle .col-lg-2{
    width: 77% !important;
  }
}
.product-miniature .thumbnail-container{
  max-height: 378px;

}
@media(min-width:400px){
  .product-miniature .thumbnail-container{
    max-height: 378px;
  }
}
@media(max-width:647px){
  .item-bundle{
    margin: 0 auto;
    transform: translateX(20px);
  }
}
@media(max-width:992px){
  .custombundle .thumbnail-container .product-title a{
    font-size: 12px;
  }
  .custombundle .thumbnail-container .product-meta li{
    font-size: 9px;
    line-height: 12px;
  }
}
@media(min-width:769px){
  .item-bundle{
    display: inline-block;
    max-width: 260px;
    transform: translateX(90px);
  }
  .item-bundle .col-lg-10, .item-bundle .col-lg-2{
    display: inline-block;
    width: 76%;
  }
  .plus{
    width: 8%;
    padding: 0;
    margin: 0 20px;
    transform: translate(-7px,100px);
  }
}
@media(min-width:992px){
  .item-bundle{
    transform: translateX(80px);
  }
}
@media(min-width:1201px){
  .item-bundle{
    transform: translateX(22px);
  }
}

.modal-body{
  height: 350px;
  overflow: scroll;
  overflow-x: hidden;
}

.item-bundle .col-lg-10, .item-bundle .col-lg-2 {
  padding: 0;
  width: 83%;
}

/******PLUS ICON******/
.plus{
  color: #2a5aaa;
  font-size: 40px;
  text-align: center;
  width: 1%;
  transform: translate(-9px, 100px);
}
@media(min-width:992px){
  .product-additional-info .thumbnail-container:hover{
    box-shadow: none;
    z-index: 9;
  }
}

/******INPUT CHECKBOX******/

.cont {
  display: inline-block;
  position: relative;
  width: 100%;
  padding-left: 35px;
  margin-bottom: 0px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 999;
}
.main_product_outofstock{
  font-size: 13px;
  position: absolute;
  right: 10px;
  top: 17px;
  color: white;
  background-color: #ac0000;
  padding: 2px 12px;
  cursor: no-drop;
}
@media(max-width:560px){
  .main_product_outofstock {
    font-size: 6px ;
    padding: 0px 8px;
  }
}
.bundle-out-of-stock{
  opacity: 0.6;
  cursor: no-drop !important;
}
.bundle-out-of-stock .product-image{
  cursor: no-drop !important;
}

/* Hide the browser's default checkbox */
.cont input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  margin: 10px;
}

/* On mouse-over, add a grey background color */
.cont:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cont input:checked ~ .checkmark {
  background-color:#2a5aaa;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cont input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.cont .checkmark:after {
  left: 10px;
  top: 5px;
  width: 7px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/**** TOTAL BUNDLE  ****/
.total-bundle{
  width: 100%;
  display: inline-block;
}
.total-bundle p, .total-bundle span {
  text-align: center;
}
.total-bundle button{
  margin: 0 auto;
  display: block;
}
.price-bundle{
  color: #2a5aaa;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}


.alert-bundle{
  position: fixed;
  width: 100%;
  bottom: 60px;
  left: 0;
  z-index: 999;
  color: white;
}
.wrap_alert{
  background-color: #2a5aaa;
  color: white;
  display: block;
  max-width: 16rem;
  margin: 0 auto;
  text-align: center;
  padding: 6px;
  padding-top: 10px;
  box-shadow: 0 5px 10px rgb(30 52 75 / 15%);
  border-radius: 30px;
}
.wrap_alert p {
  display: inline;
  padding-left: 15px;
  vertical-align: super;
  color: white;
}
.success-bundle{
  background: url(/modules/productcustombundle/views/img/check.png);
  background-size: 15px;
  background-position: 5px;
  background-repeat: no-repeat;
  height: 22px;
  width: 24px;
}
.loader-bundle{
  display: block;
}
p.success-text-bundle{
  display: none;
}

.wrap_alert.success{
  background-color: #52CCA3;
}
.wrap_alert.success p{
  padding-left: 15px;
}
.wrap_alert.success .success-bundle, .wrap_alert.success .success-text-bundle{
  display: inline-block;
}
.wrap_alert.success .success-text-bundle{
  margin-bottom: 0;
}




.alert-bundle.hide{
  display: none;
}
.picture-product, .info-product{
  display: table-cell !important;
  vertical-align: middle;
}
.picture-product, .picture-product img{
  width: 100px;
  height: 100px;
}
.info-product{
  padding-left: 20px;
}
.info-product .title-product{
  display: block;
  font-size: 16px;
  line-height: 1;
  color: #2a5aaa;
  padding-bottom: 5px;
  font-weight: 700;
}
.info-product .title-product, .info-product .attr-product{
  margin-bottom: 0px;
}
.attr-product{
  text-transform: uppercase;
}
.attr-product span{
  font-weight: 700;
}


.item-bundle:hover .cont .checkmark{
  background: #ccc;
}
.cont input:checked ~ .checkmark {
  background-color: #2a5aaa !important;
}

#exampleModalProduct{
  padding: 0 !important;

}
#exampleModalProduct .modal-header{
  display: table;
  width: 100%;
}
#exampleModalProduct .row.modal-main-product{
  padding: 1rem 0rem;
}
#exampleModalProduct .modal-title, #exampleModalProduct .modal-header .close {
  display: table-cell;
}
#exampleModalProduct .modal-title{
  font-size: 22px;
  color: #2a5aaa
}

#exampleModalProduct .modal-content{
  max-width: 500px;
  margin: 0 auto;
}

.modal-footer{
  text-align: initial;
}
.modal-content .modal-footer button.btn-primary{
  width: 50%;
}
.modal-footer .btn-secondary{
  width: 49%;
  font-size: 0.9rem;
}

.modal-item-product{
  display: table !important;
  margin: 0 auto;
  border-top: 1px solid #e5e5e5;
  padding: 10px 0;
  width: 100%;
}
.modal-item-product:first-child{
  border-top: none !important;
}

@media(max-width:520px){
  .modal-footer .btn-secondary, .modal-footer .btn-primary{
    width: 100% !important;
  }
  .modal-footer .btn-secondary{
    margin-bottom: 10px;
  }
}


/* LOADER */
.loader-bundle {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #3498db;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  display: inline-block;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}