/* CSS Document */
body {
   /* font-family: Roboto, HelveticaNeueLTPro, Helvetica Neue, Helvetica, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;*/
    background-color: #ececec;
}
header .navbar-brand img { max-height: 38px;}
input, select, textarea, .form-control, .form-select {
    padding: 3px 25px;
}
ul li {
    list-style: disc;
}
h3, .h3 {
    font-size: 2.1rem;
    line-height: 2.1rem;
}
.extra-very-small-screen-custom{
    height: 170px !important;
}
.bg-custom {
    --bs-bg-opacity: 1;
    background-color:rgb(236 236 236) !important;
}
.color-text-form{ color:var(--black);}
.btn.btn-base-color {
    background-color: var(--red);
    color: var(--white);
}
.btn.btn-box-shadow.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:active {
    background: var(--black);
    color: var(--white);
}
.btn.btn-base-color:hover, .btn.btn-base-color:active {
    border-color: var(--black);
}
.fw-600 {
    font-weight: 600 !important;
}
.custom-checkbox{
  appearance: none;
  width:18px;
  height:18px;
  border:1px solid #999;
  background:#fff; /* sfondo */
  cursor:pointer;
  position:relative;
}

.custom-checkbox:checked{
  background:#007bff; /* colore quando selezionato */
  border-color:#007bff;
}

.custom-checkbox:checked::after{
  content:'✓';
  color:#fff;
  font-size:14px;
  position:absolute;
  top:-2px;
  left:3px;
}

.form-check-input[type="radio"]{

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    width:18px;
    height:18px;

    border:2px solid #666;
    border-radius:50%;

    background:#fff;
    cursor:pointer;
    position:relative;
}

.form-check-input[type="radio"]:checked{
    border-color:#0d6efd;
}

.form-check-input[type="radio"]:checked::after{
    content:"";
    width:10px;
    height:10px;

    background:#0d6efd;
    border-radius:50%;

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.footer-dark{ color: var(--bs-black);}
.bg-dark-gray, .bg-dark-gray:focus {background-color:#c7c4c4;}
.select_custom{ padding-top: 30px; padding-bottom: 10px; }
.section_custom{ padding-top: 50px; padding-bottom: 30px; }
.footer-dark p a, .footer-dark p a:hover {
    color:#000;
}
.footer-dark ul li a, .footer-dark .widget-link {
    color: #000;
    opacity: 0.4;
}
.footer-dark p, .footer-dark .widget-text {
    color: #000;
    opacity: 0.4;
}

/* hero homepage */
/* sotto i 1200px l'immagine (1920x500) è troppo bassa per contenere i testi: testi in fascia scura sotto l'immagine */
.hero_home { position: relative; padding: 0; background: #232323; }
.hero_home_media { position: relative; }
.hero_home_media img { display: block; width: 100%; height: auto; }
.hero_home_content { padding: 30px 0 35px; }
.hero_home_kicker { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.hero_home_title { color: #fff; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -1px; margin-bottom: 25px; }
.hero_home_cards { position: relative; z-index: 2; background: #fff; padding-top: 20px; }
.hero_card { height: 100%; background: #fff; border-top: 4px solid var(--red); padding: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hero_card_num { color: var(--red); font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -1px; margin-bottom: 10px; }
.hero_card p { font-size: 13px; line-height: 1.5; color: var(--dark-gray, #232323); margin-bottom: 0; }
@media (min-width: 768px) {
    .hero_home_title { font-size: 38px; }
    .hero_card { padding: 20px 20px 15px; }
    .hero_card_num { font-size: 30px; }
    .hero_card p { font-size: 14px; }
}
/* desktop: testi sovrapposti all'immagine intera, card a cavallo del bordo inferiore */
@media (min-width: 1200px) {
    .hero_home { background: none; }
    .hero_home_media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
    /* contenuto ancorato in basso: il bottone resta a 15px dal bordo superiore delle card (sovrapposizione 40px + 15px) */
    .hero_home_content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: 0 0 55px; }
    .hero_home_content > .container { width: 100%; }
    .hero_home_title { font-size: 36px; margin-bottom: 25px; }
    .hero_home_cards { margin-top: -40px; padding-top: 0; background: linear-gradient(to bottom, transparent 40px, #fff 40px); }
    .hero_card_num { font-size: 34px; }
}
/* sezioni homepage sotto la hero */
.hp_section_title { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; color: var(--dark-gray, #232323); margin-bottom: 12px; }
.hp_iniziativa { background: #fff; padding-top: 40px; padding-bottom: 30px; }
.hp_intro { font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.hp_col { margin-bottom: 20px; }
.hp_col_title { font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: 0; color: var(--red); margin-bottom: 10px; }
.hp_col p { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.hp_claim { text-align: center; font-style: italic; font-weight: 600; font-size: 18px; color: var(--dark-gray, #232323); margin: 20px 0 10px; }
.hp_rosso { background: var(--red); color: #fff; padding-top: 50px; padding-bottom: 40px; }
.hp_rosso_title { color: #fff; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; margin-bottom: 15px; }
.hp_rosso p { color: #fff; font-size: 16px; line-height: 1.6; margin-bottom: 15px; }
.hp_serata { background: #f4f4f4; padding-top: 50px; padding-bottom: 50px; }
.hp_serata_sub { font-size: 16px; margin-bottom: 25px; }
@media (min-width: 768px) {
    .hp_section_title { font-size: 34px; }
    .hp_iniziativa { padding-top: 60px; }
    .hp_rosso { padding-top: 60px; padding-bottom: 50px; }
    .hp_rosso_title { font-size: 36px; }
    .hp_serata { padding-top: 70px; padding-bottom: 70px; }
}
@media (min-width: 1400px) {
    .hero_home_content { padding-bottom: 85px; } /* sovrapposizione 70px + 15px */
    .hero_home_title { font-size: 44px; margin-bottom: 30px; }
    .hero_home_cards { margin-top: -70px; background: linear-gradient(to bottom, transparent 70px, #fff 70px); }
}

