@charset "UTF-8";
html {
  font-size: 11pt;
}
html pre {
  font-family: monospace;
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a {
  color: #0c9df7;
}

.font-size_rem_08 {
  font-size: 0.8rem;
}

.cursor_help {
  cursor: help;
}
.cursor_pointer {
  cursor: pointer;
}

.margin-right_none {
  margin-right: 0;
}
.margin-right_default {
  margin-right: 0.8rem;
}
.margin-right_default_half {
  margin-right: 0.4rem;
}
.margin-right_5_px {
  margin-right: 5px;
}
.margin-left_none {
  margin-left: 0;
}
.margin-left_default {
  margin-left: 0.8rem;
}
.margin-left_default_half {
  margin-left: 0.4rem;
}
.margin-top_none {
  margin-top: 0;
}
.margin-top_default {
  margin-top: 0.8rem;
}
.margin-top_default_half {
  margin-top: 0.4rem;
}
.margin-bottom_none {
  margin-bottom: 0;
}
.margin-bottom_default {
  margin-bottom: 0.8rem;
}
.margin-bottom_default_half {
  margin-bottom: 0.4rem;
}
.margin-vertical_default {
  margin: 0.8rem 0;
}
.margin-vertical_default_half {
  margin: 0.4rem 0;
}
.margin-horizontal_default {
  margin: 0 0.8rem;
}
.margin-horizontal_default_half {
  margin: 0 0.4rem;
}
.margin_none {
  margin: 0;
}
.margin_default {
  margin: 0.8rem;
}
.margin_default_half {
  margin: 0.4rem;
}

.padding-left_default {
  padding-left: 0.8rem;
}
.padding-left_default_half {
  padding-left: 0.4rem;
}
.padding-right_default {
  padding-right: 0.8rem;
}
.padding-right_default_half {
  padding-right: 0.4rem;
}
.padding-top_default {
  padding-top: 0.8rem;
}
.padding-top_default_half {
  padding-top: 0.4rem;
}
.padding-bottom_default {
  padding-bottom: 0.8rem;
}
.padding-bottom_default_half {
  padding-bottom: 0.4rem;
}
.padding_default {
  padding: 0.8rem;
}
.padding_default_half {
  padding: 0.4rem;
}
.padding-vertical_default {
  padding: 0.8rem 0;
}
.padding-vertical_default_half {
  padding: 0.4rem 0;
}
.padding-horizontal_default {
  padding: 0 0.8rem;
}
.padding-horizontal_default_half {
  padding: 0 0.4rem;
}

.table-layout_fixed {
  table-layout: fixed;
}

.text-decoration_underline {
  text-decoration: underline;
}

.text-align_left {
  text-align: left;
}
.text-align_right {
  text-align: right;
}
.text-align_center {
  text-align: center;
}

.display_inline-block {
  display: inline-block;
}
.display_none {
  display: none;
}
.display_none_important {
  display: none !important;
}
.display_grid {
  display: grid;
}
.display_contents {
  display: contents;
}
.display_block {
  display: block;
}
.display_block_important {
  display: block !important;
}
.display_flex {
  display: flex;
}

.position_relative {
  position: relative;
}
.position_absolute_outside {
  position: absolute;
  left: -1000000px;
}

.resize_none {
  resize: none;
}

.overflow_hidden {
  overflow: hidden;
}
.overflow-x_scroll {
  overflow-x: scroll;
}
.overflow-x_auto {
  overflow-x: auto;
}

.word-break_break-all {
  word-break: break-all;
}

.width_px_1000 {
  width: 1000px;
}
.width_px_500 {
  width: 500px;
}
.width_vw_100 {
  width: 100vw;
}
.width_vw_layout-100 {
  width: calc(100vw - 52px);
  max-width: 100%;
}
.width_percent_100 {
  width: 100%;
}
.width_percent_50 {
  width: 50%;
}

.max-width_max-content {
  max-width: max-content;
}

.font-weight_bold {
  font-weight: bold;
}

.white-space_nowrap {
  white-space: nowrap;
}

.color_primary {
  color: #337ab7;
}
.color_success {
  color: #5cb85c;
}
.color_add {
  color: #5cb85c;
}
.color_add[ng-click]:hover {
  color: #449d44;
}
.color_delete {
  color: #b84542;
}
.color_delete[ng-click]:hover {
  color: #923735;
}
.color_danger {
  color: #d9534f;
}
.color_warning {
  color: #f0ad4e;
}

.flex-grow_1 {
  flex-grow: 1;
}

.float_left {
  float: left;
}
.float_right {
  float: right;
}

.margin_0-auto {
  margin: 0 auto;
}

.direction_row {
  flex-direction: row;
}

.direction_column {
  flex-direction: column;
}

.justify-content_center {
  justify-content: center !important;
}

.justify-content_left {
  justify-content: left !important;
}

.justify-content_right {
  justify-content: right !important;
}

.warning-block {
  border: 1px solid #ffaa44;
  border-left-width: 10px;
  padding: 5px;
  font-size: 10pt;
}
.warning-block_margin-4-0 {
  margin: 4px 0;
}
.warning-block ol {
  padding: 0 0 0 15px;
  margin: 0;
}
.warning-block_claim-result {
  width: 384px;
  margin-top: 5px;
  background-color: white;
  text-align: left;
}

.info-block {
  border: 1px solid rgba(51, 102, 160, 0.5);
  border-left-width: 10px;
  padding: 5px;
  font-size: 10pt;
}

.success-block {
  border: 1px solid #155724;
  border-left-width: 10px;
  padding: 5px;
  font-size: 10pt;
}

.error-block {
  border: 1px solid #b84542;
  border-left-width: 10px;
  padding: 5px;
  font-size: 10pt;
  background-color: white;
  color: black;
}
.error-block__title {
  font-size: larger;
}
.error-block_red {
  color: #d9534f;
}

.footer-links {
  margin-bottom: 10px;
}
.footer-links__title {
  text-align: left;
}
.footer-links__content {
  border: 1px dashed #A7A7A7;
  text-align: justify;
}
.footer-links__finance-content {
  border: 1px dashed #A7A7A7;
  text-align: left;
}
.footer-links__finance-content .finance-link {
  display: inline-block;
  padding: 5px;
}
.footer-links__finance-content .finance-link .counter {
  border: 1px solid #ccc;
  padding: 3px;
  border-radius: 3px;
  font-size: 8pt;
  margin-left: 2px;
}

.background-color_warning {
  background-color: #f0ad4e;
}

.background_brown_1 {
  background-color: #5F3E23;
}

.background_grey_1 {
  background-color: #E4E4E4;
}

.background_green_1 {
  background-color: #c3e6cb;
}

.background_red {
  background-color: #FFCCCC;
}
.background_red_2 {
  background-color: #721c24;
}
.background_red_5 {
  background-color: #d9534f;
}

.background_blue_1 {
  background-color: #15aabf;
}

.background_orange_1 {
  background-color: #FAE8D7;
}

.background_yellow_1 {
  background-color: #FFEFBA;
}

.font_size-1 {
  font-size: 1em !important;
}

.font_size-1_5 {
  font-size: 1.5em !important;
}

.font_size-2 {
  font-size: 2em !important;
}

.font_size-3 {
  font-size: 3em !important;
}

.z-index_1 {
  z-index: 1;
}
.z-index_2 {
  z-index: 2;
}

[ng-click] {
  cursor: pointer;
}

.element-preload-horizontal {
  position: relative;
  overflow: hidden;
}

.element-preload-horizontal::before {
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1001;
}

.element-preload-horizontal::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  padding-top: 0;
  margin-bottom: 0;
  background: no-repeat center url("/img/system/ld3.gif");
  z-index: 1002;
  top: 0;
  left: 0;
}

amd-select {
  display: inline-block;
}

.amd-select, .amd-select * {
  box-sizing: border-box;
}

.amd-select {
  display: inline-block;
  text-align: left;
  min-width: 200px;
  width: 100%;
}
.amd-select_multiple {
  position: initial;
}
.amd-select__result {
  display: flex;
  height: 28px;
  padding: 1px;
  background-color: #fff;
  border: 1px solid #d3d3d3;
}
.amd-select__result-btn {
  width: 28px;
  border-left: 1px solid #c0c0c0;
  display: flex;
  padding-left: 1px;
  padding-top: 6px;
  padding-bottom: 0;
}
.amd-select__result-btn::after {
  content: "";
  border: 6px solid transparent;
  border-top-color: black;
  margin: auto;
}
.amd-select__result-btn_open {
  padding-bottom: 6px;
  padding-top: 0;
}
.amd-select__result-btn_open::after {
  border: 6px solid transparent;
  border-bottom-color: black;
}
.amd-select__result-text {
  user-select: none;
  -moz-user-select: none;
  flex: 1;
  margin: 0 3px;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.amd-select__main {
  max-width: 750px;
  background-color: #fff;
  border: 1px solid #d3d3d3;
}
.amd-select__main_single {
  visibility: hidden;
  z-index: 1;
  position: absolute;
}
.amd-select__main_multiple {
  position: initial;
  z-index: initial;
}
.amd-select__main_open {
  visibility: visible;
}
.amd-select__controls {
  padding: 5px;
  border-bottom: 1px solid #d3d3d3;
  background: #f7f7f7;
}
.amd-select__control:not(:last-child) {
  margin-bottom: 5px;
}
.amd-select__search {
  width: 100%;
  border-radius: 0;
  border: 1px solid #d3d3d3;
  padding: 5px;
  outline: none;
}
.amd-select__options {
  margin-top: 5px;
  height: 200px;
  display: flex;
}
.amd-select__option {
  cursor: pointer;
  padding: 0 0 0 4px;
}
.amd-select__option * {
  cursor: pointer;
}
.amd-select__option_selected {
  background-color: rgba(51, 122, 183, 0.1) !important;
}
.amd-select__option_disabled {
  cursor: default;
  color: #777777;
}
.amd-select__option_disabled * {
  cursor: default;
}
.amd-select__option_error {
  background-color: #F7D0D0;
}
.amd-select__label {
  user-select: none;
  -moz-user-select: none;
  font-family: inherit;
  color: inherit;
  font-weight: inherit;
}
.amd-select__result_focus, .amd-select__result:focus {
  outline: 1px dotted #c0c0c0;
  outline-offset: -4px;
}
.amd-select__result_hover, .amd-select__result:hover {
  background: rgba(51, 122, 183, 0.3) !important;
}
.amd-select__result_open {
  border-bottom: 1px solid #d3d3d3;
}
.amd-select__result_hide {
  display: none;
}
.amd-select__controls_hide, .amd-select__control_hide {
  display: none;
}

.is__body-viewport {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}
.is__cols-clipper {
  min-height: 100%;
  flex: 1;
  overflow: hidden;
}
.is__cols-clipper-viewport {
  overflow-x: scroll;
  overflow-y: hidden;
}
.is__row {
  min-width: 100%;
  border-color: #d3d3d3;
  border-width: 1px 0 0;
  position: absolute;
  border-style: solid;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  height: 28px;
}
.is__row:hover {
  background: rgba(51, 122, 183, 0.3) !important;
}
.is__row_load {
  padding-left: 28px;
}
.is__row_load::before {
  content: '';
  background: url("/img/ld/brown.png") no-repeat;
  display: block;
  width: 28px;
  height: 100%;
  margin-left: -28px;
}

.amd-filter,
.amd-filter *,
.amd-filter-date,
.amd-filter-date * {
  box-sizing: border-box;
}

.amd-filter {
  width: 248px;
  border-bottom: 1px solid #9B9B9B;
  border-right: 1px solid #9B9B9B;
}
.amd-filter__head {
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #ffffff, #f4f4f4);
  height: 36px;
  width: 100%;
  overflow: hidden;
}
.amd-filter__caption {
  word-break: break-all;
  margin: 0 11px 0 12px;
  color: #585b6c;
  font-size: 10pt;
  font-weight: bold;
  text-align: center;
  flex: 1;
}
.amd-filter__btn {
  float: right;
  border: none;
  cursor: pointer;
  margin-right: 5px;
}
.amd-filter__btn i {
  cursor: pointer;
  color: #3e4e68;
}
.amd-filter__btn i:hover {
  color: #478ecc;
}
.amd-filter__btn i:active {
  color: #2a6597;
}
.amd-filter__btn i::before {
  content: '\f13a';
}
.amd-filter__btn_filtered i::before {
  content: '\f0b0';
}
.amd-filter__body {
  position: absolute;
  border: 1px solid #585b6c;
  background-color: #f7f7f7;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  padding: 7px;
  width: 248px;
  z-index: 2;
  margin: -1px 0 0;
}
.amd-filter__body_hide {
  visibility: hidden;
}
.amd-filter__buttons {
  text-align: center;
  padding: 4px;
}
.amd-filter__button {
  width: 80px;
  font-size: 10pt;
}
.amd-filter__button_row {
  width: 100%;
  text-align: left;
}
.amd-filter .amd-select__main {
  background: none;
  border: none;
  padding: 0;
}
.amd-filter .amd-select__options {
  background: white;
  border: 1px solid #9b9b9b;
}
.amd-filter .amd-select__option_selected {
  background: none;
}
.amd-filter .amd-select__controls {
  background: none;
  border: none;
  padding: 0;
}
.amd-filter .amd-select__control {
  line-height: 22px;
  text-align: left;
  display: block;
}
.amd-filter .amd-select__control .amd-checkbox {
  margin-left: -1px;
}
.amd-filter .amd-select__control_search {
  border: none;
  border-radius: 0;
  height: auto;
  margin: initial;
  background: none;
}

.amd-filter-date__fieldset {
  width: 100%;
  padding: 4px 8px 10px 8px;
}
.amd-filter-date__input {
  width: 100%;
}
.amd-filter-date__control-group {
  position: relative;
}
.amd-filter-date__clear-btn {
  display: block;
  background: no-repeat center url("../../../img/system/clear.16.png");
  width: 18px;
  height: 18px;
  position: absolute;
  right: 0;
  top: 3px;
}

.amd-filter-combo__conditions {
  font-size: 0.85rem;
  font-weight: bold;
  padding: 3px;
  overflow: auto;
  color: gray;
  border: 1px solid black;
  max-height: 205px;
  min-height: 105px;
  margin-top: 8px;
}

.amd-filter-combo-window__caption {
  padding: 5px 0;
  font-size: 12pt;
  font-weight: bold;
  color: #3E4E68;
}
.amd-filter-combo-window__condition {
  display: flex;
}
.amd-filter-combo-window__select {
  margin: 0 0.6rem;
}

amd-filter-box,
amd-filter-box * {
  box-sizing: border-box;
}

amd-filter-box {
  display: block;
}

.amd-filter-box {
  min-height: 50px;
  margin: 0 auto;
}
.amd-filter-box_hide {
  visibility: hidden;
}
.amd-filter-box_loader {
  position: relative;
}
.amd-filter-box_loader::before {
  content: '';
  width: 100%;
  background: no-repeat center url("/img/system/ld3.gif");
  position: absolute;
  height: 100%;
  z-index: 2;
  display: block;
}
.amd-filter-box__controls {
  display: flex;
  align-items: center;
  margin: 0 0 0.5rem 0;
}
.amd-filter-box__left-controls {
  text-align: left;
  flex: 1;
}
.amd-filter-box__right-controls {
  text-align: right;
  flex: 1;
}
.amd-filter-box__control {
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: bold;
  color: #313131;
}
.amd-filter-box__filters {
  display: inline-grid;
  grid-template-columns: repeat(4, auto);
  border-top: 1px solid #9B9B9B;
  border-left: 1px solid #9B9B9B;
}

amd-field-input, amd-field-textarea, amd-field-select, amd-field-date {
  box-sizing: border-box;
  display: inline-block;
  font-size: inherit;
}
amd-field-input *, amd-field-textarea *, amd-field-select *, amd-field-date * {
  box-sizing: border-box;
}

.amd-datatable__cell amd-field-input, .amd-datatable__cell amd-field-textarea, .amd-datatable__cell amd-field-select, .amd-datatable__cell amd-field-date {
  width: 100%;
}

.amd-field {
  width: 100%;
}
.amd-field_inline {
  display: inline-block;
}
.amd-field__control {
  width: 100%;
  border: 1px solid black;
  font-size: inherit;
  height: 100%;
}
.amd-field__text {
  min-height: 100%;
  padding: 3px;
}
.amd-field__text:not(.amd-field__text_readonly):hover {
  background: #eee;
}
.amd-field__text:not(.amd-field__text_readonly):focus {
  background: #eee;
  outline: 1px dotted;
}
.amd-field__text:not(.amd-field__text_readonly):empty::before {
  content: '\00a0';
}

.amd-file-uploader__body {
  margin-bottom: 0.5rem;
}
.amd-file-uploader__footer {
  text-align: right;
}
.amd-file-uploader__dropdown {
  border: 2px dashed #337ab7;
  padding: 0.6rem;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  color: rgba(51, 122, 183, 0.3);
  font-size: 3rem;
  user-select: none;
}

.amd-files-list__file {
  display: flex;
  align-items: center;
}
.amd-files-list__file-title {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.amd-files-list__file-action {
  padding: 0 0.2rem;
  cursor: pointer;
  cursor: pointer;
  color: #272930;
}
.amd-files-list__file-action:hover {
  color: #33adf8;
}
.amd-files-list__file-action:active {
  color: #0785d3;
}
.amd-files-list__file-action_delete {
  cursor: pointer;
  color: #b84542;
}
.amd-files-list__file-action_delete:hover {
  color: #c86865;
}
.amd-files-list__file-action_delete:active {
  color: #923735;
}

.amd-checkbox__container {
  cursor: pointer;
}

.amd-checkbox {
  margin: 0 4px 0 0;
}

.amd-checkbox::before {
  font: normal normal normal 14px/1 "Font Awesome 5 Free";
  font-size: inherit;
  content: "\f0c8";
}

.amd-checkbox_checked::before {
  content: "\f14a";
}

.amd-table {
  background: #CDCDCD;
  border-spacing: 1px;
}
.amd-table > thead {
  font-weight: bold;
}
.amd-table > thead > tr > th, .amd-table > thead > tr > td {
  font-size: 0.8rem;
  color: #FFFFFF;
  text-align: center;
  background: #3c698e;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table > tbody > tr > td {
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table > tbody > tr:nth-child(even) {
  background: #FFFFFF;
}
.amd-table > tbody > tr:nth-child(odd) {
  background: #f6f6f6;
}
.amd-table > tfoot > tr {
  background: #f1f1f1;
}
.amd-table > tfoot > tr > td {
  padding: 0.4rem;
  vertical-align: middle;
}

.amd-table_hover > tbody > tr:hover {
  background: #A7A7A7;
}

.amd-table_default > thead > tr > th, .amd-table_default > thead > tr > td {
  color: #272930;
  background: #f1f1f1;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_default > tfoot > tr {
  background: #ececec;
}

.amd-table_primary > thead > tr > th, .amd-table_primary > thead > tr > td {
  color: #272930;
  background: #337ab7;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_primary > tfoot > tr {
  background: #ececec;
}

.amd-table_success > thead > tr > th, .amd-table_success > thead > tr > td {
  color: #272930;
  background: #5cb85c;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_success > tfoot > tr {
  background: #ececec;
}

.amd-table_info > thead > tr > th, .amd-table_info > thead > tr > td {
  color: #272930;
  background: #5bc0de;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_info > tfoot > tr {
  background: #ececec;
}

.amd-table_warning > thead > tr > th, .amd-table_warning > thead > tr > td {
  color: #272930;
  background: #f0ad4e;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_warning > tfoot > tr {
  background: #ececec;
}

.amd-table_danger > thead > tr > th, .amd-table_danger > thead > tr > td {
  color: #272930;
  background: #d9534f;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_danger > tfoot > tr {
  background: #ececec;
}

.amd-table_amd-grey > thead > tr > th, .amd-table_amd-grey > thead > tr > td {
  color: #272930;
  background: #878ea6;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_amd-grey > tfoot > tr {
  background: #ececec;
}

.amd-table_amd-blue > thead > tr > th, .amd-table_amd-blue > thead > tr > td {
  color: #272930;
  background: #0c9df7;
  padding: 0.4rem;
  vertical-align: middle;
}
.amd-table_amd-blue > tfoot > tr {
  background: #ececec;
}

.window-component {
  z-index: 2;
  overflow: visible;
  position: relative;
}
.window-component__iframe {
  position: absolute;
  z-index: -1;
  border: 0;
}
.window-component__content {
  /*position: absolute;*/
  height: 100%;
}
.window-component__content [data-draggable] {
  cursor: default;
}
.window-component__shadow {
  box-shadow: 0 0 18px 2px rgba(50, 50, 50, 0.39);
}

.dialog-component__container {
  background-color: white;
  box-shadow: 0 0 18px 2px rgba(50, 50, 50, 0.39);
  border: 1px solid #bbbbbb;
  padding: 2px;
  height: 100%;
  overflow: hidden;
}
.dialog-component__content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dialog-component__header {
  background-color: #3c698e;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  position: sticky;
  top: 0;
}
.dialog-component__header_hide {
  display: none;
}
.dialog-component__caption {
  padding: 0 16px;
}
.dialog-component__body {
  height: 100%;
  overflow: auto;
}
.dialog-component__footer {
  background-color: #e5e5e5;
  padding: 10px;
  text-align: right;
  position: sticky;
  bottom: 0;
}
.dialog-component__footer .amd-btn {
  margin-left: 5px;
  min-width: 57px;
}
.dialog-component__close-btn {
  color: white;
  right: 10px;
  position: absolute;
  cursor: pointer;
  font-size: 16px;
  top: 7px;
}
.dialog-component__close-btn:active {
  right: 9px;
  top: 6px;
}
.dialog-component__loader {
  width: 100%;
  height: 100%;
  background: white url("/img/system/ld3.gif") center center no-repeat;
  position: absolute;
  z-index: 2;
  display: none;
  margin: -2px;
}
.dialog-component__loader_show {
  display: block;
}

.overlay-component {
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  /*cursor: pointer;*/
}
.overlay-component_inner {
  position: absolute;
}
.overlay-component_global {
  position: fixed;
}

amd-alert *, .amd-alert * {
  box-sizing: border-box;
}

.amd-alert {
  position: relative;
  padding: .5rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.amd-alert_error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #b84542;
}
.amd-alert_success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.amd-alert__table {
  border-collapse: collapse;
  font-size: 0.8rem;
  width: 100%;
}
.amd-alert__table_bordered > * > tr > td {
  border: 1px solid;
  padding: 0 0.2rem;
}
.amd-alert__table_bordered > * > tr > th {
  border: 1px solid;
  padding: 0 0.2rem;
  font-weight: bold;
  text-align: center;
}

.amd-paginator {
  text-align: center;
  font-size: 11px;
  padding: 0 5px;
  position: relative;
  background: #ccc;
  display: block;
  margin-bottom: 0.8rem;
}
.amd-paginator_error::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  float: left;
  font-size: 135%;
  margin-top: 7px;
  margin-left: 3px;
  color: yellow;
  content: '\f071';
}
.amd-paginator__info {
  right: 5px;
  font-size: inherit;
  position: absolute;
  display: flex;
  align-items: center;
  height: 100%;
}
.amd-paginator__button {
  width: 50px;
  border: 1px solid gray;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 7px 2px;
  font-size: inherit;
}
.amd-paginator__button_apply {
  width: 20px;
}
.amd-paginator__page-index {
  width: 50px;
  border: 1px solid gray;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 7px 2px;
  font-size: inherit;
  text-align: center;
}

amd-datatable,
amd-datatable * {
  box-sizing: border-box;
}

.amd-datatable__table {
  display: grid;
  border-collapse: collapse;
  font-size: 8pt;
}
.amd-datatable__table > thead,
.amd-datatable__table > tbody,
.amd-datatable__table > tfoot {
  display: contents;
}
.amd-datatable__table > thead > tr,
.amd-datatable__table > tbody > tr,
.amd-datatable__table > tfoot > tr {
  display: contents;
}
.amd-datatable__table_striped .amd-datatable__row_data:nth-child(2n+1):not(:hover) > .amd-datatable__cell_data {
  background: #fff;
}
.amd-datatable__table_striped .amd-datatable__row_data:nth-child(2n):not(:hover) > .amd-datatable__cell_data {
  background: #f0f0f0;
}
.amd-datatable__table_striped .amd-datatable__row_error:nth-child(2n+1):not(:hover) > .amd-datatable__cell_data {
  background-color: #f8d7da;
}
.amd-datatable__table_striped .amd-datatable__row_error:nth-child(2n):not(:hover) > .amd-datatable__cell_data {
  background: #f8dfd7;
}
.amd-datatable__table_padding_4 > tbody > tr > td {
  padding: 4px;
}
.amd-datatable__table_padding_4 > tfoot > tr > td {
  padding: 4px;
}
.amd-datatable__row:first-child > .amd-datatable__cell {
  border-top-width: 1px;
}
.amd-datatable__row_data:hover > .amd-datatable__cell_data {
  background: #cacaca;
}
.amd-datatable__row_data.invalid > .amd-datatable__cell_data {
  background-color: #f8d7da !important;
  color: #721c24;
}
.amd-datatable__row_select > .amd-datatable__cell_data {
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
}
.amd-datatable__row_error > .amd-datatable__cell_data {
  color: #721c24;
  background-color: #f8d7da;
}
.amd-datatable__cell {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-style: solid;
  border-color: #cdcdcd;
  border-width: 0 0 1px 1px;
}
.amd-datatable__cell:last-child {
  border-right-width: 1px;
}
.amd-datatable__cell * {
  font-size: inherit;
}
.amd-datatable__cell_head {
  position: sticky;
  top: 0;
  background-color: #3c698e;
  color: #fff;
  font-size: 8pt;
  padding: 10px;
  font-weight: 600;
  border-color: #272930;
}
.amd-datatable__cell_foot {
  position: sticky;
  bottom: 0;
  background: #ccc;
}
.amd-datatable__cell_sort {
  background-color: #3c698e;
  background-position: right center;
  background-repeat: no-repeat;
  padding-right: 21px;
}
.amd-datatable__cell_sort::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 4px;
  content: '\f0dc';
}
.amd-datatable__cell_sort_desc::after {
  content: '\f0dd';
}
.amd-datatable__cell_sort_asc::after {
  content: '\f0de';
}
.amd-datatable__cell_fill-empty-space {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.amd-datatable__cell_right {
  justify-content: right;
  text-align: right;
}
.amd-datatable__cell_left {
  justify-content: left;
  text-align: left;
}
.amd-datatable__cell_top {
  align-items: start;
}
.amd-datatable__cell_column {
  flex-direction: column;
}
.amd-datatable__empty-message {
  font-size: 18px;
  margin: 18px 0;
  font-weight: bold;
}

amd-grid,
amd-grid * {
  box-sizing: border-box;
}

amd-grid {
  display: block;
  width: min-content;
  max-width: 100%;
  margin: 0 auto;
}
amd-grid amd-filter-box {
  margin: 20px 0;
}
amd-grid grid-header {
  display: block;
}
amd-grid grid-footer {
  display: block;
}

.amd-grid__cell_data_selected {
  background: #cdcdcd;
}
.amd-grid__body {
  position: relative;
}
.amd-grid__body_scroll {
  overflow-y: auto;
  position: relative;
}
.amd-grid__block {
  background: black;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  position: absolute;
  z-index: 1;
}

.test-custom-red-row {
  background: rgba(255, 0, 0, 0.3);
}

.test-custom-green-row {
  background: rgba(0, 255, 0, 0.3);
}

.test-custom-selected {
  background: rgba(0, 0, 255, 0.3);
}

@media (min-width: 1100px) {
  amd-grid:not(.disable-sticky) > amd-filter-box, amd-grid:not(.disable-sticky) > div[ng-transclude] {
    position: sticky;
    left: 0;
    display: inline-block;
    width: calc(100vw - 12px);
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 1;
  }

  amd-grid:not(.disable-sticky) > amd-filter-box {
    z-index: 2;
  }
}
amd-fields-hider,
amd-fields-hider * {
  box-sizing: border-box;
}

amd-fields-hider {
  display: inline-block;
}

.amd-fields-hider {
  position: relative;
  text-align: left;
  user-select: none;
  -moz-user-select: none;
}
.amd-fields-hider__title {
  font-size: 8pt;
  font-weight: bold;
  color: #313131;
}
.amd-fields-hider__popup {
  position: absolute;
  background-color: #F0F0F6;
  border: 1px solid #7F7267;
  box-shadow: 0 0 18px 2px rgba(50, 50, 50, 0.39);
  padding: 10px;
  z-index: 90;
}
.amd-fields-hider__row {
  min-width: 140px;
  padding: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.amd-fields-hider__row:hover {
  background-color: white;
  border: 1px solid #ccc;
}

amd-grid-controls,
amd-grid-controls *,
.amd-grid-controls,
.amd-grid-controls * {
  box-sizing: border-box;
}

.amd-grid-controls {
  display: flex;
}
.amd-grid-controls__left {
  text-align: left;
  flex: 1;
}
.amd-grid-controls__center {
  text-align: center;
  flex: 1;
}
.amd-grid-controls__right {
  text-align: right;
  flex: 1;
}
.amd-grid-controls__hidden {
  flex: 0;
}
.amd-grid-controls__row {
  overflow: visible;
  border: 1px dashed #A7A7A7;
  padding: 4px;
  width: 100%;
  margin-bottom: 5px;
}
.amd-grid-controls__row::after {
  content: '';
  clear: both;
  display: block;
}
.amd-grid-controls__cell_left {
  text-align: left;
  float: left;
}
.amd-grid-controls__cell_right {
  text-align: right;
  float: right;
}
.amd-grid-controls__control {
  border: 1px solid gray;
  min-height: 22px;
}
.amd-grid-controls__row_lg .brownButton {
  padding: 0.2em 0.3em;
  font-size: 12px;
}
.amd-grid-controls__row_lg .brownButton:active {
  padding-left: 0.4em;
  padding-right: 0.2em;
}
.amd-grid-controls__row_lg amd-search-with-button {
  height: 30px;
}
.amd-grid-controls__row_lg .amd-search-with-button {
  font-size: 14px;
}
.amd-grid-controls__row_lg .amd-search-with-button__input {
  padding: 5px;
}

.amd-grid-legacy-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  font-size: 11pt;
  font-family: "Arial", "Helvetica", sans-serif;
}
.amd-grid-legacy-checkbox__icon {
  font-size: inherit;
  color: #000000;
}
.amd-grid-legacy-checkbox__icon:after {
  cursor: pointer;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  content: "\f0c8";
  display: inline-block;
}
.amd-grid-legacy-checkbox input {
  position: absolute;
  cursor: pointer;
  opacity: 0;
}
.amd-grid-legacy-checkbox input:checked ~ .amd-grid-legacy-checkbox__icon:after {
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  content: "\f14a";
  display: inline-block;
}

amd-product-measure-type-hint .amd-product-measure-type-hint {
  color: red;
  position: static;
  vertical-align: super;
}

text-collapsed {
  display: block;
  width: 100%;
}
text-collapsed .text-collapsed {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
text-collapsed .text-collapsed_open {
  overflow: visible;
  white-space: pre-wrap;
}

amd-search-with-button,
amd-search-with-button * {
  box-sizing: border-box;
}

amd-search-with-button {
  height: 25px;
  display: inline-block;
}

.amd-search-with-button {
  display: flex;
}
.amd-search-with-button__input {
  flex: 1;
  border: 1px solid;
  border-right: none currentcolor;
  padding-left: 0.5em;
  min-width: 0;
}
.amd-search-with-button__button {
  border: 1px solid #5f3e23;
  outline: 0;
  cursor: pointer;
  background: #5f3e23;
  color: #FFF;
}

amd-work-period {
  display: inline-block;
}
amd-work-period .amd-work-period__filter-block {
  display: inline-block;
}
amd-work-period .amd-work-period__button {
  width: 190px;
}

amd-grid-auto-update {
  display: inline-block;
}

.amd-zend-form {
  display: grid;
  grid-template-columns: auto auto;
}
amd-zend-field:nth-child(even) .amd-zend-form__row > * {
  background: #f0f0f0;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
}
amd-zend-field:nth-last-child(1) .amd-zend-form__row > * {
  border-bottom: none;
}
.amd-zend-form__row {
  display: contents;
}
.amd-zend-form__label {
  display: block;
  padding: 5px;
  font-size: 80%;
  font-weight: bold;
}
.amd-zend-form__control {
  display: block;
  padding: 5px;
}
.amd-zend-form amd-zend-field {
  display: contents;
}
.amd-zend-form .amd-zend-field_vertical .amd-zend-form__label {
  grid-column: 1/3;
}
.amd-zend-form .amd-zend-field_vertical .amd-zend-form__control {
  grid-column: 1/3;
  border-top: none;
}

.amd-zend-errors__message {
  font-size: 80%;
  color: brown;
}

amd-zend-form * {
  box-sizing: border-box;
}

amd-zend-field input:not([type="checkbox"]), amd-zend-field select, amd-zend-field textarea {
  border: 1px solid lightgrey;
  width: 100%;
  padding: 3px;
}

amd-user-list {
  display: flex;
  flex-direction: column;
  min-width: 430px;
  box-sizing: border-box;
}
amd-user-list * {
  box-sizing: border-box;
}
amd-user-list .amd-user-list__search {
  margin-bottom: 5px;
}
amd-user-list .amd-user-list__search input {
  width: 100%;
}
amd-user-list .amd-user-list__groups {
  border: 1px solid #7e7e7e !important;
  overflow-y: scroll;
  flex: 1;
}
amd-user-list .amd-user-list__group-header {
  padding: 2px;
  text-align: left !important;
  display: flex;
  gap: 3px;
  border: 1px solid gray;
  font-size: 14px;
  cursor: pointer;
  background-image: linear-gradient(top, #d8d6d2, #e2e0dc 70%, #eceae6);
  background-image: -o-linear-gradient(top, #d8d6d2, #e2e0dc 70%, #eceae6);
  background-image: -moz-linear-gradient(top, #d8d6d2, #e2e0dc 70%, #eceae6);
  background-image: -webkit-linear-gradient(top, #d8d6d2, #e2e0dc 70%, #eceae6);
}
amd-user-list .amd-user-list__group-title {
  font-weight: bold;
  flex: 1;
}
amd-user-list .amd-user-list__option {
  text-align: left;
  padding-left: 20px;
}
amd-user-list .amd-user-list__option:hover {
  color: blue;
  background-color: #ccc;
}
amd-user-list .amd-user-list__foot-control {
  display: inline-block;
  cursor: pointer;
  padding: 0 2px;
  text-align: center;
  font-size: 10pt;
}
amd-user-list .amd-user-list__foot-control:hover {
  text-decoration: underline;
}

amd-context-menu-wrapper {
  position: absolute;
}
amd-context-menu-wrapper .amd-context-menu__container {
  /*background: none repeat scroll 0 0 #cdcdcd;*/
  background: white;
  position: absolute;
  font-size: 1rem;
  min-width: 250px;
  border: 1px solid #cdcdcd;
}
amd-context-menu-wrapper .amd-context-menu__item {
  padding: 2px;
  background-color: white;
  display: flex;
  cursor: default;
}
amd-context-menu-wrapper .amd-context-menu__item:hover {
  background: #f0f0f0;
}
amd-context-menu-wrapper .amd-context-menu__item_disabled {
  color: #cdcdcd;
  cursor: not-allowed;
}
amd-context-menu-wrapper .amd-context-menu__item_disabled:hover {
  background: initial;
}
amd-context-menu-wrapper .amd-context-menu__item_delete {
  color: #d9534f;
}
amd-context-menu-wrapper .amd-context-menu__separator {
  border: 1px solid #cdcdcd;
  border-bottom: none;
  margin: 0 2px;
}
amd-context-menu-wrapper .amd-context-menu__icon {
  padding-right: 2px;
  width: 20px;
  text-align: center;
}
amd-context-menu-wrapper hr {
  border: 1px solid #cdcdcd;
  border-bottom: none;
  margin: 0 2px;
}

.amd-page-overlay-service {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.amd-page-overlay-service__loader {
  font-size: 50px;
  color: #FFFFFF;
  margin: auto;
}

.amd-bottom-bar {
  background: url("/img/layout/background.png");
  border-top: 5px solid #0c9df7;
  margin-top: 40px;
  position: relative;
}
.amd-bottom-bar * {
  color: #FFFFFF;
}
.amd-bottom-bar__droppable-row {
  height: 30px;
  background: rgba(12, 157, 247, 0.4);
}
.amd-bottom-bar__droppable-row_hover {
  background: #0c9df7;
}
.amd-bottom-bar__controls {
  position: absolute;
  top: -31px;
  padding: 5px 10px;
  right: 10px;
  border: 1px solid #0c9df7;
  background: #0c9df7;
  border-radius: 4px 4px 0 0;
  box-sizing: border-box;
}
.amd-bottom-bar__controls i {
  color: #33383e;
  cursor: pointer;
  color: #272930;
}
.amd-bottom-bar__controls i:hover {
  color: #FFFFFF;
}
.amd-bottom-bar__controls i:active {
  color: #393c47;
}
.amd-bottom-bar__controls i:not(:last-child) {
  margin-right: 5px;
}
.amd-bottom-bar__controls .fa-lock-open {
  color: #d2322d;
}
.amd-bottom-bar__columns {
  justify-content: left;
  display: flex;
}
.amd-bottom-bar__column {
  height: 365px;
  margin: 0 4px;
  padding: 12px 4px;
  overflow-y: auto;
}
.amd-bottom-bar__column_grow {
  flex-grow: 1;
  flex-basis: 0;
}
.amd-bottom-bar__column-title {
  font-family: "TT Norms", "Helvetica", sans-serif;
  font-weight: 500;
  background: #545d6a;
  text-align: center;
  user-select: none;
  padding: 4px 5px;
}
.amd-bottom-bar__column-row {
  display: flex;
  align-items: center;
}
.amd-bottom-bar__column-item {
  font-family: "TT Norms", "Helvetica", sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  flex-grow: 1;
}
.amd-bottom-bar__column-item a {
  display: block;
  padding: 4px 5px;
  text-decoration: none;
}
.amd-bottom-bar__column-item:hover {
  background: #33adf8;
}
.amd-bottom-bar__column-item:active {
  background: #0785d3;
}
.amd-bottom-bar-editor {
  position: fixed;
  left: 465px;
  top: 15px;
  z-index: 99;
}
.amd-bottom-bar-editor-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 97;
}
.amd-bottom-bar__remove-item-btn {
  margin: 0 6px 0 5px;
  cursor: pointer;
  color: #d9534f;
}
.amd-bottom-bar__remove-item-btn:hover {
  color: #e07471;
}
.amd-bottom-bar__remove-item-btn:active {
  color: #d2322d;
}
.amd-bottom-bar .amd-left-bar__mover {
  margin: 0 6px 0 5px;
  cursor: pointer;
  color: #FFFFFF;
}
.amd-bottom-bar .amd-left-bar__mover:hover {
  color: #33adf8;
}
.amd-bottom-bar .amd-left-bar__mover:active {
  color: #0785d3;
}

.fa_dark-grey {
  cursor: pointer;
  color: #545d6a;
}
.fa_dark-grey:hover {
  color: #33adf8;
}
.fa_dark-grey:active {
  color: #0785d3;
}

.btn-amd-grey {
  color: #FFFFFF;
  text-shadow: none;
  background-color: #878ea6;
  background-image: linear-gradient(to bottom, #9ea4b7, #707895);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2);
  font-weight: bold;
  user-select: none;
}
.btn-amd-grey a {
  font-size: 0.9rem;
}
.btn-amd-grey:disabled, .btn-amd-grey[disabled] {
  color: #FFFFFF;
  background-color: #9ea4b7;
}
.btn-amd-grey:hover {
  color: #FFFFFF;
}
.btn-amd-grey:hover:not(:disabled):not([disabled]) {
  background-color: #707895;
}
.btn-amd-grey:active {
  color: #FFFFFF;
}
.btn-amd-grey:active:not(:disabled):not([disabled]) {
  background-color: #707895;
}
.btn-amd-grey:focus {
  color: #FFFFFF;
}
.btn-amd-grey:focus:not(:disabled):not([disabled]) {
  background-color: #707895;
}

.btn-amd-blue {
  color: #FFFFFF;
  text-shadow: none;
  background-color: #0c9df7;
  background-image: linear-gradient(to bottom, #33adf8, #0785d3);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2);
  font-weight: bold;
  user-select: none;
}
.btn-amd-blue a {
  font-size: 0.9rem;
}
.btn-amd-blue:disabled, .btn-amd-blue[disabled] {
  color: #FFFFFF;
  background-color: #33adf8;
}
.btn-amd-blue:hover {
  color: #FFFFFF;
}
.btn-amd-blue:hover:not(:disabled):not([disabled]) {
  background-color: #0785d3;
}
.btn-amd-blue:active {
  color: #FFFFFF;
}
.btn-amd-blue:active:not(:disabled):not([disabled]) {
  background-color: #0785d3;
}
.btn-amd-blue:focus {
  color: #FFFFFF;
}
.btn-amd-blue:focus:not(:disabled):not([disabled]) {
  background-color: #0785d3;
}

.amd-btn {
  padding: 3px 8px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  user-select: none;
}
.amd-btn:not([disabled]) {
  cursor: pointer;
}
.amd-btn__caret {
  border-left: 1px solid;
  display: inline-block;
  position: relative;
  padding: 4px 9px;
  margin: -4px -9px -4px 5px;
}
.amd-btn__caret::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  content: "\f0d7";
}
.amd-btn__caret > ul {
  display: none;
  list-style: none;
  position: absolute;
  bottom: 10px;
  right: 0px;
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12), 0px 5px 5px -3px rgba(0, 0, 0, 0.2);
  background: white;
  padding: 0;
}
.amd-btn__caret > ul > li {
  white-space: nowrap;
  padding: 3px 20px;
  margin: 3px 0;
}
.amd-btn__caret > ul > li:hover {
  background: #eee;
}
.amd-btn__caret_open::before {
  content: "\f0d8";
}
.amd-btn__caret_open > ul {
  display: initial;
}

.amd-btn_default {
  color: #9B9B9B;
  background: #FFFFFF;
  border: 1px solid #9B9B9B;
}
.amd-btn_default[disabled] {
  color: #c4c4c4;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_default[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_default:hover:not([disabled]) {
  color: #777777;
  background: #E4E4E4;
  border-color: #9B9B9B;
}
.amd-btn_default:active:not([disabled]) {
  color: #777777;
  background: #CDCDCD;
  border-color: #9B9B9B;
}
.amd-btn_default .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_default .amd-btn__caret > ul {
  color: #9B9B9B;
}

.amd-btn_primary {
  color: #337ab7;
  background: #FFFFFF;
  border: 1px solid #337ab7;
}
.amd-btn_primary[disabled] {
  color: #67a2d5;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_primary[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_primary:hover:not([disabled]) {
  color: #FFFFFF;
  background: #478ecc;
  border-color: #337ab7;
}
.amd-btn_primary:active:not([disabled]) {
  color: #FFFFFF;
  background: #2a6597;
  border-color: #337ab7;
}
.amd-btn_primary .amd-btn__caret {
  border-left-color: #2a6597;
}
.amd-btn_primary .amd-btn__caret > ul {
  color: #337ab7;
}
.amd-btn_primary.button-active {
  background-color: #2a6597;
  color: #FFFFFF;
}

.amd-btn_success {
  color: #5cb85c;
  background: #FFFFFF;
  border: 1px solid #5cb85c;
}
.amd-btn_success[disabled] {
  color: #95d195;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_success[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_success:hover:not([disabled]) {
  color: #FFFFFF;
  background: #78c478;
  border-color: #5cb85c;
}
.amd-btn_success:active:not([disabled]) {
  color: #FFFFFF;
  background: #47a447;
  border-color: #5cb85c;
}
.amd-btn_success .amd-btn__caret {
  border-left-color: #47a447;
}
.amd-btn_success .amd-btn__caret > ul {
  color: #5cb85c;
}

.amd-btn_info {
  color: #5bc0de;
  background: #FFFFFF;
  border: 1px solid #5bc0de;
}
.amd-btn_info[disabled] {
  color: #9fdaec;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_info[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_info:hover:not([disabled]) {
  color: #FFFFFF;
  background: #7dcde5;
  border-color: #5bc0de;
}
.amd-btn_info:active:not([disabled]) {
  color: #FFFFFF;
  background: #39b3d7;
  border-color: #5bc0de;
}
.amd-btn_info .amd-btn__caret {
  border-left-color: #39b3d7;
}
.amd-btn_info .amd-btn__caret > ul {
  color: #5bc0de;
}

.amd-btn_warning {
  color: #f0ad4e;
  background: #FFFFFF;
  border: 1px solid #f0ad4e;
}
.amd-btn_warning[disabled] {
  color: #f6d099;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_warning[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_warning:hover:not([disabled]) {
  color: #FFFFFF;
  background: #f3be74;
  border-color: #f0ad4e;
}
.amd-btn_warning:active:not([disabled]) {
  color: #FFFFFF;
  background: #ed9c28;
  border-color: #f0ad4e;
}
.amd-btn_warning .amd-btn__caret {
  border-left-color: #ed9c28;
}
.amd-btn_warning .amd-btn__caret > ul {
  color: #f0ad4e;
}

.amd-btn_danger {
  color: #d9534f;
  background: #FFFFFF;
  border: 1px solid #d9534f;
}
.amd-btn_danger[disabled] {
  color: #e79592;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_danger[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_danger:hover:not([disabled]) {
  color: #FFFFFF;
  background: #e07471;
  border-color: #d9534f;
}
.amd-btn_danger:active:not([disabled]) {
  color: #FFFFFF;
  background: #d2322d;
  border-color: #d9534f;
}
.amd-btn_danger .amd-btn__caret {
  border-left-color: #d2322d;
}
.amd-btn_danger .amd-btn__caret > ul {
  color: #d9534f;
}

.amd-btn_amd-grey {
  color: #878ea6;
  background: #FFFFFF;
  border: 1px solid #878ea6;
}
.amd-btn_amd-grey[disabled] {
  color: #b6bac9;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_amd-grey[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_amd-grey:hover:not([disabled]) {
  color: #FFFFFF;
  background: #9ea4b7;
  border-color: #878ea6;
}
.amd-btn_amd-grey:active:not([disabled]) {
  color: #FFFFFF;
  background: #707895;
  border-color: #878ea6;
}
.amd-btn_amd-grey .amd-btn__caret {
  border-left-color: #707895;
}
.amd-btn_amd-grey .amd-btn__caret > ul {
  color: #878ea6;
}

.amd-btn_amd-blue {
  color: #0c9df7;
  background: #FFFFFF;
  border: 1px solid #0c9df7;
}
.amd-btn_amd-blue[disabled] {
  color: #5bbdfa;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_amd-blue[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_amd-blue:hover:not([disabled]) {
  color: #FFFFFF;
  background: #33adf8;
  border-color: #0c9df7;
}
.amd-btn_amd-blue:active:not([disabled]) {
  color: #FFFFFF;
  background: #0785d3;
  border-color: #0c9df7;
}
.amd-btn_amd-blue .amd-btn__caret {
  border-left-color: #0785d3;
}
.amd-btn_amd-blue .amd-btn__caret > ul {
  color: #0c9df7;
}

.amd-btn_amd-yellow {
  color: #545d6a;
  background: yellow;
  border: 1px solid #545d6a;
}
.amd-btn_amd-yellow[disabled] {
  color: #7a8596;
  background: #f1f1f1;
  border-color: #CDCDCD;
}
.amd-btn_amd-yellow[disabled] .amd-btn__caret {
  border-left-color: #CDCDCD;
}
.amd-btn_amd-yellow:hover:not([disabled]) {
  color: #667181;
  background: yellow;
  border-color: #545d6a;
}
.amd-btn_amd-yellow:active:not([disabled]) {
  color: #FFFFFF;
  background: #d6d600;
  border-color: #545d6a;
}
.amd-btn_amd-yellow .amd-btn__caret {
  border-left-color: #d6d600;
}
.amd-btn_amd-yellow .amd-btn__caret > ul {
  color: #545d6a;
}

.amd-grouped-rows_hover .amd-grouped-rows__row:not([class*="grouped-rows__row_title"]):hover {
  background: #dbe9f5;
}
.amd-grouped-rows__row {
  padding: 0.6rem;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  background: white;
}
.amd-grouped-rows__row:last-child {
  border-bottom: 1px solid #dddddd;
}
.amd-grouped-rows__row_title {
  color: #FFFFFF;
  background: #337ab7;
  border-color: #337ab7;
}
.amd-grouped-rows__row_title_default {
  color: #FFFFFF;
  background: #f1f1f1;
  border-color: #f1f1f1;
}
.amd-grouped-rows__row_title_primary {
  color: #FFFFFF;
  background: #337ab7;
  border-color: #337ab7;
}
.amd-grouped-rows__row_title_success {
  color: #FFFFFF;
  background: #5cb85c;
  border-color: #5cb85c;
}
.amd-grouped-rows__row_title_info {
  color: #FFFFFF;
  background: #5bc0de;
  border-color: #5bc0de;
}
.amd-grouped-rows__row_title_warning {
  color: #FFFFFF;
  background: #f0ad4e;
  border-color: #f0ad4e;
}
.amd-grouped-rows__row_title_danger {
  color: #FFFFFF;
  background: #d9534f;
  border-color: #d9534f;
}

.amd-layout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: rgba(51, 122, 183, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}
.amd-layout-overlay i.fa {
  font-size: 2rem;
}

.amd-left-bar {
  position: fixed;
  z-index: 100;
  top: 0;
  bottom: 0;
  width: 420px;
  display: flex;
  flex-direction: column;
  background: #33383e;
  color: #FFFFFF;
  border-right: 5px solid #0c9df7;
}
.amd-left-bar_development {
  border-color: #f0ad4e;
}
.amd-left-bar_development .amd-left-bar__toggle {
  background-color: #f0ad4e;
}
.amd-left-bar_hidden {
  left: -420px;
}
.amd-left-bar_hidden .amd-left-bar__toggle-icon::before {
  content: '\f138';
}
.amd-left-bar__toggle {
  background: #0c9df7;
  padding: 8px;
  position: absolute;
  right: -32px;
  top: 50%;
  color: #33383e;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}
.amd-left-bar__toggle-icon::before {
  content: '\f137';
}
.amd-left-bar__search {
  border-bottom: 1px solid #3d4249;
  padding: 10px 0;
}
.amd-left-bar__links {
  flex-grow: 1;
  overflow-y: auto;
}
.amd-left-bar__links .list-item {
  display: flex;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #3d4249;
  justify-items: stretch;
}
.amd-left-bar__links .list-item_collapsed .list-item__badge-icon::before {
  content: '\f105';
}
.amd-left-bar__links .list-item_expanded .list-item__badge-icon::before {
  content: '\f107';
}
.amd-left-bar__links .list-item_hide-badge .list-item__badge {
  display: none;
}
.amd-left-bar__links .list-item_level-indent_1 {
  padding-left: 0;
}
.amd-left-bar__links .list-item_level-indent_2 {
  padding-left: 20px;
}
.amd-left-bar__links .list-item_level-indent_3 {
  padding-left: 40px;
}
.amd-left-bar__links .list-item_level-indent_4 {
  padding-left: 60px;
}
.amd-left-bar__links .list-item_level-indent_5 {
  padding-left: 80px;
}
.amd-left-bar__links .list-item_level-indent_6 {
  padding-left: 100px;
}
.amd-left-bar__links .list-item__badge {
  align-self: center;
  font-size: 22px;
  margin: 0 6px;
  width: 14px;
}
.amd-left-bar__links .list-item__badge i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-left-bar__links .list-item__badge i:hover {
  color: #33adf8;
}
.amd-left-bar__links .list-item__badge i:active {
  color: #0785d3;
}
.amd-left-bar__links .list-item__title {
  cursor: pointer;
  user-select: none;
  flex-grow: 1;
  padding: 5px;
  text-decoration: none;
  color: #FFFFFF;
}
.amd-left-bar__links .list-item__title:hover:not(span) {
  background: #0c9df7;
}
.amd-left-bar__links .list-item__title:active:not(span) {
  background: #0785d3;
}
.amd-left-bar__links .list-item__title:hover:not(a) {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-left-bar__links .list-item__title:hover:not(a):hover {
  color: #33adf8;
}
.amd-left-bar__links .list-item__title:hover:not(a):active {
  color: #0785d3;
}
.amd-left-bar__links .list-item__title .amd-tag {
  margin-left: 5px;
}
.amd-left-bar__links .list-item__mover {
  align-self: center;
  cursor: grabbing !important;
  margin: 0 6px 0 4px;
  cursor: pointer;
  color: #FFFFFF;
}
.amd-left-bar__links .list-item__mover:hover {
  color: #33adf8;
}
.amd-left-bar__links .list-item__mover:active {
  color: #0785d3;
}

.amd-left-bar-search-field {
  display: block;
  position: relative;
  margin: 0 6px;
}
.amd-left-bar-search-field__input {
  border: none;
  height: 30px;
  padding: 0 30px 0 5px;
  width: 100%;
  box-sizing: border-box;
}
.amd-left-bar-search-field__submit {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 20px;
  cursor: pointer;
  color: #393c47;
}
.amd-left-bar-search-field__submit:hover {
  color: #33adf8;
}
.amd-left-bar-search-field__submit:active {
  color: #0785d3;
}

.amd-left-bar__moving-element {
  position: absolute;
  z-index: 1000;
  font-weight: bold;
  color: #FFFFFF;
  background: #0c9df7;
  padding: 5px;
  border: 1px solid #33383e;
  text-decoration: none;
}

:not(:hover).amd-menu-element_blink_success {
  animation: amd-menu-element_blink_success 1.5s step-end infinite;
}

@keyframes amd-menu-element_blink_success {
  50% {
    background-color: #5cb85c;
  }
}
:not(:hover).amd-menu-element_highlight_success {
  background: #5cb85c;
}

:not(:hover).amd-menu-element_blink_danger {
  animation: amd-menu-element_blink_danger 1.5s step-end infinite;
}

@keyframes amd-menu-element_blink_danger {
  50% {
    background-color: #d9534f;
  }
}
:not(:hover).amd-menu-element_highlight_danger {
  background: #d9534f;
}

:not(:hover).amd-menu-element_blink_warning {
  animation: amd-menu-element_blink_warning 1.5s step-end infinite;
}

@keyframes amd-menu-element_blink_warning {
  50% {
    background-color: #f0ad4e;
  }
}
:not(:hover).amd-menu-element_highlight_warning {
  background: #f0ad4e;
}

.amd-p-notify-container {
  background: #FFFFFF;
  border: 3px solid #0c9df7;
}
.amd-p-notify-container h4.ui-pnotify-title {
  margin: 0;
}
.amd-p-notify-title-separator {
  margin: 0.5rem -12px 0.5rem -12px;
  border-bottom: 3px solid #0c9df7;
}

.manager-tonnage-main-table-wrapper {
  max-height: 600px;
  overflow-y: scroll;
}

.amd-panel_default {
  display: inline-block;
}
.amd-panel_default__header {
  border: 1px solid #d8d8d8;
  background: #f1f1f1;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_default__header-title {
  color: #272930;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_default__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_default {
  display: inline-block;
  display: flex;
}
.amd-panel-row_default__header {
  border: 1px solid #d8d8d8;
  background: #f1f1f1;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_default__header-title {
  color: #272930;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_default__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_primary {
  display: inline-block;
}
.amd-panel_primary__header {
  border: 1px solid #285f8f;
  background: #337ab7;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_primary__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_primary__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_primary {
  display: inline-block;
  display: flex;
}
.amd-panel-row_primary__header {
  border: 1px solid #285f8f;
  background: #337ab7;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_primary__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_primary__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_success {
  display: inline-block;
}
.amd-panel_success__header {
  border: 1px solid #449d44;
  background: #5cb85c;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_success__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_success__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_success {
  display: inline-block;
  display: flex;
}
.amd-panel-row_success__header {
  border: 1px solid #449d44;
  background: #5cb85c;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_success__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_success__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_info {
  display: inline-block;
}
.amd-panel_info__header {
  border: 1px solid #31b0d5;
  background: #5bc0de;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_info__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_info__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_info {
  display: inline-block;
  display: flex;
}
.amd-panel-row_info__header {
  border: 1px solid #31b0d5;
  background: #5bc0de;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_info__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_info__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_warning {
  display: inline-block;
}
.amd-panel_warning__header {
  border: 1px solid #ec971f;
  background: #f0ad4e;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_warning__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_warning__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_warning {
  display: inline-block;
  display: flex;
}
.amd-panel-row_warning__header {
  border: 1px solid #ec971f;
  background: #f0ad4e;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_warning__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_warning__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_danger {
  display: inline-block;
}
.amd-panel_danger__header {
  border: 1px solid #c9302c;
  background: #d9534f;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_danger__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_danger__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_danger {
  display: inline-block;
  display: flex;
}
.amd-panel-row_danger__header {
  border: 1px solid #c9302c;
  background: #d9534f;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_danger__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_danger__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_amd-grey {
  display: inline-block;
}
.amd-panel_amd-grey__header {
  border: 1px solid #6a7390;
  background: #878ea6;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_amd-grey__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_amd-grey__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_amd-grey {
  display: inline-block;
  display: flex;
}
.amd-panel-row_amd-grey__header {
  border: 1px solid #6a7390;
  background: #878ea6;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_amd-grey__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_amd-grey__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel_amd-blue {
  display: inline-block;
}
.amd-panel_amd-blue__header {
  border: 1px solid #077fc9;
  background: #0c9df7;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.amd-panel_amd-blue__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel_amd-blue__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 0 4px 4px;
  border-left: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

.amd-panel-row_amd-blue {
  display: inline-block;
  display: flex;
}
.amd-panel-row_amd-blue__header {
  border: 1px solid #077fc9;
  background: #0c9df7;
  padding: 6px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}
.amd-panel-row_amd-blue__header-title {
  color: #FFFFFF;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  user-select: none;
}
.amd-panel-row_amd-blue__body {
  border-right: 1px solid #CDCDCD;
  border-bottom: 1px solid #CDCDCD;
  background: #f8f8f8;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #CDCDCD;
  text-align: left;
  padding: 6px;
}

amd-search-with-button .amd-search-field {
  display: flex;
}

.amd-search-field {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid #A7A7A7;
  align-items: center;
  padding: 0 0.3rem;
}
.amd-search-field__input {
  border: none;
  padding: 0.3rem 0.3rem 0.3rem 0;
  color: #272930;
  font-size: 0.85rem;
  min-width: 0;
  flex: 1;
  outline: none !important;
}
.amd-search-field__input_50 {
  width: 50px;
}
.amd-search-field__input_100 {
  width: 100px;
}
.amd-search-field__input_150 {
  width: 150px;
}
.amd-search-field__button {
  cursor: pointer;
  color: #393c47;
}
.amd-search-field__button:hover {
  color: #33adf8;
}
.amd-search-field__button:active {
  color: #0785d3;
}

.filter-constructor-sticky-wrapper .filtergrid-controlbox {
  width: calc(100vw - var(--window-scroll-width));
  margin-left: -20px;
  margin-right: -20px;
  position: sticky;
  left: 0;
  display: inline-block;
  width: calc(100vw - var(--window-scroll-width)) !important;
}
.filter-constructor-sticky-wrapper .filter-box-wrapper {
  text-align: center;
  width: calc(100vw - var(--window-scroll-width));
  margin-left: -20px;
  margin-right: -20px;
  position: sticky;
  left: 0;
  display: inline-block;
  z-index: 2;
}

@media (min-width: 1100px) {
  .sticky-element {
    width: calc(100vw - var(--window-scroll-width));
    margin-left: -20px;
    margin-right: -20px;
    position: sticky;
    left: 0;
    display: inline-block;
  }
}
.amd-straight-checkbox {
  user-select: none;
  display: inline-flex;
  cursor: pointer;
}
.amd-straight-checkbox > span:last-child > *:not([type="checkbox"]) {
  margin-left: 0.35rem;
}
.amd-straight-checkbox > span {
  align-self: center;
  font-size: 14px;
}

.amd-tag {
  color: #FFFFFF;
  text-shadow: 1px 1px #000000;
  border-radius: 3px;
  display: inline-block;
  font-size: 8pt;
  font-weight: bold;
  padding: 4px 6px;
}
.amd-tag_default {
  background-color: #f1f1f1;
}
.amd-tag_primary {
  background-color: #337ab7;
}
.amd-tag_success {
  background-color: #5cb85c;
}
.amd-tag_info {
  background-color: #5bc0de;
}
.amd-tag_warning {
  background-color: #f0ad4e;
}
.amd-tag_danger {
  background-color: #d9534f;
}
.amd-tag_amd-grey {
  background-color: #878ea6;
}
.amd-tag_amd-blue {
  background-color: #0c9df7;
}

.amd-top-bar {
  display: flex;
  background: #272930;
  padding: 10px 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  position: relative;
  height: 76px;
  box-sizing: border-box;
}
.amd-top-bar_hidden {
  margin-top: -77px;
  box-shadow: none;
}
.amd-top-bar_hidden > :not(.amd-top-bar__toggle) {
  display: none;
}
.amd-top-bar_hidden .amd-top-bar__toggle-icon::before {
  content: '\f13a';
}
.amd-top-bar * {
  color: #FFFFFF;
}
.amd-top-bar__toggle {
  height: 30px;
  width: 30px;
  position: absolute;
  bottom: -30px;
  right: 17px;
  box-sizing: border-box;
  background: #272930;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 5px 5px;
  cursor: pointer;
}
.amd-top-bar__toggle > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar__toggle > i:hover {
  color: #33adf8;
}
.amd-top-bar__toggle > i:active {
  color: #0785d3;
}
.amd-top-bar__toggle > a > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar__toggle > a > i:hover {
  color: #33adf8;
}
.amd-top-bar__toggle > a > i:active {
  color: #0785d3;
}
.amd-top-bar__toggle-icon::before {
  content: '\f139';
}
.amd-top-bar__title {
  flex-grow: 1;
  text-align: center;
  align-self: center;
}
.amd-top-bar__title-project {
  font-size: 1.5rem;
  color: #667181;
}
.amd-top-bar__title > div > div:not(:last-child) {
  margin-bottom: 0.3rem;
}
.amd-top-bar .header-actions__row {
  display: flex;
  margin-right: 5px;
}
.amd-top-bar .header-actions__row > div {
  display: flex;
  justify-content: center;
  width: 35px;
  height: 28px;
}
.amd-top-bar .header-actions__user-replace {
  align-self: center;
  position: relative;
}
.amd-top-bar .header-actions__user-replace i {
  font-size: 20px;
}
.amd-top-bar .header-actions__user-replace > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__user-replace > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__user-replace > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__user-replace > a > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__user-replace > a > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__user-replace > a > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__user-settings {
  align-self: center;
}
.amd-top-bar .header-actions__user-settings i {
  font-size: 20px;
}
.amd-top-bar .header-actions__user-settings > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__user-settings > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__user-settings > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__user-settings > a > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__user-settings > a > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__user-settings > a > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__admin {
  align-self: center;
}
.amd-top-bar .header-actions__admin i {
  font-size: 20px;
}
.amd-top-bar .header-actions__admin > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__admin > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__admin > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__admin > a > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__admin > a > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__admin > a > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__help {
  align-self: center;
}
.amd-top-bar .header-actions__help i {
  font-size: 20px;
}
.amd-top-bar .header-actions__help > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__help > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__help > i:active {
  color: #0785d3;
}
.amd-top-bar .header-actions__help > a > i {
  cursor: pointer;
  color: #FFFFFF;
}
.amd-top-bar .header-actions__help > a > i:hover {
  color: #33adf8;
}
.amd-top-bar .header-actions__help > a > i:active {
  color: #0785d3;
}
.amd-top-bar__user {
  align-self: center;
  margin-right: 20px;
}
.amd-top-bar__logout {
  align-self: center;
}
.amd-top-bar__logout i {
  cursor: pointer;
  color: #FFFFFF;
  font-size: 20px;
}
.amd-top-bar__logout i:hover {
  color: #33adf8;
}
.amd-top-bar__logout i:active {
  color: #0785d3;
}

.user-replace-form {
  border: 1px solid #A7A7A7;
  position: absolute;
  z-index: 5;
  background: #FFFFFF;
  right: 0;
  top: 70px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: none;
}
.user-replace-form * {
  color: black;
}
.user-replace-form__search {
  margin-bottom: 10px;
}
.user-replace-form__search input {
  border: 1px solid #A7A7A7;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  padding: 4px;
}
.user-replace-form__lists {
  display: flex;
}
.user-replace-form__list-title {
  display: block;
  background: #545d6a;
  color: #FFFFFF;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  padding: 4px;
  margin-bottom: 5px;
  cursor: pointer;
  user-select: none;
}
.user-replace-form__column {
  width: 330px;
}
.user-replace-form__column select {
  height: 300px;
  width: 100%;
  box-sizing: border-box;
}
.user-replace-form__column-separator {
  width: 1px;
  align-self: stretch;
  border-left: 1px dashed #CDCDCD;
  margin: 0 10px -10px 10px;
}
.user-replace-form__controls {
  border-top: 1px dashed #CDCDCD;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}
.user-replace-form__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  display: none;
}
.user-replace-form__overlay-icon {
  display: flex;
  justify-content: center;
  height: 100%;
}
.user-replace-form__overlay-icon i {
  align-self: center;
  font-size: 30px !important;
}

@font-face {
  font-family: 'TT Norms';
  src: url("/img/layout/fonts/TTNorms-Bold.eot");
  src: local("TT Norms Bold"), local("TTNorms-Bold"), url("/img/layout/fonts/TTNorms-Bold.eot?#iefix") format("embedded-opentype"), url("/img/layout/fonts/TTNorms-Bold.woff2") format("woff2"), url("/img/layout/fonts/TTNorms-Bold.woff") format("woff"), url("/img/layout/fonts/TTNorms-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'TT Norms';
  src: url("/img/layout/fonts/TTNorms-Italic.eot");
  src: local("TT Norms Italic"), local("TTNorms-Italic"), url("/img/layout/fonts/TTNorms-Italic.eot?#iefix") format("embedded-opentype"), url("/img/layout/fonts/TTNorms-Italic.woff2") format("woff2"), url("/img/layout/fonts/TTNorms-Italic.woff") format("woff"), url("/img/layout/fonts/TTNorms-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'TT Norms';
  src: url("/img/layout/fonts/TTNorms-BoldItalic.eot");
  src: local("TT Norms Bold Italic"), local("TTNorms-BoldItalic"), url("/img/layout/fonts/TTNorms-BoldItalic.eot?#iefix") format("embedded-opentype"), url("/img/layout/fonts/TTNorms-BoldItalic.woff2") format("woff2"), url("/img/layout/fonts/TTNorms-BoldItalic.woff") format("woff"), url("/img/layout/fonts/TTNorms-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'TT Norms';
  src: url("/img/layout/fonts/TTNorms-Medium.eot");
  src: local("TT Norms Medium"), local("TTNorms-Medium"), url("/img/layout/fonts/TTNorms-Medium.eot?#iefix") format("embedded-opentype"), url("/img/layout/fonts/TTNorms-Medium.woff2") format("woff2"), url("/img/layout/fonts/TTNorms-Medium.woff") format("woff"), url("/img/layout/fonts/TTNorms-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'TT Norms';
  src: url("/img/layout/fonts/TTNorms-Regular.eot");
  src: local("TT Norms Regular"), local("TTNorms-Regular"), url("/img/layout/fonts/TTNorms-Regular.eot?#iefix") format("embedded-opentype"), url("/img/layout/fonts/TTNorms-Regular.woff2") format("woff2"), url("/img/layout/fonts/TTNorms-Regular.woff") format("woff"), url("/img/layout/fonts/TTNorms-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
html {
  --window-scroll-width: 0px;
}
html * {
  font-family: "Arial", "Helvetica", sans-serif;
}
html *::-moz-focus-inner {
  border: 0 !important;
}

.layout-container {
  display: inline-block;
}

.layout-header {
  position: sticky;
  left: 0;
  display: inline-block;
  width: calc(100vw - var(--window-scroll-width));
}

.layout-body {
  min-height: calc(100vh - 300px);
  padding: 20px;
  display: inline-block;
}
.layout-body__content {
  min-width: calc(100vw - 40px - var(--window-scroll-width));
  display: inline-block;
  padding-bottom: 10px;
}

.layout-footer {
  position: sticky;
  left: 0;
  display: inline-block;
  width: calc(100vw - var(--window-scroll-width));
}
.layout-footer_edit-bottom-bar {
  z-index: 98;
}

.centered-block {
  display: block;
  margin: 0 auto;
  width: min-content;
}

.replacementTable {
  width: 800px;
  border-top: 1px solid black;
  border-left: 1px solid black;
  border-collapse: collapse;
  border-bottom: 1px solid black;
  background: #EFEFEF;
}
.replacementTable td {
  border-right: 1px solid black;
  text-align: center;
  padding: 10px;
}
.replacementTable select {
  width: 330px;
  height: 255px;
}
.replacementTable label {
  cursor: pointer;
}
.replacementTable .replacingList {
  margin-top: 9px;
  border: 1px solid #7e7e7e;
}
.replacementTable .align_top {
  vertical-align: top;
}
.replacementTable div[block="users_list"] {
  top: 30px !important;
  border: 1px solid #7e7e7e !important;
  border-radius: 0px !important;
}
.replacementTable div[block="users_ctrl"] span {
  color: #3e4e68;
  font-size: 10pt;
}
.replacementTable span[lang="clear"] {
  display: none;
}
.replacementTable .users [data-custom-flag="1"] {
  background-color: #f5c6cb;
}

.amd-preview_fancybox .fancybox-content {
  background-color: #fff;
}

.access-module .accessTreeTitle {
  float: left;
  width: 200px;
  padding: 0px;
  background: #3c698e;
  color: #FFFFFF;
  font-size: 9pt;
  font-weight: bold;
  text-align: center;
}
.access-module .accessFeildTable {
  border: 1px solid #3c698e;
  border-collapse: collapse;
  margin: 0px 0px 5px 0px;
}
.access-module .accessFieldTableTd {
  padding: 5px 10px;
  border: 1px solid #3c698e;
}

.amd-filter-box_loader::before {
  background: no-repeat center url("../../../img/system/ld3.gif");
}

.auth-totp__container {
  width: 600px;
  margin: 0 auto;
}

.auth_body {
  background: url("/img/system/bg.bicycles.png");
}

progress-bar .progress__container {
  padding: 5px 0;
}
progress-bar .progress-bar__empty {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}
progress-bar .progress-bar__filled {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #0d6efd;
  transition: width 0.6s ease;
}

.admin-menu {
  display: grid;
  width: 800px;
  margin: 0 auto;
  grid-template-columns: auto auto auto auto;
}
.admin-menu__item {
  text-align: center;
}
.admin-menu__icon {
  font-size: 400%;
}

.layout-body__content > a[href='/access/roles'], .layout-body__content > a[href='/access/user'] {
  display: block;
  text-align: center;
}

#authentication_totp_secret {
  max-width: 550px;
  overflow-x: scroll;
}

#authform dt {
  float: left;
  width: 110px;
  margin: 1px 0px 10px 0px;
  color: #22376F;
  text-align: right;
  font-weight: normal;
  font-size: 10pt;
}

#authform dd {
  width: 140px;
  float: left;
  margin: 1px 0px 10px 0px;
  padding: 0px 0px 0px 3px;
  border: 0px solid red;
}

#authform {
  width: 305px;
  height: 115px;
  padding: 0px;
  margin: 15px 0px 0px 0px;
  border: 0px solid blue;
  text-align: left;
}

.login-table, .auth-totp__form-code {
  width: 310px;
  background: white;
  margin: 0 auto;
}

#authform input {
  width: 120px;
}

.lg-left {
  width: 8px;
  height: 30px;
  background: #4D80B6;
}

.lg-center {
  width: 294px;
  height: 30px;
  background: #4D80B6;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 10pt;
}

.lg-right {
  width: 8px;
  height: 30px;
  border: 0px solid red;
  background: #4D80B6;
}

#authform .errors {
  display: none;
  color: red;
  font-size: 9pt;
}
