.search_open .header_site {
    background: #fff;
    z-index: 99999;
}

.search_open .header_site::before {
    display: none;
}

.search_open .header_site .header_logotype img {
    filter: invert(100%);
}

.search_col {
    margin: 0 15px 0 auto;
}

.search_clear_btn,
.search_col button {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.search_clear_btn {
    margin: auto 0 auto auto;
}

.search_open .search_col button,
.search_open .menu_toggle {
    border-color: #000;
}

.search_open .search_col button path,
.search_open .menu_toggle line {
    stroke: #000;
}

.remodal-wrapper {
    padding: 0;
}

.remodal_search {
    max-width: 100vw;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0 0 40px;
    overflow: hidden;
}

.remodal_wrap_search {
    padding-top: 165px;
    text-align: left;
}

.search_open .search_btn,
body:not(.search_open) .search_btn_close,
.remodal_wrap_search:not(.active) .search_clear_btn,
.remodal_wrap_search:not(.active) .remodal_wrap_search_form__title {
    display: none;
}

.remodal_wrap_search:not(.active) .searchform {
    width: 100%;
}

.remodal_wrap_search_form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 54px;
    text-align: left;
}

.remodal_wrap_search.active .remodal_wrap_search_form__row {
    flex-direction: row-reverse;
}

.remodal_wrap_search_form__row {
    position: relative;
    display: flex;
    border-bottom: 2px solid #000;
}

.remodal_wrap_search_form__row input {
    position: relative;
    width: 100%;
    padding: 17px 0;
    border: 0;
    z-index: 999;
}

.remodal_wrap_search_form__row input:-webkit-autofill,
.remodal_wrap_search_form__row input:-webkit-autofill:hover,
.remodal_wrap_search_form__row input:-webkit-autofill:focus {
    transition: background-color 5000s;
    -webkit-text-fill-color: #000 !important;
}

.remodal_wrap_search_form__row input:focus,
.remodal_wrap_search_form__row input:active {
    outline: none;
}

.remodal_wrap_search_form__row input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.remodal_wrap_search_form__row button {
    padding: 25px 10px 10px 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.remodal_wrap_search.active .remodal_wrap_search_form__row button {
    padding: 25px 10px 25px 4px;
}

.remodal_wrap_search.active .remodal_wrap_search_form__row button svg {
    width: 18px;
    height: 18px;
}

.remodal_wrap_search_form__title {
    font-size: 24px;
    line-height: normal;
    color: #FFBE00;
}

.remodal_wrap_search:not(.active) .remodal_wrap_search__header,
.remodal_wrap_search:not(.active) .remodal_wrap_search__result {
    display: none;
}

.remodal_wrap_search__header {
    position: relative;
    margin-bottom: 44px;
    padding: 25px 0 24px;
    background: #E7E7E7;
    z-index: 1;
}

.remodal_wrap_search__header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100vw;
    width: 300vw;
    height: 100%;
    background: #E7E7E7;
    z-index: -1;
}

.remodal_wrap_search__header_result {
    font-size: 16px;
    line-height: normal;
}

.remodal_wrap_search__header_result span {
    color: #6C6C6C;
}

.remodal_wrap_search__result {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 20px;
}

.search_card {
    border: 1px solid #D8D8D8;
    border-radius: 9px;
    transition: 0.5s all linear;
}

.search_card:hover {
    border-color: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    background: #000;
}

.search_card__img {
    position: relative;
    width: calc(100% + 2px);
    margin: -1px -1px 0;
    padding-top: 60%;
    border-radius: 9px;
    overflow: hidden;
}

.search_card__no_img {
    background: #000;
}

.search_card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s all linear;
}

.search_card__no_img img {
    object-fit: contain;
    width: 70%;
    margin: auto;
}

.search_card__img:hover img {
    transform: scale(1.1);
}

.search_card__txt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    text-align: left;
}

.search_card__title {
    font-size: 18px;
    line-height: normal;
}

.search_card:hover .search_card__title,
.search_card:hover .search_card__title a,
.search_card:hover p,
.search_card:hover .search_card__services_list__caption {
    color: #fff;
}

.search_card__link span {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #9B9B9B;
    transform: rotate(-90deg);
}

.search_card__link span,
.search_card__link span path {
    transition: 0.5s all linear;
}

.search_card:hover .search_card__link span {
    background: #FFBE00;
}

.search_card:hover .search_card__link span path {
    stroke: #000;
}

.search_card__services_list {
    margin-top: 4px;
}

.search_card__services_list__caption {
    margin-bottom: -5px;
    font-size: 14px;
}

.search_card__services_list span {
    font-size: 12px;
    line-height: 20px;
    color: #7C7A7A;
}

.search_card__services_list span:not(:nth-last-child(1))::after {
    content: "|";
    margin: 0 2px 0 5px;
}

/*.search_card__services_list span:nth-child(2n)::after {*/
/*    content: "\a";*/
/*    white-space: pre;*/
/*    page-break-after: always; !* CSS 2.1 syntax *!*/
/*    break-after: always; !* CSS 3 syntax *!*/
/*}*/

.search_pagenavi {
    margin: 60px auto;
    display: flex;
    justify-content: center;
}

.search_pagenavi .page-numbers {
    width: 20px;
    height: 20px;
    margin: 0 6px;
}


.ui-menu .ui-menu-item-wrapper {
    padding: 6px 10px ;
}

a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    margin: 0;
    border: 0 !important;
    background: #FFBE00;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    margin: 0;
    border-width: 0 0 1px 0;
    border-color: #FFBE00;
    background: transparent;
}

.ui-state-active svg *,
.ui-widget-content .ui-state-active svg *,
.ui-widget-header .ui-state-active svg *,
a.ui-button:active svg *,
.ui-button:active svg *,
.ui-button.ui-state-active:hover svg * {
    fill: #fff;
}

.ui-autocomplete {
    left: 0 !important;
    width: 100% !important;
    overflow-y: auto;
    height: 0;
    opacity: 0;
    padding: 8px 22px;
    border-radius: 8px;
    border: 1px solid #bebebe;
    box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
    /*transform: translateY(11px);*/
    transition: height 0.3s ease-out, opacity 0.3s ease-out;
}

.ui-autocomplete.opened {
    top: 76px !important;
    height: 367px;
    opacity: 1;
    transform: translateY(11px)
}

.ui-menu-item {
    opacity: 0;
    border: 0 !important;
    /*transition: 0.5s;*/
}
.ui-menu .ui-menu-item {
    list-style: none !important;
}

.fade_in_up {
    animation: fadeInUp 0.3s ease-in both;
    animation-delay: 1s;
}

.fade_in_up:nth-child(1) {
    animation-delay: 0.2s;
}

.fade_in_up:nth-child(2) {
    animation-delay: 0.4s;
}

.fade_in_up:nth-child(3) {
    animation-delay: 0.6s;
}

.fade_in_up:nth-child(4) {
    animation-delay: 0.8s;
}

.fade_in_up:nth-child(5) {
    animation-delay: 1s;
}

.fade_in_up:nth-child(6) {
    animation-delay: 1.2s;
}

.fade_in_up:nth-child(7) {
    animation-delay: 1.4s;
}

.ui-menu .ui-menu-item a.ui-menu-item-wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
    padding: 17px 32px 16px 0;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #DFDFDF;
    transition: 0.2s all;
    z-index: 1;
}

.ui-menu .ui-menu-item a.ui-menu-item-wrapper:hover {
    color: #000;
}

.ui-menu-item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -22px;
    width: calc(100% + 44px);
    height: 100%;
    transition: 0.3s all;
    z-index: -1;
}

.ui-menu-item a:hover::before {
    background: #FFBE00;
}

.ui-menu-item a svg {
    position: absolute;
    top: 13px;
    left: 3px;
    max-width: 19px;
    height: auto;
}

.ui-menu-item a svg * {
    transition: 0.2s all;
}

.ui-menu-item a:hover svg path {
    fill: #fff;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    padding-top: 5px;
    font-size: 13px;
    line-height: 16px;
    text-transform: capitalize;
}

.breadcrumbs span {
    display: inline-block;
    margin: 0 3px;
    transition: 0.3s all;
}

.search_card:hover .breadcrumbs,
.search_card:hover .breadcrumbs span,
.search_card:hover .breadcrumbs .link {
    color: #fff;
}

.search_card:hover .breadcrumbs .link:hover {
    color: #FFBE00;;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(200%)
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 640px) {
    .remodal_wrap_search__result {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
}

@media (min-width: 992px) {
    .search_col button,
    .search_clear_btn {
        width: 48px;
        height: 48px
    }

    .remodal_wrap_search.active .remodal_wrap_search_form__title {
        width: auto;
    }

    .remodal_wrap_search.active .searchform {
        width: 49%;
    }

    .remodal_wrap_search_form__row input {
        font-size: 36px;
        letter-spacing: 2px;
        word-spacing: -2px;
    }

    .remodal_wrap_search.active .remodal_wrap_search_form__row input {
        padding-left: 17px;
    }

    .remodal_wrap_search.active .remodal_wrap_search_form__row button svg {
        width: 26px;
        height: 26px;
    }

    .remodal_wrap_search__result {
        grid-template-columns: repeat(3, 1fr);
    }

    .search_card__title {
        font-size: 20px;
        line-height: 24px;
    }

    .remodal_wrap_search_form__title {
        font-size: 60px;
        line-height: normal;
    }

    .search_card__services_list span {
        font-size: 14px;
        line-height: 22px;
    }

    .search_card__services_list span:nth-child(2n)::before {
        margin: 0 7px 0 4px;
    }
}

@media (max-width: 991px) {
    .remodal_wrap_search {
        padding-top: 100px;
    }

    .remodal_wrap_search_form__title {
        margin-bottom: 16px;
    }

    .remodal_wrap_search_form {
        flex-direction: column;
    }

    .remodal_wrap_search_form {
        margin-bottom: 32px;
    }

    .remodal_wrap_search_form form {
        width: 100%;
    }

    .remodal_wrap_search.active .remodal_wrap_search_form__row button {
        padding: 14px 10px 12px 4px;
    }

    .remodal_wrap_search__header {
        margin-bottom: 26px;
        padding: 16px 0 17px;
    }

    .search_col button svg {
        width: 12px;
    }
}
