/*
Theme Name: Pixyweb
Theme URI:  https://www.pixyweb.fr
Author:     Pixyweb
Author URI: https://www.pixyweb.fr
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/
#main-header {
    z-index: 999;
}
#main-header.elementor-sticky--active {
   padding-top: 27px;
   padding-bottom: 0;
   background-color: #FFF;
}.home #main-header.elementor-sticky--active {
    background-color: initial;
 }
@media all and (min-width: 1024px) {
    #main-header.elementor-sticky--active .elementor-item {
        color: #2D2D2D;
        /* font-weight: 400; */
    }#main-header.elementor-sticky--active .elementor-item::after {
        background-color: #1B2D57;
        height: 3px;
    }
}#main-header.elementor-sticky--active .btn-annonces a {
    border-color: #1B2D57;
    background-color: #1B2D57;
}#main-header.elementor-sticky--active .btn-annonces a:hover {
    color: #1B2D57;
    background-color: #FFF;
}#main-header.elementor-sticky--active .btn-contact a {
    border-color: #1B2D57;
    background-color: #FFF;
    color: #1B2D57;
}#main-header.elementor-sticky--active .btn-contact a:hover {
    border-color: #1B2D57;
    background-color: #1B2D57;
    color: #FFF;
    border-radius: 5px;
}#main-header.elementor-sticky--active .btn-search i {
    border: solid 1px #1B2D57;
    background-color: #FFF;
    color: #1B2D57;
}#main-header.elementor-sticky--active .btn-search i:hover {
    border-color: #1B2D57;
    background-color: #1B2D57;
    color: #FFF;
}

#main-header .logo-sticky {
    display: none;
}
#main-header.elementor-sticky--active .logo-sticky {
    display: block;
}#main-header.elementor-sticky--active .logo-top {
    display: none;
}

.home #main-header.elementor-sticky--active {
    padding-bottom: 16px;
}.home #main-header::after {
    content: '';
    width: 100vw;
    height: 100%;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0;
    transition: all .3s;
}.home #main-header.elementor-sticky--active::after {
    opacity: 1;
}.home #main-header.elementor-sticky--active .logo-sticky {
    min-width: 285px;
    min-height: 41px;
}
.home #main-header .elementor-nav-menu--dropdown {
    margin-top: 0 !important;
}

#main-header.elementor-sticky--active .elementor-menu-toggle__icon--open svg path {
    fill: #1b2d57;
}#main-header.elementor-sticky--active .elementor-menu-toggle__icon--close {
    color: #1b2d57;
}#main-header:not(.elementor-sticky--active) .elementor-menu-toggle__icon--close {
    color: #FFF;
}

/* FIX WPCF7 */
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output{
    display: block !important;
}

.wpcf7-form .label:has(+.wpcf7-text) {
    pointer-events: none;
}.wpcf7-form .label:has(+.wpcf7-text:focus), .wpcf7-form .label:has(+.wpcf7-text:not(:placeholder-shown))  {
    font-size: 11px;
    top: 4px;
}.wpcf7-form .wpcf7-text::placeholder {
    color: transparent;
}.wpcf7-form input[type="submit"] {
    display: inline-block;
    width: initial;
    padding: 14px 20px !important;
}.wpcf7-form .btn.btn-upload {
    cursor: pointer;
}

/* FIX iphone slider collab */
@media (max-width: 768px) {
    .elementor-widget-block-sliderimg .blocksliderimage-image img {
        height: 300px !important;
        width: auto;
    }
}