﻿.search_result_container {
    position: absolute;
    z-index: 999;
    top: 65px;
    float: right;
    height: 0px;
    background: #fff;
    background-clip: padding-box;
    display: none;
}

.search_result_container_active {
    position: absolute;
    z-index: 999;
    height: 40rem;
    top: 50px;
    float: right;
    background: #fff;
    flex-direction: row !important;
    padding: 0 !important;
    background-clip: padding-box;
    display: flex;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}


.search_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40rem;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    flex-wrap: wrap
}

    .search_container b {
        background-color: yellow;
        font-weight: normal
    }

    .search_container span {
        font-weight: bold;
    }

    .search_container .search_product_container {
        padding: 0;
        margin: 0
    }

    .search_container ul {
        list-style-type: none;
        padding: 0;
        margin: 0
    }

        .search_container ul li.category_item {
            margin-top: .7rem;
        }

        .search_container ul li.product_item {
            margin-top: 0.5rem;
            display: flex;
            flex-direction: row;
            height: 60px;
            border-bottom: 1px solid #e3e4e6;
        }
        .search_container ul li.product_item_mobile {
            margin-top: 0.5rem;
            display: flex;
            flex-direction: row;
            height: 40px;
            border-bottom: 1px solid #e3e4e6;
        }


.search_left_container {
    display: flex;
    flex-direction: column;
    height: 80%;
}


.search_left_container_inner {
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    height: 80%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-top: .5rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px;
    overflow: auto;
    max-height: 100vh;
}

.search_right_container {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 80%;
}

.search_left_inner {
    height: 40px;
}

.search_right_inner {
    height: 40px;
    border-bottom: 1px solid #dddddd;
}

.search_product_container {
    overflow: auto;
    max-height: 100vh;
}

#divmobilesearch_result_container {
    overflow: auto;
    max-height: 100vh;
}

.search_product_container_mobile {
    padding-top:1rem;
    padding-left:0!important;
    padding-right:0!important
}

.search_all_result {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid #dddddd
}

    .search_all_result a {
        color: #2778f7;
        font-weight: bold
    }

.product_item_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 5rem;
}

    .product_item_inner .product_info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }



        .product_item_inner .product_info p {
            padding: 0 1rem;
            border-right: 1px solid #dddddd;
            font-size: .8rem
        }

            .product_item_inner .product_info p:last-child {
                padding-left: 1rem;
                border-right: 0;
            }

            .product_item_inner .product_info p:first-child {
                border-right: 1px solid #dddddd;
                padding-right: 1rem;
                padding-left: 0;
            }


    .product_item_inner .product_name {
        color: #2778f7;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* number of lines to show */
        line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: .9rem
    }

.product_name_mobile {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: .9rem;
    white-space:nowrap
}

.product_item .product_image {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.product_item .product_figure {
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
}
