.cursor-pointer {
    cursor: pointer;
}

.breadcrumb a {
    color: white;
}

.breadcrumb a.active{
    pointer-events: none;
    cursor: default;
}

.breadcrumb a:not(.active):hover {
    border-bottom: 1px solid white;
}

.hover-style-3 .portfolio-item .portfolio-box .portfolio-title {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  background-color: #891c20;
  padding-top: 20px;
  padding-bottom: 26px;
  position: relative;
}

.hover-style-3 .portfolio-item .portfolio-box .portfolio-title div {
    display: flex;
    flex-direction: column;
}

.hover-style-3 .portfolio-item .portfolio-box .portfolio-title div.date {
    position: absolute;
    top: -1.3em;
    right: 1em;
    width: auto;
    display: block;
    left: auto;
    color: #891c20;
    background: #fff;
    padding: .5em;
    line-height: 1em;
    height: 1.8em;
    border-radius: 4px;
}
.hover-style-3 .portfolio-item .portfolio-box div.evento-collaterale {
    position: absolute;
    top: 10px;
    z-index: 1;
    left: 10px;
    background: white;
    border-radius: 4px;
    padding: 2px 4px;
    color: #891c20;
    box-shadow: 1px 1px 12px rgba(0,0,0,0.1);
}

.filter.filter-style-3 ul li:after {
    background-color: #891c20;
}
.filter.filter-style-3 ul li.mixitup-control-active,
.filter.filter-style-3 ul li:hover {
    color: #891c20;
}

.hover-style-3 .portfolio-item .portfolio-box:hover .portfolio-img img {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

div#eventi-grid-wrapper.loading {
    opacity: .5;
    cursor: wait;
}

div#eventi-grid-wrapper.loading * {
    pointer-events: none;
}

div#eventi-grid-wrapper.loading:before {
    content: '';
    position: absolute;
}

.section h1 {
    color: #891c20;
    font-size: 2.13em;
}

h2.double-row, 
h1.double-row {
    display: flex;
    flex-direction: column;
    line-height: 1.2em;
    font-weight: 300;
    font-size: 1.7em;
    font-family: "Poppins", sans-serif;
}

h2.double-row em,
h1.double-row em {
    font-style: normal;
    font-size: 2.13rem;
    font-weight: 600;
}

li.list-dash > ul > li:before {
    content: '-';
    padding-right: 7px;
}

li.list-dash > ul {
    padding: 0;
}

.custom-select {
    color: #a3a3a3;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a3a3a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat 98%/15px;
}

.p-margin p {
    margin-bottom: 1em;
}

.section .container p {
    overflow-wrap: break-word;
}

#company-info p {
    display: table-row;
    line-height: 3em;
}
#company-info p b,
#company-info p span{
    display: table-cell;
}
#company-info p b {
    padding-right: 1em;
}

@media (max-width: 425px) {
    #company-info p {
        display: block;
    }
}

p a {
    color: #891c20;
}

/* Dentro un contenitore .text-white anche i link sono bianchi (esclusi i bottoni) */
.text-white a:not(.button):not(.button-circle),
.text-white a:not(.button):not(.button-circle):hover,
.text-white a:not(.button):not(.button-circle):focus {
    color: #fff;
}

/* PARSLEY */
ul.parsley-errors-list {
    margin-top: -1em;
    list-style: none;
    padding: 0 1.2em 1em;
}
.parsley-required {
    color: darkred;
}

.parsley-error {
    border: 1px solid darkred;
}

/* IMMAGINE CON ETICHETTA SOVRAPPOSTA */
/* Contenitore immagine ed etichetta */
.img-wrapper-custom {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

/* Immagine responsive */
.img-responsive-custom {
    display: block;
    width: 100%;
    height: auto;
}

/* Etichetta sovrapposta (Desktop) */
.label-overlay-custom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    max-width: 90%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    box-sizing: border-box;
}

/* Tablet e Mobile: sposta l'etichetta sotto l'immagine */
@media (max-width: 991px) {
    .label-overlay-custom {
        position: static;
        max-width: 100%;
        margin-top: 8px;
        background-color: #222222; /* Sfondo pieno per maggiore leggibilità su fondo chiaro */
    }
}