/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2018 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

#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: 1px;
}

#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: 36px;
    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-divider {
    color: #fff;
    background: var(--primary);
    padding: 6px 8px;
}

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

#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);
    height: auto;
    /*overflow: auto;*/
    position: absolute;
    top: 60px;
    z-index: 9999;
}

#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;
    font-weight:bold;
    color:#FF0000;
}

#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;
}

/* 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;
}