body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  font-weight: 800;
}

h3 {
  font-weight: 750;
}

h4 {
  font-weight: 700;
}

h5 {
  font-weight: 650;
}

h6, h7 {
  font-weight: 600;
}

.u-badge-v2--md {
  background-color: #868686 !important;
}

.bg-indicator--online {
  background-color: #5AD539 !important;
}

.bg-indicator--offline {
  background-color: #868686 !important;
}

.bg-indicator--passive {
  background-color: #F9A44A !important;
}

.max-w-100 {
  max-width: 100px;
}
.min-w-100 {
  min-width: 100px;
}
.max-w-80p {
  max-width: 80%;
  min-width: 20%;
}
.font-size-xs {
  font-size: 1.15em;
}
.font-size-sm {
  font-size: 1.25em;
}
.font-size-md {
  font-size: 1.5em;
}
.p {
  padding: 13px 18px;
}
.p-h-xxs {
  padding: 5px 0;
}
.p-inside {
  padding: 5px 10px;
}
.small-plus {
  font-size: 88%;
}
.text-underline {
  text-decoration: underline;
}
a.text-underline:hover {
  text-decoration: none;
}
a.text-muted:hover {
  color: #1ab394 !important;
}
.for-tagsinput .bootstrap-tagsinput {
  display: block;
}
.for-tagsinput .tag {
  background-color: #d1dade;
  color: #5e5e5e;
  display: inline-block;
}
/* MARK-B */
.mark-b {
  width: 15px;
  height: 10px;
}
/* BOX-HEADER */
.box-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 13px 40px 13px 15px;
  position: relative;
  border-top: 3px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  font-size: 1.1em;
  min-height: 50px;
  box-sizing: border-box;
}
.box-header_theme {
  background-color: #f2f2f2;
  border-top-color: #18a689;
}
.box-header .dropdown {
  position: absolute;
  top: 5px;
  right: 10px;
}
@media screen and (max-width: 500px) {
  .box-header {
    display: block;
    padding-bottom: 5px;
    padding-left: 5px;
  }
  .box-header > div {
    margin-bottom: 10px;
  }
}
.dropdown_v1 .dropdown-menu {
  min-width: 12rem;
}
.dropdown_v1 .dropdown-menu > li > a {
  padding: 6px 13px;
  line-height: 1.2;
}
.rotate-sm {
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  display: inline-block;
}
/* CUSTOM-CONTROL_V1 */
.custom-control_v1 .custom-control-input {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.custom-control_v1 .custom-control-label {
  padding-top: 3px;
}
/* BLOCK-OUTER */
.block-outer {
  position: fixed;
  z-index: 2020;
  top: 0;
  right: 0;
  width: 85%;
  height: 100vh;
  overflow-y: auto;
  background-color: #f2f2f2;
  padding: 15px;
  box-sizing: border-box;
  -webkit-transform: translateX(150%);
  transform: translateX(150%);
  -webkit-transition: -webkit-transform .8s;
  transition: -webkit-transform .8s;
  transition: transform .8s;
  transition: transform .8s, -webkit-transform .8s;
  -webkit-overflow-scrolling: touch;
}
.block-outer.show {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.block-outer__close {
  position: absolute;
  z-index: 50;
  width: 40px;
  height: 40px;
  text-align: center;
  top: 0;
  right: 0;
  line-height: 35px;
  font-size: 3em;
  background-color: #e9ecef;
  color: #676a6c;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.block-outer__close:hover {
  color: #fff;
  background-color: #1ab394;
}
.block-outer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2019;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}
.block-outer-show {
  overflow: hidden;
}
@media (max-width: 480px) {
  .block-outer {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .wrapper-content {
    padding-left: 0;
    padding-right: 0;
  }
}
/* CHAT */
.chat-max-h {
  max-height: 500px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chat-separator {
  text-align: center;
  position: relative;
  margin-bottom: 10px;
}
.chat-separator:last-child {
  margin-bottom: 0;
}
.chat-separator:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #dee2e6;
}
.chat-separator__text {
  display: inline-block;
  padding: 3px 8px;
  background-color: #fff;
  position: relative;
  z-index: 5;
}
/* STEP */
.steps {
  counter-reset: tidbit-counter;
}
.step {
  padding-left: 15px;
  margin-bottom: 5px;
}
.step:last-child {
  margin-bottom: 0;
}
.step_v1 .step__item {
  background-color: #f2f2f2;
}
.step_v1 .step__item:after {
  border-right-color: #f2f2f2;
}
.step_v2 .step__item {
  background-color: #d3d3d3;
}
.step_v2 .step__item:after {
  border-right-color: #d3d3d3;
}
.step_v3 .step__item {
  background-color: #aeaeae;
}
.step_v3 .step__item:after {
  border-right-color: #aeaeae;
}
.step__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 45px;
  position: relative;
  padding: 0 5px;
}
.step__item:before {
  counter-increment: tidbit-counter;
  content: counter(tidbit-counter) ". ";
  width: 25px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.step__item:after {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  border: 22px solid transparent;
  border-right-width: 18px;
  border-right-style: solid;
}
.step__chart {
  width: 55%;
  padding: 0 5px;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  text-align: center;
}
.step__chart-item {
  margin: auto;
  position: relative;
}
.step__chart-item:before,
.step__chart-item:after {
  content: '';
  width: 4px;
  height: 50px;
  background-color: #fff;
  position: absolute;
  top: 50%;
}
.step__chart-item:before {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(-15deg);
  transform: translateY(-50%) rotate(-15deg);
}
.step__chart-item:after {
  right: 0;
  -webkit-transform: translateY(-50%) rotate(15deg);
  transform: translateY(-50%) rotate(15deg);
}
.step__txt {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding-left: 10px;
  box-sizing: border-box;
}
@media screen and (max-width: 500px) {
  .step {
    padding-left: 0;
  }
  .step__item:before {
    width: auto;
  }
  .step__item:after {
    display: none;
  }
  .step__txt {
    padding-left: 5px;
    font-size: .85em;
    line-height: 1.1;
  }
}
/* RESPONSIVE-XL */
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .responsive-xl_2 > div {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 1300px) {
  .responsive-xl > div {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    max-width: 100%;
  }
}
.btn-group-toggle_v1 .btn.active {
  background-color: #1ab394;
  border-color: #1ab394;
  color: #fff;
}
/* ************************** NEW STYLES **************************************** */
.p-w-xxs {
  padding: 0 5px;
}
.w-50p {
  width: 50px;
}
.min-w-1 {
  min-width: 1px;
}
.relative {
  position: relative;
}
/* FOR-TAGSINPUT */
.for-tagsinput_v1 .bootstrap-tagsinput {
  border: none;
  padding: 10px 5px;
}
.bootstrap-tagsinput .label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  vertical-align: middle;
}
.btn-group_v1 .btn-sm {
  width: 28px;
  height: 28px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.custom-file_v1 .custom-file-label::after {
  content: 'Выберите файл';
}
/* NAV-SWITCH */
.nav-switch > li {
  margin: 0 3px;
}
.nav-switch > li > a {
  padding: 3px 10px;
  border: 1px solid #1ab394;
  border-radius: 3px;
  color: #1ab394;
}
.nav-switch > li > a:hover:not(.active) {
  color: #1c84c6;
  border-color: #1c84c6;
}
.nav-switch .active {
  background-color: #1ab394;
  color: #fff;
}
/* NAV_SM */
.nav_sm > li > a {
  padding-top: 5px;
  padding-bottom: 5px;
}
.anchor-nav.current,
.anchor-nav.current:focus {
  background-color: #23c6c8 !important;
  color: #fff !important;
}
/* NOTE-BOX */
.note-box {
  border: 2px dashed #e7eaec;
  padding: 15px 110px 15px 10px;
  position: relative;
  min-height: 60px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.note-box:last-child {
  margin-bottom: 0;
}
.note-box p:last-child {
  margin-bottom: 0;
}
.note-box__label {
  position: absolute;
  width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
  left: 0;
  top: -11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1;
}
.note-box__label-item {
  background-color: #fff;
  padding: 3px 5px;
  margin-left: 5px;
}
.note-box__label-icon {
  font-size: 1.5em;
  margin-top: -4px;
}
.note-box__controls {
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.note-box__btn {
  margin: 2px;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  border: none;
  border-radius: 3px;
}
.note-box__btn.is-active {
  background-color: #7f7ff2;
}
.note-box__code {
  background-color: #002b36;
  color: #fff;
  padding: 10px 7px 7px;
}
.note-box__code-header {
  font-weight: 600;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.note-box__code-header .dropdown {
  margin-left: -7px;
}
.note-box__code-title {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.note-box__code-title:after {
  content: '';
  border: 3px solid transparent;
  border-top: 4px solid #fff;
  margin: 4px 0 0 4px;
}
.note-box_v1 {
  padding-right: 43px;
  min-height: 88px;
}
.note-box .form-control:disabled {
  background-color: transparent;
  border-color: transparent;
  resize: none;
  overflow: hidden;
}
@media (min-width: 501px) {
  .note-box__controls {
    position: absolute;
    width: 110px;
    right: 0;
    top: 0;
    padding: 13px 6px 0 0;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  .note-box_v1 .note-box__controls {
    width: 43px;
  }
}
@media (max-width: 500px) {
  .note-box {
    padding-right: 10px;
  }
  .note-box__controls {
    margin-top: 10px;
  }
}
.md-editor > textarea {
  padding-left: 5px;
  padding-right: 5px;
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  line-height: 1.75;
}
/* INFO-BOX */
.info-box {
  border: 2px dashed #23c6c8;
  padding: 10px 10px 10px 30px;
  position: relative;
  min-height: 44px;
  box-sizing: border-box;
}
.info-box:before {
  content: '\f05a';
  font-family: 'fontawesome';
  color: #23c6c8;
  position: absolute;
  left: 6px;
  top: 6px;
  font-size: 1.5em;
}
.info-box_v1 {
  background-color: #23c6c8;
  color: #fff;
}
.info-box_v1:before {
  color: inherit;
}
/* SELECT2 */
.select2-container {
  z-index: 2030;
}
.select2.form-control + .select2-container {
  width: 100% !important;
}
.select2.form-control + .select2-container .selection .select2-selection {
  border-color: #e5e6e7;
  height: 2.05rem;
}
/* BLOCK-HIDDEN */
.block-hidden {
  display: none;
}
.block-hidden-btn {
  position: absolute;
  bottom: 0;
  right: 0;
}
.height-limit {
  max-height: 140px;
  box-sizing: border-box;
  overflow: hidden;
}
.height-limit.is-active {
  max-height: none;
}
/* MOBILE-COLLAPSE */
@media (max-width: 991px) {
  .mobile-collapse {
    position: relative;
    padding-right: 35px;
    cursor: pointer;
  }
  .mobile-collapse.is-active:after {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  .mobile-collapse:before,
  .mobile-collapse:after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 11px;
    width: 15px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .mobile-collapse:after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .mobile-collapse-body {
    display: none;
  }
}
@media (max-width: 575px) {
  .tabs-container .panel-body {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
  }
}
/* MODAL */
@media (min-width: 576px) {
  .modal-dialog_lg {
    max-width: 800px;
  }
}
@media (max-width: 480px) {
  .modal-body {
    padding: 20px 15px;
  }
}
.option-hide,
.comment-dropdown {
  display: none;
}
.dropdown-menu .badge {
  max-width: 270px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.max-cut {
  overflow: hidden;
  max-width: 180px;
  text-overflow: ellipsis;
}
/* CUSTOM-CONTROL */
.custom-control_center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.custom-control_center .custom-control-label:before,
.custom-control_center .custom-control-label:after {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.custom-control__txt {
  opacity: 0;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}
.custom-control-input:checked + .custom-control-label + .custom-control__txt {
  opacity: 1;
}
/* STREAM-RESPONSIVE */
@media (min-width: 1201px) and (max-width: 1600px) {
  .stream-responsive .stream-badge {
    display: none;
  }
  .stream-responsive .stream-panel {
    margin-left: 0;
  }
}
.chat-max-h2 {
  max-height: 800px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* DROPZONE */
.dropzone_v1 {
  border: none;
  padding: 0;
  min-height: 0;
}
/* INPUT-CHOICE */
.input-choice {
  display: block;
  cursor: pointer;
  margin: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.input-choice:hover {
  color: #1ab394;
}
.input-choice input {
  display: none;
}
.input-choice input:checked + .input-choice__txt {
  background-color: #f3f3f4;
}
.input-choice__txt {
  padding: 2px 15px;
  display: block;
}
.row-sm {
  margin-left: -5px;
  margin-right: -5px;
}
.col-sm-p {
  padding-right: 5px;
  padding-left: 5px;
}
/* SENDING */
.sending {
  display: none;
}
.sending.is-active {
  display: block;
}
.sending-month,
.sending-day {
  display: none;
}
.sending-month.is-active,
.sending-day.is-active {
  display: block;
}
/* BUTTONS-ALIGN */
.buttons-align .btn:hover {
  opacity: .7;
}
.buttons-align .btn.is-active {
  color: #1ab394;
}
/* FILE-PLUS */
.file-plus {
  height: 100%;
  width: 100%;
}
.file-plus input {
  display: none;
}
.file-plus__content {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 3.5em;
  cursor: pointer;
  -webkit-transition: color .3s;
  transition: color .3s;
}
.file-plus__content:hover {
  color: #1ab394;
}
/* NAV-LINK__REMOVE */
.nav-link__remove {
  cursor: pointer;
  -webkit-transition: color .3s;
  transition: color .3s;
  width: 30px;
  text-align: center;
  margin-right: -15px;
  display: none;
}
.nav-link__remove.is-visible {
  display: block;
}
.nav-link__remove:hover {
  color: #ed5565;
}
.nav-link__remove i {
  margin-right: 0 !important;
}
.nav-link.nav-link_hide,
.nav-link__plus {
  display: none;
}
.nav-link.nav-link_hide.is-visible,
.nav-link__plus.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.nav-link__plus {
  color: #1ab394;
  font-size: 1.15em;
  line-height: 1;
  padding: 0 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.nav-link__plus:hover {
  opacity: .7;
}
/* DROPDOWN */
.dropdown_dark .dropdown-toggle {
  background-color: #002b36;
  border: none;
  color: #fff;
}
.dropdown_dark .dropdown-menu {
  color: #fff;
  background-color: #002b36;
}
.dropdown_dark .dropdown-menu > li > a {
  line-height: inherit;
}
/* ADD-BOX */
.add-box {
  position: relative;
}
.add-box .btn.is-active {
  background-color: #007bff;
}
.add-box__dropdown {
  width: 178px;
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #e7eaec;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}
.add-box__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 5px;
  border-bottom: 1px solid #e7eaec;
}
.add-box__group:last-child {
  border-bottom: none;
}
.add-box__item {
  padding: 5px;
}

.link-underline {
  text-decoration:underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(26, 179, 148);
}

.text-decoration-style--dashed {
  text-decoration-style: dashed;
}

.text-decoration-thickness--2px {
  text-decoration-thickness: 2px;
}


.ajax-loading--v2 {
  position: relative;
  pointer-events: none;
}

.ajax-loading--v2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease-in;
}

.ajax-loading--v2::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38'%3E%3Cg fill='none' stroke='%231ab394'%3E%3Cpath d='M19 1.5a17.5 17.5 0 1 1 0 35 17.5 17.5 0 0 1 0-35' stroke-width='3' stroke-dasharray='54.978 54.978' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 19 19' to='360 19 19' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}