@charset "UTF-8";
.search-by-json {
    width: 100%;
    color: var(--black);
}
.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 {
    transition: 0.4s ease;
    display: flex;
    align-items: center;
}
.search-by-json .input.active {
    border-color: #15264F;
}
.input:before {
    content: "";
    font-size: 20px;
    position: absolute;
    color: var(--color1);
    z-index: 3;
    right: calc(100% + 165px);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.6s;
}
.input.active:before {
    content: "\e908";
    font-family: 'icomoon';
}
.search-by-json .input input {
    width: 0;
    outline: none;
    background: #23316B0A;
    padding: 8px 12px 8px 44px;
    height: 48px;
    color: #212121;
    font-size: 14px;
    transition: transform 0.4s ease, width 0.4s ease;
    transform: scaleX(0);
    transform-origin: center;
    position: absolute;
    right: 0;
    background: white;
    border-radius: 0;
    display: block;
    z-index: 2;
}
.search-by-json .input.active input {
    min-width: clamp(280px, 22vw, 360px) !important;
    transform: scaleX(1);
}
.search-by-json .input input::placeholder {
    color: #17214C;
    font-size: 12px;
}
.search-by-json .input .empty {
    font-size: 17px;
    position: absolute;
    right: 12px;
    left: auto !important;
    cursor: pointer;
    color: var(--color2);
    border-radius: 0;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-by-json .input > .icon {
    cursor: pointer;
    color: white;
    font-size: 21px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    width: 32px;
    height: 32px;
    z-index: 2;
    padding-right: 16px;
    position: relative;
}
.search-by-json .input > .icon:hover {
    color: var(--color1)
}
.search-by-json .input .icon img {
    width: 20px;
}
.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: clamp(290px, 52vw, 850px) !important;
    background: #FFF;
    text-align: center;
    padding: clamp(24px, 2vw, 32px) clamp(16px, 2vw, 32px);
    margin-top: 22px;
    right: 0;
}
.search-by-json .body .is-search .list-category ul {
    overflow-x: auto;
    text-wrap: nowrap;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
    padding-bottom: 15px;
}
.list-posts,
.list-projects {
    overflow: auto;
    max-height: 410px;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
}
/* width */
.list-posts::-webkit-scrollbar,
.list-projects::-webkit-scrollbar {
    height: 4px !important;
    width: 3px !important;
}
/* Track */
.list-posts::-webkit-scrollbar-track,
.list-projects::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
}
/* Handle */
.list-posts::-webkit-scrollbar-thumb,
.list-projects::-webkit-scrollbar-thumb {
    background: rgb(123, 123, 123) !important;
    height: 4px !important;
}
/* Handle on hover */
.list-posts::-webkit-scrollbar-thumb:hover,
.list-projects::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}
.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: clamp(16px, 2vw, 20px);
    color: var(--black);
    position: relative;
}
.search-by-json .body .default .popular .menu-popular ul {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 3vw, 16px);
    margin-top: clamp(16px, 2vw, 24px);
}
.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 {
    color: var(--color2);
    padding: 4px 8px;
    transition: 0.4s;
    min-width: clamp(120px, 15vw, 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(36px, 3vw, 40px);
    font-size: clamp(14px, 2vw, 16px);
    background: var(--gray);
}
.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: var(--color1);
}
.search-by-json .body .not-found {
    color: #e40000;
    font-size: 16px;
    margin: 50px 0;
}
.search-by-json .body .is-search {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.search-by-json .body .is-search .title-projects,
.search-by-json .body .is-search .title-posts,
.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-products {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--black);
    position: relative;
}
.search-by-json .body .is-search .post-item-hr {
    border: 1px solid var(--gray);
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-direction: row;
}
.search-by-json .body .is-search .post-item-hr:hover {
    color: var(--color1);
}
.search-by-json .body .is-search .post-item-hr .img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: clamp(66px, 5vw, 76px);
    height: clamp(66px, 5vw, 76px);
    flex: 0 0 clamp(66px, 5vw, 76px);
}
.search-by-json .body .is-search .project-item-hr .post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.search-by-json .body .is-search .project-item-hr .img {
    width: clamp(106px, 9vw, 136px);
    height: clamp(66px, 5vw, 76px);
    flex: 0 0 clamp(106px, 9vw, 136px);
}
.search-by-json .item-link {
    color: var(--color3);
    font-size: 13px;
    position: relative;
    text-align: left;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-left: 10px;
}
.search-by-json .item-link i {
    font-size: 10px;
}
.search-by-json .body .is-search.post-item-hr .img img {
    width: 64px;
}
.search-by-json .body .is-search .post-item-hr .title {
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.search-by-json .body .is-search .list-projects .post-item-hr .price {
    text-align: left;
    align-items: flex-end;
}
.search-by-json .body .is-search .list-projects .post-item-hr .price .discount {
    display: inline;
    background: #d53343;
    color: #FFF;
    padding: 5px;
    border-radius: 5px;
    margin-left: 5px;
}
.search-by-json .body .is-search .list-projects .post-item-hr .woocommerce-Price-amount bdi {
    font-size: 14px;
}
.search-by-json .body .is-search .list-projects .post-item-hr del .woocommerce-Price-amount bdi {
    font-size: 12px;
}
.search-by-json .body .is-search .list-projects .post-item-hr .woocommerce-Price-currencySymbol {
    font-size: 13px;
    font-weight: normal;
}
.search-by-json .body .is-search .list-projects .post-item-hr del .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
    font-size: 10px;
    font-weight: normal;
}
.search-banner {
    overflow: hidden;
    margin-top: clamp(40px, 4vw, 56px);
    display: block;
    position: relative;
}
.search-banner:before {
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    left: -24px;
    top: -24px;
    background: white;
    transform: rotate(45deg);
}
.search-banner img {
    width: 100%;
}
@media screen and (max-width: 768px) {
    .search-by-json .body {
        width: 100%;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .search-by-json .input.active .icon,
    .search-by-json .input > .icon {
        color: var(--color1) !important;
        z-index: 3;
    }
}
@media screen and (min-width: 992px) {
    .search-by-json .body {
        width: 175%;
    }
    .search-by-json .input input {
        min-width: 225px;
    }
}
@media screen and (min-width: 1400px) {
    .search-by-json .input input {
        min-width: 300px;
    }
}
@media screen and (max-width: 992px) {
    .search-by-json .body .is-search {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .search-by-json .body .is-search .list-projects .post-item-hr .img {
        grid-area: 1 / 1 / 3 / 2;
    }
    .search-by-json .body .is-search .list-projects .post-item-hr .title {
        grid-area: 1 / 2 / 2 / 3;
    }
    .search-by-json .body .is-search .list-projects .post-item-hr .price {
        grid-area: 2 / 2 / 3 / 3;
    }
}
@media screen and (max-width: 576px) {
    .list-posts,
    .list-projects {
        max-height: 375px;
    }
    .search-by-json .input {
        position: relative;
    }
}
@media screen and (max-width: 370px) {
    .search-by-json .input input {
        min-width: clamp(280px, 22vw, 360px) !important;
        transform: scaleX(1);
    }
}