
.contenuto-troncato {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Mostra solo 3 righe */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.2em * 3); /* Altezza di 3 righe */
    max-height: calc(1.2em * 3);
    line-height: 1.2em;
    font-size: 1rem;
}

/*.header {*/
/*    background-color: #39618b;*/
/*    padding: 10px 0;*/
/*}*/

.nav-item a {
    color: white;
    font-weight: bold;
}

.dropdown-menu {
    background-color: #8da1b6;
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    background-color: #7d98b4;
}

/*.banner {*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    color: white;*/
/*    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);*/
/*    height: 300px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
}

footer {
    margin-top: 2rem;
    padding: 1rem 0;
    background: #f8f9fa;
}

@media (max-width: 992px){
    .margine{
        border-bottom: 1px solid #014040;
    }
    .mob{
        padding-top: 1em;
    }
    #videoModal {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .banner {
        height: 100px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 0.9rem;
    }
    .sub-banner{
        display: none;
    }
    .logo{
        display: none;
    }
    .margine{
        border-bottom: 1px solid #014040;
    }
    
    .mob{
        padding-top: 1em;
    }
    
    .foot {
        padding-left: 0;
        padding-right: 0;
    }
    .rotondo{
    width: 100%;
  }
  .carousel-item img {
        height: 60vh !important; /* Imposta l'altezza al 100% della viewport */
        object-fit: cover !important; /* Assicura che l'immagine si adatti bene */
    }
    #contact-form{
                width: 100% !important;
                height: 100% !important;
            }
}


    .mlogo {
        height: 100px;
        width: 100%;
    }


.pagination .page-item .page-link {
    background-color: #6c757d; /* Colore secondario di Bootstrap */
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: #495057; /* Colore secondario scuro per la pagina attiva */
    border-color: #6c757d; /* Aggiungi un bordo secondario */
}

/*.socket{*/
/*    background: #014040;*/
/*}*/

/*.foot{*/
/*    background: #0A7368;*/
/*}*/

.socket{
    background: #7d98b4;
}

.foot{
    background: #8da1b6;
}

@media (min-width: 993px){
    .margine{
        border-right: 1px solid #014040;
    }
}

.btn-techia{
    background: #0A7368;
}

.btn-t {
  border: 2px solid #0A7368;
  color: #0A7368;
  background: none;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

/* Green */
.t-success {
  border-color: #0A7368;
  color: green;
}

.t-success:hover {
  background-color: #0A7368;
  color: white;
}

.card-title-overlay {
    position: absolute;
    top: 31% !important;
    left: 50%;
    width: 100%;
    text-align: center;
    color: white;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6); /* sfondo semi-trasparente */
    border: 2px solid black; /* bordo nero */
    transform: translate(-50%, -65%); /* Centra esattamente */
    backdrop-filter: blur(5px);
}

#backToTop {
            display: none; /* Nasconde il bottone inizialmente */
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            opacity: 0.7;
        }
        #backToTop img {
            width: 50px;
            height: 50px;
            opacity: 50%;
        }
        
.rotondo{
  border-radius: 100% !important;
}

img.rotondo{
    width:100%;
}

.card-title-overlay2 {
    position: absolute;
    top: 0 !important;
    left: 50%;
    width: 100%;
    text-align: center;
    color: white;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.6); /* sfondo semi-trasparente */
    border: 2px solid black; /* bordo nero */
    transform: translate(-50%, -50%); /* Centra esattamente */
    backdrop-filter: blur(5px);
    opacity: 0 !important; /* Nascondi inizialmente */
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2; /* Assicurati che sia sopra l'immagine */
}

.card:hover .card-title-overlay2 {
    opacity: 1 !important; /* Mostra il contenitore al passaggio del mouse */
    transform: translate(-50%, 0); /* Posiziona correttamente al centro (senza sovrapposizione) */
}

.offcanvas {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    right: 0 !important;
}

@media (min-width: 2001px){
    .big-s{
        height: 100vh;
        align-items: center;
        justify-content: center;
    }
}