:root {
  --pix-color-primary: var(--primary);
  --pix-color-accent: var(--accent);
  --pix-color-background: var(--base);

  --pix-heading-font: 'Boizenburg', sans-serif;
  --pix-body-font: 'Bitter', serif;

  --pix-base-font-size: 20px;
}


html {
    font-size: 100%;
}

body {
    /* font-size: 20px; */
    /* font-weight: 400;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    line-height: 1.6;
    overflow-x: hidden;
 */
    /* font-family: var(--pix-body-font); */
    /* color: var(--pix-color-primary); */
    /* font-size: var(--pix-base-font-size); */

    /* background-color: var(--pix-color-background); */

}

/* @media (max-width: 600px) {
    body {
        font-size: 17px;
    }
} */

::selection {}

html { 
    overflow-y: scroll !important;
    /* scroll-behavior: smooth; */
}


.wrapper-pix-site {
    overflow: hidden;
    position: relative;
    z-index: 200;
}


.pix-wrapper-contenu {
    position: relative;
}

.pix-wrapper-contenu::before, .pix-wrapper-contenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(70px, 20vw, 200px);
    height: 100%;
    background: url('i/pattern-papier-peint-fond-clair.svg') repeat top left;
    background-size: 120px auto;
    pointer-events: none;
    z-index: -2;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
}
.pix-wrapper-contenu::after {
    left: auto;
    right: 0;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}


/* div.pix-wrapper-contenu {
    padding-top: 30px;
}

@media (max-width: 500px) {
    div.pix-wrapper-contenu {
        padding-top: 15px;
    }
}
 */

body.pix-bandeau-fullwidth-loaded div.pix-wrapper-contenu {
    padding-top: 0px;
}

/* .page-content a {
    text-decoration: none;
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {}

h1.elementor-heading-title,
h1.wp-block-heading,
h1.pix-title,
.pix-title-h1 :is(h1, h2, h3, h4, h5, h6).elementor-heading-title,
h2.pix-title-h1 {
    font-family: "Boizenburg", sans-serif!important;
    text-transform: none;
    color: #392E2C!important;
    font-weight: 400!important;
    font-size: clamp(28px, 5vw, 60px); 
    line-height: 0.9;
    margin-bottom: 0.3em;
} */

/* h2.entry-title,
h2.wp-block-heading, 
h2.elementor-heading-title,
h2.pix-title,
body.blog .elementor-post__text h2.elementor-post__title {
    font-family: "Boizenburg", sans-serif!important;
    font-size: calc(clamp(28px, 5vw, 60px) *40/60); 
    text-transform: none;
    font-weight: 400!important;
    color: #392E2C!important;
    line-height: 0.9;
}


h3.elementor-heading-title {
    font-family: "Boizenburg", sans-serif!important;
    color: #392E2C!important;
    font-weight: 400;
    font-size: calc(clamp(28px, 4vw, 52px) * 28/52);
    color: currentColor;
    text-transform: none;
}

h3 {
    margin-top: 20px;
    margin-bottom: 5px;
} */


/* 
.pix-titre-news h1 {
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.1;
} */




/* .elementor a {
    font-weight: 700;
}

.elementor-widget-text-editor {
    color: #231831;
}


h1 span.dl,
h2 span.dl {
    font-family: "Bitter", serif;
    display: block;
    color: currentColor;
    font-weight: 400;
    font-size: max(18px, 0.7em);
    text-transform: none;
    color: currentColor;
    margin-top: 0.4em;
    text-align: inherit;
} */
/* 
body:not(home) span.dl,
body:not(home) h2 span.dl{text-align: left;} */

a.pix-backtotop {
    display: none;
    width: 48px;
    height: 48px;
    text-indent: -9999px;
    position: fixed;
    z-index: 9999;
    right: 50%;
    bottom: 10px;
    transform: translateX(50%);
    background: var(--pix-color-primary) url("i/arrow-up.svg") no-repeat center center;
    background-size: 22px 22px;
    border-radius: 99px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.27);
    transition: background 0.2s ease 0s;
}

a.pix-backtotop:hover {
    background: var(--pix-color-primary) url("i/arrow-up.svg") no-repeat center center;
    background-size: 26px 26px;
}


.site-branding {
    max-width: initial;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.pix-site-header {
    position: relative;
    z-index: 998;
}

.pix-bouton {
    font-family: "Bitter", serif;
    font-style: normal;
    text-shadow: none;
    display: inline-block;
    padding: 0.4em 1em;
    color: var(--text-light);
    border: none;
    text-align: center;
    font-size: 1em;
    font-weight:500;
    text-decoration: none ;
    text-transform: none;
    transition: all 0.2s ease 0s;
    border-radius: 0;
    background: var(--pix-color-primary);
    position: relative;
}


.pix-bouton-clair {
    background: var(--pix-color-background);
    color: var(--pix-color-primary);
}

.pix-bouton:hover {
    background: var(--pix-color-accent);
}



form.elementor-form button[type=submit] span {
    font-weight: inherit!important;
}


.pix-search .e-search-submit {
    margin-top: 0;
}


@media (max-width: 767px) {
    a.pix-bouton,
    .elementor-button,
    form.elementor-form button[type=submit]{
        padding: 7px 15px 7px 15px;
        font-size: 16px;
        
    }
}






div.elementor-message-success {
    font-size: 16px;
    font-weight: bold;
    color: #39b54a;
}



.pswp {
    z-index: 150000;
}



#map iframe {
    vertical-align: top;
}



.grecaptcha-badge {
    visibility: hidden;
}

.elementor-widget-image img,
.elementor-widget-gallery div div a {

}

.no-shadow img {
    box-shadow: none;
}

.pix-image-border {
    outline: 4px solid var(--pix-color-background);
    outline-offset: -12px;
}




.pix-wrapper-contenu ul.puce {
    margin: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 14px;
}

.pix-wrapper-contenu ul.puce>li {
    list-style-type: none;
    background-image: url(i/puce.svg);
    background-repeat: no-repeat;
    padding-left: 18px;
    padding-right: 2px;
    background-position: 0px 6px;
    background-size: 12px;
    margin: 0px 0px 7px 0px;
    overflow: hidden;
}



.list-3-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.list-2-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}



@media (max-width:800px) {
    .list-3-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width:490px) {

    .list-3-columns,
    .list-2-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}



ul.list-3-columns li,
ul.list-2-columns li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}




.pix-right-responsive, .pix-xl-right-responsive {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
    margin:0;float:right; margin-left:16px;max-width:100%;
}
.pix-left-responsive, .pix-xl-left-responsive {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
    margin:0;float:left; margin-right:16px;max-width:100%;
}


@media (max-width:1200px) {
    .pix-xl-right-responsive, .pix-xl-left-responsive {
        margin:0;float:none;width:auto;padding:0;text-align: center;
        display: block;
        margin: auto;margin-bottom:20px;
    }
}





@media (max-width:560px) {
    .pix-right-responsive, .pix-left-responsive {
        margin:0;float:none;width:auto;padding:0;text-align: center;
        display: block;
        margin: auto;margin-bottom:20px;
    }
}




.pix-vertical-separator {
    position: relative;
    width: 100%;
    height: 100%;
}
.pix-vertical-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('i/spirale-verticale.svg') no-repeat center top;
    background-size: 100% auto;
}
.pix-vertical-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('i/spirale-verticale.svg') no-repeat center top;
    background-size: 100% auto;
    transform: scaleY(-1);
}

.pix-wrapper-reseaux {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}
.pix-wrapper-reseaux__link {
    display: inline-block;
}
.pix-wrapper-reseaux__link:hover .pix-wrapper-reseaux__link-image {
    filter: brightness(0) saturate(100%) invert(86%) sepia(35%) saturate(646%) hue-rotate(162deg) brightness(98%) contrast(79%);
}



.pix-polaroid {
    position: relative;
    padding: 15px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    transform: rotate(6deg);
    overflow: visible;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--pix-color-primary) 20%, transparent);
    transition: transform 0.2s ease;
}

.pix-polaroid figcaption {
    position: static;
    background: none;
    color: var(--pix-color-primary);
    margin-top: 15px;
}

.pix-polaroid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: rotate(-3deg);
    z-index: -1;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--pix-color-primary) 20%, transparent);

    transition: transform 0.2s ease;
}

.pix-polaroid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: -1;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--pix-color-primary) 20%, transparent);
}

.pix-polaroid:hover {
    transform: rotate(3deg);
}
.pix-polaroid:hover::before  {
    transform: rotate(-2deg);
}



.pix-wrapper-partenaire {
    box-shadow: 4px 4px 20px color-mix(in srgb, var(--pix-color-primary) 20%, transparent);
    background: #ffffff;
    border-radius: 10px;
    padding:20px;
}






/* Scrollbar personnalisée */
.custom-scrollbar {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #392E2C #94D0E0;
}

/* Chrome, Edge, Safari (WebKit) */
.pix-custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.pix-custom-scrollbar::-webkit-scrollbar-track {
    background: #392E2C;
    border-radius: 10px;
}

.pix-custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #94D0E0;
    border-radius: 10px;
    border: 2px solid #392E2C;
}

.pix-custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #392E2C;
}




.pix-farine {
    position: relative;
}
.pix-farine::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(200px, 40vw, 510px);
    aspect-ratio: 510/310;
    background: url('i/farine.webp') left center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(40%);
}

@media 
(-webkit-min-device-pixel-ratio: 1.5), 
(min-resolution: 144dpi) {
    .pix-farine::after {
        background-image: url('i/farine-2x.webp');
    }
}


/* FIX ACSS COOKIES */
#s-cnt .b-bn .b-tl {
    text-align: left;
    line-height: 1em;
}
.cc_div .c-bn {
    line-height: 1em!important;
}