/*
Theme Name: flatsome-ztb
Description: 搜索表单
Author: UX Themes
Template: flatsome
Version: 3.11.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.mfp-ready .mfp-close {
    display: none !important;
}
.dashicons {
    font-family: "dashicons" !important;
}
div#main-menu {
    height: 100%
}

input#dyp_new_get_search_query::placeholder {
    color: black !important;
}

.mfp-container.mfp-s-ready.mfp-inline-holder::before {
    display: none;
}

@media screen and (max-width:850px) {
    .mfp-content {
        width: 90% !important;
        background: white !important;
    }

    .nav-sidebar.nav-vertical {
        flex-flow: wrap;
        height: 100%
    }
    div#main-menu .sidebar-menu.no-scrollbar {
        height: 100%;
        padding: 50px 0 0 0 !important;
    }
    #mega-menu-wrap-primary_mobile {
        width: 100%;
    }

    .xoo-wsc-sc-bki {
        font-size: 25px !important;
    }

    .xoo-wsc-sc-bki {
        font-size: 25px !important;
    }
    .header-wrapper div#masthead .iconmenu {
        color: black !important;
    }
        .home .header-wrapper div#masthead .iconmenu {
        color: white !important;
    }
        .home .header-wrapper.stuck div#masthead .iconmenu {
        color: black !important;
    }
    .home .header-wrapper.stuck div#masthead span.xoo-wsc-sc-count {
        color: black !important;
    }
        .header-wrapper span.xoo-wsc-sc-count {
        color: black !important;
    }
        .home .header-wrapper span.xoo-wsc-sc-count {
        color: white !important;
    }


    li.account-item {
        padding: 0;
        width: 8% !important;
        background-color: transparent !important;
        border-top: 0 !important;
    }

    .mfp-container .mfp-content li.header-search-form {
        padding: 0 !important;
        display: inline-block !important;
        border: 0;
        width: 90% !important;
    }

    .mobile-sidebar>.sidebar-menu>.nav>.account-item>a:before {
        content: '\e621';
        font-family: iconfont !important;
        font-size: 16px;
        color: #000;
        opacity: 1;
    }

    span.header-account-title {
        display: none;
    }

    li.account-item button.toggle {
        display: none;
    }

    .header-search-form-wrapper>.searchform-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .header-search-form-wrapper>.searchform-wrapper>.searchform {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
        position: relative;
        width: 75%;
    }

    .header-search-form-wrapper>.searchform-wrapper>.searchform>div {
        overflow: hidden;
        transition: width .5s ease-in-out;
        width: 85%;
    }


    .header-search-form-wrapper>.searchform-wrapper>.searchform>div {
        width: 0;
        padding: 0 !important;
    }

    .dyp_new_get_search_input {
        display: flex;
        align-items: center;
        width: 90%;
    }

    .dyp_new_get_search_input .iconfont {
        font-size: 4.7vw;
        color: #000;
        margin-right: 24px;
        margin-left: 15px;
    }

    #dyp_new_get_search_query {
        border: 0 !important;
        box-shadow: none !important;
        height: 46px;
        padding: 0;
        font-size: 14px;
        color: #000;
        line-height: 1;
        font-family: "Verahr" !important;
        background: none !important;
    }

    .dyp_new_get_search_ipt_box>div:nth-child(2) {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 45px;
        width: 10%;
    }

    .header-search-form-wrapper>.searchform-wrapper>div:last-child {
        display: none;
    }

    .autocomplete-suggestion {
        padding: 10px 20px 10px 10px !important;
    }

    .dyp_new_clear_search_btn {
        cursor: pointer;
        display: flex;
        width: 100%;
        align-items: center;
        height: 100%;
        justify-content: flex-end;
    }

    .dyp_new_clear_search_btn>i {
        font-size: 4.3vw;
        color: #000;
    }

    .header-search-form-wrapper>.searchform-wrapper>.searchform .live-search-results {

        position: absolute;
        background: white;
        bottom: 60px;
        width: 90vw !important;
        right: -47px;
        box-shadow: 0 -7px 9px 0 rgb(154 154 154 / 7%);
    }

    .autocomplete-suggestion img {
        width: 20vw;
        min-height: 27vw;
        border-radius: inherit !important;
    }

    .mfp-wrap .lll-trigger-search {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #dedede;
        padding: 25px 8px 21px;
    }

    .mfp-wrap .lll-trigger-search span {
        color: #000;
        font-family: "Verahr" !important;
        font-size: 14px;
        cursor: pointer;
        line-height: 1;
    }

    .dyp_new_search_results_list .autocomplete-suggestions {

        display: flex;
        max-height: 75vh !important;
        flex-direction: column;
        overscroll-behavior: contain;
        overflow-y: auto;
        padding: 10px;
    }

    .dyp_new_loading {
        visibility: hidden;
        position: absolute;
        left: calc(50% - 32px);
        top: 200px;
    }

    .new_click_jk {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 15px;
    }


    .flex-col span.dyp_new_clear_search_btn {
        display: none;
    }
}

@media screen and (min-width: 850px) {
    .header-wrapper.stuck div#masthead .xoo-wsc-icon-bag1 {
        color: black !important;
    }
    #header {
        z-index: 9999;
    }

    body>.mfp-wrap>.mfp-container {
        width: 100%;
        height: 70vh;
        top: 128px;
        overflow: auto;
        right: 0;
        left: unset;
        padding: 0;
    }

    body>.mfp-wrap.mfp-ready>.mfp-container>.mfp-content {
        background-color: #fff !important;
        z-index: 9999999;
        top: 0 !important;
        height: unset !important;
    }
    .header-wrapper div#masthead i {
        color: black !important;
    }
    .header-wrapper div#masthead span.xoo-wsc-sc-count {
        color: black !important;
    }
    
    .home .header-wrapper div#masthead i {
        color: white !important;
    }
    .home .header-wrapper.stuck div#masthead i {
        color: black !important;
    }
    .home .header-wrapper div#masthead span.xoo-wsc-sc-count {
        color: white !important;
    }
    .home .header-wrapper.stuck div#masthead span.xoo-wsc-sc-count{
            color: black !important;
    }
    .mfp-wrap #search-lightbox {
        max-width: 100%;
    }

    .dyp_new_get_search_ipt_box {
        padding: 0 7.25vw 0;
    }

    .dyp_new_get_search_input {
        display: flex;
        align-items: center;
    }

    .dyp_new_get_search_input .iconfont {
        font-size: 1.2vw;
        color: #000;
        margin-right: 30px;
    }

    #dyp_new_get_search_query {
        border: 0 !important;
        box-shadow: none !important;
        height: 90px;
        padding: 0;
        font-size: 1.11vw;
        background: none;
        border-radius: inherit;
        line-height: 1;
        font-family: "Verahr" !important;
    }

    .autocomplete-suggestion img {
        width: 100% !important;
        height: auto !important;
        border-radius: inherit !important;
    }

    .dyp_new_clear_search_btn {
        cursor: pointer;
    }

    .dyp_new_clear_search_btn>i {
        font-size: 1vw;
        color: #000;
    }

    .dyp_new_search_results_list {
        padding: 0 7.01vw;
    }

    .mfp-wrap .lll-trigger-search {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #dedede;
        padding: 25px 0 21px;
        margin-bottom: 32px;
    }

    .mfp-wrap .lll-trigger-search span {
        color: #000;
        font-family: "Verahr" !important;
        font-size: 16px;
        cursor: pointer;
        line-height: 1;
    }

    .dyp_new_loading {
        visibility: hidden;
        position: absolute;
        left: calc(50% - 40.45px);
        top: 200px;
    }

    .dyp_new_search_results_list .autocomplete-suggestions {
        max-height: unset !important;
        display: flex;
        align-items: center;
    }

    .dyp_new_search_results_list .autocomplete-suggestion {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: 25%;
        border: 0;
        padding-bottom: 32px;
        background: #fff;
        cursor: pointer;
        margin-right: 15px;
    }

    .dyp_new_search_results_list .autocomplete-suggestions>div:nth-child(n+4) {
        margin-right: 0;
    }


    .search-name {
        font-size: 16px;
        font-weight: 400;
        font-family: "Verahr" !important;
        margin-top: 15px !important;
        padding-left: inherit !important;
        text-align: center;
        color: #000;
    }

    .dyp_new_get_search_input input:not([type=submit]) {
        color: black !important;
    }

    body>.mfp-wrap button.mfp-close {
        display: none;
    }

    .search-name strong {
        font-size: 16px;
        font-weight: 400;
        font-family: "Verahr" !important;
    }






    .autocomplete-suggestion span.woocommerce-Price-amount {
        color: black !important;
        font-size: 16px;
    }

    .autocomplete-suggestion span.search-price {
        padding: 0 !important;
        margin: 0;
        height: auto;
    }

    .dyp_new_search_results_list .autocomplete-suggestions>div:nth-child(n+5) {
        display: none !important;
    }

    .new_click_jk {
        display: none;
    }
}







/*search end*/
/*search end*/