/*!
 * Start Bootstrap - Heroic Features HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    /*padding-top: 50px; !* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. *!*/
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 1.7em;
}

.hintForField {
    margin: 1px 0 1px 8px;
    font-size: 17px !important;
}

.hintForField:hover {
    cursor: pointer;
    color: red;
}

.btn-question {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    padding: 0px 3px;
    font-size: 9px;
}

.noWrap {
    white-space: nowrap;
}

.search-block {
    /* 2026-07-30: webp из отредактированного мастера
       other_files/design/mainpage_background_source.png (убраны бейджи
       Z / герб / CH, cwebp -q 85); 42КБ против 59КБ у старого jpg */
    background: #2572a2 url("../img/mainpage_background-3qUN-FX.webp") no-repeat fixed;
    padding: 0 0 5px 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.search-block small {
    color: white;
}

.button-publication {
    background-color: transparent;
    color: white;
    border-color: white;
    margin-bottom: 10px;
    min-width: 250px;
    width: 100%;
}

.public-statistics {
    color: white;
    border-right: 1px solid white;
    padding: 10px;
    margin-top: 0
}

.extendedSearch, .extendedSearch:hover {
    color: #f0f0f0;
}

.complaint-helper {
    position: absolute;
    z-index: 101;
    top: -57px;
    right: 44px;
    width: 250px;
    background-color: #04a504;
    padding: 20px;
    color: white;
}

.complaint-helper-close {
    position: absolute;
    z-index: 100;
    cursor: pointer;
}

.complaint-menu {
    top: -10px;
    right: 57px;
    width: 210px;
}

.complaint-menu div {
    padding: 5px 10px;
    width: 100%;
    clear: both;
}

.complaint-menu a {
    color: #0a0a0a;
    text-decoration: none;
    clear: both;
}

.complaint-item {
    cursor: pointer;
}

.complaint-item:hover a {
    color: red;
}

.menu-pointer {
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    position: absolute;
    width: 17px;
    height: 17px;
    z-index: 100;
    display: block;
    font: 0/0 a;
}

.internal-links {
    color: black;
    text-decoration: none;
    border-bottom: 1px dashed #000080;
}

.internal-links:hover {
    color: black;
    text-decoration: none;
    border-bottom: none;
}

.increasedCheckbox {
    font-weight: 600 !important;
}

/*Увеличенный размер чекбоксов.*/
.increasedCheckbox input {
    width: 16px !important;
    height: 16px !important;
    top: -15%;
}

.notice-message {
    padding: 2em;
}

.navbar {
    border-bottom: 1px solid #D8D8D8;
    background: #FBFBFB;
}

.navbar-toggle, .icon-bar {
    border: 1px solid #337ab7;
}

.navbar li, a, button {
    cursor: pointer;
}

.close-modal {
    cursor: pointer;
    float: right;
}

.f-s-0 {
    font-size: 0;
}

footer {
    margin: 50px 0;
}

.full {
    width: 100%;
}

.flashbag-block {
    padding-bottom: 8px;
}

.margin-top {
    margin-top: 20px;
}

.margin-top-2x {
    margin-top: 40px;
}

.margin-left {
    margin-left: 20px;
}

.showSuccessPanel {
    background-color: #dff0d8; /*#C6E0EF;*/
    padding: 20px;
    margin-bottom: 20px;
}

.showWarningPanel {
    background-color: #eeec8c; /*#C6E0EF;*/
    padding: 20px;
    margin-bottom: 20px;
}

.margin-top-container {
    margin-top: 20px;
}

.margin-left-none {
    margin-left: 0 !important;
}

.margin-right-none {
    margin-right: 0 !important;
}

.search-block {
}

/*Вакансии*/
.vacancy_list_item {

}

.valign-bottom {
    display: inline-block;
    float: none;
    vertical-align: bottom;
}

.valign-center {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

/*Изменение кнопки выбора категорий*/
.sf-menu-category {
    margin-bottom: 0 !important;
}

.sf-menu-category li, .sf-menu-category a {
    height: 34px !important;
}

.sf-menu-category a {
    vertical-align: middle !important;
    padding: .5em 2.5em .5em .7em !important;
}

/*Bootstrap overwrite*/
.btn, .form-control, .border-radius-none {
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* 2026-07-28: #afb3b5 давал контраст 2.1:1 на белом (WCAG AA требует 4.5) */
.footer {
    color: #6c757d;
}

label.required:after {
    color: red;
    content: " *";
}

.pop {
    font-size: large;
    float: right;
    top: 33px;
    left: -10px;
    z-index: 1;
}

.pop-select {
    left: -25px;
}

.form-horizontal.form-support {
    padding: 15px;
}

.support__span {
    padding: 0 15px;
    margin-bottom: 15px;
    display: block;
}

.advertising__block {
    padding: 0 50px;
}

.searchFilter__mobile {
    display: none;
}

.row.vac__mobile em .col-lg-12.m-b-1 .btn {
    display: none;
}

.row.vac__mobile .col-lg-12.m-b-1 .btn {
    display: none;
}

.logo {
    display: block;
    position: relative;
    top: -6px;
    width: 106px;
    height: 34px;
}

.searchFilter {
    /*background: #eee;*/
    width: 100%;
    padding: 0 10px;
    min-width: 165px;
    /*border-right: 1px solid #ccc;*/
}

.close {
    display: none !important;
    position: absolute;
    top: 1px;
    right: 5px;
    margin-top: 3px;
    opacity: 0.2;
}

.chosen:hover i {
    opacity: 0.5;
    color: red;
}

.chosen {
    background: #dfdfdf;
}

.chosen i {
    display: block !important;
}

.sf-menu {
    padding: 6px 0;
}

.well {
    margin-left: 0;
    margin-right: 0;
}

.panel-body {
    min-height: 150px;
}

.panel-body hr {
    margin: 10px;
}

.elementHiddenSlide {
    display: none;
}

.elementHidden {
    cursor: pointer;
}

.textTitle {
    padding: .5em;
    background-color: #eee;
}

.subtitle {
    margin-top: 1.3em;
    margin-bottom: .3em;
    font-weight: 600;
    clear: both;
}

.vacancy-contacts__fio {
    font-weight: 600;
}

.companyLogo img {
    float: right;
    display: none;
    max-height: 100px;
    max-width: 200px;
}

.valign-flex-end {
    display: flex;
    align-items: flex-end;
}

.valign-baseline {
    display: flex;
    align-items: baseline;
}

.remote-work {
    color: #00a65a;
}

.badge {
    /* ≥4.5:1 с белым текстом (WCAG AA; было #999 = 2.85:1) */
    background-color: #757575 !important;
}

/* Кнопка отклика: bootstrap #5cb85c с белым текстом даёт 2.4:1 —
   затемняем только её, глобальный btn-success не трогаем */
.responseButton.btn-success {
    background-color: #398439;
    border-color: #398439;
}

.responseButton.btn-success:hover,
.responseButton.btn-success:focus,
.responseButton.btn-success:active {
    background-color: #2d672d;
    border-color: #2d672d;
}

/* Ссылки категорий в каталоге: кликабельная область ≥24px по высоте
   (WCAG target-size; ссылки шли текстовой строкой) */
.category_list_item a {
    display: inline-block;
    padding: 3px 0;
}

/* Табы сущностей на главной (Вакансии/Задания/Резюме/Портфолио).
   На узких экранах bootstrap-паддинги (15px у .navbar-collapse + 15px по
   бокам каждой вкладки + margin-right 2px) не давали четырём табам встать
   в одну строку — «Портфолио» переносилось. Здесь: flex без переноса,
   компактные отступы, а отрицательные поля ряда выравнивают ТЕКСТ первого
   и последнего таба по краям поля поиска и кнопок над ними. */
@media (max-width: 767px) {
    #bs-menu {
        padding-left: 0;
        padding-right: 0;
    }

    .service-navigation {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-left: -7px;
        margin-right: -7px;
    }

    /* bootstrap-клиарфикс .nav:before/:after во flex-контейнере становится
       полноценным flex-элементом и забирает себе часть промежутков —
       из-за него ряд сдвигался вправо от края контента */
    .service-navigation:before,
    .service-navigation:after {
        display: none;
    }

    .service-navigation > li {
        float: none;
    }

    .service-navigation > li > a {
        padding: 10px 7px;
        margin-right: 0;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Совсем узкие экраны (360px и уже: Android-бюджетники, iPhone SE) */
@media (max-width: 380px) {
    .service-navigation {
        margin-left: -5px;
        margin-right: -5px;
    }

    .service-navigation > li > a {
        padding: 10px 5px;
        font-size: 12px;
    }
}

/* Экстремально узкие (320px и уже — iPhone SE 1-го поколения, внешний
   экран складных). Ряд ужимается до предела, а если и этого не хватит,
   прокручивается вбок: перенос «Портфолио» на вторую строку недопустим */
@media (max-width: 340px) {
    .service-navigation {
        margin-left: -3px;
        margin-right: -3px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-navigation > li > a {
        padding: 10px 3px;
        font-size: 11px;
    }
}

/* Vanilla-автокомплит (autocomplete-vanilla.js): тёмная тема в духе
   dark-hive (как выглядели подсказки при jquery-ui) */
.rj-autocomplete-menu {
    background: #222;
    border: 1px solid #444;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    list-style: none;
    margin: 2px 0 0;
    padding: 2px 0;
    max-height: 320px;
    overflow-y: auto;
    color: #fff;
}

.rj-autocomplete-menu li {
    padding: 5px 12px;
    color: #fff;
}

.rj-autocomplete-menu li.ui-state-focus {
    background: #0972a5;
}

/* Кастомный селект типа поиска (rjEnhanceSelect в search_form.html.twig):
   одинаковый вид на всех ОС; выпадающий список — в тон автокомплиту.
   Класс вешается на .input-group-btn — display не переопределяем, чтобы
   не сломать bootstrap-раскладку input-group */
.rj-select {
    position: relative;
}

.rj-select select.rj-select-enhanced {
    display: none;
}

.rj-select-toggle .caret {
    margin-left: 6px;
}

.rj-select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10100;
    min-width: 100%;
    background: #222;
    border: 1px solid #444;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    list-style: none;
    margin: 2px 0 0;
    padding: 2px 0;
    display: none;
    white-space: nowrap;
    /* bootstrap схлопывает шрифт в .input-group-btn до 0 — возвращаем */
    font-size: 14px;
    line-height: 1.42857143;
    text-align: left;
}

.rj-select.open .rj-select-menu {
    display: block;
}

.rj-select-menu li {
    padding: 5px 14px;
    color: #fff;
    cursor: pointer;
}

.rj-select-menu li.rj-active {
    background: #0972a5;
}

.rj-select-menu li.rj-selected:before {
    content: "\2713\00a0";
}

/* rj-combo (rj-combo.js) — универсальная замена select2 без jQuery:
   single/multiple, поле поиска (подстрока, регистронезависимо), один код
   на десктопе и мобильных. Светлая select2-подобная тема под bootstrap-
   формы. Демо: /system_tester/rj-combo-demo */
.rj-combo {
    position: relative;
    text-align: left;
}

/* Нативный select прячем НЕ через display:none: браузер отказывается
   показывать сообщение валидации у недоступного для фокуса контрола
   («An invalid form control is not focusable») — required-селекты ломались
   бы молча. Схлопываем в точку под контролом: валидация работает, из
   потока элемент выпадает, кликов не ловит. */
.rj-combo select.rj-combo-enhanced {
    position: absolute;
    left: 12px;
    bottom: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.rj-combo-control {
    min-height: 34px;
    padding: 3px 26px 3px 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.rj-combo-control:focus,
.rj-combo.open .rj-combo-control {
    outline: 0;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.rj-combo-value {
    display: contents;
}

.rj-combo-placeholder {
    color: #999;
}

.rj-combo-single {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rj-combo-caret {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -1px;
    color: #888;
}

.rj-combo.open .rj-combo-caret {
    transform: rotate(180deg);
}

.rj-combo-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 1px 4px 1px 8px;
    background: #f2f6f9;
    border: 1px solid #cfdde6;
    border-radius: 3px;
    color: #333;
}

.rj-combo-tag > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rj-combo-tag-remove {
    border: 0;
    background: none;
    padding: 0 4px;
    font-size: 15px;
    line-height: 1;
    color: #777;
    cursor: pointer;
}

.rj-combo-tag-remove:hover {
    color: #c9302c;
}

.rj-combo-drop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10100;
    margin-top: 3px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
    display: none;
}

.rj-combo.open .rj-combo-drop {
    display: block;
}

.rj-combo-search {
    display: block;
    width: calc(100% - 12px);
    margin: 6px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.42857143;
}

.rj-combo-search:focus {
    outline: 0;
    border-color: #66afe9;
}

.rj-combo-list {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    max-height: 240px;
    overflow-y: auto;
}

.rj-combo-list li.rj-combo-option {
    padding: 6px 12px;
    cursor: pointer;
    color: #333;
}

.rj-combo-list li.rj-combo-option.rj-selected:before {
    content: "\2713\00a0";
    color: #0972a5;
    font-weight: bold;
}

.rj-combo-list li.rj-combo-option.rj-active {
    background: #0972a5;
    color: #fff;
}

.rj-combo-list li.rj-combo-option.rj-active.rj-selected:before {
    color: #fff;
}

.rj-combo-list li.rj-combo-option.rj-disabled {
    color: #aaa;
    cursor: default;
}

.rj-combo-list li.rj-combo-option.rj-combo-clear {
    color: #999;
    font-style: italic;
}

.rj-combo-empty {
    padding: 8px 12px;
    color: #777;
    display: none;
}

.rj-combo-tag-remove {
    /* тач-цель ≥24px, иначе промах открывает дропдаун вместо удаления чипа */
    min-width: 24px;
    min-height: 24px;
}

/* Планшеты и телефоны (вкл. альбомную ориентацию — порог 991, а не 767):
   крупнее тач-цели, список выше, 16px в поиске чтобы iOS не зумил */
@media (max-width: 991px) {
    .rj-combo-control {
        min-height: 38px;
    }

    .rj-combo-list {
        max-height: 45vh;
    }

    .rj-combo-list li.rj-combo-option {
        padding: 9px 12px;
    }

    .rj-combo-search {
        padding: 7px 8px;
        font-size: 16px;
    }
}

#response hr {
    margin: 5px 0;
}

#response .well {
    margin-bottom: 10px;
}

.big a {
    font-size: 16px;
}

.panel-body {
    min-height: 150px;
}

@media screen and (max-width: 700px) {
    .max-width {
        width: 28% !important;
    }

    .min-width {
        width: 22% !important;
    }
}

@media screen and (max-width: 620px) {
    .searchFilter {
        width: 620px;
    }

    .filterContainer {
        overflow-x: scroll;
    }
}

@media only screen and (max-width: 600px) {
    .searchFilter__mobile {
        display: block;
    }

    .btn-filter {
        font-size: 16px;
    }

    .searchFilter {
        display: none;
    }

    .row.vac__desktop .col-lg-12.m-b-1 .btn {
        display: none;
    }

    .row.vac__mobile em .col-lg-12.m-b-1 .btn {
        display: block;
        width: 100%;

    }

    .row.vac__mobile .col-lg-12.m-b-1 .btn {
        display: block;
        width: 100%;
    }

    .text-right.number__views {
        text-align: left !important;
    }

}

@media only screen and (max-width: 420px) {
    .contactsView {
        width: 100%;
    }

    .responseButton {
        width: 100%;
    }
}

.data-not-confirmed-flash {
    padding: 5px 30px;
    margin-top: 0;
    text-align: center;
    color: white;
    background: #ff4444;
    font-size: 12px;
    line-height: unset;
}

@media (max-width: 1000px) {
    body .navbar:first-of-type .container {
        width: 100%;
    }
}

.select2-search__field {
    width: 100% !important;
}

.navbar {
    margin-bottom: 0 !important;
}

/*START OF LOADING ANIMATION --------------------------------------*/
.screen-loader-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.6;
    z-index: 100;
    display: none;
}

.screen-loader-animation {
    display: block;
    top: 45%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
}

.uil-spin-css {
    background: none;
    position: relative;
    width: 200px;
    height: 200px;
}

@-webkit-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-ms-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes uil-spin-css {
    0% {
        opacity: 1;
        -ms-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        opacity: 0.1;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

.uil-spin-css > div {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    margin-top: 4px;
    position: absolute;
}

.uil-spin-css > div > div {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: #cec9c9;
}

.uil-spin-css-black > div > div {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: #000;
}

.uil-spin-css > div:nth-of-type(1) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -o-animation-delay: 0s;
    animation-delay: 0s;
}

.uil-spin-css > div:nth-of-type(1) {
    -ms-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(2) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.12s;
    -moz-animation-delay: 0.12s;
    -webkit-animation-delay: 0.12s;
    -o-animation-delay: 0.12s;
    animation-delay: 0.12s;
}

.uil-spin-css > div:nth-of-type(2) {
    -ms-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(3) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.25s;
    -moz-animation-delay: 0.25s;
    -webkit-animation-delay: 0.25s;
    -o-animation-delay: 0.25s;
    animation-delay: 0.25s;
}

.uil-spin-css > div:nth-of-type(3) {
    -ms-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(4) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.37s;
    -moz-animation-delay: 0.37s;
    -webkit-animation-delay: 0.37s;
    -o-animation-delay: 0.37s;
    animation-delay: 0.37s;
}

.uil-spin-css > div:nth-of-type(4) {
    -ms-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(5) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.uil-spin-css > div:nth-of-type(5) {
    -ms-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(6) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.62s;
    -moz-animation-delay: 0.62s;
    -webkit-animation-delay: 0.62s;
    -o-animation-delay: 0.62s;
    animation-delay: 0.62s;
}

.uil-spin-css > div:nth-of-type(6) {
    -ms-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(7) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.75s;
    -moz-animation-delay: 0.75s;
    -webkit-animation-delay: 0.75s;
    -o-animation-delay: 0.75s;
    animation-delay: 0.75s;
}

.uil-spin-css > div:nth-of-type(7) {
    -ms-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
}

.uil-spin-css > div:nth-of-type(8) > div {
    -ms-animation: uil-spin-css 1s linear infinite;
    -moz-animation: uil-spin-css 1s linear infinite;
    -webkit-animation: uil-spin-css 1s linear infinite;
    -o-animation: uil-spin-css 1s linear infinite;
    animation: uil-spin-css 1s linear infinite;
    -ms-animation-delay: 0.87s;
    -moz-animation-delay: 0.87s;
    -webkit-animation-delay: 0.87s;
    -o-animation-delay: 0.87s;
    animation-delay: 0.87s;
}

.uil-spin-css > div:nth-of-type(8) {
    -ms-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
    -moz-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
    -webkit-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
    -o-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
    transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
}

/*END OF LOADING ANIMATION -------------------------------------*/
.vacancy-colored {
    background-color: #eeeeee;
    border: 1px solid white;
}

/* 2026-07-28: стандартный синий #337ab7 на сером #eee - 3.9:1, ниже WCAG AA;
   на серых строках списков ссылки чуть темнее (это же hover-синий bootstrap) */
.vacancy-colored a {
    color: #2a6496;
}

/* 2026-07-28: белый на #5cb85c - 2.5:1; затемняем кнопку поиска до AA (4.6:1) */
.btn-success.btn-toggle {
    background-color: #398439;
    border-color: #327036;
}
.btn-success.btn-toggle:hover,
.btn-success.btn-toggle:focus,
.btn-success.btn-toggle:active {
    background-color: #2f6f32;
    border-color: #2a622d;
}

/* Loaded */
.miniLoad {
    position: absolute;
    background-color: #fbfbfb;
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

.blockLoaded {
    position: relative;
}

select[multiple] {
    height: 34px;
}

.field-select2 {
    visibility: hidden;
}

/* FileUpload */
#uploadFiles {
    position: relative;
}

#blockUpload {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #fbfbfb;
    opacity: 0.6;
}

#blockUploadText {
    font-size: 21px;
    z-index: 1001;
    position: absolute;
    width: 100%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.data-not-confirmed-flash a {
    color: #f5ffd7;
}

.data-not-confirmed-flash a:hover {
    color: #d4deb6;
}

.data-not-confirmed-flash .buttonCancel {
    position: absolute;
    right: 5px;
    line-height: 15px;
    text-decoration: none;
    font-size: 30px;
    top: 0;
}

.grecaptcha-badge {
    display: none !important;
}

/* ==========================================================================
   Мобильный drawer шапки (< 768px — брейкпоинт бургера bootstrap 3).
   Панель — тот же #bs-example-navbar-collapse-1, «открыто» = класс .in,
   который тогглят ШТАТНЫЕ механики обоих рантаймов (bootstrap collapse /
   generic-делегат vanilla_bootstrap_widgets). Все правила заскоуплены на
   этот ID: в проекте есть чужой .navbar-collapse #bs-menu (табы главной
   и кабинета) — его трогать нельзя. Десктоп (>=768px) не видит ни одного
   правила из этой секции; новые элементы разметки по умолчанию скрыты.
   Значения цветов/радиусов/переходов — литералы дизайн-языка cabinet2.
   ========================================================================== */

.rj-drawer-head,
.rj-drawer-heading,
.rj-mlabel,
.rj-drawer-backdrop,
/* bootstrap .nav>li{display:block} специфичнее одиночного класса — дублируем */
.navbar-nav > li.rj-drawer-heading,
/* font-awesome.min.css грузится ПОЗЖЕ front.css, его .fa{display:inline-block}
   победил бы одиночный .rj-micon по каскаду — нужна двойная специфичность */
.fa.rj-micon {
    display: none;
}

@media (max-width: 767px) {
    /* --- панель ---------------------------------------------------------- */
    #bs-example-navbar-collapse-1 {
        display: flex !important; /* побеждает .collapse{display:none}; flex — для order */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 0 0 calc(16px + env(safe-area-inset-bottom));
        background: #fff;
        border: 0;
        box-shadow: 0 16px 40px rgba(16, 42, 67, .18);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateX(100%);
        visibility: hidden;
        z-index: 1001; /* локально в стэкинге навбара (z-101); модалка звезды (сосед nav, z-1050) — поверх */
        transition: transform .26s ease, visibility 0s linear .26s, opacity 1ms linear;
    }
    #bs-example-navbar-collapse-1.in {
        transform: none;
        visibility: visible;
        transition: transform .26s ease, opacity 1ms linear;
    }
    /* jQuery-bootstrap на show ждёт transitionend по height (либо 350ms
       эмуляцию) и только потом вешает .in. Отдаём ему transitionend через
       ~1ms невидимым opacity-переходом (opacity 1ms уже в базовом
       transition-списке панели) — слайд стартует сразу, без лага */
    #bs-example-navbar-collapse-1.collapsing {
        height: auto !important;      /* бьёт inline height от collapse.js */
        overflow-y: auto !important;  /* против overflow:hidden у .collapsing */
        opacity: .999;
    }

    /* оба ul сливаются в общий flex-поток панели; порядок задаёт order */
    #bs-example-navbar-collapse-1 > .navbar-nav {
        display: contents;
    }
    /* bootstrap-клиарфиксы стали бы flex-элементами — гасим */
    #bs-example-navbar-collapse-1 > .navbar-nav:before,
    #bs-example-navbar-collapse-1 > .navbar-nav:after,
    #bs-example-navbar-collapse-1:before,
    #bs-example-navbar-collapse-1:after {
        content: none;
    }

    /* --- шапка панели ---------------------------------------------------- */
    #bs-example-navbar-collapse-1 .rj-drawer-head {
        display: flex;
        order: 0;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding: 12px 20px;
        border-bottom: 1px solid #e9edf1;
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    .rj-drawer-title {
        font-size: 18px;
        font-weight: 600;
        color: #212b36;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    .rj-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: -8px -12px -8px 0;
        background: none;
        border: 0;
        border-radius: 999px;
        font-size: 26px;
        line-height: 1;
        color: #6c757d;
    }
    .rj-drawer-close:active {
        background: #f4f6f8;
    }

    /* --- пункты ----------------------------------------------------------- */
    #bs-example-navbar-collapse-1 li {
        float: none;
        margin: 0;
        order: 90; /* защитный дефолт: безклассовые пункты уходят вниз */
    }
    #bs-example-navbar-collapse-1 li > a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.4;
        color: #212b36;
        transition: background-color 120ms ease;
    }
    #bs-example-navbar-collapse-1 li > a:active,
    #bs-example-navbar-collapse-1 li > a:hover {
        background: #f5f9fb;
        text-decoration: none;
    }
    #bs-example-navbar-collapse-1 li > a > .fa {
        width: 22px;
        text-align: center;
        font-size: 18px;
        color: #337ab7;
        flex-shrink: 0;
    }
    /* против inline-стиля fa-money в разметке */
    #bs-example-navbar-collapse-1 .rj-mi-balance .fa-money {
        font-size: 18px !important;
        line-height: inherit !important;
        color: #337ab7 !important;
    }
    #bs-example-navbar-collapse-1 .social-group-icon {
        width: 20px;
        height: 20px;
        margin: 0 1px; /* выравнивание с 22px fa-колонкой */
        flex-shrink: 0;
    }
    .rj-mlabel {
        display: inline;
    }
    /* мобильные-only иконки пунктов (напр. Техподдержка) */
    #bs-example-navbar-collapse-1 .rj-micon {
        display: inline-block;
    }
    /* подписи теперь видимы — sr-only-дубли в панели не читаем дважды */
    #bs-example-navbar-collapse-1 .sr-only {
        display: none !important;
    }
    /* лоадер звезды-закладки не растягиваем на flex-строку */
    #bs-example-navbar-collapse-1 .blockLoaded .miniLoad {
        display: none !important;
    }

    /* --- порядок секций --------------------------------------------------- */
    #bs-example-navbar-collapse-1 .rj-mi-login    { order: 2; }
    #bs-example-navbar-collapse-1 .rj-mi-register { order: 3; }
    #bs-example-navbar-collapse-1 .rj-mi-seekers  { order: 10; }
    #bs-example-navbar-collapse-1 .rj-mi-employers{ order: 11; }
    #bs-example-navbar-collapse-1 .rj-mh-account  { order: 20; }
    #bs-example-navbar-collapse-1 .rj-mi-cabinet  { order: 21; }
    #bs-example-navbar-collapse-1 .rj-mi-balance  { order: 22; }
    #bs-example-navbar-collapse-1 .rj-mi-user     { order: 23; }
    #bs-example-navbar-collapse-1 .rj-mh-service  { order: 30; }
    #bs-example-navbar-collapse-1 .rj-mi-service  { order: 31; }
    #bs-example-navbar-collapse-1 .rj-mi-bookmark { order: 32; }
    #bs-example-navbar-collapse-1 .rj-mh-social   { order: 40; }
    #bs-example-navbar-collapse-1 .rj-mi-vk       { order: 41; }
    #bs-example-navbar-collapse-1 .rj-mi-tg       { order: 42; }

    /* --- заголовки секций -------------------------------------------------- */
    #bs-example-navbar-collapse-1 .rj-drawer-heading {
        display: block;
        padding: 16px 20px 6px;
        margin-top: 8px;
        border-top: 1px solid #f4f6f8;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #6c757d;
    }

    /* --- аккордеоны (штатный li.open > .dropdown-menu) --------------------- */
    #bs-example-navbar-collapse-1 .dropdown-toggle .caret {
        margin-left: auto;
        border-top-color: #6c757d;
        transition: transform 180ms ease;
    }
    #bs-example-navbar-collapse-1 li.open > .dropdown-toggle .caret {
        transform: rotate(180deg);
    }
    #bs-example-navbar-collapse-1 .open > .dropdown-menu {
        display: block;
        position: static;
        float: none;
        width: auto;
        margin: 0 12px 8px;
        padding: 4px 0;
        background: #eaf2f9;
        border: 0;
        border-radius: 10px;
        box-shadow: none;
        animation: rjDrawerFade 180ms ease;
    }
    #bs-example-navbar-collapse-1 .dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 16px 10px 24px;
        font-size: 15px;
        color: #37424e;
        white-space: normal;
    }
    #bs-example-navbar-collapse-1 .dropdown-menu a:active,
    #bs-example-navbar-collapse-1 .dropdown-menu a:hover {
        background: rgba(51, 122, 183, .08);
        text-decoration: none;
    }
    #bs-example-navbar-collapse-1 .dropdown-menu .fa {
        width: 20px;
        text-align: center;
        color: #6c757d;
        flex-shrink: 0;
    }
    #bs-example-navbar-collapse-1 .dropdown-menu .divider {
        margin: 4px 12px;
        background-color: #d7e3ec;
    }
    /* div-дропдаун «Баланс» */
    #bs-example-navbar-collapse-1 .open > .dropdown-menu ._c_gray {
        margin: 6px 12px;
        border-radius: 8px;
    }

    /* --- аноним: кнопки Вход/Регистрация ----------------------------------- */
    #bs-example-navbar-collapse-1 li.rj-mi-login > a {
        margin: 12px 20px 4px;
        justify-content: center;
        min-height: 44px;
        border: 1px solid #cfdde6;
        border-radius: 10px;
        color: #337ab7;
        font-weight: 600;
    }
    #bs-example-navbar-collapse-1 li.rj-mi-login > a .fa {
        width: auto;
    }
    #bs-example-navbar-collapse-1 li.rj-mi-register > a {
        margin: 4px 20px 8px;
        justify-content: center;
        min-height: 44px;
        background: #337ab7;
        color: #fff;
        border-radius: 10px;
        font-weight: 600;
    }
    #bs-example-navbar-collapse-1 li.rj-mi-register > a:active,
    #bs-example-navbar-collapse-1 li.rj-mi-register > a:hover {
        background: #2a6496;
    }

    /* --- фокус-кольцо ------------------------------------------------------ */
    #bs-example-navbar-collapse-1 a:focus-visible,
    .rj-drawer-close:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #337ab7;
        border-radius: 8px;
    }

    /* --- backdrop ---------------------------------------------------------- */
    .rj-drawer-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(16, 42, 67, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .26s ease;
        z-index: 1000; /* под панелью (1001), над контентом */
    }
    #bs-example-navbar-collapse-1.in ~ .rj-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* --- scroll-lock фона (класс ведёт инлайн-скрипт навбара) -------------- */
    html.rj-drawer-lock,
    html.rj-drawer-lock body {
        overflow: hidden;
    }
}

@keyframes rjDrawerFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
}
