/* Theme Name:   Akaleya Light Thème 
Author:       Akaleya, Web & Print
Description:  Ce thème permet de mettre en entête une image pleine page en accueil, superposé d'un titre, texte et bouton CTA administrables. Il dispose aussi d'une foire aux questions et de Font Awesome version Free 5.15.3
Version:     2.1
Text Domain:  akaleya-light-theme
Tags:         website,  eco-conception, wordpress, FAQ, Admin Header and CTA
*/
/* Amélioration du menu burger en cours, scroll smooth, bouton return to top */
/*Meilleure gestion des alignements pour l'utilisation d'alignfull (full width)*/
/*Changement nom couleurs : black->primary, grey->secondary, dark-grey->tertiary, light-grey->muted,extra-light-grey->alternative  */
/* FONT */
@font-face {
    font-family: '"Poppins", Helvetica, Arial, sans-serif';
    src: url('assets/fonts/Poppins-Regular.woff2') format('woff2'),
        url('assets/fonts/Poppins-Bold.woff2') format('woff2');
    font-display: swap;
}
*,
::after,
::before {
    box-sizing: border-box;
}

body,
html {
    scroll-behavior: smooth
}

body {
    font-family: Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.menu-header-container a,
#navigation a {
    font-family: var(--wp--preset--font-family--poppins);
}

.fw-800 {
    font-weight: 800;
}

.fw-600,
form label {
    font-weight: 600;
}

.menu-reseaux-sociaux ul li,
#not-found {
    font-size: 2rem;
}

#navigation a {
    font-size: 1.2rem;
}

h1.h1-blog-info-name {
    font-size: 1.3rem;
}

h2.h2-blog-info-description {
    font-size: 1rem;
}

.fs-7 {
    font-size: .8rem;
}

.menu li,
.menu a,
.white-space-nowraph1.h1-blog-info-name,
h2.h2-blog-info-description {
    white-space: nowrap;
}

a:not(main p a) {
    text-decoration: none !important;
}

/* Colors */
h2,
h4,
h6,
main p a,
main .wp-block-columns a,
main .wp-block-group a,
main li a,
#nav-faq div a {
    color: var(--wp--preset--color--secondary)
}

h1,
h3,
h5,
main p a:hover,
main li a:hover,
main .wp-block-columns a:hover,
main .wp-block-group a:hover,
main .wp-block-heading a:hover,
/* .text-black, */
.akaleya a:hover,
.copyright a:hover,
.nav-footer a,
#nav-faq div a:hover {
    color: var(--wp--preset--color--primary);
}

/* .text-grey-dark, */
main .wp-block-heading a,
main .wp-block-paragraph,
.menu a,
a#bloginfo,
#burger span,
.arrow-menu-down::after,
.arrow-menu-up::after {
    color: var(--wp--preset--color--tertiary);
}

.akaleya a,
.copyright a,
.nav-footer a:hover,
.menu .current-menu-item a,
.menu a:hover,
#navigation a:hover,
footer a.text-black:hover,
.sub-menu .menu-item a:hover,
.sub-menu .current-menu-item a,
.current_page_ancestor a,
.arrow-menu-down:hover::after,
.arrow-menu-up:hover::after {
    color: var(--wp--preset--color--secondary)
}

/* .text-light-grey, */
#navigation a:hover,
#navigation .current-menu-item a,
#navigation .current_page_ancestor a {
    color: var(--wp--preset--color--muted);
}

#navigation a,
main .wp-block-button a,
main .wp-block-button a:hover {
color: var(--wp--preset--color--inverse);
}

/* .bg-black,  */
.bg-primary,
#return-to-top {
    background: var(--wp--preset--color--primary);
}

/* .bg-grey-dark, */
.bg-tertiary,
#return-to-top:hover {
    background: var(--wp--preset--color--tertiary);
}

/* .bg-grey, */
.bg-secondary {
    background: var(--wp--preset--color--secondary);
}

/* .bg-light-grey, */
.bg-muted {
    background: var(--wp--preset--color--muted);
}

/* .bg-extra-light-grey, */
.bg-muted {
    background: var(--wp--preset--color--muted);
}

/* .bg-white, */
.bg-inverse {
    background-color: var(--wp--preset--color--inverse);
}

input:not(input[type='submit']),
textarea {
    border: none;
    border-bottom: 2px solid var(--wp--preset--color--primary);
    margin-bottom: 1rem;
    border-radius: 0px !important;
}

input[type='submit'],
input[type="button"],
input[type="reset"],
input.wpcf7-submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    border-radius: 0;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--inverse);
    font-family: var(--wp--preset--font-family--poppins);
    padding: .5rem 1rem;
}


input[type='submit']:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input.wpcf7-submit:hover {
    background: var(--wp--preset--color--tertiary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="phone"]:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--wp--preset--color--secondary);
    outline-offset: 2px;
}


nav li,
#menu-shop li {
    list-style: none;
}

.text-center {
    text-align: center;
}

.fw-bold {
    font-weight: 700 !important;
}

.zindex-1 {
    z-index: 1;
}

.zindex-2 {
    z-index: 20;
}

.zindex-3 {
    z-index: 30;
}

/* SIZING */
.vh-30 {
    height: 30vh !important;
}

.h-25 {
    height: 25% !important;
}

.h-50 {
    height: 50% !important;
}

.h-75 {
    height: 75% !important;
}

.h-100 {
    height: 100% !important;
}

.mh-25 {
    max-height: 25% !important;
}

.mh-50 {
    max-height: 50% !important;
}

.mh-75 {
    max-height: 75% !important;
}

.mh-100 {
    max-height: 100% !important;
}

.w-25 {
    width: 25% !important;
}

.w-50 {
    width: 50% !important;
}

.w-75 {
    width: 75% !important;
}

.w-100 {
    width: 100% !important;
}

.mw-25 {
    max-width: 25% !important;
}

.mw-50 {
    max-width: 50% !important;
}

.mw-75 {
    max-width: 75% !important;
}

.mw-100 {
    max-width: 100% !important;
}

textarea {
    height: 8rem;
}

form,
input[type='submit'],
input[type='text'],
input[type='email'],
textarea,
form p label {
    width: 100%;

}

form label,
ol,
ul {
    margin-bottom: 1rem;
}

ol,
ul {
    margin-top: 0;
}

.position-fixed {
    position: fixed;
}

.position-relative {
    position: relative;
}

/* DISPLAY */
.display-none,
#logoprint,
.grecaptcha-badge {
    display: none !important;
}

.display-block {
    display: block !important;
}

.display-flex {
    display: flex;
    flex-direction: column;
}

.display-flex2,
#menu-top-md nav>ul,
nav.menu-header-container {
    display: flex;
}

.display-inline-block,
a.custom-logo-link,
.wp-block-button__link,
a.header_button_text {
    display: inline-block !important;
}

.menu-header-container ul {
    align-items: center;
}

/* PaDDING, MARGIN */
.menu-reseaux-sociaux ul li:last-child {
    padding-right: 0;
}

.menu-reseaux-sociaux ul li {
    padding-right: 1rem;
}

.menu li,
.menu-down a {
    padding-right: 1.5rem;
}

#navigation li {
    padding-bottom: 1rem;
}

footer li {
    padding-bottom: .8rem;
}

.col-custom-logo {
    padding: .5rem 0;
}

.menu-header-container ul {
    margin-bottom: 0 !important;
}

/* header */
#navbar {
    top: 0;
}

.width-100,
.row-nav,
.custom-header {
    width: 100%;
}

ul.sub-menu li,
.custom-header {
    position: relative;
}

.overflow-hidden,
#wp-custom-header {
    overflow: hidden;
}

.custom-logo {
    max-width: 100%;
    height: auto;
}

#wp-custom-header {
    max-height: 95vh;
}

.custom-header img,
.custom-header video,
.custom-header iframe {
    position: relative;
    height: auto;
    max-height: 100%;
    width: 100%;
}

.container-text-header {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.container-text-header h1,
.container-text-header p {
    color: var(--wp--preset--color--inverse);
}

.text-shadow-black,
.container-text-header h1,
.container-text-header p {
    text-shadow: 0px 0px 2px #000, 3px 3px 5px #000;
}

.cursor-pointer,
.arrow-menu {
    cursor: pointer;
}

.arrow-menu-down,
.arrow-menu-up {
    border: none;
    background: transparent;
    padding: 0;
}

.arrow-menu-down::after {
    content: "▾";
}

.arrow-menu-up::after {
    content: "▴";
}

.arrow-menu-down::after,
.arrow-menu-up::after {
    font-family: Arial, sans-serif;
    display: inline-block;
    width: 20px;
    margin-left: 2px;
    font-size: 1.5rem;
    vertical-align: middle;
}

/* BURGER */
/* Fondu : sur fond navigation */
.fondu {
    animation: 0.5s fondu linear forwards;
}

@keyframes fondu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#navigation {
    position: fixed;
    z-index: 30;
    width: 100vw;
    height: 110vh;
    left: 0;
    top: 0;
    background: var(--wp--preset--color--primary);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5rem 0 0 0;
}

.burger {
    margin: 0;
    z-index: 40;
    padding-top: .8rem;
    font-size: .8rem;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 35px;
    height: 4px;
    margin-bottom: 6px;
    background-color: var(--wp--preset--color--tertiary);
    transform: rotate(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger span:last-child {
    margin-bottom: 0;
}

.isopen .isopen-burger1 {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--wp--preset--color--inverse) !important;
}

.isopen .isopen-burger2 {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

.isopen .isopen-burger3 {
    transform: translateY(-10px) rotate(-45deg);
    background-color: #fff !important;
    margin-bottom: 0;
}

.isopen {
    color: #fff !important;
}

/* content */
.content-area {
    height: auto;
    min-height: 56vh;
}


.entry-content {
    overflow-x: visible;
    width: 100%;
    position: relative;
}

.entry-content>*:not(.entry-content> ul),
.container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;

}

.entry-content>* {
    max-width: var(--wp--style--global--content-size);
}

.entry-content>.wp-block-group,
.entry-content>.wp-block-columns {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.entry-content>.has-large-width,
.entry-content>.alignwide {
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
}

.woocommerce ul.order_details,
.woocommerce-order p {
    margin: 1rem 0 !important;
}

.item-faq {
    border-bottom: 1px solid #dee2e6;
}

.item-faq:last-child {
    border-bottom: none;
}

li.item-faq {
  list-style: none;

}

/* Footer */
footer #copyrightinfo {
    font-size: .8rem !important;
}

#return-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: auto;
    display: none;
    z-index: 1;
    fill: var(--wp--preset--color--inverse);
}

#return-to-top a {
    padding: 9px 0;
    display: inline-block;
}

/* Grid */
@media (min-width: 576px) {
    .row-nav {
        max-width: 540px;
    }

    #navigation a {
        font-size: 1.5rem;
    }

    .container-text-header .header_button_text {
        font-size: 1rem;
    }

}

@media (min-width: 768px) {
    .row-nav {
        max-width: 720px;
    }

    .nav-footer h3 {
        font-size: 1rem !important;
    }

    .text-md-start {
        text-align: left !important;
    }

    input[type='submit'] {
        width: auto;
        padding: .7rem 1.3rem;
    }
}

@media (min-width: 992px) {
    .row-nav {
        max-width: 960px;
    }

    .entry-content>ul {
        margin-left: auto;
        margin-right: auto;
        padding-left: 3rem;

    }

    ul.sub-menu {
        position: absolute;
        background: var(--wp--preset--color--inverse);
        padding: 2rem 2rem 1rem;
        z-index: 1000;
    }

    ul.sub-menu li {
        border-bottom: solid 1px #ccc;
        padding: .5rem 0;
    }

    ul.sub-menu li:last-child {
        border-bottom: none;
        padding: .5rem 0 0 0;
    }

    .container-text-header h1 {
        font-size: calc(1.375rem + 1.5vw);
    }

    .container-text-header p {
        font-size: 1.3rem;
    }

    .container-text-header .header_button_text {
        margin-top: 2rem;
        font-size: 1.3rem;
    }
}

@media (min-width: 1200px) {
    .row-nav {
        max-width: 1140px;
    }

    .entry-content .alignfull {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .entry-content .alignwide {
        max-width: var(--wp--style--global--wide-size);
        ;
    }

}

@media (min-width: 1400px) {
    .row-nav {
        max-width: 1320px;
    }
}