/*
Theme Name: EMS VESSY
Version: 1.0
*/

@import './assets/css/frutiger-fonts.css';
@import './assets/css/pluto-fonts.css';
@import './assets/css/bon-vivant-fonts.css';
@import './assets/css/abeezee.css';

:root {
    --primary-color: #383838;
    --accent-color: #CB333B;
    --neutral-color: #FFF;
    --secondary-color: #DCC39E;
    --secondary-bg-color: var(--secondary-color);
    --secondary-color-light: #E2DBD5;
    --dark-color: #000;
    --separator-color: #D9D9D9;
    --primary-font: 'Frutiger', sans-serif;
    --secondary-font: 'Pluto', sans-serif;
    --secondary-font-script: 'Bon Vivant', sans-serif;
    --testimonial-font: 'ABeeZee', sans-serif;

    --fs-html: 62.5%;
    --fs-body: 1.9rem;
    --fs-footer: 1.6rem;
    --fs-primary-heading: 5.5rem;
    --fs-secondary-heading: 3rem;
    --fs-tertiary-heading: 2.4rem;
    --fs-full: 20rem;
    --fs-testimonial: 2rem;
    --lh-tertiary-heading: 2.9rem;
    --mb-secondary-heading: 6rem;
    --lh-secondary-heading: 3.7rem;

    --fs-button: 1.8rem;

    --primary-header-height: 9rem;
    --section-gap: 6rem;

    --container-padding: 3rem;
    --container-max-width: 1200px;
    --container-width: min(var(--container-max-width), 100% - (var(--container-padding) * 2));
    --section-max-width: 1440px;

    --body-line-height: 3.4rem;

    --default-gap: 3rem;
    --separator-width: 6.8rem;

    --max-width-text: 480px;
    --max-width-article: 580px;
    --max-width-img: 600px;
}

@media (min-width: 1200px) {
    :root {
        --section-gap: 8rem;
    }
}

@media (min-width: 1440px) {
    :root {
        --section-gap: 10rem;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-body: 1.6rem;
        --fs-primary-heading: 3.8rem;
        --fs-secondary-heading: 2.2rem;
        --fs-tertiary-heading: 1.8rem;
        --fs-button: 1.6rem;
        --fs-full: 12rem;
        --fs-testimonial: 1.6rem;
        --mb-secondary-heading: 3rem;

        --container-width: calc(100vw - (var(--container-padding) * 2));

        --max-width-text: 100%;
        --max-width-article: 100%;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
    font: inherit;
}

body,
html {
    height: 100%;
}

html {
    font-size: var(--fs-html);
}

body {
    font-size: var(--fs-body);
    font-family: var(--primary-font);
    font-weight: lighter;
    color: var(--primary-color);
    text-rendering: optimizeSpeed;
    line-height: 1;
    overflow-x: hidden;
}

section,
main,
nav,
header,
footer {
    display: block;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

strong {
    font-weight: bold;
}

ul,
li {
    list-style: none;
}

b {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: var(--accent-color)
}

a:hover {
    text-decoration: underline;
}

main p {
    line-height: var(--body-line-height);
    margin-bottom: 2rem;
}

main p:last-of-type {
    margin-bottom: 0;
}

h1 {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-primary-heading);
    color: var(--accent-color);
    margin-inline: auto;
    text-align: center;
    line-height: normal;
}

h1::after {
    content: "";
    width: 170px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 1rem 0 2rem;
    display: block;
    margin-inline: auto;
}

h2 {
    font-family: var(--secondary-font);
    font-size: var(--fs-secondary-heading);
    color: var(--accent-color);
    font-weight: normal;
    margin-bottom: var(--mb-secondary-heading);
    line-height: var(--lh-secondary-heading);
}

h3,
h4 {
    font-family: var(--secondary-font);
    font-size: var(--fs-tertiary-heading);
    color: var(--primary-color);
    font-weight: normal;
    line-height: var(--lh-tertiary-heading);
    word-wrap: break-word;
}

section {
    max-width: var(--section-max-width);
    margin-bottom: var(--section-gap);
    margin-inline: auto;
}

/* utlilities */

.container {
    width: var(--container-width);
    margin-inline: auto;
}

@media (max-width: 768px) {

    .container {
        width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
}

.fluid-section,
.fluid-container {
    max-width: unset;
    width: 100%;
}

.overflow-right {
    margin-right: calc(-50vw + 50%);
}

.overflow-left {
    margin-left: calc(-50vw + 50%);
}

.overflow-auto {
    margin: 0 calc(-50vw + 50%);
}

@media (min-width: 1440px) {
    .overflow-right {
        margin-right: calc((-1 * (var(--section-max-width) / 2)) + 50%);
    }

    .overflow-left {
        margin-left: calc((-1 * (var(--section-max-width) / 2)) + 50%);
    }

    .overflow-auto {
        margin: 0 calc((-1 * (var(--section-max-width) / 2)) + 50%);
    }
}

@media (max-width: 768px) {
    .overflow-right {
        margin-right: 0;
    }

    .overflow-left {
        margin-left: 0;
    }

    .overflow-auto {
        margin-right: 0;
        margin-left: 0;
    }
}

.even-columns {
    display: grid;
    gap: var(--default-gap);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.even-columns-reverse div:nth-of-type(1) {
    order: 2;
    justify-self: end;
}

.even-columns-reverse div:nth-of-type(2) {
    order: 1;
    justify-self: start;
}

@media (max-width: 768px) {
    .even-columns {
        grid-auto-flow: row;
    }
}

.txt-center {
    text-align: center;
}

.gap-top {
    margin-top: var(--mb-secondary-heading);
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;

    box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -webkit-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
}

.sticky+.main {
    padding-top: var(--primary-header-height);
}

.button {
    display: inline-flex;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    border-radius: 100vmax;
    padding: 1.2rem 2rem;
    font-family: var(--secondary-font);
    font-weight: normal;
    font-size: var(--fs-button);
    line-height: 1;
    color: var(--accent-color);
    background-color: transparent;
    border: 1px solid var(--accent-color);
    text-transform: lowercase;
}

.button:hover,
.button:focus {
    text-decoration: none;
    background-color: var(--accent-color);
    color: var(--neutral-color);
}

.button-download::after {
    content: '';
    background-image: url('./assets/images/picto-download.svg');
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0 1rem;
}

.button-download:hover::after,
.button-download:focus::after {
    background-image: url('./assets/images/picto-download-white.svg');
}

.accent-paragraph p {
    display: inline-block;
    margin-left: calc(var(--default-gap) + var(--separator-width));
}

.accent-paragraph p::before {
    width: 0;
}

.accent-paragraph p:first-of-type {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--default-gap);
    margin-left: 0;
}

.accent-paragraph p:first-of-type::before {
    content: '';
    width: var(--separator-width);
    height: 1px;
    background-color: var(--accent-color);
    margin-top: calc(var(--fs-body) + 2px);
}

@media (max-width: 768px) {

    .accent-paragraph p {
        margin-left: 0;
    }

    .accent-paragraph p:not(.temoignages-descr):first-of-type {
        grid-template-columns: auto;
    }

    .accent-paragraph p:not(.temoignages-descr):first-of-type::before {
        margin-top: 0;
    }

    .map-text.accent-paragraph p:not(.temoignages-descr):first-of-type::before {
        margin-top: 1rem;
    }
}

.clamp_lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp_3_lines {
    -webkit-line-clamp: 3;
}

.clamp_4_lines {
    -webkit-line-clamp: 4;
}

.hidden-overflow {
    overflow: hidden;
}

.highlight p {
    color: var(--neutral-color);
}

/* section header */

.primary-header {
    background-color: var(--neutral-color);
}

@media (max-width: 768px) {
    .primary-header .site-logo img {
        max-width: 47px;
        height: 34px;
        object-position: top left;
    }
}

/* main nav */

.primary-navigation {
    margin-left: auto;
}

@media (max-width: 1024px) {
    .primary-navigation {
        display: none;
    }
}

.nav-wrapper {
    height: var(--primary-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--default-gap);
}

.nav-list {
    display: flex;
    gap: var(--default-gap);
}

.nav-list>li {
    position: relative;
}

.nav-list>li:hover ul {
    display: block;
}

.nav-list>li>ul {
    display: none;
    position: absolute;
    background-color: var(--neutral-color);
    width: max-content;
    padding: 1rem 2rem;
    left: -2rem;
    z-index: 10;

    box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -webkit-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 1.4rem;
    font-weight: normal;
    text-transform: uppercase;
    display: block;
    padding: 1rem 0;
}

.nav-list a:hover,
.nav-list a:focus,
.current-menu-parent>a,
.current-menu-item>a {
    color: var(--accent-color);
}

.nav-list ul li a {
    font-size: 1.2rem;
}

/* box .nav-icons */

.nav-icons {
    display: flex;
    gap: var(--default-gap);
}

.nav-icons li a {
    display: block;
    width: 30px;
    height: var(--primary-header-height);
    background-repeat: no-repeat;
    background-position: center;
}

.nav-icons li a.notification {
    background-image: url('./assets/images/picto-notification-off.svg');
    position: relative;
}

.nav-icons li a.notification.off {
    background-image: url('./assets/images/picto-notification-on.svg');
}

.nav-icons li a.notification::after {
    content: '';
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--secondary-bg-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.nav-icons li a.notification.active::after {
    display: block;
}

.nav-icons li a.reservation {
    background-image: url('./assets/images/restauration.svg');
}
.nav-icons li a.search {
    background-image: url('./assets/images/picto-search.svg');
}

.nav-icons li a.user-link {
    background-image: url('./assets/images/user.svg');
}

.nav-icons li a.burger {
    background-image: url('./assets/images/picto-burger.svg');
}

.nav-icons li:last-child {
    display: none;
}

@media (max-width: 1024px) {
    .nav-icons li:last-child {
        display: inline;
    }
}

/* nav .mobile-navigation */

.mobile-navigation {
    background-color: var(--neutral-color);
    display: none;
    position: absolute;
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh - var(--primary-header-height));
    z-index: 9;
}

.mobile-navigation nav>ul>li>ul {
    display: none;
}

.mobile-navigation nav>ul>li {
    display: block;
    padding-bottom: 1rem;
    border-top: 1px solid var(--separator-color);
}

.mobile-navigation nav>ul>li>a {
    display: block;
    padding: 2rem 0 2rem;
    background: url('./assets/images/arrow-down.svg') no-repeat right 2rem;
    text-decoration: none;
}

.mobile-navigation nav>ul>li>a.handled {
    background-image: url('./assets/images/arrow-up.svg');
}

.mobile-navigation nav ul>li a {
    font-family: var(--secondary-font);
    font-weight: normal;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 1.4rem;
    text-decoration: none;
}

.mobile-navigation nav ul>li>ul>li>a {
    font-size: 1.2rem;
    color: #585858;
}

.mobile-navigation nav ul>li>ul>li>a:hover,
.mobile-navigation .current-menu-parent>a,
.mobile-navigation .current-menu-item>a {
    color: var(--accent-color);
}

.mobile-navigation nav>ul>li>ul>li {
    padding: 0 0 2rem 2rem;
}

/* box .news-header */

.news-header {
    background-color: var(--secondary-bg-color);
    padding: 4rem 0;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 9;
}

.news-header li {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.news-header li>* {
    flex: 1;
}

.news-header img {
    width: 170px;
    height: 120px;
}

.news-header .news-date {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-secondary-heading);
    color: var(--accent-color);
    line-height: 1.2;
    font-weight: normal;
}

.news-header a.news-title {
    font-size: 1.5rem;
    font-family: var(--secondary-font);
    color: var(--neutral-color);
    font-weight: normal;
    line-height: 1.2;
    text-decoration: none;
    margin-top: 0.5rem;
}

.news-header a.news-title:hover {
    text-decoration: underline;
}

.news-header .gap-top {
    margin-top: 4rem;
}

@media (max-width: 768px) {

    .news-header {
        height: 100vh;
        padding-top: 4rem;
    }

    .news-header img {
        width: 100px;
        height: 90px;
    }

    .news-header .even-columns {
        gap: 2rem;
    }

    .news-header .news-date {
        font-family: var(--secondary-font);
        font-size: 1.2rem;
    }

    .news-header li {
        border-bottom: 1px solid var(--accent-color);
        padding-bottom: 2rem;
    }

    .news-header li:last-child {
        border: none;
        padding-bottom: 0;
    }

    .news-header li>* {
        flex: 0 0 auto;
    }

    .news-header li>article {
        width: 70%;
    }
}

/* box .search-header */

.search-header {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 9;

}

.search-header {
    text-align: end;
}

.search-header form {
    display: inline-flex;
    justify-items: end;
    padding: 0 var(--default-gap) var(--default-gap);
    background-color: var(--neutral-color);
    margin-right: calc(-1*var(--default-gap));


    box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -webkit-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 1px 17px 20px -20px rgba(0, 0, 0, 0.30);
}

.search-header input {
    --max-s-input: 430px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    -webkit-border-top-left-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-topleft: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    color: var(--dark-color);
    height: 50px;
    width: var(--max-s-input);
    padding-left: 30px;
    display: inline-block;
}

.search-header button {
    background: url('./assets/images/picto-search-w.svg') no-repeat center center;
    background-color: var(--accent-color);
    border-radius: 100vmax;
    border: none;
    cursor: pointer;
    margin-left: -25px;
    width: 50px;
    height: 50px;
}

.search-header input:focus {
    border-color: var(--accent-color);
}

@media (max-width: 768px) {

    .search-header .container {
        padding: 0;
    }

    .search-header form {
        width: 100%;
        margin: 0;
        padding-right: 0;
    }

    .search-header input {
        --max-s-input: max(100% - 50px);
    }
}

/* main */

/* section banner */

.banner {
    background-color: var(--accent-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.banner-page {
    height: 345px;
    margin-bottom: 3rem;
}

.banner-home {
    height: calc(100vh - var(--primary-header-height));
    max-height: 576px;
    margin-bottom: 6rem;
}

.home-heading .home-heading-title {
    font-family: var(--secondary-font);
    font-size: 4.5rem;
    font-weight: 200;
    margin-bottom: var(--default-gap);
    line-height: 3.8rem;
}

@media (max-width: 768px) {

    .home-heading .home-heading-title {
        font-size: 3.2rem;
    }

    .banner-home {
        height: 320px;
        margin-bottom: 2rem;
    }

    .banner-page {
        height: 200px;
        margin-bottom: 2rem;
    }
}

/* section .page-short-descr */


@media (min-width: 1200px) {
    .page-short-descr-home::after {
        content: '';
        display: block;
        width: 656px;
        height: 482px;
        background: url('./assets/images/bg-hero.svg') no-repeat left center;
        position: absolute;
        left: 0;
        top: 0;
    }

    .page-short-descr-home {
        position: relative;
    }
}

.page-short-descr-wrapper {
    max-width: 80rem;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.page-short-descr-home .page-short-descr-wrapper {
    max-width: 60rem;
}

/* section .compteur */

.compteur-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: 4rem;
    margin-inline: auto;
}

.compteur-wrapper>li {
    flex: 1 1 0;
}

@media (max-width: 768px) {
    .compteur-wrapper {
        flex-direction: column;
        row-gap: var(--default-gap);
    }
}

.compteur-wrapper span {
    display: block;
    text-align: center;
    line-height: 1;
}

.compteur-wrapper span:nth-child(1) {
    font-family: var(--secondary-font-script);
    color: var(--accent-color);
    font-size: 9rem;
}

.compteur-wrapper span:nth-child(2) {
    font-family: var(--secondary-font);
    font-size: 3rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    .compteur-wrapper span:nth-child(1) {
        font-size: 8rem;
    }

    .compteur-wrapper span:nth-child(2) {
        font-size: 2.8rem;
    }
}

/* section .temoignages */

.temoignages {
    background-color: var(--secondary-bg-color);
}

.temoignages .temoignages-descr {
    font-family: var(--testimonial-font);
    font-size: var(--fs-testimonial);
    color: var(--neutral-color);
    font-style: italic;
    padding-bottom: 2rem;
}

.temoignages .temoignages-temoin {
    display: inline-block;
    margin-left: calc(var(--default-gap) + var(--separator-width));
}

.temoignages .temoignages-lastname {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-primary-heading);
    color: var(--accent-color);
    line-height: 1.2;
    margin-right: 1.5rem;
    display: inline-block;
}

.temoignages .temoignages-age {
    color: var(--neutral-color);
    display: inline-block;
}

@media (max-width: 768px) {

    .temoignages .accent-paragraph p.temoignages-descr::before {
        --separator-width: 4.6rem;
        width: var(--separator-width);
    }

    .temoignages .temoignages-temoin {
        --separator-width: 4.6rem;
    }
}

/* carrousel theme */

.carousel-theme .swiper-wrapper-navigation {
    margin-top: 8rem;
    position: relative;
}

@media (min-width: 1200px) {
    .onglets .default-gallery .swiper-wrapper-navigation {
        width: calc(100% - 10rem);
    }
}

@media (max-width: 768px) {
    .carousel-theme .swiper-wrapper-navigation {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.carousel-theme .swiper-pagination {
    gap: 15px;
    justify-content: center;
    display: none;
}

@media (max-width: 768px) {
    .carousel-theme .swiper-pagination {
        display: flex;
    }
}

.carousel-theme .swiper-pagination .swiper-pagination-bullet {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: var(--secondary-color);
    opacity: 1;
    margin: unset;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    align-items: center;
    bottom: 0;
    left: unset;
    height: 50px;
}

.carousel-theme .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.carousel-theme .swiper-button-prev {
    border: 1px solid var(--accent-color);
    border-right-width: 0;
    width: 50px;
    height: 50px;
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
    background: url('./assets/images/arrow-left.svg') no-repeat center center transparent;
    cursor: pointer;
    position: absolute;
    right: 50px;
    bottom: 0;
    left: unset;
    top: unset;
    margin: unset;
}

.carousel-theme .swiper-button-next {
    border: 1px solid var(--accent-color);
    border-left-width: 0;
    width: 50px;
    height: 50px;
    border-top-right-radius: 100%;
    border-bottom-right-radius: 100%;
    background: url('./assets/images/arrow-right.svg') no-repeat center center transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0;
    top: unset;
    margin: unset;
}

.carousel-theme .swiper-button-prev:hover,
.carousel-theme .swiper-button-next:hover,
.carousel-theme .swiper-button-prev:focus,
.carousel-theme .swiper-button-next:focus {
    text-decoration: none;
    background-color: var(--accent-color);
}

.carousel-theme .swiper-button-prev:hover,
.carousel-theme .swiper-button-prev:focus {
    background-image: url('./assets/images/arrow-left-white.svg');
}

.carousel-theme .swiper-button-next:hover,
.carousel-theme .swiper-button-next:focus {
    background-image: url('./assets/images/arrow-right-white.svg');
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: none;
}

@media (max-width: 768px) {

    .carousel-theme .swiper-button-prev,
    .carousel-theme .swiper-button-next {

        border-right-width: thin;
        border-left-width: thin;
        border-radius: 100%;
    }

    .carousel-theme .swiper-button-prev {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .carousel-transform-scale .swiper-slide {
        transition: transform 0.75s ease-out;
        transform: scale(.8);
        transform-origin: top right;
    }

    .carousel-transform-scale .swiper-slide-active,
    .carousel-transform-scale .swiper-slide-next,
    .carousel-transform-scale .swiper-slide-prev {
        transform: none;
        transition: none;
    }

    .carousel-transform-scale .swiper-slide-next {
        transition: transform 0.75s ease-out;
    }

    .carousel-transform-scale .swiper-slide-prev {
        transition: transform 0.75s ease-out;
    }

    .carousel-transform-scale .swiper-slide-next+.swiper-slide {
        transform-origin: top left;
    }

    .default-gallery.carousel-transform-scale .swiper-slide-next {
        transform-origin: top left;
        transform: scale(.8);
    }

    .default-gallery.carousel-transform-scale .swiper-slide-prev {
        transform-origin: top right;
        transform: scale(.8);
    }

    .default-gallery.carousel-transform-scale .swiper-slide-next+.swiper-slide {
        transform-origin: unset;
    }

    .default-gallery.carousel-transform-scale .swiper-wrapper-navigation {
        margin-top: 0
    }
}

/*section .gallery */

.default-gallery .swiper-slide img {
    width: 100%;
    height: 370px;
}

@media (min-width: 980px) {
    .default-gallery .swiper-slide img {
        height: 460px;
    }
}

@media (min-width: 1200px) {
    .default-gallery .swiper-slide img {
        height: 560px;
    }
}

/* section .carrousel */

.default-swiper .swiper-slide h3 {
    margin-top: 2rem;
}

.default-swiper .swiper-slide img {
    width: 100%;
    height: 350px;
}

@media (min-width: 980px) {
    .default-swiper .swiper-slide img {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .default-swiper .swiper-slide img {
        height: 430px;
    }
}

.default-swiper .swiper-slide p {
    font-size: var(--fs-footer);
}


/* section text-only */

.text-highlight {
    background-color: var(--secondary-color);
}

.text-highlight-wrapper {
    max-width: var(--max-width-article);
    margin-inline: auto;
    padding: var(--mb-secondary-heading) 0;
}

.text-highlight-wrapper p {
    color: var(--neutral-color);
}

.text-highlight-wrapper .buttons {
    margin-top: var(--mb-secondary-heading);
}

/* section .text-n-quote */

.text-n-quote-wrapper h2 {
    width: 50%;
}

.text-n-quote .text-n-quote-quote {
    justify-self: end;
    max-width: var(--max-width-text);
    width: 100%;
}

.text-n-quote .text-n-quote-quote>p {
    font-family: var(--secondary-font);
    font-size: var(--fs-secondary-heading);
    color: var(--secondary-color);
    font-weight: normal;
    font-style: italic;
    line-height: 4.5rem;
}

.text-n-quote .text-n-quote-text {
    max-width: var(--max-width-article);
    width: 100%;
}

.text-n-quote .text-n-quote-text .buttons {
    display: flex;
    gap: 2rem;
    padding-top: 4rem;
    margin-left: calc(var(--default-gap) + var(--separator-width));
}

@media (max-width: 768px) {

    .text-n-quote-wrapper h2 {
        width: 100%;
    }

    .text-n-quote .text-n-quote-text .buttons {
        flex-direction: column;
        margin-left: 0;
    }
}

/* section .text-n-image */

.text-n-image .text-only {
    width: 100%;
}

.text-n-image .text-only .text-only-text {
    max-width: var(--max-width-article);
}

.text-n-image .text-n-image-text {
    align-self: center;
    justify-self: end;
    max-width: var(--max-width-article);
    padding-top: var(--container-padding);
    padding-bottom: var(--container-padding);
}

.text-n-image .text-n-image-text-full {
    justify-self: start;
}

.text-n-image .text-n-image-image {
    max-width: var(--max-width-img);
    align-self: center;
}

.text-n-image ul.buttons {
    display: flex;
    gap: 2rem;
    padding-top: 4rem;
    margin-left: calc(var(--default-gap) + var(--separator-width));
}

@media (max-width: 768px) {

    .text-n-image .even-columns {
        gap: 0
    }

    .text-n-image .even-columns-reverse div:nth-of-type(1) {
        order: 1;
    }

    .text-n-image .even-columns-reverse div:nth-of-type(2) {
        order: 2;
    }

    .text-n-image .container {
        padding-left: 0;
        padding-right: 0;
    }

    .onglets .text-n-image .container {
        width: var(--container-width);
    }

    .text-n-image .text-n-image-text {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .even-columns-reverse .text-n-image-text {
        padding-bottom: var(--container-padding);
    }

    .tabs-content .text-n-image .text-n-image-text {
        padding-left: 0;
        padding-right: 0;
    }

    .tabs-content .even-columns-reverse .text-n-image .text-n-image-text {
        padding-bottom: 0;
    }

    .text-n-image ul.buttons {
        flex-direction: column;
        margin-left: 0;
    }

    .featured-news .text-n-image-image {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
}

/* section .text-n-text */

.text-n-text h2 {
    width: 50%;
}

.text-n-text .text-n-text-text2 {
    justify-self: end;
    max-width: calc(var(--default-gap) + var(--max-width-text));
    width: 100%;
}

@media (max-width: 768px) {
    .text-n-text h2 {
        width: 100%;
    }
}

/* section .labels */

.labels-list ul {
    display: grid;
    gap: var(--default-gap);
    grid-auto-flow: column;
    grid-template-columns: repeat(3, minmax(90px, 130px));
    margin-left: calc(var(--default-gap) + var(--separator-width));
    align-items: center;
}

@media (max-width: 768px) {
    .labels-list ul {
        grid-auto-flow: row;
        margin-left: 0;
    }
}

/* section .histoire */

.histoire .histoire-swiper {
    padding-bottom: 12rem;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
}

@media (max-width: 768px) {}

.histoire .swiper-wrapper {
    margin-inline: auto;
    position: relative;
}

.histoire-wrapper>h2 {
    margin-bottom: 0;
}

.histoire-item {
    width: 100%;
    margin-inline: auto;

    text-align: center;
    position: relative;
    padding-top: var(--section-gap);
}

.histoire-item>* {
    max-width: var(--max-width-article);
    width: 100%;
    margin-inline: auto;
}

.histoire-date {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-full);
    color: var(--accent-color);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.histoire-image {
    padding-top: 2rem;
}

.histoire-image img {
    width: 100%;
    height: 390px;
}

@media (max-width: 768px) {
    .histoire-image img {
        height: 316px;
    }
}

.histoire-titre {
    color: var(--accent-color);
    text-align: left;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    bottom: 15px;
}

.histoire .histoire-swiper .swiper-pagination-bullet {
    opacity: 1;
    background: none;
    font-family: var(--secondary-font);
    font-size: var(--fs-tertiary-heading);
    color: var(--primary-color);
    font-weight: normal;
    background: none;
    border: none;
    cursor: pointer;
    height: 50px;
    width: 120px;
}

.histoire .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next,
.histoire .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    transform: scale(0);
    opacity: 0;
}

@media (max-width: 768px) {
    .histoire .histoire-swiper .swiper-pagination-bullet {
        transform: unset;
        width: 60px;
    }
    .histoire .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next, .histoire .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
        transform: scale(1);
        opacity: 1;
    }
}

.histoire .histoire-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: var(--accent-color);
}

.histoire .histoire-swiper .swiper-button-prev {
    border: 1px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: url('./assets/images/arrow-left.svg') no-repeat center center transparent;
    cursor: pointer;
    position: absolute;
    top: unset;
    left: 0;
    bottom: 30px;
}

.histoire .histoire-swiper .swiper-button-next {
    border: 1px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: url('./assets/images/arrow-right.svg') no-repeat center center transparent;
    cursor: pointer;
    position: absolute;
    top: unset;
    right: 0;
    bottom: 30px;
}

.histoire .histoire-swiper .swiper-button-prev:hover,
.histoire .histoire-swiper .swiper-button-next:hover,
.histoire .histoire-swiper .swiper-button-prev:focus,
.histoire .histoire-swiper .swiper-button-next:focus {
    text-decoration: none;
    background-color: var(--accent-color);
}

.histoire .histoire-swiper .swiper-button-prev:hover,
.histoire .histoire-swiper .swiper-button-prev:focus {
    background-image: url('./assets/images/arrow-left-white.svg');
}

.histoire .histoire-swiper .swiper-button-next:hover,
.histoire .histoire-swiper .swiper-button-next:focus {
    background-image: url('./assets/images/arrow-right-white.svg');
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    height: 3px;
    width: 100%;
    left: 0;
}

.swiper-scrollbar {
    background-color: var(--primary-color);
}

.swiper-scrollbar-drag {
    background-color: var(--accent-color);
}

@media (max-width: 768px) {

    .histoire .histoire-swiper .swiper-button-prev,
    .histoire .histoire-swiper .swiper-button-next {
        display: none;
    }
}

/* section .equipement */

.equipement .equipement-text {
    margin-top: calc(-1*var(--default-gap));
}

@media (max-width: 768px) {

    .equipement .equipement-text {
        margin-top: 1rem;
    }
}

.equipement-icons-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 4rem;
    width: 100%;
}

.equipement-icons-list li {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(4.5rem, auto) 1fr;
    gap: 1rem;
    align-items: end;
}

.equipement-icons-list li img {
    width: auto;
}

@media (min-width: 768px) {
    .equipement-icons-list {
        flex-direction: row;
    }

    .equipement-icons-list li {
        width: 50%;
    }
}

/* section .documents */

.documents-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--default-gap);
    margin: 0 calc(var(--default-gap) + var(--separator-width));
    padding: 4rem 0;
}

.documents-links a {
    border: 1px solid var(--accent-color);
    padding: var(--default-gap);
    border-radius: 6px;
    font-size: var(--fs-footer);
    color: var(--primary-color);
    line-height: 2.6rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.documents-links a:hover,
.documents-links a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.documents-links a::before {
    content: '';
    background: url('./assets/images/picto-pdf.svg') no-repeat left center;
    width: 75px;
    height: 45px;
}

.documents-links a::after {
    content: '';
    background: url('./assets/images/picto-download.svg') no-repeat center center;
    border: 1px solid var(--accent-color);
    border-radius: 100%;
    width: 48px;
    height: 48px;
}

.documents-links a:hover::after,
.documents-links a:focus::after {
    background-image: url('./assets/images/picto-download-white.svg');
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .documents-links {
        margin: 0;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .documents-links a::before {
        width: 50px;
    }
}

/* section .onglets */

.onglets-wrapper h3 {
    margin-bottom: var(--mb-secondary-heading);
    color: var(--accent-color);
}

.onglets-wrapper .container {
    margin-inline: 0;
}

.onglets-wrapper .tabs-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--default-gap);
    margin-bottom: var(--mb-secondary-heading);
}

.onglets-wrapper .tabs-links a {
    font-family: var(--secondary-font);
    font-size: var(--fs-tertiary-heading);
    color: var(--primary-color);
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    border-bottom: 2px solid var(--neutral-color);
}

.onglets-wrapper .tabs-links a:hover,
.onglets-wrapper .tabs-links .active a {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.onglets-wrapper>div {
    display: none;
}

.onglets-wrapper>div:first-of-type {
    display: block;
}

@media (max-width: 768px) {

    .onglets-wrapper .container {
        padding-left: 0;
        padding-right: 0;
    }

    .onglets-wrapper .tabs-links {
        flex-direction: column;
    }

    .onglets-wrapper .tabs-links a {
        background: url('./assets/images/picto-inactive-tab.svg') no-repeat left center;
        padding-left: 28px;
        border-bottom: none;
    }

    .onglets-wrapper .tabs-links a:hover,
    .onglets-wrapper .tabs-links .active a {
        color: var(--primary-color);
        border-bottom: none;
        background: url('./assets/images/picto-active-tab.svg') no-repeat left center;
    }
}

/* section .faq */

.faq .faq-list {
    margin: 0 calc(var(--default-gap) + var(--separator-width));
}

.faq .faq-list>li {
    border-bottom: 1px solid var(--accent-color);
}

.faq .faq-list>li:first-child {
    border-top: 1px solid var(--accent-color);
}

.faq .faq-list>li>a {
    font-family: var(--secondary-font);
    font-size: var(--fs-button);
    font-weight: normal;
    color: var(--primary-color);
    padding: 2.3rem;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    line-height: var(--default-gap);
    text-decoration: none;
}

.faq .faq-list>li>a span {
    color: var(--accent-color);
    font-size: var(--default-gap);
}

.faq .faq-list>li>div {
    display: none;
    margin: 0 calc(var(--default-gap) + var(--separator-width));
    padding-bottom: var(--default-gap);
}

@media (max-width: 768px) {

    .faq .faq-list,
    .faq .faq-list>li>div {
        margin: 0;
    }
}

/* section .featured-news */

.featured-news img {
    max-width: var(--max-width-article);
    width: 100%;
}

.featured-news article {
    display: flex;
    flex-wrap: wrap;
    justify-self: center;
    align-self: center;
    max-width: var(--max-width-text);
}

.featured-news article>span {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-primary-heading);
    color: var(--accent-color);
    line-height: 1.2;
    text-transform: lowercase;
    display: block;
    width: 100%;
}

.featured-news article>p {
    margin: var(--default-gap) 0;
}

.featured-news .gap-top {
    margin-top: 6rem;
}

@media (max-width: 768px) {

    .featured-news article>p {
        margin: 1rem 0;
    }

    .featured-news article>p {
        -webkit-line-clamp: 2;
    }
}

/* section .news */

.news .swiper-slide img {
    width: 100%;
    height: 270px;
}

@media (min-width: 1200px) {
    .news .swiper-slide img {
        height: 320px;
    }
}

.news-wrapper h3 {
    color: var(--accent-color);
    margin-bottom: var(--default-gap);
}

.news-wrapper article {
    margin-top: 2rem;
}

.news-wrapper article>span {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-primary-heading);
    color: var(--accent-color);
    line-height: 1.2;
    text-transform: lowercase;
}

.news-wrapper article>p {
    margin: 2rem 0;
}

@media (max-width: 768px) {

    .news-wrapper article>p {
        margin: 1rem 0;
    }
}

/* section .footer-quotes */

.footer-quotes-wrapper p {
    font-family: var(--secondary-font-script);
    font-size: var(--fs-primary-heading);
    color: var(--accent-color);
    line-height: 1.2;
}

.footer-quotes-wrapper p:nth-child(2) {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-quotes-wrapper p {
        text-align: center;
    }

    .footer-quotes-wrapper p:nth-child(2) {
        margin-top: 2rem;
        text-align: center;
    }
}

/* section .horaires */

.horaires-items {
    display: flex;
    margin: 0 calc(var(--default-gap) + var(--separator-width));
    gap: var(--default-gap);
}

.horaires-items>div {
    flex: 1 1 0;
}

.horaires-items>div:nth-of-type(2) {
    padding-left: var(--default-gap);
    padding-right: var(--default-gap);
    position: relative;
}

.horaires-items>div:nth-of-type(2)::before,
.horaires-items>div:nth-of-type(2)::after {
    content: '';
    width: 1px;
    min-height: 200px;
    max-height: 90%;
    background-color: var(--accent-color);
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.horaires-items>div:nth-of-type(2)::before {
    left: 0;
}

.horaires-items>div:nth-of-type(2)::after {
    right: 0;
}

.horaires-items h3 {
    color: var(--accent-color);
    margin-bottom: var(--default-gap);
}

@media (max-width: 768px) {

    .horaires-wrapper h2::after {
        content: '';
        width: var(--separator-width);
        height: 1px;
        background-color: var(--accent-color);
        display: block;
        margin: var(--default-gap) 0;
    }

    .horaires-items {
        flex-direction: column;
        margin: 0;
        gap: 0;
    }

    .horaires-items>div:nth-of-type(2) {
        border-top: 1px solid var(--separator-color);
        border-bottom: 1px solid var(--separator-color);
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .horaires-items>div:nth-of-type(2)::before,
    .horaires-items>div:nth-of-type(2)::after {
        display: none;
    }
}

/* section .map */
.map-wrapper .even-columns {
    grid-auto-columns: 2fr 1fr;
}

.map .map-map iframe {
    width: 100%;
}

.map .map-text {
    align-self: center;
    justify-self: end;
}

.map .map-text ul {
    margin-left: calc(var(--default-gap) + var(--separator-width));
    margin-top: 2rem;
}

.map .map-text li {
    display: inline-block;
    vertical-align: middle;
    padding-right: 2rem;
}

.map .map-text li a {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 0;
    font-size: 0;
    color: transparent;
}

.map .map-text li.linkedin a {
    background-image: url('./assets/images/picto-linkedin-red.svg');
}

.map .map-text li.instagram a {
    background-image: url('./assets/images/picto-instagram-red.svg');
}

@media (max-width: 768px) {
    .map-wrapper {
        margin-inline: auto;
    }

    .map .map-text {
        justify-self: start;
    }

    .map .map-text ul {
        margin-left: 0;
    }
}

/* section .videos */

.videos-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--default-gap);
}

.videos-list li>a {
    position: relative;
    display: block;
}

.videos-list li>a>img {
    width: 100%;
}

.videos-list a::after {
    content: '';
    background: url('./assets/images/picto-play.svg') no-repeat center center;
    width: 37px;
    height: 37px;
    position: absolute;
    left: 30px;
    bottom: 30px;
}

.videos-list h3 {
    color: var(--accent-color);
    line-height: 3rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.videos-list p {
    font-size: var(--fs-footer);
}

.videos-list .video-descr,
.videos-list .video-embeded {
    display: none;
}

@media (max-width: 768px) {

    .videos-list {
        grid-template-columns: 1fr;
    }
}

/* popup video */

.popup {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.popup-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);

    width: 80%;
    max-width: var(--section-max-width);
    height: min(600px, 90vh);

    padding: 6rem;
    box-shadow: -1px 3px 15px 7px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: -1px 3px 15px 7px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -1px 3px 15px 7px rgba(0, 0, 0, 0.2);
    background-color: var(--neutral-color);
}

.popup-content {
    display: flex;
    gap: 3rem;
    height: 100%;
}

.popup-video {
    flex: 2;
}

.popup-video iframe {
    width: 100%;
    height: 100%;
}

.popup-text {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2rem;
}

.popup-text h2 {
    margin-bottom: 0;
}

.popup-text-content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 1rem;
}

.popup-text-content::-webkit-scrollbar {
    width: 3px;
}

.popup-text-content::-webkit-scrollbar-track {
    background: var(--secondary-color-light);
}

.popup-text-content::-webkit-scrollbar-thumb {
    background: var(--accent-color)
}

.popup-text-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color)
}

.popup-close {
    margin: -15px;
    margin-bottom: auto;
    text-align: end;
}

.popup-close a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('./assets/images/picto-close-popup.svg') no-repeat center center;
}

@media (max-width: 768px) {
    .popup-wrapper {
        padding: 0;
        width: 100%;
        height: 100%;
    }

    .popup-content {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .popup-text {
        padding: 3rem;
        gap: 1rem;
    }

    .popup-close {
        margin: unset;
        order: 3;
    }

}

/* footer */

/* section .footer */

.primary-footer {
    padding: 6rem 0;
    background-color: var(--accent-color);
}

.primary-footer * {
    color: var(--neutral-color);
}

.primary-footer a {
    text-decoration: none;
}

.primary-footer a:hover {
    text-decoration: underline;
}

:is(footer) .current-menu-item>a {
    opacity: 0.8;
    color: inherit;
}

.primary-footer-wrapper {
    display: grid;
    row-gap: 6rem;
    grid-auto-columns: 1fr;
    grid-template-areas: "logo menu event-link job-link"
        "copyright copyright menu-policy menu-policy";
}

.primary-footer-wrapper>div:not(:first-child) {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .primary-footer-wrapper {
        grid-template-areas:
            "logo"
            "job-link"
            "event-link"
            "menu"
            "copyright"
            "menu-policy";
        row-gap: var(--default-gap);
    }
}

.primary-footer-wrapper p:not(:first-child) {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .primary-footer-wrapper p:not(:first-child) {
        margin-top: var(--default-gap);
    }
}

.footer-menu-policy>ul {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .footer-menu-policy>ul {
        flex-direction: column;
        row-gap: 0;
    }
}

.footer-logo {
    grid-area: logo;
}

.footer-logo ul {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.4rem;
}

.footer-logo ul li a {
    line-height: 0;
    font-size: 0;
    color: transparent;
    width: 20px;
    height: 20px;
    display: block;
}

.footer-logo ul li.linkedin a {
    background: url('./assets/images/picto-linkedin.svg') no-repeat left center;
}

.footer-logo ul li.instagram a {
    background: url('./assets/images/picto-instagram.svg') no-repeat left center;
}

.footer-menu {
    grid-area: menu;
}

.footer-menu li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-menu li {
        line-height: unset;
    }
}

.footer-menu a {
    font-family: var(--secondary-font);
    font-weight: normal;
    font-size: var(--fs-footer);
}

.footer-event-link {
    grid-area: event-link;
}

.footer-event-link p {
    line-height: 1.8;
    font-size: var(--fs-footer);
}

.footer-event-link p span {
    font-family: var(--secondary-font);
    font-weight: normal;
}

.footer-event-link p a {
    font-size: var(--fs-footer);
}

.footer-job-link p {
    line-height: 1.8;
    font-size: var(--fs-footer);
}

.footer-job-link {
    grid-area: job-link;
    justify-self: flex-end;
}

@media (max-width: 768px) {
    .footer-job-link {
        justify-self: auto;
    }
}

.footer-job-link p span {
    font-family: var(--secondary-font);
    font-weight: normal;
}

.footer-job-link p a {
    font-size: var(--fs-footer);
}

.footer-copyright {
    grid-area: copyright;
}

.footer-copyright p {
    font-size: var(--fs-footer);
    line-height: 1.4;
}

.footer-menu-policy {
    grid-area: menu-policy;
}

.footer-menu-policy li {
    margin-bottom: 1rem;
}

.footer-menu-policy a {
    font-family: var(--secondary-font);
    font-weight: normal;
    font-size: 1.4rem;
}
.featured-news article span, .news article span, .featured-news article h3, .news article h4, .featured-news article p, .news article p {
    display:block;
    width:100%;
}

/* WP Amelia override style customer panel */

.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header, .amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-menu {
    background: linear-gradient(135deg, #CB333D, #A52930) !important;
}

/* Hide employee name in "Congratulation" Step */
.amelia-v2-booking #amelia-container .am-fs__congrats-info-customer>div:nth-child(4) {
    display:none !important;
}

.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-content .am-cabinet-list .am-cabinet .am-assigned {
    display:none !important;
}

.amelia-app-booking .am-cabinet-collapsed-content .am-has-divider .am-hide-less-than-desktop {
	display:none !important;
}

.am-cabinet-dashboard-appointments .am-cabinet-list-head {
    display:none !important;
}

/* JOURNAL DES FAMILLES */
.listing-journal-famille {
    width:100%;
    margin: 0 auto;
}

.listing-journal-famille .item-journal-famille {
    background-color:#CB333B;
    padding:30px;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    margin-bottom:15px;
    margin-top:15px;
}

.listing-journal-famille .new-item-journal-famille:hover {
    color:white;
}

.listing-journal-famille .info-journal-famille {
    width:80%;
}

.listing-journal-famille .item-journal-famille.publish{
    background-color:#ececec;
    border-bottom:1px solid #ececec;
}

.listing-journal-famille .item-journal-famille.draft {
    background-color:rgba(255, 207, 129, 0.5);
    border-bottom:1px solid rgb(255, 207, 129);
}

.listing-journal-famille .item-journal-famille.pending {
    background-color:rgba(217, 237, 191, 0.5);
    border-bottom:1px solid rgb(217, 237, 191);
}

.listing-journal-famille .btn-item-journal-famille ul {
    display: flex;
    gap: var(--default-gap);
    /*width:20%;*/
}
.listing-journal-famille .btn-item-journal-famille ul li {
    list-style-type:none;
    padding:0;
    display:inline;
}

.listing-journal-famille .btn-item-journal-famille ul li a::after  {
    content: '';
    background-repeat: no-repeat;
    background-position: right center;
    /*padding: 0 1rem;*/
    padding: 2rem 2rem;
    background-size: contain;
}

.btn-view-journal::after {
    background-image: url('./assets/images/view.svg');
}

.btn-edit-journal::after {
    background-image: url('./assets/images/edit.svg');
}

.btn-print-journal::after {
    background-image: url('./assets/images/print.svg');
}

.updated {
    background: lightgreen;
    border-color: darkgreen;
    position: relative;
    display: block;
    color: #fff;
    margin: 5px 0 15px;
    padding: 3px 12px;
    color:darkgreen;
}

.updated p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0.5em 0;
    text-shadow: none;
    color: inherit;
}

.single-journal li {
    padding-top:10px;
    padding-bottom:10px;

}

section .acf-form-submit{
  float:right;
    padding-left:15px;
}

.hidden {
    display: none;
}


.ur-form-grid fieldset {
    border:0;
}
.ur-form-grid fieldset input,
.ur-frontend-form .ur-form-row .ur-form-grid input,
.acf-form input[type=text],
.acf-form textarea,
.acf-form select {
    /*border-color: var(--accent-color);*/
    border-radius: 20px !important;
}
.ur-frontend-form button, .ur-frontend-form button[type=submit]{
    border: 1px solid var(--accent-color);
}

.acf-form .acf-repeater .acf-actions .acf-button {
    float:left;
}
/***/
/*---- Hide Fields for role famille  -----*/
.role-famille .media-modal .media-frame-router .acf-expand-details{
    display: none;
}
.role-famille .media-modal .media-frame-content .media-toolbar{
    display: none;
}
.role-famille .media-modal .media-sidebar .details  .edit-attachment{
    display: none;
}
.role-famille .media-modal .media-sidebar .setting  {
    display: none;
}
.role-famille .media-modal .media-sidebar .description {
    display: none;
}

