.am_search_popup{
	position: absolute;
    right: 0;
    margin-top: 38px;
    text-align: left;
    z-index: 1000;
    border: 1px solid #ececeb;
    background: #fff;
    padding: 20px;
    width: 410px;
    -webkit-box-shadow: 9px 9px 38px -8px rgba(0,0,0,0.20);
    -moz-box-shadow: 9px 9px 38px -8px rgba(0,0,0,0.20);
    box-shadow: 9px 9px 38px -8px rgba(0,0,0,0.20);
	overflow: hidden;
	overflow-y: auto;
}


@media only screen and (max-width: 991px) {     

    .am_search_popup{
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .price_footer,
    .am_right{
        width: 100%;
        
    }
    
    .price_footer td.price_cell{
        text-align: left;
    }
    .price_footer td{
        text-align: right;
    }
    

}

.am_search_popup_triangle{
    position: absolute;
    width: 0;
    height: 0;
    right: 20px;
    top: 40px;
    box-sizing: border-box;
    border: 18px solid black;
    border-color: transparent transparent #fff #fff;
    transform-origin: 0 0;
    transform: rotate(135deg);
    -webkit-box-shadow: -2px 2px 0px 0 rgba(229, 229, 229, 0.6);
    -moz-box-shadow: -2px 2px 0px 0 rgba(229, 229, 229, 0.6);
    box-shadow: -2px 2px 0px 0 rgba(229, 229, 229, 0.6);
    z-index: 20000;
}

.am_search_popup_inner{
    overflow: hidden;
}
.am_search_popup_inner .price-box span.price-label {
	display: none;	
}
.am_search_popup_inner .price-box .old-price .price {
	text-decoration: line-through;	
}


.am_search_popup div.am_element {
    /*min-height: 90px;*/
    /*display: inline-block;*/
    float: none;
    width: 100%;
    /*padding: 5px;*/
    border-bottom: 1px solid #ececeb;
	color: #1a1a1a;
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;

}
.am_search_popup div.am_element:hover,
.am_search_popup div.am_element.active {
        background: #e9e8e8; 
}

.am_search_popup div.am_element > div{
    padding: 0px;
    float: none;
}



/*.am_search_popup div{
    float: left;
}*/

.am_image>img{
    width: 90px;
    height: 90px;
    /*padding-right: 5px;*/
}


.am_search_popup .price-box{
    margin: 0px;
}

.am_search_popup .price_footer{
    margin-top: 5px;
}

.am_search_popup .price_cell{
    vertical-align: middle;
    padding-right: 3px;
}

.am_search_popup .regular-price .price,
.am_search_popup .am_title{
    font-weight: normal;
    float: none;   
}
.am_search_popup .am_title {
	font-weight: bold;	
}


.am_search_popup .am_image{
    display: table-cell;
    padding-right: 10px;
    width: 90px;
    height: 90px;
}

.am_search_popup .am_right{
    display: table-cell;
    vertical-align: top;
    padding-left: 10px;
    width: auto;
}

.am_search_popup a{
    text-decoration: none !important;
}

#search_mini_form #search.loading,
.form-search #search.loading {

    background-image: url(../../images/amxsearch_loader.gif); 
    background-position: 95% center; 
    background-repeat: no-repeat;
    
    position: relative;
    z-index: 11;
}

#search_mini_form .search-button{
    z-index: 10;
} 

.am_search_popup .ratings{
    margin: 0px;
    margin-bottom: 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{
    padding-bottom: 3px;
}


#am_search_container{
    position: relative;
    clear: both;
    z-index: 99999;
    /*margin-top: 5px;*/
}

.am_search_popup .more_results {
	display: block;
    background: #ee3a90;
    color: #fff;
    font-size: 18px;
    height: 40px;
    line-height: 37px;
    border-radius: 25px;
    font-weight: normal;
    width: 100%;
    text-align: center;
	margin-top: 20px;
}
.am_search_popup .more_results:hover {
	background-color: #373e49;
    color: #fff;
}

/** varius **/

.am_search_popup div.am_element:hover,
.am_search_popup div.am_element.active {
	background: #e9e8e8; 
}
    
.amhighlight {
	background: #88b04b;
	color: #fff;
}
    
    
.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 {
	color: #202020; 
}
     
.am_search_popup div.am_element:hover .amhighlight,
.am_search_popup div.am_element.active .amhighlight {
	background-color: #88b04b;
}
@media (max-width: 992px) {
	#am_search_container {
		top: 35px;	
	}
	header.sticky #am_search_container {
		top: 15px;	
	}

}