/* Search form - kasnije formu treba ubaciti unutra */
#search-form {
    margin-bottom:0;
    width: auto;
    height: auto;
    overflow: unset;
}

.search-sugest .atributs-wrapper {
    text-align: center;
}

.search-sugest .fixed-delivery-date {
    text-align: center;
    display: none;
}
/* autocomplete text search form */
.autocomplete-wrapper{
    position: absolute;
    top: -18px;
    right: 0;
    width: 400px;
    background: transparent;
    z-index: 1000;
    margin-top: 0;
}

.autocomplete-wrapper .container{
    height: 100%;
    padding: 0;
}

.autocomplete{
    width: 100%;
    height: 100%;
    position: relative;
    text-align: right;
}

.autocomplete-input{
    line-height: 33px;
    padding: 0 10px 0px 15px;
    font-size: 14px;
    border: 0;
    width: 290px;
    height: 35px;
}

.autocomplete-input::-webkit-input-placeholder{
    color: #898D8D;
}

.autocomplete-results{
    overflow: auto !important;
    background: #ffffff;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.autocomplete-results .heading-append{
    padding-top: 10px;
}

.autocomplete-results .heading-append > a{
    line-height: 1rem;
}

.autocomplete-close{
    position: absolute;
    right: 10px;
    top: 10px;
    color: #999;
    cursor: pointer;
}

.autocomplete-close:before{
    content: url("../../../_static/images/dexyco_v2021/close.svg");
    display: inline-block;
    width: 10px;
    height: 10px;
}

/* Recomended sugest */
.recomended-sugest-wrapper{
    padding: 10px;
    text-align: left;
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    margin-top: -1px;
    border-right: 1px solid #e2e2e2;
    background: #f9f9f9;
    border-bottom: 1px solid #e2e2e2;
}

.recomended-sugest-wrapper .heading-wrapper .title{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 5px;
}

.recomended-sugest-wrapper .nav-search-sugest .item{
    font-size: 12px;
}

.recomended-sugest-wrapper .nav-search-sugest .item:first-child a{
    padding-left: 0;
}

.recomended-sugest-wrapper .nav-search-sugest .item a{
    padding: 5px 10px;
}

/* Autocompleate results */
.autocomplete-results .search-sugest .title h4{
    font-size: 14px;
    text-align: left;
    font-weight: 400;
    line-height: 14px;
    margin: 10px 0;
    padding: 0 10px;
}

.products-list-simple{
    padding: 0 10px;
}

/* Autocomplete loader */
.autocomplete-loader{
    position: absolute;
    z-index: 1001;
    top: 52px;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.7);
}

.autocomplete-loader .loader-icon{
    position: relative;
    display: block;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    width: 100px;
    height: 100px;
}

@media screen and (max-width: 576px){

    .autocomplete-wrapper{
        position: fixed;
        top: 56px;
        right: 0;
        width: 100%;
    }

    .autocomplete-input{
        line-height: 43px;
        width: 100%;
        height: 45px;
    }

    .autocomplete-close{
        right: 0;
        top: 0;
        padding: 13px;
    }

}
