/**
* 2007-2021 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-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.search-box{
    position: relative;
}

.search-box {
    float: left;
    height: 90px;
    padding: 23px 0;
    width: 308px;
    margin: 0 30px;
    text-align: left;
    zoom: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*margin-right: 150px;*/
}

@media only screen and (min-width: 960px){
    .search-box  {
        float: none;
        width: 400px;
        flex: 1;
        order: 1;
    }
}

.search-box .inner-search-box {
    position: relative;
    height: 100%;
    zoom: 1;
}
.form-row {
    padding: 5px 0 0;
    zoom: 1;
}
.form-row:before {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.search-box .form-row {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 10;
    /*background-color: #f0f1f8;*/
    border-radius: 25px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: width .4s ease-in-out;
    -webkit-transition: width .4s ease-in-out;
    -o-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;
}

.form-row .input-wrapper {
    position: relative;
    height: 55px;
    border: 0;
    display: flex;
    /*flex-direction: column;*/
    background-color: #e9ebf3;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.search-box .form-row .input-wrapper {
    position: relative;
    padding-left: 25px;
    height: 42px;
    border: none;
    background: 0 0;
    width: 100%;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.search-box .form-row .input-wrapper input {
    height: 100%;
    line-height: 20px;
    padding: 0;
    margin: 0;
    color: #666;
}

.form-row .input-wrapper input{
    display: block;
    height: 100%;
    width: 100%;
    padding: 25px 20px 10px 20px;
    resize: none;
    background: 0 0;
    border: none;
    color: #1e365b;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#simple-search-form{
    height: 100%;
    width: 100%;
}
.search-box .form-row{
    border: 1px solid rgba(45, 44, 66, 0.2);
}
.search-box .form-row:hover{
    border: 1px solid  #2196f3;
}

@media (max-width: 992px) {
    .search-box{
        width: 350px;
        margin: 0;
    }
}

.closethis{
    display: none;
}

.inner-search-box.active{
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow-x: scroll;
    overflow-y:hidden;
    z-index: 9999;

}


@media (max-width: 991px){
.search-box .form-row{
    border-radius: unset;
    height: unset;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 40px auto
}

    .closethis{
        display: block !important;
        position: absolute;
        right: 0;
        padding: 30px;
    }
    .closethis:before{
        content: '\e91b';
        font-family: 'icomoon';
        font-size: 16px;
        line-height: 40px;
        font-weight: 700;

    }
}

.open-search-mobile{
    overflow: hidden;
    height: 100%;
}

