/*** Упоминание сущностей ***/

.iconName {
    white-space: nowrap;
    font-weight: 600;
}


/*********************************
 *** *** *** *** Цвета *** *** ***
 *********************************/
:root {
    --success-text: #468847;
    --success-background: #d6e9c6;
    --info-text: #3a87ad;
    --info-background: #d9edf7;
}

/********************************************************
 *** *** *** Изменение стилей Bootstrap 2.3.2 *** *** ***
 ********************************************************/

h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }

.tab-content { overflow: visible; }

.alert ul { margin-bottom: 0px; }
.alert-block { padding: 8px 35px 8px 14px; }

.well form { margin-bottom: 0; padding-bottom: 0; }

.well .form-actions { margin-bottom: 0; padding-bottom: 0; color: dark; }

.grid-view table { margin-bottom: 10px; }

.cpage-container { margin-bottom: 10px; }

textarea, input[type="text"], input[type="password"], input[type="datetime"],
input[type="datetime-local"], input[type="date"], input[type="month"],
input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"],
input[type="tel"], input[type="color"], .uneditable-input { font-size: 14px; }

/* Увеличиваем иконки */
.input-append .add-on span i, .input-prepend .add-on span i {
    font-size: 20px;
}

/* Модальное окно */
.modal .modal-footer label {
    margin-left: 5px;
    text-align: left;
}

/* Исправление выезжающего выпадающего списка */
.fix_width_selectpicker .bootstrap-select.btn-group .dropdown-menu { width: 100%; }
/*.bootstrap-select.btn-group .dropdown-menu li a { display: inline flow-root list-item; }*/

/* Исправление ширины строчки поиска в selectpicker */
.bootstrap-select .bs-searchbox .form-control { width: calc(100% - 14px); }

/* Кнопка selectpicker примыкает к значку без внутренних скруглений */
.input-prepend > .add-on + .bootstrap-select > .dropdown-toggle {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Последний пункт меню доходит до нижнего края со своим цветом фона */
.bootstrap-select > .dropdown-menu { padding-bottom: 0; }

/* Список льгот выходит за границы прокрутки окна продажи */
.cash-exemption-input .bootstrap-select > .dropdown-menu {
    position: fixed;
    min-width: 0;
}

.cash-exemption-input .bootstrap-select .dropdown-menu.inner {
    overscroll-behavior: contain;
}

/* Исправление ошибки в tooltip, когда у родительского элемента запрещен перенос */
.tooltip { white-space: normal !important; }

/* Кнопки */
.btn.btn-link { text-decoration: none; }

/* Форма */
.form-actions { margin-top: 0; }

.nav-tabs, .nav-pills {
    display: flex;
    flex-wrap: wrap;
}

.nav-tabs > li, .nav-pills > li {
    float: none;
    margin-bottom: 0;
}

.nav-tabs > li > a, .nav-pills > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    min-height: 34px;
    box-sizing: border-box;
}

/* Отделяем иконки от текста во вкладках */
.nav-pills > li > a { column-gap: 10px; }

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #005580;
    background-color: #c0e2f3;
}

/* Вертикальное выравнивание наборов пилюль с иконками */
#pills.organisation-manage-pills > .nav-pills > li,
.nav-pills_icons-24 > li,
.nav-pills_icons-22 > .nav-pills > li,
.nav-pills_icons-22 > li {
    display: flex;
    align-items: center;
}

/* Иконки размером 24 пикселя без изменения размеров пилюль */
#pills.organisation-manage-pills > .nav-pills > li > a > i.qxf,
#pills.organisation-manage-pills > .nav-pills > li > a > i.qtf,
#pills.organisation-manage-pills > .nav-pills > li > a > img.qt-brand-icon,
.nav-pills_icons-24 > li > a > i.qxf,
.nav-pills_icons-24 > li > a > i.qtf,
.nav-pills_icons-24 > li > a > img.qt-brand-icon {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: -5px;
    font-size: 24px;
    line-height: 1;
}

/* Иконки размером 22 пикселя без изменения размеров пилюль */
.nav-pills_icons-22 > .nav-pills > li > a > i.qxf,
.nav-pills_icons-22 > .nav-pills > li > a > i.qtf,
.nav-pills_icons-22 > .nav-pills > li > a > img.qt-brand-icon,
.nav-pills_icons-22 > li > a > i.qxf,
.nav-pills_icons-22 > li > a > i.qtf,
.nav-pills_icons-22 > li > a > img.qt-brand-icon {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: -4px;
    font-size: 22px;
    line-height: 1;
}

/* Сохраняем исходную ширину горизонтального логотипа PRO.Культура.РФ */
#pills.organisation-manage-pills > .nav-pills > li > a > img.qt-brand-icon_pro-cultureru,
.nav-pills > li > a > img.qt-brand-icon_pro-cultureru {
    flex-basis: auto;
    width: auto;
}

/* Разделяем логотип PRO.Культура.РФ и статус проверки */
.nav-pills > li > a.cultureru-tab-link {
    flex-wrap: nowrap;
    column-gap: 6px;
}

.nav-pills > li > a.cultureru-tab-link > .pushkin-card-status {
    flex: 0 0 auto;
    margin: 0;
    font-size: 24px;
}

/* Увеличиваем и выравниваем иконки в главном меню */
.panel-main-menu-icon {
    font-size: 2em;
    line-height: 1;
    margin-right: 10px;
    vertical-align: middle;
}

/*********************************************************
 *** *** *** Дополнение стилей Bootstrap 2.3.2 *** *** ***
 *********************************************************/

.btn-icon { width: 30px; padding: 4px 0px; }
.btn-icon > .qxf { vertical-align: middle; }

.modal80 { width: 80%; margin-left: -40%; }

.form-horizontal.control-center .control-group .control-label { width: calc(50% - 10px); }
.form-horizontal.control-center .control-group .controls { margin-left: calc(50% + 10px); }

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

a.badge-primary:hover, a.badge-primary:focus {
    color: #fff;
    background-color: #0062cc;
}

a.badge-primary:focus, a.badge-primary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

a.badge-warning:hover, a.badge-warning:focus {
    color: #212529;
    background-color: #d39e00;
}

a.badge-warning:focus, a.badge-warning.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
    color: #fff;
    background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.table th, .table td { vertical-align: middle; }

/* Центрируем отдельные чекбоксы выбора строк без отступа Bootstrap для форм. */
.grid-view .checkbox-column > input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

.grid-view .button-column { white-space: nowrap; width: 1px; }

/** Растояние между кнопками в таблице **/
.grid-view .button-column * + * { margin-left: 0.5em; }


/*************************************************
 *** *** *** Изменение стилей select 2 *** *** ***
 *************************************************/

.select2.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.select2.select2-container .select2-selection--single {
    height: 30px;
}

.select2-selection.select2-selection--multiple ul {
    margin-left: 0;
}

.select2-container .select2-search .select2-search--dropdown {
    padding: 4px 8px;
}

.select2-container .select2-search--dropdown .select2-search__field {
    width: calc(100% - 14px);
    box-sizing: content-box;
    margin: 0;
    padding: 4px 6px;
}

/*** Модальное окно ***/

#QSModal .modal-content .modal-body, #QSModalConfirm .modal-content .modal-body, #QSModalInfo .modal-content .modal-body {
    max-height: calc(80vh - 19px - 30px - 87px);
}

/*** Собственные стили ***/

table thead tr th { text-align: center !important; vertical-align: middle !important; }


/** Растояние между кнопками **/
.btns-container button { margin-bottom: 0.5em; }
.btns-container button + button,
.btns-container a + a,
.btns-container button + a,
.btns-container a + button
{ margin-left: 0.5em; }

/*** *** Другое *** ***/

/* Для null значений в форматоре */
.not-set {
    color: #aaaaaa;
    font-style: italic;
}

/* Исправление ширины и скругления полей ввода при использовании дополнительных элементов */
.input-prepend:not(.input-append) .input-block-level, .input-append:not(.input-prepend) .input-block-level { width: calc(100% - 30px); }
.input-prepend.input-append .input-block-level { width: calc(100% - 60px); }
.input-append > .input-block-level { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-prepend > .input-block-level { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-prepend > .add-on, .input-append > .add-on {
    height: 30px;
    box-sizing: border-box;
}

/* Стыкуем календарь с полем, в том числе с обёрткой маски */
.input-prepend:has(> .add-on > .qxf-calendar) {
    display: inline-flex;
    align-items: stretch;
}
.input-prepend:has(> .add-on > .qxf-calendar) > .add-on:first-child {
    display: flex;
    align-items: center;
    height: auto;
}
.input-prepend:has(> .add-on > .qxf-calendar) > input,
.input-prepend:has(> .add-on > .qxf-calendar) > .dateTimeInputMaskField > input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.datepicker_date { width: 72px; }
input.datetimepicker_datetime { width: 112px; }
input.datetimepickerDatetime { width: 112px; }
input.datetimepickerDate { width: 72px; }
input.datetimepickerTime { width: 72px; }

.darkred { color: #b41c26; }

#cashModal {
    max-height: 80vh;
}

#cashModal .modal-body {
    width: calc(100% - 30px);
    min-width: 530px;
    max-height: calc(80vh - 19px - 30px - 87px);
}

/* Карточка ограничена шириной окна, длинные значения переносятся внутри неё */
#cashModal .modal-body.cash-anyticket-info {
    min-width: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cashModal .cash-anyticket-info > .dl-horizontal {
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

@media (max-width: 767.999px) {
    #cashModal .cash-anyticket-info > .dl-horizontal > dt {
        float: none;
        width: auto;
        overflow: visible;
        text-align: left;
        white-space: normal;
    }

    #cashModal .cash-anyticket-info > .dl-horizontal > dd {
        margin-left: 0;
    }

    #cashModal .cash-anyticket-info > .dl-horizontal > dd + dt {
        margin-top: 8px;
    }

    #cashModal .cash-anyticket-info input[name="noteNewValue"],
    #cashModal .cash-anyticket-info .bootstrap-select,
    #cashModal .cash-anyticket-info .btn,
    #cashModal .cash-anyticket-info + .modal-footer .bootstrap-select {
        box-sizing: border-box;
        max-width: 100%;
    }

    #cashModal .cash-anyticket-info .btn,
    #cashModal .cash-anyticket-info .filter-option,
    #cashModal .cash-anyticket-info .dropdown-menu > li > a,
    #cashModal .cash-anyticket-info + .modal-footer .filter-option,
    #cashModal .cash-anyticket-info + .modal-footer .dropdown-menu > li > a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #cashModal .cash-anyticket-info .dropdown-menu,
    #cashModal .cash-anyticket-info + .modal-footer .dropdown-menu {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    /* Строки таблиц становятся списками полей, чтобы значения не сжимались в узкие колонки */
    #cashModal .cash-anyticket-info .cash-anyticket-info-table,
    #cashModal .cash-anyticket-info .cash-anyticket-info-table tbody,
    #cashModal .cash-anyticket-info .cash-anyticket-info-table tr,
    #cashModal .cash-anyticket-info .cash-anyticket-info-table td {
        display: block;
    }

    #cashModal .cash-anyticket-info .cash-anyticket-info-table thead {
        display: none;
    }

    #cashModal .cash-anyticket-info .cash-anyticket-info-table {
        font-size: inherit;
    }

    #cashModal .cash-anyticket-info .cash-anyticket-info-table tr + tr {
        margin-top: 10px;
    }

    #cashModal .cash-anyticket-info .cash-anyticket-info-table td {
        text-align: left !important;
        white-space: normal;
    }

    #cashModal .cash-anyticket-info .cash-anyticket-info-table td::before {
        display: block;
        font-weight: bold;
        content: attr(data-label) ":";
    }

    /* Фиксированная минимальная ширина кнопок задана в шаблоне для настольной кассы */
    #cashModal .cash-anyticket-info + .modal-footer .btn {
        box-sizing: border-box;
        min-width: 0 !important;
        max-width: 100%;
        margin-left: 0 !important;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #cashModal .cash-anyticket-info + .modal-footer > div {
        max-width: 100%;
        margin-left: 0 !important;
    }

    #cashModal .cash-anyticket-info + .modal-footer .label {
        white-space: normal;
    }
}

/* Отобразить */
.btn-purple {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: purple;
    background-image: none;
}

.btn-purple:hover, .btn-purple:focus,
.btn-purple:active, .btn-purple.active,
.btn-purple.disabled, .btn-purple[disabled] {
    color: white;
    background-color: #620075;
}

/* Исправление fieldset выходит за границы если использовать длинный список */
.fieldset-not-abroad { min-width: initial; }

/* Добавляем отображение вложенности fieldset с помощью сдвига на 10 px */
fieldset fieldset { margin-left: 10px; }
fieldset fieldset legend { font-size: 18px; }

/* Радиогруппа кнопок с возможностью указать значение */
.radioButtonsGroupOrInput {}
.radioButtonsGroupOrInput .btn-group {}
.radioButtonsGroupOrInput .btn-group .btn:last-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.radioButtonsGroupOrInput input { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Коллективный заказ (в кассе) */
.collective_order {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.collective_order .elem-link {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collective_order .elem-qr {
    text-align: center;
}

.collective_order .elem-qr .qr {}

.collective_order .elem-timer {
    font-size: 20px;
    text-align: center;
}

.collective_order .tickets {
    font-size: 20px;
    text-align: center;
}

.collective_order .tickets .elem-ticket {
    font-size: 18px;
}

/* Выравниваем размер и положение значков Пушкинской карты из нового набора иконок */
.qtf.pushkin-card-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    box-sizing: border-box;
    font-size: 2em;
    line-height: 1;
    vertical-align: middle;
}

.qtf.qtf-pushkinCard.pushkin-card-status { color: #222222; }

/* Создаём одинаковую круглую область для составных значков статусов Пушкинской карты */
.qtf.qtf-pushkinCardWait.pushkin-card-status,
.qtf.qtf-pushkinCardWarning.pushkin-card-status,
.qtf.qtf-pushkinCardError.pushkin-card-status {
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background-color: #ffffff;
}

/* Уменьшаем составной глиф, чтобы портрет и статус помещались внутри общей окружности */
.qtf.qtf-pushkinCardWait.pushkin-card-status::before,
.qtf.qtf-pushkinCardWarning.pushkin-card-status::before,
.qtf.qtf-pushkinCardError.pushkin-card-status::before {
    font-size: 0.75em;
    line-height: 1;
}

.qtf.qtf-pushkinCardWait.pushkin-card-status { color: gray; }
.qtf.qtf-pushkinCardWarning.pushkin-card-status { color: orange; }
.qtf.qtf-pushkinCardError.pushkin-card-status { color: red; }


/* Загрузка файла */
input.input-file-custom { display: none; }





/*******************************************************************************************************************
 * todo: далее не рефакторилось
 */

.navbar .dropdown .dropdown-menu .qxf,
.navbar .dropdown .dropdown-menu .qsf,
.navbar .dropdown .dropdown-menu .qtf,
.navbar .dropdown .dropdown-menu .qpf,
.navbar .dropdown .dropdown-menu .qsnf {
    font-size: 2em;
    margin-right: 10px;
}

.navbar .dropdown .dropdown-menu a {
    font-size: 14px;
    padding: 7px 20px;
}

/* common */
body {
    background-color: #FFFFFF;
    color: #333;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-width: 770px
}

/* Гостевые страницы панели не используют фиксированную ширину рабочей области */
body.panel-guest {
    min-width: 0;
    padding: 0;
    background-color: #f5f6f8;
}

.panel-auth-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 16px;
    background-color: #fff;
    border-bottom: 1px solid #e3e6eb;
}

.panel-auth-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.panel-auth-header__brand:hover,
.panel-auth-header__brand:focus {
    color: #333;
    text-decoration: none;
}

.panel-auth-header__brand .qtf {
    color: #f58220;
    font-size: 32px;
    line-height: 1;
}

body.panel-guest #page.container {
    box-sizing: border-box;
    width: 100%;
    max-width: 512px;
    margin: 0 auto;
    padding: 40px 16px;
}

.panel-auth-card {
    box-sizing: border-box;
    padding: 32px;
    background-color: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.panel-auth-card h1 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.panel-auth-card .panel-auth-card__welcome {
    font-size: clamp(20px, 5.5vw, 26px);
}

.panel-auth-card__title-detail {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.panel-auth-card__description {
    margin: 0 0 24px;
    color: #666;
    line-height: 1.6;
}

.panel-auth-form {
    margin: 0;
}

.panel-auth-form__field {
    margin-bottom: 18px;
}

.panel-auth-form__field label {
    margin-bottom: 6px;
    font-weight: 600;
}

.panel-auth-form .panel-auth-form__field input {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 22px;
}

.panel-auth-form .panel-auth-form__submit {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 22px;
}

.panel-auth-form__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    text-align: center;
}

.panel-auth-notice {
    margin-top: 20px;
    padding: 16px;
    color: #514536;
    background-color: #fff8ed;
    border: 1px solid #f0d9b5;
    border-left: 4px solid #f58220;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.panel-auth-notice h2 {
    margin: 0 0 12px;
    color: #704213;
    font-size: 17px;
    line-height: 1.4;
}

.panel-auth-notice ul {
    margin: 0;
    padding-left: 18px;
}

.panel-auth-notice li::marker {
    color: #a45b14;
}

.panel-auth-notice li + li {
    margin-top: 8px;
}

.panel-auth-notice__action {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f0d9b5;
}

@media (max-width: 479px) {
    body.panel-guest #page.container {
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .panel-auth-card {
        padding: 24px 20px;
    }

    .panel-auth-card h1 {
        font-size: 23px;
    }
}

/* Не позволяем широким таблицам увеличивать ширину страницы */
body.panel-sidebar-enabled .grid-container,
body.panel-sidebar-enabled .grid-view {
    min-width: 0;
    max-width: 100%;
}

body.panel-sidebar-enabled .grid-view__items-container {
    clear: left;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.panel-sidebar-enabled .grid-view__horizontal-scroll {
    display: none;
    clear: both;
}

body.panel-sidebar-enabled .grid-view_horizontal-scrollbars-active .grid-view__horizontal-scroll {
    display: block;
}

body.panel-sidebar-enabled .grid-view__top-horizontal-scroll-hint {
    margin-bottom: 2px;
    color: #666;
    font-size: 12px;
    text-align: right;
}

body.panel-sidebar-enabled .grid-view_horizontal-scrollbars-active .grid-view__items-container {
    scrollbar-width: none;
}

body.panel-sidebar-enabled .grid-view_horizontal-scrollbars-active .grid-view__items-container > table.items {
    margin-bottom: 0;
}

body.panel-sidebar-enabled .grid-view_horizontal-scrollbars-active .grid-view__items-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar {
    --grid-view-horizontal-scrollbar-thumb-width: 40px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 6px 0;
    border: 0;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    touch-action: pan-y;
    -webkit-appearance: none;
    appearance: none;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar:focus-visible {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar::-webkit-slider-runnable-track {
    box-sizing: border-box;
    height: 12px;
    background-color: #f2f2f2;
    border-radius: 6px;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar::-webkit-slider-thumb {
    box-sizing: border-box;
    width: var(--grid-view-horizontal-scrollbar-thumb-width);
    height: 12px;
    background-color: #888;
    border: 2px solid #f2f2f2;
    border-radius: 6px;
    -webkit-appearance: none;
    appearance: none;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar::-moz-range-track,
body.panel-sidebar-enabled .grid-view__horizontal-scrollbar::-moz-range-progress {
    box-sizing: border-box;
    height: 12px;
    background-color: #f2f2f2;
    border: 0;
    border-radius: 6px;
}

body.panel-sidebar-enabled .grid-view__horizontal-scrollbar::-moz-range-thumb {
    box-sizing: border-box;
    width: var(--grid-view-horizontal-scrollbar-thumb-width);
    height: 12px;
    background-color: #888;
    border: 2px solid #f2f2f2;
    border-radius: 6px;
}

/* Перестраиваем общее содержимое панели для экранов телефона */
@media (max-width: 767.999px) {
    body.panel-sidebar-enabled .row-fluid {
        width: 100%;
    }

    body.panel-sidebar-enabled .row,
    body.panel-sidebar-enabled .thumbnails {
        margin-left: 0;
    }

    body.panel-sidebar-enabled .row > [class*="span"],
    body.panel-sidebar-enabled .row-fluid > [class*="span"],
    body.panel-sidebar-enabled .thumbnails > [class*="span"] {
        display: block;
        float: none;
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }

    body.panel-sidebar-enabled .form-horizontal .control-label,
    body.panel-sidebar-enabled .form-horizontal.control-center .control-group .control-label {
        float: none;
        width: auto;
        padding-top: 0;
        text-align: left;
    }

    body.panel-sidebar-enabled .form-horizontal .controls,
    body.panel-sidebar-enabled .form-horizontal.control-center .control-group .controls {
        margin-left: 0;
    }

    body.panel-sidebar-enabled .form-horizontal .form-actions {
        padding-right: 10px;
        padding-left: 10px;
    }

    body.panel-sidebar-enabled .help-block_radio-button-group {
        clear: both;
        padding-top: 8px;
    }
}

hr {
    margin: 15px 0;
}

input[type="text"], input[type="password"] {
    padding: 4px 6px;
}

#page {
    padding: 10px;
}

@media (min-width: 1200px) and (max-width: 1320px) {
    .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 1170px;
    }
}

@media (min-width: 1340px) {
    .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 1320px;
    }
}

html, body {
    min-height: 100%;
    height: 100%;
}

#wrap {
    min-height: 100%;
}

.nav {
    margin-bottom: 10px;
}

.navbar-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.grid-view {
    padding: 0 !important;
}

.items.table th {
    vertical-align: middle;
}

.error-block {
    color: #a94442;
    font-size: 14px;
    margin-top: 1px !important;
}

.help-block {
    color: #ccc;
    font-size: 12px;
    margin-top: 1px !important;
}

.control-group .checkbox:after {
    margin-bottom: 0;
}

.clear {
    clear: left;
}

.clear-right {
    clear: right;
}

.color-block {
    display: inline-block;
    margin: 0 0 0 5px;
    width: 20px;
    height: 20px;
    border: 1px solid #AAAAAA;
}

.more-sessions-btn {
    position: absolute;
    margin: -30px 0 0 7px;
    text-decoration: none;
    color: #000;
}

.more-sessions-btn:hover {
    color: #000;
    text-decoration: none;
}

.more-sessions {
    color: #666666;
}

.btn {
    outline: none;
}

.list-unstyled {
    margin-left: 0;
    list-style: none outside none;
    padding-left: 0;
}

.blue {
    color: #478FCA
}

.label a {
    color: #fff;
}

.label a:hover {
    cursor: pointer;
}

.row {
    margin: 0
}


.navbar .brand {
    margin: 0 10px 0 10px;
    padding: 0;
    font-size: 26px;
    vertical-align: middle;
    line-height: 49px;
}

.navbar .pull-right {
    padding: 5px 0 0 0;
}

.navbar .page-tools-menu {
    margin-right: 5px;
}

.navbar .panel-navbar-actions .dropdown-menu {
    right: 0;
    left: auto;
}

.modal-content {
    position: relative;
}

#timer {
    position: absolute;
    top: -20px;
    left: 0
}

.new-close {
    color: #D9534F !important
}

.new-open {
    color: #5CB85C !important
}

.new-open, .new-close {
    cursor: pointer;
    text-decoration: none !important;
}

.new-open i, .new-close i {
    font-size: 24px;
}

.center {
    text-align: center
}

.btn {
    font-weight: 600
}

.btn-group .btn {
    font-weight: 400
}

.hidden {
    display: none !important;
}

/* table */
.table .green td {
    background: #C3FFA0 !important;
}

.table .orange td {
    background: #FFDDA3 !important;
}

.table .red td {
    background: #FFBFBF !important;
}

.table .blue td {
    background: #BCDFEB !important;
}

.table .grey td {
    background: #E5E5E5 !important;
}

.table-text-center, .table-text-center th,.table-text-center td {
    text-align: center !important;
}

/* table */
.button-column a {
    text-decoration: none !important;
    display: inline-block;
}

.button-column a:not(.btn) i,
.button-column .button-column-action-icon {
    font-size: 28px;
    line-height: 1;
    vertical-align: middle;
}

.button-column .gray { color: #333333; }
.button-column .green, .button-column .update, .button-column .edit { color: #5CB85C; }
.button-column .red, .button-column .delete, .button-column .remove { color: #D9534F; }
.button-column .darkred { color: #b41c26; }
.button-column .darkpurple { color: #5411b4; }
.button-column .view { color: #3276B1; }

.item-text-center {
    text-align: center !important
}

.table > thead > tr > th {
    border-bottom: 2px solid #DDDDDD;
    vertical-align: bottom;
}

/*.table-striped tbody > tr:nth-child(2n+1) > td, .table-striped tbody > tr:nth-child(2n+1) > th {background-color:#EEEEEE;}
.grid-view table.items tr.selected td {background-color:#AAAAAA;}
.table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th {background-color: #CCCCCC;}*/
.cpage-container {
    float: right
}

.cpage-container select {
    width: 80px;
    margin: 0 0 3px 3px
}

.grid-view__pagination-controls {
    clear: both;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.grid-view__pagination-controls_top {
    margin-bottom: 10px;
}

.grid-view__pagination-controls_bottom {
    margin-top: 10px;
}

.grid-view__pagination-controls > .summary {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 30px;
    margin: 0;
    text-align: right;
}

.grid-view__pagination-controls > .summary:empty {
    display: none;
}

.grid-view__pagination-controls > .pagination {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.grid-view__pagination-controls > .pagination > ul {
    display: flex;
    flex: 0 0 auto;
    margin-bottom: 0;
    white-space: nowrap;
}

.grid-view__pagination-controls > .pagination > ul > li > a,
.grid-view__pagination-controls > .pagination > ul > li > span {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    height: 30px;
    line-height: 1;
}

.grid-view__pagination-controls > .pagination > ul > li > a,
.grid-view__pagination-controls > .pagination > ul > li > a:hover,
.grid-view__pagination-controls > .pagination > ul > li > a:focus {
    color: #333333;
    text-decoration: none;
}

.grid-view__pagination-controls > .pagination > ul > .active > a,
.grid-view__pagination-controls > .pagination > ul > .active > span,
.grid-view__pagination-controls > .pagination > ul > .disabled > a,
.grid-view__pagination-controls > .pagination > ul > .disabled > a:hover,
.grid-view__pagination-controls > .pagination > ul > .disabled > a:focus,
.grid-view__pagination-controls > .pagination > ul > .disabled > span {
    color: #999999;
}

.grid-view__pagination-controls > .pagination .qxf {
    line-height: 1;
}

.grid-view__pagination-controls > .cpage-container {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    column-gap: 4px;
    float: none;
    margin: 0;
    white-space: nowrap;
}

.grid-view__pagination-controls > .cpage-container .bootstrap-select > .dropdown-toggle {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    height: 30px;
    margin: 0;
    padding-right: 10px;
    padding-left: 10px;
}

.grid-view__pagination-controls > .cpage-container .bootstrap-select.fit-width > .dropdown-toggle {
    width: auto;
}

.grid-view__pagination-controls > .cpage-container .bootstrap-select .filter-option {
    line-height: 20px;
    width: auto;
}

.pagination-controls__visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767.999px) {
    .grid-view__pagination-controls {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .grid-view__pagination-controls > .summary {
        flex-basis: 100%;
        justify-content: flex-end;
        min-height: 20px;
    }
}

.button-on, .unforbid { color: #5cb85c !important; }
.button-off, .unpublish, .forbid, .no-active-online-kassa { color: #D9534F !important; }
.button-disabled { color: #666666 !important; }
.publish-only-link, .publish { color: #f37334 !important; }

.button-on.disabled, .button-off.disabled,
.publish.disabled, .unpublish.disabled,
.forbid.disabled, .unforbid.disabled {
    opacity: 0.5;
}

.archive, .unarchive, .archive2, .unarchive2 {
    text-decoration: none !important;
    font-size: 28px;
}

.archive, .unarchive2 {
    color: #666666 !important;
}

.unarchive, .archive2 {
    color: #E6A200 !important;
}

.archive.disabled, .unarchive.disabled, .archive2.disabled, .unarchive2.disabled {
    opacity: 0.5;
}

.navbar .nav > li > a {
    padding: 15px 10px;
}

.btn-gray {
    border: 1px solid #626e7f;
    -webkit-box-shadow: inset 0 1px 2px #9aa4b1;
    -moz-box-shadow: inset 0 1px 2px #9aa4b1;
    box-shadow: inset 0 1px 2px #9aa4b1;
    background: #758294;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #8c97a6), color-stop(100%, #758294));
    background-image: -webkit-linear-gradient(top, #8c97a6, #758294);
    background-image: -moz-linear-gradient(top, #8c97a6, #758294);
    background-image: -o-linear-gradient(top, #8c97a6, #758294);
    background-image: linear-gradient(top, #8c97a6, #758294);
    color: #fff !important;
}

.btn-gray:hover {
    background: #728092;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #8c97a6), color-stop(100%, #728092));
    background-image: -webkit-linear-gradient(top, #8c97a6, #728092);
    background-image: -moz-linear-gradient(top, #8c97a6, #728092);
    background-image: -o-linear-gradient(top, #8c97a6, #728092);
    background-image: linear-gradient(top, #8c97a6, #728092);
    -webkit-transition: box-shadow .05s ease-in-out;
    -moz-transition: box-shadow .05s ease-in-out;
    -o-transition: box-shadow .05s ease-in-out;
    transition: box-shadow .05s ease-in-out;
}

.btn-group .btn.active:disabled {
    background: #c6c6c6 none repeat scroll 0 0;
}

/* fileupload */
.fileupload-preview {
    margin-right: 30px;
}

.fileupload-exists .fileupload-new, .fileupload-new .fileupload-exists {
    display: none;
}

.fileupload .btn {
    vertical-align: middle;
}

.btn-file {
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.btn-file > input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    font-size: 23px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    direction: ltr;
}

/*event*/
#events-model-grid_cfilename {
    width: 75px;
}

#events-model-grid_cagerestriction {
    width: 60px;
    text-align: center;
}

#events-model-grid_carchive {
    text-align: center;
}

/*hall*/
#halls-model-grid_cpreview {
    width: 160px;
}

.hall-btn-group {
    padding-bottom: 10px;
}

.c0.block-template-place {
    background: #c6c6c6
}

/* cash */
.cash-group-btn {
    padding: 0 0 5px 0;
}

.cash-group-btn .btn {
    margin-bottom: 5px;
}

.cash-group-btn i {
    font-size: 16px;
    top: 1px;
    position: relative
}

#cashModal .loading, #QSModal .loading, #QSModalConfirm .loading, #QSModalInfo .loading {
    background: url(../images/ajax-loader.gif) center center no-repeat;
    padding: 60px 0;
}

#cashModal .modal-header .close {
    margin-top: -9px;
}

#money .r {
    float: right;
    width: 120px;
}

#money .r button {
    width: 120px;
    margin-bottom: 5px;
}

#money .l {
    margin-right: 160px;
}

.modal-floating {
    width: 90%;
    left: 5%;
    margin-left: 0
}

.modal-group-tickets-result {
    padding: 10px 0 0 0
}

.search-ticket__list {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.well-item {
    font-size: 12px;
    margin: 0 10px 10px 0 !important;
    padding: 5px !important;
    min-height: 95px;
    overflow: hidden;
    width: 200px;
}

.well-item {
    cursor: pointer;
}

.well-item .label {
    white-space: normal !important;
}

.well-item__session {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
    overflow: hidden;
}

/* Компактные результаты поиска билетов и абонементов */
.search-ticket__list .ticket-search-card {
    align-self: flex-start;
    box-sizing: border-box;
    border: 1px solid #d8dee4;
    border-left-style: solid;
    border-left-width: 4px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(35, 47, 62, .12);
    height: auto;
    min-height: 0;
    padding: 6px 7px 6px 9px !important;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 210px;
}

/* Остаток ширины полной строки распределяется между поместившимися карточками */
@supports (display: grid) {
    #searchResult .ticket-results-section .search-ticket__list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 10px;
    }

    #searchResult .ticket-results-section .search-ticket__list .ticket-search-card,
    #searchResult .ticket-results-section .search-ticket__list > .btn,
    #searchResult .ticket-results-section .search-ticket__list > a,
    #searchResult .ticket-results-section .search-ticket__list > a > .btn {
        box-sizing: border-box;
        margin: 0 !important;
        width: 100% !important;
    }

    #searchResult .ticket-results-section .search-ticket__list > a {
        display: flex;
    }
}

.search-ticket__list .ticket-search-card:hover {
    border-top-color: #b9c4ce;
    border-right-color: #b9c4ce;
    border-bottom-color: #b9c4ce;
    box-shadow: 0 2px 6px rgba(35, 47, 62, .16);
}

.ticket-search-card__header {
    align-items: center;
    display: flex;
    gap: 5px;
    height: 19px;
    line-height: 17px;
    min-width: 0;
}

.ticket-search-card__status {
    color: #263747;
    display: block;
    flex: 1 1 auto;
    font-size: 11px;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-search-card__price {
    color: #263747;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    white-space: nowrap;
}

.ticket-search-card__place {
    background: transparent;
    border-radius: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    margin: 1px 0;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-search-card .well-item__session,
.ticket-search-card__line {
    display: block;
    line-height: 17px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-search-card__icon-line {
    align-items: center;
    display: flex;
    gap: 4px;
}

.ticket-search-card__icon {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    width: 13px;
}

.ticket-search-card__icon--user {
    color: #000;
}

.ticket-search-card__line-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.js-ticket-auto-scroll.is-auto-scrolling {
    text-overflow: clip;
}

.js-ticket-auto-scroll.is-overflowing:focus {
    outline: 1px dotted #65717c;
    outline-offset: -1px;
}

.ticket-search-card .well-item__session {
    color: #65717c;
    margin-bottom: 1px;
}

.ticket-search-card__checkbox {
    display: none;
    height: 16px;
    margin: 0;
    position: absolute;
    right: 7px;
    top: 7px;
    width: 16px;
    z-index: 2;
}

#searchResult.ticket-selection-mode .ticket-search-card__checkbox {
    display: block;
}

#searchResult.ticket-selection-mode .ticket-search-card__header {
    padding-right: 21px;
}

.search-ticket__list .ticket-search-card.select-multi-info {
    border-bottom-color: #f0ad4e !important;
    border-left-color: var(--ticket-status-color, #dddddd) !important;
    border-left-width: 4px !important;
    border-right-color: #f0ad4e !important;
    border-top-color: #f0ad4e !important;
    box-shadow: 0 0 0 2px rgba(240, 173, 78, .2);
    opacity: 1;
}

.ticket-results-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px;
}

.ticket-results-heading > a {
    margin-right: 2px;
}

.ticket-selection-toolbar {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ticket-selection-toolbar .btn,
.ticket-selection-toolbar .label {
    margin: 0;
}

.ticket-selection-help {
    align-items: baseline;
    background: #f4f8fb;
    border: 1px solid #cbdde9;
    border-radius: 4px;
    color: #485a68;
    display: none;
    font-size: 11px;
    gap: 5px;
    margin: 6px 0;
    padding: 5px 8px;
}

#searchResult.ticket-selection-mode .ticket-selection-help {
    display: flex;
}

#searchResult.ticket-selection-mode .ticket-results-heading {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 4px rgba(35, 47, 62, .08);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.ticket-search-session-group {
    margin-bottom: 8px;
}

.ticket-search-session-group__heading {
    align-items: center;
    background: #f5f7f9;
    border-left: 3px solid #9ab5c6;
    border-radius: 3px;
    color: #475561;
    display: flex;
    font-size: 12px;
    gap: 6px;
    line-height: 20px;
    margin: 0 0 6px;
    max-width: 100%;
    padding: 2px 7px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.ticket-search-session-group__heading > span:first-child {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-search-session-group__heading .label {
    flex: 0 0 auto;
}

.ticket-search-pagination-row.grid-view__pagination-controls_bottom {
    margin-bottom: 10px;
}

.cash-certificate .spinner, .cash-discount .spinner {
    float: left;
    margin: 0 10px 10px 0;
    text-align: center;
    padding: 0 15px;
    border-right: 1px solid #DDDDDD;
}

.cash-certificate .spinner:last-of-type, .cash-discount .spinner:last-of-type {
    border-right: none;
}

.cash-certificate .spinner input, .cash-discount .spinner input {
    cursor: pointer;
}

.cash-certificate .spinner p, .cash-discount .spinner p {
    margin: 0 0 5px 0;
    font-size: 11px;
}

.cash-certificate .spinner .btn, .cash-discount .spinner .btn {
    font-size: 10px;
    height: 14px;
    left: -1px;
    line-height: 12px;
    padding: 0;
    position: relative;
    width: 16px
}

.discount-block hr {
    margin: 5px;
}

.cash-certificate .spinner:last-child, .cash-discount .spinner:last-child {
    border-right: 0 !important;
}

.cash-amount-info {
    width: 100%;
    padding: 0px;
}

.cash-amount-info td {
    width: 50%;
    padding: 0px;
    text-align: center;
}

.select-multi-info {
    border: 1px solid #FF0000 !important;
    opacity: 0.5;
}

.cash-enter-ticket {
    width: 270px;
    display: inline-block;
    margin: 0 10px 0px 0 !important;
    padding: 0px !important;
}

.cash-enter-ticket td {
    padding: 0px 10px 0 10px;
}
.cash-enter-ticket input {
    margin-top: 10px;
}
.cash-enter-ticket a[rel="1"] {
    margin-top: 10px;
}

#helpPriceBlock {
    margin-bottom: 5px;
}

#helpPriceBlock a {
    cursor: pointer;
}

#helpPriceBlock .label {
    color: #333333;
    font-weight: normal;
    border: 1px solid #ddd;
    text-shadow: none;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
    padding: 4px;
}

.fixedbtns {
    position: fixed;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 5px 0 0;
    width: 100%;
    left: 0;
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.1) inset;
}

/* print ticket */
#ticket-template {
    background-color: #ffffff;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.3);
    *border: 1px solid #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    position: relative
}

.ticket-elem, .drag-elem {
    z-index: 100;
    padding: 1px;
    border: 1px solid #999999;
    display: inline-block;
    margin: 0 10px 10px 0;
    font-size: 12px;
    font-family: Arial;
    cursor: move;
    line-height: 1em;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    white-space: nowrap;
}

.ticket-elem a, .drag-elem a, .ticket-elem a:hover, .drag-elem a:hover {
    color: #333333;
    text-decoration: none;
}

.ticket-elem {
    margin: 0;
}

.editable-click {
    border-bottom: none !important;
}

.editableform .control-label {
    width: 65px !important;
}

.editableform .controls {
    margin-left: 75px !important;
}

.editableform .control-group {
    margin-bottom: 10px !important;
}

.editableform {
    color: #333333;
}

.select-elem {
    border: 1px dashed #990000 !important;
    color: #990000;
}

.select-elem a, .select-elem a:hover {
    color: #990000;
    cursor: pointer;
}

.select-elem .popover {
    z-index: 100
}

.elem-remove, .elem-rotate, .elem-info {
    display: none;
    cursor: pointer;
}

.ticket-elem.select-elem .elem-remove, .ticket-elem.select-elem .elem-rotate, .select-elem .elem-info {
    display: block;
    position: absolute;
    top: 0;
}

.ticket-elem.select-elem .elem-remove {
    right: -13px;
}

.ticket-elem.select-elem .elem-info {
    right: -26px;
}

.ticket-elem.select-elem .elem-rotate {
    right: -39px;
}

#ticket-template .drag-elem {
    margin: 0;
}

#cash-enter-ticket-block {
    text-align: center;
}

#cashModal .accordion-group {
    border: none;
}

#cashModal .accordion {
    margin: 10px 0 0 0;
}

#cashModal .accordion-heading .accordion-toggle {
    padding: 2px 6px
}

#cashModal .accordion-heading a {
    color: #333333;
    font-weight: bold;
}

#cashModal .accordion-heading a:hover, #cashModal .accordion-heading a:link {
    text-decoration: none;
    outline: none;
}

#cashModal .icon-chevron-down {
    display: inline;
}

#cashModal .icon-chevron-right {
    display: none;
}

#cashModal .collapsed .icon-chevron-down {
    display: none;
}

#cashModal .collapsed .icon-chevron-right {
    display: inline;
}

#cashModal .accordion-inner {
    border: 0;
    padding: 5px 0;
}

#cashModal .accordion-inner table {
    margin: 0;
    font-size: 11px;
}

#cashModal .accordion-inner table th {
    padding: 4px;
    background: #ccc;
}

#cashModal .accordion-inner table td {
    padding: 4px;
    background-color: #F9F9F9 !important;
}

#cashModal .accordion-inner .table-bordered th, #cashModal .accordion-inner .table-bordered td {
    border-left: 1px solid #AAAAAA;
    border-top: 1px solid #AAAAAA;
}

#cashModal .accordion-inner .table-bordered {
    border-color: #AAAAAA #AAAAAA #AAAAAA -moz-use-text-color;
}

/* statistic */
.statistic-table {
    font-size: 12px;
}

.statistic-table thead th {
    vertical-align: middle !important;
    text-align: center;
}

.modal form {
    margin: 0
}

/*.navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {width:980px;}*/

#floating-container {
    background: #F5F5F5;
    left: -212px;
    position: fixed;
    top: 200px;
    transition: all 1s ease 0s;
    width: 212px;
    z-index: 100;
}

#floating-container h5 {
    background: #999999;
    border-top: 1px solid #ccc;
    color: #fff;
    line-height: 23px;
    margin: 0;
    padding: 8px;
    font-size: 17px;
}

#floating-container h5 a {
    background: #999999;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    color: #fff;
    padding: 4px;
    position: absolute;
    right: -36px;
    text-decoration: none;
    top: 0;
    opacity: 0.45;
    outline: none;
    font-size: 14px !important;
}

#floating-container h5 a.floating-search {
    right: -34px !important;
}

#floating-container h5 a:hover {
    opacity: 1
}

#floating-container .floating-wrap {
    border-color: #ccc;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    padding: 5px 10px;
}

#floating-container.open {
    left: 0;
}

#floating-container.open h5 a {
    opacity: 1
}

#floating-container .result {
    max-height: 320px;
    overflow: auto;
}

#floating-container .result li {
    font-size: 12px;
}

#floating-container .result li a {
    color: #393939 !important;
}

#floating-container .btn-floating-filter {
    outline: none;
}

.cash-search {
    margin-bottom: 10px;
}

/* Строка элементов поиска */
.search-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.search-controls__field {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}

.search-controls__field_actions {
    flex-basis: 325px;
}

.search-controls .search-controls__field > .add-on {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
}

.search-controls .search-controls__field > .input-block-level {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 30px;
}

.search-controls__field_actions > .add-on:first-child {
    margin-left: 0;
}

.search-controls__field_actions > .search-controls__button {
    margin-right: 0;
}

.search-controls__button {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 30px;
    box-sizing: border-box;
    font-weight: 400;
    white-space: nowrap;
}

.search-controls__button_advance {
    flex-basis: 200px;
}

.search-controls__button_add-code {
    flex-basis: 205px;
}

.search-controls__button_reset {
    flex-basis: 120px;
}

.search-controls > .page-tools-menu {
    display: flex;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.search-controls .page-tools-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    box-sizing: border-box;
    font-weight: 400;
    white-space: nowrap;
}

.search-controls .page-tools-menu__toggle > .caret {
    margin-top: 0;
    margin-left: 8px;
}

@media (max-width: 1199px) {
    .btns-container__button_with-icon > .btn-text-icon {
        margin-right: 0;
    }

    .btns-container__button_with-icon > .btns-container__button-label {
        display: none;
    }

    .search-controls__field_actions {
        flex-basis: 60px;
    }

    .search-controls__button {
        flex-basis: 30px;
        width: 30px;
        padding-right: 0;
        padding-left: 0;
    }

    .search-controls__button > .btn-text-icon {
        margin-right: 0;
    }

    .search-controls__button-label {
        display: none;
    }

    .search-controls .page-tools-menu__toggle {
        width: 44px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .search-controls .page-tools-menu__toggle > .btn-text-icon {
        margin-right: 0;
    }

    .search-controls .page-tools-menu__toggle-label {
        display: none;
    }

    .search-controls .page-tools-menu__toggle > .caret {
        margin-left: 6px;
    }
}

.cash-seasontickets-search {
    margin-bottom: 10px;
}

.advance-search-content.open {
    display: block !important;
}

.form-action-nopadding {
    margin: 0;
}

.form-action-nopadding .form-actions {
    padding-top: 15px;
    padding-bottom: 0;
    margin: 0;
}

/* breadcrumb */
.breadcrumb {
    font-size: 11px;
    padding: 4px 15px;
    margin: 0 0 10px;
}

/* manage select */
#manage-select-organisation {
    position: relative;
    margin-bottom: 7px;
}

/* manage select */
#manage-select-solodistributor {
    position: relative;
    margin-bottom: 7px;
}

#ticket-model-grid .label {
    white-space: normal;
}

.label1 {
    background-color: #B94A48;
}

.label2 {
    background-color: #3A87AD;
}

.label3 {
    background-color: #333333;
}

.label3-fuchsia {
    background-color: #ff6af9;
}

.label4 {
    background-color: #468847;
}

.label8 {
    background-color: #F89406;
}

.label9 {
    background-color: #F89406;
}

/* main */
.box {
    background: none repeat scroll 0 0 #FBFBFB;
    margin-bottom: 20px;
    font: 400 14px 'Open Sans', HelveticaNeue, Helvetica, Arial;
}

.box .box-header, .box .box-footer {
    border-bottom: 1px solid #CDCDCD;
    color: #636363;
    font-weight: 600;
    text-shadow: 0 1px #FFFFFF;
}

.box .box-header {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.box .box-header:before, .box .box-header:after, .box .box-footer:before, .box .box-footer:after {
    content: " ";
    display: table;
    line-height: 0;
}

.box .box-header:after, .box .box-footer:after {
    clear: both;
}

.box .box-header .title, .box .box-footer .title {
    display: block;
    float: left;
    font-size: 24px;
    font-weight: 400;
    padding: 10px;
}

.box-section {
    -moz-box-sizing: border-box;
    border-top: 1px solid #FFFFFF;
    padding: 15px;
    min-height: 85px;
    background: #fff;
}

.box-section:nth-last-child(n+2) {
    border-bottom: 1px solid #DDDDDD;
}

.box-section .b-icon {
    /* Центрируем иконку внутри круглого фона независимо от метрик иконочного шрифта */
    align-items: center;
    border-radius: 50%;
    display: flex;
    float: left;
    height: 36px;
    justify-content: center;
    line-height: 36px;
    text-align: center;
    width: 36px;
    color: #ffffff;
}

.box-section .b-icon-blue {
    background: #7fb3d4;
}

.box-section .b-icon-green {
    background: #8CC079;
}

.box-section .b-icon-red {
    background: #8F3831;
}

.box-section .b-icon .icon-2x {
    font-size: 18px;
    line-height: 1;
}

/* Компенсируем внутреннее смещение глифов информации и предупреждения в иконочном шрифте */
.box-section .b-icon .qxf-info,
.box-section .b-icon .qxf-warning {
    transform: translate(-2px, -2px);
}

.box-section .b-time {
    color: #BBBBBB;
    float: right;
    font-size: 14px;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.box-section .b-time span {
    display: block;
    font-size: 24px;
    font-weight: 600;
}

.box-section .b-content {
    margin-left: 50px;
    margin-right: 50px;
}

.box-section .b-title {
    color: #636364;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
}

.box-section .b-title a {
    color: #78808A;
}

.box-section .b-more {
    text-align: right;
}

/* notification */
#notifications {
    font: 400 14px 'Open Sans', HelveticaNeue, Helvetica, Arial;
}

#notifications h1 {
    font-weight: 600;
    color: #5A6573;
    font-size: 28px;
}

#notifications h3 {
    font-weight: 600;
}

#notifications .text {
    color: #707070;
}

/* gallery */
.gallery {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.gallery .item {
    border-radius: 2px;
    float: left;
    height: 200px;
    margin: 10px;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 180px;
}

.gallery .item img {
    bottom: -100%;
    left: -100%;
    margin: auto;
    max-height: 100%;
    min-width: 100%;
    position: absolute;
    right: -100%;
    top: -100%;
}

.gallery .item .details {
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    height: 99%;
    left: 0;
    padding-top: 80px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 99%;
}

.gallery .item .details .action {
    background-color: rgba(106, 163, 213, 0.8);
    border-radius: 50%;
    color: #FFFFFF;
    display: inline-block;
    font-size: 22px;
    height: 32px;
    padding: 8px 0 0;
    text-align: center;
    vertical-align: middle;
    width: 40px;
}

.gallery .item .details .action:hover {
    background-color: rgba(118, 171, 217, 0.9);
    text-decoration: none !important;
}

.gallery .item .title {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    background: #000;
    opacity: 0.7;
    left: 0;
    padding: 5px 0;
    text-align: center;
}

.gallery .item:hover .details {
    display: block;
}

.gallery .item.fileinput-new .fileinput-exists, .gallery .item.fileinput-exists .fileinput-new {
    display: none;
}

.gallery .item.fileinput-new .details {
    background-color: rgba(106, 163, 213, 0.05);
    border: 1px dashed rgba(106, 163, 213, 0.35);
    display: block;
    padding-top: 0;
}

.gallery .item.fileinput-new .details .action.btn-file {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0;
    display: block;
    font-size: 12px;
    height: 100%;
    padding-top: 60px;
    width: 100%;
}

.gallery .item.fileinput-new .details .action.btn-file > input {
    height: 100%;
}

.gallery .item.fileinput-new .details .action.btn-file:hover {
    text-decoration: none;
}

.gallery .item.fileinput-new .details .action.btn-file .action-file {
    background-color: rgba(106, 163, 213, 0.8);
    border-radius: 50%;
    color: #FFFFFF;
    display: inline-block;
    font-size: 22px;
    height: 31px;
    padding: 8px 0 0 1px;
    text-align: center;
    width: 39px;
}

.gallery .item.fileinput-new .details .action.btn-file > p {
    color: #888888;
    margin: 5px 25px 0;
}

.files button {
    white-space: nowrap;
}

.files .size {
    white-space: nowrap;
}

.files .delete {
    white-space: nowrap;
}

/* panel */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-heading > .dropdown .dropdown-toggle {
    color: inherit;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

.panel-title > a {
    color: inherit;
}

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel > .list-group {
    margin-bottom: 0;
}

.panel > .list-group .list-group-item {
    border-width: 1px 0;
    border-radius: 0;
}

.panel > .list-group:first-child .list-group-item:first-child {
    border-top: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel > .list-group:last-child .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel-heading + .list-group .list-group-item:first-child {
    border-top-width: 0;
}

.panel > .table, .panel > .table-responsive > .table {
    margin-bottom: 0;
}

.panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
    border-top-left-radius: 3px;
}

.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
    border-top-right-radius: 3px;
}

.panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
    border-bottom-left-radius: 3px;
}

.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
    border-bottom-right-radius: 3px;
}

.panel > .panel-body + .table, .panel > .panel-body + .table-responsive {
    border-top: 1px solid #ddd;
}

.panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td {
    border-top: 0;
}

.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
    border: 0;
}

.panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
}

.panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
}

.panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
    border-bottom: 0;
}

.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
    border-bottom: 0;
}

.panel > .table-responsive {
    margin-bottom: 0;
    border: 0;
}

.panel-group {
    margin-bottom: 20px;
}

.panel-group .panel {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 4px;
}

.panel-group .panel + .panel {
    margin-top: 5px;
}

.panel-group .panel-heading {
    border-bottom: 0;
}

.panel-group .panel-heading + .panel-collapse .panel-body {
    border-top: 1px solid #ddd;
}

.panel-group .panel-footer {
    border-top: 0;
}

.panel-group .panel-footer + .panel-collapse .panel-body {
    border-bottom: 1px solid #ddd;
}

.panel-default {
    border-color: #ddd;
}

.panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #ddd;
}

.panel-default > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #ddd;
}

.panel-primary {
    border-color: #428bca;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.panel-primary > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #428bca;
}

.panel-primary > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #428bca;
}

.panel-success {
    border-color: #d6e9c6;
}

.panel-success > .panel-heading {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.panel-success > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #d6e9c6;
}

.panel-success > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #d6e9c6;
}

.panel-info {
    border-color: #bce8f1;
}

.panel-info > .panel-heading {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.panel-info > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #bce8f1;
}

.panel-info > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #bce8f1;
}

.panel-warning {
    border-color: #faebcc;
}

.panel-warning > .panel-heading {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.panel-warning > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #faebcc;
}

.panel-warning > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #faebcc;
}

.panel-danger {
    border-color: #ebccd1;
}

.panel-danger > .panel-heading {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.panel-danger > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #ebccd1;
}

.panel-danger > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #ebccd1;
}

.color_themes {
    cursor: default;
    height: 44px;
    padding-top: 15px;
    position: relative;
    white-space: nowrap;
}

.color_themes .color_theme {
    cursor: pointer;
    display: inline-block;
    height: 30px;
    position: relative;
    top: 0;
    vertical-align: top;
    width: 30px;
}

.color_themes .color_theme:hover, .color_themes .color_theme.active {
    height: 36px;
    top: -4px;
    width: 36px;
}

#colorSelector {
    position: relative;
    width: 36px;
    height: 36px;
    background: url(../images/select.png);
}

#colorSelector div {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background: url(../images/select.png) center;
}

/*#form-button {
    overflow: hidden;
}*/

.btn-order-view {
    margin-right: 20px;
}

.btn-approved {
    margin-right: 20px;
}

.btn-change-date i {
    color: #333333;
}

.btn-disabled i {
    color: #999999 !important;
}

.btn-change-date {
    text-decoration: none !important;
}

/* Цвета в панели "Первичные документы" */
.status-primary-createdSystem td {
    background: #F5F3C4 !important;
}

.status-primary-createdManager td {
    background: #F5E9C4 !important;
}

.status-primary-payd td {
    background: #BCE6B8 !important;
}

.status-primary-cancel td {
    background: #F5C4C6 !important;
}

.file-primary a {
    color: #333;
}

.label-wait {
    background: #3a87ad;
}

.label-accept {
    background: #468847;
}

.label-decline {
    background: #b94a48;
}

.label-process {
    background: #f0ad4e;
}

.seller-session-accept i {
    color: #468847;
}

.seller-session-decline i {
    color: #b94a48;
}

#employee-account-check, #user-account-check {
    padding: 5px 0
}

#employee-account-check .success, #user-account-check .success {
    color: #468847
}

#employee-account-check .failed, #user-account-check .failed {
    color: #b94a48
}

#distributors-account-check {
    padding: 5px 0
}

#distributors-account-check .success {
    color: #468847
}

#distributors-account-check .failed {
    color: #b94a48
}

#timer {
    cursor: help;
    margin-left: 10px
}

.password-restore_password {
    position: relative;
    top: 5px;
    margin-right: 10px;
    color: #333;
    text-decoration: none
}

.captha a {
    background: url(../images/reload.png) no-repeat;
    display: inline-block;
    text-indent: -2000em;
    width: 26px;
    height: 26px;
    outline: none;
}

#buy-cash-multi {
    margin-right: 5px;
    position: relative;
    top: 5px;
}

#cashModal .modal-footer { padding-bottom: 10px; }
#cashModal .modal-footer .btn { margin-bottom: 5px; }
#cashModal .modal-footer div label.checkbox { margin-top: 10px; }

.ticket-info__refund {
    background: url(../images/refund.png) no-repeat 100% 32px;
}

.reports-info-type {
    padding-bottom: 20px;
}

.grid-view__search-form {
    clear: left;
    margin-bottom: 0;
}

.grid-container_compact-icon-buttons {
    container-name: grid-content;
    container-type: inline-size;
}

@container grid-content (max-width: 1249px) {
    .btns-container__button_with-icon > .btn-text-icon {
        margin-right: 0;
    }

    .btns-container__button_with-icon > .btns-container__button-label {
        display: none;
    }
}

.btn-search-hidden-content {
    float: left;
    margin-right: 3px;
}

.session-title {
    padding-bottom: 5px;
}

.cash-table-statistic .qtf {
    font-size: 28px;
    vertical-align: middle;
}

.cash-session__month-01 td, .cash-seasonticketTemplate__month-01 td { background: #FECCCD !important; }
.cash-session__month-02 td, .cash-seasonticketTemplate__month-02 td { background: #FFDFCC !important; }
.cash-session__month-03 td, .cash-seasonticketTemplate__month-03 td { background: #FFEACC !important; }
.cash-session__month-04 td, .cash-seasonticketTemplate__month-04 td { background: #FFF4CC !important; }
.cash-session__month-05 td, .cash-seasonticketTemplate__month-05 td { background: #FFFECC !important; }
.cash-session__month-06 td, .cash-seasonticketTemplate__month-06 td { background: #EEFAC8 !important; }
.cash-session__month-07 td, .cash-seasonticketTemplate__month-07 td { background: #C5F5C4 !important; }
.cash-session__month-08 td, .cash-seasonticketTemplate__month-08 td { background: #C4EBF5 !important; }
.cash-session__month-09 td, .cash-seasonticketTemplate__month-09 td { background: #C4D9F5 !important; }
.cash-session__month-10 td, .cash-seasonticketTemplate__month-10 td { background: #CBC4F5 !important; }
.cash-session__month-11 td, .cash-seasonticketTemplate__month-11 td { background: #E4C4F5 !important; }
.cash-session__month-12 td, .cash-seasonticketTemplate__month-12 td { background: #F7C6E4 !important; }

/* monitor */
.monitoringGood { color: #47CC3D; }
.monitoringAlert { color: #ECA646; }
.monitoringBad { color: #E8454B; }

.monitoring-organisation-settings {
    color: #333;
    text-decoration: none !important;
}

.monitor-control {
    margin-bottom: 40px
}

.monitor-organisation-type, .monitor-afisha-type, .monitor-hall-type {
    border: 3px solid #eee;
    cursor: pointer
}

.monitor-organisation-type:hover, .monitor-afisha-type:hover, .monitor-hall-type:hover {
    border-color: #9c9c9c
}

.monitor-organisation-type-active, .monitor-afisha-type-active, .monitor-hall-type-active {
    border-color: #f37437 !important;
}

.table-no-padding td {
    padding: 0
}

.no-border {
    border: none !important;
}

.loyalitet-monitoring-level-up td {
    background: #C4F5C6 !important;
}

.loyalitet-monitoring-level-down td {
    background: #FFCDCC !important;
}

.hall-center .hall {
    margin: 0 auto
}

.redactor_box {
    font-weight: 400;
}

/* social */
#social-model-grid i {
    font-size: 20px;
}

.user-social__vk {
    color: #507299 !important;
    text-decoration: none !important;
}

.user-social__fb {
    color: #3b5998 !important;
    text-decoration: none !important;
}

.user-social__twitter {
    color: #1dcaff !important;
    text-decoration: none !important;
}

.user-social__google {
    color: #dd4b39 !important;
    text-decoration: none !important;
}

.user-social__odnoklassniki {
    color: #F2720C !important;
    text-decoration: none !important;
}

.dropdown-header {
    padding-left: 10px
}

.error-log__error td {
    background: #ffd9cc !important;
}

.error-log__warning td {
    background: #ffe19f !important;
}

.error-log__notice td {
    background: #ffff9d !important;
}

.error-log__info td {
    background: #cefdff !important;
}

.popover {
    max-width: 500px;
}

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

.api__request-list li {
    margin-bottom: 5px;
}

/* drag */
body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

.dragged-list {
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin: 0;
}

.dragged-list li {
    list-style: none;
    background: #fefefe;
    border: 1px solid #cccccc;
    display: block;
    margin: 5px;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.dragged-list li.active {
    color: var(--success-text);
    background: var(--success-background);
}

.dragged-list li.noactive {
    color: var(--info-text);
    background: var(--info-background);
}

.dragged-list li.disabled {
    display: none;
}

.dragged-list li strong {
    white-space: nowrap;
}

.dragged-list li.placeholder {
    position: relative;
}

.dragged-list li.placeholder:before {
    position: absolute;
}

.btn-group .active.disabled {
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* filter event_tag */
.events_tag-filter {
    display: none;
}

.events_tag-filter_open {
    display: block;
}

.btn-tag-delete {
    color: #D9534F
}

.btn-tag-delete:hover {
    color: #b45450;
    text-decoration: none;
}

.btn-tag-delete i {
    font-size: 24px;
}

/* filter discount_composite */
.discount_composite-filter {
    display: none;
}

.discount_composite-filter.open {
    display: block;
}


table.dataTable thead td, table.dataTable thead th {
    border-bottom: 1px solid #d0d0d0 !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #d0d0d0 !important;
}

.button-column {
    white-space: nowrap;
}

.complete__amount-info {
    width: 100%;
}

.complete__amount-info td {
    vertical-align: top;
    padding: 5px 10px 5px 0;
}

.complete__cheque td {
    vertical-align: middle;
    padding: 5px 10px 5px 0;
}

.complete__cheque .input-append {
    margin: 0;
}

.help-block_radio-button-group {
    padding: 32px 0 0 0;
}

.bootstrap-select .dropdown-menu.inner > li.selected > a {
    cursor: default;
}

.qxf.seriesnumber-user-icon {
    transform: scale(2);
}
