.search,
.search__box {
    width: 100%;
}
.opened .search,
.opened .search__box {
    z-index: 12;
}
.search__box {
    background-color: #F6F8F9;
    border-radius: 20px;
    position: relative;
}

.search__form,
.search__box,
.search__form input[type="text"] {
    min-height: 49px;
}

.search__form input[type="text"]:-webkit-autofill,
.search__form input[type="text"]:-webkit-autofill:hover,
.search__form input[type="text"]:-webkit-autofill:focus,
.search__form input[type="text"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #F6F8F9 inset !important;
    box-shadow: 0 0 0 1000px #F6F8F9 inset !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.no-border-radius .search__form input[type="text"]:-webkit-autofill,
.no-border-radius .search__form input[type="text"]:-webkit-autofill:hover,
.no-border-radius .search__form input[type="text"]:-webkit-autofill:focus,
.no-border-radius .search__form input[type="text"]:-webkit-autofill:active {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.search__form {
    padding-left: 0;
    position: relative;
    z-index: 1;
}

.search__form input[type="text"] {
    display: block;
    position: relative;
    box-sizing: border-box;
    background-color: transparent;
    padding-left: 2.5rem;
    outline: none;
    border: none;
    width: 100%;
    z-index: 2;
    font-size: 18px;
    line-height: 0;
    /* line-height: 1.1; */
}

.search__results {
    width: 100%;
    display: none;
    position: absolute;
    box-sizing: border-box;
    background-color: #F6F8F9;
    border-top: 1px solid #F4F6F7;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 1rem;
    z-index: 3;
}

.search__results.show-results,
.search__results-exists.show-results,
.search__results-none.show-results {
    display: block;
    left: 0;
}
.search__results.show-results {
    padding: 16px;
}
.search__results-exists,
.search__results-none {
    display: none;
}

.search__results-label {
    font-weight: bold;
    color: #798A9D;
}
.no-result-title {
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 6px;
    color: #2C393F;
}
.no-result-text {
    font-size: 14px;
    line-height: 120%;
    color: #2C393F;
}
.no-result-text a {
    color: #32C1FF;
}
.search__results .loading {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    color: #798A9D;
    display: block;
    margin-left: 0.65rem;
}

.search__results .loading.hide {
    display: none;
}

.search__results-label a {
    color: #3398D9;
}

.search__results-label a:hover {
    text-decoration: underline;
}

.search__results-list {
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style: none;
    padding-left: 0;
}

.search__results-list a {
    display: block;
    padding: 1rem 1rem 1rem 2.75rem;
    border-radius: 0.625rem;
    position: relative;
    width: 100%;
}

.search__results-list a::before {
    content: '';
    width: 0.875rem;
    position: absolute;
    background-image: url('/assets/img/icon-faq-item.svg');
    background-size: cover;
    top: 1.125rem;
    height: 1rem;
    left: 1rem;
}

.search__results-list a:hover {
    background-color: #FFF;
}

.search__results-list a {
    color: #465968;
}

.search__results-list a strong {
    color: #000;
    display: block;
}

.search__box.show-results {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: #F6F8F9;
}
.no-border-radius {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.search__form::before {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    background-image: url('/assets/img/icon-search.svg');
    /* margin-top: -0.59375rem; */
    background-repeat: no-repeat;
    background-size: cover;
    left: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 19;
}

.loading_before::before {
    background-image: url('/assets/img/icon-loading.svg') !important;
    animation: loading 2s linear infinite;
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.search-form__close {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 16px;
    width: 23px;
    height: 23px;
    z-index: 11;
    /* border: none;
    padding: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 2px solid #ced4db;
    box-sizing: border-box;
    border-radius: 3.125rem;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.5s;
    position: absolute;
    z-index: 3;
    top: 13px;
    right: 1rem;
    cursor: pointer; */
}

.search-form__close.hide {
    display: none;
}

/* .search-form__close::before {
    content: "";
    -webkit-transform: rotate(45deg) translate(1px, -0.5px);
    transform: rotate(45deg) translate(0.5px, -0.5px);
    width: 1px;
    height: 14.5px;
    background-color: #bfc8d2;
    transition: background-color 0.3s;
}

.search-form__close::after {
    content: "";
    -webkit-transform: rotate(-45deg) translate(-1px, -2px);
    transform: rotate(-45deg) translate(-0.5px, -0.5px);
    width: 1px;
    height: 14.5px;
    background: #bfc8d2;
    transition: background-color 0.3s;
} */
.search-form__close:hover {
    cursor: pointer;
}
.search-form__close:hover svg path {
    fill: #03a9f4;
    /* border-color: #03a9f4;
    background-color: #03a9f4;
    box-shadow: 0 6px 10px rgba(14, 61, 9, 0.095); */
}
.search-form__close:hover svg rect {
    stroke: #03a9f4;
}

.search-form__close:active {
    border-color: #0082bc;
    background-color: #0082bc;
    box-shadow: 0 6px 10px rgba(14, 61, 9, 0.095);
}

.search-form__close:hover::before,
.search-form__close:hover::after,
.search-form__close:focus::before,
.search-form__close:focus::after {
    background-color: #fff;
}
.fix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 11;
    display: none;
}
.show-results .search-result {
    margin-top: 0;
}
.show-results .search-result > div:first-child {
    padding-top: 0;
}

.show-results .result-item {
    padding: 16px 0;
}
.item-text {
    color: inherit !important;
}


@media(max-width: 767px) {
    .fees .search {
        width: calc(100vw - 2rem);
        box-sizing: border-box;
        margin-top: 1rem;
    }
}
@media(max-width: 375px) {
    .search__results.show-results {
        padding: 16px;
    }
}