/*
Theme Name:   Divi Child Theme
Theme URI:    http://yourwebsite.com
Description:  Child theme, based on Divi
Author:       Pierre-Yves Castaing
Author URI:   http://thisauthor.com // Your web address
Template:     Divi
*/

.et_header_style_split #main-header .container,
.et_header_style_split #main-header .logo_container {
    background-color: white !important;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

/* Menu CSS */

body {
    background-color: #ECF0F5;
}

h1 {
    font-size: 40px;
    line-height: 60px;
    color: #333333;
    font-weight: 300;
}

h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 300;
}

#et_search_icon:hover,
.mobile_menu_bar:before,
.mobile_menu_bar:after,
.et-social-icon a:hover,
.comment-reply-link,
.form-submit .et_pb_button,
.entry-summary p.price ins,
.woocommerce div.product span.price,
.woocommerce-page div.product span.price,
.woocommerce #content div.product span.price,
.woocommerce-page #content div.product span.price,
.woocommerce div.product p.price,
.woocommerce-page div.product p.price,
.woocommerce #content div.product p.price,
.woocommerce-page #content div.product p.price,
.woocommerce .star-rating span:before,
.woocommerce-page .star-rating span:before,
.woocommerce a.button.alt,
.woocommerce-page a.button.alt,
.woocommerce button.button.alt,
.woocommerce-page button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page #respond input#submit.alt,
.woocommerce #content input.button.alt,
.woocommerce-page #content input.button.alt,
.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce button.button,
.woocommerce-page button.button,
.woocommerce input.button,
.woocommerce-page input.button,
.woocommerce #respond input#submit,
.woocommerce-page #respond input#submit,
.woocommerce #content input.button,
.woocommerce-page #content input.button,
.woocommerce a.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce #content input.button.alt:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce-page a.button:hover,
.woocommerce button.button,
.woocommerce-page button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce #content input.button:hover,
.wp-pagenavi span.current,
.wp-pagenavi a:hover,
.et_password_protected_form .et_submit_button,
.nav-single a,
.posted_in a,
#top-menu li.current-menu-ancestor>a,
#top-menu li.current-menu-item>a,
.bottom-nav li.current-menu-item>a,
.footer-widget h4 {
    color: #cee709;
}

a.postLink {
    background: #C12E24;
    font-size: 16px;
    color: white;
    padding: 6px 15px;
    border-radius: 0px;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 5px auto;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

a.postLink:hover {
    background-color: transparent;
    border: 1px solid #C12E24;
    color: black;
    transition: 1s;
}

.mainButton {
    background: #C12E24;
    border: 1px solid #C12E24;
    font-size: 17px;
    color: white;
    padding: 6px 15px;
    border-radius: 2px;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 5px auto;
    display: inline-block;
    text-decoration: none;
}

a.mainButton:hover {
    background-color: transparent;
    border: 1px solid #C12E24;
    color: black;
    transition: 1s;
}

.mainButton--center {
    text-align: center;
    display: block;
    margin: 15px auto;
    width: 170px;
}

a.noHoverLink {
    background: #C12E24;
    font-size: 16px;
    color: white;
    padding: 6px 15px;
    border-radius: 0px;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 5px auto;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

@media only screen and (max-width: 980px) {
    #logo {
        min-height: 100px;
        min-width: 100px;
    }
}

@media only screen and (min-width: 981px) {
    #logo {
        min-height: 120px;
        min-width: 120px;
    }
}

.et_header_style_split #main-header .centered-inline-logo-wrap {
    margin: -33px 95px -33px 50px;
}

.site-footer {
    background-color: #222;
    color: white;
    text-align: center;
    border-top: 2px solid red;
}

body.custom-background {
    background-color: #ffffff !important;
}

/* CTA Formulaire : Styling */

/* keep it mobile friendly by only applying these styles for larger viewports */

@media only screen and (min-width: 641px) {
        body #gform_wrapper_1 {
            max-width: 50%;
            margin: 0 auto;
        }

        body #gform_wrapper_1 ul li.gfield .ginput_container,
        body #gform_wrapper_1 ul li.gfield .gfield_description,
        body #gform_wrapper_1 div.ginput_complex label,
        body #gform_wrapper_1 input:not([type='radio']):not([type='checkbox']):not([type='submit']),
        body #gform_wrapper_1 select,
        body #gform_wrapper_1 textarea {
            text-align: center;
        }

        body #gform_wrapper_1 ul.top_label li.gfield label.gfield_label {
            text-align: center;
            display: block;
        }

        body #gform_wrapper_1 .gform_footer,
        body #gform_wrapper_1 .gform_page_footer {
            text-align: center;
        }
    }

/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/

.gform_wrapper .top_label .gfield_label,
    .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
        display: none;
    }

/*** FIELD STYLING ***/

input[type=text],
    textarea {
        background: white;
        border: 1px solid #88776f;
        border-radius: 0;
        color: #999 !important;
        padding: 15px !important;
    }

/*** BUTTON STYLING ***/

.gform_wrapper .gform_footer input.button {
        background: transparent;
        border: 2px solid #cee709;
        font-size: 30px;
        color: #cee709;
        padding: 12px 23px;
        letter-spacing: 2px;
        cursor: pointer;
        margin-bottom: 10px;
        width: 100%;
        font-size: 1.3em !important;
    }

@media only screen and (min-width: 641px) {

        .gform_wrapper .gform_footer input.button,
        .gform_wrapper .gform_footer input[type=submit],
        .gform_wrapper .gform_page_footer input.button,
        .gform_wrapper .gform_page_footer input[type=submit] {
            font-size: 1.3em !important;
            width: 100% !important;
            margin: 0 16px 0 0;
        }
    }

/*** BUTTON HOVER STYLING ***/

.gform_wrapper .gform_footer input.button:hover {
        background: #cee709;
        border: 2px solid #cee709;
        color: white;
    }

@media only screen and (min-width: 641px) {

        .gform_wrapper .gform_footer input.button,
        .gform_wrapper .gform_footer input[type=submit],
        .gform_wrapper .gform_page_footer input.button,
        .gform_wrapper .gform_page_footer input[type=submit] {
            font-size: 1.3em !important;
            width: 100% !important;
            margin: 0 16px 0 0;
        }
    }

/* Delete nombre de caractère max rule */

.gform_wrapper div.charleft {
        display: none;
    }

/* SUBMIT BUTTON EQUAL WIDTH WITH FORM */

.gform_button {
        width: 100% !important;
        margin: 0 !important;
    }

.gform_fields .gfield {
        padding: 0 !important;
    }

#top input[type="text"] {
        width: 100% !important;
    }

/*Test change font size button gravity form */

@media only screen and (min-width: 641px) {
        body .gform_wrapper .gform_body input {
            font-size: 18px;
        }
    }

/* Aligner les Fields labels à gauche */

@media only screen and (min-width: 641px) {

        body #gform_wrapper_1 ul li.gfield .ginput_container,
        body #gform_wrapper_1 ul li.gfield .gfield_description,
        body #gform_wrapper_1 div.ginput_complex label,
        body #gform_wrapper_1 input:not([type='radio']):not([type='checkbox']):not([type='submit']),
        body #gform_wrapper_1 select,
        body #gform_wrapper_1 textarea {
            text-align: left;
        }
    }

body #gform_wrapper_1 ul.top_label li.gfield label.gfield_label {
        display: none !important;
    }

body #gform_wrapper_1 {
        max-width: 80%;
    }

input[type=text],
    textarea {
        padding: 10px !important;
    }

@media only screen and (min-width: 641px) {
        .gform_wrapper textarea.large {
            height: 200px !important;
        }
    }

.gform_wrapper .gform_footer {
        padding: 5px 0 10px !important;
        margin: 5px 0 0 !important;
        clear: both;
        width: 100%;
    }

/* EN DEV */

div.wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 20px 40px;
}

h1.products {
    text-align: center;
}

div.grid__section {
    display: grid;
    margin: auto;
    padding: 20px 15px;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: minmax(150px, auto);
}

div.grid__unit {
    background-color: #CEE709;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

div.grid__textArea {
    padding: 10px 5px 20px;
    background-color: white;
}

h3.grid__title {
    text-align: center;
    margin-bottom: 10px;
}

a.grid__link {}

a.bouton {
    background: #CEE709;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 1px;
    color: black;
    text-align: center;
    display: block;
    margin: auto;
    max-width: 100px;
    padding: 7px 0px;

}

a.bouton:hover {
    background-color: #acbd23;
}

/* SINGLE PRODUCT PAGE */

div.productBox {
    max-width: 900px;
    margin: auto;
    background-color: white;
    padding: 10px 30px 30px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

h1.single-product {
    text-align: center;
    margin: 10px 0px 25px;
}

@media (min-width: 900px) {
    div.productTop {
        display: flex;
    }
    }

h2.productDescription {
    font-size: 20px;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #CEE709;
}

h2.productRecommandations {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #CEE709;
}

img.product-image-archive {
    border: 1px solid #CEE709;
}