@charset "UTF-8";

#search-by-json-form {
    /*min-width: 320px;*/
}

.search-by-json {
    width: 100%;
    display: flex;
    align-items: center;
    background: #E9EDF5;
    border-radius: 12px;
    transition: all 0.3s;
    margin-inline: auto;
    position: relative;
}

.fast-search-field {
    padding-top: 120px;
}

.search-by-json .d-none {
    display: none !important;
}

.search-by-json .show-hide {
    transition: all .7s;
}

.search-by-json .fast-hide {
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
}

.search-by-json .fast-show {
    opacity: 1;
    visibility: visible;
}

.search-by-json .input {
    position: relative;
}

.search-by-json .input input {
    outline: none;
    text-align: right;
    font-size: 16px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    padding: 0 25px 0 20px;
    border-radius: 8px;
    transition: all 1s;
    opacity: 0;
    z-index: 5;
    color: var(--color1);
    font-size: 13px;
}
.search-by-json .input.active input {
    width: calc(100% - 45px);
    opacity: 1;
    cursor: text;
}

.search-by-json .input {
    width: 100%;
}
/*.search-by-json .input:after {*/
/*    content: '';*/
/*    width: 100%;*/
/*    height: 2px;*/
/*    background-image: linear-gradient(to right, transparent, var(--color1), transparent);*/
/*    display: block;*/
/*}*/

.search-by-json .input input::placeholder {
    color: gray;
}

.search-by-json .input .empty:hover {
    background-color: #f1aeb5;
}

.search-by-json .input .empty {
    font-size: 2.1rem;
    position: absolute;
    top: -1rem;
    z-index: 6;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    left: 2.8rem;
    border: 1px solid #f1aeb5;
    transition: 500ms;
    color: #58151c;
    line-height: 1;
}


.search-by-json .input .icon:hover {
    background-color: #c4c8cb;
}

.search-by-json .input .icon {
    position: absolute;
    transition: 500ms;
    background-color: #cfd6db;
    border: 1px solid #cfd6db;
    top: -1rem;
    left: 0.5rem;
    z-index: 6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.search-by-json .input .icon img {
    width: 1.125rem;
    object-fit: scale-down;
}

.search-by-json .body {
    left: 0;
    top: 1.1rem;
    position: absolute;
    z-index: 99999;
    width: 100%;
    min-width: 600px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    margin-block: 0.25rem;
    text-align: center;
    padding: .5rem;
    overflow-y: auto;
    height: 400px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.search-by-json .body .default p {
    text-align: center;
    padding-top: .5rem;
    color: var(--color1);
    font-size: 1.125rem;
}

.search-by-json .body .default img {
    width: 200px;
    margin-top: 25px;
    opacity: 0.8;
    margin-inline: auto;
}

.search-by-json .body .default .popular,
.search-by-json .body .is-search {
    text-align: right;
}

.search-by-json .body .default .popular .title-popular {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
    color: var(--color1);
}

.search-by-json .body .default .popular .menu-popular ul,
.search-by-json .body .is-search .list-category ul {
    display: block;
}

.search-by-json .body .default .popular .menu-popular ul li,
.search-by-json .body .is-search .list-category ul li {
    text-align: center;
    display: inline-block;
    margin: .2rem .125rem;
}

.search-by-json .body .default .popular .menu-popular ul li:first-child,
.search-by-json .body .is-search .list-category ul li:first-child {
    margin-right: 0;
}

.search-by-json .body .default .popular .menu-popular ul li:last-child,
.search-by-json .body .is-search .list-category ul li:last-child {
    margin-left: 0;
}

.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
    display: block;
    font-size: 0.8125rem;
    border: 1px solid #e2e3e5;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    padding: .375rem .75rem;
    font-weight: 500;
    color: var(--color1);
    transition: 500ms;
    line-height: 1.5;
}

.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover {
    background-color: var(--color1);
    color: #fff;
}

.search-by-json .body .not-found {
    font-size: 1rem;
    margin-top: 4rem;
    color: #d53343;
}

.search-by-json .body .is-search {
    padding: 0.25rem;
}

.search-by-json .body .is-search .category {
    margin-bottom: 1.5rem;
}

.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-posts,
.search-by-json .body .is-search .title-cars {
    font-weight: bold;
    font-size: 1rem;
    color: var(--color1);
}

.search-by-json .body .is-search .posts {
    margin-top: 1.5rem;
}

.search-by-json .body .is-search .list-posts .item:hover,
.search-by-json .body .is-search .list-cars .item:hover {
    background-color: #e2e3e5;

}

.search-by-json .body .is-search .list-posts .item,
.search-by-json .body .is-search .list-cars .item {
    transition: 500ms;
    border: 1px solid #e2e3e5;
    background-color: #e9ecef;
    display: grid;
    grid-template-columns: 4rem 8fr 3fr;
    padding: 10px;
    align-items: center;
    gap: 15px;
    border-radius: 0.25rem;
    margin: 0;
    text-decoration: none;
}
.search-by-json .body .is-search .list-posts .item {
    grid-template-columns: 4rem 11fr;
}

.search-by-json .body .is-search .list-posts .item:hover,
.search-by-json .body .is-search .list-cars .item:hover {
    color: inherit;
}

.search-by-json .body .is-search .list-posts .item .img,
.search-by-json .body .is-search .list-cars .item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0.25rem;
    width: 4rem;
    height: 4rem;
}

.search-by-json .body .is-search .list-posts .item .img img,
.search-by-json .body .is-search .list-cars .item .img img {
    width: 100%;
}

.search-by-json .body .is-search .list-posts .item .title,
.search-by-json .body .is-search .list-cars .item .title {
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--color1);
    padding-left: 2rem;
}

.search-by-json .body .is-search .list-cars .item .price {
    line-height: 1.5;
    text-align: left;
    position: relative;
    width: max-content;
    display: flex;
    margin-right: auto;
    flex-direction: row;
    gap: 6px;
    color: var(--color2);
}

.search-by-json .body .is-search .list-cars .item .price .discount {
    display: inline;
    background: #d53343;
    color: #FFF;
    padding: 0.25rem;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 106%;
}

.search-by-json .body .is-search .list-cars .item .price del {
    font-size: 0.875rem;
    font-weight: bold;
    text-decoration-color: #999;
}

.search-by-json .body .is-search .list-cars .item .price ins {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}





.search-by-json .body::-webkit-scrollbar {
    width: .5rem;
}

/* Track */
.search-by-json .body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.5rem;
}

/* Handle */
.search-by-json .body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0.5rem;
}

/* Handle on hover */
.search-by-json .body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.search-by-json .list-posts,
.search-by-json .list-cars {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-block: .5rem;
}

#search-by-json-form img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#search-by-json-form a {
    text-decoration: none !important;
}


#search-by-json-form .amount bdi {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color1);
}

#search-by-json-form del .amount bdi {
    font-size: .8125rem;
}





@media (max-width:1199.98px) {
    .search-by-json .list-posts,
    .search-by-json .list-cars {
        grid-template-columns: 1fr;
    }

    #search-by-json-form .amount bdi {
        color: var(--color1);
        font-size: 0.875rem;
    }

    #search-by-json-form del .amount bdi {
        font-size: .75rem;
    }

    .search-by-json .body .is-search .list-cars .item .price .discount {
        font-size: 10px;
    }

    .search-by-json .body .is-search .list-cars .item .price span.woocommerce-Price-currencySymbol {
        font-size: 0.75rem;
    }

}

.fast-search-mobile {
    height: 50px;
}
.fast-search-mobile .search-by-json .input input {
    outline: none;
    text-align: right;
    font-size: 16px;
    position: relative;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    border: none;
    background: #E9EDF5;
    padding: 0 25px 0 20px;
    border-radius: 8px;
    transition: all 1s;
    opacity: 1;
    z-index: 5;
    color: var(--color1);
    font-size: 13px;
    cursor: text;
}
.fast-search-mobile .search-by-json .input .empty,
.fast-search-mobile .search-by-json .input .icon {
    top: .25rem;
}
.fast-search-mobile .search-by-json .body {
    top: 2.5rem;
}

@media (max-width:991.98px) {
    .search-by-json .body {
        min-width: 100%;
    }
}

@media (max-width:767.98px) {}

@media (max-width:575.98px) {
    .search-by-json {
        width: calc(100% - 20px);
    }

    .search-by-json .body .default p {
        text-align: center;
        padding-top: .5rem;
        color: var(--color1);
        font-size: .9125rem;
    }

    .search-by-json .body .default img {
        width: 10rem;
        margin-top: 1.5rem;
    }



    .search-by-json .body .is-search .list-posts .item .img,
    .search-by-json .body .is-search .list-cars .item .img {
        width: 3rem;
        height: 3rem;
        flex: 0 0 3rem;
    }

    .search-by-json .body .is-search .list-posts .item .img,
    .search-by-json .body .is-search .list-cars .item .img {

        padding: 0.25rem;
    }

    .search-by-json .body .is-search .list-posts .item,
    .search-by-json .body .is-search .list-cars .item {
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .search-by-json .body .is-search .list-posts .item .title,
    .search-by-json .body .is-search .list-cars .item .title {
        flex: 0 0 75%;padding-left: 0;
    }
}
