﻿/* ======= ol style ======= */
ol li {
list-style-image: url(../img/pallina.png);
} 
ul li {
list-style-image: url(../img/pallina.png);
}
b {
    font-weight: 600; color: #413734;
}

.navbar-nav,
.navbar-nav li,
.dropdown-menu li {
  list-style: none !important;
}

.gal {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    column-gap: 20px;
}

/* Applica l'arrotondamento e gestisce lo spazio */
.gal .item, .gal img {
    border-radius: 10px !important;
    overflow: hidden;
    display: block;
    width: 100%;
    margin-bottom: 10px; /* Aumentato un po' per dare respiro in verticale */
    
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    isolation: isolate; 
}

.gal .item .img:after {
    border-radius: 10px;
}


/* ============================================================
   AGGIUNTA PER IL MOBILE:
   Sotto i 768px (tablet e telefoni) le colonne diventano 1
   ============================================================ */
@media (max-width: 768px) {
    .gal {
        -webkit-column-count: 1 !important;
        -moz-column-count: 1 !important;
        column-count: 1 !important;
    }
}


.img-zoom {
    transition: transform 0.4s ease;
    cursor: pointer;
}

.img-zoom:hover {
    transform: scale(1.08);
}

/* ============================================================
   EFFETTO 1:
   ============================================================ */

.image-anime{
	position: relative;
	overflow: hidden;
}

.image-anime:after{
	content: "";
	position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255,255,255,.3);
    transform: translate(-50%,-50%) rotate(-45deg);
    z-index: 1;
}

.image-anime:hover:after{
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}