/**
* NOTICE OF LICENSE
*
* This source file is subject to a commercial license from SOLEDIS
* Use, copy, modification or distribution of this source file without written
* license agreement from the SOLEDIS GROUP is strictly forbidden.
*    ___  ___  _    ___ ___ ___ ___
*   / __|/ _ \| |  | __|   \_ _/ __|
*   \__ \ (_) | |__| _|| |) | |\__ \
*   |___/\___/|____|___|___/___|___/
*
*  @author    SOLEDIS <prestashop@groupe-soledis.com>
*  @copyright 2017 SOLEDIS
*  @license   All Rights Reserved
*  @coder     Grégory Le Vaguerèse
*/

#quickorderform-table td { display:table-cell; overflow: initial !important; }
#quickorderform-table .center { text-align:center; }
#quickorderform-table .bold { font-weight:bold; }
#quickorderform-table .product-price { color:#000; /* display:block; */ }
#quickorderform-table .product-quantity .input-group { width: 6.5rem; }
#quickorderform-table .product-quantity .input-group .btn { height: 21px; }
#quickorderform-table .product-quantity .qty {
  /* display:inline-block;
  float:none; */
  margin: 0;
  min-width: 60%;
  width: 5rem;
}
#quickorderform-table .quantity-input { text-align:center; }
#quickorderform-table thead th { border-bottom:none; }
#quickorderform-table .notopborder { border-top:none; padding-top:0; }
#quickorderform-table select.form-control { height: auto !important; }
#quickorderform-table button {
  /* min-width:200px; */
  text-overflow:ellipsis;
  overflow:hidden;
}
#quickorderform-table #slqof_choice_container {
  position:relative;
}
#quickorderform-table #slqof_choice {
  z-index: 90;
  position:absolute;
  left:0;
  top:0;
  overflow-y:auto;
  max-height:280px;
  background:#fff;
  border:1px solid #ccc;
  margin-top:2px;
  box-shadow:0 0 5px rgba(0,0,0,.3);
}
#quickorderform-table a.sldqof_list {
  display:block;
  white-space:nowrap;
  padding:5px 10px;
  border-bottom:1px solid #ccc;
}
#quickorderform-table a.sldqof_list:hover {
  background:#000;
  color:#fff;
}
#sldqof_loading {
  z-index:666999;
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  /* background:rgba(255,255,255,.5) url(/img/loadingAnimation.gif) center center no-repeat; */
  background:rgba(255,255,255,.5) url(../img/loadingAnimation.gif) center center no-repeat;
}
#sldqof_loading_text {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #000;
  font-size: 20px;
}
#quickorderform-table div.uploader span.filename { width:100%; }

#_desktop_quickorder {
  place-self: flex-end;
  margin-left: 10px;
  /* padding: .9375rem; */ }
  #_desktop_quickorder a {
    white-space: nowrap; }
#_desktop_quickorder.ps16 {
  float: right;
  border-left: 1px solid #515151;
  position: relative; }
  #_desktop_quickorder.ps16 a {
    color: #fff; }

#_desktop_top_quickform {
  float: right;
  margin-right: .9375rem; }

@media (max-width: 768px) {

  #quickorderform-table .col-stock,
  #quickorderform-table .col-image,
  #quickorderform-table .col-price {
    display: none !important;
  }

  #quickorderform-table td,
  #quickorderform-table th {
    font-size: 12px;
    padding: 6px;
  }

  #quickorderform-table .import-download {
	  display:none;
  }
  #quickorderform-table .import-download-mobile {
	  display:table-cell !important;
  }
  
  #quickorderform-table .form-control {
	  padding: .5rem .2rem;
	  font-size: .8rem;
  }
}


/*CUSTOM JOSIAS*/

#quickorderform-table th,
#quickorderform-table td {
  padding:6px;
  vertical-align: middle
}

#quickorderform-table .product-quantity .input-group {
      max-width:75px;
}

#quickorderform-table .product-name {
  min-width: 180px!important
}

#quickorderform-table .product-combinations {
  min-width: 110px!important;
  max-width: 170px!important
}

#quickorderform-table .product-quantity {
  min-width: 30px; 
  max-width:60px;
}

#quickorderform-table .product-stock {
  color:red;
}

#quickorderform-table .product-total {font-weight:bold;}



/*VISTA MOVIL*/
@media (max-width: 768px) {
  /*muestro vista movil*/
  #quickorderform-table .col-image {    
    display: table-cell!important; 
  } 
  /*oculto vista movil*/ 
  #quickorderform-table .product-reference {    
    display: none; 
  }
}
