body.iframe > .navbar,
body.iframe .sidebar-main {
    display: none;
}

.CodeMirror-hints {
    font: inherit;
}

.CodeMirror-hint {
    padding: 3px 6px;
}

li.CodeMirror-hint-active {
    background: #607d8b;
}

legend {
  font-weight: bold;
}

.alert-dismissable .close, .alert-dismissible .close {
  right: 0;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    background-color: #e8f5e9;
}

.panel .navbar-nav {
    margin-top: -1px;
    margin-left: 0;
}

.modal-header[class*="bg-"] .close {
    font-weight: bold;
    font-size: 200%;
    margin-top: -12px;
}

.form-group.required .control-label:before{
    content: '*\00a0';
    color: #607d8b;
    font-weight: bold;
}

.field-question {
    font-size: 12px;
    color: #aaa;
}

.field-admin {
    font-size: 12px;
}

.popover-content p {
    margin-bottom: 0;
}

td .form-group {
    margin-bottom: 0;
}

.form-table tbody tr td {
    vertical-align: top;
}

.styled-radio div.radio {
    display: inline-block;
    margin-right: 20px;
}

.styled-radio.radio-list div.radio {
    display: block;
    margin-bottom: 5px;
}

td .radio {
    margin-top: -3px;
    margin-bottom: 2px;
}

.sidebar-default .navigation>li.active>a,
.sidebar-default .navigation>li.active>a:focus,
.sidebar-default .navigation>li.active>a:hover {
    background-color: #e8f5e9;
}

.sidebar-default .navigation li.active>a,
.sidebar-default .navigation li.active>a:focus,
.sidebar-default .navigation li.active>a:hover {
    background-color: #e8f5e9;
}

.select-model-btn {
    display: none;
}

.page-header {
    margin-bottom: 20px;
}

.heading-btn .btn {
    margin-bottom: 3px;
}

.login-form {
    width: 450px;
    margin: 0 auto;
}

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

.num-format {
    text-align: right;
}

.lg-props th:first-child {
    width: 35ex;
    white-space: nowrap;
}

.lg-props tr:first-child th,
.lg-props tr:first-child td {
    border-top: none;
}

.dt-buttons {
    margin: 0;
}

.narrow-col {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

td.narrow-col {
    padding-right: 12px !important;
}

.narrow-col.sorting,
.narrow-col.sorting_asc,
.narrow-col.sorting_desc {
    padding-right: 20px !important;
}

.narrow-col.sorting:before,
.narrow-col.sorting_asc:before,
.narrow-col.sorting_desc:before,
.narrow-col.sorting:after,
.narrow-col.sorting_asc:after,
.narrow-col.sorting_desc:after {
    right: 5px !important;
}

.reorder-handler {
    cursor: pointer;
}

.processing-input-type {
    margin-left: 10px;
    font-weight: bold;
}

.field-editor-codemirror {
    font: inherit;
    height: auto;
    padding: 4px 8px;
}

.field-editor-codemirror .CodeMirror-sizer {
    margin-right: 25px;
}

.dup-options-codemirror .CodeMirror-sizer {
    margin-right: 50px;
}

.field-editor-btn, .dup-options-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 3px 3px 0;
    padding: 7px 11px;
    background-color: transparent;
    z-index: 1000;
}

.dup-options-field {
    position: relative;
    top: -15px;
}

.dup-options-btn {
    right: 35px;
}

#modal-input-fields .heading-elements {
    right: 0;
}

#modal-input-fields .lg-datatable thead {
    display: none;
}

#modal-input-fields .datatable-header {
    padding: 0;
}

#modal-input-fields .dataTables_filter {
    margin-bottom: 15px;
    margin-left: 127px;
}

#modal-input-fields .dataTables_filter input {
    width: 500px;
}

.processing-status-buttons [disabled] {
  cursor: inherit;
}

.processing-status-started[disabled],
.processing-status-started[disabled]:focus,
.processing-status-started[disabled]:hover {
  background-color: green;
  border-color: green;
}

.processing-status-paused[disabled],
.processing-status-paused[disabled]:focus,
.processing-status-paused[disabled]:hover {
  background-color: orange;
  border-color: orange;
}

.processing-status-stopped[disabled],
.processing-status-stopped[disabled]:focus,
.processing-status-stopped[disabled]:hover {
  background-color: red;
  border-color: red;
}

.processing-status-buttons [disabled] i {
  color: white !important;
}

.processing-field {
    border: solid 2px #607d8b;
    white-space: nowrap;
    margin: 1px 1px;
    display: inline-flex;
}

.processing-field-element {
    color: #fff;
    background-color: #607d8b;
    padding: 0 5px 1px 5px;
    display: flex;
}

.processing-field-name {
    color: #607d8b;
    background-color: #fff;
    padding: 0 5px 1px 5px;
    display: flex;
}

.sample-filters-buttons .btn.active {
    color: #fff;
    background-color: #607d8b;
    border-color: #607d8b;
}

.sample-filter-aborted-btn,
.sample-filter-aborted-btn:hover {
    color: red;
}

.sample-filter-incompleted-btn,
.sample-filter-incompleted-btn:hover {
    color: red;
}

.filter-group-nodes {
  border-left: solid 1px #ddd;
  list-style: none;
  padding: 0 0 0 10px;
}

.filter-clause-form {
  display: flex;
  margin-bottom: 10px;
}

.filter-clause-field {
  margin: 0 5px;
}

.filter-clause-field .form-group {
  margin-bottom: 0;
}

.filter-clause-left,
.filter-clause-right {
  flex: 1 1;
}

.filter-clause-op {
  min-width: 130px;
}

.filter-clause-type {
  min-width: 90px;
}

.filter-clause-left {
  margin-left: 0;
}

.filter-clause-delete {
  margin-right: 0;
}

.filter-result-group-header {
  display: flex;
}

.filter-result-group-type {
  flex: 1 1;
  font-weight: bold;
}

.filter-result-result {
  min-width: 30px;
}

.filter-result-group-nodes {
  border-left: solid 1px #ddd;
  list-style: none;
  padding: 0 0 0 10px;
}

.filter-result-clause {
  display: flex;
  border-top: solid 1px #ddd;
}

.filter-result-clause-left,
.filter-result-clause-right {
  flex: 1 1;
}

.filter-result-clause-invalid {
  color: red;
  font-weight: bold;
}

.facebook-page-leadgenform-fields .form-group {
  margin-bottom: 0;
}

.filter-result-clause-op {
  min-width: 130px;
  font-weight: bold;
}

.filter-result-clause-type {
  min-width: 90px;
  font-weight: bold;
}

.vk-group-leadform-fields .form-group {
  margin-bottom: 0;
}

.bitrix-ref-btn {
    position: relative;
    top: 1px;
}

#modal-bitrix-ref .heading-elements {
    right: 0;
}

#modal-bitrix-ref .datatable-header {
    padding-right: 0;
}
