.font_primary {
  font-family: 'Nunito', 'Arial Narrow', Arial, sans-serif;
}

.font_secondary {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

.a_outline {
    text-decoration: none;
}

.a_outline:hover {
    text-decoration: none;
}

.a_line {
    text-decoration: solid;
}

.a_box {
    text-decoration: none;
    font-size: 1.35rem;
    text-decoration: underline 3px #95c11f;
}

.a_box:hover {
    font-size: 1.8rem;
    color: 000;
    background-color: #96c11f49;
    text-decoration: underline 2px #000;
    line-height: 3rem;
}

.a_hub {
    text-decoration: none;
    color: #fff;
}

.a_hub:hover {
    color: #b7b7b7;
    text-decoration: underline 2px #6fff00;
    text-underline-offset: 6px;
}

.a_login {
    /* text-decoration: underline; */
    font-weight: bold;
    text-transform: capitalize;
}

.bg_login {
    background: url('/img/background/background_login.png') no-repeat center center/cover;
  }

.z_index_top {
  position: relative;
  z-index: 1001;
}

  .img-fluid {
    max-width: 100%;
    height: 300px;

    background-size: cover;
  }

  .highlights_home_event {
    background: url('/img/background/highlights_home_event.jpg') no-repeat center;
 }

 .highlights_home_warning {
    background: url('/img/background/highlights_home_warning.jpg') no-repeat center;
 }

 .highlights_home_news {
    background: url('/img/background/highlights_home_news.jpg') no-repeat center;
 }

 .box_base img{
    width: 100%;
    height: 100%;
}

.box_base_radius img{
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.overlapping {
  position: absolute;
  top: 100;
  z-index: 1000;
}

.box_cover img{
    object-fit: cover;
}

.wrappers {
    height: 400px;
    /* display: flex; */
    gap: 20px;
  }

  .wrappers_preview {
    height: 150px;
    /* display: flex; */
    gap: 20px;
  }

  .wrappers_home_slider {
    height: 500px;
    /* display: flex; */
    gap: 20px;
  }

  .wrappers_highlights {
    height: 250px;
    /* display: flex; */
    gap: 20px;
  }

  .wrappers_highlights:hover {
    height: 280px;
    /* display: flex; */
    gap: 20px;
    background-color: #c40000;
  }

  .wrappers_profile {
    height: 300px;
    /* display: flex; */
    gap: 20px;
  }

  .wrappers_profile_radius {
    height: 300px;
    /* display: flex; */
    gap: 20px;
    width: 300px;
    border-radius: 100%;
  }

  /* .footer {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: rgb(209, 25, 212) !important;
    color: white;
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: .75rem 1.25rem;
    width: calc(100% - 235px);
margin-left: 235px;
  } */

  .small_p {
    font-size: x-small;
  }

  .icone_top{
    font-size: 3em;
}

.mt-fixed {
  margin-top: 70px;
}

.mt-hub-fixed {
  margin-top: 30px;
}

  .list-group .list-group-item {
      border-radius: 0;
      cursor: move;
  }

  .list-group .list-group-item:hover {
      background-color: #f7f7f7;
  }


  .placeholder-white::placeholder {
    color: rgb(255, 255, 255) !important;
    opacity: 1
  }

  .placeholder-dark::placeholder {
    color: rgb(0, 0, 0) !important;
    opacity: 1
  }


  .btn_multiple_action {
    min-width: 250px; /* o quanto ti serve */
    height: 40px;      /* allineato con altezza select (dipende dal tema) */
    white-space: nowrap; /* impedisce l'andata a capo */
    }

    .select_full_width {
        min-width: 0;
        width: 100%;
    }


    .post-cover-desktop {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    .post-cover-mobile {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    .vh_60 {
      height: 60vh;
    }

    .vh_40 {
      height: 40vh;
    }


/* alert magenta */
.alert_magenta {
  color: #5a003f;
  background-color: rgba(255, 1, 200, 0.12);
}

/* bordo magenta (compatibile Bootstrap opacity) */
.border_magenta {
  border-color: rgba(255, 1, 200, var(--bs-border-opacity, 1)) !important;
}

.bg_magenta {
  background-color: rgba(255, 1, 200);
}

.bg_magenta_subtle {
  background-color: rgba(255, 1, 200, 0.12);
}

.text_magenta{
    color: rgba(255, 1, 200);
}

.btn_magenta {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #ff01c8;
  --bs-btn-border-color: #ff01c8;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #5a003f;
  --bs-btn-hover-border-color: #5a003f;
  --bs-btn-active-bg: #5a003f;
  --bs-btn-active-border-color: #5a003f;
  --bs-btn-focus-shadow-rgb: 255, 1, 200;
}

.alert-content-box {
    max-height: 100px;
    overflow: hidden;
}

.alert-content-scroll-box {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.alert-content-scroll-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.text_truncate_3_lines {
    display: -webkit-box;
    display: box; /* Future standard */
    -webkit-line-clamp: 3; /* Numero massimo di righe */
    line-clamp: 3; /* Proprietà standard futura */
    -webkit-box-orient: vertical;
    box-orient: vertical; /* Future standard */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3); /* Altezza massima per 3 righe */
    line-height: 1.2em; /* Altezza della linea */
}

.parallax_500 {
    /* height: 100vh; */
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* overlay */
.parallax-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.45); */
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
}

/* contenuto sopra overlay */
.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
}

.parallax-content img {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .parallax_450 {
        background-attachment: scroll;
        height: 70vh;
    }

    .parallax-content img {
        max-height: 60px;
    }
  }

  .vh_30 {
    height: 35vh;
    min-height: 200px;
}

.carousel-text {
      border-top: 1px solid rgba(0,0,0,0.1);
    max-width: 960px;
    margin: 0 auto;
}

  .vh_90 {
    height: 90vh !important;
  }

  .vh_80 {
    height: 80vh !important;
  }

  .vh_70 {
    height: 70vh !important;
  }

  .vh_60 {
    height: 60vh !important;
  }

  .vh_50 {
    height: 50vh !important;
  }

  .vh_40 {
    height: 40vh !important;
  }

  .vh_30 {
    height: 30vh !important;
  }

  .vh_20 {
    height: 20vh !important;
  }

  .vh_10 {
    height: 10vh !important;
  }


  .square_vw_30 {
    width: 30vh;
    height: 30vh;
}

.square_mobile_vw_30 {
    width: auto;
    height: 30vh;
}

.square_mobile_vw_50 {
    width: auto;
    height: 50vh;
}

  .fixed_height_post {
    height: 300px;
}

.color_on_image_background {
    position: relative;
    overflow: hidden; /* Assicurati che il colore non esca dai confini della div */
    background-size: cover;
    background-position: center;
}


.color_on_image_background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00a2ff68;
    opacity: 0; /* Inizialmente invisibile */
    transition: opacity 0.3s ease; /* Transizione per l'effetto hover */
}

.color_on_image_background:hover::before {
    opacity: 1; /* Mostra il colore quando l'elemento è hoverato */
}


.text_post_color {
    color: #ababab;
}

.background_image_index {
    background-image: url('/img/background/amelia_guadagnuolo_index_background.jpg'); /* Sostituisci con il percorso della tua immagine */
    background-size: cover; /* Copre l'intero div, mantenendo le proporzioni */
    background-position: center; /* Centra l'immagine nel div */
    background-repeat: no-repeat; /* Evita la ripetizione dell'immagine */
}

.text_truncate_3_lines {
    display: -webkit-box;
    display: box; /* Future standard */
    -webkit-line-clamp: 3; /* Numero massimo di righe */
    line-clamp: 3; /* Proprietà standard futura */
    -webkit-box-orient: vertical;
    box-orient: vertical; /* Future standard */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3); /* Altezza massima per 3 righe */
    line-height: 1.2em; /* Altezza della linea */
}

/* MOBILE: indicatori sotto il testo e neri */
@media (max-width: 575px) {
    .carousel-mobile-indicators {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
    }

    .carousel-mobile-indicators button {
        width: 9px;
        height: 9px;
        border-radius: 0;
        border: none;
        background-color: #e5e2e2;  /* nero */
        opacity: 1;
    }

    .carousel-mobile-indicators button.active {
        background-color: #8a8a8a;  /* grigio per slide attiva */
    }
}

/* DESKTOP: indicatori sotto il testo e neri */
@media (min-width: 576px) {
    .carousel-desktop-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px; /* distanza dal testo */
    }

    .carousel-desktop-indicators button {
        width: 9px;
        height: 9px;
        border-radius: 0;
        border: none;
        background-color: #e5e2e2;  /* nero */
        opacity: 1;
    }

    .carousel-desktop-indicators button.active {
        background-color: #8a8a8a;  /* grigio per slide attiva */
    }

    .carousel-img-wrapper {
        width: 100%;
        max-height: 800px; /* limite verticale */
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ffffff; /* fondo bianco */
        overflow: hidden; /* non taglia ma mantiene proporzioni */
        padding: 10px; /* piccolo padding se vuoi margine bianco */
    }

    .carousel-img-wrapper img {
        width: auto;       /* mantieni proporzioni */
        height: auto;
        max-height: 800px; /* limita l'altezza verticale */
        max-width: 100%;   /* piena larghezza per immagini orizzontali */
        object-fit: contain; /* mai tagliare l'immagine */
        background-color: #ffffff; /* fondo bianco se l'immagine non copre tutto */
    }

}