/*
Theme Name: Hello Elementor child
Template: hello-elementor

#main-menu a {
    transition: opacity 0.3s, text-decoration-color 0.3s;
    text-decoration-line: line-through;
    text-decoration-color: transparent;
}
*/
#main-menu a:hover {
    text-decoration-color: #c7c7c7;
    opacity: 1 !important;
    /* Force cet élément à être complètement opaque */
}

#mail-to li.elementor-icon-list-item a {
    padding: 0 9px;
}

#mail-to li.elementor-icon-list-item a::before {
    content: '';
    position: absolute;
    left: auto;
    right: 0;
    bottom: -10px;
    width: 0;
    height: 3px;
    -webkit-transition: width .3s;
    transition: width .3s;
    background-color: #fff;
}

#mail-to li.elementor-icon-list-item a:hover::before {
    left: 0;
    right: auto;
    width: 100%;
}

#call-tel {
    background: #ffed00;
    border-radius: 25px;
    transition: background 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

#call-tel .elementor-button {
    padding: 8px 26px !important;
}

#call-tel span {
    z-index: 100;
}

#call-tel:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 25px;
    background: radial-gradient(circle 75px at var(--x) var(--y), #F7FF00 0%, transparent 100%);
}

.top-header-out {
    transform: translateY(-100%);
    transition: transform 0.3s;
    background: #fff;
}

.home #container-menu {
    background: transparent;
}

#container-menu {
    position: fixed;
}

body:not(.home) .top-header-out,
body:not(.home) .menu-on-scroll,
body:not(.home) #container-menu,
body:not(.home) header+div.elementor {
    background: var( --e-global-color-4a28a1d );
}

#bloc-map-infos {
  margin-left: -1.5%;
  margin-bottom: -20px;
}

#bloc-map-infos .elementor-widget-wpr-google-maps {
    margin-top: -20px;
}

.bloc-marker,
.bloc-marker-img-only {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.bloc-marker::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2775FF;
    background-image: linear-gradient(to right, rgba(39, 117, 255, 0.94), rgba(39, 117, 255, 0.94));
}

.bloc-marker-img-only {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
}

#bloc-infos-footer .e-con-inner {
    margin: 0 !important;
}

.facebook-rs:hover {
    opacity: 0.5;
}

.sprite-footer .e-con-inner {
    height: 1px;
    flex-grow: 1;
    opacity: .8;
    background: url("/wp-content/themes/hello-elementor-child/images/sprite.png") 0px -22px;
    background-repeat: repeat;
}

#bloc-title-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page home */
.home #bloc-form input.wpcf7-form-control:not(.wpcf7-submit),
.home #bloc-form textarea { 
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    color: #fff;
}

.home #bloc-form .form-group p {
    margin-bottom: 10px;
}

.home #bloc-form .form-group p label {
    display: flex;
    flex-direction: row;
    align-items: center; 
    gap: 10px;
}

.home #bloc-form .form-group label {
        margin: 0; /* supprime la marge autour du label */
}

.home #bloc-form input.wpcf7-form-control {
    border-bottom: 1px solid #000;
}

.home #bloc-form textarea { 
    border-bottom: none;
    height: 80px;
}

.home #bloc-form input.wpcf7-submit {
    margin: 0 auto;
    display: block;
}

.home #bloc-form .plaque-form,
.home #bloc-form .desc-form {
    text-align: center;
    margin: 0 auto;
}

.home #bloc-form .name-form-inline {
    display: flex;
    justify-content: space-between;
}

/* Animation avant le titre au chargement de la page */
body:not(.home) .bloc-title .before span {
    color: var( --e-global-color-4a28a1d );
}

body:not(.home) .bloc-title .before {
    background: var(--e-global-color-primary);
    visibility: visible;
    animation-name: fadeInUp;
    top: -19px;
    bottom: -12px;
    content: '';
    position: absolute;
    left: -40px;
    width: 4px;
    border-radius: 10px;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0; /* Ajouté pour rendre l'élément complètement transparent au début de l'animation */
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0; /* Ajouté pour rendre l'élément complètement transparent au début de l'animation */
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* YOAST */
.elementor-widget-shortcode .elementor-widget-container .elementor-shortcode a {
    font-family: 'Montserrat';
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--e-global-color-primary);
    margin-right: 10px;
}

.elementor-widget-shortcode .elementor-widget-container .elementor-shortcode .breadcrumb_last {
    display: none;
}

 .menu-on-scroll {
        z-index: 10000;
        position: fixed;
        right: 0;
        width: 100%;
        margin-bottom: 100px;
        background: transparent;
        z-index: 100;
}

@media (min-width: 1700px){
    .elementor-1102 .elementor-element.elementor-element-3bafae1 {
        --width: 30%;
    }
    
    .elementor-1102 .elementor-element.elementor-element-80ec81e {
        --width: 65%;
    }
}

@media screen and (min-width : 1025px) {
    .menu-on-scroll {
        background: transparent;
        top: 45px;
    }
}
@media screen and (max-width: 1024px){
    .menu-on-scroll {
        background:#fff;
        top: 0;
    }
}
