/*
Theme Name: Les Foins
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
Text Domain: lesfoins
*/

@import url("../Divi/style.css");
@font-face {
    font-family: 'MetaPro_Normal';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/FF Meta Pro - Normal.eot');
    src: local('☺'), url('fonts/FF Meta Pro - Normal.woff') format('woff'), url('fonts/FF Meta Pro - Normal.ttf') format('truetype'), url('fonts/FF Meta Pro - Normal.svg') format('svg');
}

@font-face {
    font-family: 'MetaSerif_Book';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/MetaSerifPro-Book.eot');
    src: local('☺'), url('fonts/MetaSerifPro-Book.woff') format('woff'), url('fonts/MetaSerifPro-Book.ttf') format('truetype'), url('fonts/MetaSerifPro-Book.svg') format('svg');
}

img {
    visibility: hidden;
}
img[alt] {
    visibility: visible;
}

:not(.et_pb_fullwidth_section) .et_pb_section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.et_pb_row {
    padding-top: 30px !important;
}

/* HEADER */

#main-header {
    -webkit-box-shadow: inherit;
            box-shadow: inherit;
}

.et_pb_svg_logo.et_header_style_centered #logo,
#logo {
    height: inherit !important;
    max-height: inherit;
    max-width: 165px;
}

.et_header_style_left .logo_container {
    position: inherit;
    margin: 0 auto;
}

.et_header_style_centered #main-header .logo_container {
    height: inherit;
}



/* MAIN */
    
    .et_pb_row {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0 !important;
        max-width: 800px;
    }

.et_pb_text header h2 {
    margin: 50px 0 40px;
    padding: 0;
    text-transform: uppercase;
    font-family: 'MetaPro_Normal';
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 6px;
}

.et_pb_text p {
    font-family: 'MetaSerif_Book';
    font-size: 10px;
    font-weight: 400;
    line-height: 2.4em;
    letter-spacing: .05em;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module,
.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module {
    margin-bottom: 5.75% !important;
}
#et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et-social-icon a:hover, .comment-reply-link, .form-submit input, .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: #333
}
/* FOOTER */

#main-footer,
#footer-bottom {
    background: inherit;
}

.bottom-nav {
    text-align: center;
    text-transform: uppercase;
    font-family: 'MetaPro_Normal';
}

.bottom-nav li {
    font-size: 12px;
    font-weight: 400;
}

.bottom-nav a {
    color: #333;
}

#lang-selector {
    padding: 20px;
    text-transform: uppercase;
    font-family: 'MetaPro_Normal';
    font-size: 12px;
}
#lang-selector li {
    display: inline-block;
}
#lang-selector li:first-child:after {
    content: ' - '
}
#lang-selector li a {
    color: #666
}


.et_pb_contact .contact-form label {
    display: none;
}

.et_pb_contact div input, .et_pb_contact div textarea {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 0;
    color: #999;
    background-color: #eee;
    font-size: 14px;
}

.contact-form input[type=email], .contact-form input[type=text], .contact-form textarea {
    width: 100% !important;
    max-width: inherit !important;
    margin: 0 0 20px !important;
}

.contact-form input[type=submit]{
    position: relative;
    padding: 0.3em 1em;
    border: 2px solid;
    border-radius: 3px;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em !important;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}
.contact-form input[type=submit]:hover {
    background: rgba(0, 0, 0, 0.05);
}
 
.contact-form input[type=submit]:hover {
    border: 2px solid transparent;
}
.contact-submit {
    float: right;
    overflow: hidden;
    margin-top: -1.5%;
    text-align: right;
}

#pub_overlay { 
    position:fixed;
    z-index:999999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(102,102,102,0.1);
}

#pub_container { 
    position:fixed;
    z-index:999999;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    -webkit-transform:translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    width:auto;
    height:auto;
    padding:60px;
}

#pub_container img {
    width:100%; 
    height:auto; 
    visibility:visible;
}

#pub_fermer {
    position: absolute;
    right: 25px;
    top: 55px;
    color: #666;
    font-size: 30px;
    cursor: pointer;
}

/* Extra Small Devices, .visible-xs-* */

@media(max-width:767px) {
    #pub_container {
        padding: 0;
        width: 380px;
    }
    #pub_fermer {
        display: none;
    }
    br {
        display: inline-block;
        content: '&nbsp;';
        margin: 0 0 0 3px;
    }
    #main-header {
        margin: 75px 0 50px;
    }
    .et_pb_svg_logo.et_header_style_centered #logo, #logo {
        height: inherit !important;
        max-height: inherit;
        max-width: 95px;
    }   
    #et-top-navigation {
        display: none;
    }
    .et_pb_row {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0 20px !important;
        max-width: 400px;
    }
}

/* Small Devices, .visible-sm-* */

@media(min-width:768px) and (max-width:991px) {
    #main-header {
        margin: 150px 0 100px;
    }
    .et_header_style_centered header#main-header .logo_container {
        max-height: 165px
    }
    #et-top-navigation {
        display: none;
    }
    .et_pb_row {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0 20px !important;
        max-width: 400px;
    }
}

/* Medium Devices, .visible-md-* */

@media(min-width:992px) and (max-width:1199px) {
    #main-header {
        margin: 150px 0 100px;
    }
    .et_pb_row {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0 !important;
        max-width: 600px;
    }
}

/* Large Devices, .visible-lg-* */

@media(min-width:1200px) {
    #main-header {
        margin: 150px 0 100px;
    }
    .et_pb_row {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0 !important;
        max-width: 800px;
    }
}

.input.et_pb_contact_captcha {
    max-width: inherit;
    width: 100px;
}

@media(min-width:768px) {

    .single-product #menu-header,
    .single-product #menu-header-en  {
        transform: translateY(-11px);
    }

}

@media(max-width:980px) {

 

    .single-product.et-db #et-boc .et-l .et_pb_row_0_tb_header .et_pb_column_0_tb_header,
    .et_pb_column_0_tb_header {
        display: flex;
        flex-direction :row;
        justify-content: space-between;
        align-items: center;
    }

    .single-product.et-db #et-boc .et-l  .et_pb_section_0_tb_header .et_pb_row_0_tb_header,
    .et_pb_section_0_tb_header .et_pb_row_0_tb_header.et_pb_row {
        padding-right: 0 !important;
        width: 100% !important;
    }

    .single-product.et-db #et-boc .et-l  .et_pb_section_0_tb_header .mobile_nav.opened .et_mobile_menu,
    .et_pb_section_0_tb_header .mobile_nav.opened .et_mobile_menu {
        width: 150px !important;
        right: 140px !important;
        left: -115px !important;
        border-color: #000;
    }

    .single-product.et-db #et-boc .et-l  .et_pb_section_0_tb_header .et_pb_text_0_tb_header,
    .et_pb_section_0_tb_header .et_pb_text_0_tb_header,
    .single-product.et-db #et-boc .et-l  .et_pb_section_0_tb_header .et_pb_menu_0_tb_header,
    .et_pb_section_0_tb_header .et_pb_menu_0_tb_header {
        margin-bottom: 0 !important;
    }

    .polylang_langswitcher {
        padding-bottom: 0 !important;
    }


}