/*
 *  \author         ai-dev <contact@ai-dev.fr>
 *  \copyright      ai-dev since 2012
 *  \license        Read the multi-language license file (license.txt)
 *
 *  \file           css/global.css
 *  \brief          Global css file for ai_multi-dimensions module
 * 
 *  \package        aimultidimensions
 *  \version        2.6.0
 */

@charset "ISO-8859-1";

div#primary_block div#attributes select.ai_multi_dimensions_hidden {
  display: none;
}

/* deactivated for PS 1.5 & 1.6 size, theses lines can be added in the theme global.css if needed 
 div#primary_block div#attributes label
 {
     width: 52%;
 }
 
 div#primary_block div#attributes select
 {
     width: 44%;
 }
 */

div#primary_block p#availability_statut span#availability_text {
  display: none;
}

p.ai_minimum_surface_message {
  color: #464646;
  font-size: 10px;
  padding: 40px 0 0 0; /*100px 0 0 0;*/
}

@media (max-width: 1260px) {
  p.ai_minimum_surface_message {
    padding: 10px 0 0 0;
  }
  #product .product-prices {
    margin-top: 40px;
  }
}
@media (max-width: 996px) {
  p.ai_minimum_surface_message {
    padding: 0;
  }
  #product .product-prices {
    margin-top: 10px;
  }
}

#ai_calculate {
  display: none;
}

.aimd_proportional {
  color: #0000ff;
  text-align: center;
}

input.ai_multi_dimensions.disabled {
  background-color: #cccccc;
}

div#aimd_operations_overlay,
div#aimd_wait {
  display: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100000;
}

div#aimd_operations_overlay.wait {
  -moz-opacity: 0.5;
  -ms-filter: "alpha(opacity=50)"; /* IE 8 */
  background-color: #000000;
  filter: alpha(opacity=50); /* IE < 8 */
  opacity: 0.5;
}

div#aimd_wait {
  background: url("../img/ajax-loader.gif") center center no-repeat;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  z-index: 100001;
}

.aimd_legend {
  color: #464646;
  text-align: center;
  display: none;
}

.stock_hidden {
  display: none !important;
}

/* Added for PS 1.7 */
.hidden {
  display: none !important;
}

.aimd_from_price {
  /*display: block !important;*/
  display: none;
  float: none !important;
}
#aimd_calculate {
  display: none;
}

/* AIMD on product */
.product-actions .js-product-variants {
  display: block;
}
.product-actions .js-product-variants {
  margin: 0 0 30px;
}

.js-product-variants > .product-variants-item {
  margin: 20px 0;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
}
.js-product-variants > .product-variants-item select {
  min-height: 40px;
}
.js-product-variants > .product-variants-item select:active {
  color: #000;
}
.js-product-variants > .product-variants-item ul li {
  margin: 0 10px 0 0;
}
.rtl .js-product-variants > .product-variants-item ul li {
  margin: 0 0 0 10px;
}
.js-product-variants > .product-variants-item ul li label {
  margin: 5px 0;
}
.js-product-variants > .product-variants-item .color,
.js-product-variants > .product-variants-item .input-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border-width: 1px;
  vertical-align: top;
}
#ai_choose_message {
  display: none;
}