.am_search_popup {
    position: absolute;
    right: 0;
    margin-top: 5px;
    text-align: left;
    /*border-radius: 8px;*/
    /*font: 12px Arial, Helvetica, sans-serif;*/
    z-index: 1000;
    /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);*/
    border: thin solid #ddd;
    max-height: calc(100vh - 7em);
    overflow-y: auto;
}

.am_search_popup {
    /*border: 1px solid #1184D1;*/
    /*border-top-width: 1px;*/
    /*background-color: #1184D1;*/
    width: 355px;
}

.am_search_popup div.am_element:hover,
.am_search_popup div.am-category:hover,
.am_search_popup div.am_element.active,
.am_search_popup div.am-category.active {
    /*background: #eb8a0e;*/
    background: #eee;
}



@media only screen and (max-width: 770px) {
    .am_search_popup {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .price_footer,
    .am_right {
        width: 100%;
    }

    .price_footer div.price_cell {
        display: inline-block;
        text-align: left;
    }

    .price_footer div {
        display: inline-block;
        text-align: right;
    }

    .am_search_popup {
        border-width: 0 !important;
        border-radius: 0 !important;
        height: 100%;
        background-color: white !important;
    }

    .am_search_popup_inner {
        border-radius: 0 !important;
    }

    .more_results {
        font-size: 14pt;
    }
}

.am_search_popup_inner {
    /*border: 1px solid #a5a5a5;*/
    /*border-radius: 7px;*/
    overflow: hidden;
}

.am_search_popup div.am_element, div.am-categories, div.am-products {
    float: none;
    width: 100%;
    color: black;
    background: #fff;
}

.am-categories {
    padding: 5px 15px 10px;
}

.am-categories .am-container-title {
    padding-top: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dadada;
}

.am_search_popup .am-categories .category-name {
    font-weight: 400;
}

.am-products > .am-container-title {
    padding-top: 10px;
    margin: 0 15px 10px;
    border-bottom: 1px solid #dadada;
}

.am_search_popup div.am_element > div {
    padding: 10px;
    float: none;
}

.am_image{
    width: 40%;
}
.am_image > img {
    /*border: 1px solid #bec4c8;*/
    display: block;
    max-width: 100%;
    height: auto;
}

.am_search_popup .price-box {
    margin: 0;
}

.am_search_popup .price_footer {
    margin-top: 10px;
}
.price_footer .add2cart {
    display: inline-block;
}
.am_search_popup .price_cell {
    vertical-align: middle;
    padding-right: 3px;
    margin-bottom: 5px;
    display: inline-block;
}

.am_search_popup .regular-price .price,
.am_search_popup .am_title {
    font-weight: normal;
    font-size: 12px;
    float: none;
}

.am_search_popup .am_title {
    font-weight: bold;
}

.am_search_popup .am_image {
    display: table-cell;
    padding-right: 10px;
}

.am_search_popup .am_right {
    display: table-cell;
    vertical-align: top;
    /*padding-left: 10px;*/
    /*border-left: 1px solid #adb5b9;*/
}

.am_search_popup a {
    text-decoration: none !important;
}

#search_mini_form #search.loading,
.form-search #search.loading {
    background: url(../../images/amxsearch_loader.gif) no-repeat 95% center;
    position: relative;
    z-index: 11;
}

#search_mini_form .search-button {
    z-index: 10;
}

.am_search_popup .ratings {
    margin: 0 0 3px;
}

.am_search_popup .rating-box {
    background: url(../../images/am_xsearch_bkg_rating.png) 0 0 repeat-x;
}

.am_search_popup .rating {

    background: url(../../images/am_xsearch_bkg_rating.png) 0 100% repeat-x;
}

.am_search_popup div.am_element:hover .rating-box {
    background: url(../../images/am_xsearch_bkg_rating_white.png) 0 0 repeat-x;
}

.am_search_popup div.am_element:hover .rating {
    background: url(../../images/am_xsearch_bkg_rating_white.png) 0 100% repeat-x;
}

.am_search_popup .am_title,
.am_search_popup .am-category a{
    font-weight: bold;
    padding-bottom: 3px;
}

.am_search_popup div.am_element {
    font-size: 10px;
}

.am_search_popup .regular-price .price {
    /*font-style: italic;*/
    /*font-weight: bold;*/
}

#am_search_container {
    position: relative;
    clear: both;
    z-index: 40000;
}

.am_search_popup .more_results {
    padding: 10px 0;
    background: #FFF;
    text-align: center;
    font-weight: bold;
    display: block;
}

.button.btn-cart {
    white-space: inherit;
}

.am_search_popup div.am-category {
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0px 5px 15px;
}


.amhighlight {
    background: #ffe680;
}

.am_search_popup div.am_element .am_title,
.am_search_popup div.am_element .regular-price .price,
.am_search_popup div.am_element,
.am_search_popup div.am_element a,
.am_search_popup div.am-category a {
    /*color: #202020;*/
}

.am_search_popup div.am_element:hover .am_title,
.am_search_popup div.am_element:hover .regular-price .price,
.am_search_popup div.am_element:hover,
.am_search_popup div.am_element:hover a,
.am_search_popup div.am_element.active .am_title,
.am_search_popup div.am_element.active .regular-price .price,
.am_search_popup div.am_element.active,
.am_search_popup div.am_element.active a,
.am_search_popup div.am-category:hover a, {
.am_search_popup div.am-category.active a {
    /*color: #E3E3E3;*/
}

.am_search_popup div.am_element:hover .amhighlight,
.am_search_popup div.am-category:hover .amhighlight,
.am_search_popup div.am_element.active .amhighlight {
.am_search_popup div.am-category.active .amhighlight {
    /*background-color: #1184D1;*/
}