/*region Common */

#up-to-page {
    background-color: #30455d;
}

/*endregion*/
/*region Custom checkbox */

input.custom-checkbox:checked:after {
    background-color: #30455d;
}
input.custom-checkbox[disabled]:checked:after {
    background-color: #73879d;
}

button.triple-checkbox.checked {
    background-color: #30455d;
    border-color: #30455d;
}
button.triple-checkbox.intermediate:before {
    background-color: #30455d;
}
button.triple-checkbox.checked[disabled] {
    background-color: #73879d;
    border-color: #73879d;
}
button.triple-checkbox.intermediate[disabled]:before {
    background-color: #73879d;
}

/*endregion*/
/*region Menu */

/* Верхняя полоса меню */
nav.navbar-ts {
    background: #30455d;
}
.navbar #upper-menu .navbar-main li,
.navbar #upper-menu .navbar-right li {
    background-color:#30455d;
}

/* Кнопка, разворачивающая схлопнутное верхнее меню, при узком экране */
.navbar .navbar-toggle {
    position: absolute;
    top: 0;
    right: 0;
}

/* Название системы */
nav.navbar-ts .navbar-brand {
    height: 20px !important;
}

/* Лого системы */
.twLogo:before{
    width:260px;
    height:40px;
    background:#30455d;
    color:#fff;
    font-size: 18px;
    content:'CYNTEKA';
}

/* Пункты меню */
nav.navbar-ts .navbar-main.nav .active a, nav.navbar-ts .navbar-main.nav > li > a:hover, nav.navbar-ts .navbar-main.nav > li > a:focus {
    background-color: #3f5b7a;
}

/* Стрелочка пункта меню */
nav.navbar-ts  .navbar-main a .caret {
    border-top-color: #3f5b7a;
}

/* Правый блок пользователя */
nav.navbar-ts .user-menu .caret {
    border-top-color: #4a90e2;
    z-index: 1;
}
nav.navbar-ts .user-name {
    color: #4a90e2;
}
nav.navbar-ts .navbar-right.nav .dropdown:hover, nav.navbar-ts .navbar-right.nav .dropdown:focus,
nav.navbar-ts .navbar-right.nav > li.active > a,
nav.navbar-ts .navbar-right.nav > li > a:hover, nav.navbar-ts .navbar-right.nav > li > a:focus,
nav.navbar-ts .navbar-right.nav > li > a:active, nav.navbar-ts .navbar-right.nav > li > a:visited,
nav.navbar-ts .navbar-right.nav .open > a, nav.navbar-ts .navbar-right.nav .open > a:hover, nav.navbar-ts .navbar-right.nav .open > a:focus {
    background-color: #3f5b7a;
}

/* Выпадашка пользователя */
nav.navbar-ts .navbar-right .dropdown-menu > li > a {
    color: #4a90e2;
    background: #3f5b7a;
}
nav.navbar-ts .navbar-right .dropdown-menu > li > a:hover, nav.navbar-ts .navbar-right .dropdown-menu > li > a:focus {
    background: #30455d;
}
nav.navbar-ts .navbar-right .dropdown-menu li {
    border-top: 1px solid #30455d;
}

/*endregion*/
/*region Footer */

footer {
    background-color: #F1F5FB;
    border-top-color: #c9d1df;
    color: #4a90e2;
}

/*endregion*/
/*region Tabs*/

/* Вкладки раздела */
.tabs-wrapper {
    background: #dde5ef;
    border-bottom-color: #c9d1df;
}

/* Кол-во-уведомлений */
.tabs-wrapper .nav-tabs .badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: #e75252;
}

.ng-cloak{
    display: none !important;
}

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

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

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

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

    /* 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: 2150px) {
    /*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: 2050px) {
    /*region Menu */

    /* 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: 2000px) {
    /*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;
    }

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

    /* 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: 1900px) {
    /*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;
    }

    /*endregion*/
}
@media (min-width: 768px) and (max-width: 1850px) {
    /*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: 1750px) {
    /*region Menu */

    /* 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: 1650px) {
    /*region Menu */

    /* 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: 1550px) {
    /*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: 1450px) {
    /*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: 1400px) {
    /*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: 1350px) {
    /*region Menu */

    /* 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: 1250px) {
    /*region Menu */

    /* 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: 1200px) {
    /*region Menu */

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

    /* 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 {
        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: 1130px) {
    /*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: 1050px) {
    /*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*/
}

/*region new main menu*/
.menu-wrapper {
    position: relative;
    width: 100%;
    height: 56px;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    padding: 8px 28px;
    background-color:#2269D6;
    z-index:100;
}

.main-button {
    cursor: pointer;
    width: fit-content;
}

.main-button-rectangle {
    position: absolute;
    display: inline-flex;
    width: 170px;
    height: 56px;
    left: 0px;
    top: 0px;
    background: #435B79;
    z-index: 10;
}

.menu-icon {
    padding-left: 16px;
    width: 40px;
}
.main-menu-title-wrapper {
    display: flex;
}

.main-menu-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 150px;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 52px;
    align-items: center;
    color: #FFFFFF;
    padding-left: 16px;
    z-index: 10;
}

.main-button-polygon {
    position: absolute;
    left: 170px;
    top: 0px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #435B79;
    z-index: 9;
}

.license-end-polygon {
    border-left: 25px solid #E75252;
}

.menu-items {
    visibility: collapse;
    position: absolute;
    top: 0px;
    left: 211px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item {
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    height: 36px;
    padding: 6px 12px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    font-family: 'Roboto Custom';
    transition: background-color 0.2s ease-in-out;
}

.menu-item:hover,
.menu-item:focus,
.menu-item:visited {
    background: #2063C7;
    text-decoration: none;
    color: #FFFFFF;
}

.menu-item > a {
    text-decoration: none;
    color: #FFFFFF;
}


.menu-item.active {
    background-color: #2063C7;
}

.menu-item.more {
    position: relative;
}

.menu-item.more > img {
    transition: transform 0.3s ease-in-out;
}

img.more-img.active {
    transform: rotate(180deg);
}

.icons-items {
    position: absolute;
    display: flex;
    gap: 4px;
    right: 28px;
    align-items: center;
    top: 8px;
}

.icon-item {
    position: relative;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.icon-item:hover,
.icon-item:focus,
.icon-item.active {
    background-color: #2063C7;
}

.icon-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.icon-item a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.icon-item a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.icon-item-count {
    position: absolute;
    top: -3px;
    left: 60%;
    padding: 1px 6px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #E32222;
    border-radius: 10px;
    font-size: 12px;
    color: #fff;
    z-index: 1000;
    font-weight: 500;
    width: fit-content;
    font-family: "Roboto Custom";
}

.opened-menu-icon-item-notification {
    display: inline-block;
    background: #E75252;
    border-radius: 6px 6px 6px 0px;
    font-size: 10px;
    padding: 1px 2px;
    color: #FFFFFF;
    min-width: 15px;
    text-align: center;
    font-weight: bolder;
    line-height: 15px;
}

.menu-item-notification {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: #E32222;
    border-radius: 50px;
    font-size: 12px;
    padding: 2px 7px;
    color: #fff;
    min-width: 15px;
    text-align: center;
    font-weight: 500;
    visibility: hidden;
    white-space: nowrap;
    vertical-align: baseline;
    z-index: 1000;
}

.collapsed-menu-item-notification {
    display: inline-block;
    line-height: 15px;
    background-color: #E32222;
    border-radius: 50px;
    font-size: 12px;
    padding: 2px 6px;
    color: #fff;
    min-width: 15px;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: baseline;
}

#collapsed-menu .menu-item-notification {
    visibility: hidden;
}

#collapsed-menu tr.active {
    background: #2063C7;
}

.mobile-applications {
    position: relative;
    width: 63px;
    height: 36px;
    top: 7px;
    background: #435B79;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-applications table {
    height: 36px;
}

.user {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #FFFFFF;
    margin-left: 15px;
    margin-top: 9px;
    display:flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.user.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    margin-left: 20px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.user-photo {
    width: 100%;
    height: 100%;
    object-fit: none;
}


#reference-icon {
    margin-top: 12px;
}

.initials {
    font-style: normal;
    color: #0F172A;
    font-family: "Roboto Custom";
}

.user > .initials {
    font-size: 16px;
    font-weight: 500;
}

.opened-menu-user-photo > .initials {
    font-size: 20px;
    font-weight: 400;
}

.opened-menu {
    position: fixed;
    top: 56px;
    left: 0;
    transform: translateX(-100%);
    bottom: 0;
    background: #FFFFFF;
    padding: 16px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1002;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
    width: 292px;
    overflow: auto;
}

.opened-menu.customHeight {
    top: 104px;
}

.opened-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.opened-menu.open {
    transform: translateX(0);
}

.license-warning {
    gap: 8px;
    position: relative;
    width: 100%;
    height: 48px;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFAEC;
    z-index: 100;
}

.license-warning.expired {
    background-color: #FFEBF0;
}

.license-warning-text {
    margin: 0;
    color: #0F172A;
    font-size: 14px;
    line-height: 20px;
}

.license-warning-text.expired {
    color: #D11818;
}

.opened-menu-item {
    border-radius: 8px;
    padding: 10px 8px;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap:8px;
    font-family: "Roboto Custom";
    transition: background-color 0.2s ease-in-out;
}

a.opened-menu-item:hover,
a.opened-menu-item:focus,
a.opened-menu-item:visited {
    text-decoration: none;
}

.opened-menu-item:hover,
.opened-menu-item:focus {
    background-color: #F1F5F9;
}

.opened-menu-icon {
    width: 24px;
}

.opened-menu-item-link {
    color: #0F172A;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.opened-menu-item a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.opened-menu-item-title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #0F172A;
    margin-bottom: 0;
}

.opened-menu tr:hover {
    background: #337ab7;
}

.opened-menu td {
}

.opened-menu table tbody tr.license-end td {
    background: #E75252;
    color: #FFFFFF;
    font-size: 12px;
    height: 50px;
}

.license-end-color {
    background: #E75252;
}


.opened-menu-user {
    position: absolute;
    right: 28px;
    min-width: 320px;
    max-width: 349px;
    background-color: #FFFFFF;
    visibility: hidden;
    z-index: 1002;
    padding: 4px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0px 2px 30px 0px rgba(87, 113, 165, 0.15);
}

.opened-menu-user-photo {
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background-color: #F1F5F9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.opened-menu-user-photo:hover,
.opened-menu-user-photo:focus,
.opened-menu-user-photo:visited {
    text-decoration: none;
}

.opened-menu-user tr:hover {
    background: #337ab7;
}

.opened-menu-user td {
}

.user-menu-items-wrapper {
    padding: 4px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.opened-menu-support {
    position: absolute;
    right: 180px;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 30px 0px rgba(87, 113, 165, 0.15);
    padding: 4px;
    border-radius: 8px;
    visibility: hidden;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.opened-menu-support tr:hover {
    background: #F1F5F9;
}

.opened-menu-support td {
}

.opened-collapsed-menu {
    position: absolute;
    top: 56px;
    left: 0px;
    background-color: #2269D6;
    visibility: hidden;
    cursor: pointer;
    border-radius: 0px 0px 8px 8px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 6px 4px 4px;
    min-width: 166px;
    gap: 2px;
    max-width: 250px;
    max-height: 90vh;
    overflow: auto;
}

.opened-collapsed-menu td {
    width: 100%;
}

.overflow-menu-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    align-items: center;
    color: #FFFFFF;
    padding: 6px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-family: "Roboto Custom";
    gap: 4px;
    transition: background-color 0.2s ease-in-out;
}

.overflow-menu-item:hover,
.overflow-menu-item:visited,
.overflow-menu-item:focus {
    background-color: #2063C7;
    color: #FFFFFF;
    text-decoration: none;
}

.overflow-menu-item > a {
    color: #FFFFFF;
    text-decoration: none;
}

.overflow-menu-item.active {
    background-color: #2063C7;
}

.burger {
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    background: transparent;
    width: 24px;
    height: 18px;
}

.burger-wrapper {
    padding: 11px 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
}

.burger-wrapper:hover {
    background-color: #2063C7;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: #FFFFFF;
}

.burger::before {
    top: 0;
    box-shadow: 0 8px 0 #FFFFFF;
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}

.burger.active::before {
    top: 8px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0,0,0,0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger.active::after {
    bottom: 8px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}

#cynteka-logo {
    display: inline-block;
    cursor: pointer;
}

.menu-burger-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.main-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-header {
    position: fixed;
    background-color: #0F172A80;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.overlay-header.open {
    opacity: 1 ;
    pointer-events: auto;
}

.current-user-info-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px 8px 12px 12px;
    font-family: "Roboto Custom";
}

.current-user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    max-width: 253px;
    margin: 0;
}

.current-user-name {
    font-size: 16px;
    line-height: 18px;
    margin: 0;
    color: #0F172A;
    font-weight: 500;
}

.current-user-email {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    color: #5F6F86;
}

.divider {
    height: 1px;
    align-self: center;
    background-color: #E2E8F0;
    width: calc(100% - 16px);
    margin: 2px;
}

.warning-color {
    color: #D11818;
}

button:focus, button:focus-visible,
a:focus, a:focus-visible,
img:focus, img:focus-visible {
    outline: none;
}

.copied-label {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: black;
    border-radius: 5px;
    color: white;
    padding: 5px;
}


/*endregion*/

/*endregion*/

/*endregion*/
