/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Laurent G. / Label Communication
Author URI: https://www.labelcommunication.net 
Template: enfold
*/

/* CONSTRUCTION */
#construction .iconlist-timeline {
    display: none !important;
}
#construction .iconlist_title {
    font-weight: bold;
}
#construction .avia-icon-list .avia_start_animation:first-child .iconlist_title {
    margin-top: 0 !important;
}
#construction .avia-icon-list .iconlist_icon {
    margin-right: 0 !important;
}
#construction .avia-icon-list li {
    padding-bottom: 0;
}

/* GENERAL */
span.logo img {
    -moz-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    padding: 17px;
}
.header-scrolled span.logo img {
    padding: 5px;
}
a.avia-button {
    font-size: 16px!important;
    border-radius: 0!important;
    font-weight: 900 !important;
    letter-spacing: 1.5px;
    min-width: 235px !important;
}
strong {
    color: inherit !important;
    font-weight: 900 !important;
}
blockquote p {
    font-size: 16px;
}
h1, h2, h3 {
    font-weight: 900 !important;
}
h3 {text-transform: uppercase;}
.titre-h2 {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}
.titre-bg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 20px;
    background: #FFAF2B;
    opacity: 0.5;
    z-index: -1;
}
.hr-custom .hr-inner.inner-border-av-border-fat {
    border-top-width: 6px;
}

/*** EN-TETE ***/
ul#avia-menu li a span.avia-menu-text {
    font-size: 16px;
    text-transform: uppercase;
}
/* ACTIVE ACCUEIL CONTACT ET RS */
ul#avia-menu #menu-item-115.current_page_item a span.avia-menu-text::after,
ul#avia-menu #menu-item-236.current_page_item a span.avia-menu-text::after {
    width: 52%;
}
/* ACTIVE SAVOIR-FAIRE */
ul#avia-menu #menu-item-114.current_page_item a span.avia-menu-text::after {
    width: 85%;
}
/* ACTIVE MACHINES */
ul#avia-menu #menu-item-209.current_page_item a span.avia-menu-text::after {
    width: 81%;
}
/* ACTIVE DEVIS */
ul#avia-menu #menu-item-242.current_page_item a span.avia-menu-text::after {
    width: 72%;
}

ul#avia-menu li.current_page_item a span.avia-menu-text::after {
    content: '';
    visibility: visible !important;
    width: 90%;
    height: 2px;
    background: #032E5A;
    display: block;
    position: absolute;
    bottom: 30px;
    left: 11px;
}
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
    border-left-style: solid;
    border-left-width: 1px;
    border-color: #032E5A;
    padding-left: 13px;
    margin-left: -13px;
}
.av_seperator_small_border .av-main-nav > #menu-item-256 > a > .avia-menu-text {
    border-left: none !important;
}
/* CONTACT + RS */
ul#avia-menu #menu-item-236 a span.avia-menu-text,
ul#avia-menu #menu-item-256 a span.avia-menu-text {
    font-size: 20px;
}

.header-scrolled ul#avia-menu li.current_page_item a span.avia-menu-text::after {
    bottom: 10px;
}

/*** PAGE D'ACCUEIL ***/
#home-slider {
    max-width: 450px;
    margin: 0 auto;
    overflow: visible;
}
#home-slider .avia-slideshow-arrows a {
    top: unset;
    margin: 0 15px;
}
#home-slider .avia-slideshow-arrows a.next-slide {
    right: 80px;
}
#home-slider .avia-slideshow-arrows a.prev-slide {
    left: 80px;
}
.citation-home::after {
    bottom: 28px !important;
    opacity: 1 !important;
}
.degrade-before {position: relative;}
.degrade-before::before {
    content: '';
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8029586834733894) 50%, rgba(255,255,255,0) 100%);
}
.domaines-home h3 {
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: 2px;
}
.av-lstd1xhe-5375191bd47c25a19b70601d3719cca1 .titre-bg {
    display: none !important;
}

/*** PAGE SAVOIR FAIRE ***/
.subtitle-techniques {
    text-shadow: 0 2px 3px #000;
}
.infobulle-content::before {
    content: '';
    visibility: visible;
    width: 21px;
    height: 160px;
    background: #FFAF2B;
    opacity: 0.5;
    position: absolute;
    bottom: 0;
    left: 85px;
}
.citation-home::after,
.infobulle-content::after,
.titre-bulle::after {
    content: '';
    visibility: visible;
    height : 0;
    width : 0;
    border-top : 36px solid #032E5A;
    border-right : 43px solid transparent;
    border-left : 42px solid transparent;
    position: absolute;
    bottom: -36px;
    left: calc(50% - 45px);
    opacity: 0.9;
}
.techniques .avia-icon-list li {
    padding: 0;
}
.techniques .iconlist_icon {
    margin-right: 0;
}
.techniques .av_iconlist_title {
    top: 2px;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 3px #000;
}
.techniques .iconlist_content {
    margin-top: -12px;
}

/*** PAGE MATIERES PLASTIQUES ***/
.titre-bulle h2 .titre-h2 {
    text-shadow: 0 2px 3px #000;
    background: #032E5A;
    text-transform: none !important;
    padding: 20px 40px !important;
}
.titre-bulle::after {
    opacity: 1 !important;
}
.avantages .av_iconlist_title span {
    color: #fff !important;
    font-size: 16px;
}
.avantages .iconlist_content {
    margin-top: 0;
}
.avantages .avia_start_animation {
    padding-bottom: 15px !important;
}

/*** PAGE DOMAINE D'APPLICATION ***/
.avia-slideshow-arrows a:before {
    background: transparent !important;
}
.av-slideshow-ui .avia-slideshow-arrows a {
    text-shadow: 2px 2px 6px #000;
    font-size: 40px;
}

/*** PAGE MACHINES ***/
.img-titre-machines {
    margin-top: -80px !important;
}
.parc-machines .av-image-caption-overlay {
    height: 124px;
    bottom: 0;
}
.parc-machines .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
    opacity: 1 !important;
}
.parc-machines .av-image-caption-overlay-center {
    padding: 16px;
    vertical-align: top;
}
.parc-machines .av-image-caption-overlay-center p {
    font-size: 18px;
    line-height: 25px !important;
}
.machines-hr .hr-custom .hr-inner.inner-border-av-border-fat {
    border-top-width: 21px;
}

/*** PAGE DOMAINE ***/
.footer-img-overlay::before {
    content: '';
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.4);
    width: 100%;
    height: 100%;
}

/*** PAGES ACTUALITES ***/


/* PAGE ACTUALITE */
.av-share-box .inner_tooltip {
    display: inline-block;
    line-height: 20px;
}

/*** CONTACT ***/

/* Contact Ninja Forms */
.nf-field-container {
    display: inline-block;
    width: calc(50% - 25px);
    margin: 5px 10px!important;
}
@media screen and (max-width: 599px) {
    .nf-field-container {
        width: 100%!important;
        margin:0!important;
    }
}
#nf-field-9-container,
.nf-field-container.textarea-container,
.nf-field-container.recaptcha-container,
.nf-field-container.submit-container {
    width: calc(100% - 25px);
}
.nf-field-element li {
    display: inline-block;
    line-height: 16px;
}
.nf-field-element li label {
    margin-right: 5px;
}
.listcheckbox-container .nf-field-element label:after {
    left: -30px!important;
}
.checkbox-wrap .nf-field-element label.nf-checked-label:before,
.checkbox-wrap .nf-field-label label.nf-checked-label:before,
.listcheckbox-wrap .nf-field-element label.nf-checked-label:before,
.listcheckbox-wrap .nf-field-label label.nf-checked-label:before {
    color: #e42222!important;
}
.nf-error-msg.nf-error-invalid-email,
.nf-error-msg.nf-error-required-error {
    display: none;
}
.nf-field-label {
    margin-bottom: 0!important;
}
.nf-form-errors {
    text-align: center;
}
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
    color:#000!important;
    border-color: #ddd;
    margin-bottom: 0;
}
.nf-field-container.submit-container input.nf-element {
    font-family: 'lato', Helvetica, Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 1.5px;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    background:#032E5A;
    color:#fff;
    border-radius: 0px;
    outline: none;
    -webkit-appearance: none;
}
.nf-field-container.submit-container input.nf-element:hover {
    background: rgba(3, 46, 90, 0.9);
    color: #fff;
}
.nf-response-msg {
    border: 2px solid #000!important;
    padding: 15px 30px;
}
.nf-form-fields-required {
    font-style: italic;
    font-size: 12px;
}
span.ninja-forms-req-symbol {
    color: red!important;
    font-size: 16px!important;
}

/*** PIED DE PAGE ***/
a#scroll-top-link {
    right: 10px;
    bottom: 10px;
}
#footer {
    box-shadow: 0px 0px 18px -8px rgba(0,0,0,1);
    padding: 0;
}
#footer #nav_menu-3 {
    text-align: center;
}
#footer #nav_menu-3 h3 {
    font-size: 18px;
    color: #032E5A;
    text-decoration: underline;
}
#footer #nav_menu-3 a {
    text-transform: uppercase;
    padding: 0;
}
#socket .container {
    text-align: center;
    line-height: 16px;
}
#socket .copyright {
    float: none;
}

/*** COOKIE NOTICE ***/
#cookie-notice {
    font-size: 20px !important;
    bottom: 50px;
    left: 0 !important;
    width: 30%;
    min-width: 20% !important;
}
.cn-button {
    font-weight: bold;
    margin-top: 15px !important;
    font-size: 14px !important;
}

/*** AVIS GOOGLE ***/
.ti-widget {
    position: fixed !important;
    bottom: 50px;
    right: 10px;
    text-align: right !important;
    z-index: 100;
    width: 230px !important;
}
.ti-widget.ti-goog .ti-popup-widget .ti-popup-widget-inner {
    margin: 5% auto;
    height: 70vh !important;
}


/*** RWD ***/
@media screen and (min-width: 1024px) {
    a[href^=tel]{
        pointer-events: none!important;  
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    /*** GENERAL ***/
    .titre-page h1 {
        font-size: 30px;
    }
    .titre-page h2 {
        font-size: 25px !important;
    }
    .titre-h2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .titre-bg {
        position: relative;
        width: 200px;
        display: block;
        margin: 15px auto 0 auto;
    }
    /*** ACCUEIL ***/
    .titre-bulle h2 {
        font-size: 20px;
    }
    .titre-bulle h2 .titre-h2 {
        padding: 0 !important;
        background: transparent;
    }
    .titre-bulle::after {
        display: none !important;
    }
    #cookie-notice {
        width: 80% !important;
        font-size: 14px !important;
    }
    .citation-home::after {
        display: none !important;
    }
    /*** SAVOIR-FAIRE ***/
    .infobulle-content::before {
        display: none !important;
    }
    /*** MATIERES PLASTIQUES ***/
    .av-1uius-db6036705783842785a8c2e8fc935caa {
        background: #032E5A;
        padding: 5px 20px;
    }
    /*** NINJA FORM ***/
    .nf-form-content .listcheckbox-wrap li {
        display: block !important;
        width: 100% !important;
    }
}