﻿
#autoCompleteSearchPanel {
    width: 48.5%;
    position: absolute;
    border: 1px solid #bbb3b3;
    border-radius: 5px;
    padding: 10px;
    z-index: 999;
    display: none;
    background: white;
}

.imgSearchResult {
    width: 30px;
}

.searchResulCategory {
    font-size: 12px;
    /*color: gray;*/
}

.searchResultRows {
    padding: 5px;
    margin-top: 5px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.searchResultGoodsName {
    font-size: 16px;
    cursor: pointer;
}

.searchResulCategory {
    cursor: pointer;
}

    .searchResulCategory:hover, .searchResultGoodsName:hover {
        color: red !important;
    }

.searchResultRows:hover {
    background: #f1f1f1;
    border-radius: 5px;
}

.selection {
    /*background-color: rgba(255,255,0,0.3);*/
    font-weight: 900;
}
button#btnSearchInAutoComplete {
    position: relative;
    left: 47px;
}
@media only screen and (max-width: 600px) {
    button#btnSearchInAutoComplete {
        position: absolute;
        left: 27px;
    }
    #myUlContainer {
        min-height: auto !important;
    }

    #myUL, #myULSupplier, .myUL, #myUL2 {
        height: auto;
    }

    #txtSearchGoodsAutoComplete {
        max-width: 83% !important;
        margin-right: 30px !important;
    }

    #autoCompleteSearchPanel {
        width: 85% !important;
        margin-right: 30px !important;
    }

    .categoryCard, .goodsCard {
        margin-top: 10px;
        margin-right: 0 !important;
        width: 100%;
    }
}

#txtSearchGoodsAutoComplete {
    display: inline-block;
    max-width: 73%;
    margin-right: 40px;
}

#autoCompleteSearchPanel {
    width: 73%;
    margin-right: 40px;
}
