/*
Il modulo Bootstrap_styles è completamente cambiato: mentre prima andava raddoppiando da 0,5 (1 = 0.5, 2 = 1, 3 = 2, 4 = 4, 5 = 8)
Ora si parte da 0.5 ma si incrementa di 0.5 (1 = 0.5, 2 = 1, 3 = 1.5, 4 = 2)
Quindi li sovrascriviamo con il valore originale 
*/

.bs-pb-4 {
  padding-bottom: 4rem !important;
}
.bs-pt-4 {
  padding-top: 4rem !important;
}
.bs-pr-4 {
  padding-right: 4rem !important;
}
.bs-pl-4 {
  padding-left: 4rem !important;
}

.bs-mb-3 {
  margin-bottom: 2rem !important;
}
.bs-mt-3 {
  margin-top: 2rem !important;
}
.bs-ml-3 {
  margin-left: 2rem !important;
}
.bs-mr-3 {
  margin-right: 2rem !important;
}

.bs-p-3 {
  padding: 2rem !important;
}
.bs-pb-3 {
  padding-bottom: 2rem !important;
}
.bs-pt-3 {
  padding-top: 2rem !important;
}
.bs-pr-3 {
  padding-right: 2rem !important;
}
.bs-pl-3 {
  padding-left: 2rem !important;
}



.bs-mb-2 {
  margin-bottom: 1rem !important;
}
.bs-mt-2 {
  margin-top: 1rem !important;
}
.bs-ml-2 {
  margin-left: 1rem !important;
}
.bs-mr-2 {
  margin-right: 1rem !important;
}

.bs-p-2 {
  padding: 1rem !important;
}
.bs-pb-2 {
  padding-bottom: 1rem !important;
}
.bs-pt-2 {
  padding-top: 1rem !important;
}
.bs-pr-2 {
  padding-right: 1rem !important;
}
.bs-pl-2 {
  padding-left: 1rem !important;
}

/*
24/06/25 
style filtri di ricerca pagina
https://idragroup.com/it/cataloghi-e-datasheet
*/

/* Contenitore del form */
.views-exposed-form {
  background-color: transparent;
  padding: 0;
  border: none;
  max-width: 100%;
  margin: 0 auto;
}

/* Disposizione orizzontale con spaziatura */
.views-exposed-form .d-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
}

/* Blocchi dei campi */
.views-exposed-form .form-type-select {
  background-color: #f8f9fb;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e0e0e0;
  min-width: 150px;
}

/* Etichette */
.views-exposed-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Select dropdown */
.views-exposed-form select.form-select {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  outline: none;
  width: 100%;
  appearance: none;
}

/* Rimuove bordo focus dai <select> */
.views-exposed-form select:focus {
  outline: none;
  box-shadow: none;
}

/* Pulsante Applica */
.views-exposed-form .form-actions .btn {
  background-color: #6c8ca5;
  color: #fff;
  font-weight: 500;
  border-radius: 0.6rem;
  
  border: none;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Hover sul pulsante */
.views-exposed-form .form-actions .btn:hover {
  background-color: #5a7c93;
}

/* Icona nel pulsante */
.views-exposed-form .btn i {
  margin-left: 0.5rem;
}

div#edit-actions{
  display: flex;
  flex-wrap: nowrap;
	gap: 10px; 
}


/* Responsive (facoltativo) */
@media (max-width: 768px) {
  .views-exposed-form .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
 
   .views-exposed-form #edit-actions {
      flex-direction: column;
      gap: 10px;
    }
  
  .views-exposed-form .form-type-select {
    width: 100%;
  }

  .views-exposed-form .form-actions {
    width: 100%;
  }
}



