/*
Theme Name: WABG
Author: Pix Associates
Author URI: https://www.pix-associates.com/
Description: WABG est un thème personnalisé réalisé pour le site wabg-avocats.fr
Version: 1
Text Domain: wabg

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html,
body {
	padding: 0;
	margin: 0;
}
html {
	font-size: 62.5%;
	font-size: calc(1em * 0.625);
}

body {
	margin: 0;
}

[id]:target {
    scroll-margin-top: 80px;
}
@media (min-width: 1241px){
    [id]:target {
        scroll-margin-top: 105px;
    }
}

header .e-con{
    z-index: unset;
}
header .elementor-widget-off-canvas .e-off-canvas{
    z-index: 10;
}
.toggle-menu-button a svg path{
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    transform-origin: left center;
}
.toggle-menu-button a[aria-expanded="true"] svg path:nth-child(2){
    opacity: 0;
}
.toggle-menu-button a[aria-expanded="true"] svg path:first-child{
    transform: translateY(8px) rotate(-45deg);
}
.toggle-menu-button a[aria-expanded="true"] svg path:nth-child(3){
    transform: translateY(-7px) rotate(45deg);
}

.elementor-widget-container p:first-child{
    margin-top: 0;
}
.elementor-widget-container strong{
    font-weight: bold;
}

.e-con.e-parent{
    --container-default-padding-top: 15px;
    --container-default-padding-right: 15px;
    --container-default-padding-bottom: 15px;
    --container-default-padding-left: 15px;
}

.elementor-widget-testimonial-carousel .elementor-swiper .elementor-main-swiper{
    width: 100%;
}

.elementor-widget-text-editor ul{
    margin: 0;
    padding: 0;
    list-style-type: '- ';
    list-style-position: inside;
}

/** Shortcodes **/
.activity-fields-profil{
    padding: 0;
    margin: 0;
    list-style: none;
}
.activity-fields-profil a{
    color: currentColor;
}
.activity-fields-profil a:hover{
    text-decoration: underline;
}

.child-fields-list{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.child-fields-list li:not(:last-child){
    margin-bottom: 20px;
}
.child-fields-list .picto{
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.child-fields-list .picto img{
    width: 26px;
}
.child-fields-list a{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    color: var(--e-global-color-accent);
    text-transform: uppercase;
}
.child-fields-list a:after{
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--e-global-color-accent);
    margin: 3px 0 0;
    transition: width .3s cubic-bezier(.58,.3,.005,1);
}
.child-fields-list a:hover:after{
    width: 100%;
}

.rebound-child-fields h2{
    margin: 0 0 50px;
}
.rebound-child-fields .child-fields{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.rebound-child-fields .child-fields a{
    width: 100%;
    padding: 10px 30px;
    background-color: var(--e-a-color-white);
    font-family: var(--e-global-typography-primary-font-family);
    color: var(--e-global-color-text);
    font-size: 2.6rem;
    font-weight: bold;
    border: 1px solid var(--e-a-color-white);
    box-shadow: 0px 3px 6px #00000029;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    text-align: center;
}
.rebound-child-fields .child-fields a:hover{
    border-color: var(--e-global-color-text);
}
.rebound-child-fields h2 br{
    display: none;
}
@media (min-width: 768px){
    .rebound-child-fields:not(.only-one) .child-fields a{
        width: calc(100% / 3);
    }
}
@media (min-width: 768px){
    .rebound-child-fields.only-one{
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .rebound-child-fields.only-one h2{
        margin: 0;
        flex: 1;
    }
    .rebound-child-fields.only-one h2 br{
        display: block;
    }
    .rebound-child-fields.only-one .rebound-child-fields{
        width: calc(100%/ 3);
    }
}

/** CONTENT TOGGLE **/
.wabg-content-toggle > .e-con-inner{
    border-bottom: 1px solid black;
}
.wabg-content-toggle .elementor-button-icon{
    transition: transform .3s ease-in-out;
}
.wabg-content-toggle .toggle-content {
    grid-template-rows: 0fr!important;
    transition: grid-template-rows 0.3s ease-out!important;
}

body:not(.elementor-editor-active) .wabg-content-toggle .toggle-content > div {
    overflow: hidden;
}
.wabg-content-toggle.active .elementor-button-icon{
    transform: rotate(180deg);
}
.wabg-content-toggle.active .toggle-content {
    grid-template-rows: 1fr!important;
}

/** Formulaires **/
.elementor-form{
    accent-color: var(--e-global-color-accent);
}
.elementor-form .elementor-field-type-html{
    margin-bottom: 27px;
}
.elementor-form .elementor-field-type-html h3{
    margin: 0;
}

.elementor-form .required-mention{
    color: var(--e-global-color-accent);
}
.elementor-form .elementor-select-wrapper .select-caret-down-wrapper svg{
    display: none;
}
.elementor-form .elementor-select-wrapper .select-caret-down-wrapper:before{
    content: '';
    background: url(./assets/icon-chevron-down.svg) center no-repeat;
    display: block;
    width: 12px;
    height: 8px;
    background-size: cover;

}

.elementor-field-type-acceptance input,
.elementor-field-type-radio input{
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.elementor-field-type-acceptance input+label,
.elementor-field-type-radio input+label{
    padding-left: 25px;
    position: relative;
}
.elementor-field-type-radio .elementor-field-subgroup.elementor-subgroup-inline{
    display: flex;
    justify-content: space-between;
}
.elementor-field-type-acceptance input+label:before,
.elementor-field-type-radio input+label:before{
    content: '';
    display: block;
    position: absolute;
    top:  0;
    left: 0;
    width: 19px;
    height: 19px;
    border: 1px solid var(--e-global-color-accent);
    background: var(--e-a-color-white);
}

.elementor-field-type-radio input+label:before{
    border-radius: 50%;
}
.elementor-field-type-radio input:checked+label:after{
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--e-global-color-accent);
}

.elementor-form .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option label{
    display: block;
}

.elementor-field-type-acceptance input:checked+label:after{
    content: '';
    display: block;
    position: absolute;
    background: url(./assets/icon-check.svg) center no-repeat;
    background-size: cover;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
}

.elementor-swiper .elementor-main-swiper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.elementor-swiper .elementor-swiper-button svg{
    display: none;
}
.elementor-swiper .elementor-swiper-button:before{
    content: '';
    display: block;
    background: url(./assets/icon-arrow-right.svg) center no-repeat;
    background-size: cover;
    width: 23px;
    height: 23px;
}
.elementor-swiper .elementor-swiper-button:hover:before{
    background-image: url(./assets/icon-arrow-right-hover.svg);
}
.elementor-swiper .elementor-swiper-button-prev:before{
    transform: rotate(180deg);
}
.elementor-swiper .elementor-swiper-button-prev{
    margin-right: 60px;
}
.elementor-element .elementor-swiper .swiper .elementor-swiper-button{
    position: static;
    transform: none;
    margin-top: 60px;
}

.elementor-swiper .swiper-pagination-progressbar.swiper-pagination-horizontal{
    bottom: 40px;
    top: auto;
}
.elementor-swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
    height: 300%;
    top: -100%;
}

@media (min-width: 1240px) {
    .elementor-swiper .elementor-main-swiper{
        justify-content: flex-end;
    }
    .elementor-swiper .elementor-swiper-button-next{
        margin-right: 80px;
    }
    .elementor-swiper .swiper-pagination-progressbar.swiper-pagination-horizontal{
        width: calc(100% - 15px);
    }
}

#orejime .orejime-Notice-text:before{
    font-weight: bold;
}

.recaptcha-orejime .elementor-widget-button{
    margin-top: 20px;
}