/* =========== VARIABLE COULEURS ========== */

:root {
    --couleur-principale: #ed990b;
    --couleur-secondaire: #ed990b;
}



/* =========== GELERIE ========== */

.galerie-section {
    padding: 60px 0px 60px 0px;
}

.gallery-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-image img {
    /* height: 250px;
    width: 350px; */
    transform: scale(1.0);
    transition: transform 0.4s ease;
    /* max-height: 255px; */
    max-height: 255px;
    max-width: unset;
    object-fit: cover;
}

.img-box-gallery {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
    height: 250px;
    width: 350px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.img-box-gallery:hover img {
    transform: scale(1.1);
}

.img-box-gallery:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.5);
}

.img-box-gallery:hover .caption {
    transform: translateY(-20px);
    opacity: 1.0;
}

.img-box-gallery:hover {
    cursor: pointer;
}

.img-box-gallery a {
    display: contents;
}

.caption p {
    font-size: 22px;
    color: white;
    text-align: left;
}

.opacity-low {
    opacity: 0.5;
}

@media (max-width:500px) {
    .img-box-gallery {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        margin: 5px 0px;
    }

    .gallery-image img {
        height: auto;
        width: 100%;
    }

    .transparent-box {
        height: 100%;
        width: 100%;
    }
}

/* DETAIL */

.back-v3 {
    font-size: 30px;
    width: 50px;
    height: 50px;
    line-height: 47px;
    margin-bottom: 10px;
    transition: 0.3s;
    color: #b6b6b6;
    border-radius: 40px;
    border: 0.5px solid #b6b6b6;
    padding-right: 2px;
    text-align: center;
}

.back-v3:hover {
    transform: scale(1.1);
    background-color: #e8e8e8;
    transition: 0.3s;
    border: 0.5px solid #ffffff;
}

.galerie-detail-section {
    padding: 40px 0px;
}

.galerie-detail-section h1 {
    text-align: center;
    font-size: 30px;
}

@media (max-width:500px) {
    .galerie-detail-section h1 {
        text-align: center;
        font-size: 25px;
    }
}

.galerie-detail-st {
    text-align: center;
    font-size: 18px;
}

.mfp-title {
    display: none;
}

.mfp-with-zoom .mfp-title,
.touch .gallery-image-detail figcaption,
html:not(.touch) .gallery-image-detail figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0);
    padding: 1em;
    transition: all 0.2s ease;
    font-weight: 600;
    max-width: calc(100% - 9em);
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
}

.mfp-with-zoom .mfp-title:before,
.touch .gallery-image-detail figcaption:before,
html:not(.touch) .gallery-image-detail figcaption:before,
.mfp-with-zoom .mfp-title:after,
.touch .gallery-image-detail figcaption:after,
html:not(.touch) .gallery-image-detail figcaption:after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    padding: 1em;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    z-index: -1;
}

.mfp-with-zoom .mfp-title:before,
.touch .gallery-image-detail figcaption:before,
html:not(.touch) .gallery-image-detail figcaption:before,
.mfp-with-zoom .mfp-title:after,
.touch .gallery-image-detail figcaption:after,
html:not(.touch) .gallery-image-detail figcaption:after {
    right: 100%;
    bottom: 100%;
}

.mfp-with-zoom .mfp-title:after,
.touch .gallery-image-detail figcaption:after,
html:not(.touch) .gallery-image-detail figcaption:after {
    left: 100%;
    top: 100%;
}

.mfp-with-zoom.mfp-ready .mfp-title,
.touch .gallery-image-detail figcaption,
html:not(.touch) .gallery-image-detail:hover figcaption {
    color: white;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease 0.3s;
}

.mfp-with-zoom.mfp-ready .mfp-title:before,
.touch .gallery-image-detail figcaption:before,
html:not(.touch) .gallery-image-detail:hover figcaption:before,
.mfp-with-zoom.mfp-ready .mfp-title:after,
.touch .gallery-image-detail figcaption:after,
html:not(.touch) .gallery-image-detail:hover figcaption:after {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready .mfp-title:before,
.touch .gallery-image-detail figcaption:before,
html:not(.touch) .gallery-image-detail:hover figcaption:before {
    right: -1.5em;
    bottom: -1.5em;
}

.mfp-with-zoom.mfp-ready .mfp-title:after,
.touch .gallery-image-detail figcaption:after,
html:not(.touch) .gallery-image-detail:hover figcaption:after {
    left: -1.5em;
    top: -1.5em;
}

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

body {
    font-family: "Montserrat", sans-serif;
}

.gallery {
    -moz-column-gap: 0;
    column-gap: 0;
    background-color: #ffffff;
    padding: 40px 0;
    gap: 5px;
}

@media (min-width: 480px) {
    .gallery {
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 1260px) {
    .gallery {
        -moz-column-count: 3;
        column-count: 3;
    }
}

.gallery-image-detail {
    position: relative;
    margin: 0;
    padding: 0;
    transition: 0.5s;
    margin-bottom: 5px;
}

.gallery-image-detail:before,
.gallery-image-detail:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.2s;
    will-change: border;
}

.gallery-image-detail:after {
    border-width: 0;
    transition: 0.5s;
}

.gallery-image-detail img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: 0.5s;
}

html:not(.touch) .gallery-image-detail {
    overflow: hidden;
}

html:not(.touch) .gallery-image-detail:hover:before {
    border-width: 16px;
    transition: 0.5s;
}

/* html:not(.touch) .gallery-image-detail:hover:after img {
    border-width: 32px;
}
 */
.touch .gallery-image-detail figcaption {
    top: auto;
    bottom: 2em;
}

.gallery-image-detail:hover img {
    transform: scale(1.05);
    transition: 0.5s;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-bg {
    background-color: rgba(0, 0, 0, 0.9);
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 1;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

.mfp-with-zoom img.mfp-img {
    padding: 0;
}

.mfp-with-zoom .mfp-figure:after {
    top: 0;
    bottom: 0;
}

.mfp-figure:after {
    background: transparent;
}

.mfp-with-zoom .mfp-container {
    padding: 0;
}

.mfp-with-zoom .mfp-content {
    overflow: hidden;
}

.mfp-with-zoom .mfp-bottom-bar {
    top: auto;
    bottom: 0;
    margin-top: 0;
}

.mfp-with-zoom .mfp-title {
    top: auto;
    bottom: 2em;
}

.mfp-arrow {
    opacity: 1;
    margin-top: 0 !important;
    width: 20%;
    height: 30%;
    transform: translateY(-50%);
}

.mfp-arrow:before,
.mfp-arrow:after {
    margin: 0;
    border: none;
    width: 2rem;
    height: 2rem;
    transform: rotate(-45deg) translate(-50%, -100%);
    opacity: 1;
    top: 50%;
    left: 50%;
    transition: all 0.15s;
}

.mfp-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:before,
.mfp-arrow-left:after {
    border-top: 2px solid white;
    border-left: 2px solid white;
}

.mfp-arrow-left:after {
    margin-left: 2rem;
}

.mfp-arrow-left:hover:before,
.mfp-arrow-left:active:before {
    margin-left: 2rem;
}

.mfp-arrow-left:hover:after,
.mfp-arrow-left:active:after {
    margin-left: 0;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:before,
.mfp-arrow-right:after {
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

.mfp-arrow-right:after {
    margin-left: 2rem;
}

.mfp-arrow-right:hover:before {
    margin-left: 2rem;
}

.mfp-arrow-right:hover:after {
    margin-left: 0;
}

button.mfp-close {
    opacity: 1;
    margin-top: 0 !important;
    width: 20%;
    height: 30%;
    font: 0/0 serif;
    text-shadow: none;
    color: transparent;
}

button.mfp-close:before,
button.mfp-close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    border: none;
    width: 2rem;
    height: 2rem;
    opacity: 1;
    transition: all 0.15s;
    transform-origin: 0 0;
    border-top: 2px solid white;
    border-left: 2px solid white;
}

button.mfp-close:before {
    transform: rotate(-45deg);
}

button.mfp-close:after {
    transform: rotate(135deg);
}

button.mfp-close:hover:before {
    transform: rotate(135deg);
}

button.mfp-close:hover:after {
    transform: rotate(315deg);
}

button.mfp-close:active {
    transform: scale(0.95);
}

/* =========== PAGINATION ========== */


.pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.pagination span,
.pagination a {
    --size: 32px;
    --margin: 6px;
    margin: 0 var(--margin);
    border-radius: 6px;
    background: #e4e4e480;
    max-width: auto;
    min-width: var(--size);
    height: var(--size);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 6px;
    border: none;
    color: black;
    transition: 0.4s;
}

.pagination span.prevnext.disabled {
    opacity: 0.5;
    cursor: unset;
}

.pagination span.prevnext.disabled:hover{
    background: #e4e4e480;
}

.pagination span.current {
    background-color: #d8d8d8;
    cursor: unset;
}

.pagination span:hover,
.pagination a:hover {
    background-color: #d8d8d8;
    transition: 0.4s;
    border: none;
    color: black;
}

/* =========== ACTUALITES ========== */

.blog-area {
    padding-top: 60px;
    padding-bottom: 60px;
}

.actus-filter {
    padding-bottom: 30px;
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.actus-filter a {
    padding: 10px 15px;
    font-size: 17px;
    background-color: var(--couleur-principale);
    color: white;
    border-radius: 10px;
    margin-right: 15px;
    font-weight: 600;
    transition: all 300ms ease;
    margin: 5px;
}

.actus-filter a:hover {
    transform: scale(1.05);
    transition: all 300ms ease;
}

/* .container-blog {
    max-width: 1320px;
} */

.actu-col {
    margin-bottom: 30px;
}

.bd-blog {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.bd-blog .bd-blog-img {
    box-sizing: content-box;
    margin: 10px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: #f9f9f9;
    margin: 0;
    max-height: 210px;
    width: 100%;
    height: 100%;
    min-height: 210px;
}

.bd-blog img {
    transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
    width: 100%;
    transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
    height: 100%;
    object-fit: cover;
}

.bd-blog:hover .bd-blog-img img {
    transform: scale3d(1.1, 1.1, 1.1);
}

.bd-blog-text {
    padding: 20px 20px 20px 20px;
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
}

.bd-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bd-blog-meta a {
    font-size: 14px;
    font-weight: 500;
    color: #6a6a6a;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    text-transform: uppercase;
}

.bd-blog-meta a i {
    margin-right: 8px;
    transform: translateY(2px);
    color: var(--couleur-principale);
    display: inline;
}

.bd-blog-meta .libelle-blog {
    background-color: #ed990b;
    padding: 3px 10px;
    border-radius: 10px;
    color: white;
}

.bd-blog-author-link a:hover {
    color: var(--couleur-secondaire);
    background-color: #e3e3e3;
    padding: 10px;
}

.bd-blog-title {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}

.bd-blog-title a {
    color: var(--couleur-principale);
}

.bd-blog-author {
    display: flex;
    align-items: center;
    justify-content: end;
    position: absolute;
    right: 30px;
    bottom: 20px;
}

.bd-blog-author-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.bd-blog-author-info img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: 8px;
}

.bd-blog-author-info-title {
    font-size: 14px;
    font-weight: 500;
    color: #6a6a6a;
    line-height: 1;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.bd-blog-desc {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
}

.bd-blog-author-link a {
    font-size: 14px;
    font-weight: 500;
    color: #6a6a6a;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    padding: 10px;
    border-radius: 10px;
}

.bd-blog-author-link a i {
    margin-left: 5px;
    transition: 0.5s;
    color: #b6b6b6;
}

.bd-blog-author-link {
    transition: 0.5s;
}

.bd-blog-author-link a:hover i {
    padding-left: 3px;
    display: inline-block;
    transition: 0.5s;
    color: var(--couleur-secondaire);
}

/* DETAIL */

.blog-details {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width:550px) {
    .blog-details h1 {
        font-size: 25px;
    }

    .blog-details h2 {
        font-size: 20px;
    }
}

.blog-details .img-bloc {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-details .img-bloc img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.sidebar-right {
    position: relative;
    border-radius: 10px;
    display: block;
    padding: 30px 15px 30px;
    background-color: #ededed;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
}

.angle-back {
    font-size: 33px;
    width: 50px;
    height: 40px;
    transition: 0.3s;
    color: #b6b6b6;
    border-radius: 10px;
    padding-right: 2px;
    text-align: center;
}

.angle-back:hover {
    transition: 0.3s;
    transform: scale(1.2);
}

.col-article {
    margin-top: 20px;
}

.blog-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-category {
    padding: 10px 15px;
    font-size: 17px;
    background-color: var(--couleur-principale);
    color: white;
    border-radius: 10px;
    margin-right: 15px;
    transition: all 300ms ease;
    margin: 0px 10px 5px 0px;
}

.blog-publish-time {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ededed;
    border-radius: 10px;
    font-size: 17px;
    margin: 0px 10px 5px 0px;
}

.blog-publish-time i {
    color: #ed990b;
    font-size: 20px;
    margin-right: 10px;
}

.last-article-box {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding: 5px;
    transition: 0.3s;
    position: relative;
}

.last-article-box::after {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 0px;
    width: 0;
    height: 1px;
    background-color: #d0d0d0;
    transition: width 0.4s ease;
}

.last-article-box:hover::after {
    width: 70%;
}

.last-article-box:hover img {
    transform: scale3d(1.1, 1.1, 1.1);
    transition: 0.4s;
}

.circle-article-img-box {
    width: 80px;
    height: 80px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-right: 15px;
}

.circle-article-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article-desc {
    display: flex;
    flex-direction: column;
}

.sidebar-article-desc .p-date {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
}

.sidebar-article-desc .p-desc {
    display: block;
    font-size: 15px;
    line-height: 19px;
    margin-bottom: 0;
    font-weight: bold;
}

.sidebar-article-desc i {
    margin-right: 5px;
    color: var(--couleur-principale);
    font-size: 16px;
}

.sidebar-right .tags {
    padding-bottom: 0px;
    padding-top: 20px;
}


/* =========== AVIS - LIVRE D'OR ========== */

#link-avis{
    display: inline-block;
    font-size: 20px;
    background-color: #ececec;
    padding: 10px;
    border-radius: 10px;
    color: #ed990b;
    font-weight: bold;
    border: 2px solid #ececec;
    transition: 0.3s;
    margin-top: 40px;
}

.btn-1{
    display: inline-block;
    font-size: 20px;
    background-color: #ececec;
    padding: 10px;
    border-radius: 10px;
    color: #ed990b;
    font-weight: bold;
    border: 2px solid #ececec;
    transition: 0.3s;
}

#link-avis:hover{
    background-color: white;
    border: 2px solid #ed990b;
    transition: 0.3s;
}

.avis-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.flex-avis {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.box-avis {
    width: 100%;
    margin-bottom: 40px;
    border-bottom: 1px solid gainsboro;
    padding-bottom: 40px;
    border-radius: 10px;
    margin-top: 20px;
    transition: 0.3s;
}

.box-avis:hover {
    /* transform: scale(1.01); */
    /* background-color: aliceblue; */
    transition: 0.3s;
    box-shadow: 8px 7px 10px -8px #cecece;
}

.box-avis-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.circle-avis {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(204, 128, 128);
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-avis span {
    font-size: 28px;
    color: #fff;
    font-weight: 500;
}

.name-avis-author {
    margin-left: 15px;
    font-size: 18px;
    font-weight: bold;
}

.note-avis {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.note-avis img {
    width: 19px;
    margin-bottom: 3px;
}

.note-avis .time {
    font-size: 17px;
    margin-left: 18px;
}

.text-avis {
    font-size: 16px;
}

/* =========== BOUTIQUE ========== */

.boutique-sect {
    padding-top: 40px;
    padding-bottom: 40px;
}

.boutique-sect .bd-blog .bd-blog-img {
    min-height: 320px;
}

.boutique-sect .bd-blog-text {
    background-color: #fff;
    padding: 20px 10px 20px 10px;
}

.boutique-sect .bd-blog-meta {
    justify-content: left;
    text-align: left;
    font-size: 25px;
    color: #000;
    font-weight: bold;
}

.boutique-sect .bd-desc {
    color: grey;
    font-size: 16px;
    margin-bottom: 20px;
}

.boutique-sect .price {
    font-size: 23px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    border: 3px solid #22c55e;
    color: #22c55e;
}

.boutique-sect .btn-shop {
    color: #000;
}
