.ae_megaautocomplete h4{ padding-top:0px; margin-top:0px; margin-bottom:0px; }
.ae_megaautocomplete{ background-color:#292929; width: 1165px; padding:10px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; position: absolute; z-index: 999999; margin: auto; top: 100px; }
@media (max-width: 767px) {
    .user_info { padding-top: 25px !important; height: 50px !important; }
}
.ae_product_autocomplete{ height:120px; width: 45%; float: left; background-color: #171717; padding: 5px; margin: 5px; overflow: hidden; display:block; }
.product_img{ width:32%; float:left; }
.product_name{ height:100%; line-height: 140%; position: relative; }
.product_avail{ bottom: 0; left: 120px; position: absolute; font-size: 11px; font-weight: normal; }
#ae_products { padding: 5px; display: table; width: 100%; }
.ae_megaautocomplete #links, .ae_megaautocomplete #products{ padding-top:10px; }
.ae_megaautocomplete #links a{ line-height:28px; }
.ae_megaautocomplete a { font-weight: bold; font-size: 14px; color:white; text-decoration:none; height: 50px; overflow: hidden; }
.ae_megaautocomplete #ae_categories a { float:left; line-height: 95%; }
.ae_autocomplete_product img{ float:left; padding-right:10px; margin: 5px; }
.ae_autocomplete_category{ float:left; width:18%; margin:5px; padding:5px; }
.ae_autocomplete_category div{ float:left; margin-right:10px; }
.ae_autocomplete_product{ background-size: 18px; background-repeat: no-repeat; background-position: 97% 15%; }
.ae_autocomplete_category span{ display: table-cell; line-height: normal; height: 60px; overflow:hidden; font-size: 83%; }
.ae_autocomplete_product span{ height: 120px; overflow:hidden; }
.ae_megaautocomplete a:hover{ color:#cb0d05; }
.ae_autocomplete_product, .ae_autocomplete_category{ background-color: #171717; display:block; }
.ae_product_text{ display:block; }
.ae_grid_1-4{width:25%; display:block;float:left;padding:5px; background-color: #171717;margin-top: 12px;}
.ae_grid_3-4{width:75%; display:block;float:left;}
.ae_grid_3-3{width:100%; display:block;float:left;}
.ae_autocomplete_product{ float:left; width:46%; margin:7px; padding:5px; }
#ae_manufacturer, .ae_category { margin: 0; border: 0; font-size: 15px; color: red; font-weight: bold; }
@media only screen and (max-width: 1000px) {
    .ae_megaautocomplete{ width:349px; display:flex; flex-direction: column-reverse; }
    .ae_grid_1-4{width:100%; }
    .ae_grid_3-4{width:100%; }
    .ae_grid_4-4{width:100%; }
    .ae_autocomplete_category{width:95%;}
    .ae_autocomplete_product{width:95%;}
    .ae_product_autocomplete{ height:95px; width: 95%; float: none; }
    .product_avail{ left: 95px; }
    .product_name { line-height: 120%; font-size: 12px; }
}

.ac-form { float: left; color: #BFC1C1; background-color: #5C6060; border-radius: 5px; padding: 0px 0px 0px 10px !important; margin: 6px 0 0 0; width: 440px; }
.ac-form .search-icon { display: none; font-family: "FontAwesome" !important; font-size: 32px; position: relative; color: #bfc1c1; padding-bottom: 10px; }
.ac-form .search-icon:before { content: "\f002"; }
.ssa-search-query-input { float:left; display: block; width: calc(100% - 50px); font-size: 15px; height: 45px; line-height: 45px; padding: 6px; margin: 0; border: 0; color: #fff; background: none; }
.ac-form .ae_icon { float:left; color: white; font-size: 13px; background-color: #171717; cursor: pointer; border: 0; margin: 0; padding: 8px 10px; height: 45px; width: 50px; background: none; } 
.ac-form .ae_close_icon { display: none; }
.ac-form .ae_icon .fa:before { font-size: 25px; color: #bcbcbc !important; }
@media (max-width:1550px) {
    .ac-form { width: 30%; margin-left: 2%; }
}
@media (max-width:768px){
    .ac-form { padding-top: 15px!important; padding-bottom: 15px!important; }
    .ac-form .ae_close_icon { display: block; }
    .ae_megaautocomplete { overflow-y: scroll; height: 500px; display: flex; flex-direction: column; }
    .ac-form { float: right; clear: initial; top: 13px; background: none; width: 45px; margin-right: 15px; padding-top: 10px!important; }
    .ac-form .search-icon { display: block; }
    .ac-form .search-input-content { width: 100%; left: 0; top: 50px; position: absolute; background-color: #5C6060; display: none; padding: 22px 10px; }
    .ac-form { cursor: pointer; }
    .ssa-search-query-input { background: none; width: calc(100% - 50px); }
    .ae_search_icon { background: none; width: 50px; }
    .fa-search:before { font-size: 26px; color: #bcbcbc !important; }
    .ae_search_icon { padding: 5px 10px; }
    .ssa-search-query-input { background: none; width: calc(100% - 50px); }
    .ae_search_icon { background: none; width: 50px; }
    .fa-search:before { font-size: 26px; color: #bcbcbc !important; }
    .ae_search_icon { padding: 5px 10px; }
    #ae_p {order: 1;}
    #ae_c {order: 2;}
    #ae_m {order: 3;}
}
/*
@media (max-width:600px){
    .ac-form { width: 29px; padding: 10px 0px 0px 0 !important; margin-right: 0; }
    .ac-form .search-icon:before { font-size: 25px; }
    #ae_p {order: 1;}
    #ae_c {order: 2;}
    #ae_m {order: 3;}
}*/

.block-top.search-minimalize { height: 110px; }
.block-top.search-minimalize .ac-form .search-input-content { position: absolute; background-color: #5C6060; display: block; padding: 0px 0px; width: 94%; left: 3%; top: 64px; margin-top: 0; }
.block-top.search-minimalize .ac-form .ssa-search-query-input { display: block; width: 80%; padding: 6px 12px 6px 6px; height: 36px; line-height: 36px; }
.block-top.search-minimalize .ac-form .ae_search_icon { margin-top: 0px; padding: 4px 0px 0 5px; width: 36px; height: 36px; font-size: 13px; float: right; text-align: center; }
.block-top.search-minimalize .ac-form .fa-search::before { font-size: 21px; color: #bcbcbc !important; }
.block-top.search-minimalize .ac-form .ae_close_icon { margin-left: 0; padding: 4px 5px 0 5px; width: 36px; font-size: 13px; height: 36px; background: none; text-align: center; float: right; }
.block-top.search-minimalize .ac-form .fa-close::before { font-size: 21px; color: #bcbcbc !important; }