/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    JA Modules <info@jamodules.com>
 * @copyright Since 2007 JA Modules
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

#search_block_top #searchbox, 
#search_block_left #searchbox {
    float: left;
    width: 100%; 
}

#search_block_top .btn.button-search {
    color:#7a7a7a !important;
    background: #fbfbfb;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    color: white;
    width: 50px;
    text-align: center;
    padding: 10px 0 11px 0; 
    margin: 2px;
}

#search_block_left .btn.button-search {
    color:#7a7a7a !important;
    background: #fbfbfb;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    color: white;
    width: 50px;
    text-align: center;
    padding: 10px 0 11px 0; 
    margin: 2px;
}
    
#search_block_top .btn.button-search span,
#search_block_left .btn.button-search span {
    display: none; 
}

#search_block_top .btn.button-search:hover,
#search_block_left .btn.button-search:hover {
    color: #6f6f6f; 
}

#search_block_top #search_query_top,
#search_block_left #search_query_block {
    display: inline;
    padding: 0 13px;
    height: 49px;
    line-height: 45px;
    background: #fbfbfb;
    margin-right: 1px; 
}

#header .header-top .search-widget {
    position: relative;
}

form#searchbox {
  position: relative; 
}

form#searchbox label {
    color: #333333; 
}

form#searchbox input#search_query_block {
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    float: left; 
}

form#searchbox .button.button-small {
    float: left; 
}
    
form#searchbox .button.button-small i {
      margin-right: 0; 
}

#suggestions .suggest-element {
    background-color: #EEEEEE;
    border-top: 1px solid #d6d4d4;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    float:left;
}

#wrapper .suggest-element {
    height: 270px !important;
}

#suggestions .suggest-element:hover{
    background-color: #D4D4D4;
}

#suggestions .suggest-element a{
    text-decoration:none;
}

#suggestions {
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
    background-color: #EEEEEE;
    height: auto;
    /*overflow: auto;*/
    position: absolute;
    top: 60px;
    z-index: 99;
}

#suggestions .suggest-element .container-image {
    float:left;
    margin-right:4%;
    width: 32%;
}

#suggestions .suggest-element .suggest-text {
    float:left;
    width:63%;
}

#suggestions .name {
    float:left;
    width:100%;
    font-size:14px;
    font-weight:bold;
}

#suggestions .reference {
    float:left;
    width:100%;
    font-style:italic;
}

#suggestions .manufacturer, 
#suggestions .manufacturer, 
#suggestions .category {
    float:left;
    width:100%;
    font-weight:bold;
}

#suggestions .short_description {
    float:left;
    width:100%;
}

#suggestions .short_description p {
    margin-bottom: 0px;
}

#suggestions .available_stock {
    font-size: 11px;
    float:left;
    width:100%;
}

#suggestions .price {
    float:left;
    width:100%;
    margin-bottom: 15px;
}

#suggestions .regular-price {
    float:left;
    color: #7a7a7a;
    text-decoration: line-through;
    font-size: .875rem;
    margin-right: 5px;
}

#suggestions .final-price {
    float:left;
    color: #232323;
    font-weight: 700;
}

#suggestions .container-button-add-to-cart {
    float:left;
    width:100%;
}

#suggestions .container-button-add-to-cart form button[type=submit] {
    position: relative;
    color: #fff;
    background-color: #2fb5d2;
}

#suggestions .more-results {
    background-color: #EEEEEE;
    border-top: 1px solid #666666;
    cursor: pointer;
    padding: 0px;
    width: 100%;
    float:left;
}

#suggestions .more-results a {
    padding: 8px;
    width: 100%;
    float:left;
}

#suggestions .more-results p {
    padding: 8px;
}

/* COLUMN */
#suggestions_column {
    width:100%;
    height:auto;
    overflow: auto;
    margin-top:-25px;
    
}

#suggestions_column .suggest-element .container-image {
    float:left;
    margin-right:2%;
    width: 32%;
}

#suggestions_column .suggest-element .suggest-text {
    float:left;
    width:66%;
}

#suggestions .name {
    float:left;
    width:100%;
    font-size:14px;
    font-weight:bold;
}

#suggestions_column .reference {
    float:left;
    width:100%;
    font-style:italic;
}

#suggestions_column .manufacturer, 
#suggestions_column .manufacturer, 
#suggestions_column .category {
    float:left;
    width:100%;
    font-weight:bold;
}

#suggestions_column .short_description {
    float:left;
    width:100%;
}

#suggestions_column .price {
    float:left;
    width:100%;
    margin-bottom: 15px;
    font-weight:bold;
    color:#FF0000;
}

#suggestions_column .suggest-element {
    background-color: #EEEEEE;
    border-top: 1px solid #666666;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    float:left;
}

#suggestions_column .more-results {
    background-color: #EEEEEE;
    border-top: 1px solid #666666;
    cursor: pointer;
    padding: 0px;
    width: 100%;
    float:left;
}

#suggestions_column .more-results a {
    padding: 8px;
    width: 100%;
    float:left;
}

/*wrapper*/
.search-wrapper {
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    position: relative;
}

.search-wrapper .suggest-element {
    width: 50% !important;
    border: 1px solid #d6d4d4;
}

.search-wrapper .suggest-element .container-image {
    margin-right: 2% !important;
    width: 14% !important;
}

.search-wrapper .suggest-element .suggest-text {
    width: 74% !important;
}

@media only screen and (max-width:767px) {
    .search-wrapper .suggest-element {
        width: 100% !important;
    }
    
    .search-wrapper .suggest-element .container-image {
        margin-right: 2% !important;
        width: 14% !important;
    }

    .search-wrapper .suggest-element .suggest-text {
        width: 74% !important;
    }
}