﻿h1, h2, h3, h4, h6, .text-palyfair {
    font-family: 'Playfair Display', sans-serif !important;
}

    h4.customh4 {
        font-size: 1.3rem;
        font-weight: lighter;
        font-family: 'Poppins', sans-serif !important;
        line-height: 1.7;
    }
h3.customh3 {
    font-size: 1.55rem;
    text-align:justify;
    font-weight:600
}
.navbar-buttons .display-4, .nav-item > .display-4 {
    font-size: 1.25rem;
    text-transform: uppercase;
}

.nav-item .text-white:hover {color:#fff!important}

.navbar-caption-wrap > .navbar-caption {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.6rem;
}
.navbar-caption-wrap > .navbar-caption:hover {
    color: #fff;
}

.card {
    margin-bottom: 3rem;
}

.bg-lightgrey {
    background-color: #f9f9f9 !important;
}




/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

    .mySlides img {
        cursor: pointer;
    }

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .activeD, .dot:hover {
        background-color: #717171;
    }

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}




/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/* Slideshow MODAL */

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content 
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 100%;
    max-width: 1198px;
}*/

.modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh; /* Il modale occupa il 90% dell'altezza della finestra */
    text-align: center;
    /*max-width: 1200px;*/
    background-color: transparent
}

.modal-content img {
    max-width: 90vw; /* Larghezza massima 90% della viewport */
    max-height: 90vh; /* Altezza massima 90% della viewport */
    width: auto;
    height: auto;
    object-fit: contain; /* Mantiene le proporzioni senza tagliare l'immagine */
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

/* Hide the slides by default */
.mySlides1 {
    display: none;
}

/* Next & previous buttons */
.prev1,
.next1 {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #000 ;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color:#f1f1f1
}

/* Position the "next button" to the right */
.next1 {
    right: 40px;
    border-radius: 3px 0 0 3px;
}
.prev1 {
    left: 40px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev1:hover,
    .next1:hover {
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
    }

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.activeM,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.page-title {
    color: #222;
    background-color: #eaece6;
    position: relative;
}
.page-title .heading {
    padding: 80px 0 80px 0;
    border-top: 1px solid #222;
    margin-bottom:80px
}
.page-title nav {
    background-color: #eaece6;
    padding: 20px 0;
}
    .page-title nav ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
    }
    .page-title nav a {
        color:#fff;
    }
    .page-title nav ol li + li {
        padding-left: 10px;
    }
        .page-title nav ol li + li::before {
            content: "/";
            display: inline-block;
            padding-right: 10px;
            color: #fff;
        }
    .page-title .heading h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

/* -- HOME PAGE -- */


.content-area {
    text-align: center;
    margin: 10vh auto;
    max-width: 600px;
    font-family: 'Poppins', sans-serif !important;
}






.bg-image {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.text-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

/* -- ACCORDION FAQ -- */
.accordion-button {
    font-size: 1.5rem;
}
.accordion-button:not(.collapsed) {
    color: #63803B;
    background-color: #EAECE6;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}