/*
 Theme Name:   Maître Smadja Theme
 Theme URI:    https://www.smadja-avocat.com/
 Description:  Thème enfant du cabinet de Me Smadja
 Author:       Guilhem Delachapelle
 Author URI:   https://guilhemdelachapelle.com
 Template:     hello-elementor
 Version:      0.1.0
*/

/* --e-global-color-text: #5D1A50;
--e-global-color-accent: #EA6972;
--e-global-color-secondary: #F0DFED;
--e-global-color-primary: #FAF5F9;
--e-global-color-8a399d2: #FFFFFF;
--e-global-color-705d626: #FAF8F7; */

body, html {
    overflow-x: hidden;
    }

body {
    --shadow-var: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* --avis-content-width: 500px; */
}

ul {
    list-style: none; /* Remove default bullets */
  }

li {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: var( --e-global-typography-primary-font-size )!important;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: 1.8;
}

.procedure_carousel_content li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: var(--e-global-color-accent); /* Change the color */
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
  }

.custom-button {
    /* position: relative; */
}

.custom-button::after {
    content : "";
    position: absolute;
    margin-top: 1em;
    left    : 0;
    bottom  : 0;
    height  : 1.5px;
    width   : 25%;
    border-bottom: 1px solid var(--e-global-color-accent);
}

.button-arrow .elementor-button-wrapper {
    display: flex;
    align-items: center;
}

.button-arrow .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}


.button-arrow .elementor-button-text {
    text-align: left;
    width: 80%;

}

.button-arrow .elementor-button-icon {
    background-color: var(--e-global-color-text);
    color: white;
    width: 40px;
    height: 40px;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: .6s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);

}

.button-arrow-center .elementor-button-wrapper {
    justify-content: center;
}

.button-arrow .elementor-button-icon i {
    transform: translateX(10%);
}

.button-arrow:hover .elementor-button-icon  {
    transform: rotate(-180deg);
    transition-duration: .6s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);
    background-color: var(--e-global-color-accent);
    
}






/*  */
/*  */ /*  */
/*  */ /*  *//*  */ /* Home page */

/* Divorce Type */


.divorce_type_section_global {
    width: 100vw;
    display: flex;
    align-items: center;
}

.divorce_type_bg_container {
    width: 70%;
    height: 80%;
    background-color: var(--e-global-color-primary);
}

.divorce_type_text_container {
    width: 70%;
    height: 100%;
    padding: 3em;
}

.divorce_type_text_container span {
    color: var( --e-global-color-accent );
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    font-size: var( --e-global-typography-text-font-size );
    font-weight: var( --e-global-typography-text-font-weight );
    text-transform: var( --e-global-typography-text-text-transform );
    letter-spacing: var( --e-global-typography-text-letter-spacing );
}

.divorce_type_text_container p {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: var( --e-global-typography-primary-font-size );
    font-weight: var( --e-global-typography-primary-font-weight );
    line-height: var( --e-global-typography-primary-line-height );
}

.divorce_type_text_container h2 {
    color: var( --e-global-color-text )!important;
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif!important;
    font-size: var( --e-global-typography-secondary-font-size )!important;
    font-weight: var( --e-global-typography-secondary-font-weight )!important;
    line-height: var( --e-global-typography-secondary-line-height )!important;
}



.divorce_type_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3em;
    column-gap: 3em;
    margin-left: -15%;
}

.divorce_type_container_content {
    position: relative;
    height: 600px;
    width: 350px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0px 2em .5em 2em;
    box-shadow: var(--shadow-var);
}

.divorce_type_container_content:nth-child(odd) {
    margin-top: -10em;
}

.divorce_type_container_content h3 {
    color: var( --e-global-color-8a399d2 );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:20px;
    font-weight: var( --e-global-typography-secondary-font-weight );
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: 1.6;
}

.hidden_divorce_type_content {
    position: absolute;
    background-color: var(--e-global-color-8a399d2);
    width: 100%!important;
    height: 100%!important;
    top: 0!important;
    left: 0!important;
    opacity: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 2em;
}

.hidden_divorce_type_content h3 {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:22px;
    font-weight: var( --e-global-typography-secondary-font-weight );
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: 1.6;
}

.hidden_divorce_type_content p {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: 16px;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: 1.8;
}

.type_divorce_button {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--e-global-color-accent);
    cursor: pointer;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.type_divorce_button:hover {
    letter-spacing: 4px;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media (max-width: 1200px) {
    .divorce_type_section_global {
        flex-wrap: wrap;
        justify-content: center;
    }

    .divorce_type_container {
        margin-left: 0px;
    }
    
    .divorce_type_bg_container {
        width: 100%;
        height: 80%;
        background-color: var(--e-global-color-primary);
    }
    
    .divorce_type_text_container {
        width: 90%;
        height: 100%;
        padding: 3em;
    }

    .divorce_type_container_content:nth-child(odd) {
        margin-top: 0px;
    }
}

@media (max-width: 900px) {

    .divorce_type_container {
        row-gap: 1em;
        column-gap: 1em;
    }
}
@media (max-width: 600px) {

    .divorce_type_container {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }

    .divorce_type_container_content:nth-child(odd) {
        margin-top: 0px;
    }

    .type_divorce_button {font-size: 12px;}

    .divorce_type_text_container {
        padding: 1.5em;
    }
}

/* Procédure divorce Home Page */

.procedure_container {
    width: 90vw;
    height: 80vh;
    background-color: var(--e-global-color-8a399d2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 10vh;
}

.procedure_button_container {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
}

.procedure_button_container button {
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: 16px;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: var( --e-global-typography-primary-line-height );
    padding: .5em 3em .5em 3em;
    border: none;
    border-radius: 0px;
}


.procedure_button_container button:hover {
    background-color: var(--e-global-color-text);
}
.procedure_button_container button:active {
    background-color: var(--e-global-color-accent);
    border: none;
    border-radius: 0px;
}
.procedure_button_container button:focus {
    background-color: var(--e-global-color-accent);
    border: none;
    border-radius: 0px!important;
}

.procedure_carousel_container {
    width: 80%;
    height: 600px;
    display: flex;
    flex-direction: row;
    background-color: var(--e-global-color-705d626);
    position: relative;
}

.procedure_carousel_button_container {
    top: -2%;
    display: flex;
    position: absolute;
    z-index: 2;
    transform: translateY(-50%);
}

.procedure_carousel_button_container > div {
    width: 50px;
    height: 50px;
    background-color: var(--e-global-color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1em;
    box-shadow: var(--shadow-var);
    user-select: none;
}

#procedure_button_prev > img, #procedure_button_next > img {
    width: 15px!important;
    height: auto!important;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(35deg) brightness(104%) contrast(102%);
}

.procedure_carousel_button_container > div:hover {
    background-color: var(--e-global-color-text);
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: scale(1.1, 1.1);
    cursor: pointer;
}
.procedure_carousel_button_container > div:active {
    transform: scale(.99);
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.procedure_carousel_content_container {
    width: 80%;
    position: relative;
    display: flex;
    align-items: center;
}

.procedure_carousel_content {
    position: absolute;
    padding: 4em;
}


.procedure_carousel_content_invisible {
    opacity: 0;
    transform: translateY(30px);
}
.procedure_carousel_content_visible {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .8s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);
}

.procedure_carousel_content_container h3 {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:30px;
    font-weight: bold;
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: var( --e-global-typography-secondary-line-height );
}

.procedure_carousel_content_container p {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: var( --e-global-typography-primary-font-size );
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: var( --e-global-typography-primary-line-height );
}

.procedure_cta_container {
    width: 300px;
    height: 300px;
    background-color: var(--e-global-color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    transform: translate(50%, -50%);
    top: 50%;
}

.procedure_cta_container * {
    color: var(--e-global-color-8a399d2);
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:25px;
    font-weight: var( --e-global-typography-secondary-font-weight );
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: var( --e-global-typography-secondary-line-height );
}

.procedure_step_number {
    position: absolute;
    left:0;
    opacity: .1;
}

.procedure_step_number p {
    color: var( --e-global-color-accent );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:300px;
    font-weight: bold;
    font-style: italic;
    line-height: 0;
}

@media (max-width: 1150px) {

    .procedure_container {
        height: 120vh;
    }

    .procedure_button_container {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }

    .procedure_carousel_container {
        width: 90%;
        height: 650px;
    }
    

    .procedure_carousel_content_container {
        width: 100%;
    }

    .procedure_cta_container {
        left: 50%;
        transform: translate(-50%, 0%);
        bottom: 0%;
        top: 100%;
    }
    
}

@media (max-width: 650px) {

    .procedure_container {
        height: 140vh;
    }
    
    .procedure_carousel_container {
        width: 80%;
        height: 65%;
        
    }

    .procedure_carousel_content_container {
        width: 100%;
        height: 100%;
    }

    .procedure_button_container {
        width: 70%;
        flex-direction: column;
    }

    .procedure_button_container button {
        margin-bottom: 1em;
    }

    .procedure_carousel_content {
        padding: 1.5em;
    }

    .procedure_carousel_content_container h3 {
        font-size: 25px;
    }

    .procedure_carousel_content_container p, .procedure_carousel_content_container li {
        font-size: 14px!important;
    }


    .procedure_cta_container {
        top: 100%;
        left: 50%;
        transform: translate(-50%, -10%);
    }
    
}



/*  */
/*  */
/* Avis Carousel */

.section_avis {
    width: fit-content;
}

.section_avis_container {
    display: flex;
    flex-direction: row;
    /* justify-content: space-around; */
    width: fit-content;
    position: relative;
    transition: transform 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    padding-left: 2.5em;
}

/* .section_avis .elementor-widget-wrap>.elementor-element {
    width: auto!important;
} */

.avis_button_container {
    width: auto;
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    z-index: 100;
    padding-right: 2em;
    padding-left: 2em;
    transform: translateX(-50%);
}

#avis_next_button, #avis_prev_button {
    width: 50px!important;
    height: 50px!important;
    cursor: pointer;
    background-color: white;
    box-shadow: var(--shadow-var);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

#avis_next_button:hover, #avis_prev_button:hover {
    background-color: var(--e-global-color-accent);
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: scale(1.1, 1.1);
}

#avis_next_button > img, 
#avis_prev_button > img {
    width: 15px!important;
    height: auto!important;
    filter: invert(12%) sepia(66%) saturate(509%) hue-rotate(133deg) brightness(92%) contrast(90%);;
}

#avis_next_button:hover > img, 
#avis_prev_button:hover > img {
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(166deg) brightness(102%) contrast(102%);
}




.avis_content_container {
    background-color: white;
    width: 500px;
    padding: 3.4em;
    position: relative;
    margin-left: 3em;
    box-shadow: var(--shadow-var);
    z-index: 2;
}


.avis_notation_container {
    width: 200px;
    height: 100px;
    background-color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-var);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.avis_notation_text {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:25px;
    font-weight: var( --e-global-typography-secondary-font-weight );
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: var( --e-global-typography-secondary-line-height );
    margin: 0px!important;
}

.avis_star_image {
    width: 50px;
    height: 50px;
    margin-left: 1em;
}

/* .avis_notation_text::after {
    background-image: url('../../uploads/2022/05/étoile_smadja.png');
    content: " ";
    margin-right: 1em;
    content: " ";
    width: 30px;
    height: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
} */

.avis_title {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-size:25px;
    font-weight: var( --e-global-typography-secondary-font-weight );
    font-style: var( --e-global-typography-secondary-font-style );
    line-height: var( --e-global-typography-secondary-line-height );
}

.avis_content {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: 16px;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: var( --e-global-typography-primary-line-height );
}


@media (max-width: 550px) {
    .avis_content_container {
        width: 350px;
        padding: 4em 2em 2em 2em;
        margin-left: 1em;
    }
    .avis_notation_container {
        width: 150px;
        height: 75px;
    }
    .avis-content {
        font-size: 14px;
    }
    .avis-star-image {
        width: 40px;
    }
    .avis-notation-text {
        font-size: 20px;
    }
    .avis-title {
        font-size: 22px;
    }
    .avis-content {
        font-size: 14px;
    }
}

/*  */
/*  */ /*  */
/*  */ /*  */ /* Article */ 

.article_content_section h3 {
    font-size: 22px;
}
.article_content_section h2 {
    border-left: 7px solid var(--e-global-color-accent);
    margin-left: -1em;
    padding-left: 1em;
}

.first_h2_blog_content {
    color: var(--e-global-color-text)!important;
    font-size: 38px;
}

.article_content_section h3, 
.article_content_section h2 {
    color: var( --e-global-color-accent )!important;
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif!important;
    font-weight: var( --e-global-typography-secondary-font-weight )!important;
    font-style: var( --e-global-typography-secondary-font-style )!important;
    line-height: 1.6!important;
}

.article_content_section ul {
    margin-bottom: 1.5em;
}

.article_content_section li {
    color: #2E0726;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: var( --e-global-typography-primary-font-size )!important;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-style: var( --e-global-typography-primary-font-style );
    line-height: 1.8;
}

.article_content_section li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: var(--e-global-color-accent); /* Change the color */
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
  }


/*  */
 /*  */ /*  */
 /*  *//*  *//*  */ /* Animation */

.interaction-reveal-bg {
     opacity: 1!important;
     transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
     -webkit-transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
 }
 .interaction-reveal-bg-base {
     opacity: 0!important;
     transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
     -webkit-transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
 }
 
 .interaction-reveal {
     opacity: 0;
     transform: translateY(30px);
 }

 .interaction-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);
    -webkit-transition-duration: .4s;
    -webkit-timing-function: cubic-bezier(.21,.59,.34,.86);
 }


.reveal [class*="reveal-"] {
    opacity: 0;
    transform: skewY(2deg) translateY(50px);
    overflow: hidden;
    
}

.reveal-visible [class*="reveal-"] {
    opacity: 1;
    transform: skewX(0deg) translateY(0);
    overflow: visible;
    transition-duration: .8s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);
    -webkit-transition-duration: .4s;
    -webkit-timing-function: cubic-bezier(.21,.59,.34,.86);
} 

.reveal-1, .lateral-1 {
    transition-delay: 0s;
}
.reveal-2, .lateral-2 {
    transition-delay: .1s;
 }
.reveal-3, .lateral-3 {
    transition-delay: .2s;
 }
.reveal-4, .lateral-4 {
    transition-delay: .3s;
 }
.reveal-5, .lateral-5 {
    transition-delay: .4s;
 }
.reveal-6, .lateral-6 {
    transition-delay: .5s;
 }
.reveal-7, .lateral-7 {
    transition-delay: .6s;
 }
 

 
 .lateral [class*="lateral-"] {
    opacity: 0;
    transform: translateX(-50px);
}

.lateral-visible [class*="lateral-"] {
    opacity: 1;
    transform: translateX(0);
    transition-duration: .8s;
    transition-timing-function: cubic-bezier(.21,.59,.34,.86);
    -webkit-transition-duration: .8s;
    -webkit-timing-function: cubic-bezier(.21,.59,.34,.86);
}

