* {
  box-sizing: content-box;
}

select,
input,
textarea {
  background-repeat: no-repeat;
}
body {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 98px);
  padding-bottom: 98px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  font-weight: 400;
}

button {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
  line-height: 1.42857143;
  font-size: 14px;
  cursor: pointer;
}

select,
textarea,
input {
  outline: none;
}

textarea {
  resize: both;

  word-wrap: break-word;
}

a {
  text-decoration: none;
  outline: none !important;

  cursor: pointer;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

select {
  display: inline-block;
  padding: 5px 20px 5px 3px;
  background: white no-repeat;
  background-position: top 11px right 6px !important;
  background-image: url("../../../images/select_b.png");
  -webkit-appearance: none;
  -moz-appearance: none;
  --ms-appearance: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

th {
  font-weight: 400;
}

.ui-datepicker {
  z-index: 9998 !important;
}

/* Переопределение primevue стилей */

input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
border-radius: revert;
}


.iconDiv {
  width: 25px;
    height: 25px;
    opacity: 0.8;
    background-image: url(./../../../images/settings_c.svg);
    background-repeat: no-repeat;
}

.iconDiv:hover {
    opacity: 1;
    cursor: pointer;
}

/*Изменение бутсрап стилей*/

.form-control {
  height: auto;
  display: inline-block;

  font-weight: 400;
}

td {
  padding: 3px;
}

label {
  margin: 0;

  font-weight: 400;
}

.btn-default {
  background: -webkit-linear-gradient(rgb(255,255,255)0%,rgb(230,230,230)100%);
  background: linear-gradient(rgb(255,255,255)0%,rgb(230,230,230)100%)
}
.btn-disabled {
  background: none;
}
select.form-control {
  background-image: url("../../../images/select_b.png");
}
select.form-control[disabled] {
    background-image: none;
}
.user-data__file-wrap--view.not-editable .user-data__value-wrap-file a {
    /*text-decoration: none;*/
}
.user-data__file-wrap a[href] {
    text-decoration: underline !important;
}

.hasDatepicker + select.form-control.form-control-union {
  margin-left: 3px;
}

select.form-control:focus {
  background-color: #fff8d5;
}

.d-block {
  display: block;
}

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

/*---- N-progress -----*/

#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #feda4e;

  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;
}

/*---------------------*/
.settings {
  width: 25px;
  height: 25px;
  word-wrap: break-word;
  background-image: url("./../../../images/settings_c.svg");
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: var(--svg-filter-for-settings-icon);
}
label.add-to-favorites-label svg:hover {
  opacity: 1;
}
.show_work_cron {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url(../img/refresh.jpg);
  background-repeat: no-repeat;
  background-position: -32px -1px;
  background-size: 53px 50px;
}
.settings:hover {
  opacity: 1;
}

.hidden {
  display: none !important;
}

.position-sticky {
  position: fixed;
  z-index: 2;
}
.position-stop {
  position: relative;
  z-index: 2;
}

.question {
  position: relative;
  top: -1px;

  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  margin-left: 2px;

  background-repeat: no-repeat;
  background-image: url("../img/icons-sprite.png");
  background-position: -16px 0;
}

.subtable .question {
  background-image: none;
}

.required {
  color: red;
  font-weight: 400;
}

.simple-btn {
  padding: 0 9px;

  color: #000;

  background-color: #fff;
  border: 1px solid #b0b0b0;
  border-radius: 1px;
}

.default-btn {
  position: relative;

  display: inline-block;

  background: -webkit-linear-gradient(bottom, #efefef 30%, white 70%);

  background: linear-gradient(to top, #efefef 30%, white 70%);
  border: 1px solid #b9b9b9;
}

.orange-btn {
  position: relative;

  display: inline-block;

  background: -webkit-linear-gradient(bottom, #f4851a, #f59234);

  background: linear-gradient(to top, #f4851a, #f59234);
  border-color: #934b03;

  text-shadow: 0 1px 0 #4b4b4b;
  color: white !important;
}

.green-btn {
  border-color: #578b04;
  background: -webkit-linear-gradient(bottom, #77c21c, #9bd325);
  background: linear-gradient(to top, #77c21c, #9bd325);
  box-shadow: inset 0 1px 0 0 #b8e02f;

  color: #fff !important;
}

.datepicker {
  max-height: 30px;
}

/*.fields__cell-inner .ui-datepicker-trigger {
  position: absolute;
  right: 5%;
} */

.fields__date-field .fields__fast-edit--datetime.hasDatepicker {
  max-width: 100px;
  min-width: auto;
}

.fields__date-field .fields__fast-edit--date.hasDatepicker {
  max-width: 68px;
  min-width: auto;
}

.fields__cell-inner span.fields__value {
  white-space: normal;
}

.ui-datepicker-trigger {
  padding: 4px;
  height: 15px;
  width: 16px;
  cursor: pointer;
  opacity: 0;
}

.primary-textfield {
  padding: 5px 6px;

  line-height: 1.42857143;

  border: 1px solid rgb(204, 204, 204);
}

.primary-textfield:hover {
  border-color: #ebb95b;
}

.primary-textfield:focus {
  border-color: #ebb95b;
}

input.primary-textfield:focus,
text.primary-textfield:focus {
  background-color: #fff8d5;
  border-color: #ebb95b;
}

.colred-arrow {
  width: 11px;
  height: 13px;

  background-image: url("../img/icons-sprite.png");
  background-repeat: no-repeat;
  background-position: -22px -53px;
}

.simple-input {
  border: 1px dotted #848484;
}

.simple-input:focus {
  outline: 1px solid dodgerblue;
}

.textpad {
  padding: 10px 0;
  padding-right: 5px !important;
  text-align: left;
  word-wrap: break-word;
  white-space: normal;
  overflow: visible !important;
}

.subtable__cell .textpad {
  position: relative !important;
  padding-right: 25px !important;
  max-width: calc(100% - 25px) !important;
}

.textpad__value .autocomplete {
  width: 100% !important;

}

.textpad__value:hover {
  background-color: white;
}
.select2:hover {
  background-color: transparent;
}
.textpad__value:has(.select2):hover {
  background-color: transparent;
}

.one_event__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
}
.one_event__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* Прозрачный фон */
  pointer-events: none; /* Отключение кликов */
}
.one_event__overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto; /* Ловим клики только здесь */
}
.one_event_block {
  position: relative;
  z-index: 1001;
}
.one_event_block .datepicker_span {
  display: inline-block;
}

.fixed-subtable-header {
  position: fixed;
  bottom: 0;
  height: 80px;
  padding-top: 15px;
  background: white;
  z-index: 100;
  box-shadow: 0 -10px 10px white;
}

.subtable__phone-wrap {
  position:absolute;
  float: left;

  margin-right: 8px;
  margin-top: 4px;
}

.subtable__phone-icon {
  margin-left: 4px;
  width: 14px;
  padding-top: 15px;
  cursor:pointer;
}

.subtable__preloader-padding {
  margin-bottom: 200px;
}

.subtable textarea {
  padding: 5px;
  border: 1px dotted rgba(160, 160, 160, 0);
  background-color: transparent;
  resize: none;
  font-size: 13px;
  line-height: 18px;
  box-sizing: content-box;
}
.subtable .fixed-height > textarea {
  max-height: 28px;
}
.subtable .subtable__table .textpad__value > textarea[disabled]:hover {
  border: 1px solid transparent !important;
  background-color: transparent !important;
  box-sizing: content-box !important;
}
.subtable .subtable__table .textpad__value > textarea[disabled] {
  color: black;
}

.subtable textarea:focus,
.subtable__table select:focus {
  background-color: #fff;
}

.subtable .fast_edit_datetime {
  max-width: 103px;
}

.user-data .preloader__block,
.fields .preloader__block {
  background-color: #fff;
}

.textpad img {
  padding: 0;
  margin-bottom: 5px;
  vertical-align: middle;
}

.textpad a {
  text-decoration: underline;
}

.subtable__outer-wrap .textpad a {
  max-width: 100%;
  padding-left: 5px;

  text-overflow: ellipsis;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: hidden;
}

.subtable__outer-wrap .textpad a:active, .subtable__outer-wrap .textpad a:focus, .subtable__outer-wrap .textpad a:hover {
  /* background-color: rgba(255, 255, 255, 0); */
  color: #000;
}

.subtable__outer-wrap .textpad a:focus, .subtable__outer-wrap .textpad a:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #000;
}

.sub_fast_edit_file .subtable__outer-wrap .textpad a {
  padding: 0 5px;
}

.btn-view {
  background: url("../../../images/b_view.png") no-repeat top left;
  width: 16px;
  height: 16px;
  display: inline-block;
  outline: none;
}

.btn-view:hover {
  background-color: transparent;
}

.btn-drop {
  background: url("../../../images/b_drop.png") no-repeat top left;
  width: 16px;
  height: 16px;
  display: inline-block;
  outline: none;
  cursor: pointer;
}

.select_border_hover {
  border: 1px dotted #464646;
}

.select_border_focus {
  border: 1px dotted #464646 !important;
}

.subtable .datepicker_span {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.datepicker_span input {
  padding-top: 5px;
  padding-bottom: 5px;

  background: transparent;
  border: 1px solid #ffffff;
  font-size: 13px;
  outline: none;
}

.datepicker_span input:hover {
  border: 1px dotted #d0d0d0;
}

.datepicker_span input:focus {
  background: #ffffff;
  border: 1px dotted #a0a0a0;
}

.drop_down_icon {
  /*background: none !important;*/
  height: 19px;
  position: relative;
  top: -7px;
  right: 9px;
  width: 10px;
}

.drop_down_icon--hidden {
  top: -4px;
}

input[type="text"].hidden-input,
textarea.hidden-input,
select.hidden-input{
  padding: 5px;

  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0) ;
  border: 1px dotted rgba(160, 160, 160, 0) !important;
  background-repeat: no-repeat;
}


input[type="text"].hidden-input:hover,
input[type="text"].hidden-input:focus,
textarea.hidden-input:hover,
textarea.hidden-input:focus,
select.hidden-input:hover,
select.hidden-input:focus,
.fields__fast-edit:hover,
.fields__fast-edit:focus {
  background-color: rgba(255, 255, 255, 1) ;
  border: 1px dotted rgb(160, 160, 160) !important;
}


input[type="text"].hidden-input:focus,
textarea.hidden-input:focus,
select.hidden-input:focus {
  background-color: #fff6ad;
}

select.hidden-input:hover,
select.hidden-input:focus{
  background-image: url("../../../images/select_b.png") !important;
  background-position: top 9px right 6px !important;
}

.hidden-btn {
  color: rgba(0, 0, 0, 0);

  border: none;
  background: none;
}

.hidden-btn:hover,
.hidden-btn:active,
.hidden-btn:focus {
  color: #008000;

  border: none;
  background: none;
}

.template_note {
  font-size: 85%;
}

select.hidden-input {
  width: 227px;/*220 + 6*2*/

  background-repeat: no-repeat !important;
  background-image: url() !important;
}

#event_tooltip {
  left: 30px !important;
  bottom: 20px !important;

}

.dialog-custom-checkbox {
  width: auto;
  margin-left: 103px !important;
  margin-right: 76px !important;
}

div.display_notification {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.7em;
  position: relative;
  padding: 10px 15px;
}

.display_notification_text {
  padding-right: 15px;
}

.content {
  padding: 0 32px !important;
}
/******/
.header_block .settings {
  background: none !important;
}

.content #footback_div_id {
  margin-left: -32px;
}
/******/

/*.input-hint {*/
/*position: absolute;*/
/*z-index: 2;*/
/*top: 100%;*/

/*width: 250px;*/
/*padding: 2px;*/
/*margin-top: 5px;*/
/*display: none;*/

/*text-align: center;*/

/*background-color: white;*/
/*border: 1px solid #ccc;*/
/*}*/

.special-checkbox {
  position: relative;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  padding: 1px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 118px;

  border-radius: 6px;
  background-color: #f84477;
  border: 1px solid #cc4d57;

  font-size: 14px;
  line-height: 20px;
  color: #fff;

  -webkit-transition: background-color 0.4s, border 0.4s;

  transition: background-color 0.4s, border 0.4s;
}

input[type="checkbox"].special-checkbox__checkbox {
  display: none;
}

input[type="checkbox"]:checked.special-checkbox__checkbox+.special-checkbox {
  background-color: #60f852;
  border: 1px solid #35cc32;
}

.special-checkbox__toggle {
  position: relative;
  left: 0;

  width: 30px;
  height: 30px;

  background-color: #ffffff;
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;

  -webkit-transition: left 0.4s;

  transition: left 0.4s;
}

input[type="checkbox"]:checked.special-checkbox__checkbox+.special-checkbox .special-checkbox__toggle {
  left: 88px;
}

.special-checkbox__value {
  position: relative;
}

table input[type="checkbox"][name='pagebreak']{
  margin-top: 7px;
}


.format-field input[type="checkbox"] {
  margin-top: 0;
}

#event_fields .autocomplete__input {
  width: 240px;
}
/*------------*/

div.pseudo_select_options {
  position: absolute;
  top: 29px;
  left: 0px;
  z-index: 1000;

  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  border: 1px solid #5F9EA0;
  min-width: 100px;
  width: 266px;
  padding-top: 5px;
  padding-right: 2px;
  padding-left: 2px;
  background: #fff;
  margin: 0px 0px 0px -1px;
}

div.mult_select_link {
min-width: 284px;
right: 0px;
left: auto;
}

.pseudo_select_option__wrap {
  padding-top: 5px;
}

.pseudo_select__wrap {
  height: 19px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 5px;
}

.pseudo_select__wrap--multi-link {
  margin-bottom: 5px;
}

.pseudo_select__wrap input[type="checkbox"] {
  margin-right: 5px;
  margin-left: 5px;
}

.flex-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.flex-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-wrap--wrap {
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.flex-wrap--space-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.flex-wrap--flex-end {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.flex-wrap--center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.flex-direction--column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.flex-direction--row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
}

.ui-datepicker-trigger:hover,
.ui-datepicker-trigger:active,
.ui-datepicker-trigger:focus {
  opacity: 1;
}

input[type="text"].datepicker:focus + .ui-datepicker-trigger,
input[type="text"].datepicker:active + .ui-datepicker-trigger,
input[type="text"].datepicker:hover + .ui-datepicker-trigger {
  opacity: 1;
}

input[type="text"].datepicker,
input[type="text"].datetimepicker {
  width: 140px;
}

/* special-checkbox */

.custom-checkbox__wrap {
  padding-left: 8px;
  padding-right: 5px;
  margin: 0;
}

.fields__cell:not(.fields__cell--header) .custom-checkbox__wrap {
  padding-top: 5px;
  padding-bottom: 5px;
}

.custom-checkbox {
  position: relative;

  width: 11px;
  height: 11px;
  display: inline-block;

  border-radius: 3px;
  border: 1px solid #ccc;
  background: -webkit-linear-gradient(bottom, #ccc, #fff);
  background: linear-gradient(to top, #ccc, #fff);
}

.fields__row--info .custom-checkbox {
  top: 2px;
}

.custom-checkbox__checkbox {
  display: none;
}

input.custom-checkbox__checkbox:checked + .custom-checkbox__wrap .custom-checkbox {
  border-color: #ffdd4e;
  background: -webkit-linear-gradient(bottom, #c8ac43, #ffdd4e);
  background: linear-gradient(to top, #c8ac43, #ffdd4e);
}

input.custom-checkbox__checkbox:checked + .custom-checkbox__wrap .custom-checkbox::before,
input.custom-checkbox__checkbox:checked + .custom-checkbox__wrap .custom-checkbox::after {
  content: "";
  position: absolute;

  display: block;
  height: 2px;

  background-color: #635b37;
}

input.custom-checkbox__checkbox:checked + .custom-checkbox__wrap .custom-checkbox::before {
  top: 40%;
  left: 9%;

  width: 6px;

  -webkit-transform: rotate(45deg);

          transform: rotate(45deg);
}

input.custom-checkbox__checkbox:checked + .custom-checkbox__wrap .custom-checkbox::after {
  top: 9%;
  left: 18%;

  width: 14px;
  -webkit-transform: rotate(-55deg);
          transform: rotate(-55deg);
}

.no-padding {
  padding: 0;
}

.nowrap {
  white-space: nowrap;
}

.prewrap {
  white-space:pre-wrap;
}


@keyframes lds-ellipsis3 {
  0%, 25% {
      left: 32px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
  50% {
      left: 32px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  75% {
      left: 100px;
  }
  100% {
      left: 168px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
}
@-webkit-keyframes lds-ellipsis3 {
  0%, 25% {
      left: 32px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
  50% {
      left: 32px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  75% {
      left: 100px;
  }
  100% {
      left: 168px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
}
@keyframes lds-ellipsis2 {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  25%, 100% {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}
@-webkit-keyframes lds-ellipsis2 {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  25%, 100% {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}
@keyframes lds-ellipsis {
  0% {
      left: 16px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
  25% {
      left: 16px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  50% {
      left: 50px;
  }
  75% {
      left: 84px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  100% {
      left: 84px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}
@-webkit-keyframes lds-ellipsis {
  0% {
      left: 16px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
  25% {
      left: 16px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  50% {
      left: 50px;
  }
  75% {
      left: 84px;
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  100% {
      left: 84px;
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}
.lds-ellipsis {
  position: relative;
}
.lds-ellipsis > div {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
}
.lds-ellipsis div > div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f00;
  position: absolute;
  top: 46px;
  left: 32px;
  -webkit-animation: lds-ellipsis 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
  animation: lds-ellipsis 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
}
.lds-ellipsis div:nth-child(1) div {
  -webkit-animation: lds-ellipsis2 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
  animation: lds-ellipsis2 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
  background: #feda4e;
}
.lds-ellipsis div:nth-child(2) div {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
  background: #feda4e;
}
.lds-ellipsis div:nth-child(3) div {
  -webkit-animation-delay: -0.25s;
  animation-delay: -0.25s;
  background: #feda4e;
}
.lds-ellipsis div:nth-child(4) div {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  background: #feda4e;
}
.lds-ellipsis div:nth-child(5) div {
  -webkit-animation: lds-ellipsis3 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
  animation: lds-ellipsis3 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
  background: #feda4e;
}
.lds-ellipsis {
  width: 100px !important;
  height: 100px !important;
  -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

.preloader__block {
  position: absolute;
  z-index: 899;
  top: 0;
  width: 100%;
  height: 100%;
}

.subtable__table-wrap {
  overflow: hidden;
}

.subtable__prefix {
  align-self: center;
  max-width: 60px;
  min-width: 20px;

  white-space: nowrap;
  text-overflow: ellipsis;
  color:#6A6A6A;

    overflow: hidden;

    text-align: end;
}
.subtable__prefix:last-child {
    text-align: start;
}

.subtable__row--hidden {
  display: none;
}

.subtable__overlay {
  position: absolute;
  top: 0;
  z-index: 3;

  width: 100%;
  height: 100%;

  background-color: rgba(255, 255, 255, 0.8);
}

.subtable__border--active {
  position: absolute;
  top: 10px;
  z-index: 1;

  width: 100%;
  height: 2px;

  background-color: #ccc;
}

.preloader {
  width: 200px;
  margin: 0 auto;
}

header a:active,
header a:focus {
  text-decoration: none;
}

.header__top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 0 32px;
}

.header__user-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-top: 8px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.header__logo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  flex-shrink: 0;
}

.header__logo:hover img,
.haeder__logo:active img {
  background: none;
}

.header__user-item {
  margin-left: 20px;
  display: block;
  min-width: 16px;
  min-height: 16px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  width: max-content;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: bottom;
  opacity: 0.7;
}

.header__user-item--online-consultant {
  margin-left: 5px;
}

.online-consult__container {
  position: relative;
}

.header__user-item:not(.header__user-item--not-hover):hover,
.header__user-item:active,
.header__user-item:focus {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background-color: transparent;
  opacity: 1;
}

.header__user-item--user-name {
  line-height: 16px;
}

/*buttons*/

.header__user-item--settings {
  width: 16px;
  height: 16px;

  background-image: url("../../../images/top_icon_settings.svg");
}

.header__user-item--search {
width: 16px;
height: 16px;
background-image: url("../../../images/top_icon_search.svg");
background-repeat: no-repeat;
background-position: center;
}

.header__user-item--tips {
  position: relative;
  min-width: 16px;
  height: 16px;
  background-image: url("../../../images/top_icon_tips.svg");
}



.header__user-item--mail {
  position: relative;
  min-width: 17px;
  height: 16px;
  background-size: contain;
  background-position: bottom 1px center !important;
  background-image: url("../../../images/top_mail.svg");
}

.header__user-item--mail::after {
  /*content: attr(title);*/
  position: relative;
  bottom: -1px;
  margin-left: 18px;
}

.header__user-item--calendar {
  position: relative;
  height: 15px;
  min-width: 16px;
  background-image: url("../../../images/calendar_top.svg");
}

.header__user-item--messages {
  position: relative;
  width: 16px;
  height: 17px;
  background-position: bottom 0px center !important;
  background-image: url("../../../images/top_icon_messages.svg");
}


.header__tips {
  position: absolute;
  background-color: yellow;
  color:black;
  bottom: 6px;
  left: 6px;
  border-radius: 50%;
  height: 16px;
  font-size: 0.9rem;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: fit-content;
  width: 16px;
  box-sizing: border-box;
  padding: 0 3px;
}

#ok_manager__messages {
  position: relative;
}

#ok_manager__messages .header__tips {
  left: unset;
  bottom: unset;
  right: -5px;
  top: 0;
}


.header__user-item--business-processes {
  width: 17px;
  height: 16px;
  /* margin-top: -0.5px; */
  background-position: bottom 1px center !important;
  background-image: url("../../../images/business-processes.svg");
}

.header__user-item--help {
  position: relative;
  width: 16px;
  height: 16px;
  background-image: url("../../../images/top_icon_help.svg");
}



.header__user-item--logout {
  width: 17px;
  height: 15px;
  margin-left: 5px;

  background-image: url("../../../images/top_icon_exit.svg");
}

.header__user-item--favorites {
    /*background-image: url("../../../images/bookmark-filled.svg");*/
    background-image: url("../../../images/bookmark-white.svg");
    background-size: 24px;
}

.header__categories {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
  margin: 0;
  height: 30px;

  overflow: hidden;
}

.header__category-item {
  margin-right: 2px;
}

.header__categories-wrap .header__category-item a{
  padding: 4.3px 8px;
}

.header__categories-dropdownmenu li,
.header__submenu-dropdownmenu li,
.header__filter-dropdownmenu li {
  display: block;
  width: 100%;

  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;

  overflow: hidden;
}

.header__filter-dropdownmenu li a {
  margin-top: 0;

  border-radius: 0;
}

.header__filter-dropdownmenu li a:hover {
  background-color: #eeeeee;

  color: #000;
}

.header__filter--add-new-filter {
  margin-top: 3px;
}

.header__submenu-dropdownmenu a {
  width: calc(100% - 16px);
  height: 22px;
  display: block;

  color: #000;
}

.flexMenu-viewMore .header__category-item--active,
.header__categories-dropdownmenu li:hover {
  background-color: #eee;
}

.header__submenu-dropdownmenu>li {
  padding: 0;

  background-color: #fff;
}

.header__category-item a,
.header__category-item button,
.header__categories .flexMenu-viewMore>a {
  display: block;
  padding: 5px 8px;

  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.header__category-item img {
  border-radius: 3px;
}

.header__category-item img[id^=img_cat_][src*=".svg?hash="] {
width: 18px;
height: 18px;
}

.header__categories .flexMenu-viewMore>a {
  z-index: 10;
}

.header__categories-dropdownmenu {
  z-index: 9;
}

.header__categories-dropdownmenu a,
.header__categories-dropdownmenu button {
  color: #000;
}

.flexMenu-viewMore li {
  border-radius: 0;
  border: 0;
}

.header__category-item:not(.header__category-item--add):hover a,
.header__category-item:hover button,
.header__categories-dropdownmenu:hover a {
  color: #000;
}

.header__category-item--active {
  border-left: 1px solid white;
  border-right: 1px solid white;
  border-top: 1px solid white;
  position: relative;
  bottom: -1px;
  padding-bottom: 1px;
}

.header__category-item--active a,
button.header__category-item--active {
  padding-top: 4px;
  padding-right: 7px;
  padding-left: 7px;

  color: #000 !important;
}

.header__category-item a:hover img ,
.header__category-item a:active img ,
.header__category-item a:focus img  {
  background: none;
}

.header__submenu-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding-top: 6px;
  height: 24px;
  overflow: hidden;
}

.header__submenu-item {
  margin-right: 1px;
}

.header__submenu-item a.header__submenu-link {
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-weight: bold;
display: block;
max-width: 240px;
}

.header__submenu-item a,
.header__submenu .flexMenu-viewMore>a {
  margin: 0;
  padding: 4px 8px 4px 8px;

  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  font-size: 14px;

  background: none;
}

.header__submenu .flexMenu-viewMore>a {
  z-index: 8;
}

.header__submenu-dropdownmenu {
  z-index: 7;
}

.header__category-item--add {
  margin-left: 6px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.header__category-item--add:hover{
  box-shadow: rgba(69, 69, 69, 0.3) 0px 0 5px 2px, inset 0px -5px 0px 0px rgba(255,255,255,1);
  border-radius: 6px 6px 0 0;
  background: #ffffff;
  color: #000;
}

.header__category-item--add a {
  font-size: 18px;
  font-weight: 700;
  padding-left: 10px;
  padding-right: 10px;
  opacity: 0.7;
}

.header__category-item--add a:hover,
.header__category-item--add a:active,
.header__category-item--add a:focus {
  color: #000;
  opacity: 1;
}

.header__category-item--add:hover a{
  color: #000;
  opacity: 1;
}

.header__submenu-list>.header__submenu-item--active a,
.header__submenu-list>.header__submenu-item a:hover {
  color: #000;
  background-color: #fff;
}

.header__submenu-dropdownmenu .header__submenu-item:hover,
.header__submenu-dropdownmenu .header__submenu-item--active {
  background-color: #eee;
}

.header__filter {
  position: relative;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  padding-left: 32px;
  padding-right: 32px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;

  background-color: #fff;
}

.header__filter .flexMenu-viewMore>a{
  z-index: 6;

  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.header__filter-dropdownmenu {
  z-index: 5;
}

.header__filter-item--active a {
  font-weight: bold;
}

.header__filter-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  padding-top: 3px;
  height: 31px;
}

.header__filter-link,
.header__filter .flexMenu-viewMore>a {
  white-space: nowrap;
}

.header__user-item {
  margin-right: 2px;
  z-index: 500;
}

.header__user-item_img {
-webkit-filter: drop-shadow( 1px 1px 0px #5e5e5e);
filter: drop-shadow( 1px 1px 0px #5e5e5e);
background-position: center;
}

.header__filter-link:hover {
  color: #fff;
}

.header__filter-link:focus,
.header__filter-link:active {
  color: #000;
  text-decoration: none;
}

.header__filter-item--add a{
  padding:0px 8px 0px 8px;
  display: block;
  margin-top: 2px;

  color: #999999;
}

.header__filter-item--add a:hover,
.header__filter-item--add a:active,
.header__filter-item--add a:focus {
  color: #000;
  text-decoration: none;
}

.header__submenu {
  position: relative;
  z-index: 498;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: flex-end;
  -webkit-align-items: flex-end;
      -ms-flex-align: flex-end;
          align-items: flex-end;
  padding-left: 32px;
  padding-right: 32px;

  border-top: 1px solid #fff;
}



.flexMenu-viewMore {
  position: relative;
}

.header .flexMenu-viewMore:hover>a {
  box-shadow: rgba(69, 69, 69, 0.3) 0px -4px 5px -1px,
  rgba(69, 69, 69, 0.3) 4px 0 5px -3px,
  rgba(69, 69, 69, 0.3) -4px 0 5px -3px
}

.header__categories-dropdownmenu,
.header__submenu-dropdownmenu,
.header__filter-dropdownmenu {
  right: 0;
  max-height: 600px;

  box-shadow: rgba(69, 69, 69, 0.3) 0px 0 5px 2px;

  overflow: auto;
  overflow-x: hidden;
}

.header__submenu-dropdownmenu {
  top: 21px;
}

.header__categories-dropdownmenu a {
  color: #000;
}

.header__categories-dropdownmenu a:hover img {
  background: none;
}


.header__categories a.more-active {
  color: #000;
}

.header__filter a.more-active {
  font-weight: bold;
}

.header__submenu a.more-active {
  background-color: #fff;
  color: #000;
}

.header__categories .flexMenu-viewMore:hover>a {
  background-color: #fff;
}

.header__submenu .flexMenu-viewMore:hover>a {
  color: #000;
  background-color: #fff;
}

/* breadcrumbs */

.breadcrumbs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-top: 10px;
  padding-left: 32px;
  padding-right: 32px;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;

  background-color: #fff;
}

.breadcrumbs__item {
  position: relative;

  margin-right: 10px;
  padding-right: 10px;
}

.breadcrumbs__item::after {
  content: "/";
  position: relative;
  right: -10px;

  color: #999;
}

.breadcrumbs__item:last-child::after {
  content: "";
}

.breadcrumbs__span {
  color: #999;
}

.footer {
  position: absolute;
  z-index: 1;
  bottom: 0;

  width: calc(100% - 64px);
  padding: 17px 32px 50px;

  background: #f5f5f5 url("../../../images/bg-footer.png") repeat-x top left;
  border-top: 1px solid #ddd;
}

.fields input.fields__multi-val-select-text {
  padding-right: 15px;
  width: 80%;
  text-overflow: ellipsis;

    overflow: hidden;

    width: 100%;
    box-sizing: border-box;
}
.fields .fields__cell .fields__multi-val-select-dropdown {
    width: auto !important;
    z-index: 2;
}
.fields .fields__cell .fields__multi-val-select-dropdown .fields__multi-val-select-item label{
    /*white-space: nowrap;*/
}

.footer__wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer__left,
.footer__right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.content__user-data {
  margin: 0 auto;
}

.user-data {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 25px;
}

.fields__fast-edit-button {
  right: 0;
  top: 4px;
}

.user-data__edit-btn,
.fields__fast-edit-button--edit,
.crypt-field-edit {
    width: 16px;
    min-width: 16px;
    height: 18px;
    margin-top: 5px;
    margin-left: 10px;
    opacity: 0;
  -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    position: relative;
}

.fields__cell-inner .fields__fast-edit-button--edit {
    position: absolute;
}

.fields .user-data__edit-btn,
.fields .fields__fast-edit-button--edit,
.fields .crypt-field-edit {
    margin-top: auto;
    margin-bottom: auto;
}

.user-data__edit-btn::before,
.fields__fast-edit-button--edit::before,
.crypt-field-edit::before {
    content: '';
    background-image: url(../../../images/b_edit.png);
    position: absolute;
    top: -10px;
    right: -6px;
    bottom: -6px;
    left: -6px;
    background-position: center center;
    background-repeat: no-repeat;
}

.user-data__list--simple .crypt-field-edit:hover {
  opacity: 1;
}

.user-data__list--edit .crypt-field-edit {
  opacity: 1;
}

.user-data__edit-block {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.user-data__phone-btn {
  width: 16px;
  height: 16px;
  margin-left: 3px;

  cursor:pointer;
}

.subtable__dropdown-list .subtable__tab-item {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.user-data__close-edit-btn:not(.user-data__close-edit-btn--hyperlink):not(.table-settings-btn):not(.edit-mult-value-btn),
.fields__fast-edit-button--done:not(.fields__fast-edit-button--done-hyperlink) {
  display: none !important;
  position: absolute;
  top: -9999px;
}

.user-data__close-edit-btn,
.fields__fast-edit-button--done {
  min-width: 16px;
  min-height: 16px;

  background-image: url("../../../images/checked.svg");
  background-repeat: no-repeat;

  -webkit-transition: opacity 0.2s;

  transition: opacity 0.2s;
}

.user-data__remove-file {
  width: 16px;
  height: 16px;

  background-image: url("../../../images/b_drop.png");
  background-repeat: no-repeat;

  opacity: 0;

  -webkit-transition: opacity 0.2s;

  transition: opacity 0.2s;
}

.hidden-input--file {
  display: none;
}

.user-data__add-new-file {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100px;
  padding: 2px 0;

  border-radius: 2px;

  cursor: pointer;
  opacity: 0;

  -webkit-transition: opacity 0.2s;

  transition: opacity 0.2s;
}

.user-data__edit--add-new-file {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100px;
  padding: 2px 0;
  background: -webkit-linear-gradient(rgb(255,255,255)0%,rgb(230,230,230)100%);
  background: linear-gradient(rgb(255,255,255)0%,rgb(230,230,230)100%);
  border-radius: 2px;
  color: #333;
  border-color: #ccc;
  cursor: pointer;
}

.content__user-data .user-data__edit--add-new-file{
  margin-right: 10px;
}

input[type="file"].hidden-input--file {
  display: none;
}

.user-data__file-wrap  a:first-of-type {
  text-overflow: ellipsis;
  word-break: break-all;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.user-data__edit-block a:not(.autocomplete_val):hover,
.user-data__file-wrap--view a:hover {
  color: #23527c;

  background: none;
  text-decoration: none;
}

.user-data__file-wrap--view:hover .user-data__remove-file,
.user-data__files:hover .user-data__add-new-file {
  opacity: 1;
}

.user-data__file-wrap--view a.fancybox-item,
.user-data__file-wrap--view a.file-item {
  margin-right: 5px;
}

.user-data__add-file-form,
.user-data__edit--add-file-form {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.user-data__add-file-form2,
.user-data__edit--add-file-form2 {
  opacity: 0;
}

.user-data__add-file-form input,
.user-data__edit--add-file-form input {
  opacity: 0;
  filter: alpha(opacity=0);
  font-size: 60px;
  cursor: pointer;
  width: 200px;
}

.new_file_upload {
  margin-left: 7px;
}

@-moz-document url-prefix() {
  .user-data__add-file-form input,
  .user-data__edit--add-file-form input,
  .user-data__edit--add-file-form2 input {
      direction: rtl;
      width: auto;
  }
}

@media all and (-webkit-min-device-pixel-ratio: 0) {
  .user-data__add-file-form input,
  .user-data__edit--add-file-form input,
  .user-data__edit--add-file-form2 input {
      direction: rtl;
      width: auto;
  }
}

.user-data__file-wrap .b_drop_hoverpopup,
.user-data__file-wrap .b_drop {
  margin-left: 5px;
}

.user-data__files-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 5px;
  margin-left: 7px;
}

.upload-iframe {
  width: 1px;
  height: 1px;
  display: none;
}

.user-data__add-new-file::before {
  content: "";
  position: relative;
  top: 1px;

  width: 12px;
  height: 12px;
  margin-right: 5px;
  display: inline-block;

  background-image: url("../img/icons-sprite.png");
  background-position: -83px -21px;
}

.user-data__file--progress-span {
  white-space: nowrap;
}

.user-data__file-wrap--hidden-data {
  color: rgb(0, 0, 0);
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.user-data--edit__add-btn {
  position: relative;
  left: -100px;
  width: 100px;
  margin-top: 3px;
}

.user-data--edit__add-btn,
.user-data--edit__add-btn span {
  cursor: pointer;
}

.user-data__new-line--file,
.user-data__new-line--files {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.user-data__new-line--files {
  flex-direction: column;
  align-items: flex-start;
  margin-top: -10px;
}

.user-data__new-line--files_spec {
  height: 10px;
  width: 100%;
}

.user-data__new-line--file-name {
  min-height: 18px;
  margin: 6px 6px 0 3px;
  max-width: 87%;
  word-break: break-all;
}

#view_block input[type="text"].hidden-input:focus,
#view_block select.hidden-input:focus,
#view_block textarea.hidden-input:focus {
  border-color: #ebb95b !important;
}

.user-data__close-edit-btn--multi-select {
  position: absolute;
  right: 0;
  top: 2px;
}

.user-data input[type="text"].hidden-input--hyperlink,
.user-data input[type="text"].hidden-input--phone,
.user-data textarea.hidden-input--html,
.user-data__link-block {
  display: none;
  width: calc(100% - 42px);
}

.user-data__link-block--with-prefix {
  width: calc(100% - 25px);
}

.user-data__close-edit-btn--hyperlink,
.user-data__close-edit-btn--phone,
.user-data__close-edit-btn--html,
.user-data__close-edit-btn--link,
.fields__fast-edit-button--done {
  display: none;
  margin-left: 3px;

  opacity: 0;
}

.user-data__list--simple .user-data__row {
  min-height: 30px;
}

.user-data__header {
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
}

.user-data__settings {
  margin-left: 8px;
}

.user-data__list {
  margin-bottom: 50px;
  margin-right: 50px;
  width: 90%;
}

.user-data__item {
  width: 550px;
}

.user-data__item-header {
  padding-top: 3px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 4px;
  margin-bottom: 7px;
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;

  background-color: #eeeeee;
  border-radius: 7px;
  border-top: 1px solid #cdcdcd;

  cursor: pointer;
}

.user-data__main-title {
  max-width: 495px;
  margin: 0 0 0 90px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  word-break: break-word;
}

.user-data__title {
  color: black;
  font-weight: bold;
  font-size: 13px;
}

.user-data__row {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 550px;

  font-size: 13px;
}

.user-data__row .autocomplete_val.image-link {
  display: flex !important;
  align-items: center !important;
}

.user-data__key {
  width: calc(40% - 8px);
  padding: 0 4px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 6px;

  font-weight: bold;
  text-align: right;
  color: black;
}

.user-data__value-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 58%;
  position: relative;
}

.user-data__value {
  width: calc(60% - 6px);
  margin-left: 6px;
  min-height: 18px;

  text-align: left;
  word-wrap: break-word;
}
.user-data__value:hover .correlation__settings-btn--add {
  opacity: 1;
}
.textpad__value:hover .correlation__settings-btn--add {
  opacity: 1;
}

.bondone {
  width: 100% !important;
  overflow: visible !important;
}

[id^="view_cell_"],
.user-data__edit-span{
  max-width: 100%;
}

.user-data__value a:not(.autocomplete_val):not(.image-link):not(.autocomplete__btn):not(.fancybox-item):not(.autocomplete__btn):hover {
  background-color: blue;
  color: white;
}

.user-data__file-wrap a:hover {
  color: blue;
  background: none;
}

.user-data__value--contact-face {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -ms-align-items: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.user-data__value--contact-face a {
  margin-bottom: 3px;
  margin-top: -1px;
}

.user-data__value-descr {
  font-size: 11px;
}

.user-data__value--not-edit-field {
  padding-right: 5px;
}

.user-data__value--not-edit-field a.autocomplete_val {
  display: flex;
  align-items: center;
  text-decoration: underline !important;
}

.user-data__dropdown-btn {
  width: 11px;
  height: 11px;
  margin-right: 7px;

  background-image: url("../img/icons-sprite.png");
  background-position: 0 -20px;
  background-repeat: no-repeat;
}

.user-data__dropdown-btn--opened {
  background-position: -11px -20px;
}

.user-data__list--edit .user-data__key {
  margin-right: 8px;
  padding-right: 2px;
}

.user-data__list--edit .user-data__value {
  margin-left: 0;
}

.user-data__list--edit input,
.user-data__list--edit select,
.user-data__list--edit textarea {
  max-width: 295px;
  width: 100%;
  padding: 5px 6px !important;

  line-height: 1.42857143;

  border-radius: 4px;
}

.user-data__list--edit input,
.user-data__list--edit textarea {
  max-width: 281px;
}

.user-data__list--edit select {
  width: calc(100% - 38px);
}

.user-data__value--link {
  width: auto;

  text-decoration: underline;
}

.user-data__value--link:hover {
  color: white;
  text-decoration: none;

  background-color: blue;
}

.user-data__value--add {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;    -webkit-flex-wrap: wrap;    -ms-flex-wrap: wrap;    flex-wrap: wrap;
  width: 53%;
}

.user-data__value--add select.hidden-input {
  margin-bottom: 4px;
}

.user-data__value--add select.hidden-input,
.user-data__value--add select.hidden-input:focus,
.user-data__value--add select.hidden-input:hover {
  background-image: url("../../../images/select_b.png") !important;
  background-position: center right 6px !important;
  background-repeat: no-repeat;
}


.user-data__value--add select:last-of-type {
  margin-bottom: 0;
}

.user-data__value--add .hidden-input {
  border-color: rgb(160, 160, 160) !important;
}

.user-data__value--add .hidden-input:focus {
  background-color: #fff8d5;
}


.user-data__value.select::after {
  top: 13px;
  right: 36px;
}

.user-data__add-value {
  width: 15px;
  min-width: 15px;
  height: 14px;

  background-image: url("../img/icons-sprite.png");
  background-position: 0px -36px;
  background-repeat: no-repeat;
}

.fields__line-count-print {
  position: relative;
  right: -92px;

  margin: 0 auto;

  font-size: 13px;
  color: #333;
  font-weight: 400;
}


.user-data__postfix {
  max-width: 60px;
  padding-top: 6px;
  padding-left: 2px;
  padding-right: 2px;

  white-space: nowrap;
  color:#6A6A6A;
}

.user-data__postfix--postfix {
  margin-left: 4px;
}

.user-data__value-wrap--autocomplete:hover .correlation__settings-btn {
  opacity: 1;
}
.user-data__value-wrap--autocomplete {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.user-data__value-wrap .ui-datepicker-trigger {
  margin-top: 4px;
}

/* Календарь jQuery UI всегда поверх всех окон/попапов */
#ui-datepicker-div {
  z-index: 999999 !important;
}

.fields__row-top-count {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.fields__row-top-count.no_print span.fields__row-top-count-item{
  background: #efefef;
  color: #000;
}

.subtable__table .select_border_btn_hover {
  background: none;
}

.subtable__table .fast_edit_link span:hover {
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
}
.fields__row-top-count--wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.fields__row-top-count-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 2em;
  min-height: 2.0em;
  margin: 0 auto;
  color: #7e7a7a;
  border-radius: 50%;
  font-size: 13px;
  margin-left: 5px;
  margin-right: 5px;
  width: 3em;
  height: 3em;
}
.fields__row-top-count span.fields__row-top-count-item {
  background: #e1e5e8;
}

.fields__row-top-count a.fields__row-top-count-item {
  border-radius: 0;
}

.fields__row-top-count-item:last-child {
  margin-right: 0;
}

.fields__row-top-count-item:first-child {
  margin-left: 0;
}

a:hover.fields__row-top-count-item {
  color: #000;
}

.user-data__row .user-data__edit-block a.autocomplete_val{
  display: block;
  width: 100%;
}
.user-data__list--edit .user-data__row--note {
  -ms-align-items: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.user-data__list--edit .user-data__row.row-editable {
  display: flex;
}

.user-data__save-adding::before {
  content: "";
  position: relative;
  top: 1px;
  left: -3px;

  height: 12px;
  display: inline-block;
  width: 14px;

  background-image: url("../img/icons-sprite.png");
  background-position: 0 -53px;
}

.user-data__row-wrap .user-data__row {
  color: #000;
  margin-bottom: 7px;
}

.user-data__row-wrap .user-data__value {
  padding: 0;
  width: 180px;

  border-radius: 0;
  border: 1px dotted #d0d0d0;
}

.user-data__row-wrap .user-data__value:hover {
  border-color: #d0d0d0;
}

.user-data__row-wrap .user-data__value:focus {
  background: none;
  outline: 2px solid rgba(97, 155, 253, 0.5);
}

.user-data__files {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

#view_block .jfilestyle span:focus {
  outline: none !important;
}

#view_block select {
  background-position: top 13px right 6px !important;
}

.user-data__wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  width: 550px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

.fixed-transition {
  position: fixed;
  top: 50%;

  display: block;
  margin-top: -30px;
  width: 60px;
  height: 60px;

  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
}

.fixed-transition:hover {
  background-color: #eee;
}

.fixed-transition--prev {
  left: 40px;
}

.fixed-transition--next {
  right: 40px;
}

.fixed-transition::before,
.fixed-transition::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 2px;
  display: block;

  background-color: #000;

  opacity: 0.25;
}

.fixed-transition:hover::before,
.fixed-transition:hover::after {
  opacity: 0.5;
}

.fixed-transition--prev::before,
.fixed-transition--prev::after {
  margin-left: -7px;
}

.fixed-transition--next::before,
.fixed-transition--next::after {
  margin-left: -5px;
}

.fixed-transition--prev::before {
  -webkit-transform: rotate(-60deg);
          transform: rotate(-60deg);
  margin-top: -5px;
}

.fixed-transition--prev::after {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
  margin-top: 5px;
}

.fixed-transition--next::before {
  -webkit-transform: rotate(-60deg);
          transform: rotate(-60deg);
  margin-top: 5px;
}

.fixed-transition--next::after {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
  margin-top: -5px;
}

.user-data textarea.hidden-input {
    /*max-width: 281px;*/
    width: 100%
}

.user-data select.hidden-input {
  width: 281px;
}

.user-data textarea.hidden-input {
  min-height: 30px;
  box-sizing: border-box;
  resize: none;
}

.resize-textarea:hover,
.resize-textarea:active,
.resize-textarea:focus {
  overflow: auto !important;
  resize: vertical !important;
}

.user-data__user-fields {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

.user-data__user-fields-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-bottom: 2px;
}

.user-data__user-fields-row input[type="checkbox"] {
  min-width: 13px;
  max-width: 13px;
  margin-top: 3px;
  margin-right: 3px;
}

.user-data__file-wrap {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-bottom: 3px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.user-data__file-wrap:first-child {
  margin-top: 6px;
}

.user-data__file-wrap a,
.user-data__file-wrap button {
  margin-right: 3px;
}

.user-data__file-wrap:last-child {
  margin-bottom: 0;
}

.user-data__upload-rogress {
  background:#fff6ad;
  margin-left: 7px;
}

.user-data__list--simple .user-data__value {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-left: 0;

  word-wrap: break-word;
}

.user-data__title {
  margin: 0 auto;
  color: gray;
}

.user-data__key .field_tooltip {
  font-weight: 400;
}

.user-data__row--one-cell {
  width: 550px !important;
  margin-right: 0 !important;
}

.user-data__wrap--one-cell {
  width: 550px !important;
}

.user-data__list--one-cell {
  width: 550px !important;
}


.user-data__aside {
  width: 222px;
  margin-right: 65px;
}

.user-data__nav-toggles {
  margin-top: 3px;
  margin-bottom: 10px;
}

.user-data__nav-toggles,
.user-data__nav-toggles a {
  font-size: 12px;
  font-weight: bold;
  color: #bbb;
  text-decoration: none;
  text-align: center;
}

.user-data__nav-toggles a:hover {
  background-color: gray;
  color: white;
}

.user-data__nav-link {
  margin-right: 5px;
}

.user-data__file-not-found {
  color: gray;
}

.action-btns--padding {
  padding-top: 30px;
}

.action-btns__item {
  position: relative;

  width: 100%;
  padding-top: 5px;
  padding-bottom: 6px;
  margin-bottom: 8px;

  border-radius: 4px;
  box-sizing: border-box;

  font-size: 14px;
  font-weight: bold;
  color: #4b4b4b;
  text-decoration: none;
  text-align: center;
}

.action-btns__item span {
  margin-left: 20px;
}

.action-btns__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;

  display: block;

  background-color: transparent;
  background-image: url("../img/icons-sprite.png");
}

.action-btns__item--edit::before {
  width: 14px;
  height: 15px;

  background-position: -53px -36px;
}

.action-btns__item:hover::before {
  /*box-shadow: 0 0 5px 2px lightblue;*/
  -webkit-filter: drop-shadow(0px 2px 2px #a9e5ff);
  filter:         drop-shadow(0px 2px 2px #a9e5ff);
}

.action-btns__item--back-to-table::before,
.action-btns__item--back-to-vision::before {
  width: 14px;
  height: 14px;

  background-position: -86px 0px;
}

.action-btns__item--print::before,
.action-btns__item--send-out::before,
.action-btns__item--send-out-sms::before,
.action-btns__item--copy::before,
.action-btns__item--archive::before,
.action-btns__item--remove::before {
  width: 14px;
  height: 13px;

  background-position: -37px -36px;
}

.action-btns__item--additional::before {
  top: 12px;

  width: 14px;
  height: 7px;

  background-position: -14px -36px;
}

.action-btns__hidden-btns {
  display: none;
}

.action-btns__item:hover {
  color: #399ace;
}

.action-btns__item--add-addition {
padding-left: 27px;
padding-right: 27px;
}

.action-btns__item--add-agent::before {
  width: 14px;
  height: 14px;

  background-position: 0 -36px;
}

.action-btns__item--add-agent:hover::before {
  -webkit-filter: drop-shadow(0px 2px 2px #6bb11f);
  filter:         drop-shadow(0px 2px 2px #6bb11f);
}

.action-btns__item--add-agent:hover {
  color: #6bb11f;
}

.action-btns {
  display: contents; /* позволяет быть дочерним элементам быть sticky к родителю */
}
.action-btns.action-btns--simple::after { /* заменяет margin-bottom для display: contents элемента */
  content: "";
  display: block;
  margin-bottom: 17px;
}
.action-btns.action-btns--edit::after { /* заменяет margin-bottom для display: contents элемента */
  content: "";
  display: block;
  margin-bottom: 8px;
}

.user-data__aside .action-btns {
  position: relative;
}
.user-data__aside .action-btns.action-btns--edit {
  z-index: 100;
}

.action-btns__transparent {
  background: none;
  border: 1px solid rgb(216, 216, 216) !important;
}

.action-btns__transparent, .action-btns__transparent:visited {
  color: rgb(165, 165, 165);
  text-decoration: none !important;
}

.action-btns__transparent:hover {
  color: gray;
}

.connected-tables {
  width: calc(100% - 20px);
  margin: 0 auto;
  margin-bottom: 24px;
  padding: 10px;

  background-color: #f5f5f5;
}

.connected-tables__frame {
  width: calc(100% - 20px);
  margin: 0 auto;
  margin-bottom: 24px;
  padding: 10px;
  background-color: white;
}

.connected-tables__dropdown-btn {
  position: relative;

  width: 200px;
  margin-bottom: 5px;

  font-weight: bold;
  font-size: 15px;
  line-height: 26px;
  color: #000;

  background-color: #e2e2e2;
  border-radius: 4px;
}

.connected-tables__dropdown-menu {
  padding: 0 10px;
}

.connected-tables__dropdown-btn::before {
  content: "";
  position: relative;
  top: 1px;
  left: -5px;

  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 6px;

  background-image: url("../img/icons-sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -20px;
}

.connected-tables__dropdown-btn--closed::before {
  background-position: -11px -20px;
}

.connected-tables__item, .connected-tables-frame__item {
  padding: 1px 10px;
}

.connected-tables__item:hover {
  background-color: #fff;
  border-radius: 4px;
}

.connected-tables-frame__item:hover {
  /* background-color: #f5f5f5; */
  border-radius: 4px;
}

.connected-tables__link {
  height: 100%;
  color: #555;
}

.log-message, .linked-tables {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.linked-tables {
  margin-top: 3px;
}

.log-message .humburger {
  width: 9px;
  height: 2px;

  background-color: #bbb;
  box-shadow: 0 -4px 0 0 #bbb,
  0 4px 0 0 #bbb;
}

.log-message__link, .linked-tables__link {
  display: block;
  width: 80px;

  text-align: center;
  color: #bbb;
}

.linked-tables__link {
  width: 150px;
}

.linked-tables__link:hover {
  color: #4f4f4f;
}

.log-message__link:hover {
  text-decoration: underline;
  color: #aaa;
}

.log-message__humburger {
  width: 12px;
  height: 12px;

  background-image: url("../img/icons-sprite.png");
  background-repeat: no-repeat;
  background-position: -85px -36px;
}

.linked-tables__humburger {
  width: 12px;
  height: 12px;

  background-repeat: no-repeat;
  background-position: -85px -36px;
}

.action-btns__relative {
  position: sticky;
  top: 0;
  z-index: 2;

  padding-top: 7px;
  margin-bottom: 7px;
  width: 222px;

  background-color: #fff;
}

.action-btns__relative .action-btns__item:last-child {
  margin-bottom: 0;
}

#edit_buttons .action-btns__relative {
  margin-bottom: 0;
}

.connected-tables__show-more, .connected-tables-frame__show-more {
  width: 100%;
  margin-top: 3px;

  text-decoration: underline;
  text-align: center;
  color: #555;
}

.connected-tables__show-more:hover {
  text-decoration: none;
  color: #000;
}

.connected-tables-frame__show-more {
  margin-top: 10px;
  color: rgb(100, 100, 100);
}

.connected-tables-frame__show-more:hover {
  text-decoration: none;
  color: #000;
}

.action-btns__item--save-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.action-btns__item--save {
  width: calc(100% - 30px);
  margin-bottom: 0;

  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.action-btns__item--dropdown {
  width: 30px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 13px;
  padding-bottom: 12px;

  border-left: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.action-btns__item--dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 6px solid #fff;
}

.action-btns__item--save:hover,
.action-btns__item--dropdown:hover {
  background: -webkit-linear-gradient(bottom, #6ab119, #94c823);
  background: linear-gradient(to top, #6ab119, #94c823);
  box-shadow: inset 0 1px 0 0 #b3d72d;

  color: #fff;
}

.user-data__save-adding:hover,
.user-data__save-adding:focus,
.user-data__save-adding:active {
  background: -webkit-linear-gradient(bottom, #6ab119, #94c823);
  background: linear-gradient(to top, #6ab119, #94c823);
  box-shadow: inset 0 1px 0 0 #b3d72d;
}

.action-btns__item--save::before {
  top: 9px;

  width: 15px;
  height: 12px;

  background-position: 0 -53px;

  -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));

          filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.action-btns__item--dropdown-list {
  width: calc(100% - 2px);
  display: none;
  margin-top: 7px;

  border-radius: 4px;
  border: 1px solid #b9b9b9;
  background-color: #fff;
}

.action-btns__item--dropdown-item {
  display: block;
}

.action-btns__item--dropdown-link {
  width: 100%;
  padding-top: 4px;
  padding-bottom: 8px;
  display: block;

  text-align: center;
  color: #4b4b4b;
  text-decoration: none;
  font-weight: bold;
}

.action-btns__item--dropdown-link:hover {
  background-color: #eeeeee;
  color: #399ace;
}

.action-btns__item--dropdown-link:active {
  background-color: #ddd;
}

.action-btns__item--dropdown-link:hover,
.action-btns__item--dropdown-link:focus {
  text-decoration: none;
}

.action-btns__item--back-to-vision,
.action-btns__item--back{
  margin-top: 7px;
}


.subtable {
  z-index: 2;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 1000px;
  max-width: 99%;
}

.subtable__outer-wrap {
  position: relative;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  margin: 0 auto;
  min-height: 200px;
  padding-bottom: 10px;
}

.subtable__head,
.subtable__head--fixed {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 1000px;
  margin: 0 auto;

    /*
    //////////////box-shadow: inset 0 -2px 0 0 lightgray;
    */
}

.subtable__settings {
  margin-right: 11px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.subtable__tab-list {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 24px;
  margin-bottom: 0;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.subtable__tab-item,
.subtable__tab-list .flexMenu-viewMore {
  padding: 10px;
  border-radius: 7px 7px 0 0;
  border: 2px solid transparent;

  font-size: 14px;

  color: gray;
}

.subtable__tab-list .subtable__dropdown-list {
  right: -2px;
  top: 40px;
  border: 2px solid #d3d3d3;
  background-color: #fff;
  z-index: 1;
  width: 300px;
  max-height: 400px;
  overflow: auto;
  border-radius: 0 0 7px 7px
}

.subtable__tab-list > .subtable__tab-item.subtable__tab-item--active {
    position: relative;
}
.subtable__tab-list > .subtable__tab-item.subtable__tab-item--active::before {
    content: '';
    background: transparent;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 4px;
}

.flexMenu-viewMore__border {
  position: absolute;
  top: -2px;
  z-index: 100;
  right: 0;

  width: 100%;
  height: 2px;
  background-color: #fff;
}

.subtable__dropdown-list li {
  cursor: pointer;
  text-align: center;
}

.subtable__dropdown-list button {
  width: 100%;
}

.subtable__dropdown-list li:hover,
.flexMenu-viewMore .subtable__tab-item--active,
.flexMenu-viewMore .fix-subtable__tab-item--active {
  background-color: #eee;
}

.subtable__tab-item button,
.subtable__tab-list .flexMenu-viewMore a {
  font-weight: bold;
}

.subtable__tab-list .flexMenu-viewMore a {
  color: #808080;
}

.subtable__tab-item--active,
.fix-subtable__tab-item--active,
.subtable__tab-item:hover,
.subtable__tab-list .flexMenu-viewMore:hover,
.subtable__tab-list a.more-active {
  color: black;
}

.subtable__tab-item--active,
.fix-subtable__tab-item--active,
.subtable__tab-list .flexMenu-viewMore:hover,
.subtable__tab-list .more-active-li {
    border: 2px solid lightgray;
    border-bottom: 2px solid white;
    background-color: white;
    position: relative;
}

.subtable__tab-item--active {
  border-bottom: none;
}

.subtable__tab-item--active::before,
.fix-subtable__tab-item--active::before,
.subtable__tab-list .flexMenu-viewMore:hover::before,
.subtable__tab-list .more-active-li::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 2px;
    background-color: white;
}

.subtable__table {
  min-width: 1000px;
  padding: 0;
  margin: 0 auto;

  border: none;
}

.subtable__content {
  display: table;
}

.subtable__title-cell {
  font-weight: bold;
  font-size: 10.66px;
  text-transform: uppercase;
  color: #413d65;
}

.subtable__cell {
  padding: 0 5px;
  /*border-bottom: 1px solid #bbb;
  border-top: 1px solid #bbb;*/
  /*max-width: 400px !important;*/
}
tr.subtable__row--simple {
  border-bottom: 1px solid #bbb;
  border-top: 1px solid #bbb;
}
.subtable__cell.subtable__cell-1{
  background-color: transparent !important;
}
.subtable__cell.subtable__cell-1,
.subtable__cell.subtable__cell--first-column {
  width: 45px;
}

.subtable__cell.number__max_width,
.subtable__cell.subtable__cell-number {
  min-width: 32px;
}

/* Все .fields__fast-edit-button внутри .textpad__value, у которого нет <a> */
.subtable__cell .textpad__value:not(a) .fields__fast-edit-button {
  position: absolute;
  right: 0;
  top: 30%;
}

.subtable__cell .textpad__value {
  min-height: 25px;
  border-radius: 4px;
  word-break: break-word;
}

.link-enable-link .view_cell .sub-slave_fields {
  pointer-events: all;
}

.sub-slave_fields {
  pointer-events: none;
}

.sub-slave_fields a {
  pointer-events: all;
}

.subtable__cell:first-child {
  padding-left: 0;
  padding-right: 0;
}

.subtable__cell--group {
  padding: 11px 0;
}

.subtable__row--header .subtable__cell {
  padding: 20px 7px;

  text-align: left;
  border-bottom: 2px solid #D3D3D3;
}

.subtable__row--header .subtable__cell.non-edit-number{
  padding-right: 10px;
}

.subtable__cell--group-btns {
  position: relative;
  height: 46px;
  border-bottom: none !important;
}

.subtable__group-btns {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
      -webkit-justify-content: flex-end;
      justify-content: flex-end;
  margin-right: 0;
  right: 0;
  top: 11px;
  width: 231px;
      -webkit-transition: left 0.5s;
  transition: left 0.5s;
}

.subtable__row--header .subtable__cell span {
  font-size: 10.66px;
  text-transform: uppercase;
  font-weight: bold;
  word-break: normal;
}

.subtable__cell--sum {
  padding: 10px;

  border: none;

  text-align: right;
  white-space: nowrap;
}

.subtable__sum-gray {
  font-style: oblique;
  color: #999999;
}

.subtable__add-new-line-group {
  padding: 0;

  font-size: 11px;
}

.subtable__sum-page {
  color: #222222;
}

.subtable__sum-page--fictive.subtable__sumpage--active {
  height: 15px;
}

.subtable__add-new-line-top {
  display: inline-block;
  width: 13px;
  height: 12px;
  margin: 2px 10px -1px 3px;

  background: url('../../../images/b_small_add.gif') no-repeat scroll center center transparent;
}

.subtable__add-new-line-top:hover {
  cursor: pointer;
}

.subtable__add-floated {
  float: left;

  margin-right: 6px;
}

.subtable__add-new-line-pointer {
  cursor: pointer;
}

.subtable__group-fields-text {
  padding: 0;

  font-size: 17px;
  font-weight: bold;
}

.subtable__cell-1 {
  width: 40px;
}

.subtable__sum-black {
  color: #000000;
  font-weight: bold;
  padding-right: 10px;
}

.subtable__cell--btns {
  width: 40px !important;
  padding-left: 0;
  padding-right: 0;
}

.subtable__select-wrapper--formatter {
position: relative;
display: inline-block;
}

.subtable__select-formatter {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
padding-left: 6px;
padding-right: 6px;
border-radius: 4px;
}

.subtable__footer {
  display: -webkit-flex;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-top: 11px;
  margin-bottom: 11px;
  min-height: 42px;
}

.subtable__footer-btns-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 40%;
}
.subtable_pages-wrapper{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.subtable__footer-btn {
  position: relative;

  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 6px;
  padding-right: 8px;
  margin-left: 10px;

  font-size: 11px;

  border-radius: 2px;
}

.subtable__footer-btn::before {
  content: "";
  position: relative;
  top: 3px;

  width: 12px;
  height: 12px;
  margin-right: 5px;
  display: inline-block;

  background-image: url("../img/icons-sprite.png");
}

.subtable__setting-btn {
  width: 20px;
  height: 20px;
  display: block;

  background-repeat: no-repeat;
  background-image: url("../img/icons-sprite.png");

  opacity: 0.6;
}

.subtable__setting-btn:hover {
  opacity: 1;
}

.subtable__setting-btn--humburger {
  background-position: -30px 0;
}

.subtable__setting-btn--settings {
  margin-left: 4px;

  background-position: -50px 0;
}

.subtable__cell-btn {
  width: 16px;
  height: 16px;
}

.subtable__cell-btn--add {
  width: 12px;
  height: 12px;

  background-image: url("../img/icons-sprite.png");
  background-repeat: no-repeat;
  background-position: -83px -21px;
}

.subtable__cell-btn--change {
  width: 15px;
  height: 15px;

  background-image: url("../img/icons-sprite.png");
  background-position: -53px -20px;
  background-repeat: no-repeat;
}

.subtable__cell-btn--cross {
  width: 12px;
  height: 12px;

  background-image: url("../img/icons-sprite.png");
  background-position: -70px -22px;
  background-repeat: no-repeat;
}

.fields__row--header .fields__cell {
  overflow: hidden;
  text-overflow: ellipsis;
}

.fields__row--fixed .fields__cell {
  display: -webkit-box /*!important*/;
  display: -webkit-flex /*!important*/;
  display: -ms-flexbox /*!important*/;
  display: flex /*!important*/;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.subtable__footer-btn--add::before {
  background-position: -83px -21px;
}

.subtable__footer-btn--save::before {
  width: 14px;

  background-position: 0 -53px;
}

.subtable__select {
  width: 100%;
}

.subtable__select.select::after {
  top: 11px;
  right: 3px;
}

.subtable__cell--blue {
  color: #0075CE;
}

.subtable__cell--empty {
  width: 0 !important;
}

.textpad>a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.subtable .hidden-input {
  border-radius: 4px;
  border: 1px dotted rgba(0,0,0,0);
}

.subtable input[type="text"]:not('.ac_input'):hover,
.subtable input[type="text"]:not('.ac_input'):focus,
.subtable input[type="text"]:not('.ac_input'):active {
  border: 1px dotted #464646 !important;
}

.subtable__table input[type="text"],
.subtable__table select,
.subtable__table .select_border {
  min-height: 20px;
  border: 1px dotted rgba(160,160,160,0) !important;
  border-radius: 4px;
}

.subtable .onfocus_border {
  border-radius: 4px;
}

.subtable__table select {
  padding: 5px 20px 5px 5px;

  background-color: transparent;
  background-image: url();
}

.subtable__table input[type="text"]:hover ,
.subtable__table select:hover ,
.subtable__table .select_border:hover,
.subtable__table select:focus ,
.subtable__table .select_border:focus,
.subtable__table input[type="text"]:active ,
.subtable__table select:active ,
.subtable__table .select_border:active,
.subtable__table .textpad__value>textarea:focus,
.subtable__table .textpad__value>textarea:hover {
  border: 1px dotted rgb(160,160,160) !important;
  color: #000 !important;
  background-color: white !important;
}
.subtable__table .textpad__value>textarea {
  border: 1px dotted transparent !important;
}

.subtable__table input[type="text"]:focus {
  background-color: white;
}

.subtable textarea[part=add_link_field] {
  border: 1px dotted rgb(160, 160, 160) !important;
}

select.bordered-elem {
  background-image: url("../../../images/select_b.png") !important;
  background-position: center right 6px;
  background-repeat: no-repeat !important;
}

.subtable__table .textpad .bordered-elem {
  border-color: rgb(160,160,160) !important;
}

.subtable__table .textpad .ac_input+.bordered-elem {
  border-right: 1px dotted rgb(160,160,160);
  border-bottom: 1px dotted rgb(160,160,160);
  border-top: 1px dotted rgb(160,160,160);
  background: url("../../../images/select_b.png") no-repeat center center;
  border-radius: 0 4px 4px 0;
  padding: 4px 5px 4px 0;
}

.subtable__table .bordered-elem .select_border_btn {
  background: url("../../../images/select_b.png") no-repeat center right 10px !important;
}

.subtable__table input[type="text"]:not(.ac_input):not(.hasDatepicker) {
    padding-top: 5px !important;
    padding-right: 5px !important;
    box-sizing: border-box;
}

.subtable__table .ac_input {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.subtable__table .fast_edit_link:hover span {
  /*border-left: 1px solid white;*/
  border-right: 1px dotted rgb(160,160,160);
  border-bottom: 1px dotted rgb(160,160,160);
  border-top: 1px dotted rgb(160,160,160);
  background: url("../../../images/select_b.png") no-repeat center center;
  border-radius: 0 4px 4px 0;
  padding: 4px 5px 4px 0;
}

.subtable__table .fast_edit_link:hover input {
  border: 1px dotted rgb(160,160,160) !important;
}

.subtable__table .hasDatepicker {
  padding-top: 4px;
}

.subtable__table .fast_edit_link {
  margin-top: -1px;
}

.subtable__table textarea:hover,
.subtable__table textarea:active,
.subtable__table textarea:focus {
  background-color: white !important;
  color: #000 !important;
  cursor: text;
}

.subtable__table .select_border {
  padding-top: 4px !important;
}

.fields__actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: calc(100% - 84px);
  margin: 0 auto;
  padding-bottom: 7px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;

  background-color: #f9f9f9;
}

.fields__custom-select {
  cursor:text;
  padding: 6px 3px;
  min-width: 100%;

  border-radius: 4px;
  background: none;
  border: 1px dotted rgba(160, 160, 160, 0);
  outline: none;
}

.fields__custom-select:hover,
.fields__custom-select:focus {
  background-color: rgba(255, 255, 255, 1);
  border: 1px dotted rgba(160, 160, 160, 1);
  background-image: url("../../../images/select_b.png");
  background-position: top 13px right 6px !important;
  background-repeat: no-repeat;
}

.fields__actions-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  max-width: 1000px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.fields__actions-search {
  min-width: 210px;
}

.fields__actions-search form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.fields__actions-search .fast_search_submit {
  margin-left: 4px;
}

.fast_search_form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.fields__actions-item {
  padding: 3px 4px;
  margin-right: 3px;
  margin-bottom: 3px;

  color: #3c3c3c;
  font-size: 11px;

  background: -webkit-linear-gradient(top, #ffffff 0%, #dedede 100%);

  background: linear-gradient(to bottom, #ffffff 0%, #dedede 100%);
  border: 1px solid #b0b0b0;
  border-radius: 7px;
}

.fields__actions-item--arrow {
  margin-right: 9px;
}

.fields__actions-item:hover {
  color: white;

  background: -webkit-linear-gradient(top, #747474 0%, #565656 100%);

  background: linear-gradient(to bottom, #747474 0%, #565656 100%);
}

.fields__actions-item--additional,
.fields__actions-item--add-agent {
  margin-left: 15px;
}

.fields__action-item--additional {
  width: 100px;

  text-decoration: none;
}

.fields__dropdown-wrap {
  position: relative;
}

.fields__dropdown-menu {
  position: absolute;
  left: 15px;
  width: 160px;
  display: none;
}

.fields__dropdown-menu .fields__actions-item {
  width: calc(100% - 8px);
  display: block;
  margin-bottom: 0;
}

.fields__header-settings {
  margin-left: 6px;
  flex-shrink: 0;
}

.fields__header-btn--add-agent {
  width: 202px !important;
  margin-bottom: 0;
  margin-left: 9px;
}

.fields__header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 13px;
  width: calc(100% - 64px);
  margin: 0 auto;
  border-bottom: 1px solid #e3e3e3;
}

.fields__header-left,
.fields__header-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.fields__header-left {
  width: 40%;
}

.fields__header-right {
  width: 40%;
}


.fields__header-right {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.fields__header-right>a {
  margin-left: 4px;
}

.fields__table {
    display: table;
    min-width: -moz-available;
    min-width: -webkit-fill-available;
    margin-top: 50px;
    outline: none;
    overflow-x: hidden;
    opacity: 0;
    -webkit-transition: margin-top 0.4s, opacity 0.4s;
    transition: margin-top 0.4s, opacity 0.4s;
    border-collapse: collapse;
}

.fields__table--stable {
  margin-top: 0;
  -webkit-transition: none;
  transition: none;
}

#edit_button_form{
  margin: 0 0 0 -5%;
}
#edit_button_form .correlation__key{
  width: 44.8%;
}
.fields__row {
    display: table-row;
    width: 100%;
    position: relative;
    background-color: white;
}
.fields__row.checked:not(:hover) .fields__cell {
  background-color: #f4f0d1;
}
/* Импортант из-за креатива с tpl шаблоном и инлайновыми стилями */
.fields__row.checked:not(:hover) .fields__second-cell,
.fields__row.checked:not(:hover) .fields__cell--checkbox{
  background-color: #f4f0d1 !important;
}
.fields__row.checked:not(:hover) .fields__cell * {
  background-color: transparent !important;
}
#old_mode td:nth-child(2) {
  padding: 3px 0 0 0;
}

.fields__row--info .fields__cell:not(.fields__cell--result):not(.group_field_checkbox):not(.fields__cell-group--title) {
    /*border-bottom: 1px solid rgba(0, 0, 0, 0.13);*/ /* border для ячеек таблицы*/
}

.fields__row--info .fields__cell.group_field_checkbox,
.fields__row--info .fields__cell.fields__cell-group--title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.fields__row--info .fields__cell.fields__cell--0,
.fields__row--header .fields__cell--checkbox {
  width: 32px;
  min-width: 32px;
  max-width: 32px;
}

.fields__row--header .fields__cell--checkbox {
  border-top-left-radius: 7.5px;
}

.fields__row--header {
  left: 0;
  text-transform: uppercase;
  border-bottom: none;
}

.fields__cell {
  padding: 14px 12px 14px 5px;
  display: table-cell;
  vertical-align: middle;
}

.fields__cell img {
  margin-bottom: 5px;
}

.fields__cell--result.fields__cell--checkbox, .fields__cell--result.fields__second-cell{
  display: table-cell !important;
}


.fields__cell.fields__cell--result {
  font-weight: bold;
  white-space: nowrap;
  text-align: right;
  border-right: none !important;
  overflow: hidden;
}

.fields__row--group .fields__cell {
  border-right: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}

.fields__cell--checkbox {
  padding: 14px 0;
  width: 28px;
}

.fields__cell--header .custom-checkbox {
  top: 3px;
}

.fields__cell--checkbox input {
  position: relative;
  top: 3px;
}

.fields__cell--header>div[id^='header'] {
  padding-left: 7px;
}

.fields__cell--header a {
  display: contents;
  font-size: 11px;
  font-weight: bold;
  color: white;
}

.fields__cell--header a:hover {
  color: #0075CE;
  background-color: white;
}

.fields__cell.fields__cell--header.fields.second-cell {
  padding-left: 5px;
}

.fields__body {
  position: relative;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.fields__preloader-block {
  position: absolute;
  width: calc(100% - 64px);
  margin: 0 auto;
  background-color: #fff;
  z-index: 5;
  height: 100%;
}

.fields__preloader {
  position: absolute;
  left: 50%;

  margin-left: -50px;
  width: 100px;
  height: 100px;
  background-image: url("../img/Ellipsis3.gif");
  background-repeat: no-repeat;

  -webkit-transition: top 0.2s;

  transition: top 0.2s;
}

/*.fields__preloader--appear {*/
/*transition: top 0.2s;*/
/*}*/

.hidden-column {
  position: relative;
  z-index: 1002;
  width: 32px;
  background-color: #fff;
}

.hidden-column:first-child::after,
.hidden-column:last-child::before {
  content: "";
  position: absolute;

  display: block;
  width: 5px;
  height: 5px;

  background-repeat: no-repeat;
}

.hidden-column:first-child::after {
  top: 0;
  right: -5px;

  background-image: url("../img/fields__left-border.png");
}

.hidden-column:last-child::before {
  top: 0;
  left: -5px;

  background-image: url("../img/fields__right-border.png");
}

.hidden-column--fixed:first-child::after,
.hidden-column--fixed:last-child::before {
  position: fixed;
}

.hidden-column--fixed:first-child::after {
  left: 32px;
}

.hidden-column--fixed:last-child::before {
  left: calc(100% - 37px);
}

.fields {
  width: calc(100% - 64px);
  position: relative;
}

.fields__footer {
  padding: 0 32px;
}

.fields__act-arc {
  width: calc(100% - 64px);
  padding:20px 32px 3px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.fields__row-count {
  margin: 5px 0 15px;

  font-size: 13px;
  text-align: center;
}

.fields__legend-short {
  text-align: center;
}

.fields__legend-short span {
  color: #999;
  border-bottom: 1px dashed #999;

  cursor: pointer;
}

.fields__legend-head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 10px;
}

.fields__legend-tabs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.fields__legend-tabs span {
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 15px;
  padding-left: 15px;
}

.fields__legend-descr {
  margin-bottom: 10px;
  text-align: justify;
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}

div#leg_color {
  margin: 12px 25px;
}

.fields__legend-list {
  margin: 12px 25px;
  color: #333;
}

.fields__legend-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
}

.fields__legend-item--left {
  width: 200px;

  text-align: center;
}

.fields__legend-item--left div, .fields__legend-item--left__a {
  color: #666;
  background-color: #fff;
  text-align: center;
  border: 0px solid #999;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0px 1px 2px 0 #bbb;
}

.fields__legend-item--left a,
.fields__legend-item--left a:hover,
.fields__legend-item--left a:visited,
.fields__legend-item--left a:active {
  text-decoration: none;
  font-size: 14px;
}

.fields__legend-item--right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px;
  width: calc(100% - (6px * 2) - 10px - 200px);
  word-break: break-word;
  text-align: justify;
}

.fields__search-bar {
  position: relative;

  padding: 5px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: calc(100% - 74px);
  margin: 0 auto;

  background-color: #f9f9f9;
}

.fields__search-title {
  padding-bottom: 5px;

  font-size: 13px;
  line-height: 1.42857143;
  font-weight: bold;
}

.fields__search-edit {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.fields__search-btns {
  padding: 9px 0 6px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.fields__search-close {
  position: absolute;
  top: 8px;
  right: 18px;

  width: 19px;
  height: 19px;

  background-image: url("../img/icons-sprite.png");
  background-repeat: no-repeat;
  background-position: -33px -53px;

  cursor: pointer;
}

.fields__search-close:hover {
  background-position: -52px -53px;
}

.fields__search-btn {
  padding: 0 10px;
  width: 120px;

  color: #333;
  font-size: 12px;
  line-height: 28px;
  text-decoration: none;
  text-align: center;

  border-radius: 2px;
}

.fields__search-btn:hover {
  color: #333;
  text-decoration: none;

  border-color: #adadad;
}

.fields__search-btn:active {
  color: #333;
  text-decoration: none;

  box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.fields__search-btn:focus {
  text-decoration: none;
  color: #333;
}

.fields__border-line {
  width: calc(100% - 64px);
  height: 1px;
  margin: 0 auto;
  margin-bottom: 7px;

  background-color: #e3e3e3;
}

.fields__search-template {
  width: calc(100% - 84px);
  display: grid;
  grid-template-columns: repeat(auto-fill, 390px);
  grid-column-gap: 30px;
  grid-row-gap: 12px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #f9f9f9;
}

.fields__search-template-item {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.fields__search-template-name {
  width: 90px;

  font-weight: bold;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;

  overflow: hidden;
  box-sizing: border-box;
}

.fields__search-template input[type="text"],
.fields__search-template select,
.fields__search-template .autocomplete {
  box-sizing: border-box;
  width: 290px;
}

.fields__search-template input[type="text"].form-control-75 {
  width: 115px;
  padding: 5px 4px;
}

.fix-search__date+.ui-datepicker-trigger,
.fix-search__datetime+.ui-datepicker-trigger {
  opacity: 1;
}

.fields__search-template .autocomplete__input {
  height: 30px;
  width: 272px;
  box-sizing: border-box;
}

.fields__row--fix-animate {
  -webkit-animation: header-row-show 0.5s;
          animation: header-row-show 0.5s;
}

.fields .hidden-input {
  padding: 4px 6px;
  min-height: 16px;
  max-width: 90%;
  border-radius: 4px;
  background: none;
  border: 1px dotted rgba(160, 160, 160, 0);
  outline: none;
  transition: all 0.15s ease;
}

.fields textarea.hidden-input:not(.fields__fast-edit--special-text) {
  min-width: 100px;
  max-width: 400px !important;
  width: 95%;
}

.fields textarea.fields__fast-edit--text {
    height: 16px;
    padding: 4px 6px;
}

.fields textarea.fields__fast-edit--text {
  overflow: hidden !important;
}

.fields .hidden-input--select.hidden-input:hover,
.fields .hidden-input--select.hidden-input:focus,
.fields .hidden-input--select.hidden-input--focus {
  background-image: url("../../../images/select_b.png");
  background-repeat: no-repeat;
  background-position: right 6px top 11px !important;
}

.fields .hidden-input:not(.fields__fast-edit--special-text):hover,
.fields .hidden-input:not(.fields__fast-edit--special-text):focus,
.fields__special-text:hover .fields__fast-edit--special-text,
.fields .hidden-input--focus {
  background-color: rgba(255, 255, 255, 1);
}

.fields .hidden-input--select {
  padding-top: 4px;
  padding-bottom: 4px;
  z-index: 1;
}

.fields__select-formatter {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
border-radius: 5px;
padding: 0 13px;
}

.fields__header-title {
  margin: 0;
  max-width: calc(100% - 239px);

  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;

  overflow: hidden;

}
.fields__header-title a {
  font-size: 30px;
  font-weight: bold;
  color: #337ab7;
}

.fields__search-template .drop_down_icon {
  top: -9px;
  right: 0px;
  width: 10px;
}

input[type=checkbox], input[type=radio] {
  margin: 0;
  vertical-align: middle;
}

.radio-inline:has(input:disabled) {
  color: #999;
  pointer-events: none;
}

.fields__header .action-btns__item {
  margin-bottom: 0 !important;
}

.fields__search-template .drop_down_icon {
  top: -9px;
  right: 0px;
  width: 10px;
}

.fields__cell--no-border {
  box-shadow: none !important;
}

.fields__group-title {
    z-index: 2;
    top: calc(50% - 11px);
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    max-width: 32px;
    line-height: 32px;
}

.fields__group-title-prefix {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
    margin-right: 8px;
}
.fields__group-title-postfix {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
    margin-left: 8px;
}

.fields__group-title .autocomplete_val {
  font-weight: bold;
}

.fields__cell-group--title {
  width: 32px;
  overflow: visible !important;
}

.fields__cell--no-border {
  box-shadow: none !important;
}

.user-data__group-select-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 6px;
  padding-top: 6px;
  word-break: break-all;
}

@-webkit-keyframes header-row-show {
  from {
      top: -100px;

      opacity: 0;
  }

  to {
      top: 0;

      opacity: 1;
  }
}


@keyframes header-row-show {
  from {
      top: -100px;

      opacity: 0;
  }

  to {
      top: 0;

      opacity: 1;
  }
}

@-webkit-keyframes fields-preloader-appear {
  to {
      top: 100px;
  }
}

@keyframes fields-preloader-appear {
  to {
      top: 100px;
  }
}

@media (max-width: 2000px) {
  .fields__value {
      margin-right: 0 !important;
  }

  .autocomplete__input--hidden {
      height: 18px;
  }

  .autocomplete__btn--hidden {
      height: 29px;
  }

}

@media (max-width: 1024px) and (max-width: 1400px) {
  .autocomplete__input--hidden {
      height: 18px;
  }

  .autocomplete__btn--hidden {
      height: 18px;
  }
}

@media (max-width: 840px) {
  .edit-field__icons--img {
      margin-right: 5px;
  }

  .fieldTipLinkRed {
      margin-left: 5px;
  }

  .preloaderBlockForCalcs .mouseHoverTip a[tabindex='1'] {
      margin-left: 10px;
  }
}

@media (max-width: 800px) {
  .fields__header-left {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-align: start;
      -webkit-align-items: flex-start;
          -ms-flex-align: start;
              align-items: flex-start;
  }

  .fields__header-title {
      margin-bottom: 5px;
      max-width: 100%;
  }

  .fields__header-settings {
      margin-left: 0;
      margin-bottom: 5px;
  }

  .action-btns__item {
      margin-left: 0;
  }

  body {
      overflow-x: hidden;
  }

  .footer {
      width: auto;
      padding: 8px 0;
  }

  .autocomplete__input--hidden {
      height: 18px;
  }
}

@media (max-width: 500px) {
  .fields__header {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-align: start;
      -webkit-align-items: flex-start;
          -ms-flex-align: start;
              align-items: flex-start;
  }

  .fields__header-right {
      width: 100%;
      -webkit-box-pack: start;
      -webkit-justify-content: flex-start;
          -ms-flex-pack: start;
              justify-content: flex-start;
  }

  .fields__header-left {
      width: 100%;
      margin-bottom: 10px;
  }

  div.title {
      margin: 90px 0px;
  }

  .autocomplete__input--hidden {
      height: 18px;
  }

  .autocomplete__btn--hidden {
      height: 18px;
  }
}

@media (max-width: 100px) {

  .autocomplete__input--hidden {
      height: 20px;
  }

  .autocomplete__btn--hidden {
      height: 17px;
  }
}

@-webkit-keyframes main-image-rotate {
  0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
  }
  100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
  }
}

@keyframes main-image-rotate {
  0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
  }
  100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
  }
}

@-webkit-keyframes main-image-reverse-rotate {
  0% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
  }
  100% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
  }
}

@keyframes main-image-reverse-rotate {
  0% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
  }
  100% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
  }
}

.fixed-panel {
  position: fixed;
  bottom: 23px;
  right: 40px;
  z-index: 999;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.fixed-panel__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  margin-top: 16px;

  color: #fff;

  border-radius: 50%;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);

  -webkit-transition: box-shadow 0.1s;

  transition: box-shadow 0.1s;
}

.fixed-panel__item:hover,
.fixed-panel__item:focus,
.fixed-panel__item:active {
  color: #ccc;

  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.fixed-panel__dropdown-list .fixed-panel__item:hover::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(50,50,50,0.15);
  border-radius: 50%;
}

.fixed-panel__item--main {
  width: 56px;
  height: 56px;
  margin-top: 0;

  background-color: #feda4e;
}
.fixed-panel__item--main.new-design {
    transition: 0.5s
}

.fixed-panel__item.fixed-panel__item--main.new-design .fixed-panel-hidden-expand {
    background-image: url(../../../images/arrow-up.png);
}
.fixed-panel__dropdown-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  padding-bottom: 16px;
  position: relative;
}

.fixed-panel__dropdown-item {
  position: relative;

  display: none;
}

.fixed-panel__image--main {
  position: relative;

  width: 16px;
  height: 16px;

  background-image: url("../img/plus.png");
}

.fixed-panel__image--main-reverse {
  background-image: url("../img/plus-reverse.png");
}

.fixed-panel__image-animation--main {
  -webkit-animation: main-image-rotate 0.4s;
          animation: main-image-rotate 0.4s;
}

.fixed-panel__image-reverse-animation--main {
  -webkit-animation: main-image-reverse-rotate 0.4s;
          animation: main-image-reverse-rotate 0.4s;
}

.fixed-panel__dropdown-item::after {
  content: attr(data-title); /* Выводим текст */
  position: absolute; /* Абсолютное позиционирование */
  right: 55px; top: 20px; /* Положение подсказки */
  z-index: -1; /* Отображаем подсказку поверх других элементов */
  background: rgba(50, 50, 50,0.6); /* Полупрозрачный цвет фона */
  font-size: 14px; /* Размер текста подсказки */
  color: #fff;
  white-space: nowrap;
  padding: 5px 10px; /* Поля */
  border-radius: 2px;
  opacity: 0;
  -webkit-transition: right .3s;
  transition: right .3s;
}

.fixed-panel__dropdown-item.fixed-panel__dropdown-item--active:hover::after {
  background: rgba(50, 50, 50,1);
}

.fixed-panel__dropdown-item--active::after {
  -webkit-animation: .1s linear firstHoverOnYellowCircle forwards;
          animation: .1s linear firstHoverOnYellowCircle forwards;
}

@-webkit-keyframes firstHoverOnYellowCircle {
  0% {
      right: 20px;
      opacity: 0;
  }
  100% {
      right: 55px;
      opacity: 0.6;
  }
}

@keyframes firstHoverOnYellowCircle {
  0% {
      right: 20px;
      opacity: 0;
  }
  100% {
      right: 55px;
      opacity: 0.6;
  }
}

.inner {
  width: calc(100% - 84px);
  min-width: 1024px;
  padding: 30px 42px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, minmax(280px, auto));
  grid-gap: 20px;
}

.inner__block {
  padding: 10px;

  box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.inner__block:hover {
  background-color: #ffffcd;
  box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.15);
}

.inner__header {
  width: calc(100% - 84px);
  padding: 0 42px;
  min-width: 1024px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 18px;
  min-height: 35px;
  margin-top: 20px;
}

.inner__header-left {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.inner__header-item--title {
  margin: 0;

  font-size: 21px;
  font-weight: 700;
  color: #333;
}

.inner__header-item--settings {
  width: 20px;
  height: 20px;

  background-image: url("../img/icons-sprite.png");
  background-position: -50px 0;
  background-repeat: no-repeat;

  opacity: 0.7;
}

.inner__header-item--settings:hover,
.inner__header-item--settings:active,
.inner__header-item--settings:focus {
  opacity: 1;
}

.inner__action-circle {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;

  background-color: rgb(202, 78, 86);
  background-image: -webkit-linear-gradient(bottom, rgb(202, 78, 86) 0%, rgb(249, 68, 119) 100%);
  background-image: linear-gradient(to top, rgb(202, 78, 86) 0%, rgb(249, 68, 119) 100%);
  border-radius: 50%;
}

.inner__action-circle--inside {
  width: 70px;
  height: 70px;
  margin-bottom: 35px;

  box-shadow: 0 0 0 10px rgba(202, 78, 86, 0.4);

  -webkit-transition: box-shadow 0.2s;

  transition: box-shadow 0.2s;
}

.inner__action-link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 27px;
  padding-bottom: 25px;
  min-height: 225px;
}

.inner__action-link:focus,
.inner__action-link:active {
  text-decoration: none;
}

.inner__action-title {
  margin: 0;
  margin-bottom: 11px;

  font-size: 18px;
  color: #202020;
  font-weight: 500;
}

.inner__action-descr {
  font-size: 12px;
  color: #8e8e8e;
  font-weight: 500;
  line-height: 20px;
}

.inner__report--full {
  width: 100%;
  margin: 0 auto;
}

.inner__header-item {
  margin-right: 10px;
}

.inner__header-item:last-child {
  margin-right: 0;
}

.inner__report .inner__header {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.inner__select {
  padding: 4px 33px 4px 10px;

  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  background-image: url("../../../images/select_b.png");
  background-repeat: no-repeat;
  background-position: top 12px right 6px !important;

  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.inner__input {
  padding: 4px 10px;

  font-size: 14px;
  line-height: 20px;
  font-weight: 500;

  border: 1px solid #ccc;
  border-radius: 4px;
}

.inner__input:hover,
.inner__select:hover {
  border-color: #ebb95b;
}

.inner__input:active,
.inner__select:active {
  border-color: #ebb95b;
  background-color: #fff8d5;
}

.inner__datepicker {
  width: 70px !important;
  padding: 4px 44px 4px 10px;
}
.inner__datepicker + .ui-datepicker-trigger {
  opacity: 1;
}

.inner__datepicker-hyphen {
  margin-right: 14px;

  font-size: 14px;
  color: #8e8e8e;
}

.inner__header-item--button {
  padding: 4px 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;

  border: 1px solid #d8c669;
  background-color: #feda4e;
  border-radius: 4px;

  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.update-icon {
  top: 0;

  margin-left: 6px;

  color: #fff;

  -webkit-transform: rotate(0);

          transform: rotate(0);

  -webkit-transition: all 0.6s;

  transition: all 0.6s;
}

.inner__header-item--button:hover .update-icon {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.inner__block--stat {
  padding: 20px 30px;
}

.inner__header-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.inner__stat-item {
  padding-top: 28px;
  padding-bottom: 38px;
  padding-left: 10px;
  padding-right: 10px;
  width: 220px;
}

.inner__stat-item--full {
  width: 170px; /* 230px - paddings (2*30px) */
  padding-right: 30px;
  padding-left: 30px;

  box-shadow: 0 5px 9px 1px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.inner__stat-title {
  margin: 0;
  margin-bottom: 20px;

  font-size: 18px;
  color: #202020;
  line-height: 24px;
}

.inner__stat-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100px;
  margin-bottom: 20px;
}

.inner__stat-content--sells {
  padding-top: 7px;
  padding-bottom: 12px;
  min-height: 81px; /* 100 - paddings*/
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.inner__stat-content--sells .paid-invoice {
  margin-bottom: 2px;

  font-size: 18px;
  color: #202020;
  line-height: 24px;
}

.inner__stat-content--sells .paid-invoice:hover {
  color: #23527c;
}

.inner__stat-content--sells .paid-invoice-descr {
  margin: 0;
  margin-bottom: 30px;

  font-size: 13px;
  color: #8e8e8e;
  line-height: 20px;
}

.inner__stat-content--sells .paid-progress {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: #eff4f6;
}

.inner__stat-content--sells .paid-line {
  height: 6px;

  border-radius: 3px;
  background-color: #81d600;
}

.inner__stat-results {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.inner__stat-results--full {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.inner__stat-result {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.inner__stat-result:not(:last-child) {
  margin-right: 20px;
}

.inner__stat-results--full .inner__stat-result {
  margin-right: 0;
}

.inner__stat-value {
  margin-bottom: 5px;

  font-size: 18px;
  line-height: 20px;
  color: #202020;
}

.inner__stat-descr {
  font-size: 13px;
  line-height: 20px;
  color: #8e8e8e;
}

.inner__stat-content--acounts {
  position: relative;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.inner__stat-content--acounts input{
  font-size: 24px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
}

.inner__stat-content--acounts .percent {
  position: absolute;
  top: 32px;

  font-size: 24px;
  line-height: 24px;
  color: #93db26;
}

.inner__stat-content--bids {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.inner__stat-content--bids .wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 20px;
}

.inner__stat-content--bids .wrap:last-child {
  margin-bottom: 0;
}

.inner__stat-content--bids .value {
  font-size: 18px;
  color: #202020;
  line-height: 20px;
}

.inner__stat-content--bids .descr {
  font-size: 13px;
  line-height: 20px;
  color: #8e8e8e;
}

.inner__stat-call {
  position: relative;

  padding-top: 10px;
  padding-bottom: 9px;
  padding-left: 17px;
  padding-right: 25px;

  font-size: 14px;
  color: #ffffff;
  line-height: 20px;

  background-color: #81d600;
  background-image: -webkit-linear-gradient(bottom, #81d600 0%, #baee6c 100%);
  background-image: linear-gradient(to top, #81d600 0%, #baee6c 100%);
  border-radius: 6px;
}

.inner__stat-call::before {
  content: "";
  position: relative;
  top: 2px;

  width: 16px;
  height: 16px;
  margin-right: 16px;
  display: inline-block;

  background-image: url("../img/inner/phone.svg");
}

.inner__stat {
  max-width: 1260px;
  width: 100%;
}

.inner__stat-header {
  padding: 14px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-bottom: 14px;

  border-bottom: 1px solid #d5d7d7;
}

.inner__stat-header-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;

  font-size: 18px;
  line-height: 20px;
  color: #8e8e8e;
  font-weight: 500;
}

.inner__stat-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.inner__stat-header-key {
  margin-right: 17px;
}

.inner__stat-sort-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-bottom: 18px;

  font-size: 18px;
  color: #8e8e8e;
  line-height: 20px;
}

.inner__stat-sort-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.inner__stat-sort-key {
  margin-right: 15px;
}

.inner__stat-table {
  width: calc(100% - 60px);
  display: table;
  padding-top: 26px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 23px;

  line-height: 20px;
  color: #202020;
  font-size: 18px;

  box-shadow: 0 5px 9px 1px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.inner__stat-row {
  display: table-row;
}

.inner__stat-row--header,
.inner__stat-row--result {
  color: #8e8e8e;
}

.inner__stat-row--header .inner__stat-cell {
  padding-bottom: 20px;
}

.inner__stat-row--result .inner__stat-cell {
  padding-top: 20px;
}

.inner__stat-cell {
  display: table-cell;
  padding: 10px 0;
  width: 20%;
}

.inner-chart {
  box-shadow: 0 5px 9px 1px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  background-color: #ffffff;
}

.inner__chart--main {
  width: 100%;

  box-shadow: 0 5px 9px 1px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.inner__chart-wrap {
  width: calc(100% - 60px);
  margin: 0 auto;
}

.inner__canvas--main {
  width: 100%;
}

.inner__chart-tabs {
  width: calc(100% - 60px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 33px;

}

.inner__chart-tab {
  padding-bottom: 21px;
  padding-top: 23px;

  font-size: 18px;
  line-height: 20px;
  color: #9092a5;

  border-bottom: 2px solid #81d600;
}

.inner__chart-tab--active {
  color: #202020;
}

.inner__charts {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.inner__chart--secondary {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 350px;
  padding: 0 30px;

  box-shadow: 0 5px 9px 1px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.inner__chart-calc {
  font-size: 32px;
  color: #202020;
}

.inner__chart-descr {
  color: #8e8e8e;
  font-size: 13px;
}

.inner__canvas--secondary {
  width: 300px !important;
}

#lk_content {
  min-height: 30px;
}

#lk_manager_foto_v img {
  border-radius: 50%;
}

.lk__warning-text {
  padding: 0 70px;
}

.edit-calendar__autocomplete {
  position: relative;

  margin-right: 5px;
}

.user-data__value:hover .user-data__edit-btn,
.user-data__value--add:hover .user-data__edit-btn,
.textpad_field_value:hover .user-data__edit-btn,

.fields__cell-inner:hover .fields__fast-edit-button--edit,
.fields__cell-inner:hover .fields__fast-edit-button--done,
.user-data__value:hover .user-data__close-edit-btn--hyperlink,
.user-data__value:hover .user-data__close-edit-btn--phone,
.user-data__value:hover .user-data__close-edit-btn--html,
.user-data__value:hover .user-data__close-edit-btn--link {
  opacity: 1;
}

.fields__cell-inner:hover

.user-data__close-edit-btn--html {
  margin-top: 7px;
}

.edit-calendar__autocomplete .drop_down_icon {
  position: absolute;
  right: 0;
  top: -1px;
}

.subtable__table input.bordered-elem,
.subtable__table select.bordered-elem,
.subtable__table textarea.bordered-elem {
  border-color: rgb(160,160,160) !important;
}

.subtable__table .autocomplete__btn.bordered-elem::before {
  opacity: 1;
}

.ui-dialog .ui-dialog-title {
  width: 100% !important;
  white-space: normal !important;
}

.user-data__row--with-prefix .hidden-input {
  width: auto;
  min-width: 180px;
}

.user-data__row--with-prefix .user-data__value {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.user-data__value span:not(.user-data__postfix, .autocomplete) {
  max-width: 100%;
  word-break: break-word;
}

.user-data__user-fields label {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.subtable__table select:hover,
.subtable__table select:focus {
  background-image: url("../../../images/select_b.png");
  background-repeat: no-repeat;
  background-position: center right 6px !important;
}

.user-data__edit-span {
  padding-top: 6px;
  word-wrap: break-word;
}

.one_event_block select{
  width: 262px !important;
  border: 1px dotted rgb(160, 160, 160);
  border-radius: 4px;
}

.one_event_block .edit-mult-value-btn{
  display: none !important ;
}

.header__categories-wrap .flexMenu-viewMore:hover a {
  color: #000;
}

.header__categories-dropdownmenu li,
.header__submenu-dropdownmenu li{
  background-color: #fff;
}

.header__categories-wrap {
  position: relative;
  z-index: 499;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  width: calc(100% - 64px);
  padding-left: 32px;
  padding-right: 32px;
}

.header__submenu-item--add.flexMenu-viewMore > a {
  font-size: 18px;
  font-weight: normal;
}

.header__submenu-item--add.flexMenu-viewMore > a:hover {
  color: #000 !important;
  background-color: white !important;
}

.header__submenu-item--add.flexMenu-viewMore > .header__submenu-dropdownmenu a:hover {
  background-color: transparent !important;
}

.user-data__addit-act span {
  margin-left: 0;
}

.user-data__addit-act:not(.user-data__addit-act--default),
.user-data__addit-act:not(.user-data__addit-act--default):hover,
.user-data__addit-act:not(.user-data__addit-act--default):active,
.user-data__addit-act:not(.user-data__addit-act--default):focus {
  color: #fff;
  text-shadow: 0 1px 0 #4a4b4a;
}

.user-data__addit-act--default,
.user-data__addit-act--default:hover,
.user-data__addit-act--default:active,
.user-data__addit-act--default:focus {
  text-shadow: 0 1px 0 #fff;
  color: #4B4B4B;

  background: -webkit-linear-gradient(bottom, #dbdbdb 10%, #ededed 90%);

  background: linear-gradient(to top, #dbdbdb 10%, #ededed 90%);
}

.user-data__addit-act--default:hover {
  background: -webkit-linear-gradient(bottom, #c9c9c9 10%, #e2e2e2 90%);
  background: linear-gradient(to top, #c9c9c9 10%, #e2e2e2 90%);
}

.user-data__addit-act--primary {
  background: -webkit-linear-gradient(bottom, #2273d0 10%, #3e9cf2 90%);
  background: linear-gradient(to top, #2273d0 10%, #3e9cf2 90%);
  border-color: #00447c;
}

.user-data__addit-act--primary:hover {
  background: -webkit-linear-gradient(bottom, #1962b4 10%, #3474bc 90%);
  background: linear-gradient(to top, #1962b4 10%, #3474bc 90%);
}

.user-data__addit-act--info {
  background: -webkit-linear-gradient(bottom, #0aa8cb 10%, #2bdcfb 90%);
  background: linear-gradient(to top, #0aa8cb 10%, #2bdcfb 90%);
  border-color: #00768c;
}

.user-data__addit-act--info:hover {
  background: -webkit-linear-gradient(bottom, #02a5c7 10%, #22afcd 90%);
  background: linear-gradient(to top, #02a5c7 10%, #22afcd 90%);
}

.user-data__addit-act--warning {
  background: -webkit-linear-gradient(bottom, #d66b13 10%, #ff9933 90%);
  background: linear-gradient(to top, #d66b13 10%, #ff9933 90%);
  border-color: #944a00;
}

.user-data__addit-act--warning:hover {
  background: -webkit-linear-gradient(bottom, #d8770d 10%, #dc862a 90%);
  background: linear-gradient(to top, #d8770d 10%, #dc862a 90%);
}

.user-data__addit-act--danger {
  background: -webkit-linear-gradient(bottom, #c42c5d 10%, #f44f85 90%);
  background: linear-gradient(to top, #c42c5d 10%, #f44f85 90%);
  border-color: #9e0039;
}

.user-data__addit-act--danger:hover {
  background: -webkit-linear-gradient(bottom, #c6285b 10%, #cc426d 90%);
  background: linear-gradient(to top, #c6285b 10%, #cc426d 90%);
}

.header__filter .flexMenu-viewMore:hover>a,
.header__filter-dropdownmenu li a {
  background-color: #fff;
}

.subtable_pages {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: calc(40%);
}

.subtable_pages span{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 2em;
  min-height: 2.0em;
  border-radius: 50%;
  font-size: 13px;
  width: 2.3em;
  height: 2.3em;
  background: #efefef;
  color: #000;
  margin: -1px 0 0 0;
}
.subtable_pages a{
  padding: 1px;
  text-decoration: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  color: #7e7a7a;
  font-size: 13px;
  width: 2.3em;
}


.flexMenu-popup {
  min-width: 70px;
}

.flexMenu-viewMore>a {
  position: relative;
}

.header__categories,
.header__submenu-list,
.header__filter-list,
.header__category-item--add,
.header__submenu-item--add,
.header__filter-item--add {
  -webkit-transform: translateX(-20px);
          transform: translateX(-20px);

  opacity: 0;

  -webkit-transition: all 0.2s;

  transition: all 0.2s;
}

.header--translate {
  opacity: 1;

  -webkit-transform: translateX(0);

          transform: translateX(0);
}

.inner__block--action {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding-top: 30px;
}

.inner__block--action:hover .inner__action-circle--inside {
  box-shadow: 0 0 0 15px rgba(202, 78, 86, 0.4);
}

.ui-dialog {
  z-index: 9999 !important;
}

.inner__wrap {
  overflow: auto;
}

.header {
  -webkit-transition: background-position 0.2s ease-out;
  transition: background-position 0.2s ease-out;
  width: 100%;
}

.header__second-bgr {
  -webkit-transition: background-position 0.4s ease-out;
  transition: background-position 0.4s ease-out;
}

.user-data .autocomplete {
  width: 295px;
}

#edit_field_form .autocomplete {
  width: 282px;
}

/*___________________________AUTOCOMPLETE__________________________________*/

.autocomplete {
  position: relative;

  display: -webkit-box;

  display: -webkit-flex;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.autocomplete .preloader__block {
  top: 100% !important;

  width: calc(100% - 2px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 18px;

  border: 1px solid #767676 !important;
  background-color: #fff;
}

.autocomplete .lds-ellipsis div > div {
  top: 9px;
}

.autocomplete__btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.autocomplete__btn::before {
  content: "";

  display: block;
  width: 6px;
  height: 6px;

  background-color: transparent;
  background-image: url("../../../images/select_b.png");
  background-repeat: no-repeat;
}

.autocomplete__btn--bootstrap {
  width: 18px;
  height: auto;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid #ccc;
  border-left: none;
  box-shadow: inset -1px 1px 1px rgba(0,0,0,.075);
  background-color: #fff;
  align-self: stretch;
}

.autocomplete .autocomplete__input {
  border-radius: 0;
  background-color: transparent;
}

.autocomplete .autocomplete__input:focus,
.autocomplete .autocomplete__input:focus + .autocomplete__btn {
  /* background-color: #fff; */
  background-color: inherit;
}

.autocomplete .autocomplete__input--bootstrap {
  padding: 5px 6px 5px 10px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: 1px solid #ccc;
  border-right: none;
  box-shadow: inset 1px 1px 1px rgba(0,0,0,.075);
  background-color: #fff;
}

.correlation__val .autocomplete{
  width: 78.5%;
}

.correlation__val .autocomplete__btn::before{
  width: 9px;
}
.correlation__val .autocomplete .autocomplete__input--bootstrap {
  width: 100%;
}


.autocomplete:hover .autocomplete__input--bootstrap,
.autocomplete:hover .autocomplete__btn--bootstrap {
  border-color: #ebb95b;
}

.autocomplete__input--bootstrap:focus + .autocomplete__btn--bootstrap {
  background-color: #fff8d5;
  border-color: #ebb95b;
}

.autocomplete .autocomplete__input--hidden {
  padding: 5px 4px;
  border: 1px dotted rgba(0, 0, 0, 0);
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.autocomplete__btn--hidden {
  width: 18px;
  height: 28px;
  border: 1px dotted rgba(0, 0, 0, 0);
  border-left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.autocomplete__btn--hidden::before {
  opacity: 0;
}

.autocomplete__input--hidden:focus + .autocomplete__btn--hidden::before {
  opacity: 1;
}

.autocomplete:hover .autocomplete__input--hidden,
.autocomplete__input--hidden:focus,
.autocomplete__input--hidden:focus + .autocomplete__btn--hidden,
.autocomplete:hover .autocomplete__btn--hidden,
.user-data__row-wrap .autocomplete__input--hidden,
.user-data__row-wrap .autocomplete__btn--hidden {
  border-color: rgb(160, 160, 160);
}

.autocomplete:focus .autocomplete__btn--hidden::before,
.autocomplete:hover .autocomplete__btn--hidden::before,
.user-data__row-wrap .autocomplete__btn--hidden::before {
  opacity: 1;
}

.autocomplete:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(245, 239, 61, .6);
}

.autocomplete__input--bootstrap:hover,
.autocomplete__btn--bootstrap:hover,
.autocomplete__input--bootstrap:focus,
.autocomplete__btn--bootstrap:focus {
  border-color: #ebb95b;
}

.autocomplete__input--bootstrap:focus,
.autocomplete__btn--bootstrap:focus {
  background-color: #fff8d5;
}

.subtable .autocomplete__input {
  width: 100%;
}

.ui-menu-item-wrapper {
  padding: 2px 6px !important;
  border: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
.ui-menu-item-wrapper .autocomplete__additional-param {
  width: 100%;
  flex-basis: auto;
}

.ui-menu-item-wrapper.ui-state-active {
  background-color: #1e90ff !important;
  border: none !important;
}



.ui-widget.ui-widget-content.ui-autocomplete {
  z-index: 9999;
  border-color: #767676 !important;
}

.autocomplete__val {
  display: block;
}

.ui-menu .ui-state-active,
.ui-menu .ui-state-focus {
  margin: 0 !important;
}

.fields__cell-inner .fields__simple-text--link .show-field-slave__item--inline {
  font-size: 12px;
}

/*.ui-menu .ui-menu-item:nth-child(n+1) {
  margin-bottom: 8px;
}
.ui-menu .ui-menu-item:last-child {
  margin-bottom: 0;
}*/
.ui-menu .ui-menu-item .autocomplete__additional-param {
  font-size: 12px;
}
.subtable .subtable__cell .show_field_slave {
  padding: 0 0 5px;
}
.sub-slave_fields .show_field_slave .show-field-slave__item {
  font-size: 12px;
}

.select2-selection.select2-selection--multiple {
  user-select: text !important;
}

/*__________________________________________________________________________*/

#mini_calendar_layout input,
#mini_calendar_layout select,
#mini_calendar_layout textarea {
  width: 120px;
}

.fields__search-cond {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2px;
}

.fields__search-cond .autocomplete__input {
  width: 150px;
}

.fields__search-cond-item {
  margin-right: 6px;
}

.fields__multi-val-select {
    z-index: 2 !important;
}
.fields__multi-val-select-dropdown {
  position: absolute;
  z-index: 1;
  /* width: 100%; */
  padding: 3px;
  max-height: 150px;
  display: none;

  border: 1px solid #ccc;
  background-color: #fff;

    overflow: auto;

    color: #333;
}

.fields__multi-val-select-item {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.fields__multi-val-select-item.check-all {
  border-bottom: 1px solid gray;
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.fields__multi-val-select-item input {
  margin-right: 2px;
}
/*
.fields__multi-val-select-item input:checked + label,
.fields__multi-val-select-item label:hover {
    background-color: #0075FF;
    color: #fff;
}
*/

.fields__multi-val-select-item label {
  width: calc(100% - 15px);
}

.user-data__row-wrap {
  position: absolute;
  z-index: 9999;

  padding-top: 14px;
  padding-bottom: 7px;
  display: none;
  margin-top: 14px;

  color: #000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.1);
}

user-data__row-wrap_sub {
  position: absolute;
  z-index: 9999;

  padding-top: 14px;
  padding-bottom: 7px;
  display: none;
  margin-top: 14px;

  color: #000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.1);

  top: -75px !important;
  left: 0 !important;
}

user-data__row-wrap_sub {
  position: absolute;
  z-index: 1002;

  padding-top: 14px;
  padding-bottom: 7px;
  visibility: hidden;
  margin-top: 14px;

  color: #000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.1);

  top: -75px !important;
  left: 0 !important;
}

.ui-autocomplete {
  max-height: 300px;

  overflow-y: auto;
  overflow-x: hidden;
}

#edit_field_form .autocomplete__input {
  width: 262px;
}

#filter_form .autocomplete__input{
  width: 240px;
}

.edit-tip__cond-row {
  padding: 2px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: -23px;
}

.add-conditions-header {
  vertical-align: top;
  padding-top: 8px;
}


#format_form select.form-control {
  padding: 5px 10px;
}

.autocomplete__additional-param {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 10px;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-right: 2px;
  padding-top: 2px;
  -webkit-flex-basis: 90%;
      -ms-flex-preferred-size: 90%;
          flex-basis: 90%;
}

.action-btns__item--disabled,
.action-btns__item--disabled:focus,
.action-btns__item--disabled:active,
.action-btns__item--disabled:hover {
  background: -webkit-linear-gradient(bottom, #dbdbdb 10%, #ededed 90%);
  background: linear-gradient(to top, #dbdbdb 10%, #ededed 90%);

  color: rgba(75, 75, 75, 0.51);

  cursor: default;
}

.preview-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: unset;
    position: relative;
    cursor: pointer;
}
.preview-switcher.action-btns__item {
    border: 1px solid rgba(0,0,0,0.25);
    background: linear-gradient(to top, #efefef 30%, white 70%);
}
.preview-switcher .switch-btn{
    float: none;
    top: unset;
    left: unset;
    background: rgba(193,193,193, 1);
}
.preview-switcher .switch-btn::before {
  content: none;
}
.preview-switcher .switch-btn > div {
    opacity: 0;
}
.preview-switcher .switch-btn.switch-on > div {
    opacity: 0.5;
}
.preview-switcher .preview-title{
  opacity: 0;
  transition: 0.3s;
  font-size: 12px;
  color: rgb(152,152,152);
  white-space: nowrap;
  visibility: hidden;
  position: absolute;
  top: -25px;
  left: 0;
}
.preview-switcher .switch-btn.switch-on + .preview-title {
  /*opacity: 1;*/
  display: initial;
  opacity: 0.6;
  visibility: visible;
}
.preview-switcher .switch-btn.switch-on + .preview-title.switched {
  transition: 2s;
  opacity: 0;
}

#view_block.preview-mode .user-data__wrap {
    flex-direction: column;
    margin: 0 auto;
}
#view_block.preview-mode .user-data__row:not([class^='add_link_edit_block']){
    display: none;
}
#view_block.preview-mode .user-data__row.preview-visible {
    display: flex;
}
#view_block.preview-mode .user-data__row:not(.preview-visible):not([class^='add_link_edit_block']) {
    display: none;
}
#view_block.preview-mode .user-data__row.preview-visible {
    display: flex !important;
}
div[class^='add_link_edit_block'] ~ div.user-data__row:not([class='preview-mode']) {
  display: flex !important;
}

.user-data__mask-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  display: block;
  min-width: 120px;
}

.user-data__mask-wrap textarea.hidden-input,
.user-data__mask-wrap input {
  width: calc(100% - 10px); /* width - paddings */
}

.user-data__list--simple .templ_tips {
  width: 130px;
}

.user-data__list.user-data__list--edit,
.user-data__list.user-data__list--simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 80%;
}
.user-data__list.user-data__list--edit .user-data__header,
.user-data__list.user-data__list--simple .user-data__header{
    display: flex;
    width: unset;
}
.user-data__list.user-data__list--simple .user-data__header .user-data__settings.settings{
    display: inline-block;
}
.user-data_header_buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 3px;
}
#favorite_status {
  display: flex;
  align-items: center;
  justify-content: center;
}
#favorite_status label.add-to-favorites-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.user-data__list.user-data__list--edit .user-data_header_buttons {
    top: 2px;
}
.user-data__row--bind>.user-data__row {
  margin-bottom: 0;
}

.user-data__add-link-triangle {
  position: absolute;
  top: -14px;
  right: 28%;

  width: 16px;
  height: 14px;

  background-image: url("../../../images/add-link-block-triangle.png");
  background-repeat: no-repeat;
}

#sel_records .user-data__add-link-triangle {
  right: unset;
  left: 15%;
}

.subtable .user-data__add-link-triangle {
  right: unset;
  left: 5%;
}

.user-data textarea.hidden-input {
  padding-right: 15px;
}

.user-data textarea.hidden-input:hover, .user-data textarea.hidden-input:focus {
    /*overflow: overlay !important;*/
}

.overlay {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background-color: rgba(255, 255, 255, 0.5);
}

.user-data__autocomplete-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    word-break: break-all;
}

.user-data__autocomplete-wrap .autocomplete__input {
  width: calc(100% - 30px);
}

.user-data__autocomplete-wrap .autocomplete {
  width: calc(100% - 24px);
}

.user-data__autocomplete-wrap--hidden .autocomplete__btn--hidden:hover {
  background-color: #fff;
}

.user-data__autocomplete-wrap .autocomplete {
  margin-right: 9px;
}

.user-data .autocomplete__input--hidden {
  max-width: 100%;
}

.cond-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.cond-container .autocomplete {
  width: 182px;
}

.cond-container .autocomplete__input {
  width: calc(100% - 20px);
}

.construct_select, .cond-container {
  margin: 5px 0;
}

.calc__type-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  width: 75%;
  padding: 25px;
}

.calc__type-block {
  margin: 25px;
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;

}

.calc__type-link {
  width: 150px;
  height: 150px;
  color: inherit;
}

.calc__type-block-content {
  width: 100%;
  height: 100%;
  padding-top: 5px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.calc__type-block-content p {
  margin-top: 5px;
}

.select_tpl {
  margin-right: 5px;
}

.icon {
  cursor: pointer;
}

.calc_params_block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.calc_params_create_row {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 3px;
}

.calc_params_create_key {
  width: 45%;
  text-align: right;
}

.calc_params_create_val {
  text-align: left;
}
#additional_settings textarea {
  width: 500px;
}
.calc_params_create-div {
  text-align: center;
  width: 392px;
  margin: 0 0 0 43%;
}
.calc_params_create-div>span{
  margin: 0 0 0 2%;
}

.calc_params_save-btn {
  margin: 3px 4% 0 0;
}

#period_advanced .cron-input {
  width: 170px;
  margin-left: 2px;
}

span.mult_link_count {
  position: absolute;
  right: -18px;
  top: 4px;

  font-weight: normal;
  color: #0000FF;
  cursor: pointer;
  text-decoration: underline;
}

.user-data__user-fields--view {
  position: relative;

  display: none;
}

.user-data__autocomplete-wrap--hidden .autocomplete {
  width: 100%;
  margin-right: 0;
}

@media (max-width: 1060px) {
  .fixed-transition {
      display: none;
  }
  .inner__header {
      width: calc(100% - 20px);
      padding: 0 10px;
      min-width: 1024px;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-flex-wrap: wrap;
          -ms-flex-wrap: wrap;
              flex-wrap: wrap;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
          -ms-flex-pack: justify;
              justify-content: space-between;
      -webkit-box-align: center;
      -webkit-align-items: center;
          -ms-flex-align: center;
              align-items: center;
      margin-bottom: 18px;
      min-height: 35px;
      margin-top: 80px;
  }

  .subtable, .subtable__head, .subtable__table {
      min-width: auto;
  }

  .subtable__head {
      margin: 0;
  }

  .autocomplete__btn--hidden {
      height: 28px;
  }
}

@-moz-document url-prefix() {
  .ui-menu-item-wrapper {
      padding: 4px 6px !important;
  }

  .autocomplete__input--bootstrap {
      height: 18px;
  }

  .autocomplete__input--hidden {
      height: 19px;
  }

  .autocomplete__btn--hidden {
      height: 29px;
  }

  @media (max-width: 800px) {
      .autocomplete__btn--hidden {
          height: 30px;
      }
  }

  @media (max-width: 1060px) {
      .autocomplete__btn--hidden {
          height: 29px;
      }
  }
}

@media (min-width: 1422px) {
  .user-data__autocomplete-wrap--hidden .autocomplete {
      width: 100%;
      margin-right: 0;
  }

  .input[type="text"].hidden-input--link {
      width: 100%;
  }

  .user-data input[type="text"].hidden-input--hyperlink,
  .user-data input[type="text"].hidden-input--phone,
  .user-data textarea.hidden-input--html {
      width: 100%;
  }

  .user-data__wrap {
      width: 920px;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -webkit-flex-direction: row;
          -ms-flex-direction: row;
              flex-direction: row;
      -webkit-box-align: start;
      -webkit-align-items: flex-start;
          -ms-flex-align: start;
              align-items: flex-start;
  }

  .user-data__list {
      margin-right: 20px;
  }

  .user-data__item {
      width: 100%;
  }

  .user-data__table {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-flex-wrap: wrap;
          -ms-flex-wrap: wrap;
              flex-wrap: wrap;
      -webkit-box-align: start;
      -webkit-align-items: flex-start;
          -ms-flex-align: start;
              align-items: flex-start;

      width: 100%;
  }

  .user-data__row {
      width: 460px;
  }

  .user-data__row:nth-of-type(even) {
      margin-right: 0;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) input[type="text"],
  .user-data__list--edit:not(.user-data__list--one-cell) textarea,
  .user-data__list--edit:not(.user-data__list--one-cell) select {
      max-width: 223px;
  }

  .user-data__list input[type="text"],
  .user-data__list select {
      height: 18px;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) .autocomplete {
      max-width: 237px;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) .user-data__value--add {
      width: 51%;
  }
}

@media (min-width: 1900px) {
  .user-data__value-wrap {
      margin-left: 0;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) input[type="text"],
  .user-data__list--edit:not(.user-data__list--one-cell) textarea,
  .user-data__list--edit:not(.user-data__list--one-cell) select {
      max-width: 235px;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) .autocomplete {
      max-width: 249px;
  }

  .user-data__wrap {
      width: 1410px;
  }

  .user-data__row {
      width: 470px;
  }

  .user-data__row:nth-of-type(3n) {
      margin-right: 0;
  }

  .user-data__list--edit:not(.user-data__list--one-cell) .user-data__value--add {
      width: 53%;
  }
}

@media print {
  .user-data__wrap {
      width: 550px;
  }

  .fields__body,
  .user-data__wrap,
  .user-data {
      display: block !important;
  }
}

/*костыль*/

.fields__search-bar .drop_down_icon {
  right: 0;
  top: -9px;
}

.fields__search-bar input[type="text"] {
  height: 18px;
}

.panel-heading {
  box-sizing: border-box;
}

.ui-timepicker-div .ui_tpicker_second_label {
  float: left;
  display: inline-block;
  margin-top: 2px;
  margin-left: 4px;
  height: 14px;
}

.ui-timepicker-div .ui_tpicker_time_label {
  float: left;
  margin-left: 4px;
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_hour_label {
  float: left;
  display: inline-block;
  margin-left: 4px;
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_minute_label {
  float: left;
  display: inline-block;
  margin-left: 4px;
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_hour {
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_minute {
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_time {
  /*float:left;*/
  margin-left: 5.5em;
  height: 14px;
  margin-bottom: 5px;
}

.ui-timepicker-div .ui-slider.ui-slider-horizontal {
  width: 10.5em;
  height: 12px;
  margin-left: 2.3em;
}

.ui-timepicker-div dd {
  margin-left: 40px;
}

.ui_tpicker_minute,
.ui_tpicker_hour {
  padding-top: 4px;
}

.ui_tpicker_hour_label {
  padding-top: 2px;
}

.subtable__table input[type="text"].datepicker {
  width: 70px;
  padding: 5px;
}

.subtable__table input[type="text"].datepicker:hover,
.subtable__table input[type="text"].datepicker:active,
.subtable__table input[type="text"].datepicker:focus {
  cursor: pointer;
  color: #000 !important;
  background-color: white !important;
}

.subtable__table input[type="text"].datetimepicker {
  width: 120px;
  padding: 5px;
}

.phone_type:hover {
  background: transparent !important;
}

.phone_type img {
  background: transparent !important;
}

.phone_type img:hover {
  background: transparent !important;
}

.subtable__table-wrap .preloader__block {
  top: 0;

  background: none;
}

.ui-dialog-titlebar-close {
  background-image: url("../../../images/cancel_a.gif") !important;
  background-repeat: no-repeat;
  background-position: 3px 4px;
  border: none;
}
.fields .fields__cell-inner > select,
.fields__fast-edit {
    z-index: 2;
}
.fields__cell-inner > select + .fast_edit_expanded_label,
.fields__date-field .fast_edit_expanded_label,
.fields__multi-val-select-text + .fast_edit_expanded_label,
.fields__fast-edit + .fast_edit_expanded_label {
    z-index: 1;
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: 3px;
    max-width: unset;
}
textarea.fields__fast-edit + .fast_edit_expanded_label {
  bottom: 15px;
}
.fields__date-field .fast_edit_expanded_label,
.fields__fast-edit + .fast_edit_expanded_label.label-text {
    left: -6px;
}
.fields__fast-edit--text {
  resize: none;
}

.fields__cell-inner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  word-break: break-word;
  border-radius: 5px;
  padding: 4px 18px 4px 7px;
  min-height: 18px;
}

.fields__value {
  margin-right: 5px;
}

.fields__simple-text {
  word-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}

.fields__cell-inner div.fields__simple-text.fields__simple-text--fixed {
  padding: 0;
}

.fields__cell-inner div.fields__value:empty {
  padding: 0;
}

.fields__simple-text--fixed .show_field_slave {
  margin-top: 5px;
}

.fields__simple-text .autocomplete_val {
  display: block;
}

.fields__simple-text span.autocomplete_val {
  max-width: 300px;
  white-space: normal;
  word-break: normal;
}

.fields__simple-text a.autocomplete_val{
  display: initial;
}

.fields__special-text a.autocomplete_val{
  display: initial;
}

.sub-slave_fields a.autocomplete_val,
.user-data__edit-block a.autocomplete_val {
  text-decoration: underline !important;
}

.subtable__cell .sub-slave_fields.inline a.autocomplete_val:has(.show-field-slave__item--inline) {
    text-decoration: none !important;
}
.subtable__cell .sub-slave_fields.inline a.autocomplete_val:has(.show-field-slave__item--inline) .main_value_title{
    text-decoration: underline !important;
}
.fields__cell .sub-slave_fields.inline a.autocomplete_val:has(.show-field-slave__item--inline) {
    text-decoration: none !important;
}
.fields__cell .sub-slave_fields.inline a.autocomplete_val:has(.show-field-slave__item--inline) .main_value_title{
    text-decoration: underline !important;
}

.autocomplete_val {
  word-break: normal !important;
  white-space: break-spaces !important;
}
.subtable .autocomplete_val {
  word-break: break-word !important;
}
.fields__group-title .autocomplete_val {
  white-space: nowrap !important;
}

.autocomplete_val img,
.show_field_slave img,
.show-field-slave__item img {
  border-radius: 50%;
}

.image-link-inline {
  flex-direction: column;
}

a.autocomplete_val:hover {
  color: blue;
  background: none !important;
}

.autocomplete_val img {
  margin-right: 5px;
  margin-bottom: 5px;
}

.subtable__cell span.autocomplete {
  width: 90%;
}

.fields--no_margin{
  margin-top: -13px;
}

.fields__special-text--link {
  min-width: 150px;
}

.fields__special-text--link .autocomplete {
  display: none;
  width: calc(100% - 20px);
}

.fields__special-text--link .autocomplete__input {
  width: calc(100% - 20px);

  background-color: transparent;
}

.fields__special-text--link:hover .autocomplete__input,
.fields__special-text--link:hover .autocomplete__btn,
.fields__special-text--link .autocomplete__input:focus,
.fields__special-text--link .autocomplete__input:focus + .autocomplete__btn {
  background-color: #fff;
  border-color: rgb(160, 160, 160);
}

.fields__special-text--link:hover .autocomplete__btn::before {
  opacity: 1;
}

.fields__special-text--link .autocomplete__input {
  border-right: none !important;
}


/*костыль*/

.fast_edit_text {
  border-radius: 4px;
}

.preloader--by-subtable-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;

  margin: 0;
  margin-left: -50px;
}

.subtable>.preloader__block {
  padding-top: 32px;
}

/* Events */

.event-tooltip_wrap {
  position: fixed;
  bottom: -2000px;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  left: 30px;
  width: 300px;
  z-index: 1001;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: .95;
}

#event_tooltip {
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.event_bubble {
  opacity: 0.9;
  background: #000;
  border-radius: 10px;
  display: none;
  margin-bottom: 7px;
  padding-bottom: 10px;
  position: relative;
}

.event-tooltip__tips-count::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 8.5px;
    width: 1px;
    height: 1px;
    background-color: #feda4e;
    border-radius: 50%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: scale(0);
            transform: scale(0);
}

.event-tooltip__tips-count--new::after {
  -webkit-transform: scale(8);
          transform: scale(8);
}

.event_header {
  font-size: 13px;
  font-weight: bold;
  padding: 10px 15px 0px;
  color: #444;
}

.event-tooltip--hover .event_content--hover {
  max-height: calc(100vh - 300px);
}

.event-tooltip--hover .event_content--hover .event_content--after {
  opacity: 0;
}

.event_content {
  position: relative;
  line-height: 1.4em;
  max-height: 2.8em;
  overflow: hidden;
  padding: 10px 15px 0;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  word-wrap: break-word;
  white-space: pre-wrap;
  -webkit-transition: max-height 0.5s 0.5s;
  transition: max-height 0.5s 0.5s;
}

#event_tooltip_asterisk .event_content {
  max-height: none;
}

.event_content--asterisk {
  max-height: unset;
}

.event_content--asterisk .event_content--after {
  display: none;
}

.event_content--fix-height {
  -webkit-transition: max-height 0.5s;
  transition: max-height 0.5s;
}

.event-tooltip__control {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: calc(100% - 30px);
  margin-bottom: 7px;
  padding: 10px 15px;

  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 10px;

  cursor: pointer;
}

.event-tooltip__button--close:hover {
  opacity: 1;
}

.event-tooltip__button--close {
  width: 19px;
  height: 19px;
  display: block;
  background-image: url("../../../images/notifications-close-all.svg");
  opacity: 0.8;
}

.event_content--after {
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1.2em;
  opacity: 1;
  -webkit-transition: opacity 0s 0.5s;
  transition: opacity 0s 0.5s;
}

.event-tooltip__tips-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  opacity: .8;
}

.hidden-all-notifies .event-tooltip__tips-info {
  opacity: 0.5;
}

.event-tooltip__tips-info:hover,
.hidden-all-notifies:hover .event-tooltip__tips-info {
  opacity: 1;
}

.event-tooltip__tips-count {
  position: relative;
  margin-left: 3px;
}

.event_tooltip_close,
.event-tooltip__settings {
  float: right;
  cursor: pointer;
}

.event-tooltip__notifications-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

#event_tooltip_asterisk .event_bubble {
  display: block;
}

/* ------ */

.fast_edit_text--hyperlink {
  height: 23px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;

  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;

  border-radius: 4px;
}

.fast_edit_text--hyperlink:hover {
  border: 1px dotted #d0d0d0 !important;
}

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

.hidden-input--text {
  overflow: hidden !important;
}

.hidden-input--text-fix-height {
  max-height: 302px;
}

.hidden-input-text-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
}

.hidden-input-text-wrap textarea[type_field="1"] {
  white-space: nowrap;
}

.user-data__html-val--fix-height {
  max-height: 288px;
  max-width: 324px;
  overflow: hidden;
}
.user-data__edit-block--html table {
  max-width: 100%;        /* Таблица не выйдет за ширину блока */
  max-height: 100%;       /* Высота по размеру родителя */
  table-layout: fixed;    /* Чтобы столбцы не растягивались */
  word-break: break-word; /* Перенос слов, если нужно */
  overflow-wrap: break-word;
}


.user-data__html-val ul{
  list-style-type: disc;
  margin-bottom: 10px;
  margin-left: 45px;
}

.user-data__edit-block--html {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.user-data__text-resize-btn {
  position: absolute;
  bottom: -7px;
  left: 6px;
}

.link-color {
  color: blue;
}

.link-color:hover {
  color: #23527c;
}

.fields__fast-edit--special-text,
.fields__fast-edit-button--done {
  display: none;
}

.fields input.fields__fast-edit--special-text,
.fields textarea.fields__fast-edit--special-text {
  width: 100%;
  max-width: 90% !important;
}

.fields__fast-edit-button--done {
  top: 10px;
}

.fields__special-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
  /* width: 95%; */
  -ms-flex-wrap: wrap;
      -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 0;
  position: relative;
  min-height: 20px;
}

.user-data__close-edit-btn--html {
  margin-top: 7px;
}

.fields__fast-edit--num {
  text-align: right;
}

.fields__date-field {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.fields__date-field img {
  border-radius: 0;
}

.fields__simple-text--fixed {
  max-height: 18px !important;
}

.fields__simple-text--fixed .sub-slave_fields{
  height: 18px;
  justify-content: flex-start;
}

.fields__simple-text--fixed .sub-slave_fields .autocomplete_val{
  height: 100%;
}
.fields__body .fields__table .fields__row .fields__simple-text--fixed .autocomplete_val{
  max-height: 18px;
  align-items: baseline;
}
.fields__simple-text--fixed .sub-slave_fields .autocomplete_val > span:not([class]){
  height: 100%;
}
.fields__simple-text--fixed .sub-slave_fields .show-field-slave__item--inline{
  height: 100%;
}

.fields__simple-text--fixed-file {
  overflow: hidden;
}
.fields__simple-text--fixed-file a:first-child{
  display: block;
}

.fields__simple-text .fields__simple-text--fixed {
  max-height: 20px;
}

.fields__resize-btn-container {
  display: flex;
  position: absolute;
  min-height: 100%;
  right: -18px;
  top: -5px;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fields__cell-inner--multy .fields__resize-btn-container {
  top: -10px;
}

.textpad .fields__resize-btn-container {
  width: auto;
  min-height: auto;
  margin: 10px 0;
  right: -14px;
}

.fields__cell-inner--with-fixed.fields__cell-inner:hover .fields__resize-btn-container,
.textpad:hover .fields__resize-btn-container {
  opacity: 1;
}
body .fields__resize-btn-container .fields__resize-btn {
  display: inline-block;
  margin-left: auto;
  border-radius: 3px;
  padding: 6px;
  position: relative;
  right: 0;
  top: 5px;
  z-index: 2;
}

body .fields__resize-btn-container .fields__resize-btn::after {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  background-color: var(--cur-scheme-color-3);
  -webkit-filter: invert(1) opacity(0.3);
    filter: invert(1) opacity(0.3);
  border-radius: 3px;
}

body .fields__resize-btn-container .fields__resize-btn::before {
  content: "";
  display: block;
  position: absolute;
  height: 16px;
  width: 16px;
  background-color: var(--cur-scheme-color-3);
  mask: url(../../../images/opening_arrow.svg) center no-repeat;
  -webkit-mask: url(../../../images/opening_arrow.svg) center no-repeat;
  background-size: 8px 5px;
  transition: transform 0.2s ease-in-out;
  z-index: 99;
}

.fields__resize-btn-down::before {
  transform: rotate(180deg);
}

.fields__simple-text--fixed,
.fields__simple-text--fixed a,
.fields__simple-text--fixed .fields__simple-text-resize,
body .fields__simple-text--fixed .autocomplete_val:not(.sub-slave_fields),
.fixed-height .fast_edit_text  {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  max-width: 100%;
  transition: all 0.2s ease;
}

body .fields__simple-text--fixed .sub-slave_fields .autocomplete_val {
  overflow: visible;
}

.fields__simple-text--link.fields__simple-text--fixed .autocomplete_val {
  overflow: visible;
}

.fields__resize-btn {
  position: absolute;
  bottom: -13px;
  display: none;
  font-size: 13px;
  width: 22px;
  height: 20px;
  /*text-align: left;*/
}

.fields__resize-btn + select.fields__simple-text--fixed + .select2 {
  max-height: 1.6em;
  overflow: hidden;
  align-items: flex-start;
}
.fields__resize-btn + select.fields__simple-text--fixed + .select2 .select2-search--inline{
  display: none;
}
.fields__resize-btn + select.fields__simple-text--fixed + .select2 .select2-selection__choice{
  align-items: flex-start;
}
.fields__resize-btn + select.fields__simple-text--fixed + .select2 .select2-selection__choice:first-child{
  margin-top: 0;
}
.cond-container .cons_field,
.cond-container .cons_cond,
.cond-container .cons_params,
.cond-container .cons_union {
  margin-right: 5px;
  margin-bottom: 5px;
}

.fields__simple-text--link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          -webkit-justify-content: center;
          justify-content: center;
  min-width: 50px;
  min-height: 18px;
  max-height: inherit;
}
.fields__body .fields__cell .fields__simple-text--link {
  line-height: 1.5;
}

.user-data__value .ui-datepicker-trigger {
  margin-top: 3px;
}

.underline,
.underline textarea,
.underline input  {
  text-decoration: underline;
}

.line-through,
.line-through textarea,
.line-through input {
  text-decoration: line-through;
}

.underline.line-through,
.underline.line-through textarea,
.underline.line-through input {
  text-decoration: line-through underline !important;
}

.italic,
.italic textarea,
.italic input {
  font-style: italic;
}

.bold,
.fields__cell.bold a {
  font-weight: bold;
}

.fields__special-text {
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  width: 100%;
}

.fields__simple-text--link .autocomplete_val {
  display: flex;
  align-items: center;
}

.subtable__cell a.autocomplete_val {
  max-width: 100%;
}

.subtable__cell a.autocomplete_val,
.fields__simple-text--link a.autocomplete_val {
  display: flex;
  align-items: center;
}

span.autocomplete_val .image-link {
  display: flex;
  align-items: center !important;
}

.conf_navigation_img_cell .image-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fields__simple-text--link a.autocomplete_val,
.fields__simple-text--link a.autocomplete_val:hover {
  text-decoration: underline !important;
}

.sub-slave_fields a.autocomplete_val, .user-data__edit-block a.autocomplete_val {
  display: flex;
  align-items: center;
}

.fields p {
  margin: 0;
}

.fields__wrap {
  border-radius: 7px;
}

#fields_content_table {
  overflow: overlay !important;
  width: 100%;
}

.fast_edit_text {
  min-height: 20px;
  min-width: 32px;
  width: calc(100% - 5px);
}

.user-data__row--incorrect b {
  color: red !important;
}

.user-data__row--incorrect textarea,
.user-data__row--incorrect select,
.user-data__row--incorrect input[type="text"] {
  background-color: var(--color-misty-rose);
  color: red;
}

#ext_search_set .ui-datepicker-trigger {
  opacity: 1;
}

.fields__search-cond .autocomplete__input--bootstrap,
.fields__search-template .autocomplete__input--bootstrap {
  background-color: #fff;
}

.correlation__row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.correlation__key {
  width: 45%;
  text-align: right;
  display: -ms-grid;
  display: grid;
  padding-right: 3px;
  grid-template-columns: 99fr 0.5fr 0.5fr;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-grid-columns:99fr 0.5fr 0.5fr;
}

.correlation__val {
  position: relative;

  text-align: left;
  padding: 3px;
}

.correlation__settings {
  position: absolute;
  right: -20px;
  bottom: 11px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.correlation__settings-btn {
  width: 16px;
  height: 16px;

  background-repeat: no-repeat;
}

.fields__cell-inner .correlation__settings-btn--add {
  top: 5px !important;
  right: 0 !important;
}

.fields__cell-inner:hover .correlation__settings-btn--add {
  opacity: 1;
}

.correlation__settings-btn--add {
  background-image: url("../../../images/green_plus.png");
  background-position: -2px -2px;
  opacity: 0;
}
.correlation__settings-btn--add:hover {
  opacity: 1;
}

.correlation__settings-btn--remove {
  background-image: url("../../../images/b_drop.png");
}

.correlation-wrap {
  position: relative;
  margin-top: 5px;
  border-top: 1px solid #ccc;
}
.correlation-wrap--noupperline {
  position: relative;
  margin-top: 5px;
}
.ui-priority-secondary {
  opacity: 1 !important;
  font-weight: bold !important;
}

div.colorpicker-container {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  padding-bottom: 5px;
}

div.colorpicker-container .sp-palette-toggle,
div.colorpicker-container .sp-choose {
  background: -webkit-linear-gradient(#fff 0%,#e6e6e6 100%);
  background: linear-gradient(#fff 0%,#e6e6e6 100%);
  border-color: #ccc;
  color: #333;
  font-size: 12px;
  height: 30px;
  padding: 0 10px;
}

div.colorpicker-container .sp-choose {
  position: absolute;
  right: 0;
}

.sp-button-container.sp-cf {
  position: relative;
  width: 100%;
  min-height: 25px;
}

/* .sp-replacer.sp-light .sp-preview {
  background: none !important;
} */

div.colorpicker-container .sp-clear {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

div.colorpicker-container .sp-clear:hover {
  background-color: #dedede;
  cursor: pointer;
}

div.colorpicker-container .sp-palette-toggle:hover,
div.colorpicker-container .sp-choose:hover {
  background: -webkit-linear-gradient(#fff 0%,#e6e6e6 100%);
  background: linear-gradient(#fff 0%,#e6e6e6 100%);
  border-color: #adadad;
  color: #333;
}

div.colorpicker-container .sp-clear.clear-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  /* bottom: 0; */
  left: 0;
  width: 70px;
  position: absolute;
  background: -webkit-linear-gradient(#fff 0%,#e6e6e6 100%);
  background: linear-gradient(#fff 0%,#e6e6e6 100%);
  border-color: #ccc;
  color: #333;
  font-size: 12px;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
}

div.colorpicker-container .sp-hue {
  height: 78%;
  top: 22%;
}

div.colorpicker-container .sp-input:focus {
  background-color: #fff;
}

div.colorpicker-container .sp-cancel {
  display: none;
}

div.colorpicker-container .sp-palette {
  min-height: 198px;
}

div.sp-replacer {
  background-color: #fff;
  border: 1px solid #cccccc;
}

div.sp-replacer:hover {
  border-color: #cccccc;
}

div.sp-replacer.sp-active {
  border-color: #ebb95b;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(245, 239, 61, .6);
}

div.colorpicker-container .sp-palette-container {
  border-right: none;
}

.crypt-field {
  display: none;
}

.correlation .autocomplete__input--bootstrap {
  width: 150px;
}

.default-width .html-editor-div {
  width: 200px;
}

.dotdotdot{
  padding-top: 10px;
}

.fields__footer .fields__row-top-count{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 13px;
  width: 100%;
}

.fields__footer .fields__row-top-count--wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 0 0 0;
}
.fields__footer .fields__act-arc{
  width: 40%;
  padding: 20px 0 3px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: end;
  -webkit-justify-content: end;
      -ms-flex-pack: end;
          justify-content: end;
}
.fields__footer #act_arc_del a{
  margin-left: 3px;
}

.autocomplete__input--linked {
  color: blue;
  text-decoration: underline;
}
#leg_close {
  padding: 0 15px;
}

#leg_close:hover {
  cursor: pointer;
  opacity: .8;
}

.calc_tpl_class>.correlation__val span.autocomplite {
  width: 86%;
}

#edit_quastionary .autocomplete .autocomplete__input--bootstrap {
  width: 91%;
}
.ui-dialog-buttonset{
  width: 100%;
  text-align: center;
}

#f_row .fields__cell{
  vertical-align: middle;
}
#f_row {
  min-width: -moz-available;
  min-width: -webkit-fill-available;
}

.autocomplete .autocomplete__btn.autocomplete__btn--hidden {
  padding: 0;
}

.one_event_block .autocomplete {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.one_event_block .autocomplete__input {
  width: 259px;
}

.one_event_block .autocomplete__input,
.one_event_block .autocomplete__btn {
  border-color: rgb(160, 160, 160);
}

.one_event_block .autocomplete__btn::before {
  opacity: 1;
}

.btn_aplly-active {
  background-color: #e6e6e6;
  border-color: #adadad;
  color: #333;
}

.preloaderBlockForCalcs {
  position: relative;
  display: block;
  width: 55px;
  height: 100%;
  margin-right: 10px;
}

.preloaderBlockForCalcs .lds-ellipsis div > div {
  top: 13px;
  width: 8px;
  height: 8px;
}

.preloaderBlockForCalcs .mouseHoverTip a[tabindex='1']{
  padding-top: 3px;
  margin-left: 30px;
}

#example_text {
  padding: 10px;
}

#example_text span {
  border-radius: 4px;
  padding: 5px 7px;
}

.autocomplete__additional-param img, .ico_span img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 3px;
  margin-bottom: 3px;
}

.ico_span {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
      -ms-flex-order: -1;
          order: -1;
  margin-right: 5px;
}

.paragraphInPHPLinks {
  color: grey;
  margin: 0;
}

.paragraphInPHPLinks:nth-child(n+2) {
  margin-top: 10px;
}

.preloader__block .preloader_span {
  color: lightgrey;
  font-style: normal;
  font-size: 13px;
  font-weight: normal;
  margin-left: 30px;
}

.gearwheeltip {
  position: absolute;
  right: 12px;
  bottom: 10px;
  opacity: .8;
}

.gearwheeltip:hover {
  opacity: 1;
}

.gearwheeltip_notifystyle {
  position: absolute;
  right: 16px;
  bottom: 5px;
}

#vk_groups-auth--btn, #vk_groups-getToken--form {
  display: none;
}

.my_active_account, .active__group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-bottom: 10px;
  padding-top: 10px;
}

.active__group {
  padding-bottom: 0px;
}

.inner_wrapper_vk, #social_container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.vk_settings__module {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.vk_settings_a {
  margin: 10px 0;
}

.my_active_account__photo img, .active__group_img img, .socialGroups img {
  border-radius: 50%;
}

.my_active_account__name, .active__group_name, .active__group_img, .socialGroups img {
  margin-right: 10px;
  font-size: 13px;
  color: black;
}

#active__group_button:hover, #activate_form input[type=submit]:hover, #vk_module_settings__button:hover {
  opacity: .8;
}

#vk_module_settings__button {
  margin-top: 5px;
}

.vk_groups_admin-title {
  font-size: 14px;
}

.vk_groups_admin-title:hover {
  color: #3F7783;
}

.inner_wrapper_vk div:nth-of-type(3) {
  margin-bottom: 10px;
}

.btn-remove {
  display: none;
}

.table__input-remove {
  display: none;
}

.btn-selectitems {
  display: inline;
}

.btn-unselectitems {
  display: none;
}
.btn-selectitemsall {
  display: none;
}

#edit_form textarea[name=body_form] {
  width: 102.3% !important;
  resize: vertical;
}

#carrotquest-messenger-collapsed-container {
  display: none;
}

.close__button_carrot button:hover {
  cursor: pointer;
}

.message_vk-history_field > div:last-child {
  margin-bottom: 40px;
}

.username__link {
  color: black;
  font-size: 14px;
}

.ui-menu li.ui-menu-item:first-child div.ui-menu-item-wrapper {
  background-color: rgb(255, 246, 173);
}

.import_menu {
  background-color: rgb(255, 246, 173);
}

div[id^=add_link_block] select.add_link_field {
  width: calc(100% - 38px);
}

#sel_records div[id^=add_link_block] {
  position: absolute;
  top: 50%;
  /* left: -17%; */
}

.subtable_fields--not_edit {
  min-height: 18px;
  padding: 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}

.subtable_fields-image--not_edit,
.subtable_fields-file--not_edit {
  display: block;
}

.subtable-fields.subtable-fields_multi {
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 5px;
  max-width: 100px;
}
.subtable-fields__text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.subtable-fields__additional {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.subtable-fields__additional-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: normal;
  color: #4b4b4b;
}
.subtable_fields--not_edit_field, .subtable_fields--not_edit_field-num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
          align-items: center;
  padding: 5px;
}

.subtable_fields--not_edit_field {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
  flex-direction: column;
  align-items: start;
}

.subtable_fields--not_edit_field-num {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  -webkit-justify-content: flex-end;
          justify-content: flex-end;
  padding-right: 10px;
}

/**
Стили для информеров
*/

.status-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
      -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          -webkit-justify-content: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
  max-width: 523px;
  min-height: 40px;
  margin: -5px auto 15px;
}

.status-panel__item {
  border-radius: 5px;
  background-color: rgb(0, 143, 187);
  padding: 5px 10px;
  margin: 5px;
  min-height: 20px;
  text-align: center;
  color: white;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Ubuntu';
  word-break: break-word;
  cursor: pointer;
}
.status-panel__item.status-panel__item_with-additional {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 3px 3px 10px;
}
.status-panel {
  position: sticky;
  top: 0;
  z-index: 100;
}

.qwerty {
  background-color: #ffffff;
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding-top: 2px;
}

.qwerty-reverse{
  position: relative;
  background: none;
}

.status-panel.qwerty .status-panel__item {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}
.status-panel.qwerty .status-panel__item_with-additional {
  position: relative;
  visibility: visible;
  z-index: 9999;
  opacity: 1;
}

.status-panel__additional-button {
  border-radius: 5px;
  background-color: rgb(0, 143, 187);
  padding: 2px 8px;
  text-align: center;
  color: white;
  font-size: 10px;
  line-height: 20px;
  font-family: 'Ubuntu';
  word-break: break-word;
  cursor: pointer;

  text-transform: uppercase;
}

.status-panel__item span {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.status-text{
  max-width: 400px;
  min-width: 400px;
  max-height: 200px;
  min-height: 30px;
}

.status-max-length__error {
  color: red;
  font-size: 11px;
  margin-bottom: 10px;
}

.deleted-record__informer {
  background-color: #ff3535;
}

.archived-record__informer {
  background-color: #969696;
}

.informer__txt-settings {
  padding-right: 25px;
}

.informer__color-example--row {
  padding-left: 20px;
  width: 100px;
}

.informer__color-example--div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  border-radius: 5px;
  height: 20px;
  max-height: 20px;
  padding: 5px 10px;
  font-size: 13px;
}

.informer__color--description {
  max-width: 400px;
  min-width: 400px;
  max-height: 200px;
  min-height: 50px;
}

.informer__informer-num,
.acc_rules__rules-num,
.edit-field__field-num,
.edit-subtable__table-num,
.edit-btn__btn-num,
.edit-filters__filter-num,
.edit-forms__form-num,
.edit-calc__calc-num,
.edit-format__format-num {
  width: 37px;
  padding: 1px 3px;
}

/**
Для нового онлайн консультата
*/

.carrotquest-css-reset {
  position: absolute !important;
  top: 35px !important;
  left: 20px !important;
  border-radius: 10px !important;
  width: 350px !important;
  height: 600px !important;
  z-index: 3424324234 !important;
  box-shadow: 0 8px 18px 0 rgba(0,0,0,0.2),0 0 2px 0 rgba(0,0,0,0.05)!important;
}

.carrotquest-css-reset, .carrotquest-css-reset div, .carrotquest-css-reset span, .carrotquest-css-reset applet, .carrotquest-css-reset object, .carrotquest-css-reset iframe, .carrotquest-css-reset h1, .carrotquest-css-reset h2, .carrotquest-css-reset h3, .carrotquest-css-reset h4, .carrotquest-css-reset h5, .carrotquest-css-reset h6, .carrotquest-css-reset p, .carrotquest-css-reset blockquote, .carrotquest-css-reset pre, .carrotquest-css-reset a, .carrotquest-css-reset abbr, .carrotquest-css-reset acronym, .carrotquest-css-reset address, .carrotquest-css-reset big, .carrotquest-css-reset cite, .carrotquest-css-reset code, .carrotquest-css-reset del, .carrotquest-css-reset dfn, .carrotquest-css-reset em, .carrotquest-css-reset img, .carrotquest-css-reset ins, .carrotquest-css-reset kbd, .carrotquest-css-reset q, .carrotquest-css-reset s, .carrotquest-css-reset samp, .carrotquest-css-reset small, .carrotquest-css-reset strike, .carrotquest-css-reset strong, .carrotquest-css-reset sub, .carrotquest-css-reset sup, .carrotquest-css-reset tt, .carrotquest-css-reset var, .carrotquest-css-reset b, .carrotquest-css-reset u, .carrotquest-css-reset i, .carrotquest-css-reset center, .carrotquest-css-reset dl, .carrotquest-css-reset dt, .carrotquest-css-reset dd, .carrotquest-css-reset ol, .carrotquest-css-reset ul, .carrotquest-css-reset li, .carrotquest-css-reset fieldset, .carrotquest-css-reset form, .carrotquest-css-reset div.form, .carrotquest-css-reset label, .carrotquest-css-reset legend, .carrotquest-css-reset table, .carrotquest-css-reset caption, .carrotquest-css-reset tbody, .carrotquest-css-reset tfoot, .carrotquest-css-reset thead, .carrotquest-css-reset tr, .carrotquest-css-reset th, .carrotquest-css-reset td, .carrotquest-css-reset article, .carrotquest-css-reset aside, .carrotquest-css-reset canvas, .carrotquest-css-reset details, .carrotquest-css-reset figcaption, .carrotquest-css-reset figure, .carrotquest-css-reset footer, .carrotquest-css-reset header, .carrotquest-css-reset hgroup, .carrotquest-css-reset menu, .carrotquest-css-reset nav, .carrotquest-css-reset section, .carrotquest-css-reset summary, .carrotquest-css-reset time, .carrotquest-css-reset mark, .carrotquest-css-reset audio, .carrotquest-css-reset video, .carrotquest-css-reset button, .carrotquest-css-reset textarea, .carrotquest-css-reset input, .carrotquest-css-reset input:hover, .carrotquest-css-reset a:hover, .carrotquest-css-reset-frame, .carrotquest-css-reset-frame iframe, .carrotquest-css-reset input:before, .carrotquest-css-reset input:after {
  -webkit-animation: none;
          animation: none;
  -webkit-animation-delay: 0;
          animation-delay: 0;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0;
          animation-duration: 0;
  -webkit-animation-fill-mode: none;
          animation-fill-mode: none;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-name: none;
          animation-name: none;
  -webkit-animation-play-state: running;
          animation-play-state: running;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  background: 0;
  background-attachment: scroll;
  background-clip: border-box;
  background-color: transparent;
  background-image: none;
  background-origin: padding-box;
  background-position: 0 0;
  background-position-x: 0;
  background-position-y: 0;
  background-repeat: repeat;
  background-size: auto auto;
  border: 0;
  border-style: none;
  border-width: medium;
  border-color: #fff;
  border-bottom: 0;
  border-bottom-color: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-style: none;
  border-bottom-width: medium;
  border-collapse: separate;
  -webkit-border-image: none;
       -o-border-image: none;
          border-image: none;
  border-left: 0;
  border-left-color: #fff;
  border-left-style: none;
  border-left-width: medium;
  border-radius: 0;
  border-right: 0;
  border-right-color: #fff;
  border-right-style: none;
  border-right-width: medium;
  border-spacing: 0;
  border-top: 0;
  border-top-color: #fff;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-style: none;
  border-top-width: medium;
  bottom: auto;
  box-shadow: none;
  box-sizing: content-box;
  caption-side: top;
  clear: none;
  clip: auto;
  color: #000;
  -webkit-columns: auto;
     -moz-columns: auto;
          columns: auto;
  -webkit-column-count: auto;
     -moz-column-count: auto;
          column-count: auto;
  -webkit-column-fill: balance;
     -moz-column-fill: balance;
          column-fill: balance;
  -webkit-column-gap: normal;
     -moz-column-gap: normal;
          column-gap: normal;
  -webkit-column-rule: medium none currentColor;
     -moz-column-rule: medium none currentColor;
          column-rule: medium none currentColor;
  -webkit-column-rule-color: currentColor;
     -moz-column-rule-color: currentColor;
          column-rule-color: currentColor;
  -webkit-column-rule-style: none;
     -moz-column-rule-style: none;
          column-rule-style: none;
  -webkit-column-rule-width: none;
     -moz-column-rule-width: none;
          column-rule-width: none;
  -webkit-column-span: 1;
     -moz-column-span: 1;
          column-span: 1;
  -webkit-column-width: auto;
     -moz-column-width: auto;
          column-width: auto;
  content: normal;
  counter-increment: none;
  counter-reset: none;
  cursor: auto;
  direction: ltr;
  display: inline;
  empty-cells: show;
  float: none;
  font: normal;
  font-family: inherit;
  font-size: medium;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  height: auto;
  -webkit-hyphens: none;
     -moz-hyphens: none;
      -ms-hyphens: none;
          hyphens: none;
  left: auto;
  letter-spacing: normal;
  line-height: normal;
  list-style: none;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: disc;
  margin: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  max-height: none;
  max-width: none;
  min-height: 0;
  min-width: 0;
  opacity: 1;
  orphans: 0;
  outline: 0;
  outline-color: invert;
  outline-style: none;
  outline-width: medium;
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  padding: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  page-break-after: auto;
  page-break-before: auto;
  page-break-inside: auto;
  -webkit-perspective: none;
          perspective: none;
  -webkit-perspective-origin: 50% 50%;
          perspective-origin: 50% 50%;
  position: static;
  quotes: "C" "D" "8" "9";
  right: auto;
  -moz-tab-size: 8;
    -o-tab-size: 8;
       tab-size: 8;
  table-layout: auto;
  text-align: left;
  -moz-text-align-last: auto;
       text-align-last: auto;
  text-decoration: none;
  -webkit-text-decoration-color: #000;
          text-decoration-color: #000;
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
  -webkit-text-decoration-style: solid;
          text-decoration-style: solid;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  top: auto;
  -webkit-transform: none;
          transform: none;
  -webkit-transform-style: flat;
          transform-style: flat;
  -webkit-transition: none;
  transition: none;
  -webkit-transition-delay: 0;
          transition-delay: 0;
  -webkit-transition-duration: 0;
          transition-duration: 0;
  -webkit-transition-property: none;
  transition-property: none;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  unicode-bidi: normal;
  vertical-align: baseline;
  visibility: visible;
  white-space: normal;
  widows: 0;
  /* width: auto; */
  word-spacing: normal;
  z-index: auto;
}

.carrot-messenger-frame-container {
  position: relative;
  border-radius: 10px !important;
}

.carrotquest-messenger-line-anim {
  -webkit-animation-timing-function: cubic-bezier(0.0,0.0,0.2,1)!important;
          animation-timing-function: cubic-bezier(0.0,0.0,0.2,1)!important;
  -webkit-animation-duration: 150ms!important;
  animation-duration: 150ms!important;
  -webkit-animation-name: carrotquest-messenger-line-anim-right!important;
          animation-name: carrotquest-messenger-line-anim-right!important;
}

.carrot-messenger-frame-container {
  height: 100%!important;
}

.carrot-messenger-frame {
  width: 100%!important;
  height: 100%!important;
  border-radius: 10px !important;
}

.close__button_carrot {
  position: absolute!important;
  top: 12px!important;
  right: 15px!important;
}

.carrotquest-css-reset::before {
  content: '';
  position: absolute;
  left: 24px;
  top: -25px;
  border: 12px solid transparent;
  border-bottom: 15px solid #E6EEFA;
}

@-webkit-keyframes carrotquest-messenger-line-anim-right {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@keyframes carrotquest-messenger-line-anim-right {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

div.carrotquest-css-reset {
  display: none;
}

/**
Окончание стилизации ОК
*/

.switch-btn {
  position: relative;
  display: inline-block;
  width: 28px; /* ширина переключателя */
  height: 12px; /* высота переключателя */
  border-radius: 12px; /* радиус скругления */
  background: #bfbfbf; /* цвет фона */
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms; /* анимация */
  float: right;
  left: 20px;
  top: 4px;
}
.switch-btn::after {
  content: "";
  height: 16px; /* высота кнопки */
  width: 16px; /* ширина кнопки */
  border-radius: 18px; /* радиус кнопки */
  background: #fff; /* цвет кнопки */
  top: -2px; /* положение кнопки по вертикали относительно основы */
  left: -6px; /* положение кнопки по горизонтали относительно основы */
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms; /* анимация */
  box-shadow: 0 0 10px 0 #999999; /* тень */
  position: absolute;
  z-index: 1;
}
.switch-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.5;
  border-radius: 6px;
}
.switch-on {
  background: #84AEE7;
}
.switch-on::after {
  left: 17px;
  background: #1a73e8;
  opacity: 1;
}

.switch-lock { 
  position: relative;
}

.switch-icon-wrapper{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -50px;
  width: 20px;
  height: 20px;
}

.switch-icon{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a.disabled {
  pointer-events: none; /* делаем элемент неактивным для взаимодействия */
  cursor: default; /*  курсор в виде стрелки */
  color: #888;/* цвет текста серый */
}

.message_ok-logout {
  margin-left: 37%;
}

#manager_ok__window .ok_draggable-wrapper {
  z-index: 1102;
}

.vk__preloader-data {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
          align-items: flex-start;
  -ms-flex-item-align: center;
  -webkit-align-self: center;
          align-self: center;
  padding: 20px;
}

.inner_wrapper_vk-step2 {
  display: none;
}

.date__max_width-table .fields__cell-inner input, .date__max_width-table .fields__cell-inner .fields__value, .number__max_width .textpad__value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  -webkit-justify-content: flex-end;
          justify-content: flex-end;
  min-width: min-content;
}

.date__max_width-table .fields__cell-inner .fields__value {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;

  word-break: break-word;
}

.subtable__cell.nowrap.number__max_width .textpad__value.textpad__value--text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
  max-width: 120px;
}

/* текстовые поля ввода в подтаблицах */
/*.subtable__cell .textpad__value--long-text-field>input {
  min-width: 300px;
  max-width: 400px;
}*/

.date__max_width-table .fields__cell-inner .fields__value {
  word-break: normal;
}

#select_from .search_bar select {
  padding: 5px 10px;
}

.ok_settings__checkbox-wrapper {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.subtable .fields__fast-edit-button {
    right: -5px;
    /*top: 7px;*/
    top: 2px;
}

.subtable .textpad__value .fields__fast-edit-button {
  right: -25px;
}

.textpad__value:hover .fields__fast-edit-button,
.textpad:hover .textpad__value .user-data__edit-btn {
    opacity: 1;
    /*position: unset;*/
    position: relative;
    margin-top: 0;
    /* margin-top: 0; */
}


.subtable .fields__fast-edit-button.done-btn {
  width: 24px;
}

.subtable__cell .textpad.default-width span.textpad__value span.autocomplete {
  width: 90%;
}

.subtable__required-field--star {
  color: #f00;
  font-weight: 400;
  margin-right: 2px;
  cursor: default;
}

.slave_fields {
  padding: 5px;
  max-width: 80%;
}

input.hasDatepicker:focus + .ui-datepicker-trigger {
  opacity: 1;
}

.user-data__value-wrap div[id^=cke_value], .user-data__edit-block--html div[id^=cke_fast_edit_cell_] {
  position: absolute;
  z-index: 500;
  display: none;
  top: -2px;
  left: -2px;
}

.group__container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  width: 30px;
  max-width: 30px;
}

.add_link_part__textarea-mult {
  resize: vertical !important;
  height: 28px;
  min-height: 28px !important;
  width: 90%;
}

#edit_form .add_link_part__textarea-mult {
  width: 100%;
}

#edit_form #edit_block .add_link_part__textarea-mult {
  padding: 0 5px !important;
}

input.hasDatepicker:hover + .ui-datepicker-trigger {
  opacity: 1;
}

.ui-widget.ui-widget-content {
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input.hasDatepicker::-webkit-input-placeholder {
  opacity: 0;
}

input.hasDatepicker:hover::-webkit-input-placeholder, input.hasDatepicker:focus::-webkit-input-placeholder {
  opacity: 1;
}

input.hasDatepicker::-moz-placeholder {
  opacity: 0;
}

input.hasDatepicker:hover::-moz-placeholder, input.hasDatepicker:focus::-moz-placeholder {
  opacity: 1;
}

.ui-datepicker-trigger {
  opacity: 0 !important;
  position: absolute !important;
  top: -10000px !important;
}

.show-cond-date {
  width: 30px;
  margin: 0 3px !important;
  text-align: center;
}

.cond_show_timeout {
  width: 40px;
  text-align: center;
  border: none;
  background: none;
  box-shadow: none;
}

#f_tooltipload__info {
  top: unset;
  bottom: 10px;
}

.fixed-panel__dropdown-item--settings {
  position: absolute;
  top: -20px;
  left: 50%;
        transform: translateX(-50%);
}
.header__submenu-item--add.flexMenu-viewMore > .flexMenu-popup.header__submenu-dropdownmenu {
  top: 26px;
}

.header__submenu-item--add.flexMenu-viewMore:hover > .flexMenu-popup.header__submenu-dropdownmenu {
  display: block !important;
}

.fields__simple-text.fields__simple-text--link .slave_fields {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 0;
}

div.textpad__value {
  padding-right: 10px !important;
}
.subtable__cell > .textpad > div.textpad__value.fast-link-edit{
    padding-right: 0px !important;
}

.ui-tooltip.ui-corner-all.ui-widget-shadow.ui-widget.ui-widget-content {
  display: none !important;
}

.textpad__value.textpad__value--text span.autocomplete .autocomplete__input,
div.textpad__value span.autocomplete .autocomplete__input {
  width: 70% !important;
}

.subtable__cell .textpad__value.textpad__value--text span.autocomplete .autocomplete__input,
.subtable__cell div.textpad__value span.autocomplete .autocomplete__input {
  width: 100% !important;
}

.fields__special-text.fields__special-text--html .fields__simple-text-resize {
  position: relative;
  top: 0;
}

.fields__second-cell {
    /*overflow: hidden;*/
}

.fields__special-text.fields__special-text--html .fields__simple-text-resize a,
.fields__special-text.fields__special-text--hyperlink .fields__simple-text-resize a,
.fields__simple-text.fields__value div a,
.fields__simple-text.fields__value .fields__simple-text-resize,
.fields__cell-text-field .fields__simple-text.fields__value
{
  white-space: pre-wrap;
}

.forgot-password-btn {
  text-align: center;
}

.login-form--bb-view * {
  box-sizing: border-box;
}

.form-group--login-input {
  margin-bottom: 10px;
}

.form-group--login-btn {
  margin-top: 20px;
}

.apply-for-all-groups {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.apply-for-all-groups--input {
  margin-top: 0 !important;
  margin-right: 5px !important;
}

.access-group-settings--form {
  margin: 10px 0;
}

.qst__agreement-text {
  width: 700px;
  height: 200px;
  min-width: 300px;
  min-height: 105px;
  max-width: 700px;
  max-height: 500px;
}

.qst__agreement-header {
  width: 700px;
  height: 120px;
  min-width: 300px;
  min-height: 105px;
  max-width: 700px;
  max-height: 250px;
}

.color-btn-example {
  height: 30px;
  width: 200px;
  margin: 0 0 0 15px;
  border: 1px solid rgba(0,0,0,0.25);
}

.informer-bg-color table td:first-child,
.informer-txt-color table td:first-child,
.format-field table td:first-child,
.format-font-color table td:first-child,
.format-bg-color table td:first-child,
.format-txt-color td:first-child {
  padding-left: 0;
}

.login__check-code * {
  box-sizing: border-box;
  margin-bottom: 10px;
}

.login__check-code,
.login__check-code form {
  display: -webkit-box;
      display: -ms-flexbox;
          display: -webkit-flex;
          display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          -webkit-justify-content: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          -webkit-flex-direction: column;
          flex-direction: column;
  margin-bottom: 0;
}

.login__check-code {
  margin-top: 30px;
}

.login__check-code--success-txt,
.login__check-code--error-txt {
  text-align: center;
  font-size: 13px;
}

.login__check-code--success-txt {
  color: green;
}

.login__check-code--error-txt {
  color: red;
}

.login__check-code--input-code-header {
  text-align: center;
}

/* 1C module CSS */
.config-title {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 17px;
}

.config-table-bg {
  background: aliceblue;
}

.config-field-bg {
  background: honeydew;
}

.edit-table-settings {
  cursor: pointer;
  padding: 2px;
  z-index: 2;
}

.error-message {
  color: red;
  padding-bottom: 15px;
}

.save-settings-btn {
  margin-right: 5px;
}

.go-back-btn {
  margin-left: 5px;
}

.table-settings-btn {
  position: relative;
  width: 22px;
  z-index: 2;
}

.user-data__save-value-btn {
  min-width: 16px;
  height: 16px;
  margin-top: 5px;
  background-image: url(../../../images/b_edit.png);
  background-repeat: no-repeat;
  transition: opacity 0.2s;
}

.not-edit-pseudo-field {
  width: 17.3px;
  height: 28px;
  border: none;
  margin-left: 0.7px;
}

.not-edit-pseudo-field::before {
  display: none;
}

.separator-row {
  height: 20px;
}

.tables-row__active, .tables-row:hover, .field-row__active, .field-row:hover {
  background: #fff6ad;
  cursor: pointer;
}

.tables-row .autocomplete .autocomplete__input--hidden:hover,
.field-row .autocomplete .autocomplete__input--hidden:hover {
  cursor: pointer;
}

.config__add-row-btn {
  width: 220px;
  margin-bottom: 0;
}

.config__menu-item {
  color: blue;
}

.config__menu-item:hover {
  cursor: pointer;
  color: #1a4d7b;
}

.config__menu-item.active {
  color: #333;
}

.config_input-fields {
  width: 220px;
  padding: 5px;
  border-radius: 5px;
  border: 1px dotted rgba(160, 160, 160, 1) !important;
  background-repeat: no-repeat;
}

.active-row-click {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 517px;
  height: 100%;
  z-index: 1;
}

.tables-row-1cmodule:hover .drag_symbol_1c {
  visibility: visible !important;
}

.hidden-1c {
  visibility: hidden !important;
}

.config__preloader-block {
  z-index: 899;
  width: 100%;
  height: 50px;
}

.config__required-field-star {
  margin: 0 1px;
  color: #f00;
  font-weight: 400;
}

.config__req-field-margin.warning,
.config__req-tab-padding.warning {
  color: #f00;
  font-weight: 500;
}

.edit-button__access-rules-btn {
  margin-left: 10px;
}

.edit-button__access-rules-checkbox {
  width: 30px;
  padding-top: 8px;
  padding-bottom: 6px;
  margin: 0;
  text-align: center;
  float: left;
}

.matching_block {
  min-width: 750px;
  padding-bottom: 20px;
  cursor: pointer;
}

.matching_block:hover .drag_symbol_1c{
  visibility: visible !important;
}

.matching_block_title {
  font-size: 16.5px;
  padding: 5px 0 15px 0;
}

.edit-field__icons {
  width: 180px;
}

.edit-field__static-icons {
  display: inline-block;
  width: 50px;
}

.edit-field__icons-settings {
  color: grey;
  font-style: italic;
  font-size: 0.9em;
  display: inline-block;
  text-align: left;
}

.edit-field__icons--img {
  margin-right: 7px;
  cursor: pointer;
  opacity: 0;
}

.edit-field__icons--img:hover {
  background-color: #9bc25920;
}

.edit-field__icons--img.active {
  opacity: 1;
}

.autocomplete_val>img,
.ui-menu-item-wrapper>img,
.ui-menu-item-wrapper>a>img,
#view_block .user-data__edit-block .sub-slave_fields .image-link img,
#view_block .user-data__edit-block .image-link img,
.fields__cell .autocomplete_val>img:first-child {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  margin-bottom: 0;

  vertical-align: top;
}

.autocomplete_val>img:hover {
  background: none;
}

.edit-field__icons--none-edit-ico {
  margin-right: 7px;
}

.edit-field__disabled-setting {
  opacity: 0 !important;
}

.fields__context-menu ul li:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.fields__context-menu ul li:nth-child(8):hover {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.fields__context-menu--new-tab,
.fields__context-menu--edit,
.fields__context-menu--copy,
.fields__context-menu--archive,
.fields__context-menu--restore,
.fields__context-menu--delete,
.fields__context-menu--print,
.fields__context-menu--email,
.fields__context-menu--gen-hash,
.fields__context-menu--sms,
.fields__context-menu--buttons {
  display: flex;
  width: 14px;
  height: 15px;
  margin-right: 2px;

  background-image: url('../../../images/mini-icons.png');
  background-repeat: no-repeat;
  background-size: 300px;
}

.fields__context-menu--new-tab {
  background-position: -227px -159px;
}

.fields__context-menu--edit {
  background-position: -132px -95px;
}

.fields__context-menu--copy {
  background-position: -180px -95px;
}

.fields__context-menu--archive {
  background-position: -85px -95px;
}

.fields__context-menu--restore {
  background-position: -60px -139px;
}

.fields__context-menu--delete {
  background-position: -36px -117px;
}

.fields__context-menu--print {
  background-position: -60px -30px;
}

.fields__context-menu--email {
  background-position: -108px -96px;
}

.fields__context-menu--gen-hash {
  background-position: -84px -138px;
}

.fields__context-menu--sms {
  background-position: -252px -136px;
}

.fields__context-menu--buttons {
  background-position: -84px -116px;
}

.fields__context-menu--show-btns {
  position: relative;
}

.fields__context-menu--btn-link {
  display: none;
  align-items: center;
  height: 14px;
  margin-left: auto;
  font-weight: bold;
  font-size: 15px;
}

.fields__context-menu--buttons-list {
  position: absolute;
  left: 100%;
  top: 0;
  list-style: none;
  padding: 0px;
  margin: 0px;
  background-color: #343434;
  border-radius: 5px;
  overflow-y: auto;
}

#buttons_list::-webkit-scrollbar {
  width: 12px;
}

#buttons_list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.7);
  border-radius: 10px;
}

#buttons_list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(105, 105, 105, 0.75);
}

span[id^='date_interval_'] {
  display: flex;
}

input.format__cond-input {
  margin-right: 7px;
}

#wizard_mode .autocomplete__input {
  width: 146px;
}

span.brackets {
  width: 4px;
  font-size: 20px;
  margin-right: 5px;
}
td[id^=wizard_set] b {
  font-size: 20px;
}

#additional_block {
  height: 0;
  overflow: hidden;
}
.edit_sync_block #additional_block{
    overflow: visible;
    height: unset;
}

.additional_block-showed {
  height: 100% !important;
}

#legend_full {
  margin-left: 0.67%;
  margin-right: 0.67%;
}

.left-chunk-input {
  width: auto;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #cac8bb;
  background-color: #eee;
  color: #aca899;
  cursor: not-allowed;
  padding-right: 1px;
  border-right: none;
}

.right-chunk-input {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  padding-left: 3px;
}

#alias_error {
  color: #fd3b34;
  padding-left: 20px;
}

.logs-crash td > pre {
max-width: 100%;
white-space: pre-wrap;
}


.repconview__btn-expansion-options {
background: url('./../../../images/ext_search_open.png') no-repeat;
width: 16px;
height: 16px;
display: inline-block;
outline: none;
cursor: pointer;
}

.event-tooltip__control.hidden-all-notifies {
opacity: 0.4;
}

.event-tooltip__control.hidden-all-notifies:hover {
opacity: 0.95;
}


.file-cell {
position: relative;
display: inline-block;
}

.fields__simple-text--fixed-file > .file-cell:not(:last-child) {
margin-bottom: 10px;
}

.file-cell__title {
padding-right: 22px;
display: inline-block;
}

.file-cell__btn_delete {
  position: absolute;
}
.file-cell__btn_delete, .delete_image_button_x {
  top: 0;
  right: 0;
  background: url('../../../images/b_drop.png') no-repeat top left;
  width: 16px;
  height: 16px;
}
.file-cell__btn_delete:hover {
width: 18px;
background-size: cover;
height: 18px;
}


.fields__cell-inner--with-fixed {
    flex-direction: column;
    align-items: flex-start;
}
.fields__cell-inner--with-fixed > * {
    order: 1;
}
.fields__cell-inner--with-fixed .fields__resize-btn,
.subtable .fields__resize-btn-container .fields__resize-btn{
    position: unset;
    order: 2;
    height: 16px;
}

.acc_td_head {
  white-space: nowrap;
}
.table-header-fixed {
    overflow: auto hidden; /* Для горизонтального скролла */
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    padding: 0 32px;
}

.fields__cell--header a {
  /*word-break: break-all;*/
}

#rapps-root-report-view .preloader__block.type-2 {
    background-color: rgba(255,255,255,0.1);
    color: #000000;
    z-index: 10000;
    position: unset;
    top: -20px;
    bottom: -20px;
    right: -20px;
    left: -20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    backdrop-filter: blur(2px);
    width: unset;
    height: unset;
}
#rapps-root-report-view .preloader__block.type-2 .preloader{
    margin-top: 10%;
    font-size: 30px;
    width: unset;
    color: #999999;
}
#rapps-root-report-view .repconview__layout .preloader__block.type-2 {
    position: absolute;
    padding: 0;
}

#rapps-root-report-view .preloader__block:not(.type-2) {
  position: unset;
}

#rapps-root-report-view .repconview__layout.temp-hide > *:not(.preloader__block) {
  display: none;
}

.chosen-container {
    min-width: 180px;
}
.chosen-container .chosen-drop{
    width: 100%;
}
.chosen-container.form-control-160 {
    width: 160px !important;
}

/*для подтаблиц #94511*/
.fixed-height > .subtable_fields--not_edit_field {
    max-height: 16px;
    overflow: hidden;
  }
  .fixed-height > textarea,
  .fixed-height > .html-editor-div {
    max-height: 16px;
    box-sizing: content-box;
  }

  .textpad__value--text .html-editor-div {
    padding: 2px 6px;
  }

  .resizable-cell > textarea,
  .resizable-cell > .html-editor-div{
    overflow: hidden !important;
  }
  .resizable-cell > button.in_subtable {
    position: absolute;
    display: block;
    bottom: -14px;
  }
.blur-element {
    backdrop-filter: blur(10px);
    filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.1);

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 10;
}

.blur-remove-button {
    z-index: 11;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-data__value.active-edit input[type="text"] {
    background-color: rgba(255, 255, 255, 1);
    border: 1px dotted rgb(160, 160, 160) !important;
}
.user-data__value.active-edit .user-data__autocomplete-wrap > .autocomplete *{
    border-color: rgb(160, 160, 160)
}

.user-data__value.active-edit > select.hidden-input.hidden-input--select{
    border: 1px dotted rgb(160, 160, 160) !important;
}

.user-data__value.active-edit textarea{
    border: 1px dotted rgb(160, 160, 160) !important;
}

.user-data__value:has(.blur-to-remove) *:not(.blur-to-remove) {
    pointer-events: none;
}

.view-line-update-value-button {
  margin-left: 6px;
  transition: 0.3s ease;
  opacity: 0;
  border: 1px solid #b9b9b9;
  border-radius: 4px;
  height: 30px;
  /*padding: 4px;*/
}
.user-data__value:hover .view-line-update-value-button {
  opacity: 1;
}
.user-data__value:has([yellow_color="1"]) .view-line-update-value-button {
  opacity: 1;
}
.user-data__value:has(*:focus) .view-line-update-value-button {
  opacity: 1;
}

.correlation__settings-btn--opacity-one {
  opacity: 1;
}

.mass-edit-mode .user-data__value{
    justify-content: space-between;
}

span.view_cell span.sub-slave_fields {
  margin-top: 6px;
}

.report{
  padding: 0 32px 20px;
}

.report .top{
  background-color: unset;
}

.report .main{
  background-color: white;
}

.report .report_filters_wrap {
  background-color: unset;
}
/* Для опции "Скрывать нередактируемые поля при редактировании" */
.hide_non_editable_fields_when_editing {
  display: none;
}

.row_only_editable {
  display: flex !important;
}

.cb-alert-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.cb-alert-overlay-dark {
  background: rgba(0, 0, 0, 0.9);
}

.cb-alert-new {
  font-family: Ubuntu, sans-serif;
  color: rgb(48, 48, 48);
  display: none;
  width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
  overflow: hidden;
}
.cb-alert-dark {
  background: rgba(0, 0, 0, 0);
  box-shadow: none;
  color: #fff;
}
.cb-alert-dark .cb-alert-content h2,
.cb-alert-dark .cb-alert-content p,
.cb-alert-dark .cb-alert-btn-close {
  color: #fff;
}
.cb-alert-dark .cb-alert-btn-close:hover {
  background-color: rgb(151, 151, 151, 0.1);
}
.cb-alert-img {
  width: 100%;
  height: auto;
}
.cb-alert-content {
  padding: 20px 24px 32px;
}
.cb-alert-content h2 {
  color: rgb(48, 48, 48);
  font-size: 26px;
  font-weight: 500;
  line-height: 30px;
  margin: 0;
}
.cb-alert-content p {
  color: rgb(48, 48, 48);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 16px 0 0;
}
.cb-alert-buttons {
  display: flex;
  padding: 32px 0 0;
  gap: 10px;
}
.cb-alert-btn-link, .cb-alert-btn-close {
  padding: 11px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color 0.2s ease;
}
.cb-alert-btn-link {
  background: rgb(90, 157, 64);
  color: #fff;
}
.cb-alert-btn-link:hover {
  background: rgb(75 137 51);
}
.cb-alert-btn-close {
  color: rgb(151, 151, 151);
}
.cb-alert-btn-close:hover {
  background-color: #f1efef;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/*  Блок адаптации  */
@media (min-device-width: 800px) and (max-device-width: 900px) {
  .user-data__aside {
    margin-right: 10px;
  }

  .user-data__list {
    margin-right: 10px;
  }

  .user-data__wrap, .user-data__row {
    width: 500px;
  }

  .user-data__wrap {
    margin-left: 10px;
  }

  .user-data__item {
    width: 475px;
  }
}

@media (max-device-width: 900px) {
  .user-data__aside {
    margin-right: 10px;
  }

  .subtable__head, .subtable__head--fixed {
    min-width: calc(1000px - 30%);
  }
}
