/*
 Theme Name:     Monica by ftzstudio.co
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         ftzstudio - Sarah Faillétaz
 Author URI:     https://ftzstudio.co
 Template:       Divi
 Version:        2022
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Supprimer le défilement à droite sur mobile */
body, html { overflow-x:hidden; }

/* Global Colors */

:root {
	--brun: #907351;
	--beige: #E5D3C5;
	--vert: #565437;
	--blanc: #ffff;
	}

/* Text Module */

.monica-text h1,
.monica-text h2,
.monica-text h3,
.monica-text h4,
.monica-text h5,
.monica-text h6 {
    padding-bottom: .75em;
}

.monica-text h1:not(:first-child),
.monica-text h2:not(:first-child),
.monica-text h3:not(:first-child),
.monica-text h4:not(:first-child),
.monica-text h5:not(:first-child),
.monica-text h6:not(:first-child) {
    padding-top:1.25em;
}

.monica-text ul li,
.monica-text ol li {
    padding-bottom: .5em;
}

.monica-text p:last-of-type {
    padding-bottom: 1em;
}
.monica-text p:last-child {
    padding-bottom: 0;
}
.monica-text blockquote p:last-of-type {
	padding-bottom:0;
}

.monica-text blockquote {
    background: var(--beige);
    padding: 25px 35px;
}
.monica-text blockquote {
    position:relative;
}

.monica-text blockquote:before {
    content: '“';
    position: absolute;
    font-size: 5em;
    top: .10em;
    left: 0;
    color:var(--brun);
}
.monica-text blockquote:after {
    content: '”';
    position: absolute;
    font-size: 5em;
    bottom: -0.40em;
    right: 0.25em;
    color:var(--brun);
}


/* Buttons */
.monica-btn.et_pb_button {
    line-height: 1.5!important;
}

/*
______________________
   
   Header
______________________

*/
   
/* Column alignment */   
#monica-header .et_pb_row {
    align-items: baseline;
}
#monica-header .et_pb_row .et_pb_column:first-child {
    align-self: flex-end;
}

/* Hide CTA for small phones */
 @media (max-width:430px) {
    #monica-header .et_pb_column:nth-child(3) {
      display:none; 
    }
}


/* Main Menu Module */
#monica-header .et_pb_menu .et-menu>li {
    padding:10px 20px;
}

#monica-header .et_pb_menu .et-menu>li a:hover {
    opacity:1;
}


/* Submenu */
#monica-header .sub-menu {
    border:none;
    padding:20px;
    width:200px;
    transition:all .3s ease-in-out;
    top:calc(100% + 9px);
}

#monica-header .sub-menu li {
    width:100%;
    padding:0;
}

#monica-header .sub-menu li a {
    padding:0 0 10px;
    font-family:"Raleway", sans-serif;
    font-wieght:700;
    font-size:16px;
    text-transform:none;
    letter-spacing:0.5;
    background:none;
    transition:all .3s ease-in-out;
}

#monica-header .sub-menu li:last-child a {
    padding:0;
}

#monica-header .sub-menu li a:hover {
    padding-left:5px;
}

#monica-header .nav li:hover > ul, #monica-header .nav li.et-touch-hover > ul {
    top:calc(100% - 1px)
}  
  

/* Mobile Header Structure & Menu */
@media (max-width:980px) {

    #monica-header .et_pb_row {
        display: flex;
        align-items:center;
    }
    #monica-header .et_pb_column {
        margin-bottom:0;
    }
    #monica-header .et_pb_column:nth-child(1) {
        order:1;
    }
    #monica-header .et_pb_column:nth-child(2) {
        order:3;
    }
    #monica-header .et_pb_column:nth-child(3) {
        order:2;
    }

    #monica-header .et_pb_menu__wrap {
        justify-content:flex-end;
    }
    
    /* Mobile Menu */

    #monica-header .mobile_menu_bar:before {
        font-size: 40px;
    }

    #monica-header .opened .mobile_menu_bar:before {
        content:'\4d';
		color:var(--brun);
    }

    #monica-header .et_mobile_menu {
        position: fixed;
        display: block!important;
        margin: 0!important;
        height: 100%!important;
        min-height: 100vh;
        padding: 100px 0 0!important;
        max-width: 300px;
        left: auto;
        right: -300px;
        top: 0;
        z-index: 39;
        transition: all 1s ease-in-out;
    }

    #monica-header .opened .et_mobile_menu {
        right: 0;
    }

    #monica-header .mobile_menu_bar {
        z-index: 40;
    }
	
	/* Position "Fixed" inside the Sticky Section fix */
    #monica-header.et_pb_sticky * {
        transform:none!important;
    }
	
	/* Mobile Sub-menu */
    #monica-header .sub-menu {
        width:auto;
        padding:0;
    }
    #monica-header .sub-menu li a,
    #monica-header .sub-menu li a:hover,
    #monica-header .sub-menu li:last-child a {
        padding:10px 25px 10px 35px;
    }

}

/*
______________________
   
   Footer
______________________

*/

#monica-footer .et-menu {
	display: block;
}
    
#monica-footer .et_pb_menu .et-menu > li a {
	position:relative;
	transition:all .3s ease-in-out;
	margin-bottom:10px;
}

#monica-footer .et_pb_menu .et-menu > li > a:hover {
	padding-left:10px;
}
  
  
/* Footer Mobile Menu */
@media (max-width:980px) {
	
	#monica-footer .et_mobile_nav_menu {
		display: none;
	}
	
	#monica-footer .et_pb_menu__menu,
	#monica-footer .et_pb_menu__wrap {
		display: block;
	}
	
}

/*
______________________
   
   Page Content
______________________

*/

.boutons-en-ligne .et_pb_button_module_wrapper {
    display: inline-block;
	margin: 0 2.0% 0 0;
}




