/*Custom CSS*/

main {  min-height: 70vh;}

.hero-entry {
  min-height: 70vh;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-box {  text-align: center;}

/* HEADER scuro: link lingua sempre leggibile */
.header-custom .nav-link {  color: #ffffff;}
.it-header-center-wrapper {    height: auto!important     /* altezza calcolata in base al contenuto */
}

/* DROPDOWN lingua: sempre chiaro */
.header-custom .dropdown-menu {  background-color: #ffffff;  border: 1px solid #dee2e6;  z-index: 1055;}

/* Voci del menu */
.header-custom .dropdown-item {  color: #000000;}

/* Hover e focus accessibili */
.header-custom .dropdown-item:hover,
.header-custom .dropdown-item:focus {  background-color: #f2f2f2;  color: #000000;}

/* Evita che il menu venga tagliato */
/*.header-custom, .header-custom .it-header-center-content-wrapper {  overflow: visible;}*/

/*.form-group label {   line-height: 1.25!important;}*/
label[for="defaultSelect"] {line-height: 1.25!important;}

/*label dei form*/
.form-group label.active { padding-bottom: 1em!important; }
label[for="defaultSelect"] {padding-bottom: 0.7em!important;}

.allegati {
    display: flex;
    gap: 20px; /* distanza tra i link */
}


/* Titillium Web */
.font-sans-serif { font-family: "Titillium Web", sans-serif; }
.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }


@media (max-width: 1400px) {
    .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2, .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .h2, .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .it-brand-title {
        font-size: 1.0rem;  
    }
}

@media (max-width: 768px) {
  .select-wrapper {
    margin-top: 1.5rem;
  }
   legend {line-height: 1.25!important; }
}

@media (max-width: 600px) {
    .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2, .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .h2, .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .it-brand-title {
        font-size: 0.8rem!important      }
}
