a {
text-decoration:none !important;
}

.nv-page-title-wrap.nv-big-title .nv-page-title {
   
    text-align: center;
}

::-moz-selection {
 background-color: #4b874c;
 color: #fff;
}
::selection {
 background-color: #4b874c;
 color: #fff;
}

#tt p {
margin-bottom: 0 !important;
}

.justified-gallery img {
    border-radius: 5px !important;
    overflow: hidden;
}

/* Conteneur de chaque image */
.justified-gallery .jg-entry {
    border-radius: 5px !important;
    overflow: hidden !important;
}

/* Image elle-même */
.justified-gallery img {
    border-radius: 5px !important;
    transition: transform 0.3s ease;
}

/* Survol : l’arrondi reste */
.justified-gallery .jg-entry:hover img {
    border-radius: 5px !important;
}

/* Overlay de Swipebox (Justified Gallery Premium) */
#swipebox-overlay {
    background: rgba(0, 0, 0, 0.75) !important;  /* voile très léger */
    opacity: 1 !important;                       /* indispensable pour que rgba soit visible */
}

#swipebox-overlay .slide.current img {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.45) !important;
    border-radius: 5px !important;
}

/* Cible la légende de l'image qui a la classe legende-personnalisee */
.legende-personnalisee figcaption {
    line-height: 1.3;
}

/* Première ligne plus grande */
.legende-personnalisee figcaption::first-line {
    font-size: 20px; /* Taille de la première ligne */
    font-weight: 600;
}

/* Deuxième ligne plus petite */
.legende-personnalisee figcaption {
    font-size: 14px; /* Taille de base (donc seconde ligne) */
}

/* Style général de la légende */
.legende-personnalisee figcaption {
    font-size: 14px;        /* taille de la seconde ligne */
    color: #888888;         /* gris clair */
    line-height: 1.3;
}

/* Première ligne en noir */
.legende-personnalisee figcaption::first-line {
    color: #000000;         /* noir */
    font-size: 20px;        /* plus grande */
    font-weight: 600;
}







.kb-premium-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 20px 35px;

    /* Page remains visible behind the lightbox */
background: rgba(255, 255, 255, 0.20);

    /* Classy background blur */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.kb-premium-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}


/* Main content */

.kb-lightbox-inner {
    position: relative;

    width: auto;
    max-width: 94vw;
    max-height: 94vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: scale(.97);

    transition: transform .25s ease;
}

.kb-premium-lightbox.is-open .kb-lightbox-inner {
    transform: scale(1);
}


/* Image container */

.kb-lightbox-image-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 90vw;
    max-height: 78vh;

    padding: 10px;

    background: #fff;

    border-radius: 7px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .16);

    overflow: visible;
}


/* Actual image */

.kb-lightbox-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 88vw;
    max-height: 76vh;

    object-fit: contain;

    border-radius: 3px;
}


/* Caption */

.kb-lightbox-caption {
    width: min(850px, 90vw);

    padding: 14px 15px 0;

    text-align: center;
}

.kb-lightbox-title {
    margin: 0 0 5px;

    color: #222;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.kb-lightbox-description {
    margin: 0;

    color: #555;

    font-size: 14px;
    line-height: 1.5;
}


/* Close button */

.kb-lightbox-close {
    position: absolute;

    top: -21px;
    left: 50%;

    transform: translateX(-50%);

    width: 38px;
    height: 38px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    outline: 0;
    border-radius: 50%;

    background: #315b2a;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    z-index: 50;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .18);

    transition:
        background .2s ease,
        transform .2s ease;
}

.kb-lightbox-close:hover,
.kb-lightbox-close:focus {
    background: #264820;
    color: #fff;

    border: 0;
    outline: 0;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .18);

    transform:
        translateX(-50%)
        scale(1.05);
}


/* Previous / Next buttons */

.kb-lightbox-prev,
.kb-lightbox-next {
    position: absolute;

    top: 50%;

    width: 42px;
    height: 42px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(49, 91, 42, .25);
    outline: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .96);
    color: #315b2a;

    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    z-index: 40;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .15);

    transform: translateY(-50%);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* Arrow positioning - very close to image */

.kb-lightbox-prev {
    left: -21px;
}

.kb-lightbox-next {
    right: -21px;
}


.kb-lightbox-prev:hover,
.kb-lightbox-next:hover {
    background: #fff;
    color: #315b2a;

    transform:
        translateY(-50%)
        scale(1.08);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .20);
}


.kb-lightbox-prev:focus,
.kb-lightbox-next:focus {
    background: #fff;
    color: #315b2a;

    border: 1px solid rgba(49, 91, 42, .25);
    outline: 0;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .15);

    transform: translateY(-50%);
}


/* Hide arrows if there is only one image */

.kb-lightbox-single .kb-lightbox-prev,
.kb-lightbox-single .kb-lightbox-next {
    display: none;
}


/* Info Box image */

.kt-info-box-image {
    cursor: zoom-in;
}


/* Disable page scrolling while open */

body.kb-lightbox-active {
    overflow: auto !important;
}


/* Mobile */

@media (max-width: 767px) {

    .kb-premium-lightbox {
        padding: 45px 35px 25px;

        background: rgba(255, 255, 255, .65);

        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .kb-lightbox-inner {
        max-width: 100%;
        max-height: 90vh;
    }

    .kb-lightbox-image-wrap {
        max-width: 88vw;
        max-height: 72vh;

        padding: 7px;

        border-radius: 6px;
    }

    .kb-lightbox-image {
        max-width: 86vw;
        max-height: 70vh;
    }

    .kb-lightbox-prev,
    .kb-lightbox-next {
        width: 36px;
        height: 36px;

        font-size: 32px;
    }

    .kb-lightbox-prev {
        left: -18px;
    }

    .kb-lightbox-next {
        right: -18px;
    }

    .kb-lightbox-close {
        top: -19px;

        width: 34px;
        height: 34px;

        font-size: 22px;
    }

    .kb-lightbox-caption {
        width: 90vw;

        padding-top: 12px;
    }

    .kb-lightbox-title {
        font-size: 17px;
    }

    .kb-lightbox-description {
        font-size: 13px;
    }
}