.error-page {
    text-align: center;
}

.error-page>.headline {
    float: none;
}

.error-page>.error-content {
    margin-left: auto;
}


/* -------------------------------------------------------------------------- */

hr {
    border-top: 1px solid #d2d6de;
}

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

.text-white {
    color: #fff;
}

.text-light {
    color: #bbb;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-move {
    cursor: move;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.form-row {
    margin-right: -5px;
    margin-left: -5px;
}

.form-row > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.mt-0 {
    margin-top: 0 !important;
}

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

.pl-5 {
    padding-left: 5px !important;
}

.pr-5 {
    padding-right: 5px !important;
}

.py-5 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.text-break {
    word-wrap: break-word !important;
}

.line-end {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
    color: tomato;
    -webkit-user-select: none; /* Safari */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
            user-select: none; /* Standard */
}

.text-decoration-none {
    text-decoration: none !important;
}

.user-select-none {
    -webkit-user-select: none; /* Safari */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
            user-select: none; /* Standard */
}

.btn-no-style {
    line-height: 1;
    background: none;
    vertical-align: initial;
    padding-block: 1px;
    padding-inline: 6px;
}

.btn-no-style:hover,
.btn-no-style:focus{
    background-color: #e0e0e0;
}

a.asc::after,
a.desc::after {
    font-family: 'FontAwesome';
    font-weight: normal;
}

a.asc::after {
    content: "\00a0\f15d";
}

a.desc::after {
    content: "\00a0\f15e";
}

/* Стили чекбоксов для CheckboxColumn у GridView */
.select-on-check-all,
.select-on-check {
    width: 20px;
    height: 20px;
}

.no-wrap {
    white-space: nowrap;
}

/* Новогодняя гирлянда */
.new-year-mood {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22136%22%20height%3D%2212%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0)%22%3E%3Cpath%20d%3D%22M25.37%207.25c-.33%201.6-1.44%202.66-2.5%202.34-1.04-.31-1.62-1.86-1.3-3.48.32-1.6%201.44-2.66%202.49-2.35%201.05.3%201.64%201.88%201.3%203.49z%22%20fill%3D%22%23FF4F72%22%2F%3E%3Cpath%20d%3D%22M11.15%205.64c-.41%201.6-1.58%202.59-2.62%202.22S7%205.9%207.4%204.32c.4-1.58%201.58-2.58%202.62-2.22%201.05.37%201.5%201.96%201.13%203.54z%22%20fill%3D%22%23FFD54F%22%2F%3E%3Cpath%20d%3D%22M40.4%208.31c-.13%201.64-1.17%202.82-2.27%202.62-1.1-.2-1.8-1.7-1.62-3.34.18-1.64%201.2-2.79%202.26-2.57%201.07.21%201.76%201.64%201.63%203.3z%22%20fill%3D%22%234BB34B%22%2F%3E%3Cpath%20d%3D%22M55.39%208.86c-.06%201.65-.99%202.93-2.08%202.85-1.1-.09-1.92-1.49-1.84-3.14.08-1.65%201.01-2.92%202.08-2.84%201.07.08%201.9%201.48%201.84%203.13z%22%20fill%3D%22%2378D2FF%22%2F%3E%3Cpath%20d%3D%22M70.45%209.02c0%201.65-.91%202.96-2%202.94-1.1-.03-1.98-1.4-1.93-3.05.05-1.64.93-2.95%202-2.93%201.08.02%201.94%201.38%201.93%203.04z%22%20fill%3D%22%23FFD54F%22%2F%3E%3Cpath%20d%3D%22M85.54%208.6c.05%201.65-.81%203.05-1.9%203.08-1.1.02-2-1.31-2.02-2.94-.02-1.63.84-3.01%201.9-3.05%201.07-.03%201.97%201.26%202.02%202.91z%22%20fill%3D%22%23FF4F72%22%2F%3E%3Cpath%20d%3D%22M100.46%207.33c.32%201.61-.28%203.17-1.31%203.49-1.03.31-2.23-.79-2.48-2.41-.25-1.63.32-3.14%201.35-3.43%201.02-.29%202.13.74%202.44%202.35z%22%20fill%3D%22%23FFD54F%22%2F%3E%3Cpath%20d%3D%22M115.33%205.97c.36%201.6-.19%203.18-1.23%203.52s-2.17-.65-2.53-2.27c-.36-1.62.19-3.18%201.22-3.52%201.04-.35%202.16.66%202.54%202.27z%22%20fill%3D%22%2378D2FF%22%2F%3E%3Cpath%20d%3D%22M130.1%204.08c.43%201.59-.06%203.18-1.09%203.57-1.02.38-2.2-.6-2.62-2.18-.42-1.58.07-3.18%201.1-3.57%201.03-.39%202.2.59%202.62%202.18z%22%20fill%3D%22%234BB34B%22%2F%3E%3Cpath%20d%3D%22M.33.33a432.52%20432.52%200%2000135.34%200%22%20stroke%3D%22%23555E69%22%20stroke-width%3D%22.75%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%200h136v11.96H0z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center top;
}




/**
 * Select2 validation states
 */

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3c8dbc;
}

.has-warning.select2-container--default .select2-dropdown,
.has-warning .select2-container--default .select2-selection {
    border-color: #f39c12;
}

.has-warning .select2-container--open .select2-selection,
.has-warning .select2-container--default.select2-container--focus .select2-selection {
    border-color: #f39c12;
}

.has-error.select2-container--default .select2-dropdown,
.has-error .select2-container--default .select2-selection {
    border-color: #dd4b39;
}

.has-error .select2-container--open .select2-selection,
.has-error .select2-container--default.select2-container--focus .select2-selection {
    border-color: #dd4b39;
}

.has-success.select2-container--default .select2-dropdown,
.has-success .select2-container--default .select2-selection {
    border-color: #00a65a;
}

.has-success .select2-container--open .select2-selection,
.has-success .select2-container--default.select2-container--focus .select2-selection {
    border-color: #00a65a;
}


/* Фикс проблемы с длинным выбранным пунктом в Select2 */
.select2-container--default {
  .select2-selection--single {
    overflow: hidden;

    .select2-selection__rendered {
      word-wrap: break-word;
      word-break: break-all;
      text-overflow: inherit;
      white-space: normal;
    }
  }
  .select2-results > .select2-results__options {
    width: 100%;
    overflow-x: hidden;
  }
}

/* Увеличение размера выпадашки у Select2 */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 400px;
}



/* Стили для фиксирования элементов управления при прокрутке страницы */
.page-controls-fixed.active {
    position: fixed;
    top: 0;
    right: 15px;
    z-index: 9999;
    background-color: white;
    box-shadow: -1px 1px 1px rgb(0 0 0 / 10%);
}



/* Кнопка "Наверх" */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 850;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(27, 35, 39, .6);
    text-align: center;
    transition:
        background-color .1s ease-in,
        color .1s ease-in,
        width .3s ease-in-out,
        height .3s ease-in-out,
        line-height .3s ease-in-out;
}

.back-to-top,
.back-to-top:focus {
    color: #b8c7ce;
}

.back-to-top:hover {
    color: #fff;
    background-color: rgb(23, 28, 31);
}

.sidebar-open .back-to-top {
    width: 230px;
}

@media (min-width: 768px) {
    .back-to-top {
        width: 230px;
        height: 25vh;
        line-height: 25vh;
    }

    .sidebar-mini.sidebar-collapse .back-to-top {
        width: 50px;
    }
}



/* Стили для текста ссылки */
a.text-blue:hover,
a.text-blue:focus {
    color: #005384 !important;
}

a.text-yellow:hover,
a.text-yellow:focus {
    color: #c87f0a !important;
}

a.text-green:hover,
a.text-green:focus {
    color: #00733e !important;
}

a.text-red:hover,
a.text-red:focus {
    color: #c23321 !important;
}

a.text-aqua:hover,
a.text-aqua:focus {
    color: #0097bc !important;
}

a.text-black:hover,
a.text-black:focus {
    color: #000000 !important;
}

a.text-light-blue:hover,
a.text-light-blue:focus {
    color: #307095 !important;
}

a.text-gray:hover,
a.text-gray:focus {
    color: #b5bbc8 !important;
}

a.text-navy:hover,
a.text-navy:focus {
    color:#00060c!important;
}

a.text-teal:hover,
a.text-teal:focus {
    color: #2ba7a7 !important;
}

a.text-olive:hover,
a.text-olive:focus {
    color: #2e7555 !important;
}

a.text-lime:hover,
a.text-lime:focus {
    color: #00cd5a !important;
}

a.text-orange:hover,
a.text-orange:focus {
    color: #e76b00 !important;
}

a.text-fuchsia:hover,
a.text-fuchsia:focus {
    color: #c30c9a !important;
}

a.text-purple:hover,
a.text-purple:focus {
    color: #4c4988 !important;
}

a.text-maroon:hover,
a.text-maroon:focus {
    color: #ab154c !important;
}

/* Классы для вертикального выравнивания */
.align-baseline {
  vertical-align: baseline !important;
}

.align-top {
  vertical-align: top !important;
}

.align-middle {
  vertical-align: middle !important;
}

.align-bottom {
  vertical-align: bottom !important;
}

.align-text-bottom {
  vertical-align: text-bottom !important;
}

.align-text-top {
  vertical-align: text-top !important;
}
.modal-xl {
    max-width: 80%;
    width: auto;
}


/* Класс кастомной кнопки для озона */
.btn-ozon-color {
    background-color: #0054FF;
    color: white;
}
.btn-ozon-color:hover {
    background-color: #0d46c2;
    color: white;
}

/* Класс кастомной кнопки ВБ */
.btn-wildberries-color {
    background-color: #8142CD;
    color: white;
}
.btn-wildberries-color:hover {
    background-color: #6534a1;
    color: white;
}

/* Классы для свойства display */
.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-grid {
  display: inline-grid !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-none {
  display: none !important;
}

/* Класс для вертикальной разделительной линии */
.vertical-line {
    border-left: 0.5px solid #e5e5e5;
    height: 100%;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.flex-item {
    flex: 1;
    padding: 0 10px;
}

.form-column {
    border-right: 0.5px solid #e5e5e5;
}

.tree-column {
    border-left: 0.5px solid #e5e5e5;
}



/* Класс для плагина jsTree у которого отображаются чекбоксы только на концах веток */
.jstree-only-leaf-checkbox .jstree-node:not(.jstree-leaf) > .jstree-anchor .jstree-checkbox {
    display:none;
}

/* Добавление !important стандартным хелперам фонового цвета */
.bg-primary {
  color: #fff;
  background-color: #337ab7 !important;
}
a.bg-primary:hover,
a.bg-primary:focus {
  background-color: #286090 !important;
}
.bg-success {
  background-color: #dff0d8 !important;
}
a.bg-success:hover,
a.bg-success:focus {
  background-color: #c1e2b3 !important;
}
.bg-info {
  background-color: #d9edf7 !important;
}
a.bg-info:hover,
a.bg-info:focus {
  background-color: #afd9ee !important;
}
.bg-warning {
  background-color: #fcf8e3 !important;
}
a.bg-warning:hover,
a.bg-warning:focus {
  background-color: #f7ecb5 !important;
}
.bg-danger {
  background-color: #f2dede !important;
}
a.bg-danger:hover,
a.bg-danger:focus {
  background-color: #e4b9b9 !important;
}

/* Класс для определения минимальной высоты блока well */
.well-min-height {
    min-height: 150px;
}

/* .well сопоставимый по размерам с .form-control */
.well-example {
    padding: 6px 12px;
}

/* Классы для скрытия границ */
.border-0 {
    border: 0 !important;
}
.border-top-0 {
    border-top: 0 !important;
}
.border-right-0 {
    border-right: 0 !important;
}
.border-bottom-0 {
    border-bottom: 0 !important;
}
.border-left-0 {
    border-left: 0 !important;
}
