#topsearchelastic_widget {
    display: inline-block;
    float: right;
}

#topsearchelastic_widget form {
    position: relative
}

#topsearchelastic_widget form input[type=text] {
    padding: 10px;
    min-width: 255px;
    color: #7a7a7a;
    border: 1px solid rgba(0, 0, 0, .25)
}

#topsearchelastic_widget form input[type=text]:focus {

    color: #232323;
    background: #fff
}

#topsearchelastic_widget form button[type=submit] {
    position: absolute;
    background: none;
    border: none;
    bottom: .3125rem;
    right: .125rem;
    color: #7a7a7a
}

.header-top #topsearchelastic_widget form input[type=text] {
    min-width: inherit;
    width: 100%
}

#checkout #search_widget {
    display: none
}

#pagenotfound .page-content #search_widget {
    width: 100%
}

.page-not-found #topsearchelastic_widget form {
    display: inline-block
}

@media (max-width: 767px) {
    .header-top #topsearchelastic_widget {
        float: none
    }

    .header-top #topsearchelastic_widget form {
        margin: 0 auto
    }

    .topsearchelastic_input {
        margin-left: 1rem;
    }

    .header-top #topsearchelastic_widget form input[type=text] {
        min-width: inherit;
        background: #fff
    }

    #header .topsearchelastic_result {
        width: 100%;
    }

    div.topsearchelastic_item_product img {
        height: 2rem;
    }

    div.topsearchelastic_item_product a {
        font-size: smaller;
    }

    .category_results > h3 {
        margin-bottom: 0;
        text-align: center;
    }

    div.topsearchelastic_item_product:nth-child {
        padding-bottom: 6px;
    }

    div#search.topsearchelastic_widget form svg.search {
        left: 19rem;
    }
}

@media (min-width: 768px) {
    #topsearchelastic_widget {
        min-width: 15.63rem
    }
}


#topsearchelastic_result {
    overflow: hidden;
    background-color: #ffffff;
    margin-top: 1px;
    box-sizing: border-box;
    color: #344;
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 100;
    right: 0;
    /*padding: 0;*/
    /*width: 70%;*/
    left: 0px;
}

#topsearchelastic_result_left {
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    margin-right: -0.5px;
}

#topsearchelastic_result_right {
    box-sizing: border-box;
    border-left: 1px solid #ccc;
    margin-left: -0.5px;
}

#topsearchelastic_result .col-xs-12 {
    display: inline-block;
}

.topsearchelastic_item_product {
    margin: 1em;
}

.topsearchelastic_item {
    cursor: pointer;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.topsearchelastic_item_product img {
    float: left;
    margin-right: 10px;
    width: 4em;
}

.results_header {
    width: 100%;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
}

.category_results .topsearchelastic_item,
.suggestion_results .topsearchelastic_item, .product_results .topsearchelastic_item_product #topsearchelastic_item_product {
    line-height: 27px;
    padding: 0 9px;
}

.category_results .topsearchelastic_item b,
.suggestion_results .topsearchelastic_item b {
}

.category_results .topsearchelastic_item.active,
.suggestion_results .topsearchelastic_item.active {
    background: #ededed;
}

.product_results .topsearchelastic_item_product {
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.product_results .topsearchelastic_item_product:last-child {
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}

.category_results .topsearchelastic_item:last-child {
    border-bottom: 1px solid #ccc;
}

@media (max-width: 1024px) {
    #topsearchelastic_result_left,
    #topsearchelastic_result_right {
        float: none;
        border: none;
        margin: 0;
        padding: 0;
    }

    .topsearchelastic_result {
        max-height: none;
        padding: 0;
    }
}

.topsearchelastic_result .product_results #topsearchelastic_item_product {
    display: flex;
    flex-direction: row;
}

.suggestion_results .topsearchelastic_title {
    margin-top: 14px;
    text-align: center;
}


/* Breakpoints */
/* Graisse des textes */
/* Couleurs des textes */
.topsearchelastic_widget {
    position: relative;
}

.topsearchelastic_widget form {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    border-bottom: 1px solid #000;
    position: relative;
}

.topsearchelastic_widget form input[type="text"] {
    border: none;
    flex-grow: 2;
    max-width: 80%;
}

.topsearchelastic_widget form input[type="text"]::placeholder {
    color: #696969;
}

.topsearchelastic_widget form input[type="text"]:focus {
    outline: none;
    font-weight: 700;
}

.topsearchelastic_widget form input[type="text"]:focus::placeholder {
    font-weight: 400;
}

.topsearchelastic_widget form input[type="text"] ~ [type="submit"] {
    background: none;
    border: 0;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 1px;
}

@media (min-width: 768px) {
    .topsearchelastic_widget form input[type="text"] ~ [type="submit"] {
        bottom: 4px;
    }
}

.topsearchelastic_widget form input[type="text"] ~ [type="submit"]:focus {
    outline: none;
}

.topsearchelastic_widget form [type="reset"] {
    background: none;
    border: 0;
    font-size: 1.2rem;
    outline: none;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 30px;
    bottom: 0;
}

@media (min-width: 992px) {
    .topsearchelastic_widget form {
        width: 350px;
    }
}

.topsearchelastic_widget .topsearchelastic_result {
    width: 100%;
    overflow: auto;
    background-color: #FFF;
    margin-top: 1px;
    color: #000;
    position: absolute;
    display: none;
    z-index: 10001;
}

.topsearchelastic_widget .topsearchelastic_result .topsearchelastic_result_left .topsearchelastic_item {
    cursor: pointer;
    display: block;
    width: 100%;
}

.topsearchelastic_widget .topsearchelastic_result .topsearchelastic_result_left .topsearchelastic_item img {
    float: left;
    margin-right: 10px;
    width: 3em;
}

.topsearchelastic_widget .topsearchelastic_result .suggestion_results .topsearchelastic_item {
    line-height: 27px;
    padding: 0 9px;
}

.topsearchelastic_widget .topsearchelastic_result .suggestion_results .topsearchelastic_item.active {
    background-color: #ECECEC;
}