/* #region  search */

.searchbox {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 37px;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 13px;
    font-family: arial, sans-serif;
}

/*.searchbox.algolia-autocomplete {*/
/*    display: block;*/
/*    height: 100%;*/
/*}*/

.searchbox__wrapper {
    width: 100%;
    height: 100%;
}

.searchbox__input {
    display: inline-block;
    -webkit-transition: box-shadow 0.4s ease, background 0.4s ease;
    transition: box-shadow 0.4s ease, background 0.4s ease;
    border: 0;
    border-radius: 19px;
    box-shadow: inset 0 0 0 1px #d9d9d9;
    background: #ffffff;
    padding: 0;
    padding-right: 30px;
    padding-left: 37px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    white-space: normal;
    font-size: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.searchbox__input::-webkit-search-decoration,
.searchbox__input::-webkit-search-cancel-button,
.searchbox__input::-webkit-search-results-button,
.searchbox__input::-webkit-search-results-decoration {
    display: none;
}

.searchbox__input:hover {
    box-shadow: inset 0 0 0 1px silver;
}

.searchbox__input:focus,
.searchbox__input:active {
    outline: 0;
    box-shadow: inset 0 0 0 1px #4098ce;
    background: #ffffff;
}

.searchbox__input::-webkit-input-placeholder {
    color: #aaaaaa;
}

.searchbox__input::-moz-placeholder {
    color: #aaaaaa;
}

.searchbox__input:-ms-input-placeholder {
    color: #aaaaaa;
}

.searchbox__input::placeholder {
    color: #aaaaaa;
}

.searchbox__submit {
    position: absolute;
    top: 0;
    right: inherit;
    left: 0;
    margin: 0;
    border: 0;
    border-radius: 18px 0 0 18px;
    background-color: rgba(255, 255, 255, 0);
    padding: 0;
    width: 37px;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    font-size: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.searchbox__submit::before {
    display: inline-block;
    margin-right: -4px;
    height: 100%;
    vertical-align: middle;
    content: "";
}

.searchbox__submit:hover,
.searchbox__submit:active {
    cursor: pointer;
}

.searchbox__submit:focus {
    outline: 0;
}

.searchbox__submit svg {
    width: 17px;
    height: 17px;
    vertical-align: middle;
    fill: #666666;
}

.searchbox__reset {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    fill: rgba(0, 0, 0, 0.5);
}

.searchbox__reset.hide {
    display: none;
}

.searchbox__reset:focus {
    outline: 0;
}

.searchbox__reset svg {
    display: block;
    margin: 4px;
    width: 13px;
    height: 13px;
}

.searchbox__input:valid ~ .searchbox__reset {
    display: block;
    -webkit-animation-name: sbx-reset-in;
    animation-name: sbx-reset-in;
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
}

@-webkit-keyframes sbx-reset-in {
    0% {
        -webkit-transform: translate3d(-20%, 0, 0);
        transform: translate3d(-20%, 0, 0);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

@keyframes sbx-reset-in {
    0% {
        -webkit-transform: translate3d(-20%, 0, 0);
        transform: translate3d(-20%, 0, 0);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}


/*#search-input-wrapper .fa-search {*/
/*    color: var(--orangered-color);*/
/*}*/

#zip_form input {
    padding: 13px !important;
    width: 100%;
    border-radius: 30px;
    margin: 0;
}

.search_suppliers_button {
    z-index: 999;
}

#zip_form select {
    padding: 13px;
    width: 100%;
    border-radius: 30px;
    border: 1px solid #80808036;
    background: white;
    font-family: Roboto, "Font Awesome 5 Pro";
}

#zip_form select:invalid {
    color: #999;
}

#zip_form select option {
    color: black;
}

/*.form_search {*/
/*    position: relative;*/
/*}*/

.search-bar-options-wrapper {
    position: absolute;
    bottom: 0;
    left: 10px;
    background-color: transparent;
    z-index: 3;
}

#search-supplier-options::before,
#search-zip-city-options::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #f9f9f9;
}

#search-supplier-options,
#search-zip-city-options {
    display: none;
    position: absolute;
    min-width: 250px;
    margin: 10px;
    padding: 10px 0 10px 0;
    border: 1px solid #e0e0e0;
    background-color: #FFFFFF;
    box-shadow: 4px 5px 2px -1px rgba(0, 0, 0, 0.1);
}

/*@media screen and (min-width: 1200px) {*/
/*    #search-input-wrapper #search-bar-options {*/
/*        width: 500px;*/
/*    }*/
/*}*/


.search-bar-options-wrapper li,
.search-bar-options-wrapper ul {
    list-style: none;
    padding: 0;
}

.search-bar-options-wrapper li > a {
    display: block;
}


#search-supplier-options > li,
#search-zip-city-options > li {
    list-style: none;
    padding: 3px;
    padding-left: 10px;
    cursor: pointer;
}

/*#search-bar-options > li > a,*/
/*#search-bar-options > li > a:visited {*/
/*    color: var(--text-color) !important;*/
/*}*/

#search-supplier-options > li:hover,
#search-supplier-options > li:focus,
#search-supplier-options > li.selected,
#search-zip-city-options > li:hover,
#search-zip-city-options > li:focus,
#search-zip-city-options > li.selected {
    background-color: #eeeded;
    border: none !important;
}

#search-content:placeholder-shown + div > ul {
    display: none !important;
}

#search-content::placeholder,
#search-content-zipcode::placeholder,
#search-content-zipcode-NL::placeholder {
    font-size: 15px;
}

.aa-suggestions-category,
.aa-suggestions-category > .fas::before {
    color: var(--text-color) !important;
}

/*.search-input-wrapper {*/
/*    display: flex;*/
/*    position: relative;*/
/*}*/

.search-input-wrapper > i {
    float: right;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    right: 12%;
    color: black;
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
}

@media screen and (max-width: 767px) {
    /*.aa-dropdown-menu {*/
    /*    min-width: unset;*/
    /*}*/
    /*.algolia-autocomplete {*/
    /*    margin: auto;*/
    /*}*/
    .search_suppliers_button {
        position: relative !important;
    }
}

/* #endregion */