/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:root {
    --main-color: #515B52;
    --second-color: #34A5A4;
    --text-color: #515B52;
    --accent-color: #515B52;
    --white-color: #ffffff;
    --btnHover-color: #9B9B8B;
    --border-color: rgba(51, 51, 51, 0.16862745098039217);
}

.mbottom-0 p {
    margin-bottom: 0!important;
}

@media (max-width: 768px) {
    /* h1 { font-size: 2rem!important; } */
    h2 { font-size: 1.25rem!important; }
    .teo-title-blog h2 { font-size: 17px!important; }
    h3 { font-size: 1.15rem!important; }
    h4 { font-size: 1.1rem!important; }
    h5 { font-size: 1.05rem!important; }
    h6 { font-size: 1rem!important; }
    /* p { font-size: 0.95rem!important; line-height: 1.4!important; } */
}

@media (max-width:1024px) {
    #teo-menuMobile .e-n-menu-heading {
        border-top: 1px solid var(--white-color);
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: var(--main-color)!important;
    }
}


/* START HEADER ----------------------------------------------------------------------- */
body {
    padding-top: 100px;
}

body,
#teo-main-logo,
#teo-main-header {
    transition: all 0.3s ease-in-out;
}
#teo-main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; 
    background-color: transparent;
    z-index: 9999;
}

#teo-menu-top button:active,
#teo-menu-top button:hover {
    background-color: transparent!important;
}

.teo-title-std {
    text-transform: uppercase;
    font-size: 14px;
}
.teo-title-std span {
    font-size: 18px;
}



@media (min-width:1024px) {

    #teo-main-header.scrolled {
        height: 60px; 
        background-color: rgba(0, 0, 0, 0.6); 
    }

    #teo-main-header.scrolled #teo-main-logo img,
    #teo-main-header.scrolled #teo-main-logo {
        height: 40px; 
    }
}
@media (max-width:1023px) {
    body {
        padding-top: 0;
    }
    #teo-menu-top.elementor-widget-n-menu .e-n-menu-title:not(.e-current):not(:hover) .e-n-menu-icon svg {
        fill: var(--main-color);
    }   
    #teo-menu-top ul li:first-child div {
        padding-top: 1em;
    } 
    #teo-menu-top ul li:last-child div {
        padding-bottom: 1em;
    }     
    #teo-main-header {
        position: relative!important;
        width: 100%;
        height: 70px; /* Hauteur initiale */
        background-color: rgba(0, 0, 0, 0.3);; /* Couleur initiale */
      }
      #teo-main-header.scrolled #teo-main-logo img,
      #teo-main-header.scrolled #teo-main-logo {
          height: 40px; 
      }      
}
/* END HEADER ------------------------------------------------------------------------- */

/* START BLOG ------------------------------------------------------------------------- */
.liste-ateliers li {
    margin-bottom: 10px;
    margin-top: 10px;
}
/* END BLOG ------------------------------------------------------------------------- */
    


/* STRAT FOOTER ----------------------------------------------------------------------- */
#cta-gototop {
    display: none;
    transition: all 0.3s ease-in-out;
}

@media (max-width:1024px) {
    #cta-gototop.teo-show {
        display: block;
    }
}

@media (max-width:768px) {
    #teo-mlegales li.elementor-icon-list-item.elementor-inline-item {
        width: 100% !important;
        text-align: center !important;
        justify-content: center;
    }
    #teo-mlegales li.elementor-icon-list-item.elementor-inline-item span,
    #teo-mlegales li.elementor-icon-list-item.elementor-inline-item a span {
        line-height: 1.6 !important;
        text-align: center !important;
        width: 100% !important;
    }
}
/* END FOOTER ------------------------------------------------------------------------- */