.glide {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.glide * {
    box-sizing: inherit;
}

.glide__track {
    overflow: hidden;
}

.glide__slides {
    position: relative;
    width: 100%;
    list-style: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: pan-Y;
    overflow: hidden;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

.glide__slides--dragging {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.glide__slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    white-space: normal;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.glide__slide a {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.glide__arrows {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.glide__bullets {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.glide--rtl {
    direction: rtl;
}

.glide__arrow {
    position: absolute;
    display: block;
    top: 50%;
    z-index: 2;
    color: white;
    text-transform: uppercase;
    padding: 9px 12px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
    opacity: 1;
    cursor: pointer;
    transition: opacity 150ms ease, border 300ms ease-in-out;
    transform: translateY(-50%);
    line-height: 1;
}

.glide__arrow:focus {
    outline: none;
}

.glide__arrow:hover {
    border-color: white;
}

.glide__arrow--left {
    left: 2em;
}

.glide__arrow--right {
    right: 2em;
}

.glide__arrow--disabled {
    opacity: 0.33;
}

.glide__bullets {
    position: absolute;
    z-index: 2;
    bottom: 2em;
    left: 50%;
    display: inline-flex;
    list-style: none;
    transform: translateX(-50%);
}

.glide__bullet {
    background-color: rgba(255, 255, 255, 0.5);
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    line-height: 0;
    box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
    margin: 0 0.25em;
}

.glide__bullet:focus {
    outline: none;
}

.glide__bullet:hover, .glide__bullet:focus {
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.5);
}

.glide__bullet--active {
    background-color: white;
}

.glide--swipeable {
    cursor: grab;
    cursor: -webkit-grab;
}

.glide--dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

@font-face {
    font-family: "American_Typewriter_Regular";
    src: url('https://thegoodlife.fr/wp-content/themes/ideat/fonts/AmericanTypewriterRegular.eot');
    src: url('https://thegoodlife.fr/wp-content/themes/ideat/fonts/AmericanTypewriterRegular.eot?#iefix') format("embedded-opentype"), url('https://thegoodlife.fr/wp-content/themes/ideat/fonts/AmericanTypewriterRegular.woff') format("woff"), url('https://thegoodlife.fr/wp-content/themes/ideat/fonts/AmericanTypewriterRegular.ttf') format("truetype"), url('https://thegoodlife.fr/wp-content/themes/ideat/fonts/AmericanTypewriterRegular.svg') format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Yanone_Kaffeesatz_Regular";
    src: url('https://thegoodlife.fr/wp-content/themes/thegoodlife/fonts/yanone-kaffeesatz-regular-webfont.eot');
    src: url('https://thegoodlife.fr/wp-content/themes/thegoodlife/fonts/yanone-kaffeesatz-regular-webfont.eot?#iefix') format("embedded-opentype"), url('https://thegoodlife.fr/wp-content/themes/thegoodlife/fonts/yanone-kaffeesatz-regular-webfont.woff') format("woff"), url('https://thegoodlife.fr/wp-content/themes/thegoodlife/fonts/yanone-kaffeesatz-regular-webfont.ttf') format("truetype"), url('https://thegoodlife.fr/wp-content/themes/thegoodlife/fonts/yanone-kaffeesatz-regular-webfont.svg') format("svg");
    font-weight: normal;
    font-style: normal;
}

:root {
    --height-gallery-desktop: 450px;
    --height-gallery-mobile: 220px;
    --bgcolor-gallery: #d4cdc4;
    --bordercolor-gallery: #bfb8b0;
    --color-copyright: #898177;
}

#fullscreen_gallery {
    background: var(--bgcolor-gallery);
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

@media (max-width: 767px) {
    #fullscreen_gallery {
        flex-direction: column;
        justify-content: flex-start;
    }
}

.gallery_main {
    height: 100%;
    width: calc(100% - 350px);
}

@media (max-width: 767px) {
    .gallery_main {
        height: auto;
        margin: 4.15rem 0 0;
        width: 100%;
    }
}

.gallery_main .glide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

@media (max-width: 767px) {
    .gallery_main .glide__slide {
        align-items: flex-start;
        justify-content: center;
        height: var(--height-gallery-mobile);
    }
}

.gallery_main .glide__slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.gallery_sidebar {
    border-left: 1px solid var(--bordercolor-gallery);
    height: 100%;
    width: 350px;
}

@media (max-width: 767px) {
    .gallery_sidebar {
        border: 0;
        height: auto;
        width: 100%;
    }
}

.gallery_sidebar .glide_content {
    padding: 1.25rem 2rem;
}

@media (max-width: 767px) {
    .gallery_sidebar .glide_content {
        max-height: 45vh;
        overflow-y: auto;
        padding: 1rem;
    }
}

.gallery_sidebar .glide_content span {
    color: var(--color-copyright);
}

.gallery_sidebar h2 {
    font-family: "Roboto Condensed";
}

.gallery_sidebar p {
    display: block;
    font-size: 1.125em;
    line-height: 1.6;
    margin: 0;
    padding: 0 0 1em 0;
}

.gallery_controls {
    border-bottom: 1px solid var(--bordercolor-gallery);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0;
    padding: 1.25rem 2rem;
}

@media (max-width: 767px) {
    .gallery_controls {
        padding: 1rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
}

.gallery_buttons {
    display: flex;
    align-items: center;
}

.gallery_buttons button {
    padding: 0 1rem;
    border: none !important;
    background: transparent !important;
}

.gallery_button_next img {
    transform: rotate(180deg);
}

.gallery_close {
    border: none !important;
    background: transparent !important;
}

.gallery_paging {
    font-size: 1.25rem;
    margin-right: auto;
}

.gallery_shares {
    border-top: 1px solid var(--bordercolor-gallery);
    display: block;
    font-size: 1.25rem;
    padding: 1.25rem 2rem;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 350px;
}

@media (max-width: 767px) {
    .gallery_shares {
        padding: 1rem;
        left: 0;
        right: auto;
        width: 100%;
    }
}

.gallery_shares ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery_shares .block-share__item--facebook a,
.gallery_shares .block-share__item--twitter a,
.gallery_shares .block-share__item--email a {
    background: none;
    height: auto;
    width: auto;
}

.glide__slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* GALLERY */
.gallery-container {
    background: var(--bgcolor-gallery);
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .gallery-container {
        left: -10px;
        width: calc(100% + 20px);
    }
}

.pswp-gallery {
    margin: 0;
    padding: 0;
}

.pswp-gallery__toolbar {
    border-top: 1px solid var(--bordercolor-gallery);
    border-bottom: 1px solid var(--bordercolor-gallery);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
    margin: 0;
    padding: 1rem 1.5rem;
    position: absolute;
    left: 0;
    top: var(--height-gallery-desktop);
    width: 100%;
    z-index: 25;
}

@media (max-width: 767px) {
    .pswp-gallery__toolbar {
        padding: 1rem;
        top: var(--height-gallery-mobile);
    }
}

.pswp-gallery__numbers {
    font-size: 1.125rem;
}

.pswp-gallery__buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pswp-gallery__button {
    cursor: pointer;
    margin: 0 0 0 1.5rem;
}

.pswp-gallery__next img {
    transform: rotate(180deg);
}

.pswp-gallery .pswp-caption-content {
    display: block;
    margin: 3rem 0 0;
    padding: 1rem 1.5rem;
}

@media (max-width: 767px) {
    .pswp-gallery .pswp-caption-content {
        padding: 1rem;
    }
}

.pswp-gallery .pswp-caption-content span {
    color: var(--color-copyright);
}

.single .entry-content .pswp-gallery__item img,
.page .entry-content .pswp-gallery__item img {
    display: block;
    max-height: var(--height-gallery-desktop);
    object-fit: cover;
    width: auto;
}

@media (max-width: 767px) {
    .single .entry-content .pswp-gallery__item img,
    .page .entry-content .pswp-gallery__item img {
        max-height: var(--height-gallery-mobile);
    }
}

.single .entry-content .pswp-gallery__item img.landscape,
.page .entry-content .pswp-gallery__item img.landscape {
    height: 100%;
}

@media (max-width: 767px) {
    .single .entry-content .pswp-gallery__item img.landscape,
    .page .entry-content .pswp-gallery__item img.landscape {
        width: 100%;
    }
}

.pswp-gallery__item__figure {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--height-gallery-desktop);
}

@media (max-width: 767px) {
    .pswp-gallery__item__figure {
        height: var(--height-gallery-mobile);
    }
}

.js .pswp-gallery__item__figure {
    cursor: pointer;
}
