.search-form{
    position: relative;
    z-index: 999;
    transition: transform ease .3s;
    width: 100%;
}

.search-form.active{
    position: relative;
    z-index: 1001;
}

.searches-ajax{
    opacity: 0;
    transition: opacity .3s ease;
    overflow: scroll;
    z-index: -1;
    height: 0vh;
}

.stop-scrolling{
    overflow: hidden;
    height: 100%;
}

.input-group{
    display: flex;
    justify-content: center;
}
.input-group-svg{
    align-items: center;
    display: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.search-form.active .input-group-svg{
    opacity: 1;
    display: flex;
}

.input-group-svg svg{
    transform: rotate(-90deg);
    margin-right: 1em;
}

#searchInput{
    border-radius: 15px;
    border: 1px solid rgba(81, 84, 94, 0.40);
    padding: 12px 12px;
    position: relative;
}
.mobile-nav-container.active #searchInput{
    border-color: var(--wp--preset--color--rouge);
}

#searchInput{
    background-image: url('../img/Frame.svg');
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 25px; /* Adjust the padding as needed */
    width: 80%;
}

.searches-title{
    margin-bottom: 1em !important;
}



.searches-ajax.active{
    background-color: white;
    position: absolute;
    z-index: 1000;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    opacity: 1;
    padding:90px calc(var(--container-space)*0.5) 0 calc(var(--container-space)* 0.5)
}

.ajax-search-item{
    display: flex;
    margin-bottom: 10%;
    gap: 10px;
    position: relative;
    z-index: 1002;
    text-decoration: none;
}

.attachment-thumbnail{
    width: 100px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.ajax-item-content-text{
    display: flex;
    flex-direction: column;
}

.ajax-item-content-text div{
    flex: 1;
}

.burger-btn-wrapper .kksr-legend{
    display: none;
}

.ajax-item-content-text{
    text-decoration: none;
    font-family: 'Mohave', sans-serif;
    color: var(--wp--preset--color--gris);
    width: 100%;
}

.datafetch .kksr-legend{
    display: none;
}

@media (min-width:821px){
    .search-form{
        transform: unset !important;
        z-index: 0;
    }

    .searches-ajax.active{
        background-color: white;
        position: absolute;
        z-index: 0;
        height: auto;
        max-height: 40vh;
        width: 50%;
        top: unset;
        bottom: 0;
        left: 50%;
        opacity: 1;
        transform: translate(-50%, 90%);
        padding: 1em 1em 0 1em;
    }
    .searches-ajax.active::-webkit-scrollbar {
        display: none;
      }

    .input-group-svg{
        display: none !important;
    }

    .searches-ajax{
        border-radius: 15px;
    }

   .ajax-search-item{
        z-index: 0;
        width: 100%;
   }

   .datafetch .kksr-legend{
        display: none;
    }
}

.ajax-item-content-text .kksr-stars{
    pointer-events: none;
}