@font-face {
  font-family: 'icomoon';
  src:  url('/fonts/icomoon.eot?r09haa');
  src:  url('/fonts/icomoon.eot?r09haa#iefix') format('embedded-opentype'),
    url('/fonts/icomoon.ttf?r09haa') format('truetype'),
    url('/fonts/icomoon.woff?r09haa') format('woff'),
    url('/fonts/icomoon.svg?r09haa#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}


/* Каркас */

:focus {
  outline: 0;
}

.middle-box {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -200px 0 0 -200px !important;
}

.middle-box h1 {
  font-size: 50px;
  color: #18a78a;
}

.middle-box h2 {
  margin: 0 0 50px;
}

.not-valid {
  margin: 2px;
  color: #ef5352;
}

.not-valid.left {
  text-align: left;
}
.not-valid.right {
  text-align: right;
}
.middle-box .text-danger {
  margin: 10px 0;
}

#templates-viewport .not-valid
{
    padding: 0 20px;
    background: #f3f3f4 !important;
}
#side-menu .nav-header h2 {
  margin: -15px 0;
  color: #fff;
}

/* Текстовый редактор */

.note-editor {
  height: auto !important;
}

.note-editor .note-toolbar {
  border: 1px solid #e5e6e7;
  border-bottom: none;
}

.note-editor .note-editable {
  border: 1px solid #e5e6e7;
  border-top: none;
}

.note-editor.fullscreen {
  z-index: 2042 !important;
}

.note-editor .note-toolbar {
  padding-left: 4px;
}

.note-editor .note-toolbar > .btn-group {
  margin-right: 1px !important;
  margin-left: 1px !important;
}

.tooltip {
  z-index: 9999 !important;
}

#preview-polls-dialog .modal-dialog {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.tooltip-inner {
  width: auto;
  min-width: 50px;
  max-width: 300px;
}

.modal-backdrop {
  /* display: none !important; */
}

.checkbox-inline,
.radio-inline {
  position: static;
}

.radio-inline-spin,
.radio-block-spin {
  width: 49%;
  margin-right: 1%;
  font-weight: 400 !important;
}
.radio-block-spin {
  width: 100%;
}
.radio-inline-spin input[type="radio"],
.radio-block-spin input[type="radio"] {
  position: relative;
  top: 2px;
  margin: 0 10px 10px 0;
}
.radio-block-spin .ui-spinner {
  display: inline-block;
  width: 90px;
}

  /* Датапикер */

.datepicker {
  z-index: 8888 !important;
}

/* Список клиентов */

.client-list-actions {
  position: relative;
  top: -35px;
}

.dataTables_wrapper select,
.dataTables_wrapper input {
  padding: 0;
  font-size: 12px;
  margin: 0 5px;
}

.ibox {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border:none!important;
}
#builder-box.ibox {
  overflow: visible;
}

.client-list-stats {
  display: none;
  margin: 0;
}
.client-list-quality.ibox,
.client-list-quality .double-optin {
  display: none;
}
.client-list-quality .double-optin i {
  font-style: normal;
}

/* Таблица рфм */

.table-rfm td {
  width: 16%;
  padding: 0 !important;
}

.table-rfm-val {
  padding: 10px;
  color: #000;
}

.table-rfm {
  margin: 20px 0 0;
}

.table-rfm h3 {
  height: 20px;
  margin: 0;
}

.table-rfm .rotate90 {
  white-space: nowrap;
  width: 20px;
}

.table-rfm .rotate90 h3 {
  width: 20px;
  transform: translate(0, 0) rotate(90deg);
}

.table-rfm td {
  opacity: 0.9;
  cursor: pointer;
}

.table-rfm td:hover {
  opacity: 1;
}

.table-rfm .nowrap {
  white-space: nowrap;
}

/* Список задач */

.issue-tracker th {
  line-height: 30px !important;
  background: #f5f5f6;
}

/* Редактор кампании */

#graph {
  position: relative;
  width: 100%;
  height: 500px;
  margin: auto;
  background: #fff;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e6e7;
  overflow: auto;
}

.error-box-text {
  color: #ed5565;
}

.has-error #graph {
  border-color: #ed5565;
}

.has-error input {
  border: solid 1px #ed5565;
}

#graph .node {
  position: absolute !important;
  padding: 16px 30px 16px 42px;
  background: #fff;
  border: 1px solid #2f4050;
  cursor: pointer;
}

#graph .node:hover {
  background: #2f4050;
  color: #fff;
}

#graph .node label {
  margin-right: 10px;
}

#graph .node .icon {
  position: absolute;
  left: 10px;
  top: 13px;
}

#graph .node button {
  position: absolute;
  right: 5px;
  top: 1px;
  border: none;
  background: none;
}

#graph .node .add-node {
  top: auto;
  bottom: 1px;
}

#graph .node .edit-node {
  top: 50%;
  margin-top: -10px;
}

#node1 .del-node {
  display: none;
}

.ui-spinner {
  position: relative;
  display: block;
  border: none;
}

.ui-spinner-up {
  position: absolute;
  top: 0;
  right: 10px;
}

.ui-spinner-down {
  position: absolute;
  bottom: 0;
  right: 10px;
}

.rule-value-container {
  display: inline-block !important;
}

.polls-wrapper-absolute > gc-polls-editor {
  width: 100%;
}

.polls-wrapper-absolute {
  background-color: #f3f3f4;
  position: absolute;
  height: auto;
  right: -22px;
  padding-right: 11px;
  left: -15px;
  padding-left: 11px;
}

#page-wrapper.page-wrapper-top {
  z-index: 2004 !important;
}

.wrapper-content {
  position: relative;
  z-index: 1001 !important;
}

/* Редактор шаблонов */

#templates-presets {
  position: fixed;
  left: 220px;
  top: 0;
  width: 290px;
  bottom: 0;
  background: #293846;
  z-index: 2003;
}

#templates-presets .collapse {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 15px;
  height: 30px;
  margin: -15px -15px 0 0;
  background: #293846;
  border-radius: 0 2px 2px 0;
  text-align: center;
  cursor: pointer;
}

#templates-presets .collapse i {
  margin: 8px 0 0;
  color: #fff;
}

#templates-presets + #page-wrapper {
  margin-left: 510px;
}

body.mini-navbar #templates-presets {
  left: 70px;
}

body.mini-navbar #templates-presets + #page-wrapper {
  margin-left: 360px;
}

body.mini-presets #templates-presets {
  width: 0;
}

body.mini-presets #templates-presets + #page-wrapper {
  margin-left: 220px;
}

body.mini-navbar.mini-presets #templates-presets + #page-wrapper {
  margin-left: 70px;
}

.nav-second-level li a.disabled {
  color: #a7b1c2 !important;
  cursor: default;
}

#templates-presets h2 {
  color: #fff;
  text-align: center;
}

#templates-presets .item {
  margin: 20px;
  background: #fff;
  cursor: pointer;
  line-height: 1px;
  z-index: 9999;
}

#templates-viewport {
  max-width: 820px;
  min-height: 40px;
  margin: 20px auto 50px;
  background-color: #fff;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAJCAYAAAD+dPTmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjU0QTlFQ0Q0RTFBMTFFNTgyQTg4NzAyNUM3MjA0N0IiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjU0QTlFQ0U0RTFBMTFFNTgyQTg4NzAyNUM3MjA0N0IiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyNTRBOUVDQjRFMUExMUU1ODJBODg3MDI1QzcyMDQ3QiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyNTRBOUVDQzRFMUExMUU1ODJBODg3MDI1QzcyMDQ3QiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoVWrQ8AAALvSURBVHja7Fe9btswEKaK7OUbhOgL2EAfQDLQvX4Dp1O9Jd28Gd662d7cLrbXZoiyFzD9AAHcB0irPkGVJ1DJ4q74cj0mkrMVOeBs6kTeH48fT5lB2pWvTWa+m2L4i0VN0xiNxuMxD23gPo0PgWsa9+mdh2UFjCviSA7GOK8mnazvAHPQLup08Iy22R9pn+VoC/3EmArQ68BWDT4ZIZM+WxErxsI+yFgL4Z/ME+bSov3VamXa0Avx/CXwG9ON+oIjXUGScDxP6IhzhvA8B91Xj6xFu/F/lJg3F2tGiq15wpYjPyxs2kgpRCPszxVfpX9D4YOF5zhe07+DXEhbqHNK3IlO7j1lEQK6qjB54GuoxDN6LqFao2PvqEq9kpwl6Smhmj3o10jq8nRCKsWGhhC5Il8ndMeN+SBO8ls6oV7Jh++Qv/PAg8S7M8rNAQojyjYU6zeylZsn0sk/kizrqsORowxTp4H3Cbh2VBQxoC2tO6ck9+CK4HlO6MJKnyX8YT9+UsLaUEEFWQk/2Y5T4JxPYk4+pjaf9ew75nVKaLEQuczhAHmlcPYw3rQvBF/e/oWCxrwKP5+C7CO9fx/46wPrrSK7E3IL92UFG7gmlLBUDDUEjvN2EBDLLmjzfOLUz444FCVsdiV01CIOpm2L0z+D62/ZwZ+Z0j9Zyi8jz0Ks6SX6lRY9QhM3u5mE/0moh9gkfg48Ib5pAWsyuA3JLcDqUkERhrktBT1TIM4mAsqVTXkK+cSJZ1pSHPaYJCeKCG1fJPRuIZd8YPha2Cs5NZBLIxrnB+n+PfAHHUIBFMPLFl8NBcGX/CoYwCa/pGAqAZN3EFAp1vN1gcmoSN8pwKwXwfKVMkpcHwiV3PH7BIROFft96gu4MPpQuHgNIVKxzxyvBbuyYezRvIXi6wh0xIL6IXx21C+U4nqz4avhcEQhXN+GnZ+YQetCyEWyp0fC8jN1o51oMAulGTZdPh9lIYTeoLkMiHDzWCE80/9FvwUYAFnk8d61iEK7AAAAAElFTkSuQmCC");
  background-position: center 17px;
  background-repeat: no-repeat;
}

#templates-viewport .item {
  position: relative;
  background: #fff;
}

#templates-viewport .item-top {
  z-index: 9999 !important;
}

#templates-viewport .item:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2042;
}

#templates-viewport .item.source .content,
#templates-viewport .item.source .controls {
  display: none;
}

#templates-viewport .note-editable {
  border: none !important;
  padding: 0 !important;
}

#templates-viewport .item .item-remove,
#templates-viewport .item .item-drag,
#templates-viewport .item .item-clone,
#templates-viewport .item .item-source,
#templates-viewport .item .item-save {
  position: absolute;
  width: 44px;
  height: 44px;
  background: #23c6c8;
  color: #fff;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
}
#templates-viewport .item .item-remove {
  left: 0;
  top: 0;
  background: #ed5565;
}
#templates-viewport .item .item-drag {
  right: 0;
  top: 0;
}
#templates-viewport .item .item-clone {
  right: 44px;
  top: 0;
}
#templates-viewport .item .item-source {
  right: 88px;
  top: 0;
}
#templates-viewport .item .item-save {
  left: 0;
  bottom: 0;
}

.ui-sortable-placeholder i {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -10px 0 0 -10px;
}

#templates-form {
  padding: 20px;
  max-width: 820px;
  margin: 50px auto;
  background-color: #fff;
}

/* Список шаблонов */

.template-box {
  padding: 0;
  border: 1px solid #e7eaec;
}

.template-box-new,
.preset-box-new {
  display: block;
  height: 294px;
  padding: 100px 0 0;
  border: 1px solid #e7eaec;
  background-color: #f8f8f9;
  color: #bebec3;
  text-align: center;
}

.preset-box-new {
  height: 234px;
  padding: 70px 0 0;
  margin: 0 8px 0 0;
}

.template-image {
  margin: 20px 30px 0;
  height: 150px;
  overflow: hidden;
}

.template-desc {
  padding: 20px;
  position: relative;
}

.template-name {
  height: 44px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  color: #676a6c;
  display: block;
  margin: 2px 0 5px 0;
}

.templates-select {
  margin-left: 20px;
  font-weight: normal;
}

.fh-wrap {
  position: absolute;
  top: 163px;
  left: 0;
  bottom: 0;
}

.fh-wrap .fh-column {
  width: 318px;
  float: right !important;
}

.fh-wrap .fh-column .carousel {
  min-height: 100%;
}

/* Датапикер */

#stats-datepicker {
  margin-top: 22px;
}

.input-daterange .input-group-addon:first-child {
  padding: 4px 9px;
  border-left: 1px solid #e5e6e7;
  border-radius: 3px 0 0 3px;
}

.input-daterange input {
  padding: 0;
}

#stats-datepicker input {
  width: 100px;
}
#stats-datepicker button {
  display: block;
  border-radius: 0 3px 3px 0;
}

.mailings .readonly #builder-box {
  position: relative;
}

#builder {
  position: relative;
}

.builder-readonly-support .readonly #builder:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  content: "";
  z-index: 10;
}

.conversion {
  position: relative;
  left: -10px;
  width: 250px;
  height: 300px;
  margin: 0;
  padding: 0;
  background: url("/img/convers.jpg");
  list-style: none;
}

.conversion.sm {
  height: 205px;
  background: url("/img/convers_sm.png");
}

.conversion.md {
  height: 270px;
  background: url("/img/convers_md.png");
}

.conversion.lg {
  height: 340px;
  background: url("/img/convers_lg.png");
}

.conversion.xs {
  height: 158px;
  background: url("/img/convers_xs.png");
}


.conversion .lvl {
  position: absolute;
  right: -220px;
  min-width: 225px;
  text-align: right;
  border-bottom: solid 2px #e7e7e7;
  white-space: nowrap;
}

.conversion .lvl-1 { top: 57px; }
.conversion .lvl-2 { top: 105px; }
.conversion .lvl-3 { top: 153px; }
.conversion .lvl-4 { top: 201px; }
.conversion .lvl-5 { top: 246px; }

.conversion.lg .lvl-1 { top: 52px; }
.conversion.lg .lvl-2 { top: 107px; }
.conversion.lg .lvl-3 { top: 155px; }
.conversion.lg .lvl-4 { top: 203px; }
.conversion.lg .lvl-5 { top: 251px; }
.conversion.lg .lvl-6 { top: 296px; }

.fc-time {
  display: none;
}

#flot-dashboard-chart {
  padding: 0 0 30px !important;
}

#flot-dashboard-chart div.xAxis div.tickLabel {
  transform: translate(-20px, 20px) rotate(-50deg);
}

.toggle-input {
  color: #1c84c6;
  border-bottom: 1px dashed #1c84c6;
  cursor: pointer;
}

.toggle-input:hover {
  border-bottom-color: transparent;
}

/* Автокомплит */

.ui-autocomplete {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  background: white;
  border-color: black;
  color: black;
  z-index: 9996;
}

.ui-autocomplete li {
  padding: 5px 10px;
  color: black;
  cursor: pointer;
}

.ui-autocomplete li a {
  color: black;
  background: none !important;
}

.ui-autocomplete li:hover a,
.ui-autocomplete li.ui-state-focus a {
  font-weight: 600;
}

.call-tasks-list-name a {
  font-weight: 700;
  color: #333;
}

.call-tasks-list-name a:hover {
  color: #666;
}

.call-task-item-script,
.call-task-item-archive,
.call-task-item-end {
  display: none;
}

.call-tasks-list-done .call-task-item-archive,
.call-tasks-list-done .call-task-item-end {
  display: block;
}

.call-task-item-employee {
  margin: 5px 0;
  font-style: italic;
  font-size: 10px;
}

.ui-helper-hidden-accessible {
  display: none !important;
}

.call-task-filter-theme,
.call-task-filter-client {
  display: none;
}

.textarea-with-macros {
  position: relative;
}

.textarea-with-macros-counter {
  position: absolute;
  top: -22px;
  right: 90px;
  font-size: 12px;
}

.textarea-with-macros-select {
  position: absolute;
  right: 0;
  top: -35px;
}

.textarea-with-macros-select select {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 30px;
  opacity: 0;
}

.textarea-with-macros-input {
  margin: 5px 0 0;
}

.textarea-with-autocomplete {
  resize: vertical;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.list-group-item-half {
  float: right;
  max-width: 70%;
  text-align: right;
  word-wrap: break-word;
}

#vertical-timeline .wrap-10 + .wrap-10 {
  display: none;
  margin: 2em 0 0;
}

#vertical-timeline .show-more {
  display: none;
  width: 200px;
  margin: 30px auto 0;
}

#vertical-timeline .show-more-active {
  display: block;
}

.modal-footer {
  margin-top: 0;
}

.client-list-wrap {
  display: none;
}

.client-info .fa {
  cursor: pointer;
}

.client-info .edit-client-data {
  width: 120px;
  height: 25px;
  margin: 0;
  padding: 5px;
  border: 1px solid #ddd;
}

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

.show-report-clients {
  float: right;
  margin: -25px 0 0;
  color: #777;
  cursor: pointer;
}

.show-report-clients:hover {
  color: #1ab394;
}

.show-ab-clients:hover {
  cursor: pointer;
  background: rgba(26, 179, 148, 0.5);
}

.show-ab-clients_active {
  background: rgba(26, 179, 148, 0.4);
}

.report-progress #builder-result h2 {
  margin-bottom: 30px;
}

#abtest,
#mail-status {
  padding: 6px 12px;
  border: 1px solid #e5e6e7;
}

.unsubscribe-form {
  position: initial;
  margin: 0 auto !important;
}

.vote-form {
  margin-top: 20px !important;
  text-align: left;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vote-form h3 {
  margin: 30px 0 10px;
  line-height: 20px;
}

.ab-winner {
  background: #1ab394;
  color: #fff;
}

/* Fake file upload */

.fakefiles-upload {
  display: table;
}

.fakefiles-input {
  display: none !important;
}

.fakefiles-label {
  font-weight: 400;
  border-bottom: 1px dashed #676a6c;
  cursor: pointer;
}

.fakefiles-label:hover {
  border-bottom-color: transparent;
}

.fakefiles-preview {
  margin: 15px 0 25px;
  padding: 0;
  list-style: none;
}

.fakefiles-preview li {
  margin-bottom: 10px;
}

.fakefiles-preview i {
  margin-right: 5px;
  cursor: pointer;
}

.fakefiles-preview i:hover {
  opacity: 0.8;
}

/* Fake image upload */

.fakeimage-upload {
  display: table;
}

.fakeimage-input {
  display: none !important;
}

.fakeimage-label {
  font-weight: 400;
  border-bottom: 1px dashed #676a6c;
  cursor: pointer;
}

.fakeimage-label:hover {
  border-bottom-color: transparent;
}

.fakeimage-preview {
  position: relative;
  display: block;
  width: 200px;
  margin: 0;
}

.fakeimage-preview img {
  width: 100%;
  height: auto;
  margin: 10px 0;
}

.fakeimage-preview i {
  position: absolute;
  top: -4px;
  right: -12px;
  color: #ed5565;
  cursor: pointer;
}

.fakeimage-preview i:hover {
  opacity: 0.7;
}

.icheckbox_square-green {
  top: -2px;
}
.report-parts,
.builder-box,
.table-rfm,
.client-top,
.analytics-mailings {
  position: relative;
}
.report-parts.loading::before,
.builder-box.loading::before,
.table-rfm.loading::before,
.client-top.loading::before,
.analytics-mailings.loading::before {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: #fff;
  content: "";
  z-index: 55;
  opacity: 0.7;
}
.report-parts.loading::after,
.builder-box.loading::after,
.table-rfm.loading::after,
.client-top.loading::after,
.analytics-mailings.loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  background-color: #1ab394;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
  animation: sk-pulseScaleOut 1s infinite ease-in-out;
  content: "";
  z-index: 55;
}
.client-list-hidden {
  display: none;
}
.no-transition {
  transition: none !important;
}
.input-daterange input:last-child {
  border-radius: 0;
}
.list-fields-group,
.list-field,
.fields-group,
.field {
  position: relative;
  background: #fff;
}
.fields-group {
  padding: 10px 0 0;
  border-bottom: 1px solid #e7eaec;
}
.list-fields {
  min-height: 3px;
}
.field {
  padding: 5px 0 5px 10px;
  border-top: 1px solid #e7eaec;
}
.fields-group-header {
  padding: 0 0 10px;
}
#save-field .checkbox-inline {
  margin: 0 10px 0 0;
}
.list-fields-groups,
.add-fields-group {
  position: relative;
}
.tab-pane.disabled a[data-action="dlg-fields-group"],
.tab-pane.disabled a[data-dlg="add"] {
  background-color: #c1c1c1;
  border-color: #c1c1c1;
}
.tab-pane.disabled [data-action="dlg-field"] i.fa-pencil,
.tab-pane.disabled a i.fa-trash {
  color: #c1c1c1;
}
.tab-pane.disabled .list-fields-groups::after,
.tab-pane.disabled .add-fields-group::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  content: "";
}
.edit-view .left-block,
.edit-view .right-block,
.edit-view .center-block {
  display: inline-block;
  width: 47%;
  vertical-align: top;
}
.edit-view .center-block {
  width: 4%;
  margin-top: 25vh;
  text-align: center;
}
.edit-view ul {
  margin: 0;
  padding: 0;
  background: none;
  list-style: none;
}
.edit-view ul.connected,
.edit-view ul.group-connected {
  min-height: 100px;
}
.edit-view li {
  background: #fafafa;
  padding: 5px;
  margin: 5px 0;
}
.edit-view .title,
.edit-view .title {
  font-weight: 700;
}
.edit-view .cap {
  height: 30px;
}
.edit-view input {
  width: 88%;
  height: 25px;
  border: 1px solid #e5e6e7;
  vertical-align: top;
  padding: 0 22px;
}
.edit-view .fa-search {
  width: 25px;
  line-height: 23px;
  border: 1px solid #e5e6e7;
  border-right: none;
  text-align: center;
  vertical-align: top;
  position: absolute;
}
body.modal-open {
  overflow: visible;
}

#builder .chosen-single,
#node-dlg .chosen-single,
gc-chosen-select .chosen-single {
  background: #fff !important;
  border: 1px solid #e5e6e7 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 4px !important;
  height: 34px !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -ms-border-radius: 0 !important;
  -o-border-radius: 0 !important;
}

#node-dlg .chosen-single {
  max-width: 100%;
}
#node-dlg .chosen-container .chosen-drop {
  max-width: 100%;
}

#node-dlg .chosen-container-single .chosen-single div b {
  background-position: 0 7px;
}

.chosen-drop {
  box-shadow: none !important;
  border-color: #e5e6e7 !important;
}

.chosen-drop .chosen-search .chosen-search-input {
  border-color: #e5e6e7 !important;
}

.chosen-drop .highlighted {
  background-image: none !important;
  background-color: var(--primary) !important;
}

#builder .group-conditions .btn-primary:not(.active) {
  background-color: lightgray;
  border-color: lightgray;
}

#builder .chosen-container-single {
  min-width: 250px;
}

#builder .chosen-container-single .chosen-drop {
  border: 1px solid #e5e6e7;
  border-top: none;
}

#builder .chosen-container {
  min-width: 200px;
}
#builder .chosen-single div b {
  background-position: 2px 6px;
}
#builder .chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -16px 6px;
}
#builder .chosen-search input[type="text"] {
  height: 24px !important;
}
#builder .group-conditions .btn-primary.active {
  background: #1a9b7d;
}
#builder .chosen-container .chosen-results {
  max-height: 50vh;
}
.text-right .chosen-container {
  text-align: left;
  max-width: 100%;
}

#variants-slider .noUi-connect {
  background: #f8ac59;
}

.variants-nav {
    margin-bottom: -1rem;
    display: flex;
    height: 3.8rem !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus
{
    background-color: #FFF;
    border: none;
}

.nav-tabs > li > a {
    border: none;
    height: 100%;
}
.only-wrapper .navbar-default,
.only-wrapper .navbar-static-top,
.only-wrapper .navbar-header .btn-menu {
  display: none;
}
.only-wrapper #page-wrapper {
  margin-left: 0;
}
.pvtRenderer {
  margin-right: 6px;
}
thead th {
  background-color: #fff !important;
}

@media (min-width: 1200px) {
  .wrapperLine .ibox-content > div > [class="row"] {
    display: flex;
    flex-wrap: nowrap;
  }
}

#stats-orders-reorder > .row,
#stats-eorders-reorder > .row {
    display: flex;
    justify-content: center;
}

.connected .title.selected,
.group .title.selected {
  color: #6b6a6c;
  background-color: #fafafa;
}

.connected .item.selected,
.group .item.selected {
  color: #ffffff;
  background-color: #c1c1c1;
}
.dlg-hint {
  font-size: 10px;
  font-weight: bold;
  padding-left: 25px;
}

.row.charts-report > .col-lg-4 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.table-overflow {
  overflow: auto;
}

.tree_node {
  margin-left: 3px;
  padding-left: 6px;
  border-left: 1px solid rgb(105, 105, 105);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding-top: 4px;
}

.tree_hidden {
  display: none;
}

.tree_node[data-value="__ROOT_ELEMENT__"] {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
.tree_node.active > .name {
  color: #121212;
}
.tree_switcher {
  font-size: 15px;
  font-family: monospace;
  width: 9px;
  height: 9px;
  display: inline-block;
}
.tree_node .name {
  padding: 2px;
}
.tree_node.active > .name {
  background-color: #a7b1c2;
  color: white;
}

.remove_name, .unzip_name {
  font-weight: bold;
}

.campaign-control-group {
  width: 300px;
}

.campaign-control-group__text {
  text-align: right;
  margin: 8px 0 0;
}

.campaign-control-group__disabled {
  display: none;
}

.campaign-control-group__readonly {
  opacity: 50%;
  user-select: none;
  pointer-events: none;
}

.input-daterange-wrap {
  display: flex;
}

.group-label {
    position: relative;
}

#search_client, .search_client_test{
    width: 100%;
    border-radius: 5px 0 0 5px;
    height: 34px;
    border: 1px solid #e7eaec;
    padding: 1% 1% 1% 10px;
}

#search_client:focus, .search_client_test:focus{
    border-color:#1ab394;
}

.search_client_test {
    border-radius: 1px;
    width:100%
}

.modal-header .placeholder_search, .modal-body .placeholder_search{
    position: absolute;
    left: 2%;
    top: -5px;
    font-size: 10px;
    color: gray;
    background-color: rgb(255, 254, 253);
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

.ui-autocomplete, .preview-ui-menu {
  background: #ffffff;
  color: black;
  border-radius: 5px;
}

.ui-autocomplete li, .preview-ui-menu li {
    overflow: hidden;
}

.ui-autocomplete li a, .preview-ui-menu li a{
    display: block;
    position: relative;
    width:100%;
    color: black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal !important;
}

.ui-autocomplete li:hover, .preview-ui-menu li:hover {
    font-weight: normal;
    background: #1ab394;
}

a.btn.btn-white.preview-resize {
    background: #1ab394;
    border-color: #17a085;
    color: #FFF;
    width: 41px;
}
#preview-dlg {
  z-index: 2147483600 !important;
  overflow: hidden;
}
.ui-autocomplete {
  z-index: 2147483601 !important;
}

#preview-dlg .modal-dialog,
#preview-dlg .modal-content,
#preview-dlg .modal-body {
  height: 90%;
  position: relative;
}

#preview-dlg .modal-content{
  overflow: hidden;
}

#preview-dlg .modal-body {
  overflow: auto;
}

#preview-dlg .modal-body iframe {
  height: 100% !important;
}

div.blur, iframe.blur {
  filter: blur(3px);
}

div.load-content {
  margin: auto;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(249, 249, 249, 0.4);
}

.load-l1, .load-l2, .load-l3 {
  background: #1ab394;
  height: 5px;
  width: 29px;
  margin: 5px;
  animation: load-loading1 1.15s 0s infinite ease-in-out;
  -o-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -ms-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -webkit-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -moz-animation: load-loading1 1.15s 0s infinite ease-in-out;
}

.load-l2 {
  background: #2f4050 ;
  animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -o-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -ms-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -webkit-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -moz-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
}

.load-l3 {
  background: #f8ac59;
  animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -o-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -ms-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -webkit-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -moz-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
}

.load-text {
  color: black;
  font-weight: 500;
}
@keyframes load-loading1 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-o-keyframes load-loading1 {
  0% {
    -o-transform: rotate(0deg);
  }
  50% {
    -o-transform: rotate(180deg);
  }
  100% {
    -o-transform: rotate(360deg);
  }
}

@-ms-keyframes load-loading1 {
  0% {
    -ms-transform: rotate(0deg);
  }
  50% {
    -ms-transform: rotate(180deg);
  }
  100% {
    -ms-transform: rotate(360deg);
  }
}

@-webkit-keyframes load-loading1 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes load-loading1 {
  0% {
    -moz-transform: rotate(0deg);
  }
  50% {
    -moz-transform: rotate(180deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}

@keyframes load-loading2 {
  0% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(-10px);
  }
}

@-o-keyframes load-loading2 {
  0% {
    -o-transform: translateX(10px);
  }
  100% {
    -o-transform: translateX(-10px);
  }
}

@-ms-keyframes load-loading2 {
  0% {
    -ms-transform: translateX(10px);
  }
  100% {
    -ms-transform: translateX(-10px);
  }
}

@-webkit-keyframes load-loading2 {
  0% {
    -webkit-transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(-10px);
  }
}

@-moz-keyframes load-loading2 {
  0% {
    -moz-transform: translateX(10px);
  }
  100% {
    -moz-transform: translateX(-10px);
  }
}

.btn-group.pull-right.rule-actions {
  display: flex;
}

.pre-load {
  position: absolute;
  left: -999999999px;
}

.btn-blue {
  background-color: #2196f3;
  border-color: #2196f3;
}

.btn-blue:hover, .btn-blue:active, .btn-blue:focus {
  background-color: #1070be;
  border-color: #2196f3;
}

.graph-campaigns-error-box {
  color: brown;
  font-family: monospace;
}
.editor-wrapper {
  padding: 1px;
}
.metric-placeholder {
  width: 23.2%;
  margin: 0 0.9%;
  float: left;
}

#preview-dlg .modal-dialog,
#preview-dlg .modal-content,
#preview-dlg .modal-body {
  height: 90%;
  position: relative;
}

#preview-dlg .modal-content{
  overflow: hidden;
}

#preview-dlg .modal-body {
  overflow: auto;
}


div.blur, iframe.blur {
  -webkit-filter: blur(3px);
          filter: blur(3px);
}

div.load-content {
  margin: auto;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(249, 249, 249, 0.4);
  z-index: 9;
}

div.load-content.show-loader{
  display: flex !important;
}

.load-l1, .load-l2, .load-l3 {
  background: #1ab394;
  height: 5px;
  width: 29px;
  margin: 5px;
  animation: load-loading1 1.15s 0s infinite ease-in-out;
  -o-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -ms-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -webkit-animation: load-loading1 1.15s 0s infinite ease-in-out;
  -moz-animation: load-loading1 1.15s 0s infinite ease-in-out;
}

.load-l2 {
  background: #2f4050 ;
  animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -o-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -ms-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -webkit-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
  -moz-animation: load-loading2 0.58s 0s infinite ease-in-out alternate;
}

.load-l3 {
  background: #f8ac59;
  animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -o-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -ms-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -webkit-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
  -moz-animation: load-loading1 1.15s 0s infinite ease-in-out reverse;
}

.load-text {
  color: black;
  font-weight: 500;
}

@keyframes load-loading1 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes load-loading1 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes load-loading2 {
  0% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(-10px);
  }
}

@-webkit-keyframes load-loading2 {
  0% {
    -webkit-transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(-10px);
  }
}

#preview-dlg .modal-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@-moz-keyframes load-loading2 {
  0% {
    -moz-transform: translateX(10px);
  }
  100% {
    -moz-transform: translateX(-10px);
  }
}

#preview-dlg .modal-title {
  width: 100%;
}

#preview-dlg .container {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0;
}

.mailings-calendar-filter {
  min-width: 150px;
  margin-top: 45px;
}

.heatmap-btn-toggler {
  background-color: #0284cd;
  color: white;
  outline: 0;
  border: 0;

  margin: 5px;
  border-radius: 5px;
}


.heatmap-btn-toggler.active {
  background-color: #4b607f;
}

.spacer {
  margin: auto;
}

.gc-row {
  display: flex;
  flex-direction: row;
}

.heatmap {
  width: 100% !important;
}
.tab-content { position: relative }

.client-list-wrap {
  position: relative;
}

textarea.gc-textarea-with-autocomplete--textarea {
  border: 0;
  outline: 0;
  width: 100%;
  height: 100%;
}

gc-textarea-with-autocomplete > textarea {
  white-space: pre;
}

.gc-textarea-autocomplete-wrapper {
  background-color: rgba(37, 37, 38, 0.876);
  padding: 3px;
  color: white;
  max-height: 300px;
  overflow-y: scroll;
}


.gc-textarea-autocomplete-ruler {
  margin: 0px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0px;
  border: 0px;
  outline: 0px;
}

.gc-textarea-autocomplete-row {
  cursor: pointer;
}
.gc-textarea-autocomplete-row:hover {
  background-color: rgb(86, 86, 184);
}
.gc-textarea-autocomplete-row-active {
  background-color: rgb(86, 86, 184);
}
th.no-sorting {
    background: none !important;
    pointer-events: none !important;
}

.jodit_fullsize-box_true #node-dlg {
  position: absolute !important;
}

.jodit_fullsize-box_true > [class*="navbar"] {
  display: none;
}
.jodit_fullsize-box_true > #page-wrapper {
  margin: 0;
}

.jodit_fullsize-box_true > #templates-presets + #page-wrapper {
  margin-left: 0px !important;
}

.jodit_fullsize-box_true .modal-backdrop {
  display: none;
}

.jodit-popup__content > .jodit-ui-form > .jodit-ui-block > .jodit-ui-button_unlink,
.jodit-popup__content > .jodit-toolbar-editor-collection > .jodit-ui-group > .jodit-toolbar-button_file {
  display: none;
}

.jodit-toolbar-button button {
  filter: brightness(0.9);
}
#mailing-dlg .jodit-container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
}

#mailing-dlg .jodit-workplace {
  height: inherit !important;
}

#mailing-dlg .jodit-toolbar__box {
  overflow: visible;
}

.mobile-variants-tabs {
  display: flex;
  /* margin-left: 42px !important; */
  margin-bottom: 8px !important;
  margin-right: 25px;
  width: fit-content;
  margin-left: auto !important;
}

.gc-center {
  margin: auto;
  display: flex;
  justify-content: center;
  padding: 9px;
}

.show-report-poll {
  margin-left: 6px;
}

.gc-row {
  display: flex !important;
  flex-direction: row;
}
.gc-col {
  display: flex !important;
  flex-direction: column;
}

.previewer-tabs {
  position: absolute;
  right: 0px;
  top: 0;
  width: fit-content;
}

.chosen-choices, .chosen-container {
  width: 100%;
}
.chosen-container li, .chosen-container span {
  font-weight: 400;
}

.padding-not {
  padding: 0px;
}
gc-utm-editor {
  display: block;
  width: 350px;
}

gc-select option,
gc-select optgroup {
  display: none;
}
.disable-sort::after { display: none!important; }

.disable-sort { pointer-events: none!important; cursor: default!important; background:none!important }

.table.table-striped.table-hover.client-list.dataTable.no-footer {
  width: 100% !important;
}

.dataTables_scrollBody::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  border-radius: 100px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
  border: 1px solid transparent;
  border-radius: 100px;
  background-color: #337ab7;
  background-clip: content-box;
}
.dataTables_scrollBody {
  overflow-y: hidden !important;
}

[name="refine_frequency"] option[disabled] {
  display: none;
}

#loyalty-table-box {
  display: block;
  overflow-x: scroll;
}

div.disabled
{
  pointer-events: none;
  opacity: 0.5;
}

table.disabled
{
  pointer-events: none;
  opacity: 0.5;
}


.rule-value-container > * {
  display: inline-block;
}
.rule-value-container > * + * {
  margin-left: 5px;
}

.analytics-mailings-scroll-wrap {
	overflow: auto;
}

.analytics-mailings-scroll-wrap table {
	overflow-x: auto;
}

#attr_builder_group_0 .group-conditions .btn-primary:not(.active) {
  background-color: lightgray;
  border-color: lightgray;
}

.unsubscribe-footer-wrapper {
  width: 100%;
  margin-top: 200px;
}

.unsubscribe-footer-hr {
  border: 1px solid gainsboro;
}

.unsubscribe-footer-link {
  color: gray;
}

.clients-quality-container {
  max-width: 500px;
  border: 1px solid lightgray;
}

.clients-quality-title {
  border-bottom: 1px solid lightgray;
}

.rule-filter-container {
  position: relative;
}
gc-select2 > optgroup,
gc-select2 > option {
  display: none;
}
gc-select2 > .label {
  position: absolute;
  top: -5px;
  left: 7px;
  height: 10px;
  padding: 0 3px;
  background-color: white;
  font-size: 10px;
  color: rgb(164, 157, 157);
}
.select2-container {
  min-width: 185px;
  max-width: 250px;
}
.form-group > .select2-container {
  max-width: 100% !important;
}
.select2-container .select2-dropdown {
  z-index: 3000;
}
.select2-container .select2-selection,
.select2-container .select2-dropdown,
.select2-container .select2-search--dropdown .select2-search__field {
  border-color: rgb(220, 222, 226);
}
.select2-container .select2-results__option {
  padding: 3px 6px;
}
.select2-container .select2-results > .select2-results__options::-webkit-scrollbar {
  width: 6px;
}
.select2-container .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(85, 85, 85, 0.2);
}
.select2-container .select2-results__option:first-child:empty {
  display: none;
}

.select2-container .select2-selection--multiple {
  padding-bottom: 0;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
}

.select2-container .select2-selection--multiple .select2-search--inline textarea {
  resize: none;
  height: 2em;
}
span.select2-results > ul.select2-results__options {
  max-height: 50vh !important;
}

.select2-selection__choice {
  width: 97%;
}

.select2-selection__choice__display {
  word-wrap: break-word;
}

.modal-open .page-heading {
  z-index: 0 !important;
}

.modal-open #save-field .modal-dialog {
  z-index: 4000 !important;
}

.configs-gcg-range {
  width: 30%;
}

input[name="audience-date-start"],
input[name="audience-date-end"] {
  width: 63%;
  height: 28px;
}

.inputProductTree {
  border-color: rgb(220, 222, 226) !important;
  border: 1px solid #aaa;
  border-radius: 4px;
  height: 28px;
}

.container-audience-save-button {
  text-align: right;
}

table.wish-list {
  width: 100% !important;
  margin-bottom: -30px !important;
}
table.wish-list td {
  vertical-align: middle !important;
}
table.wish-list thead td {
  font-weight: 700 !important;
}

.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table caption {
  text-align: center;
  padding: 0 15px 12px 12px;
  font-size: medium;
}

.styled-table thead tr {
  text-align: center;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
}

.styled-table tbody tr {
  text-align: center;
  white-space: nowrap;
}

.left-align tbody tr td {
  text-align: left;
}

.left-align thead tr td {
  text-align: left;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid lightgrey;
}

.styled-table tbody tr.inactive {
  color: red;
}

#shops-table-tab .table {
  width: 100% !important;
}

.send-client-type .dropdown-menu {
  width: 100%;
}

.send-client-type .dropdown-menu li a {
  color: rgb(51, 51, 51);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.send-client-type .dropdown-menu li a:hover, .send-client-type .dropdown-menu li a:focus {
  background-color: #f5f5f5;
}

.send-client-type .dropdown-menu .disabled {
  color: #A9A9A9;
}

.stratification-param-select-search-container {
  position: relative;
}

.stratification-param-select-search-container > .select2-container {
  top: 9px !important;
  left: 1px !important;
}

.emoji-picker__emojis {
  overflow-x: hidden;
}

.recommendation-settings-input {
  width: 7% !important;
}

.recommendation-settings-period {
  display: inline;
  width: auto;
  min-width: 75px;
}

.recommendation-settings-calculate-on-wrapper {
  display: flex;
  flex-direction: row
}

.recommendation-settings-calculate-on-select {
  width: auto;
  display: inline;
  margin-top: auto;
  margin-bottom: auto
}

.recommendation-settings-calculate-on-option {
  margin-left: 10px;
  width: auto;
}



.target-categories-label-wrapper {
  display: flex;
  flex-direction: row;
}

.delete-match-button {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5px;
}



.labels-wrapper {
  display: flex;
  flex-direction: row;
}

.recommended-category-wrapper {
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
}

.recommended-categories-label-wrapper {
  width: 185px;
}

.recommended-count-label-wrapper {
  width: 185px;
  margin-left: 5px;
}

.draggable-icon {
  margin-top: auto;
  margin-bottom: auto;
}

.recommended-category-container {
  margin-left: 5px;
}

.recommended-count-input {
  width: 185px;
  height: 28px;
  margin-left: 5px;
}

.delete-category-button {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5px;
}

.advanced-rule-wrapper {
  display: flex;
  flex-direction: row;
}

.advanced-rule-select {
  width: auto;
}

.matchers {
  margin-top: 20px;
}

.matchers .select2-container {
  width: 185px !important;
}

.exact-match-element {
  margin-top: auto !important;
  margin-bottom: auto !important;
  margin-left: 5px;
}

.exact-match-wrapper {
  margin-top: auto !important;
  margin-bottom: auto !important;
  margin-left: 5px !important;
  display: none;
}

.mailings-tfoot {
  display: table-header-group;
}

.error-label {
  color: red;
}

.text-danger.block-margin10 {
  display: block;
  margin: 10px 0 0;
}

.client-fields-view li.title {
  background: #fafafa;
  font-weight: 700;
  font-size: larger;
}

.item-connected .item.selected {
  color: #ffffff;
  background-color: #c1c1c1;
}

.item-connected .item {
  color: #6b6a6c;
}

.right-block .group-connected > li:hover {
  border-style: solid;
  border-width: 2px;
  border-color: rgba(193, 193, 193, 0.40);
}

.right-block .group-connected > li:active {
  border-style: solid;
  border-width: 2px;
  border-color: rgba(193, 193, 193, 0.40);
}

.item-connected > li:hover {
  border-style: none;
}

.item-connected > li:active {
  border-style: none;
}

.loading-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  margin-right: 7px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.campaignReadonly {
  pointer-events: none;
}

.campaignReadonly button.close  {
  pointer-events: auto;
}

.campaignReadonly .btn-white  {
  pointer-events: auto;
}

input.timepicker {
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

.test-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.test-modal .block-preview {
  width: 100%;
}

.test-modal {
  background: white;
  border-radius: 8px;
  padding: 24px;
  min-width: 300px;
  max-width: 500px;
  position: relative;
}

.test-modal-body {
  display: flex;
  flex-direction: column;
  row-gap: 0.8rem;
}

.test-modal-footer {
  display: flex;
  flex-direction: row-reverse;
}

.test-modal-send-button  {
  margin-left: 5px;
}

.ui-autocomplete.ui-menu {
  border-radius: 0;
  border-color: #ddd;
}

.ui-menu-item:hover {
  background-color: var(--primary) !important;
}

input.timepicker {
  margin: 0;
  border-color: #E5E6E7;
}

.time-wait-addon {
  border-left: none;
  border-right: none;
}

.radio input[name="attribution_days"],
.radio input[name="attribution_date_start"],
.radio input[name="attribution_date_end"]  {
  border: 1px solid #E5E6E7;
  padding: 6px;
  font-size: 14px;
}

.query-builder .form-control-sm {
  height: 30px;
  border: 1px solid lightgray;
  border-radius: 3px;
  vertical-align: top !important;
  font-size: 13px;
  color: #444;
}

.report-progress-with-funnel {
  display: flex;
}

.chart-funnel {
  display: flex;
}

.report-parts-with-funnel {
  display: flex;
}

.report-parts-with-funnel > ul {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1500px) {
  .report-parts .col-lg-8 {
    padding-right: 0;
  }

  .report-progress-with-funnel {
    flex-wrap: wrap;
  }

  .report-parts-with-funnel {
    display: contents;
  }

  .chart-funnel  {
    order: 1;
    width: 40%;
  }

  .report-part-1 {
    order: 2;
    width: 30%;
  }

  .report-part-2 {
    order: 3;
    width: 30%;
  }

  .report-part-3 {
    order: 4;
    width: 30%;
  }
}

@media (max-width: 1350px) {
  .report-part-1 {
    margin-left: auto;
  }
  .report-part-1 {
    width: auto;
  }

  .report-part-2 {
    width: auto;
  }

  .report-part-3 {
    width: 33%;
  }
}

@media (max-width: 1240px) {
  .report-parts-with-funnel {
    display: flex;
    order: 2;
    width: 100%;
  }

  .report-parts-with-funnel > ul {
    width: 33.33%;
  }
}

@media (max-width: 1200px) {
  .report-parts-with-funnel {
    flex-direction: column;
  }

  .report-parts-with-funnel > ul {
    width: 100%;
  }
}

.dict-list td[data-code="local_id"] {
  word-break: break-all;
}

.blurred {
  filter: blur(4px)
}

/* Перебиваем некорректную утилиту */
div.collapse,
li.collapse {
  visibility: visible !important;
}

/* При этом сохраняем логику скрытия, если блок не активен */
div.collapse:not(.in):not(.show),
li.collapse:not(.in):not(.show) {
  display: none;
}

.activity-icon {
  font-size: 23px;
  margin-left: 5px;
}

.activity-icon-row {
  margin-left: auto;
  width: fit-content;
}

.item-config-sender {
  padding-bottom: 0.5em;
}

.item-config-sender label {
  padding-right: 0.5em;
}

.item-config-sender input,
.item-config-sender select {
  width: 250px;
  display: inline;
}

.item-config-sender select > option:disabled,
.selectSenderIds:disabled {
  background-color: #f3efef !important;
}

.item-config-sender i.fa-trash {
  cursor: pointer;
}

.help-block-name,
.help-block-email,
.help-block-provider,
.help-block-trash,
.help-block-duplicate {
  display: none;
}

#dlg_remove_sender_name, #dlg_remove_transport_name {
  font-weight: bold;
}

.block-send_time_interval {
  display: flex;
}

.block-send_time_interval .checkbox {
  display: inline-block;
  margin-top: 10px;
}

.block-send_time_interval .block-email_send_time_interval,
.block-send_time_interval .block-sms_send_time_interval{
  display: inline-block;
  width: 450px;
  padding-left: 10px;
}

.block-send_time_interval .fa-question-circle {
  margin-top: 10px;
}

.analytics-mailings > .pull-right {
  display: flex;
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  .analytics-mailings > .pull-right {
    flex-wrap: wrap;
  }
}
.analytics-mailings .btn-group,
.analytics-mailings .input-group {
  display: flex;
  flex-shrink: 0;
}
.analytics-mailings .input-daterange .input-group-addon {
  margin: 0;
  min-width: 26px;
}
.analytics-mailings .select2-container {
  width: auto !important;
  max-width: 600px;
}
.analytics-mailings .select2-selection--multiple {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 30px;
  padding: 0 2px;
  cursor: default;
  overflow-x: auto;
}
.analytics-mailings .select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 !important;
}
.analytics-mailings .select2-selection__choice {
  width: auto;
  flex: 0 0 auto;
  height: 22px;
  margin: 0 2px !important;
  line-height: 20px;
}
.analytics-mailings .select2-search--inline {
  display: none !important;
}