/*   
Theme Name: Flore En Soi
Description: Thème WordPress pour Flore En Soi
Author: Sinabe Sàrl
Version: 1.2.6
*/

/*
----------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Reset style
# Load fonts
# Gutenberg colum block
# Generic classes
    ## Headings
# Elements
    ## Lists
    ## Tables
# Forms
# Menu

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

ul {
    list-style: none
}

button,
input,
select,
textarea {
    margin: 0
}

html {
    box-sizing: border-box
}

*,
*::before,
*::after {
    box-sizing: inherit
}

img,
video {
    height: auto;
    max-width: 100%
}

iframe {
    border: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

td:not([align]),
th:not([align]) {
    text-align: left
}

/**** Load fonts files ****/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/**** WordPress support of Gutenberg blok column ****/
.entry-content {
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
}

.wp-block-group__inner-container {
    max-width: 1320px !important;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 800px) {
    #footer-socials-mobile {
        justify-content: start !important;
    }

    .entry-content {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
}

.alignwide {
    margin-left: -50px;
    margin-right: -50px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-image {
    margin: 0px;
}

.wp-block-group__inner-container {
    padding-right: clamp(16px, calc(10.182px + 1.818vw), 32px);
    padding-left: clamp(16px, calc(10.182px + 1.818vw), 32px);
}

@media screen and (max-width: 800px) {
    .entry-content {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
}

/**** Generic classes ****/

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family: Roboto, sans-serif;
    font-size: 143%;
    line-height: 1.4em;
    color: #426b54;
    background-color: #EDEDE3;
    z-index: 1;
}

/* Header style */
h1 {
    font-size: clamp(2.25em, calc(1.795em + 2.273vw), 3.5em);
    line-height: 1em;
    color: #e39e7a;
}

h1 em {
    font-family: "Spectral", serif;
    font-style: italic;
}

h2 {
    font-size: clamp(2em, calc(1.636em + 1.818vw), 3em);
}

h1 em,
h2 em {
    font-family: "Spectral", serif;
    font-style: italic;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: clamp(1.5em, calc(1.318em + 0.909vw), 2em);
}

h5 {
    font-size: 1.8em;
}

h6 {
    font-size: 1.3em;
}

h1,
h2 {
    font-family: "Spectral", serif;
    font-weight: 900;
}

h3 {
    font-family: "Spectral", serif;
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: left;
    margin: 20px 0 10px 0;
    line-height: 1.2em;
}

.heading-spacing {
    margin-top: clamp(50px, calc(31.818px + 5.682vw), 100px);
    margin-bottom: clamp(20px, calc(9.091px + 3.409vw), 50px);
}

/* Content style */
p,
dl,
multicol {
    display: block;
    margin: 1em 0;
}

strong {
    font-family: "Spectral", serif;
    font-weight: 900;
    font-size: 1em;
}

em {
    font-family: "Spectral", serif;
    font-style: italic;
}

ol li {
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
}

ol li::marker {
    color: #95C11F;
}

ul li {
    list-style-position: inside;
    padding-left: 1em;
    text-indent: -1em;
}

ul li::before {
    content: "\25CB ";
    color: rgba(149, 193, 31, 1);
    margin-right: 0.4em;
    font-weight: bold;
}

/* Link style */
a {
    text-decoration: none;
    font-family: Roboto, sans-serif;
    color: #e39e7a;
}

a:hover {
    color: #426b54;
}

/* Vertical padding style */
.padding-xl {
    padding-top: clamp(75px, calc(47.727px + 8.523vw), 150px);
    padding-bottom: clamp(75px, calc(47.727px + 8.523vw), 150px);
}

.padding-l {
    padding-top: 20px;
    padding-bottom: 20px;
}

.padding-m {
    padding-top: 15px;
    padding-bottom: 15px;
}

.padding-s {
    padding-top: 10px;
    padding-bottom: 10px;
}

.padding-top-xl {
    padding-top: clamp(75px, calc(47.727px + 8.523vw), 150px);
}

.padding-top-l {
    padding-top: clamp(25px, calc(15.909px + 2.841vw), 50px);
}

.padding-bottom-xl {
    padding-bottom: clamp(75px, calc(47.727px + 8.523vw), 150px);
}

.padding-bottom-l {
    padding-bottom: clamp(25px, calc(15.909px + 2.841vw), 50px);
}

.margin-xl {
    margin-top: clamp(50px, calc(31.818px + 5.682vw), 100px);
    margin-bottom: clamp(50px, calc(31.818px + 5.682vw), 100px);
}

.no-mrgin-top {
    margin-top: 0px;
}

/* Align style */
.center {
    width: 100%;
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.align-bottom {
    align-self: flex-end;
}

/* Mobile style*/
@media screen and (max-width: 800px) {
    .mobi-center {
        text-align: center;
    }

    .mobi-left {
        text-align: left;
    }
}

/* Form style */

#formDiv {
    margin-right: 45px;
}

input,
textarea {
    font-size: 0.9em;
    color: #a8b280;
    margin-top: 20px;
}

input,
textarea {
    padding: 10px;
    background-color: #edede3;
    border-style: none;
    width: 100%;
}

textarea {
    font-family: Roboto, sans-serif;
    margin-top: 20px;
}

input::placeholder,
textarea::placeholder {
    font-family: Roboto, sans-serif;
    opacity: 1;
}

/* Button */

.fes-btn a,
button {
    width: fit-content;
    font-family: "Spectral", serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    color: #426b54;
    text-transform: uppercase;

    font-size: 1em;
    border-bottom: solid 2px;
    background-color: transparent;
}

.fes-btn a::after {
    content: " →";
}

.fes-btn a {
    letter-spacing: 2px;
    color: #426b54;
}

.fes-btn:hover,
.fes-btn a:hover {
    color: #e39e7a;
}

/* Boutton vert*/
.fes-btn-vertfonce a {
    color: #426b54;
}

.fes-btn-vertfonce:hover a {
    color: #e39e7a;
}

/* Boutton blanc*/
.fes-btn-blanc,
.fes-btn-blanc a {
    color: #edede3;
}

.fes-btn-blanc:hover,
.fes-btn-blanc:hover a,
.fes-btn-blanc a:hover {
    color: #426b54;
}

/* Boutton rose*/
.fes-btn-rose,
.fes-btn-rose a {
    color: #e39e7a;
}

.fes-btn-rose:hover,
.fes-btn-rose:hover a,
.fes-btn-rose a:hover {
    color: #426b54;
}

.fes-btn-right {
    float: right;
}

.fes-btn-center {
    margin-right: auto;
    margin-left: auto;
}

/* Header full screen height with thumbnail */
/* In use for onepage-thumb */
.siHeaderImg {
    flex-basis: 100%;
    height: 30vh;
    /**height:calc(100vh - 1px);**/
    background-position: center bottom;
    background-size: cover;
}

/* One page section size*/

.siOneSection::after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.first-section {
    background-color: #F2EBDC;
    color: #ffffff;
}

.first-section,
.last-section {
    /**min-height: calc(100vh - 60px);**/
    height: 30vh;
}

.si-header-img {
    flex-basis: 100%;
    /**height:calc(100vh - 10px);**/
    height: 30vh;
    background-position: right bottom;
    background-size: cover;
}

/* Flore En Soi specific style and color*/

/* Color */

.fes-rose {
    color: #e39e7a;
}

.fes-blanc {
    color: #edede3;
}

.fes-bgVertClaire {
    background-color: #d6d9ba;
}

.fes-bgVertFonce {
    background-color: #a8b280;
}

.fes-box-padding {
    padding-right: 130px;
    padding-left: 130px;
}

.fes-a-blanc {
    color: #edede3;
}

.fes-h150 {
    height: 150px;
}

.light-green-section,
#apercu-de-mes-prestations {
    background-color: #d6d9ba;
    width: 100%;
    max-width: 100%;
    margin: clamp(50px, calc(31.818px + 5.682vw), 100px) 0px;
    padding: 50px 0px;
}

.fes-box-vertclaire {
    background-color: #d6d9ba;
    min-height: 500px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 60px;
}

.fes-box-vertfonce {
    background-color: #a8b280;
    color: #edede3;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    border-right-color: #EDEDE3;
    border-right-style: solid;
    border-right-width: 60px;

    border-left-color: #EDEDE3;
    border-left-style: solid;
    border-left-width: 60px;
}

.fes-box-vertfonce h2,
.fes-box-vertfonce h3,
.fes-box-vertfonce p,
.fes-box-vertfonce a,
.fes-box-vertfonce {
    color: #edede3;
}

.fes-citation {
    font-family: "Spectral", serif;
    font-style: italic;
    font-size: 1.8em;
    text-align: left;
    line-height: 1.4em;
    color: #e39e7a;
}

#fes-header-os {
    float: right;
    padding-top: 30px;
}

#fes-header-os a {
    color: #426b54;
}

#fes-header-os-mobile {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#footer-socials-mobile {
    display: flex;
    gap: 1em;
    justify-content: end;

    i {
        color: #edede3;
        font-size: 3em;
    }
}

.fes-header-object {
    padding-right: 25px;
}

.fes-header-icon {
    padding-right: 10px;
}

.fes-footer {
    min-height: 400px;
    background-color: #a8b280;
    background-image: url(img/orange.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: bottom;
    color: #edede3;
}

.fes-footer-content {
    padding-top: 110px;
    padding-left: clamp(16px, calc(10.182px + 1.818vw), 32px);
    padding-right: clamp(16px, calc(10.182px + 1.818vw), 32px);
}

.fes-footer-title {
    font-family: "Spectral", serif;
    font-weight: 900;
    font-size: 3.47em;
    line-height: 1em;
    margin: 0px;
}

.fes-footer-title em {
    font-family: "Spectral", serif;
    font-style: italic;
}

.fes-footer-small {
    font-size: 0.8em;
}

.fes-post-thum-small {
    width: 100%;
    height: clamp(300px, calc(227.273px + 22.727vw), 500px);
    object-fit: cover;
}

.fes-post-thum-mini {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.fes-posts-home {
    max-width: 1320px;
    margin: 0 auto 50px auto;
    padding: 0 clamp(16px, calc(10.182px + 1.818vw), 32px);
}

.fes-post-home-item {
    background-color: #d6d9ba;
    margin-right: 25px;
    margin-left: 25px;
}

.fes-post-home-item:first-child {
    margin-left: 0px;
}

.fes-post-home-item:last-child {
    margin-right: 0px;
}

#jessica-delay-2 {
    min-height: 800px;
    max-width: 100%;
    background-image: url(img/citrons.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-color: rgba(237, 237, 227, 0.4);
    background-blend-mode: lighten;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#citation {
    min-height: 800px;
    max-width: 100%;
    background-image: url(img/fruits.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: 80% 80%;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#citation.wp-block-quote {
    max-width: 1320px !important;
    margin-right: auto;
    margin-left: auto;
}

#la-nutritherapie-comme-meilleure-amie .fes-box-vertfonce {
    background-image: url(img/salade.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
}

#jessica-delay {
    max-width: 100%;
    background-image: url(img/grenade.svg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    background-color: rgba(237, 237, 227, 0.4);
    background-blend-mode: lighten;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

}

#me-contacter {
    min-height: 500px;
    max-width: 100%;
    background-image: url(img/choux.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-color: rgba(237, 237, 227, 0.4);
    background-blend-mode: lighten;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#fes-blog {
    max-width: 100%;
    background-image: url(img/groseilles.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-color: rgba(237, 237, 227, 0.4);
    background-blend-mode: lighten;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.fes-radis {
    min-height: 800px;
    max-width: 100%;
    background-image: url(img/radis.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-color: rgba(237, 237, 227, 0.4);
    background-blend-mode: lighten;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.fes-block-columns {
    margin-bottom: 0px;
}

.fes-prices-columns {
    align-items: stretch;
}

.fes-prices-columns .fes-prices-col {
    box-sizing: border-box;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    flex: 1 1 0;

    & h3 {
        flex-shrink: 0;
    }
}

.icon-with-bg>figure {
    background-color: #fff;
    border-radius: 9999px;
    padding: clamp(24px, calc(21.091px + 0.909vw), 32px);

    img {
        height: clamp(70px, calc(59.091px + 3.409vw), 100px);
        width: auto;
    }
}

.single-column-text>.wp-block-group__inner-container {
    padding: 0 !important;
}

@media (min-width: 1025px) {
    .single-column-text {
        max-width: 66%;
    }

    #fes-header-os-mobile {
        display: none;
    }

    #footer-socials-mobile {
        display: none;
    }

    .fes-prices-columns .fes-prices-col {

        & h3,
        & p {
            margin-block: 0;
        }

        & .wp-block-heading {
            margin-block: 0;
        }

        & .wp-block-paragraph {
            margin-block: 0;
        }

        & p:nth-of-type(3) {
            margin-top: auto;
        }

        &>.wp-block-paragraph:last-of-type {
            margin-top: auto;
        }
    }

    @supports (grid-template-rows: subgrid) {
        .fes-prices-columns.wp-block-columns {
            display: grid !important;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(4, auto);
            align-items: start;
        }

        .fes-prices-columns>.wp-block-column.fes-prices-col {
            display: grid !important;
            grid-template-rows: subgrid;
            grid-row: 1 / -1;
            min-height: 0;
            flex: unset;
        }

        .fes-prices-columns .fes-prices-col p:nth-of-type(3) {
            margin-top: 0;
        }

        .fes-prices-columns .fes-prices-col>.wp-block-paragraph:last-of-type {
            margin-top: 0;
        }
    }
}

@media screen and (max-width: 1024px) {

    /* Flore en Soi */

    body {
        font-size: 100%;
    }

    #fes-header-os {
        display: none !important;
    }

    .fes-footer {
        border-left: 10px;
        border-right: 10px;
    }

    .fes-box-padding {
        padding-right: 10px;
        padding-left: 10px;
    }

    .fes-box-vertclaire,
    .fes-box-vertfonce,
    .fes-posts-home,
    .fes-footer {
        border-right-width: 10px;
        border-left-width: 10px;
    }

    .fes-posts-home {
        padding-right: 25px;
        padding-left: 25px;
        gap: 25px;
        margin-bottom: 25px;
    }

    .fes-post-home-item {
        margin-right: 0px;
        margin-left: 0px;
        /* border-top-width: 20px;
        border-top-style: solid;
        border-top-color: #edede3; */
    }

    #la-nutritherapie-comme-meilleure-amie .fes-box-vertfonce {
        background-size: 50%;
    }
}

/* Block quote */

.wp-block-quote {
    /** Add guillemet change font bgcolor**/
    font-family: "Spectral", serif;
    font-style: italic;
    font-size: 1.8em;
    text-align: left;
    line-height: 1.4em;
    color: #e39e7a;

    padding: 0px;
    border-left: none;
    padding-top: 200px;
    padding-bottom: 200px;
}

.wp-block-quote p {
    margin: 0px;
}

.wp-block-quote p::before {
    content: '« ';
}

.wp-block-quote p::after {
    content: ' »';
}

.wp-block-quote cite {
    font-size: 0.5em;
}

.wp-block-image .alignright {
    margin: 0px;
}

.post-date {
    color: #e39e7a;
}

.post-excerpt {
    color: #e39e7a;
}

.post-thumnail {
    height: clamp(350px, calc(240.909px + 34.091vw), 650px);
    width: 100%;
    object-fit: cover;
}

.post-password-form {
    text-align: left;
    padding-bottom: 50px;
}

.post-password-form input {
    background-color: #8268AF;
    opacity: 0.5;
}

.post-password-form input[type=submit] {
    color: #ffffff;
}

.animate__animated {
    --animate-duration: 2s;
}

/**** Navigation menu ****/

nav {
    height: 120px;
    width: 100%;
    max-width: 100vw;
    position: fixed;
    top: 0px;
}

.postnav {
    position: relative;
}

/* Header style on scrolling */
.siHidden {
    display: none;
}

.siShow {
    display: block;
}

.siNavOp {
    z-index: 9999;
}

.siNavOpw {
    height: clamp(96px, calc(87.273px + 2.727vw), 120px);
    background-color: #d6d9ba;
}

.si-menu-icon {
    display: block;
    font-family: "Spectral", serif;
    font-style: italic;
}

.si-menu-icon img {
    height: 60px;
}

.si-menu-navigation-container {
    z-index: 9999;
    position: absolute;
    top: clamp(96px, calc(87.273px + 2.727vw), 120px);
    left: 0px;
    width: 100%;
    padding: 0 20px 20px 20px;
    background-color: #d6d9ba;

    &:has(.siHidden) {
        padding-bottom: 0px;
    }
}

.si-menu-navigation-container ul {
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-top: clamp(25px, calc(15.909px + 2.841vw), 50px);
    padding-bottom: clamp(25px, calc(15.909px + 2.841vw), 50px);
}

.si-menu-navigation-container li {
    line-height: 2.5em;
}


.si-menu-navigation-container li::before {
    content: "";
    margin: 0px;
}

.si-menu-navigation-container a {
    font-family: "Spectral", serif;
    font-weight: 900;
    color: #426b54;
}

.si-menu-navigation-container a:hover {
    font-family: "Spectral", serif;
    font-style: italic;
}

.current-menu-item a,
.current_page_item a {
    font-family: "Spectral", serif !important;
    font-style: italic;
}

.fes-logo {
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    z-index: 9998;
}

.fes-logo img {
    float: right;
    height: clamp(72px, calc(7.273px + 20.227vw), 250px);
}

.fes-header-menu-logo {
    float: right;
}

.fes-header-menu-logo img {
    float: right;
    height: 230px;
    padding: 20px;
}

.fes-header-menu-logo-mobile {
    display: none;
    width: fit-content;
    float: right;

    img {
        height: 64px;
    }
}

@media screen and (max-width: 1024px) {
    .fes-header-menu-logo {
        display: none;
    }

    .fes-header-menu-logo-mobile {
        display: block;
    }

    #si-menu-nav div:first-child {
        width: 100% !important;
    }

    .si-menu-icon {
        display: flex;
        flex-direction: column;

        span {
            display: none;
        }
    }

    .mobi-hidden {
        display: none;
    }

    .fes-logo img {
        padding-right: 10px;
    }

    .fes-header-menu-logo {
        float: right;
        width: 50%;
    }

    .fes-header-menu-logo img {
        height: auto;
    }
}

@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    }

    .fes-footer-content>.wp-block-columns {
        margin-bottom: 0px;
    }
}