/*region Common */

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-Bold.ttf');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-BoldItalic.ttf');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto Custom';
    src: url('../../fonts/Roboto/Roboto-MediumItalic.ttf');
    font-weight: 500;
    font-style: italic;
}

html {
    position: relative;
    min-height: 100%;
    min-width: 320px;
}
body {
    min-width: 320px;
    /* Margin bottom by footer height. */
    margin-bottom: 73px;
}
.popup_welcome {
    .modal-dialog{
    }
    .bootbox-body .wrap{
        max-width: 90vw!important;
    }

}

.content-wrapper {
    width: 100%;
    margin: 0 0;
    min-height: 100%;
    margin: auto;
    height: 100%;
}
.content-wrapper.auto-height {
    height: auto !important;
}
.content-wrapper.percent-height {
    height: 100% !important;
}

.bootbox.modal {
    z-index: 4000 !important;
}

/* Элементы, которые нужно фиксировать при горизонтальном скролле */
.fix-on-horizontal-scroll {
    position: relative;
}

.form-section {
    margin-bottom: 20px;
}

.form-section__title {
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 10px;
}

.form-section .document-item {
    text-align: start;
    position: relative;
    word-break: break-word;
}

.form-section .document-item-additional {
    word-break: break-word;
}

.form-section .document-item-additional-bold {
    font-weight: bold;
}

.form-section .alert-icon {
    position: absolute;
    left: -37px;
}

/* Скрытие ненужных элементов при печати страницы */
@media print {
    .visible-print {
        display: inherit !important;
    }

    .hidden-print, .print-invisible {
        display: none !important;
    }
}

/* Кнопка моментального скрола до верха страницы */
#up-to-page {
    position: fixed;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: 30px;
    background-color: #30455d;
    cursor: pointer;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1000;
    right: 23px;
    bottom: 70px;
}

/* Кнопка открытия универсального чата */
#universal-chat-access {
    position: fixed;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: 30px;
    background-color: #30455d;
    cursor: pointer;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1000;
    left: 23px;
    bottom: 70px;
}

.universal-chat-dlg .modal-dialog {
    width: 80% !important;
}

/* Диалог выполнения операции */
.bootbox-pending-dlg .modal-dialog {
    width: 450px;
}
.bootbox-pending-dlg .modal-body {
    text-align: center;
}
.bootbox-pending-dlg img {
    width: 120px;
    margin: 20px;
}

/*endregion*/
/*region Menu */

/* Верхняя полоса меню */
nav.navbar-ts {
    min-height: 60px;
    position: relative;
    margin-bottom: 0px;
    border: none;
    border-radius: 0;
    color: #fff;
}

.light-dropdown-menu {
    color: black;
    border: 2px solid #1F81B2;
    width: 350px;
    max-width: 350px;
    padding: 1rem;
}

.light-dropdown-menu li {
    padding-right: 1rem;
    background-color: white !important;
    border-bottom: 1px solid #cccccc;
    white-space: normal;
    margin-bottom: 1rem;
}

.light-dropdown-menu li:last-child {
    border-bottom: none !important;
}

.light-dropdown-menu li div {
    margin-bottom: 1rem;
}

.light-dropdown-menu li .license-balance,.license-limit,.license-expiration-date {
    display: flex;
    justify-content: space-between;
}

.scrollable-menu {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
}

.gray-color {
    color: #969696;
}

.light-orange-color {
    color: #fbb446;
}

.green-color {
    color: #369e2a;
}

nav.navbar-ts .navbar-main {
    margin: 0 -15px;
    float: none;
    white-space: nowrap;
}

/* Кнопка, разворачивающая схлопнутное верхнее меню, при узком экране */
nav.navbar-ts .navbar-toggle {
    margin-bottom: 0;
    font-size: 19px;
}
nav.navbar-ts.not-authenticated .navbar-toggle {
    position: absolute;
    right: 0;
    top: 0;
}
nav.navbar-ts.not-authenticated.hide-menu-icon .navbar-toggle {
    display: none;
}

/* Лого системы */
.logo-cont, .logo-cont-tr {
    display: inline-block;
}

/* Название системы */
nav.navbar-ts .navbar-brand {
    height: 60px;
    padding:0;
    color: #fff;
}
nav.navbar-ts .navbar-brand img {
    margin-top: -10px;
}
nav.navbar-ts .navbar-header {
    position: relative;
}
nav.navbar-ts.not-authenticated .navbar-header {
    float: none;
    text-align: center;
}
nav.navbar-ts.not-authenticated .navbar-brand {
    display: block;
    float: none;
    background: transparent !important;
}

/* Пункты меню */
nav.navbar-ts .navbar-main > li {
    display: block;
}
nav.navbar-ts .navbar-nav > li > a {
    padding-top: 20px;
    padding-left: 18px;
    padding-bottom: 20px;
    color: #fff;
    font-size: 14px;
}
nav.navbar-ts .navbar-nav > li > a br {
    display: none;
}
nav.navbar-ts .navbar-nav > li > a .title-replacer {
    display: none;
}
nav.navbar-ts  a img {
    margin-top: -5px;
    margin-right: 8px;
}
nav.navbar-ts .notification-badge {
    position: relative;
    top: -2px;
    background: #e75252;
}
nav.navbar-ts .badge {
    margin-left: 4px;
    padding: 3px 6px 3px 4px;
}
nav.navbar-ts .pulse-menu-item img {
    position: static !important;
}

/* Стрелочка пункта меню */
nav.navbar-ts .navbar-main a .caret {
    display: none;
}


/* Правый блок пользователя */
nav.navbar-ts .full-user-name {
    display: inline-block;
    height: 20px;
    max-width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
nav.navbar-ts .navbar-right .dropdown.dark a.dropdown-toggle.user-menu {
    height: 60px;
    padding-left: 53px;
    position: relative;
    padding-right: 43px;
    padding-top: 13px;
    line-height: 17px;
}
nav.navbar-ts:not(.not-authenticated) .navbar-right .dropdown-toggle.user-menu img {
    position: absolute;
    left: 20px;
    top: 21px;
    margin: 0;
}
nav.navbar-ts .user-name {
    font-weight: bold;
    font-size: 12px;
    position: relative;
}
nav.navbar-ts .user-role {
    font-weight: bold;
    font-size: 12px;
}
nav.navbar-ts .navbar-right {
    position: initial;
    margin: 0px -15px;
}
/* Перенос строки между "личный кабинет" и именем пользователя */
nav.navbar-ts .header-footer-dropdown-user-menu-br {
    display: block !important;
}
/* Надпись "личный кабинет" */
nav.navbar-ts .personal-account-label {
    font-size: 13px;
    font-weight: bold;
}

/* Выпадашка пользователя/тех.поддержки */
nav.navbar-ts .navbar-right .dropdown-menu {
    width: fit-content;
    min-width: 275px;
    padding: 0;
    border: 0;
    z-index: 9999;
}
nav.navbar-ts .navbar-right .support .dropdown-menu {
    min-width: 200px;
    width: inherit;
}
nav.navbar-ts .navbar-right .support .dropdown-menu.prodavay {
    min-width: 315px !important;
    width: inherit;
}
nav.navbar-ts .navbar-right .dropdown-menu li {
    overflow: hidden;
}
nav.navbar-ts .navbar-right .dropdown-menu > li > a {
    height: 60px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    font-weight: bold;
    font-size: 14px;
}
nav.navbar-ts .navbar-right .dropdown-menu > li > a img {
    margin-right: 8px;
}

/*endregion*/
/*region Footer*/

footer {
    position: absolute !important;
    width: 100%;
    bottom: 0;
    overflow: hidden;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height:68px;
    max-height: 73px;
}

.footer-company-info {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.footer-company-name {
    text-align: center;
    font-family: "Roboto Custom";
    font-size: 16px;
    line-height: 24px;
    color: #0F172A;
}

.footer-support {
    display: flex;
    gap: 40px;
}
.footer-support-info {
        display: flex;
        gap:28px;
}
.footer-support-item {
    display: flex;
    gap: 4px;
    align-items: center;
    text-decoration: none !important;
}
.footer-support-item-icon {
    width: 20px;
    height:20px;
}
.footer-support-item-text {
    margin: 0;
    font-family: "Roboto Custom";
    font-size: 16px;
    line-height: 24px;
    color: #0F172A;
}

.footer-help-pages {
    display: flex;
    gap:12px;
    align-items: center;
}

.footer-help-page {
    background-color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 8px;
    display: flex;
    text-decoration: none !important;
    gap: 6px;
    min-width: 141px;
    align-items: center;
    transition: box-shadow .3s ease-in-out;
}

.footer-help-page:hover {
    box-shadow: 0px 2px 30px 0px #5771A526;
}

.footer-help-page-info {
    display: flex;
    flex-direction: column;
}

.footer-help-page-text {
    font-family: "Roboto Custom";
    font-size: 11px;
    line-height: 12px;
    color: #0F172A;
}

.footer-help-page-title {
    font-family: "Roboto Custom";
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #0F172A;
}

footer br {
    display: none;
}

footer.fixed {
    position: fixed !important;
    z-index: 200;
}

/*endregion*/
/*region Tabs*/

/* Вкладки раздела */
.tabs-wrapper {
    position: relative;
    height: 80px;
    border-bottom: 1px solid;
    text-align: center;
}
.tabs-wrapper .nav-tabs {
    display: inline-block;
    margin-top: 42px;
    border-bottom: none;
}
.tabs-wrapper .nav-tabs a {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 12px;
    color: #333;
}
.tabs-wrapper .nav-tabs .active a,
.tabs-wrapper .nav-tabs .active a:hover,
.tabs-wrapper .nav-tabs .active a:focus,
.tabs-wrapper .nav-tabs a:hover,
.tabs-wrapper .nav-tabs a:focus {
    border-right-color: #ccc;
    border-left-color: #ccc;
    border-top-color: #ccc;
    border-bottom: none;
    border-radius: 0;
    background: #fff;
    color: #333;
}

/* Резиновые вкладки с коллапсом */
.tabs-wrapper.too-many-tabs {
    height: auto;
}
.tabs-wrapper.too-many-tabs .navbar {
    min-height: 10px;
    margin: 0;
    padding: 12px 0 0;
}
.tabs-wrapper.too-many-tabs .navbar-collapse {
    overflow: hidden;
}
.tabs-wrapper.too-many-tabs .nav-tabs {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
.tabs-wrapper.too-many-tabs .collapse.in .nav-tabs {

}
.tabs-wrapper.too-many-tabs .nav-tabs a {
    margin-bottom: 12px;
    padding-top: 10px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 10px;
}
.tabs-wrapper.too-many-tabs .nav-tabs > li {
    display: inline-block;
    float: none;
}
.tabs-wrapper.too-many-tabs .nav-tabs .active a,
.tabs-wrapper.too-many-tabs .nav-tabs .active a:hover,
.tabs-wrapper.too-many-tabs .nav-tabs .active a:focus,
.tabs-wrapper.too-many-tabs .nav-tabs a:hover,
.tabs-wrapper.too-many-tabs .nav-tabs a:focus {
    border-bottom: 1px solid #ccc;
}
.tabs-wrapper.too-many-tabs .navbar-toggle:not(.collapsed) .show-all-text,
.tabs-wrapper.too-many-tabs .navbar-toggle.collapsed .hide-all-text {
    display: none;
}
.tabs-wrapper.too-many-tabs .navbar-header {
    margin-bottom: 11px;
    text-align: left;
}
.tabs-wrapper.too-many-tabs .navbar-toggle {
    margin: 1px 0;
    padding: 0;
    font-size: 13px;
}
.tabs-wrapper.too-many-tabs .current-sub-section {
    float: none;
    font-size: 13px;
    color: #999;
}
.tabs-wrapper.too-many-tabs .current-sub-section .current-sub-section-name {
    color: #333;
}
.tabs-wrapper.too-many-tabs button.navbar-toggle:hover {
    text-decoration: underline;
}

/* Вкладки в одну строку с прокруткой */
.tabs-wrapper.one-line-tabs {
    height: auto;
    padding: 0;
    overflow: hidden;
}
.tabs-wrapper.one-line-tabs .nav-tabs {
    margin-top: 18px;
    margin-bottom: 18px;
    margin-left: 15px;
    margin-right: 30px;
    text-align: center;
    white-space: nowrap;
}
.tabs-wrapper.one-line-tabs .nav-tabs a {
    margin-bottom: 0px;
    padding-left: 12px;
    padding-right: 12px;
}
.tabs-wrapper.one-line-tabs .nav-tabs > li {
    display: inline-block;
    float: none;
}
.tabs-wrapper.one-line-tabs .nav-tabs .active a,
.tabs-wrapper.one-line-tabs .nav-tabs .active a:hover,
.tabs-wrapper.one-line-tabs .nav-tabs .active a:focus,
.tabs-wrapper.one-line-tabs .nav-tabs a:hover,
.tabs-wrapper.one-line-tabs .nav-tabs a:focus {
    border-bottom: 1px solid #ccc;
}

.tabs-wrapper .nav-tabs a:hover,
.tabs-wrapper .nav-tabs .active a:hover {
    text-decoration: underline;
    color: #4a90e2;
    cursor: pointer;
}

/* Кол-во-уведомление */
.tabs-wrapper .nav-tabs .badge {
    position: absolute;
    top: -6px;
    right: 8px;
    display: none;
    font-size: 10px;
    background: #e75252;
    padding: 3px 5px 2px;
}

/*endregion*/
/*region Flexbox */

html.flexbox {
    height: 100%;
}

html.flexbox body {
    height: 100%;
    margin-bottom: 0 !important;
}

html.flexbox .content-wrapper {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
html.flexbox nav.navbar-ts {
    min-height: 60px;
}
html.flexbox .tabs-wrapper {
    margin: 0;
}
html.flexbox .flex-container {
    flex-grow: 1;
}
html.flexbox footer {
    position: relative !important;
    min-height: 60px;
}

/*endregion*/
/*region Адаптивность*/

/*region Верхнее меню */

/*
    Не добавляйте в эти media queries CSS, который не относится к адаптивности верхнего меню.

    Нулевой шаг свёртки меню (сужение лого портала) находится в портальных css (zakupay.css и prodavay.css), т.к.
    ширина лого у порталов разная.
*/

@media (min-width: 768px) {

    /* Ширина больше 768px = меню не будет свёрнуто средствами bootstrap. */

    /* Отменяет плавание элементов меню - это позволяет меню всегда быть в одну полоску и не расползаться. */
    nav.navbar-ts .navbar-main > li {
        display: inline-block;
        float: none;
    }
    /* В несвёрнутом состоянии, правая часть меню спозиционирована абсолютно. Опять же для одной полоски. */
    nav.navbar-ts .navbar-right {
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
    }

    /* Стрелочка пункта меню - отображается снизу элементов. Отображается только в несвёрнутом состоянии. */
    nav.navbar-ts  .navbar-main a .caret {
        display: none;
        position: absolute;
        left: 50%;
        bottom: -5px;
        margin-left: -4px;
        border-top: 5px solid;
        border-right: 8px solid transparent;
        border-left: 8px solid transparent;
    }
    nav.navbar-ts  .navbar-main .active .caret,
    nav.navbar-ts .navbar-main a:hover .caret,
    nav.navbar-ts .navbar-main a:focus .caret {
        display: block;
    }
    nav.navbar-ts:not(.not-authenticated) .navbar-right .dropdown-toggle.user-menu .caret {
        position: absolute;
        top: 29px;
        right: 20px;
    }

    .license-dropdown-toggle {
        display: flex;
        justify-content: space-between;
    }

    .license-dropdown-toggle .right-caret {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 10px;
        vertical-align: middle;
        border-top: 4px dashed;
        border-top: 4px solid;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }

    /* Имя и роль пользователя */
    nav.navbar-ts .full-user-name {
        max-width: 250px;
    }
    nav.navbar-ts:not(.not-authenticated) .navbar-right .user-menu img,
    nav.navbar-ts:not(.not-authenticated) .navbar-right .user-menu .caret {
        position: relative;
        top: -6px;
    }
}
@media (max-width: 767px) {
    nav.navbar-ts .caret {
        position: relative;
        top: -13px;
    }
}

/* Далее разные состояния несвёрнутого меню в зависимости от ширины экрана и от кол-ва элементов в левой части меню. */
@media (min-width: 768px) and (max-width: 2225px) {

    /* 11 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-right .full-user-name {
        max-width: 150px;
    }
}
@media (min-width: 768px) and (max-width: 2125px) {
    /*region Menu */

    /* 10 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /* 9 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 2000px) {
    /*region Menu */

    /* 8 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1900px) {
    /*region Menu */

    /* 11 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-11 a img {
        margin-top: -4px;
    }

    /* 7 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1850px) {
    /*region Menu */

    /* 9 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-9 a img {
        margin-top: -4px;
    }

    /* 10 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-10 a img {
        margin-top: -4px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1800px) {
    /*region Menu */

    /* 11 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-11 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-11 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 6 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1750px) {
    /*region Menu */

    /* 5 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /* 10 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-10 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-10 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-right .user-name {
        font-size: 13px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1700px) {
    /*region Menu */

    /* 9 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-9 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-9 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 8 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-8 a img {
        margin-top: -4px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1600px) {
    /*region Menu */

    /* 11 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 8 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-8 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-8 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 7 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-7 a img {
        margin-top: -4px;
    }

    /* 4 элемента, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-4 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1550px) {

    /* 10 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-main > li > a {
        font-size: 11px;
    }
}
@media (min-width: 768px) and (max-width: 1500px) {
    /*region Menu */

    /* 11 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-11 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 9 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 7 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-7 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-7 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 6 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-6 a img {
        margin-top: -4px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1450px) {

    /* 10 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-10 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }
}
@media (min-width: 768px) and (max-width: 1400px) {
    /*region Menu */

    /* 9 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-9 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 8 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 6 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-6 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-6 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 5 элементов, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-5 a img {
        margin-top: -4px;
    }

    /* 3 элемента, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-3 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1300px) {
    /*region Menu */

    /* 8 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 7 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 6 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 5 элементов, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-5 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-5 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-right .user-name {
        font-size: 13px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1250px) {
    /*region Menu */

    /* 4 элемента, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-4 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-4 a img {
        margin-top: -4px;
    }

    /* 3 элемента, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-3 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-3 a img {
        margin-top: -4px;
    }

    /* 2 элемента, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-2 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1200px) {
    /*region Menu */

    /* 11 элементов, 6 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-main > li:not(.active) > a {
        padding-left: 13px;
        padding-right: 10px;
    }

    /* 7 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-7 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 6 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-6 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 5 элементов, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 4 элемента, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-4 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-4 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-4 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 3 элемента, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-3 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-3 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-3 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-right .user-name {
        font-size: 13px;
    }

    /* 1 элемент, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-1 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-1 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-1 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-1 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1100px) {
    /*region Menu */

    /* 11 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-11 .navbar-right .user-name,
    nav.navbar-ts.menu-item-count-11 .navbar-right .personal-account-label{
        display: none;
    }
    nav.navbar-ts.menu-item-count-11 .dropdown.dark a.dropdown-toggle.user-menu {
        padding-left: 40px;
        padding-right: 36px;
    }
    nav.navbar-ts.menu-item-count-11 .dropdown.dark a.dropdown-toggle.user-menu .caret {
        left: 47px;
    }

    /* 10 элементов, 6 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-main > li:not(.active) > a {
        padding-left: 13px;
        padding-right: 10px;
    }

    /* 9 элементов, 6 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-main > li:not(.active) > a {
        padding-left: 13px;
        padding-right: 10px;
    }

    /* 5 элементов, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-5 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 4 элемента, 4 шаг сужения */
    nav.navbar-ts.menu-item-count-4 .navbar-main > li > a {
        font-size: 11px;
    }

    /* 2 элемента, 2 шаг сужения */
    nav.navbar-ts.menu-item-count-2 .navbar-nav > li > a {
        padding-left: 16px;
        padding-right: 13px;
        font-size: 13px;
    }
    nav.navbar-ts.menu-item-count-2 a img {
        margin-top: -4px;
    }

    /* 0 элементов, 1 шаг сужения */
    nav.navbar-ts.menu-item-count-0 .navbar-right .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-0 .navbar-right .badge {
        margin-left: 2px;
    }
    nav.navbar-ts.menu-item-count-0 .navbar-right .post-chat-button img {
        margin-right: 3px;
    }
    nav.navbar-ts.menu-item-count-0 .navbar-right .full-user-name {
        max-width: 150px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1050px) {
    /*region Menu */

    /* 10 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-10 .navbar-right .user-name,
    nav.navbar-ts.menu-item-count-10 .navbar-right .personal-account-label{
        display: none;
    }
    nav.navbar-ts.menu-item-count-10 .dropdown.dark a.dropdown-toggle.user-menu {
        padding-left: 40px;
        padding-right: 36px;
    }
    nav.navbar-ts.menu-item-count-10 .dropdown.dark a.dropdown-toggle.user-menu .caret {
        left: 47px;
    }

    /* 9 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-9 .navbar-right .user-name,
    nav.navbar-ts.menu-item-count-9 .navbar-right .personal-account-label {
        display: none;
    }
    nav.navbar-ts.menu-item-count-9 .dropdown.dark a.dropdown-toggle.user-menu {
        padding-left: 40px;
        padding-right: 36px;
    }
    nav.navbar-ts.menu-item-count-9 .dropdown.dark a.dropdown-toggle.user-menu .caret {
        left: 47px;
    }

    /* 8 элементов, 6 и 7 шаг сужения */
    nav.navbar-ts.menu-item-count-8 .navbar-main > li:not(.active) > a {
        padding-left: 13px;
        padding-right: 10px;
    }
    nav.navbar-ts.menu-item-count-8 .navbar-right .user-name,
    nav.navbar-ts.menu-item-count-8 .navbar-right .personal-account-label {
        display: none;
    }

    /* 7 элементов, 6 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-main > li:not(.active) > a {
        padding-left: 13px;
        padding-right: 10px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 980px) {
    /*region Menu */

    /* 7 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-7 .navbar-right .user-name {
        display: none;
    }

    /* 6 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-6 .navbar-right .user-name {
        display: none;
    }

    /* 4 элемента, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-4 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-4 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 900px) {
    /*region Menu */

    /* 5 элементов, 7 шаг сужения */
    nav.navbar-ts.menu-item-count-5 .navbar-right .user-name {
        display: none;
    }

    /* 3 элемента, 5 шаг сужения */
    nav.navbar-ts.menu-item-count-3 .navbar-main > li:not(.active) > a .menu-title {
        display: none;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li:not(.active) > a .title-replacer {
        display: inline;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li:not(.active) > a img {
        position: relative;
        top: 9px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li.with-badge:not(.active) > a {
        text-align: left;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li.with-badge:not(.active) > a .title-replacer {
        margin-right: 15px;
    }
    nav.navbar-ts.menu-item-count-3 .navbar-main > li.with-badge:not(.active) > a .badge {
        position: relative;
        top: -13px;
    }

    /* 2 элемента, 3 шаг сужения */
    nav.navbar-ts.menu-item-count-2 .navbar-main > li > a br {
        display: block;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-main > li > a {
        padding-top: 12px;
        padding-bottom: 8px;
        text-align: center;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-main > li > a img {
        margin-right: 0;
    }
    nav.navbar-ts.menu-item-count-2 .notification-badge {
        top: 0px;
    }
    nav.navbar-ts.menu-item-count-2 .badge {
        font-size: 11px;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-right .full-user-name {
        max-width: 120px;
    }
    nav.navbar-ts.menu-item-count-2 .navbar-right .user-name {
        font-size: 13px;
    }

    /*endregion*/
}
@media (max-width: 400px) {
    /*region Menu */

    /* При очень узкий экранах отражаем только иконку лого. */
    .navbar-ts .logo-cont, .navbar-ts .logo-cont-tr {
        width: 54px;
    }

    /*endregion*/
}

/*endregion*/
/*region Футер */

@media (max-width: 1024px) {
    /*region Footer*/

    footer .support {
        font-size: 18px;
    }

    /*endregion*/
}
@media (max-width: 900px) {
    /*region Footer*/

    footer .company-name {
        width: 40%;
    }
    footer .support {
        width: 60%;
        font-size: 16px;
    }

    /*endregion*/
}
@media (max-width: 800px) {
    /*region Footer*/

    footer .company-name {
        width: 35%;
    }
    footer .support {
        width: 65%;
        font-size: 14px;
    }

    /*endregion*/
}
@media (max-width: 600px) {
    /*region Footer*/

    footer {
        font-size: 13px;
    }
    footer .support {
        font-size: 13px;
    }

    /*endregion*/
}
@media (max-width: 530px) {
    /*region Footer*/

    footer,
    footer .support {
        font-size: 12px;
    }

    /*endregion*/
}
@media (max-width: 480px) {
    /*region Footer*/

    footer .company-name {
        width: 40%;
    }
    footer .support {
        width: 60%;
    }
    footer .company-name,
    footer .support {
        padding-top: 9px;
        line-height: 20px;
    }
    footer br {
        display: block;
    }
    /*endregion*/
}
@media (max-width: 400px) {
    /*region Footer*/

    footer,
    footer .support {
        font-size: 11px;
    }

    /*endregion*/
}

/*endregion*/
/*region Кнопка моментального скрола до верха страницы */

@media (max-width: 768px) {
    #up-to-page {
        right: 10px;
    }
}

/*endregion*/

/*endregion*/
/*region Диалог купить лицензию*/

.buy-license-dialog .modal-content {
    width: 430px;
    margin: 0 auto;
    border-radius: 3px;
}
.buy-license-dialog .bootbox-body {
    margin: 15px;
}
.buy-license-dialog .hidden {
    display: none;
}

/*region Заголовок*/

.buy-license-dialog .header {
    font-size: 26px;
    border-bottom: solid 1px #d2d2d2;
    padding-bottom: 30px;
}

/*endregion*/
/*region Информация о пользователе*/

.buy-license-dialog .user-info {
    padding-top: 15px;
}
.buy-license-dialog .user-info .content{
    padding-bottom: 20px;
    font-size: 14px;
    color: #333333;
}
.buy-license-dialog .user-info .title {
    height: 14px;
    font-size: 11px;
    color: #a0a0a0;
    margin-bottom: 1px;

}
.buy-license-dialog .user-info .break-word {
    word-wrap: break-word;
}

/*endregion*/
/*region Ввод кол-ва лицензий*/

.buy-license-dialog .main {
    margin: 0 -30px;
    padding: 20px 30px 30px;
    background-color: #fafafa;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
}
.buy-license-dialog .main .message {
    margin-bottom: 30px;
    font-size: 14px;
}
.buy-license-dialog .form-group {
    width: 170px;
    margin: auto;
}
.buy-license-dialog .form-group input {
    font-size: 14px;
}

/*endregion*/
/*region Дилог удачного запроса*/

.buy-license-dialog .success-dialog div {
    margin-bottom: 50px;
}

/*endregion*/
/*region Кнопки*/

.buy-license-dialog .buttons {
    margin: 40px 0 25px;
}
.buy-license-dialog .buttons button {
    width: 180px;
}

.buy-license-dialog .close-button {
    margin-bottom: 10px;
}
/*endregion*/

@media (max-width: 500px) {
    .buy-license-dialog .modal-content {
        width: 90%;
    }
}
/*endregion*/

/*region Custom checkbox*/
/*region Checkbox only on input[checkbox]*/
input.custom-checkbox {
    position: relative;
    height: 13px;
    width: 13px;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input.custom-checkbox:after {
    content: "\e013";
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    height: 15px;
    width: 15px;
    color: white;
    background-color: white;
    border-radius: 3px;
    font-family: 'Glyphicons Halflings';
    font-size: 10px;
    text-align: center;
    line-height: 0px;
    border: 1px solid #D2D2D2;
    transition: .25s all ease-out;
    cursor: pointer;
    overflow: hidden;
}
input.custom-checkbox[disabled]:after {
    cursor: not-allowed;
    color: #DBDBDB;
    background-color: #DBDBDB;
}
input.custom-checkbox:checked:after {
    line-height: 15px;
    border: none;
}

/*Bootstrap checkbox fix*/
.checkbox input[type="checkbox"].custom-checkbox {
    margin-left: -19px;
}

/*endregion*/
/*region Triple-state checkbox on button and class*/

button.triple-checkbox {
    content: "";
    position: relative;
    overflow: hidden;
    width: 15px;
    height: 15px;
    padding: 0;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    background-color: #ffffff;
    color: #ffffff;
    transition: .25s all ease-out;
    font-size: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/*Галочка*/
button.triple-checkbox:after {
    content: "\e013";
    display: block;
    position: absolute;
    top: -5px;
    height: 100%;
    width: 100%;
    background-color: transparent;
    font-family: 'Glyphicons Halflings';
    font-size: 10px;
    text-align: center;
    transition: .25s all ease-out;
    cursor: pointer;
    line-height: 13px;
}
/* Квадратик */
button.triple-checkbox:before {
    content: "";
    display: block;
    position: absolute;
    left: 3px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background-color: transparent;
    transition: .25s all ease-out;
    z-index: 1;
    cursor: pointer;
}

button.triple-checkbox.checked:after {
    top: 0;
}
button.triple-checkbox.intermediate:before {
    top: 3px;
}
button.triple-checkbox[disabled] {
    color: #DBDBDB;
    background-color: #DBDBDB;
}
button.triple-checkbox[disabled],
button.triple-checkbox[disabled]:after,
button.triple-checkbox[disabled]:before {
    cursor: not-allowed;
}

/*endregion*/
/*endregion*/
.has-error {
    border-color: #a94442;
}

.IEAlert {
    text-align: center;
    margin-bottom: 0px;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.start-tour-button {
    background-color: rgba(114, 173, 220, 0.25);
    padding: 10px 0 10px 15px;
    position: fixed;
    top: 120px;
    right:  0;
    width: 40px;
    border-radius: 5px;
    -webkit-transition: background-color 0.5s; /* Safari */
    transition: background-color 0.5s, width 0.5s;
}

.start-tour-button:hover {
    background-color: rgba(114, 173, 220, 0.8);
    text-decoration: none;
    width: 130px;
    cursor: pointer;
    -webkit-transition: background-color 0.5s; /* Safari */
    transition: background-color 0.5s, width 0.5s;
}

.start-tour-button .sign {
    opacity: 1;
    position: fixed;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
}

.start-tour-button:hover .sign {
    opacity: 0;
    -webkit-transition: opacity 0.25s; /* Safari */
    transition: opacity 0.25s;
}

.start-tour-button .button-text {
    opacity: 0;
    -webkit-transition: opacity 0.25s; /* Safari */
    transition: opacity 0.25s;
}

.start-tour-button:hover .button-text {
    opacity: 1;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
}

.error-highlighted-control{
    border: solid 1px red !important;
}



/*region ALERT */

.warning-alert {
    background-color: #ffe8b9;
}

.warning-alert-text {
    margin: auto;
    padding: 10px 0;
    width: 600px;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    white-space: pre-line;
}

.close-alert {
    color: #d2a33b;
    float: right;
    margin: 10px;
    cursor: pointer;
}
/*endregion*/

/*region Перетаскиваемые объекты*/

.draggable-modal-window {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.draggable-modal-window:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

/*endregion*/

/*region Кнопка закрытия виджета omniDesk */

.omni-close-btn {
    position: relative;
    display: inline-block;
    width: 0.10em;
    height: 0.10em;
    border: none;
    border-radius: 0.03em;
    box-sizing: content-box;
    font: normal 8em/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    text-overflow: clip;
    background: #034abc;
}

.omni-close-btn::before {
    position: absolute;
    top: 0.045em;
    left: 0.021em;
    display: inline-block;
    width: 0.06em;
    height: 0.014em;
    border: none;
    content: "";
    box-sizing: content-box;
    font: normal 100%/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    text-overflow: clip;
    background: #ffffff;
    text-shadow: none;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg)   ;
}

.omni-close-btn::after {
    position: absolute;
    top: 0.045em;
    left: 0.021em;
    display: inline-block;
    width: 0.06em;
    height: 0.014em;
    border: none;
    content: "";
    box-sizing: content-box;
    font: normal 100%/normal Arial, Helvetica, sans-serif;
    color: rgba(0,0,0,1);
    text-overflow: clip;
    background: #ffffff;
    text-shadow: none;
    -webkit-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg)   ;
}

/*endregion*/


iframe#omni_widget_iframe_2503-bnra6jur{
    min-height: 0px !important;
}

iframe#omni_widget_iframe_2506-ckn7mv17{
    min-height: 0px !important;
}

.cynteka-mobile-app-link {
    padding: 0px !important;
}

.cynteka-mobile-app-image {
    max-width: 168px !important;
    max-height: 64px !important;
    margin-right: 0px !important;
}



#sidebar {
    width: 100vw;
    position: fixed;
    top: -50px;
    left: 0px;
    height: 50px;
    z-index: 1003;
    background: #333333;
    color: #fff;
    transition: all 0.3s;
    overflow: visible;
}

.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 1001;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
    top: 0;
}
/* display .overlay when it has the .active class */
.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar.active {
    top: 0;
}

.menu-img-container {
    width: 35px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 60px;
    left: calc(100vw - 260px);;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    font-size: 12px;
    color: #6d6d6d;
    padding-left: 70px;
    cursor: pointer;
    border-bottom: 1px solid #bcbcbc;

}

#sidebar ul.components {
    padding: 20px 0;
    padding-bottom: 100px;
    position: absolute;
    bottom: 0px;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li{
    position:relative;
}

#sidebar ul li a.menu-item-link {
    padding: 10px;
    font-size: 12px;
    display: block;
    color: #6d6d6d;
    cursor: pointer;
    padding-left: 70px;
}

#sidebar ul li a .menu-title{
    line-height: 29px;
}
#sidebar ul li a .menu-title.notification-badge{
    background-color: #fd7751;
    color: #fff;
    font-style: normal;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    line-height: 9px;
}

#sidebar ul li a.menu-item-link:hover {
    color: #fff;
    background-color: #cecece;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

#sidebarCollapse{
    margin-top: 10px;
    display: inline-block;
    position: relative;
}

.notification-badge{
    background-color: #fd7751;
    color: #fff;
    font-style: normal;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    line-height: 9px;
    position: absolute;
    top: 0px;
}

.notification-badge.selected{
    background-color: #fff;
    color: #fd7751;
}

#sidebarCollapse .notification-badge{
    top: 0px;
    right: -10px;
}

/*#reference-icon{*/
/*    background: #333333;*/
/*    position: fixed;*/
/*    top: 100px;*/
/*    left: 5px;*/
/*    padding: 8px 8px;*/
/*    border-radius: 50%;*/
/*    cursor: pointer;*/
/*    z-index:1002;*/
/*}*/

/*#reference-icon .close-icon{*/
/*    position: absolute;*/
/*    top: -10px;*/
/*    right: -5px;*/
/*    cursor: pointer;*/
/*}*/


.right-text-bubble{
    background: #fff;
    position: absolute;
    z-index: 999;
    top: 60px;
    width: 500px;
    display: none;
    left: -440px;
    border-radius: 5px;
}

.right-text-bubble div, .right-text-bubble ul li{
    line-height: 18px;
    color: #000;
    text-align: left;
}
.right-text-bubble ul{
    padding-left: 15px;
}

#sidebar.active .right-text-bubble {
    display: block;
    padding: 10px 15px;
}


.right-text-bubble .left-arrow{
    position: absolute;
    left: -10px;
    display: inline-block;
    bottom: 15px;
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.right-text-bubble .top-arrow{
    position: absolute;
    top: -10px;
    right: 30px;
    display: inline-block;
    width: 0px;
    height: 0px;
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

#chatra.chatra--pos-right {
    right: 70px !important;
}

#chatra.chatra--side-bottom {
    bottom: 70px !important;
}
