:root{
  --blu_sanatec: #18498c;
  --grigiochiaro: #dadada;
  --grigiochiaro2: #f6f6f9;
  --verde_sanatec: #35b173;
  --verde_sanatec2: #49c587;
  --grigio_testo: #4b525b;
}

/* Comuni a tutti */

a:link {
  color: var(--grigio_testo);
}

/* visited link */
a:visited {
  color: var(--grigio_testo);
}

/* mouse over link */
a:hover {
  color: var(--grigio_testo);
}

/* selected link */
a:active {
  color: var(--grigio_testo);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--verde_sanatec) !important; 
  --bs-btn-border-color: var(--verde_sanatec) !important; 
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--verde_sanatec2) !important;
  --bs-btn-hover-border-color: var(--verde_sanatec2) !important; 
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--verde_sanatec2) !important; 
  --bs-btn-active-border-color: var(--verde_sanatec2) !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--verde_sanatec) !important; 
  --bs-btn-disabled-border-color: var(--verde_sanatec) !important; 
}

  /* Applicazione del font Oswald ai titoli */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

#tabella_cookie{
  font-size: 0.83rem;
}

.card {
  border: none !important;
}

a.btn {
  font-size: 0.88rem;
}

a.btn:link {
  color: white;
}

/* visited link */
a.btn:visited {
  color: white;
}

/* mouse over link */
a.btn:hover {
  color: white;
}

/* selected link */
a.btn:active {
  color: white
}

a.footer {
  font-size: 0.88rem;
}

a.footer:link {
  color: white;
}

/* visited link */
a.footer:visited {
  color: white;
}

/* mouse over link */
a.footer:hover {
  color: white;
}

/* selected link */
a.footer:active {
  color: white
}

.bordo{
  border: var(--blu_sanatec);
  border-style: solid;
}

.bordo_sinistra{
  border: var(--blu_sanatec);
  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: solid;
  border-left-style: solid;
  border-width: 2px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  border-top-right-radius: none;
  border-bottom-right-radius: none;
  text-align: left;
}

.bordo_destra{
  border: var(--blu_sanatec);
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: none;
  background-color: var(--grigiochiaro2);
  border-width: 2px;
  border-top-left-radius: none;
  border-bottom-left-radius: none;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.sposta{
  padding-top: 3px;
}

.finestra_cookie {
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  background-color: white !important;
  color: black;
  text-align: center;
  font-size: 0.93rem;
  border-top-width: thin;
  border-top: var(--blu_sanatec);
  border-top-style: solid;
  border-left-style:none;
  border-right-style: none;
  border-bottom-style: none;
  padding-bottom: 40px;
}

.necessario{
  border: var(--grigiochiaro);
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  padding-top: 5px !important;
  padding-left: 15px;
  width: 80%;
  padding-bottom: 0px;
}

.doppio_bordo{
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #089d39;
  border-width: 3px;
  margin-top: 10px;
  padding: 10px;
}

.enfasi_verde{
  border-left-style: solid;
  border-color: #089d39;
  border-width: 3px;
  margin-top: 10px;
  padding: 10px;
  font-size: 16px;
  color: #2b3036;
}

.titolo_verde{
  font-size: 34px;
  padding-bottom: 10px;
  margin-top: 10px;
  color: #089d39;
}

.barra_di_navigazione{
    font-family: 'Oswald', sans-serif;
    font-size: larger;
    text-transform: uppercase;
    color:#2b3036;
}

.nav-link{
    color:#2b3036;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 27px;
    color: #4b525b;
}

h2{
    padding-top: 10px;
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 30px;
    color: #686868;
}

h3{
    padding-top: 10px;
    margin-bottom: 5px;
    line-height: 30px;
    color: #686868;
}

h5{
    padding-top: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

/*================================================================================================================================================*/
  
  .image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #00a84d;
  }
  
  .container-image:hover .overlay {
    opacity: 1;
  }
  
  .text {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .titolo_box_verde{
      font-size: 22px;
  }

  #footer {
    margin-top: 0px;
    padding: 30px 0;
    background-color: #04a555;
    color: #fff;
    font-size: 0.88rem;
}

#back-to-top{
    color: #fff;
}

strong {
  font-weight: bold;
  letter-spacing: 0.03em;
  color: rgb(75, 82, 91);
}

/*================================================================================================================================================*/

@media (max-width: 980px) {
  
  .bordo_sinistra{
    border: none !important;
    text-align: center !important;
  }
  
  .bordo_destra{
    border: none !important;
    background-color: white !important;
  }

} 

@media (max-width: 768px) {
  

  .bordo_sinistra{
    border: none !important;
    text-align: center !important;
  }
  
  .bordo_destra{
    border: none !important;
    background-color: white !important;
  }

} 

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 


  .bordo_sinistra{
    border: none !important;
    text-align: center !important;
  }
  
  .bordo_destra{
    border: none !important;
    background-color: none !important;
  }

  #footer {
    margin-top: 0px;
    padding: 25px;
    background-color: #04a555;
    color: #fff;
    font-size: 0.88rem;
}

#navigazione {
  margin-top: 10px;
}

#navigazione li{
  min-width: 100%;
  text-align: center;
}

#logotipo{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1{
  padding-top: 10px;
  margin-bottom: 5px;
  font-size: 30px;
}

.titolo_verde{
  font-size: 26px;
  padding-bottom: 10px;
  margin-top: 10px;
  color: #089d39;
}

.titolo_box_verde{
  font-size: 22px;
  min-width: 100%;
}

.bottone{
  background-color: var(--verde_sanatec);
}

}

/* Stili predefiniti per il carousel */
.carousel {
  display: block; /* Mostra il carousel per impostazione predefinita */
}

/* Media query per schermi con larghezza massima di 767px (tipica dimensione smartphone) */
@media only screen and (max-width: 767px) {
  .carousel {
    display: none; /* Nasconde il carousel quando si è in modalità smartphone */
  }

  .chiama {
    display: none; /* Nasconde l'immagine quando è attiva la modalità smartphone */
  }

}

