/*
 Theme Name:   OptimiseMonEspace
 Author:       Madeleine Piffaretti
 Author URI:   http://www.madeleinepiffaretti.fr
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Fonts */
@media only screen and (max-width: 980px) {
h1 {
    font-size: 35px !important;
}
h2 {
    font-size: 28px !important;
}
}

@media only screen and (max-width: 480px) {
h2 {
    font-size: 26px !important;
}
}

/* Hover maison */
.active {
    opacity: 1 !important;
}
.inactive {
    opacity: 0 !important;
}

/*Quote => Mailys Dorn*/
blockquote {
    font-family: 'Zeyada',handwriting;
    border-width: 0px;
    padding-left: 0px;
    font-size: 25px;
}

/* Button width paint background*/
a.et_pb_more_button.et_pb_button.et_pb_button_one {
    background-color: transparent;
}

a.et_pb_more_button.et_pb_button.et_pb_button_one:hover {
    background-color: transparent !important;
}

.et_pb_module.et_pb_aio_extended.et_pb_bg_layout_light.et_pb_text_align_center.dwd-whole-link-wrap:hover {
    background-image: -webkit-gradient(linear,left top, left bottom,color-stop(100%, #fff),to(#fff));
    background-image: linear-gradient(180deg,#fff 100%,#fff 100%);
}

 .et_pb_aio_extended .et_pb_button_one.et_pb_button {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Blurb image / page "Ils en parlent" */
#presse .item-presse .et_pb_main_blurb_image {
    display: block;
    text-align : left;
}

/* Model category */
.et_pb_section.et_section_regular.cat-infos {
    padding-bottom: 0px;
    padding-top: 100px;
}

/* Bloom */
.et_bloom .et_bloom_form_container .et_bloom_form_header {
    display: none;
}

#custom-bloom-form .et_bloom_inline_form.et_bloom_optin.et_bloom_make_form_visible {
    margin: 0 !important;
}

#custom-bloom-form .et_bloom_form_container.et_bloom_rounded.et_bloom_form_text_dark.et_bloom_form_bottom.et_bloom_inline_2_fields {
    background-color: transparent;
}

#custom-bloom-form .et_bloom .et_bloom_form_content {
    background-color: transparent !important;
}
#custom-bloom-form .et_bloom_form_content.et_bloom_2_fields.et_bloom_bottom_stacked {
    background: transparent !important;
}

#custom-bloom-form .et_bloom_form_content.et_bloom_2_fields.et_bloom_bottom_stacked {
    padding: 0px 25px  !important;
    max-width: 400px  !important;
}


/* Menu */
body.home #main-header.et-fixed-header,
body:not(.home) #main-header{
    -webkit-box-shadow:  0 1px 6px 1px rgba(0,0,0,0.3) !important;
    box-shadow: 0 1px 6px 1px rgba(0,0,0,0.3) !important;
}
/*
body.home #main-header.et-fixed-header .menu-item:not(.current-menu-item) a,
body.home #main-header.et-fixed-header #et_search_icon:before,
body:not(.home) .menu-item:not(.current-menu-item) a,
body:not(.home) .et-fixed-header #top-menu a,
body:not(.home) #et_search_icon:before{
    color: #097F8E !important;
}

.et-fixed-header input.et-search-field,
body:not(.home) input.et-search-field{
    color: #097F8E !important;
}*/

@media only screen and (min-width: 981px) {
    .et-fixed-header input.et-search-field,
body:not(.home) input.et-search-field{
    color: #097F8E !important;
}
}
@media only screen and (max-width: 980px) {
.et_mobile_menu li a {
    color: #843a1f !important;
}
}

#et_top_search {
    margin: 15px 0 0 22px;
}

.et-fixed-header span.et_close_search_field:after,
body:not(.home) span.et_close_search_field:after{
    color: #097F8E !important;
}

.et-fixed-header .et_search_outer .et_search_form_container input
.et-fixed-header .et_search_outer .et_search_form_container :-ms-input-placeholder,
.et-fixed-header .et_search_outer .et_search_form_container :-ms-input-placeholder,
.et-fixed-header .et_search_outer .et_search_form_container ::-ms-input-placeholder,
body:not(.home) .et_search_outer .et_search_form_container input
body:not(.home) .et_search_outer .et_search_form_container :-ms-input-placeholder,
body:not(.home) .et_search_outer .et_search_form_container :-ms-input-placeholder,
body:not(.home) .et_search_outer .et_search_form_container ::-ms-input-placeholder{
    color: #097F8E !important;
}

.et-fixed-header .et_search_outer .et_search_form_container input
.et-fixed-header .et_search_outer .et_search_form_container ::placeholder,
.et-fixed-header .et_search_outer .et_search_form_container :-ms-input-placeholder,
.et-fixed-header .et_search_outer .et_search_form_container ::-ms-input-placeholder,
body:not(.home) .et_search_outer .et_search_form_container input
body:not(.home) .et_search_outer .et_search_form_container ::placeholder,
body:not(.home) .et_search_outer .et_search_form_container :-ms-input-placeholder,
body:not(.home) .et_search_outer .et_search_form_container ::-ms-input-placeholder{
    color: #097F8E !important;
}

#top-menu .guide-item a {
    padding-bottom: 12px !important;
    padding-top: 12px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    border-radius : 5px;
    border : solid 1px #fff;
}

/*.et-fixed-header #top-menu .guide-item a,
body:not(.home) #top-menu .guide-item a{
    padding-bottom: 12px !important;
    padding-top: 12px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    border-radius : 5px;
    background: #F2CA12 !important;
}*/

/*.et-fixed-header #logo,
body:not(.home) #logo{
content: url('/wp-content/uploads/2019/10/logo-optimise-mon-espace-small-1.png');
}*/

@media (max-width: 980px) {
#et_top_search {
    float: left;
    margin: 0 35px 0 0 !important;
}

    .mobile_menu_bar:before {
        color : #fff !important;
    }

    #main-header .et_mobile_menu {
        background-color: #fff !important;
    }

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


/* Footer */
div#et-footer-nav {
    display : none;
}

div#footer-info {
    font-size: 14px;
}

#footer-bottom .et-social-icon a {
    font-size: 18px;
}

.widget_search #searchsubmit {
    width: 100px;
}

/*
#main-footer h4.title {
    color: #fff;
    font-size: 20px;
    min-height: 60px;
}

#footer-widgets .footer-widget li {
    padding-left: 0;
    font-size: 16px;
    line-height: 20px;
}

#footer-widgets .footer-widget li:before {
    display : none !important;
}

#footer-widgets .footer-widget li a {
    color: #fff !important;
    text-decoration: none;
}
*/

/*Scrollbar du site - Ben Jellimann*/
/*::-webkit-scrollbar {
  background-color: #a7c481;
  width: 8px;
}
::-webkit-scrollbar-track {
  background-color: #a7c481;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: #12767d;
  border-radius: 6px;
}*/

/*Ajout d'icones RS*/
.et-social-linkedin a.icon:before {
font-family: ‘ETmodules’;
content: ‘\e09d’;
}
.et-social-youtube a.icon:before {
font-family: ‘ETmodules’;
content: ‘\e0a3’;
}
.divi-youtube:after{
content: "\e0a3";
display: block;
font-family: "ETmodules";
font-weight: normal;
}
.divi-house:after{
content: "\e074";
display: block;
font-family: "ETmodules";
font-weight: normal;
}

#logo{
    max-height:80%;
}
#top-menu li{
    padding-right:16px;
}
#top-menu li li a {
    padding: 6px 15px;
    width: 205px;
  }

.et_pb_contact_form_0.et_pb_contact_form_container .input{
    border-width: 2px;
    border-color: #88bac2;
}
.et_pb_contact_form_0.et_pb_contact_form_container .input-agence{
    border-color: #d48557;
}
.et_pb_contact_form_0 .input{
    background-color: #ffffff;
}
.top-header{
    background-color: #12767d;
    color:#FFF;
    text-align: center;
}
.top-header a{
    font-weight:bold;
    color:#FFF;
}


/*Correction RWD Olivier K.*/
@media only screen and (min-width: 981px){
    #logo {
        height: 83px !important;
    }
}
@media (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        width: 100%;
        max-width: 100%;
        padding-right: 24px;
        padding-left: 24px;
    }
}
