@charset "UTF-8";

.search-by-json {
    width: 100%;
    position: relative;
}

.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-wrap {
    box-shadow: 0 4px 8px #0000000a;
    width: 100%;
    border-radius: 8px;
}

.search-by-json .input {
    position: relative;
    border-radius: 8px;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    background-color: #FFFFFF;
}

.search-by-json .input input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    color: #212121;
    font-size: 13px;
    min-width: 245px;
}

.search-by-json .input:has(input:focus) {
    border-color: var(--color2);
}

.search-by-json .input input::placeholder {
    color: #7B7B7B;
    font-size: 12px;
}

.search-by-json .input .empty {
    font-size: 19px;
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    color: var(--color1);
    bottom: 0;
    display: flex;
    align-items: center;
}

.search-by-json .input .icon {
    cursor: pointer;
    color: #121212;
    font-size: 20px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.search-by-json .input.active .icon {
    color: var(--color3);
}

.search-by-json .input .icon img {
    width: 20px;
}

.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: 100%;
    background: #FFF;
    border: 1px solid rgba(78, 54, 70, 0.36);
    border-radius: 12px;
    margin-top: 5px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    right: 0;
    max-height: 95vh;
    overflow: auto;
    padding: 1.5rem;
}

.search-by-json .body .is-search .list-category ul {
    text-wrap: nowrap;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
    margin: 1.5rem 0;
}

.search-wrap .services-alls {
    gap: 8px;
    color: var(--color1);
    transition: 0.3s;
    font-size: 14px;
}

.search-wrap .services-alls:hover {
    color: var(--color2);
    gap: 12px;
}

.search-wrap .posts-alls {
    gap: 8px;
    color: var(--color2);
    transition: 0.3s;
    font-size: 14px;
}

.search-wrap .posts-alls:hover {
    color: var(--color1);
    gap: 12px;
}

.search-wrap .services-alls i,
.search-wrap .posts-alls i {
    background-color: var(--color2);
    color: #fff;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.list-services,
.list-posts {
    overflow: auto;
    max-height: 250px;
    padding-right: 15px;
}

/* width */
.list-services::-webkit-scrollbar,
.list-posts::-webkit-scrollbar {
    height: 4px !important;
    width: .3rem !important;
}

/* Track */
.list-services::-webkit-scrollbar-track,
.list-posts::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
    border-radius: 0.5rem !important;
}

/* Handle */
.list-services::-webkit-scrollbar-thumb,
.list-posts::-webkit-scrollbar-thumb {
    background: var(--color2);
    height: 4px !important;
    border-radius: 0.5rem;
}

/* Handle on hover */
.list-services::-webkit-scrollbar-thumb:hover,
.list-posts::-webkit-scrollbar-thumb:hover {
    background: rgb(29 38 79 / 75%);
}

.search-by-json .body .default p {
    text-align: center;
    padding-top: 10px;
    color: #8b8b8b;
}

.search-by-json .body .default .popular,
.search-by-json .body .is-search {
    text-align: left;
}

.search-by-json .body .default .popular .title-popular {
    font-size: 20px;
    line-height: 37px;
    color: var(--color2);
    font-family: var(--bold_font);
    margin-bottom: 1.5rem;
}

.search-by-json .body .default .popular .menu-popular ul {
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
}

.search-by-json .body .is-search .list-category ul li {
    margin: 2px .125rem;
    text-align: center;
    display: inline-block;
}

.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
    font-family: 'DANA_bold';
    border: 1px solid #E9EBF5;
    border-radius: 24px;
    font-size: 15px;
    color: var(--color2);
    padding: 12px 30px;
    transition: 0.4s ease;
}

.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover {
    color: var(--color1);
}

.search-by-json .body .not-found {
    color: var(--color2);
    font-size: 16px;
    margin: 50px 0;
}

.search-by-json .body .is-search {
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
}

.search-by-json .body .is-search .category {
    margin-bottom: 10px;
    flex: 0 0 100%;
    max-width: 100%;
    overflow: auto;
}

.is-search .services,
.is-search .posts {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
    /* IE11 */
    scrollbar-face-color: #bfbfbf;
    scrollbar-shadow-color: #bfbfbf;
    scrollbar-track-color: #e6e6e6;
    scrollbar-arrow-color: #e6e6e6;
    /* firefox: first color thumb, second track */
    scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
}

.search-by-json .body .is-search .title-services,
.search-by-json .body .is-search .title-posts,
.search-by-json .body .is-search .title-category {
    font-size: 20px;
    text-align: left;
    color: var(--color2);
    font-family: var(--bold_font);
    line-height: 37px;
}

.popup-footer-search .search-wrap {
    position: fixed;
    z-index: 99999;
    inset: 0 15px;
    max-width: 768px;
    margin: auto;
    top: 15%;
}

.popup-footer-search {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.popup-footer-search.popup-search-active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.search-by-json .body .is-search .item {
    border: 1px solid #E6E6E6;
    display: grid;
    grid-template-columns: 1fr 3fr 0fr;
    padding: 10px;
    align-items: center;
    gap: 15px;
    border-radius: 6px;
    margin: 24px 0;
    min-height: 80px;
    transition: 0.3s;
}

.search-by-json .body .is-search .item:hover {
    border-color: var(--color1);
}

.search-by-json .body .is-search .item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
}

.search-by-json .item-link {
    color: #121212;
    position: relative;
    text-align: right;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
}

.search-by-json .body .is-search .products .item:hover .item-link i {
    color: var(--color1);
}

.search-by-json .body .is-search .item:hover .item-link i {
    color: var(--color2);
}

.search-by-json .item-link i {
    font-size: 1rem;
    transition: 0.3s
}

.search-by-json .body .is-search.item .img img {
    width: 64px;
}

.search-by-json .body .is-search .item .title {
    font-size: 1rem;
    line-height: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--color2);
    font-family: var(--bold_font);
    transition: 0.3s;
}

.is-search .item-link i {
    background: rgba(2, 74, 99, 0.1);
    color: var(--color3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    font-size: 1rem;
    transition: 0.3s;
}

.is-search .list-services .item:hover .title,
.is-search .list-services .item:hover .item-link i,
.is-search .list-posts .item:hover .title {
    color: var(--color1) !important;
}

.search-banner {
    border-radius: 12px;
    overflow: hidden;
}

.search-banner img {
    border-radius: 12px;
    margin: auto;
}

.search-by-json .body::-webkit-scrollbar {
    width: .5rem;
}

.search-by-json .body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.5rem;
}

.search-by-json .body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0.5rem;
}

.search-by-json .body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media screen and (min-width: 768px) {
    .search-by-json .body {
        width: 100%;
    }
}

@media screen and (max-width: 992px) {

    .is-search .services,
    .is-search .posts {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px 0
    }

    .search-by-json .body .is-search .item {
        grid-template-columns: 1fr 8fr 0fr;
    }

    .search-by-json .body {
        max-height: 85vh
    }

    .search-by-json .input {
        border: 1px solid var(--color1);
        background: #fff;
    }

    .search-by-json .input .icon {
        color: var(--color1);
    }

    .search-by-json .body .default .popular .menu-popular ul {
        gap: 2rem 10px;
    }

    .search-by-json .body .is-search .list-category ul {
        flex-wrap: wrap;
        display: flex;
        gap: 1.5rem 0px;
        margin: 1rem 0 2rem;
    }

    .popup-footer-search .search-wrap {
        top: 5%;
    }
}

@media screen and (max-width: 768px) {
    .popup-footer-search .search-wrap {
        max-width: calc(100% - 30px);
    }

    .search-by-json .body {
        padding: 2rem 1rem;
    }

    .search-by-json .body .is-search .item .title {
        font-size: 14px;
    }

    .search-by-json .body .default .popular .title-popular {
        font-size: 1rem;
    }

    .search-by-json .body .default .popular .menu-popular ul li a,
    .search-by-json .body .is-search .list-category ul li a {
        font-size: 13px;
    }
}

@media screen and (max-width: 576px) {
    .search-by-json .body .is-search .item {
        grid-template-columns: 1fr 2fr 0fr;
    }
}