@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #545454;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

.lh30 {
    line-height: 30px;
}
.lh38 {
    line-height: 38px;
}

.page-header {
    vertical-align: middle;
    margin: 0 0 15px 0;
    padding: 17px 0 0 0;
    border-bottom: 1px solid #e9e9e9;
    z-index: 10;
}

.page-header.fixed {
    position: fixed;
    z-index: 10;
    width: -webkit-fill-available;
}

.page-header h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 1px #fff;
}

.breadcrumb {
    display: inline-block;
    background: none;
    margin: 8px 0 19px 0;
    padding: 0 10px;
    border-radius: 0;
}

.breadcrumb li a {
    color: #999999;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
}

.breadcrumb li a:hover {
    text-decoration: none;
}

.breadcrumb li + li:before {
    content: "\f105";
    font-family: FontAwesome;
    color: #BBBBBB;
    padding: 0 5px;
    font-size: 10px;
}

a:hover, a:focus {
    text-decoration: none;
}

#container {
    min-height: 100%;
    width: 100%;
    position: relative;
    background: #f6f6f6;
    overflow: hidden;
}

.container-fluid {
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
#navigation {
    padding: 0;
    color: #FFFFFF;
    background: #19222E;
    height: 62px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}


#header {
    min-height: 0px;
    background: #FFFFFF;
    border-bottom: 1px solid #d8d8d8;
    margin: 0;
    padding: 0;
    box-shadow: 0px 0px 3px #ccc;
}

#header .container-fluid {
    padding: 0;
}

#header .navbar-header {
    transition: 0.3s all;
    border-right: 1px solid #eee;
    width: 235px;
    display: none;
}

#header .navbar-brand {
    margin-left: 8px;
}

#header .navbar-nav > li {
    display: inline-block;
}

#header .navbar-right > li {
    border-left: 1px solid #eee;
}

#header .navbar-right {
    margin-right: 0;
    margin: 0px 0px 0px 0px;
    float: right;
}



#header .nav > li > a {
    padding: 0px 21px;
    line-height: 45px;
    cursor: pointer;
    color: #6D6D6D;
    border-left: 0px solid #E1E1E1;
}

#header .nav > li.dropdown > a {
    padding-left: 10px;
    padding-right: 10px;
}

#header .nav > li.dropdown > a {
    padding-left: 10px;
    padding-right: 10px;
}

/* Desktop */
@media (min-width: 768px) {
    #header .navbar-header {
        display: inline-block;
    }

    #header .nav > li > a {
        line-height: 60px;
    }
}

#button-menu {
    line-height: 30px;
    font-size: 24px;
    float: left;
    padding: 10px 16px;
    line-height: 25px;
    display: inline-block;
    cursor: pointer;
    color: #6D6D6D;
    border-right: 1px solid #eee;
}

/* Desktop */
@media (min-width: 768px) {
    #button-menu {
        display: none;
    }
}

/* Стили для #column-left перенесены в раздел "НОВАЯ СТРУКТУРА МАКЕТА" ниже */

/* Скрываем названия пунктов меню по умолчанию */
#column-left #menu li a {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#column-left #menu li a i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-right: 0;
}

#column-left #menu li a .menu-text {
    opacity: 0;
    width: 0;
    display: inline-block;
    transition: opacity 0.2s ease, width 0.2s ease;
    margin-left: 0;
    font-size: 12px;
}

/* При наведении показываем названия */
#column-left:hover #menu li a .menu-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* Аватарка по центру слева */
#navigation #user-profile {
    width: 40px;
    height: 40px;
    object-fit: cover;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

/* Блок с именем пользователя и селектором клиентов */
#navigation #user-info {
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
    white-space: nowrap;
}

/* При наведении показываем имя пользователя с задержкой */
#column-left:hover #navigation #user-info {
    opacity: 1;
    max-width: 200px;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
}

/* Стили для #user-profile перенесены в #navigation #user-profile */

/* Убрано - аватарка не увеличивается при наведении */

/* Версия внизу меню */
#column-left .bottom-0 {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#column-left:hover .bottom-0 {
    opacity: 1;
}

#column-left::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(200, 200, 200, 0);
}

#column-left::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(128, 139, 156, 0.2);
}

/* Правая колонка (фильтр) - 300px когда активна */
/* Правая колонка (фильтр) - 300px когда активна, внутри контента справа */
#column-filter {
    width: 300px;
    max-width: 300px;
    min-width: 300px;
    overflow: auto;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    order: 2;
    box-sizing: border-box;
    height: 100vh;
}

#column-filter.active {
    display: block;
}

#column-filter.hide {
    display: none;
}

/* Мобильные устройства */
@media (max-width: 767px) {
    #column-filter {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

#column-filter::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(200, 200, 200, 0);
}

#column-filter::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(128, 139, 156, 0.2);
}

/* Шторки трех уровней */
.curtain {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease, left 0.3s ease;
}

.curtain-level-1 {
    width: calc(100% - 62px);
    left: 62px;
    right: auto;
    z-index: 1000;
}

.curtain-level-2 {
    width: 60%;
    z-index: 1001;
}

.curtain-level-3 {
    width: 30%;
    z-index: 1002;
}

.curtain.hide {
    right: -100%;
}

.curtain-level-1.hide {
    left: 100%;
}

.curtain-level-2.hide {
    right: -60%;
}

.curtain-level-3.hide {
    right: -30%;
}

/* Шапка шторки: кнопка Назад или Закрыть слева, заголовок справа */
.curtain-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}
.curtain-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.curtain-content {
    padding: 0 30px 30px 30px;
}
.curtain-back,
.curtain-close {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.curtain-back:hover,
.curtain-close:hover {
    background-color: #e9ecef;
}
.curtain-back i,
.curtain-close i {
    color: #495057;
    font-size: 16px;
}
.curtain-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.curtain-header-title {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.curtain-header-trades {
    position: absolute;
    right: 15px;
    top: 5%;
    transform: translateY(-50%);
    z-index: 1002;
}

/* Главная — календарь на всю высоту, выравнивание столбцов */
.home-page #content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.home-page .fastgames-home-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 70px;
}
.home-page .fastgames-home-content .row.pt-4 {
    flex: 1;
    min-height: 0;
    display: flex;
}
.home-page .fastgames-home-content .row .col-12 {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .fastgames-home-content .card {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .fastgames-home-content .card-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .fastgames-calendar-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
}
.home-page .fastgames-calendar-wrap .fastgames-calendar {
    table-layout: fixed;
    width: 100%;
    height: calc(100vh - 260px);
    min-height: 400px;
    border: none !important;
    border-collapse: collapse;
}
.home-page .fastgames-calendar-wrap .fastgames-calendar thead th {
    width: 14.28%;
    box-sizing: border-box;
    border: none !important;
    font-weight: 600;
    padding: 8px 6px;
    vertical-align: top;
}
.home-page .fastgames-calendar-wrap .fastgames-calendar tbody td {
    width: 14.28%;
    box-sizing: border-box;
    vertical-align: top;
    border: none !important;
    height: 1%;
    padding: 6px !important;
}
.home-page .fastgames-calendar-wrap .fastgames-calendar tbody tr {
    height: 1%;
}
.home-page .fastgames-calendar-wrap .fastgames-calendar-cell {
    min-height: 80px;
    height: 1%;
}
.home-page .fastgames-calendar-wrap .fastgames-cell-inner {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 6px 8px;
    min-height: 72px;
    height: 100%;
    box-sizing: border-box;
}
.home-page .fastgames-calendar-wrap .fastgames-cell-other-month .fastgames-cell-inner {
    background-color: #fbfbfb;
}
.home-page .fastgames-calendar-wrap .fastgames-cell-today .fastgames-cell-inner {
    border: 1px solid #d4d4d4;
}
.home-page .fastgames-calendar-wrap .fastgames-cell-date {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}
.home-page .fastgames-calendar-wrap .fastgames-slot-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 3px;
    background-color: hsl(var(--slot-hue, 0), 55%, 88%);
    color: hsl(var(--slot-hue, 0), 45%, 25%);
}
.home-page .fastgames-calendar-wrap .fastgames-slot-badge a {
    text-decoration: none;
    color: inherit;
}
.home-page .fastgames-calendar-wrap .fastgames-slot-badge a:hover {
    text-decoration: underline;
}

/* Эквалайзер 0–10: 10 прямоугольников, градиент красный → жёлтый → зелёный */
.fastgames-equalizer {
    display: flex;
    align-items: stretch;
    gap: 3px;
    width: 100%;
}
.fastgames-equalizer .bar {
    flex: 1;
    min-width: 4px;
    background-color: #f5f5f5;
    border-radius: 3px;
    transition: background-color 0.2s;
}
/* Градиент зелёный (1) → жёлтый (5) → красный (10), светлые оттенки */
.fastgames-equalizer .bar.filled:nth-child(1)  { background-color: #81c784; }
.fastgames-equalizer .bar.filled:nth-child(2)  { background-color: #a5d6a7; }
.fastgames-equalizer .bar.filled:nth-child(3)  { background-color: #aed581; }
.fastgames-equalizer .bar.filled:nth-child(4)  { background-color: #c5e1a5; }
.fastgames-equalizer .bar.filled:nth-child(5)  { background-color: #fff176; }
.fastgames-equalizer .bar.filled:nth-child(6)  { background-color: #ffcc80; }
.fastgames-equalizer .bar.filled:nth-child(7)  { background-color: #ffab91; }
.fastgames-equalizer .bar.filled:nth-child(8)  { background-color: #ff8a80; }
.fastgames-equalizer .bar.filled:nth-child(9)  { background-color: #ef9a9a; }
.fastgames-equalizer .bar.filled:nth-child(10) { background-color: #e57373; }
.fastgames-equalizer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.fastgames-equalizer-row .label {
    flex: 0 0 auto;
    font-size: 0.8rem;
    color: #666;
    min-width: 100px;
}
.fastgames-equalizer-row .fastgames-equalizer {
    flex: 1;
    max-width: 180px;
}

/* Шторка карточки клиента — три колонки-карточки + календарь снизу */
.client-card-curtain .fastgames-curtain-card {
    background-color: #fbfbfb;
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
    min-height: 140px;
}
.client-card-curtain .fastgames-curtain-cards-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}
.client-card-curtain .fastgames-curtain-cards-row .fastgames-curtain-card-col {
    flex: 1;
    min-width: 0;
}
.client-card-curtain .fastgames-curtain-card .fastgames-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.client-card-curtain .fastgames-curtain-card .fastgames-curtain-card-text {
    font-size: 0.8rem;
    color: #333;
}
.client-card-curtain .fastgames-curtain-card .fastgames-curtain-card-text.text-muted {
    color: #6c757d;
}
.client-card-curtain .fastgames-curtain-card .fastgames-curtain-edit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}
.client-card-curtain .fastgames-curtain-calendar .fastgames-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.client-card-curtain .fastgames-curtain-calendar .fastgames-curtain-card-text {
    font-size: 0.8rem;
    color: #333;
}
.client-card-curtain .fastgames-curtain-calendar .fastgames-curtain-card-text .text-muted {
    color: #6c757d;
}

/* Календарь клиента — слоты по дням */
.fastgames-calendar-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.fastgames-calendar-slot {
    display: flex;
    flex-direction: column;
    min-width: 70px;
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: background-color 0.2s, border-color 0.2s;
}
.fastgames-calendar-slot:hover {
    border-color: rgba(0,0,0,0.1);
}
.fastgames-slot-active {
    background-color: #fffef7;
}
.fastgames-slot-rest {
    background-color: #f5f5f5;
}
.fastgames-slot-today {
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #ffe79f;
}
.fastgames-slot-weekday {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
    display: block;
}
.fastgames-slot-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.25rem;
}
.fastgames-slot-content {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Календарь клиента — таблица месяца (как на главной) */
.client-card-curtain .fastgames-curtain-calendar-table-wrap {
    overflow-x: auto;
}
.client-card-curtain .fastgames-curtain-calendar-table {
    table-layout: fixed;
    width: 100%;
}
.client-card-curtain .fastgames-curtain-calendar-table thead th {
    width: 14.28%;
    border: none;
    font-weight: 600;
    color: #666;
    padding: 0.35rem 0.25rem;
}
.client-card-curtain .fastgames-curtain-calendar-table tbody td {
    width: 14.28%;
    vertical-align: top;
    border: none;
    height: 120px;
}
.client-card-curtain .fastgames-curtain-calendar-table tbody tr {
    height: 120px;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-calendar-cell {
    height: 120px;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-cell-inner {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 6px 8px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: auto;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-cell-inner.fastgames-slot-active {
    background-color: #fffef7;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-cell-inner.fastgames-slot-today {
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #ffe79f;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-cell-date {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-slot-content {
    font-size: 0.7rem;
    line-height: 1.2;
}
.client-card-curtain .fastgames-curtain-calendar-table .fastgames-cell-other-month .fastgames-cell-inner {
    background-color: #fbfbfb;
}

/* Неделя — фиксированная высота таблицы (одна строка) */
.client-card-curtain .fastgames-curtain-calendar-table-week tbody tr {
    height: 120px;
    max-height: 120px;
}
.client-card-curtain .fastgames-curtain-calendar-table-week tbody td {
    max-height: 120px;
}
.client-card-curtain .fastgames-curtain-calendar-table-week {
    height: auto;
}

/* Тренировки / Клиенты — отступ под фиксированную шапку */
.workouts-page .container-fluid.pt-5,
.clients-page .container-fluid.pt-5 {
    padding-top: 80px !important;
}

/* Тренировки — две колонки 3:1, фиксированная высота, независимый скролл */
.workouts-page .fastgames-workouts-layout {
    display: flex;
    gap: 0;
    height: calc(100vh - 80px);
    margin: 0 -15px;
    padding: 0 15px;
}
.workouts-page .fastgames-workouts-left {
    flex: 3;
    min-width: 0;
    overflow-y: auto;
    padding-right: 1rem;
}
.workouts-page .fastgames-workouts-right {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    border-left: 1px solid #eee;
    padding-left: 1rem;
}
.workouts-page .fastgames-workouts-left .row .col-4 {
    max-width: 33.333%;
}

/* Шторка серии: карточка дня — как в макете (белая карточка, тень, шапка, зона контента) */
.series-day-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 10px;
    border: none;
}
.series-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.series-day-label {
    font-size: 12px;
    font-weight: 500;
    color: rgb(121, 129, 137);
}
.series-day-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.series-day-actions .series-day-add,
.series-day-actions .series-day-remove {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}
.series-day-actions .series-day-add { color: #007BFF; }
.series-day-actions .series-day-add:hover { color: #0056b3; }
.series-day-actions .series-day-remove { color: #DC3545; }
.series-day-actions .series-day-remove:hover { color: #c82333; }
.series-day-workout {
    min-height: 56px;
    background: #f8f9fa;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.series-day-placeholder {
    font-size: 14px;
    color: #6C757D;
    margin: 0;
}
.series-day-workout-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.series-day-workout-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.series-day-workout-no-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6C757D;
}
.series-day-workout-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.series-day-block.series-day-active .series-day-workout {
    box-shadow: 0 0 0 2px #007BFF;
}
.series-day-block.series-day-drag-over .series-day-workout {
    background-color: rgba(0, 123, 255, 0.12);
    border-color: #007BFF;
}
.series-day-workout[draggable="true"] {
    cursor: grab;
}
.series-day-workout[draggable="true"]:active {
    cursor: grabbing;
}

.curtain-content {
    padding: 0 30px 30px 30px;
    height: 100%;
}

#content {
    padding-bottom: 0px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    height: 100vh;
}

/* При открытом меню контент должен правильно ограничиваться */
body.left-menu-active #content {
    width: calc(100% - 235px);
    max-width: calc(100% - 235px);
}

#column-left, #content, #footer, #column-filter, .hasfilter {
    transition: all 0.3s;
}

/* Стили для .row.pt-4 убраны, используются раздельные стили */

/* Основной контент внутри row */
.hasfilter {
    padding-left: 15px;
    padding-right: 15px;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    order: 1;
}

/* Когда фильтр активен, контент занимает calc(100% - 300px) */
body.filter-active .hasfilter {
    flex: 0 0 calc(100% - 300px);
    max-width: calc(100% - 300px);
    min-width: 0;
}

/* Когда фильтр скрыт, контент занимает всю ширину */
body:not(.filter-active) .hasfilter {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

/* Комбинация: меню открыто + фильтр активен/скрыт - будет переопределено в media query для desktop */

/* Убрано - используется новая структура макета */

#column-left + #content, #column-left + #content + #footer {
    position: relative;
    left: 0;
    margin-left: 0;
}

/* Убрано - меню теперь всегда видно и работает через hover */

/* ============================================
   НОВАЯ СТРУКТУРА МАКЕТА
   ============================================ */

/* Левая колонка (меню) - фиксированная 62px */
#column-left {
    width: 62px;
    height: 100vh;
    overflow: visible;
    background-color: #242d37;
    position: fixed;
    top: 0px;
    left: 0px;
    padding-top: 0;
    z-index: 1000;
    min-height: 73px;
    transition: width 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* При наведении меню разворачивается поверх контента (не сдвигает центральную часть) */
#column-left:hover {
    width: 235px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001; /* Выше контента при наведении */
}

/* Скрываем названия пунктов меню по умолчанию */
#column-left #menu li a {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#column-left #menu li a i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-right: 0;
}

#column-left #menu li a .menu-text {
    opacity: 0;
    width: 0;
    display: inline-block;
    transition: opacity 0.2s ease, width 0.2s ease;
    margin-left: 0;
}

/* При наведении показываем названия */
#column-left:hover #menu li a .menu-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* Аватарка по центру слева */
#navigation #user-profile {
    width: 40px;
    height: 40px;
    object-fit: cover;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

/* Блок с именем пользователя и селектором клиентов */
#navigation #user-info {
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
    white-space: nowrap;
}

/* При наведении показываем имя пользователя с задержкой */
#column-left:hover #navigation #user-info {
    opacity: 1;
    max-width: 200px;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
}

/* Стили для #user-profile перенесены в #navigation #user-profile */

/* Убрано - аватарка не увеличивается при наведении */

/* Версия внизу меню */
#column-left .bottom-0 {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#column-left:hover .bottom-0 {
    opacity: 1;
}

/* Центральная колонка */
#container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Шапка, контент и подвал */
.page-header,
#footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Контент занимает calc(100% - 62px) */
#content {
    width: calc(100% - 62px);
    max-width: calc(100% - 62px);
    box-sizing: border-box;
    height: 100vh;
}

/* Когда меню не активно, добавляем margin-left */
body:not(.left-menu-active) #container,
body:not(.left-menu-active) #content,
body:not(.left-menu-active) #footer {
    margin-left: 62px;
}

body.login-page #container,
body.login-page #content,
body.login-page #footer {
    margin-left: 0;
}

/* Контент внутри может содержать правую колонку (фильтр) */

#column-left select,
#column-left select:active {
    background: #19222E;
    border: none;
    margin-left: -4px;
}

/* Desktop */
@media (min-width: 768px) {
    /* Левая колонка (меню) - фиксированная 62px */
    #column-left {
        left: 0px;
        width: 62px;
    }
    
    /* При наведении меню разворачивается поверх контента */
    #column-left:hover {
        width: 235px;
        z-index: 1001;
    }

    /* Центральная колонка */
    #container {
        width: 100%;
        max-width: 100%;
    }
    
    /* Шапка и подвал */
    .page-header,
    #footer {
        width: 100%;
        max-width: 100%;
    }
    
    /* Контент занимает calc(100% - 62px) */
    #content {
        width: calc(100% - 62px);
        max-width: calc(100% - 62px);
    }
    
    /* Когда меню не активно, добавляем margin-left */
    body:not(.left-menu-active) #container,
    body:not(.left-menu-active) #content,
    body:not(.left-menu-active) #footer {
        margin-left: 62px;
    }

    body.login-page #container,
    body.login-page #content,
    body.login-page #footer {
        margin-left: 0;
    }
    
    /* Стили для .row.pt-4 убраны, используются раздельные стили */
    
    /* Фильтр и контент на desktop */
    body.filter-active .hasfilter {
        flex: 0 0 calc(100% - 300px) !important;
        max-width: calc(100% - 300px) !important;
    }
    
    body:not(.filter-active) .hasfilter {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    #column-filter {
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
    }
}

/* Убрано - меню теперь всегда видно и работает через hover */

/* Убрано - правило уже определено выше */

/* Menu */
#menu, #menu ul, #menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu {
    margin-bottom: 25px;
}

#menu li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    cursor: pointer;
    border-bottom: 0px solid #515151;
}

#menu li a.parent:after {
    font-family: FontAwesome;
    margin-left: 8px;
}

#menu li a.parent:after {
    content: "\f107";
}

#menu li a.collapsed:after {
    content: "\f105";
}

#column-left:not(:hover) #menu li a.parent:after {
    display: none;
}

/* 1st lvl */
#menu > li {
    position: relative;
    border-bottom: 1px solid #2b3642;
}

#menu > li > a {
    font-size: 14px;
    color: #b3cbdd;
    padding-left: 20px;
    border-bottom: 0px solid #585858;
}

#menu > li > a:hover {
    background-color: #444444;
}

#menu > li > a > i {
    font-size: 16px;
    width: 18px;
    margin-right: 5px;
}

#menu > li.active > a {
    color: #0b91d2;
    background-color: #171b21;
}

#menu > li > ul {
    background-color: #293141;
}

/* 2nd lvl */
#menu li li a {
    color: #7f8a9b;
}

#menu li li a:hover {
    color: #FFFFFF;
    background-color: #242d37;
}

#menu li ul a {
    padding-left: 20px;
}

#menu li li ul a {
    padding-left: 40px;
}

#menu li li li ul a {
    padding-left: 60px;
}

#menu li li li li ul a {
    padding-left: 80px;
}

/* footer */
#footer {
    height: 100px;
    text-align: center;
}

/* Navs
/* Tabs */
.nav-tabs > li > a {
    color: #a5a5a5;
    border-radius: 2px 2px 0 0;
}

.nav-tabs > li > a:hover {
    border-color: #eee #eee #ddd;
}

.nav-tabs {
    margin-bottom: 25px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    font-weight: bold;
    color: #333;
}

.form-control:hover {
    border: 1px solid #b9b9b9;
    border-top-color: #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

div.required .control-label:not(span):before, td.required:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}

.btn-group {
    white-space: nowrap;
}

.pagination {
    margin: 0;
}

.active>.page-link, .page-link.active {
    background: #ffca2c !important;
    border-color: lightgrey !important;
    color: #0b0b0b !important;
    border-radius: 0.25rem !important;
}

.page-link {
    color: #4b525d !important;
    border-color: transparent !important;
}

.form-group {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.form-group + .form-group {
    border-top: 1px solid #ededed;
}

tbody > tr > td , th{
    border-left-width: 1px!important;
}

/* Panels */
.panel {
    border-radius: 0px;
}

.panel .panel-heading {
    position: relative;
}

.panel-heading h3 i {
    margin-right: 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.panel-heading h3 {
    font-weight: 500;
    display: inline-block;
}

/* Primary Panel */
.panel-primary {
    border: 1px solid #c3e4f6;
    border-top: 2px solid #5cb7e7;
}

.panel-primary .panel-heading {
    color: #1e91cf;
    border-color: #96d0f0;
    background: white;
}

/* Default Panel */
.panel-default {
    border: 1px solid #dcdcdc;
    border-top: 1px solid #dcdcdc;
}

.panel-default .panel-heading {
    color: #4c4d5a;
    border-color: #dcdcdc;
    background: #f6f6f6;
    text-shadow: 0 -1px 0 rgba(50, 50, 50, 0);
}

img.img-thumbnail {
    max-width: 100px;
    max-height: 100px;
}

img.img-thumbnail-small {
    max-width: 50px;
    max-height: 50px;
}

.img-thumbnail i {
    color: #FFFFFF;
    background-color: #EEEEEE;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    padding-top: 20px;
    vertical-align: middle;
    display: inline-block;
}

.img-thumbnail.list i {
    width: 40px;
    height: 40px;
    padding-top: 10px;
}

/* Tiles */
.tile {
    margin-bottom: 15px;
    border-radius: 3px;
    color: #FFFFFF;
    transition: all 1s;
}

.tile-primary {
    background-color: #1b80c2;
}

.tile-success {
    background-color: #53b953;
}

.tile-warning {
    background-color: #f3aa41;
}

.tile-danger {
    background-color: #e45847;
}

.tile:hover {
    opacity: 0.95;
}

.tile a {
    color: #FFFFFF;
}

.tile-heading {
    padding: 5px 8px;
    text-transform: uppercase;
    color: #FFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    background-color: rgba(255, 255, 255, 0.1);
}

.tile .tile-heading .pull-right {
    transition: all 1s;
    opacity: 0.7;
}

.tile:hover .tile-heading .pull-right {
    opacity: 1;
}

.tile-body {
    padding: 15px;
    color: #FFFFFF;
    line-height: 48px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
}

.tile .tile-body i {
    font-size: 50px;
    opacity: 0.3;
    transition: all 1s;
}

.tile:hover .tile-body i {
    color: #FFFFFF;
    opacity: 1;
}

.tile .tile-body h2 {
    font-size: 42px;
}

.tile-footer {
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

#stats {
    border-radius: 2px;
    color: #808b9c;
    background: #2e3a47;
    margin: 15px 20px;
    padding: 5px 0;
}

#stats ul, #stats li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#stats li {
    font-size: 11px;
    color: #9d9d9d;
    padding: 5px 10px;
    border-bottom: 1px dotted #373737;
}

#stats div:first-child {
    margin-bottom: 4px;
}

#stats .progress {
    height: 3px;
    margin-bottom: 0;
}

.jqvmap-label {
    z-index: 999;
}

.alert {
    overflow: auto;
}

/* Fix form-group margin inside the modal */
.modal-body .form-group {
    margin: 0;
}

/* Fixed Sumernote Button Height */
.note-toolbar.panel-heading i {
    font-size: 14px;
}

/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
    font-size: 10.5em;
}

#extension-list {
    color: #4b525d;
}

#extension-list h2 {
    margin-top: 54px;
    margin-bottom: 44px;
}

#extension-list section {
    border: 1px solid #ddd;
}

#extension-list section > div {
    position: relative;
}

#extension-list section > div + div {
    border-top: 1px solid #ddd;
    padding: 10px;
}

#extension-list section:hover {
    border: 1px solid #1b80c2;
}

#extension-list > .row {
    margin-top: 40px;
}

#extension-list > .row > * {
    margin-bottom: 30px;
}

#extension-list .extension-preview {
    min-height: 150px;
}

#extension-list .extension-preview .extension-description {
    position: absolute;
    background-color: rgba(36, 45, 55, 0.9);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
    opacity: 0;
    height: 100%;
    width: 100%;
}

#extension-list .extension-preview .extension-description:hover {
    opacity: 1;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-preview {
        min-height: 123px;
    }

    #extension-list .extension-preview .extension-description {
        font-size: 12.5px;
        padding: 6px;
    }
}

#extension-list .extension-preview img {
    margin: 0 auto;
}

#extension-list .extension-name {
    min-height: 100px;
}

#extension-list .extension-name p {
    color: #000;
    margin-bottom: 0;
    font-weight: 600;
}

#extension-list .extension-name p:first-child {
    font-size: 17px;
}

#extension-list .extension-name p span {
    color: #4b525d;
    font-weight: 400;
}

#extension-list .extension-name h4 a, #extension-list .extension-name p a {
    color: #000;
}

#extension-list .extension-name + div > .row {
    margin-top: 0;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-name + div > .row {
        font-size: 14px;
    }
}

#extension-list i {
    color: #10b4e9;
}

#extension-list span {
    font-weight: 600;
}

#marketplace-extension-info #banner img {
    margin-left: auto;
    margin-right: auto;
}

#marketplace-extension-info .extension-review {
    border-top: 5px solid #1b80c2;
    padding-top: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#marketplace-extension-info .nav-tabs {
    font-size: 14px;
}

#marketplace-extension-info .nav-tabs + .tab-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

#marketplace-extension-info iframe {
    width: 100%;
    height: 500px;
}

@media screen and (max-width: 767px) {
    #marketplace-extension-info iframe {
        height: 350px;
    }
}

#marketplace-extension-info #buy {
    color: #4b525d;
}

#marketplace-extension-info #buy #price {
    color: #000;
    font-size: 20px;
    padding-top: 15px;
    padding-bottom: 5px;
}

#marketplace-extension-info #buy i {
    color: #10b4e9;
}

#marketplace-extension-info #buy hr {
    border-color: #ddd;
    margin: 10px 0;
}

#marketplace-extension-info #sales {
    color: #4b525d;
}

#marketplace-extension-info #sales i {
    color: #7ec239;
    margin-right: 10px;
    font-size: 24px;
}

#marketplace-extension-info #sales strong {
    font-size: 24px;
}

#marketplace-extension-info #comment {
    color: #4b525d;
}

#marketplace-extension-info #comment i {
    margin-right: 10px;
    font-size: 22px;
}

#marketplace-extension-info #comment strong {
    font-size: 22px;
}

#marketplace-extension-info .reply > div {
    margin-top: 15px;
}

#marketplace-extension-info .well .media {
    line-height: 1.2;
}

#marketplace-extension-info .well .media .media-body {
    padding-top: 6px;
}

#marketplace-extension-info .well .media .media-body span {
    font-size: 24px;
    font-weight: 600;
}

#marketplace-extension-info .well .media .media-body small {
    color: #878f9a;
}

@media screen and (max-width: 992px) {
    #marketplace-extension-info .container-fluid {
        padding-bottom: 30px;
    }
}

.list-check {
    list-style: none;
}

.list-check li::before {
    font-family: 'FontAwesome';
    content: '\f00c';
    margin-left: -30px;
    width: 29px;
    display: inline-block;
    color: #7ebd38;
}

.list-check.list-color-blue li::before {
    color: #02afe9;
}

.well.filter {
    background-color: #ffffff;
}

html[dir="rtl"] .form-group ul.dropdown-menu {
    text-align: right;
    left: 0px !important;
    right: 31px !important;
}

html[dir="rtl"] #filter-product {
    overflow: hidden;
}

html[dir="rtl"] .pull-right {
    float: left !important;
}

html[dir="rtl"] .pull-left, html[dir="rtl"] .navbar-nav > li, html[dir="rtl"] .nav-tabs > li {
    float: right !important;
}

html[dir="rtl"] .text-left {
    text-align: right !important;
}

html[dir="rtl"] .text-right {
    text-align: left !important;
}

@media (min-width: 992px) {
    html[dir="rtl"] .col-md-push-9 {
        left: 0% !important;
    }

    html[dir="rtl"] .col-md-pull-3 {
        right: 0% !important;
    }
}

@media (min-width: 768px) {
    html[dir="rtl"] #column-left {
        right: 0px !important;
    }

    html[dir="rtl"] #column-left + #content, html[dir="rtl"] #column-left + #content + #footer {
        left: 0px !important;
        margin-right: 235px !important;
        margin-left: 0px !important;
    }

    html[dir="rtl"] .navbar-header {
        float: right !important;
    }

    html[dir="rtl"] .navbar-right {
        float: left !important;
    }
}

ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

td .rounded-circle {
    max-width: 30px;
}

.small td .rounded-circle {
    max-width: 20px;
}

.nav-link .rounded-circle {
    max-width: 20px;
}

.feed-categories-page .feed-category-list {
    height: 500px;
    position: relative;
}

.feed-categories-page .category-list {
    height: 500px;
    position: relative;
}

.list-item .category-title.active {
    font-weight: bold;
    color: #fd7e14;
}

.feed-categories-page .category-list .btn-match {
    display: none;
}

.feed-categories-page .category-list .list-item:hover .btn-match {
    display: block;
}

.feed-categories-page .category-list .list-item .action-list {
    min-width: 36px;
}

.feed-products-page .feed-product-list {
    height: 500px;
    position: relative;
}

.feed-products-page .product-list {
    height: 500px;
    position: relative;
}

.list-item .product-title.active {
    font-weight: bold;
}

.feed-products-page .product-list .btn-match {
    display: none;
}

.feed-products-page .product-list .list-item:hover .btn-match {
    display: block;
}

.feed-products-page .product-list .list-item .action-list {
    min-width: 36px;
}

.shops-page .action-list {
    min-width: 120px;
}

textarea.form-control {
    font-size: 13px;
    resize: none;
}

.bg-wht {
    background-color: #fff !important;
}

.invisible-scrollbar::-webkit-scrollbar {
  display: none;
}

.mostly-customized-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #aaa; /* or add it to the track */
}

.mostly-customized-scrollbar::-webkit-scrollbar-thumb {
  background: #000;
}

.select2-container--bootstrap-5 .select2--small.select2-selection {
    border-radius: 0 !important;
}

.pointer {
    cursor: pointer;
}

.hidden {
    display: none !important;
}
.overflow:hover .ohidden, .overflow .ohidden.oshow {
    display: inline-block !important;
}
.clear {
    clear: both !important;
}

.active-menu a {
    color: var(--bs-info) !important;
    background-color: #171b21 !important;
}

.copy-link .fa-check-circle {
    color: green;
}

.copy-link .fa-times-circle {
    color: red;
}
.note-editable {
    max-height: 500px !important;
}

.w500 {
    width: 500px;
}

.text-grey {
    color: #d0d0d0 !important;
}

a.text-grey:hover {
    color: #adb5bd !important;
}

.block-more pre {
    max-width: 600px;
}

.nav-pills .nav-item .nav-link {
    background-color: #fff;
    color: #000;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #000;
    color: #fff;
}

.tab-content1 {
  border: 1px solid #dee2e6;
  border-top: transparent;
  padding: 15px;
}

.tab-content1 .tab-pane {
  background-color: #FFF;
  color: #0080FF;
  min-height: 200px;
  height: auto;
}

.btn-clear {
    border: 1px solid #ccc;
    margin-left: -5px;
}

.visits-list .list-item td {
    padding: 0;
}

.visits-list tr .tc {
    text-align: center;
}

.visits-list input {
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    text-align: center;
}

.datepicker {
  padding: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  direction: ltr;
}
.datepicker-inline {
  width: 220px;
}
.datepicker.datepicker-rtl {
  direction: rtl;
}
.datepicker.datepicker-rtl table tr td span {
  float: right;
}
.datepicker-dropdown {
  top: 0;
  left: 0;
}
.datepicker-dropdown:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #999999;
  border-top: 0;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
}
.datepicker-dropdown:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  border-top: 0;
  position: absolute;
}
.datepicker-dropdown.datepicker-orient-left:before {
  left: 6px;
}
.datepicker-dropdown.datepicker-orient-left:after {
  left: 7px;
}
.datepicker-dropdown.datepicker-orient-right:before {
  right: 6px;
}
.datepicker-dropdown.datepicker-orient-right:after {
  right: 7px;
}
.datepicker-dropdown.datepicker-orient-bottom:before {
  top: -7px;
}
.datepicker-dropdown.datepicker-orient-bottom:after {
  top: -6px;
}
.datepicker-dropdown.datepicker-orient-top:before {
  bottom: -7px;
  border-bottom: 0;
  border-top: 7px solid #999999;
}
.datepicker-dropdown.datepicker-orient-top:after {
  bottom: -6px;
  border-bottom: 0;
  border-top: 6px solid #ffffff;
}
.datepicker > div {
  display: none;
}
.datepicker table {
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.datepicker td,
.datepicker th {
  text-align: center;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: none;
}
.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
  background-color: transparent;
}
.datepicker table tr td.day:hover,
.datepicker table tr td.day.focused {
  background: #eeeeee;
  cursor: pointer;
}
.datepicker table tr td.old,
.datepicker table tr td.new {
  color: #999999;
}
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  background: none;
  color: #999999;
  cursor: default;
}
.datepicker table tr td.highlighted {
  background: #d9edf7;
  border-radius: 0;
}
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
  background-color: #fde19a;
  background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  border-color: #fdf59a #fdf59a #fbed50;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #000;
}
.datepicker table tr td.today:hover,
.datepicker table tr td.today:hover:hover,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today.disabled:hover:hover,
.datepicker table tr td.today:active,
.datepicker table tr td.today:hover:active,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover:active,
.datepicker table tr td.today.active,
.datepicker table tr td.today:hover.active,
.datepicker table tr td.today.disabled.active,
.datepicker table tr td.today.disabled:hover.active,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today:hover.disabled,
.datepicker table tr td.today.disabled.disabled,
.datepicker table tr td.today.disabled:hover.disabled,
.datepicker table tr td.today[disabled],
.datepicker table tr td.today:hover[disabled],
.datepicker table tr td.today.disabled[disabled],
.datepicker table tr td.today.disabled:hover[disabled] {
  background-color: #fdf59a;
}
.datepicker table tr td.today:active,
.datepicker table tr td.today:hover:active,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover:active,
.datepicker table tr td.today.active,
.datepicker table tr td.today:hover.active,
.datepicker table tr td.today.disabled.active,
.datepicker table tr td.today.disabled:hover.active {
  background-color: #fbf069 \9;
}
.datepicker table tr td.today:hover:hover {
  color: #000;
}
.datepicker table tr td.today.active:hover {
  color: #fff;
}
.datepicker table tr td.range,
.datepicker table tr td.range:hover,
.datepicker table tr td.range.disabled,
.datepicker table tr td.range.disabled:hover {
  background: #eeeeee;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.datepicker table tr td.range.today,
.datepicker table tr td.range.today:hover,
.datepicker table tr td.range.today.disabled,
.datepicker table tr td.range.today.disabled:hover {
  background-color: #f3d17a;
  background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
  background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
  border-color: #f3e97a #f3e97a #edde34;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.datepicker table tr td.range.today:hover,
.datepicker table tr td.range.today:hover:hover,
.datepicker table tr td.range.today.disabled:hover,
.datepicker table tr td.range.today.disabled:hover:hover,
.datepicker table tr td.range.today:active,
.datepicker table tr td.range.today:hover:active,
.datepicker table tr td.range.today.disabled:active,
.datepicker table tr td.range.today.disabled:hover:active,
.datepicker table tr td.range.today.active,
.datepicker table tr td.range.today:hover.active,
.datepicker table tr td.range.today.disabled.active,
.datepicker table tr td.range.today.disabled:hover.active,
.datepicker table tr td.range.today.disabled,
.datepicker table tr td.range.today:hover.disabled,
.datepicker table tr td.range.today.disabled.disabled,
.datepicker table tr td.range.today.disabled:hover.disabled,
.datepicker table tr td.range.today[disabled],
.datepicker table tr td.range.today:hover[disabled],
.datepicker table tr td.range.today.disabled[disabled],
.datepicker table tr td.range.today.disabled:hover[disabled] {
  background-color: #f3e97a;
}
.datepicker table tr td.range.today:active,
.datepicker table tr td.range.today:hover:active,
.datepicker table tr td.range.today.disabled:active,
.datepicker table tr td.range.today.disabled:hover:active,
.datepicker table tr td.range.today.active,
.datepicker table tr td.range.today:hover.active,
.datepicker table tr td.range.today.disabled.active,
.datepicker table tr td.range.today.disabled:hover.active {
  background-color: #efe24b \9;
}
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected.disabled,
.datepicker table tr td.selected.disabled:hover {
  background-color: #9e9e9e;
  background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
  background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: linear-gradient(to bottom, #b3b3b3, #808080);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
  border-color: #808080 #808080 #595959;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected:hover:hover,
.datepicker table tr td.selected.disabled:hover,
.datepicker table tr td.selected.disabled:hover:hover,
.datepicker table tr td.selected:active,
.datepicker table tr td.selected:hover:active,
.datepicker table tr td.selected.disabled:active,
.datepicker table tr td.selected.disabled:hover:active,
.datepicker table tr td.selected.active,
.datepicker table tr td.selected:hover.active,
.datepicker table tr td.selected.disabled.active,
.datepicker table tr td.selected.disabled:hover.active,
.datepicker table tr td.selected.disabled,
.datepicker table tr td.selected:hover.disabled,
.datepicker table tr td.selected.disabled.disabled,
.datepicker table tr td.selected.disabled:hover.disabled,
.datepicker table tr td.selected[disabled],
.datepicker table tr td.selected:hover[disabled],
.datepicker table tr td.selected.disabled[disabled],
.datepicker table tr td.selected.disabled:hover[disabled] {
  background-color: #808080;
}
.datepicker table tr td.selected:active,
.datepicker table tr td.selected:hover:active,
.datepicker table tr td.selected.disabled:active,
.datepicker table tr td.selected.disabled:hover:active,
.datepicker table tr td.selected.active,
.datepicker table tr td.selected:hover.active,
.datepicker table tr td.selected.disabled.active,
.datepicker table tr td.selected.disabled:hover.active {
  background-color: #666666 \9;
}
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
  background-color: #006dcc;
  background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active[disabled],
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active.disabled:hover[disabled] {
  background-color: #0044cc;
}
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active {
  background-color: #003399 \9;
}
.datepicker table tr td span {
  display: block;
  width: 23%;
  height: 54px;
  line-height: 54px;
  float: left;
  margin: 1%;
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.datepicker table tr td span:hover {
  background: #eeeeee;
}
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover {
  background: none;
  color: #999999;
  cursor: default;
}
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
  background-color: #006dcc;
  background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active[disabled],
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active.disabled:hover[disabled] {
  background-color: #0044cc;
}
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active {
  background-color: #003399 \9;
}
.datepicker table tr td span.old,
.datepicker table tr td span.new {
  color: #999999;
}
.datepicker .datepicker-switch {
  width: 145px;
}
.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th {
  cursor: pointer;
}
.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
  background: #eeeeee;
}
.datepicker .cw {
  font-size: 10px;
  width: 12px;
  padding: 0 2px 0 5px;
  vertical-align: middle;
}
.input-append.date .add-on,
.input-prepend.date .add-on {
  cursor: pointer;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
  margin-top: 3px;
}
.input-daterange input {
  text-align: center;
}
.input-daterange input:first-child {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.input-daterange input:last-child {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.input-daterange .add-on {
  display: inline-block;
  width: auto;
  min-width: 16px;
  height: 18px;
  padding: 4px 5px;
  font-weight: normal;
  line-height: 18px;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  vertical-align: middle;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  margin-left: -5px;
  margin-right: -5px;
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

#service_rank_line{
    max-width: 80%;
}
#legend-container {
    width: 20%;
    display: inline-block;
    float: right;
}

.service_rank_line {
    max-width: 70%;
}
.legend-container {
    width: 30%;
    display: inline-block;
    float: right;
}

#tooltip {
    z-index: 10000;
}

.vals .dropdown-toggle::after {
    color: #ccc !important;
}

.list-group-item .rounded-circle {
    max-width: 20px;
}

.contact-tab .rounded-circle {
    max-width: 32px;
}

.contact-list {
    height: 500px;
}

.chat-list {
    height: 430px;
}

.t10 {
    font-size: 10px;
}
.undermatch {
    position: absolute;
    top: -15px;
    left: 15px;
    color: #7f758e;
}
/* Старые стили для алертов в верхнем правом углу удалены - теперь используются стили из header.twig для нижнего левого угла */

.contact-list .contact-title.active {
    font-weight: bold;
    color: #dc3545;
}

.no-data {
    background: #f6f6f6;
    height: 100%;
    line-height: 232px;
    text-align: center;
    color: #cdd3e9;
}
.w30 {
    width: 30px;
}
.bggrey {
    background: #eff1f3;
}

.list-item.competitor {
    border-color: #f6f6f6;
}
.list-item.blank {
    border-color: #f6f6f6;
    background: #f6f6f6;
}

tr.bordered {
    border-bottom: 1px solid #f9f9f9;
}
input.lh-in-form {
    line-height: 186%;
}