/*////// GENERAL STYLES //////*/
h1 {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

h1:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1px;
    top: calc(50% - 1px);
    left: 100%;
    background: #878739;
}

h1:before {
    content: "";
    position: absolute;
    width: 150;
    height: 1px;
    top: calc(50% - 1px);
    left: 100%;
    background: #878739;
}

h2 {
    margin-bottom: 20px;
}

p {
    padding-bottom: 1.3em;
    font-size: 18px;
    line-height: 1.7em;
}

.nav li ul {
    width: 230px;
}

#top-menu li li a {
    padding: 6px 15px
}



/*////// HEADER STYLES //////*/
#et-secondary-menu .et-social-icons {
    margin-right: 0px;
}

#top-header, .et_fixed_nav #top-header {
    background-color: #eee!important;
}

#top-header .et-social-icons li {
    margin-top: 3px;
}

#top-header a {
    color: #878739;
}

#top-header-first {
    float: left;
    padding-right: 30px;
}

#top-header-second {
    float: left;
}

#et-info {
    float: left;
    color: #fff;
    margin-top: 3px;
    font-size: 14px;
}

.et-fixed-header#main-header, #main-header {
    background-color: #fff !important;
}

#page-container {
    margin-top: 0px!important;
}

#et-top-navigation {
    font-weight: normal;
}

.et_header_style_centered header#main-header.et-fixed-header .logo_container {
    height: 80px !important;
}

.et-fixed-header #top-menu li a {
    font-size: 20px;
}

.et-fixed-header#main-header {
    background-color: rgba(255, 255, 255, 0.25);
}

/*////// HOMEPAGE CONTENT STYLES //////*/

/* SLIDER HOME */
.et_pb_fullwidth_section.et_pb_section_first {
    position: relative;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_fullwidth_slider_0,
.et_pb_fullwidth_section.et_pb_section_first .et_pb_slides,
.et_pb_fullwidth_section.et_pb_section_first .et_pb_slider .et_pb_slide_0 {
    height: 100%;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_slider .et_pb_slide_0 {
    padding: 0px !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_slide .et_pb_slide_image {
    margin-top: 0px;
    width: 100%;
    float: none;
    display: block;
    position: relative;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_slide:first-child .et_pb_slide_image img {
    opacity: 1;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_slides .et_pb_slider_container_inner {
    padding-top: 100px;
}

.et_pb_fullwidth_section.et_pb_section_first .et_pb_slide .et_pb_slide_description {
    float: none;
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
    padding: 0;
}

.et_pb_slide_description h2.et_pb_slide_title {
    font-size: 35px;
    text-shadow: none;
    opacity: 0.75;
    padding-top: 50px;
    padding-bottom: 0px;
}

.et_pb_fullwidth_section.et_pb_section_first:before {
    opacity: 0.5;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    left: 0px;
    top: 0px;
    z-index: 1;
    background: url(/wp-content/uploads/2018/10/PatternCafeRomand.png) #211913 repeat;
}

.et_pb_fullwidth_header_subhead {
    text-shadow: none;
    opacity: 0.75;
    padding-top: 50px;
    padding-bottom: 0px;
    line-height: 1.7em;
}

.et_pb_contact p input[type=radio] + label i {
    margin-right: 9px
}

.et_pb_contact p input[type=radio] + label {
    font-size: 16px
}

.et_pb_contact p input {
    font-size: 16px
}

.header-logo {
    margin-top: -100px;
    width: 70%;
}

.links a {
    color: #878739;
}

.links a:hover {
    color: #583011;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.et-pb-slider-arrows {
    color: white;
}

.et-pb-controllers .et-pb-active-control {
    background-color: #878739;
}

.et-pb-controllers a {
    background-color: white;
}

span.mobile_menu_bar:before {
    color: #878739;
}

.et_mobile_menu {
    border-top: 3px solid #878739;
}

.mfp-title {
    display: none;
}

.et-pb-icon:hover {
    color: #878739 !important;
    opacity: 0.6;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

/* .et_pb_fullwidth_section.et_pb_section_first:after {
  opacity: 0.75;
  position: absolute;
  content: "";
  width: 60px;
  height: 35px;
  display: block;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  bottom: 40px;
  z-index: 1;
  background: url(../img/arrow_down.svg) no-repeat center;
} */
.et_overlay {
    background: url(/wp-content/uploads/2018/10/PatternCafeRomand.png) rgba(33, 25, 19, 0.5) repeat;
    border: none !important;
}

.et_overlay:before {
    color: #878739;
}

.et_pb_toggle_title:before {
    font-size: 22px;
}

.toggle_custom_3.et_pb_toggle {
    border: none;
    border-bottom: 4px solid #ddd !important;
    transition: 0.4s
}

.toggle_custom_3.et_pb_toggle_open {
    border-bottom: 4px solid #72c15f !important;
}

.toggle_custom_3 .et_pb_toggle_title:before {
    font-size: 50px !important;
    content: "3" !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.toggle_custom_3.et_pb_toggle_open .et_pb_toggle_title:before {
    color: #72c15f;
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.et_pb_contact_field_radio {
    float: left;
    width: 25%;
}

.pdfemb-viewer {
    margin: 0 auto !important;
}

#menu-item-290 a {
    background-color: #ffffff !important;
    font-weight: normal !important;
}

.current_page_item a {
    color: #878739 !important;
}

/*** Les cartes ***/
#cartes-alt h2 {
    margin-bottom: 0;
    position: relative;
}

#cartes-alt .et_pb_promo_description {
    padding-bottom: 80px;
    padding-top: 80px;
}


.et_pb_promo_description:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    content: "";
    transition: all .4s ease;
}

.et_pb_promo_description:hover:before {
    background-color: rgba(0,0,0,0);
}



/*** 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: #eee;
 border: none;
 border-radius: 0;
 color: #999 !important;
 padding: 15px !important;
}
#field_1_5, #input_1_18 {
    width: 100%;
}
#field_1_18 {
    width: 50% !important;
    display: inline-block !important;
}
.gfield_required {
    display: none ;
}
#field_1_19 {
    width: 100%;
}
body .gform_wrapper ul li.gfield {
    margin-top: 0px !important;
}
ul#gform_fields_1 {
    line-height: 0px !important;
}
.gform_wrapper .gform_footer input.button {
    float: right;
    background: #878739;
    border: none;
    font-size: 22px !important;
    color: #fff;
    padding: 12px 23px;
    border-radius: 4px;
    letter-spacing: 0px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.gform_wrapper .gform_footer input.button:hover {
    float: right;
    background: #583011;
    border: none;
    font-size: 22px;
    padding: 12px 23px;
    border-radius: 4px;
    letter-spacing: 0px;
    cursor: pointer;
    transition: all .4s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
#gform_1 input[type=text], textarea {
    color: black !important;
}
.gform_wrapper {
    margin-top: -10px !important;
}

#contact .et_pb_text_35 {
    margin-bottom: 15px!important;
}

/*////// INTERNAL PAGE CONTENT STYLES //////*/



/*////// FOOTER STYLES //////*/
#footer-widgets {
    padding: 5% 0 2% 0;
}

#footer-widgets p {
    padding-bottom: 1em;
    font-size: 16px;
    line-height: 22px;
}

#footer-widgets .footer-widget a:hover {
    color: #ffffff;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

#main-footer .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

#bottomIcon {
    text-align: right;
}

/*////// RESPONSIVE STYLES //////*/


@media (max-width: 500px) {
    .et_pb_contact_field_radio {
        width: 100%;
    }
    h1:after {
        display: none;
    }
}

@media (max-width: 640px) {
    #field_1_18 {
    width: 100% !important;
    }
}

@media (max-width: 703px) {
    #top-header-second {
        padding-top: 4px;
    }
}

@media (max-width: 980px) {

    .et_non_fixed_nav.et_transparent_nav #main-header,
    .et_non_fixed_nav.et_transparent_nav #top-header,
    .et_fixed_nav #main-header,
    .et_fixed_nav #top-header {
        position: fixed;
    }
    
    #main-header {
        border-top: solid 4px #878739;
    }

    .header-logo {
        width: 100%;
        padding-top: 120px;
        margin-left: -45px;
        margin-right: -45px;
    }

    .et_pb_fullwidth_header_subhead {
        padding-bottom: 80px;
        margin-left: -45px;
        margin-right: -45px;

    }
    #labelFaitMaison {
        background-image: none !important;
    }
    #labelFaitMaison h1 {
        font-size: 28px !important;
    }
}

@media (max-width: 850px) {
    #et-info {
        font-size: 12px;
    }
}
