.days-container .data-calendario .giorno-calendario {
    font-size: 26px;
    text-align: center;
    font-weight: 800;
}
.days-container .data-calendario .mese-calendario {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}
.days-container .data-calendario {
    position: relative;
    padding: 4px;
}
.days-container .numero-eventi {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #002f6c;
    line-height: 1;
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: calc(100% - 20px);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px;
}
.days-container .numero-eventi .numero-eventi-span {
    margin-right: 4px;
    font-weight: 700;
}
.days-container .data-calendario.has-event .data-calendario-colonna-giorno {
    border: 1px solid #002f6c;
}
.days-container .data-calendario .data-calendario-colonna-giorno {
    border: 1px solid #002f6c25;
    border-radius: 10px;
    padding: 26px 6px 10px;
}
.data-calendario.has-event {
    cursor: pointer;
}
.data-calendario.has-event:hover {
    transition: all 0.2s ease-in-out;
    transform: translateY(-5px);
    opacity: 0.8;
}

.agenda-anci.swiper-container {
    position: relative;
    overflow: hidden;
    padding: 1px;
    z-index: 0;
}
.swiper-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    /* 
    justify-content: space-between;
    position: absolute;
    bottom: calc(50% - 48px);
    width: 100%;
    */
}
.swiper-button-prev, .swiper-button-next {
    padding: 5px 10px;
    color: #002f6c;
    cursor: pointer;
    margin: 5px;
    font-size: 20px;
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled {
    color: #002f6c25;
}
.swiper-button-prev, .swiper-button-next {
    max-width: max-content;
    position: absolute;
    bottom: 57%;
    z-index: 1;
}
.swiper-button-prev {
    left: 0px;
}
.swiper-button-next {
    right: 0px;
}
.archivio-eventi-anci-btn {
    margin-top: 50px;
    text-align: center;
}
.archivio-eventi-anci-btn a {
	background-color: var(--awb-color5);
	color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
	font-family: Montserrat;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.archivio-eventi-anci-btn a:hover {
    background-color: #011837;
    color: #fff;
}
.modale-evento-close {
    cursor: pointer;
    max-width: max-content;
    float: right;
    top: -30px;
    right: -30px;
    position: relative;
    font-size: 15px;
    font-weight: 800;
}
.modale-evento {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #000000a8;
    left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}
.modale-evento-container {
    background-color: #fff;
    width: 100%;
    max-width: 800px;
    margin: 50px;
    padding: 50px;
    border-radius: 10px;
    max-height: 80%;
    overflow-y: auto;
}
.modale-title {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    background-color: #002f6c;
    color: #fff;
    padding: 7px 20px;
    border-radius: 40px;
    line-height: 1.2;
}
.modale-evento-date img {
    max-width: 20px;
    margin-right: 7px;
}
.modale-evento-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.modale-evento-date {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    min-width: 90px;
    font-weight: 800;
}
span.modale-evento-title {
    font-style: italic;
}
.modale-evento-body {
    padding-bottom: 4px;
}
.anci-eventi-alert {
	background-color: var(--awb-color4);
    padding: 10px 15px;
    border-radius: 5px;
    margin: 20px 0px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    letter-spacing: .5px;
}

/* Inizio stile spinner per caricamento ajax */
.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #002F6C;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}
/* Fine stile spinner per caricamento ajax */

.archivio-eventi-anci .archivio-eventi-anci-sidebar .label-form {
    font-weight: 800;
    text-transform: uppercase;
    color: #002f6c;
}
.archivio-eventi-anci .archivio-eventi-anci-sidebar select.form-select {
    width: 100%;
    border: none;
    margin-top: 5px;
}

.evento-anci-postcard {
    position: relative;
    width: 100%;
}

.evento-anci-postcard img {
    display: block;
    width: 100%;
    height: auto;
    /* Imposta l'altezza relativa al rapporto 4:3 */
    aspect-ratio: 4 / 3;
    object-fit: cover; /* Per mantenere l'immagine proporzionata all'interno del contenitore */
}

body .titolo-anci-postcard h3 {
    margin: 10px 0px 20px;
    font-size: 18px;
    font-weight: 800;
	line-height: 24px;
}

.evento-anci-postcard-data p, .evento-anci-postcard-orario p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}
.evento-anci-postcard-data {margin-bottom: 7px;}
img.anci-eventi-icona-data, img.anci-eventi-icona-ora {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}
body .evento-anci-postcard-data p, body .evento-anci-postcard-orario p  {
    font-size: 13px;
    font-weight: 800;
    color: #012f6b;
    margin: 0px;
}
body .evento-anci-postcard-ecxerpt p {
    font-size: 16px;
    line-height: 1.25;
    margin-top: 10px;
    border-top: 1px solid #012f6b2b;
    padding-top: 10px;
	margin-bottom: 0px;
}
.evento-anci-postcard-orizzontale {
    margin-bottom: 20px;
}
.archivio-eventi-anci-paginazione {
    float: right;
    text-align: end;
    border-top: 1px solid #012f6b2b;
    padding-top: 15px;
    margin-top: 30px;
    width: 100%;
}
.eventi-anci-numero-trovato {
    text-align: left;
    color: #012f6b;
    font-size: 14px;
    padding: 20px 20px 10px 20px;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 2px solid var(--awb-color4);
}
.archivio-eventi-anci-btn {
    margin-bottom: 15px;
    padding: 0px 5px;
}
div#form-anci-eventi-mese-input input[type="date"],
form#eventi-anci-filter select {
	background-color: var(--awb-color2);
    border: 1px solid var(--awb-color5);
}
form#eventi-anci-filter select {
    padding: 0px 10px;
}
div#form-anci-eventi-mese-input input[type="date"] {
    margin-top: 20px;
}
.eventi-mese-input p {font-size: 15px; line-height: 21px;}
.evento-anci-postcard.evento-anci-postcard-orizzontale {
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, .2);
}
.evento-anci-postcard.evento-anci-postcard-orizzontale:nth-child(odd) {
    background-color: #fff;
}
.anci-eventi-mese-input-txt {
    line-height: 1.2;
    font-size: 14px;
}
a.anci-next-event-btn {
    font-weight: 800;
}
.anci-eventi-views-type a {
    background-color: var(--awb-color5);
    width: 100%;
    display: block;
    margin-bottom: 10px;
    color: #fff;
    transition: 0.3s;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.anci-eventi-views-type a:hover {
    background-color: #011837;
    color: #fff;
}
a.anci-next-event-btn {
    color: #002f6c;
}
.anci-eventi-nex-event {
    text-align: center;
}
.anci-eventi-nex-event {
    font-style: italic;
}

@media only screen and (max-width: 768px) {
    body .modale-evento-container {
        padding: 25px 30px;
        font-size: 12px;
        line-height: 1.25;
    }
    body .modale-evento-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        align-content: flex-start;
    }
    body .modale-evento-date {
        margin-bottom: 10px;
        margin-top: 5px;
    }
    body .modale-evento-close {
        top: -10px;
        right: -10px;
    }
    body .modale-evento-title {
        margin-bottom: 5px;
    }
}
