header.page-program {
    width: 100%;
    background-color: #daf3fa;
    margin: 0px;
}

header.page-program .top-header {
    height: 90px;
}

header.page-program .header-logo {
    margin-right: 100px;
    align-self: center;
}

header.page-program .search_box {
    position: relative;
    min-width: 330px;
    width: 100%;
    max-width: 630px;
    height: 34px;
    background-color: #ffffff;
    border-radius: 4px;
    align-self: center;
    align-items: center;
    margin-right: 50px;
    padding-right: 15px;
    box-sizing: border-box;
}

header.page-program .search_box.focused {
    box-shadow: 0 0 0 1px #dcdee1;
}

header.page-program .search_box .input_search {
    height: 100%;
    width: 100%;
    max-width: 555px;
    padding: 0px 15px;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
}

header.page-program .search_box .js-delete_search_text_icon {
    width: 12px;
    height: 12px;
    border: none;
    background: no-repeat #fff;
    margin-right: 12px;
}

header.page-program .search_box .delete_search_text_icon_background {
    background: url(/img/header/del_icon.png) no-repeat;
    cursor: pointer;
}

header.page-program .search_box .delete_search_text_icon_background:hover {
    background: url(/img/header/del_icon_hover.png) no-repeat;
}

header.page-program .search_box .separator_icon_search {
    width: 1px;
    height: 17px;
    background-color: #e7e8ea;
    margin-right: 13px;
}

header.page-program .search_box .activate_search_icon {
    flex: 0 0 17px;
    height: 17px;
    border: none;
    background: url(/img/header/activate_search_icon.png) no-repeat;
    outline: none;
    cursor: pointer;
}

header.page-program .search_box .activate_search_icon:hover {
    background: url(/img/header/activate_search_icon_hover.png) no-repeat;
}

#ajax_search_results {
    background: none repeat scroll 0 0 #ffffff;
    border-radius: 4px;
    box-shadow: 0px 6px 10px 0px rgb(88 110 131 / 35%);
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 38px;
    z-index: 999;
    right: 0;
    text-align: left;
}

#search-result .search-options-radio-wrapper,
#ajax_search_results .search-options-radio-wrapper {
    display: flex;
    margin-top: 15px;
    font-size: 12px;
    justify-content: space-between;
    max-width: 600px;
}

#search-result .search-options-radio-wrapper {
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
    padding-top: 15px;
}

#search-result .search-options-radio-wrapper div,
#ajax_search_results .search-options-radio-wrapper div {
    width: 45%;
}

#search-result .search-options-radio-wrapper label,
#ajax_search_results .search-options-radio-wrapper label {
    display: flex;
    align-items: center;
    line-height: 16px;
    margin-bottom: 7px;
    color: #a2a6b4;
}

#search-result .search-options-radio-wrapper label input,
#ajax_search_results .search-options-radio-wrapper label input {
    margin-right: 10px;
}

#search-result .search-options-checkbox-wrapper,
#ajax_search_results .search-options-checkbox-wrapper {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 600px;
}

#search-result .search-options-checkbox-wrapper .search-options-span-wrapper,
#ajax_search_results .search-options-checkbox-wrapper .search-options-span-wrapper {
    width: 100%;
}

#search-result .search-options-checkbox-wrapper .search-options-span-wrapper span,
#ajax_search_results .search-options-checkbox-wrapper .search-options-span-wrapper span {
    margin-right: 10px;
    margin-bottom: 10px;
}

#search-result .search-options-checkbox-wrapper label,
#ajax_search_results .search-options-checkbox-wrapper label {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 5px;
    width: 45%;
}

#search-result .search-options-checkbox-wrapper input,
#ajax_search_results .search-options-checkbox-wrapper input {
    margin-right: 5px;
}


header #ajax-search-result {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 7px;
}

#ajax_search_results .category .head {
    color: grey;
    margin: 0px 0 5px;
    font-size: 12px;
}

#ajax_search_results .search-row.others a {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 10px;
    background-color: #e0f2f9;
    font-weight: normal;
    border-radius: 4px;
}

#ajax_search_results .search-row,
#search-result .search-row {
    margin-bottom: 7px;
    font-size: 12px;
}

#ajax_search_results .search-row:not(.others):hover,
#search-result .search-row:hover {
    background: #d4e9f1;
    width: 100%;
}

#ajax_search_results .search-row a,
#search-result .search-row a {
    font-size: 14px;
    font-weight: bold;
    color: #4e7ed7;
    text-decoration: none;
}

.found_letters_search {
    font-weight: bold;
    background-color: #eefaaf;
}

header.page-program .current-workplace-block {
    position: relative;
    max-width: 480px;
    margin-left: auto;
    margin-right: 50px;
    top: 20px;
    align-self: flex-start;
}

header.page-program .current-workplace-block .parent_logo_wp {
    max-width: 275px;
    height: 48px;
    overflow: hidden;
}

header.page-program .current-workplace-block .img-location {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: right;
}

header.page-program .current-workplace-block .workplace-info {
    position: relative;
    top: -5px;
    min-width: 200px;
    max-width: 432px;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 100;
    font-size: 12px;
}

html.desktop header.page-program .current-workplace-block .workplace-info:hover,
header.page-program .current-workplace-block .workplace-info.touch_active {
    background-color: #ffffff;
    box-shadow: 0px 6px 10px 0px rgba(88, 110, 131, 0.35);
}

html.desktop header.page-program .current-workplace-block .workplace-info:hover .workplace-name:after,
header.page-program .current-workplace-block .workplace-info.touch_active .workplace-name:after {
    background: url(/img/header/arrow_details_open.png) no-repeat;
}

header.page-program .current-workplace-block .workplace-info .detailed-wp-info .current-time {
    color: #7d888c;
    margin-bottom: 5px;
}

header.page-program .current-workplace-block .workplace-info .detailed-wp-info .workplace_entity_hint {
    color: #7d888c;
    line-height: 1.333;
    margin-bottom: 5px;
}

header.page-program .current-workplace-block .workplace-info .detailed-wp-info .choose-workplace-link,
header.page-program .current-workplace-block .workplace-info .detailed-wp-info .polombardam-merchant-link {
    font-size: 14px;
}

header.page-program .current-workplace-block .workplace-info .workplace-name {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    padding-right: 20px;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

header.page-program .current-workplace-block .workplace-info .workplace-name:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 6px;
    background: url(/img/header/arrow_details.png) no-repeat;
    top: 5px;
    right: 0px;
}

header.page-program .current-workplace-block .workplace-info .address-wp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #7d888c;
}

header.page-program .account-info {
    position: relative;
    min-width: 180px;
    max-width: 267px;
    top: 20px;
    align-self: flex-start;
    justify-content: flex-end;
}

header.page-program .account-info .avatar {
    position: relative;
    width: 49px;
    height: 49px;
}

header.page-program .account-info .link-messages-parent {
    display: flex;
    align-items: center;
}

header.page-program .account-info .link-messages-parent a {
    margin-right: 5px;
}

header.page-program .account-info .count_unreaded_messages {
    min-width: 20px;
    padding: 2px 4px;
    top: 6px;
    left: -9px;
    background-color: #4285ad;
    border-radius: 15px;
    line-height: 16px;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

header.page-program .account-info .avatar .count_unreaded_messages {
    position: absolute;
    text-decoration: none;
}

header.page-program .account-info .avatar .img_container_avatar {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 100%;
}

header.page-program .account-info .avatar img {
    width: 100%;
    height: 100%;
}

header.page-program .account-info .account-desc {
    position: relative;
    top: -5px;
    min-width: 130px;
    max-width: 230px;
    margin-right: -10px;
    padding: 10px 10px 10px 10px;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 100;
}

html.desktop header.page-program .account-info .account-desc:hover,
header.page-program .account-info .account-desc.touch_active {
    background-color: #ffffff;
    box-shadow: 0px 6px 10px 0px rgba(88, 110, 131, 0.35);
}

html.desktop header.page-program .account-info .account-desc:hover .account-fio:after,
header.page-program .account-info .account-desc.touch_active .account-fio:after {
    background: url(/img/header/arrow_details_open.png) no-repeat;
}

header.page-program .current-workplace-block .workplace-info .summary,
header.page-program .account-info .account-desc .summary {
    margin-bottom: 5px;
}

header.page-program .account-info .account-desc .account-fio {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    padding-right: 20px;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

header.page-program .account-info .account-desc .account-fio:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 6px;
    background: url(/img/header/arrow_details.png) no-repeat;
    top: 5px;
    right: 0px;
}

header.page-program .account-info .account-desc .account-role {
    font-size: 12px;
    color: #7d888c;
}

header.page-program .link-hover-orange {
    color: #2d78a3;
    line-height: 1.571;
}

header.page-program .link-hover-orange:hover {
    color: #fc8800;
}

header.page-program .search_exp {
    margin: 0 auto;
    background-color: #3087bc;
    position: relative;
    min-width: 1000px;
}

header.page-program .fixed_quicklinks {
    margin: 0px 50px 0px 0px;
    padding: 0;
}

header.page-program .added_quicklinks {
    margin: 0px 50px 0px 0px;
    padding: 0;
}

header.page-program .added_quicklinks li,
header.page-program .fixed_quicklinks li {
    list-style-type: none;
    margin-bottom: 12px;
}

header.page-program .added_quicklinks li a,
header.page-program .fixed_quicklinks li a {
    color: #c6dfe8;
}

header.page-program .added_quicklinks li a:hover,
header.page-program .fixed_quicklinks li a:hover {
    color: #66d966;
}

header.page-program .link_quicklinks_settings {
    width: 17px;
    height: 16px;
    background: url(/img/header/quicklinks_settings_icon.png) no-repeat;
}

header.page-program .link_quicklinks_settings:hover {
    background: url(/img/header/quicklinks_settings_icon_hover.png) no-repeat;
    cursor: pointer;
}

header.page-program .quicklinks_delimiter {
    width: 1px;
    background-color: #77b1d3;
    margin: 0px 50px 0px 0px;
}

header.page-program .hmenu li.hover .menu-favourites-icon {
    display: inline-block;
    width: 17px;
    height: 16px;
    background-size: contain;
    vertical-align: middle;
    margin-left: 10px;
}

/* Компонент details-spoiler */
.details-spoiler>* {
    visibility: hidden;
    height: 0;
}

.details-spoiler .summary {
    visibility: visible;
    height: auto;
}

html.desktop .details-spoiler:hover>*:not(.summary),
.details-spoiler.touch_active>*:not(.summary) {
    visibility: visible;
    height: auto;
}

@media screen and (max-width: 1580px) {
    header.page-program .header-logo {
        margin-right: 30px;
    }
}

@media screen and (max-width: 1525px) {
    header.page-program .current-workplace-block {
        min-width: 235px;
    }
}

@media screen and (max-width: 1510px) {
    header.page-program .search_box {
        margin-right: 30px;
    }

    header.page-program .current-workplace-block {
        margin-right: 30px;
    }

    header.page-program .current-workplace-block .parent_logo_wp {
        min-width: 64px;
        text-align: right;
    }

    header.page-program .current-workplace-block .workplace-info {
        min-width: 180px;
        max-width: 190px;
    }

    #ajax_search_results .search-options>div:first-child {
        margin-right: 0px;
    }
}
