/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
/*Centrado de botones presupuestar*/
div.layer_quote_cart div.button-container div.btn.btn-primary span {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal iva */
.modalContainer {
  position: fixed;
  z-index: 1050 !important;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modalContainer .modal-content-iva {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid lightgray;
  width: 60%;
}

.modalContainer .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modalContainer .close:hover,
.modalContainer .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#modal_confirm_address {
  z-index: 1049;
}
#select-iva {
  background-color: #f1f1f1;
  border-color: #d5d5d5;
  color: #757173;
}

/*input de cantidades*/
.no-stock {
  background-color: red;
  color: white;
}

.no-stock:focus {
  background-color: red;
  color: white;
}


/*Correcion botones comprar*/
/*INPUT*/
input#quantity_wanted,
.form-control.input-qty {
  height: 50px;
  color: #000;
  border: 1px solid #9a9a9a;
  border-radius: 0;
}

.form-control.input-qty {

  border-right: none;
  border-left: none;
}

/*BOTON: AÑADIR AL CARRITO*/
button.btn.btn-product-list.add-to-cart,
form#add-to-cart-or-refresh button.btn-primary.add-to-cart {
  border-radius: 5px !important;
  margin: 0px 0px 0px 5px;
  height: 50px;
  padding: 5px 10px;
}
/*BOTON: AÑADIR AL CARRITO - en vista previa*/
form#add-to-cart-or-refresh button.btn-primary.add-to-cart {
  background-color: transparent;
  color: #000;
}
form#add-to-cart-or-refresh button.btn-primary.add-to-cart:hover {
  background-color: #e50019;
  color: #fff;
}
/*BOTON: AÑADIR AL CARRITO - en un listing*/
.comprar-mayorista {
  background-color: rgb(255 255 255 / 0%) !important;
  font-weight: 400 !important;
  transition: all ease 0.2s !important;
  color: #000 !important;
  border: solid 1px #000 !important;
}

/*.input-group-btn-vertical {
	display: none !important;
}*/
/*FIN Correcion botones comprar*/

#idxForm-contenedor {
  align-items: start;
  gap: 2rem;
}
#idxForm-contenedor label.label-checkbox {
  display: flex;
  justify-content: end;
  align-items: center;
}
#idxForm-contenedor label.label-checkbox #idxrvalidatinguser-input-2 {
  width: 50px;
}

/*Cambios en los formularios*/
.custom-checkbox input[type="checkbox"] + span:not(.color) {
  opacity: 0 !important;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 1 !important;
  margin-top: 3px !important;
}

.custom-checkbox input[type="checkbox"] + span:not(.color),
.custom-radio {
  border-color: #565656 !important;
}
/*fin*/

/* FORMULARIO DE SATISFACCION */
div.container-satisfaccion {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
a.btn-satisfaccion {
  background-color: #e50019 !important;
  color: #fff !important;
  padding: 10px 15px;
  border-radius: 5px;
  transition: 200ms all;
}
a.btn-satisfaccion:hover {
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.15);
  background-color: #be0218 !important;
}
/*Se oculta la leyenda imp excluidos en la ficha de producto tk#301496 */
#product
  #col-product-info
  > div
  > div.product-prices
  > div.tax-shipping-delivery-label.text-muted {
  display: none;
}

/*Desarrollo impuestos*/

.condicion-iva {
  font-size: 0.8rem;
  color: #000;
  font-weight: lighter;
}

body#index .condicion-iva {
  font-size: 0.7rem;
  color: #000;
  font-weight: lighter;
}

/*Fin desarrollo impuestos*/

/*estilos del product-miniature-btn*/
.mto-mayorista-sin-stock {
  background-color: #e50019;
}

.mto-mayorista-poco-stock {
  background-color: #ff5e00;
}

.mto-mayorista-medio-stock {
  background-color: #ffb300;
}

.mto-mayorista-mucho-stock {
  background-color: #2b6d1b;
}

.mto-mayorista .img-fluid,
.mto-mayorista .img-thumbnail {
  max-width: 75%;
}

.mto-mayorista h3.h3.product-title a,
.mto-mayorista .product-price,
.mto-mayorista .product-functional-buttons-links a i {
  color: black !important;
}

.mto-mayorista .btn-product-list {
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
  border: solid 1px #000;
  transition: all ease 0.2s;
}

.mto-mayorista .btn-product-list:hover {
  background: #e50019;
  color: white;
  border-color: #e50019;
}

.mto-mayorista input.input-qty {
  border: none;
}

.mto-mayorista-texto {
  color: white;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.mto-mayorista li.product-flag {
  background-color: #31dc9c !important;
  border-radius: 5px;
}

.mto-contenedor-contador {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mto-contador {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 5px;
  color: #0098c8;
  background-color: #d8d8d800;
  font-weight: bold;
  font-size: 15px;
}

.mto-contador-resultado {
  background: #cbcbcb;
  padding: 8px 10px;
  border-radius: 33px;
  color: white;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}

.mto-contador input[name="qty"] {
  border: solid 1px #bbb !important;
  border-radius: 8px !important;
  padding: 5px;
  max-width: 50px;
  text-align: center;
}

.mto-contador-precio {
  padding: 0 5px;
}

.mto-articulo {
  background-color: rgb(239 239 239 / 0%);
  border: solid 2px #bbbbbb6b;
  border-radius: 8px;
  border-bottom: 3px solid #6e6e6e85;
  margin: 4px 0;
  transition: all ease 0.3s;
}

.mto-articulo:hover {
  border-bottom: 3px solid rgb(129, 129, 129);
}

@media (max-width: 500px) {
  .mto-contador {
    width: 100%;
  }

  .mto-contador-resultado {
    width: 100%;
    text-align: center;
  }
}

.mto-contador .input-group {
  width: unset;
}

.mto-contenedor-contador .input-group.bootstrap-touchspin {
  margin-bottom: 0 !important;
}

.mto-contenedor-contador .mto-consultar {
  background-color: rgb(75, 196, 75) !important;
  border-radius: 10px !important;
  transition: all ease 0.3s;
}

.mto-contenedor-contador .mto-consultar:hover {
  border: 1px solid black !important;
}

.col.view-switcher.hidden-sm-down {
  visibility: hidden;
}

.comprar-mayorista {
  background-color: rgb(255 255 255 / 0%) !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  transition: all ease 0.2s;
  font-family: "Sora", sans-serif !important;
}

.comprar-mayorista:hover {
  background-color: #e50019 !important;
  color: #fff !important;
  border-color: #e50019 !important;
}
/*fin tpl*/

/*Desarrollo ficha y miniatura*/

/*botones cantidad miniatura*/
.btn-quantity {
  border-radius: 3px;
  background-color: #fff;
  border: 1px solid #9a9a9a;
  cursor: pointer;
}

input.input-group.form-control.input-qty {
  border-radius: 0;
}

.btn-quantity:hover {
  background-color: #dbdbdb;
  transition: 0.3s;
}

button.btn-qty.minus.btn-quantity {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

button.btn-qty.plus.btn-quantity {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

input.input-group.form-control.input-qty {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

/*Fin botones cantidad*/

.qty-button {
  display: flex;
}

input.input-group.form-control.input-qty.no-stock:focus {
  background-color: red;
}
/*fin desarrollo*/
