﻿:root {
    --header-bg-color: #103C65;
    --header-btn-color: #fff;
    --header-title-color: #fff;
    --header-activate-bgcolor: #FE570F;
    --header-activate-color: #fff;
}
.btn {
    --border-radius: 4;
    --button-weight: 600;
}
.btn.btn-black {
    --button-color: #fff;
    --button-bg-color: #1A202C;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    font-size: 11px;
    /*background-color: #F4F4F4;*/
    background: #F7FAFC;
    overflow: hidden;
}
body.ovh {
    overflow: hidden;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: black;
}
img {
    max-width: 100%;
}
.container {
    max-width: 1140px;
    /*padding: 16*/
    margin: 0 auto;
}
.h-100 {
    height: 100%;
}


.empty-title {
    font-weight: bold;
    font-size: 11px;
    line-height: 16px;
    color: #718096;
    margin: auto;
    padding: 3px 8px;
    background: #EDF2F7;
    border-radius: 100px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.underline {
    border-bottom: 1px solid #E5E5E5;
}

.hidden-svg {
    height: 0;
    width: 0;
    font-size: 0;
}

.search-bar {
    position: relative;
    margin-bottom: 12px;
    padding: 12px 8px;
}
.search-bar__inner {
    position: relative;
}
.search-bar .btn-search,
.search-bar .btn-clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    font-size: 0;
}
.search-bar__field {
    padding-right: 36px;
}

.main {
    height: 100%;
    padding-top: 61px;
    outline: none;
}

.flow {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
.flow-edit-container .properties-list {
    margin-bottom: 16px;
}
.flow-edit-container textarea {
    min-height: 200px;
    display: block;
}
.aside-nav {
    background-color: #fff;
}
.left-aside {
    flex: 0 1 280px;
    min-width: 280px;
}
.right-aside {
    flex: 0 1 320px;
    min-width: 320px;
}
.left-aside, .right-aside {
    display: flex; 
    flex-flow: column;
}
.right-aside .properties-container__wrapper {
    width: 100%;
}
.right-aside #properties_container .properties-default__title {
    padding: 0 8px;
    margin: auto;
}
.right-aside .b-title {
    margin-bottom: 16px;
}
.aside-inner {
    overflow-y: auto;
}
.flow-editor {
    flex: 1 1 calc(100% - 560px);
    background-color: #F7FAFC;
    overflow: auto;
    position: relative;
    height: 100%;
    display: flex;
    flex-flow: column;
}
.right-aside {
    border-left: 1px solid #cecece5c;
}
.left-aside {
    border-right: 1px solid #cecece5c;
    z-index: 1;
}
.operations-item__text {
    background-color: #F2F2F2;
    border-radius: 3px;
    padding: 10px 5px;
    height: 64px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.operations-item__type {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.75px solid #FFB45E;
    box-sizing: border-box;
    border-radius: 3px;
    padding: 2px;
    background-color: #FFF1D6;
}


.operations-nav__item .ui-draggable-dragging {
    position: fixed!important;
}
.properties-list__field {
    position: relative;
}
.properties-list__field.with-actions {
    margin-right: 32px;
}
.properties-field__wrapper {
    position: relative;
}
.properties-list {
    margin-bottom: 32px;
    padding: 0 16px;
}
.properties-list__item {
    margin-bottom: 16px;
}
.properties-list__item:last-child {
    margin-bottom: 0;
}
.properties-buttons {
    padding: 0 16px;
    text-align: right;
}
/* Commands */

.commands {
    min-width: 450px;
}
.commands-item__wrapper {
    flex: 1;
    position: relative;
}
.commands-item__wrapper .commands-item {
    padding-top: 8px;
}
.commands-item__wrapper .commands-item:first-child {
    padding-top: 16px;
}
.commands-item__list:first-of-type {
    border: 1px solid;
}
.commands-item__list {
    position: relative;
}
.commands-item__add-param {
    white-space: nowrap;
    position: absolute;
    left: calc(100% + 32px);
}
/*.commands-item__list:before {*/
    /*content: '';*/
    /*position: absolute;
    display: block;
    height: 100%;
    left: 0;
    bottom: 22px;
    width: 2px;
    background-color: black;
}*/

.list-line {
    position: absolute;
    display: block;
    height: 100%;
    left: 0;
    top: -22px;
    /*bottom: 22px;*/
    width: 2px;
    background-color: black;
}
.commands-inner > .commands-item > .commands-item__name {
    align-self: flex-start;
    justify-content: flex-start;
    line-height: 44px;
    white-space: nowrap;
    align-items: center;
    padding-right: 5px;
    flex: 0;
    min-width: auto;
}
.commands-inner > .commands-item > .commands-item__wrapper > .commands-item__type,
.commands-inner > .commands-item > .commands-item__description > .commands-item__description-field {
    width: 190px;
}
/*.commands-inner > .commands-item > .commands-item__name:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: black;
    margin-left: 7px;
}*/
.commands-item {
    display: flex;
}
.commands-inner > .commands-item {
    border: none;
}
.commands-item > .commands-item__description .commands-item:last-child {
    border: none;
}
.commands-item__name {
    font-weight: bold;
    font-size: 18px;
    line-height: 44px;
    /*flex: 0 0 200px;*/
    min-width: 120px;
    word-break: break-word;
    display: flex;
    align-items: center;
    align-items: flex-start;
    justify-content: flex-end;
}
.commands-item__list .commands-item__name {
    align-items: center;
    white-space: nowrap;
}
.commands-item__list .commands-item__name.it-first {
    align-self: flex-start;
}
.commands-item__name.it-first + .commands-item__wrapper {
    padding-left: 70px;
}
.commands-item__name.it-first + .commands-item__wrapper:after {
    content: "";
    display: block;
    position: absolute;
    width: 71px;
    height: 2px;
    background-color: black;
    top: 21px;
    left: 7px;
}
.commands-item__list .commands-item__name:before {
    content: '';
    width: 100%;
    display: inline-block;
    height: 2px;
    background-color: black;
}
.commands-item__list .commands-item__name:after {
    margin-left: 7px;
}
.commands-item__list .commands-item__name:before {
    margin-right: 7px;
}
.commands-item__description {
    flex: auto;
    padding-right: 24px;
}
.dropdown-field:not(.empty) .dropdown-input {
    padding-right: 36px;
}
.dropdown-field:not(.empty) .dropdown-field__arrow {
    display: block;
    position: absolute;
    height: calc(100% - 2px);
    width: 32px;
    top: 1px;
    right: 1px;
    cursor: pointer;
    z-index: 2;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}
.dropdown-field:not(.empty) .dropdown-field__arrow:hover {
    background-color: #EDF2F7;
}
.operations-wrapper .operations .title:after {
    right: 20px;
}
.dropdown-field:not(.empty) .dropdown-field__arrow:after,
.flow-item__arrow:after,
.l-container .title:after,
.operations .title:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}

.dropdown-field:not(.empty).open .dropdown-field__arrow:after,
.flow-list__item.active .flow-item__arrow:after,
.l-container.active .title:after,
.operations .title.active:after {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/*.dropdown-field:not(.empty) input {
    padding: 8px 32px 8px 18px;
}*/

.dropdown-field .dropdown-field__list {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
    visibility: hidden;
    display: none;
    max-height: 300px;
    padding: 8px;
    box-shadow: 0px 10px 15px -3px rgba(26, 32, 44, 0.1), 0px 4px 6px -2px rgba(26, 32, 44, 0.05);
    border-radius: 4px;
}
.dropdown-field:not(.empty) label.error:after {
    right: 36px;
}
.dropdown-field.open .dropdown-field__list {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    display: block;
}

.dropdown-field__item,
.properties-dropdown__item {
    outline: none;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    background: #F7FAFC;
    border-radius: 2px;
    font-size: 16px;
    line-height: 24px;
    color: #1A202C;
    padding: 8px;
    margin-left: 16px;
    margin-bottom: 4px;
    font-weight: normal;
}
.properties-dropdown__group {
    color: black;
    font-size: 14px;
    margin-bottom: 4px;
    padding: 8px;
    font-weight: 600;
    background: #F7FAFC;
    border-radius: 2px;
    border-radius: 2px;
    font-size: 16px;
    line-height: 24px;
    color: #1A202C;
}
.dropdown-field__item {
    cursor: pointer;
}
.dropdown-field__item.empty,
.properties-dropdown__item.empty{
    margin-left: 0;
}
.dropdown-field__item:hover, .dropdown-field__item.focus, .dropdown-field__item.selected.focus {
    background-color: #EDF2F7;
}



.commands-item__description-field .dropdown-field__list {
    width: calc(100% - 12px);
    left: 12px;
}


.commands-item__type,
.commands-item__description-field {
    margin-right: 32px;
    padding-left: 12px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
}

.commands-item__add,
.commands-item__remove,
.commands-item__edit,
.commands-item__build,
.commands-item__copy,
.commands-item__icon {
    position: absolute;
    top: 50%;
    right: -32px;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color .2s ease-out, opacity .2s linear;
}
.commands-item__access {
    top: 9px;
    transform: translate(0);
    background: transparent url('../Images/ui-icons/user-check.svg') no-repeat center;
}
.commands-item__remove {
    background: transparent url('../Images/ui-icons/remove.svg') no-repeat center;
}
.commands-item__add {
    background: url("../Images/ui-icons/fn.svg") no-repeat center;
}
.commands-item__edit {
    background: url("../Images/ui-icons/edit.svg") no-repeat center;
}
.commands-item__build {
    background: url("../Images/ui-icons/build.svg") no-repeat center;
}
.commands-item__copy {
    background: url("../Images/icons/copy.svg") no-repeat center;
}
.commands-item__remove:hover,
.commands-item__add:hover,
.commands-item__edit:hover,
.commands-item__build:hover,
.commands-item__copy:hover,
.commands-item__icon:hover {
    opacity: .6;
}

.commands-dropdown__list .list .option:first-child {
    display: none;
}
.commands-dropdown {
    width: 100%;
}
.flows [data-simplebar] {
    height: 100%;
}
.tasks, .flows {
    background-color: #fff;
    height: 100%;
}
.tasks-time, .flows-time {
    font-size: 12px;
    line-height: 24px;
    color: #718096;
    position: absolute;
    top: 12px;
    right: 16px;
}
.flows-content__header .flows-time, .tasks-content__header .tasks-time {
    top: 20px;
}
.tasks-list, .flows-list {
    display: flex;
    /*flex-flow: row wrap;*/
    height: 100%;
}
.tasks-searchfield,
.flows-searchfield {
    margin-bottom: 8px;
    padding: 0 16px;
}

.content-empty__text {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.context_required-list,
.context_defined-list {
    display: flex;
    flex-flow: row wrap;
}
.context_required-item,
.context_defined-item {
    background: #1A202C;
    border-radius: 100px;
    padding: 5px 11px;
    color: white;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
}
.context_required {
    margin-bottom: 16px;
}
.ui-draggable-dragging {
    /*width: 75px;*/
}
.ui-dialog {
    z-index: 20;
}
.ui-dialog .ui-dialog-content {
    width: 100%!important;
    padding: 0 24px 0;
}
input {
    width: 100%;
}
/* Modal */
.modal {
    overflow: auto;
}
.overlay {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.3);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease,
                visibility .2s ease;
}
.overlay.show {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}
.ui-dialog {
    position: absolute !important;
    background-color: white;
    border-radius: 4px;
    outline: none;
    box-shadow: 0px 20px 25px -5px rgba(26, 32, 44, 0.1), 0px 10px 10px -5px rgba(26, 32, 44, 0.04);
    max-width: 90%;
    max-height: 95%;
    overflow-y: auto;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 32px 24px 16px;
    cursor: grab;
    position: relative;
}
.ui-dialog:not(.notify-modal) .ui-dialog-titlebar {
    margin-bottom: 24px;
}

.ui-dialog:not(.notify-modal) .ui-dialog-titlebar:after {
    content: '';
    display: block;
    position: absolute;
    height: 1px;
    background-color: #EDF2F7;
    bottom: 0;
    width: calc(100% - 46px);
}
.ui-dialog-titlebar-close {
    font-size: 0;
    overflow: hidden;
    border: none;
    border-radius: 4px;
    position: absolute;
    right: 24px;
    bottom: 16px;
    cursor: pointer;
    outline: none;
}
.ui-icon-closethick {
    width: 34px;
    height: 34px;
    display: block;
    transition: background-color .3s linear;
    background: #EDF2F7 url(../images/ui-icons/close.svg) no-repeat center center;
    border-radius: 4px;
}
.ui-dialog-titlebar-close:hover .ui-icon-closethick {
    background-color: #e0e4e8;
}
.ui-dialog-title {
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
}

.q-modal-header {
    margin-bottom: 16px;
}
.tabs-fill .tabs-nav {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}
.tabs-fill .tabs-nav__item {
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    padding: 5px 12px;
    cursor: pointer;
}
.tabs-large .tabs-nav__item {
    padding: 10px 12px;
}
.tabs-fill .tabs-nav__item {
    color: #718096;
    background: #edf2f7;
}
/*.tabs-fill .tabs-nav__item:hover {
    color: #fff;
    background: #1A202C;
}
.tabs-fill .tabs-nav__item.active {
    color: #fff;
    background: #1A202C;
}*/
.tabs-vertical .tabs-nav {
    display: inline-flex;
    align-items: center;
    box-shadow: 0px 2px 0px 0px #EDF2F7;
}
.query-builder .tabs-content {
    position: relative;
}
.query-builder [data-simplebar] {
    height: auto;
}
.q-modal.query-builder {
    padding: 0;
}
.tabs-vertical .tabs-nav__item {
    padding: 0 16px 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    color: #A0AEC0;
}
.tabs-vertical .tabs-nav__item:hover {
    color: #1A202C;
    box-shadow: 0px 2px 0px 0px #1A202C;
}
.tabs-vertical .tabs-nav__item.active {
    color: #1A202C;
    box-shadow: 0px 2px 0px 0px #1A202C;
}
.tabs-vertical .tabs-nav__item:last-child {
    margin-right: 0;
}
.tabs-content__item {
    display: none;
}
.tabs-content__item.active {
    display: block;
}
.query-builder .tabs-content__item {
    display: block;
    /*position: absolute;
    z-index: -1;*/
    left: 0;
    top: 0;
    width: 100%;
    /*overflow-y: auto;*/
}
.query-builder .q-modal-content {
    height: 100%;
}
.slick-track {
    width: 100%;
}
.slick-slide {
    outline: none;
    height: auto;
}
.query-builder .tabs-content__item.active {
   /* position: static;
    z-index: 0;*/
}
.query-builder textarea {
    height: 250px;
}
.q-modal-body {
    padding: 10px 0;
}
.q-modal-content {
    font-size: 14px;
    line-height: 24px;
    color: #1A202C;
}
.q-modal-inner {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: 100%;
}
.q-block {
    position: relative;
    margin-bottom: 16px;
}
.q-field {
    position: relative;
}
span.error, span.field-validation-error, label.error, label.field-validation-error {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    font-size: 14px;
    color: red;
}
input.error, input.input-validation-error, textarea.error, textarea.input-validation-error {
    border: 1px solid #FEB2B2;
    padding-right: 30px;
}
input.error + .error + .q-show-pass {
    display: none;
}
span.error:after, span.field-validation-error:after, label.error:after, label.field-validation-error:after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 8px;
    top: -32px;
    background: url("../Images/ui-icons/input-error.svg") no-repeat center;
    transform: scale(0);
    transition: transform .25s;
}
span.error:after, label.error:after {
    transform: scale(1);
}
.q-block.w-icon {
    padding-right: 32px;
}
.q-description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 42px;
}
.q-name {
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 4px;
}
.q-description__field {
    font-size: 14px;
    line-height: 24px;
    color: #A0AEC0;
    font-style: italic;
}
.q-block .q-field {
    margin-bottom: 10px;
}
.q-head, .q-variables {
    margin-bottom: 16px;
    overflow-y: auto;
}
 .q-head__item,
 .q-variables__item {
    margin-bottom: 16px;
}
.q-head .q-block,
.q-variables .q-block {
    margin-bottom: 0;
}
.q-head__item, .q-head__titles,
.q-variables__item, .q-variables__titles {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.q-head__item .q-block:nth-child(odd),
.q-head__titles .q-block:nth-child(odd){
    width: calc(100% / 3 - 4px);
}
.q-head__item .q-block:nth-child(even),
.q-head__titles .q-block:nth-child(even){
    width: calc(100% / 1.5 - 4px);
}

.q-response__wrapper.extra {
    display: flex;
    justify-content: space-between;
}
.q-response__item {
    width: 100%;
}
.q-response__wrapper.extra .q-response__item {
    width: calc(50% - 8px);
}
.q-response__buttons {
    display: flex;
    align-items: center;
}
.q-response__buttons .checkbox {
    margin-left: 16px;
}

.q-variables__item .q-block,
.q-variables__titles .q-block {
    width: calc(100% / 2 - 4px);
}
[data-tab-content="variables"] .q-variables__item .q-block:first-child,
[data-tab-content="variables"] .q-variables__titles .q-block:first-child {
    width: calc(100% / 2 - 4px);
}
.query-builder [data-tab-content] {
    height: calc(100% - 48px);
    padding: 0 24px;
}
.query-builder .q-modal-header {
    padding: 0 24px;
}
[data-tab-content="variables"] .q-variables__item .q-block.w-icon {
    padding-right: 64px;
}
[data-tab-content="variables"] .q-variables__item .q-block.w-icon .commands-item__add {
    right: -32px;
}
[data-tab-content="variables"] .q-variables__item .q-block.w-icon .q-head-field__remove {
    right: -64px;
}

[data-tab-content="ui-variables"] .q-variables__item .q-block,
[data-tab-content="ui-variables"] .q-variables__titles .q-block{
    width: calc(100% / 4 - 4px);
}
.q-head-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.q-head-field .q-block {
    width: calc(50% - 6px);
}
.q-head-field__remove, .creator-opt__remove {
    position: absolute;
    display: block;
    cursor: pointer;
    width: 24px;
    height: 24px;
    background: transparent url('../Images/ui-icons/remove.svg') no-repeat center;
    right: -32px;
    top: 10px;
   /* top: 50%;
    transform: translateY(-50%);*/
    transition: opacity .3s ease;
}
.q-head-field__remove:hover {
    opacity: .7;
}
.q-block .q-jsoneditor {
    width: 100%;
    height: 340px;
}
.q-jsoneditor .jsoneditor-outer {
    margin-bottom: -26px!important;
    padding-bottom: 26px!important;
}
.q-modal-footer {
    text-align: right;
    font-size: 0;
}
.modal-body {
    padding-bottom: 24px;
}
.ui-widget-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(237, 242, 247, .4);
    z-index: 10;
}
.ui-dialog-buttonset {
    padding: 0 24px 24px;
    /*margin-top: 24px;*/
    margin-top: 32px;
}
.ui-dialog-buttonpane {
    text-align: right;
/*    position: relative;
    z-index: 1;*/
}
.ui-dialog-buttonpane .btn {
    margin-left: 8px;
}
.ui-dialog-buttonpane .btn:first-child {
    margin-left: 0;
}
.ui-dialog .ui-resizable-n {
    height: 4px;
    top: 0;
}

.ui-dialog .ui-resizable-e {
    width: 2px;
    right: 0;
}

.ui-dialog .ui-resizable-s {
    height: 2px;
    bottom: 0;
}

.ui-dialog .ui-resizable-w {
    width: 2px;
    left: 0;
}

.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
    width: 7px;
    height: 7px;
}

.ui-dialog .ui-resizable-se {
    right: 0;
    bottom: 0;
}

.ui-dialog .ui-resizable-sw {
    left: 0;
    bottom: 0;
}

.ui-dialog .ui-resizable-ne {
    right: 0;
    top: 0;
}

.ui-dialog .ui-resizable-nw {
    left: 0;
    top: 0;
}
.ui-draggable-handle {
    -ms-touch-action: none;
    touch-action: none;
}

.ui-resizable {
    position: relative;
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
}

.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
    display: none;
}

.ui-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 100%;
    top: -5px;
    left: 0;
}

.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0;
}

.ui-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0;
    height: 100%;
}

.ui-resizable-w {
    cursor: w-resize;
    width: 7px;
    left: -5px;
    top: 0;
    height: 100%;
}

.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}

.ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}

.ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    top: -5px;
}

.ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: -5px;
    top: -5px;
}
.command.ui-draggable {
    cursor: grab;
}

.context-menu__item {
    z-index: 5;
}

/*form creator*/
.ui-dialog.form-creator-editor {
    overflow: hidden;
}
.ui-dialog.form-creator-editor .ui-dialog-titlebar {
    margin-bottom: 0;
}
.ui-dialog .form-creator {
    display: flex;
    flex-flow: column;
    padding-left: 12px;
}
.form-creator__wrapper {
    display: flex;
    flex: 1;
    height: 100%;
    position: relative;
}
.form-creator__aside {
    padding-top: 12px;
    position: absolute;
    left: 0;
    top: 0;
    width: 320px;
    height: calc(100% + 98px);
    box-shadow: 1px 0px 0px #EDF2F7;
    z-index: 1;
}
.form-creator__aside .tabs-wrapper {
    display: flex;
    flex-flow: column;
    height: 100%;
}
.form-creator .operation.error, .form-creator .editor-wraper.error {
    border: 1px solid red;
}
.form-creator .q-modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 16px;
    padding-left: 12px;
}
.form-creator .q-modal-header {
    padding-left: 12px;
}
.form-creator__flow {
    flex: 1;
    background-color: #F7FAFC;
    margin-left: 320px;
    overflow-y: auto;
}
.form-creator__button .btn {
    min-width: 72px;
}
.grid-toolbar__wrapper {
    position: relative;
}
[data-tool-flow].small-grid {
    background: #F7FAFC url('../Images/20x20.svg');
}
[data-tool-flow].large-grid {
    background: #F7FAFC url('../Images/100x100.svg');
}
.form-flow__toolbar {
    position: absolute;
    right: 12px;
    top: 12px;
    background: #CBD5E0;
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
}
.flow-toolbar__item {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    transition: background-color .2s ease;
}
.flow-toolbar__item.active {
    background-color: #1A202C;
}
.flow-toolbar__item:hover {
    background-color: #1A202C;
}
.flow-toolbar__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-creator .operation img {
    width: 100%;
}
.form-creator .operation label, .form-creator .operation a {
    font-size: 14px;
/*    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
    display: block;*/
}
.ui-resizable-helper {
    border: 1px solid #cbd5e0;
}
.form-creator .ui-resizable-handle {
    background-color: #658EB5;
}
.editor-wraper.ui-droppable {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    height: 5000px;
}
.editor-wraper .operation.selected {
    box-shadow: 2px -2px 0 0 #ff7236, 2px 2px 0 0 #ff7236, -2px 2px 0 0 #ff7236, -2px -2px 0 0 #ff7236;
    border-radius: 2px;
}
.form-creator .command.ui-draggable {
    z-index: 5;
}
.l-container .title {
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 0;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
}
.l-container.active .l-container-list {
    max-height: none;
}
.l-container-list__wrapper {
    transition: max-height .2s ease-out;
    overflow: hidden;
    border-left: 2px solid;
}
.l-container-list {
    border-left: 3px solid;
    max-height: 0;
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height .2s linear, opacity .3s linear;
    transition: max-height .2s linear, opacity .3s linear;
}
.l-container-list__item {
    padding: 8px 0 8px 16px;
    transition: none!important;
}
.l-container-list__item.inline-items {
    display: flex;
    align-items: center;
}
.l-container-list__item.inline-items .l-item__draggable {
    margin-right: 12px;
}
.l-item__draggable.l-label {
    display: inline-block
}

.l-container.active .l-container-list__wrapper {
    max-height: none;
}
.form-creator-field__name {
    font-size: 16px;
    line-height: 24px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
}
.form-creator-field__type {
    padding: 6px 13px;
    background-color: aliceblue;
    border-radius: 1px;
    margin-right: 12px;
    height: 36px;
}
.form-creator-field__type img {
    width: 24px;
    height: 24px;
}
.creator-input,
.creator-textarea,
.creator-dropdown,
.creator-datepicker {
    background: #FFFFFF;
    border: 1px solid #CBD5E0;
    box-sizing: border-box;
    border-radius: 5px;
    position: relative;
}
.creator-datepicker {
    padding-right: 40px;
}
.creator-default {
    display: flex;
    align-items: center;
}
.creator-default .form-creator-field__name {
    font-size: 14px;
    line-height: 24px;
    color: #1A202C;
    padding: 0;
}
.form-creator__link, .form-creator__textfield .form-creator__link {
    color: #134D83;
    text-decoration: underline;
    font-weight: bold;
}
.creator-dropdown:after {
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}
.creator-textarea:after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url('../Images/ui-icons/resizer.svg') no-repeat center;
    position: absolute;
    right: 0;
    bottom: 0;
}
.creator-datepicker:after {
    content: '';
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url('../Images/ui-icons/icon-calendar.svg') no-repeat center/contain;
}
.operation.ui-resizable > *:not(.ui-resizable-handle) {
    height: 100%; pointer-events: none;
}
.operation .creator-dropdown {
    padding-right: 20px;
}
.operation .btn {
    display: block;
    margin: 0;
    min-width: 74px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.operation .form-creator-field__name {
    line-height: 40px;
    padding: 0 8px;
}
.creator-opt__field {
    margin-bottom: 24px;
}
/* Dashboard */
.dashboard-items {
    padding: 0 24px;
}
.dashboard-title {
    padding: 0 8px;
}

/*Settings*/

.settings-header {
    background-color: #fff;
    box-shadow: 0px 2px 0px 0px #EDF2F7;
}
.settings-tabs {
    padding: 0 24px;
}
.settings-title {
    padding: 0 8px;
}
.settings-body {
    padding: 8px 24px;
}
.settings .card-body {
    margin-bottom: 24px;
}
.theme-card .card-block {
    margin-bottom: 24px;
}
.theme-card .card-title {
    margin-bottom: 16px;
}
.b-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    margin-top: 24px;
}
.b-table thead {
    background: #EDF2F7;
}
.b-table th {
    font-weight: normal;
    text-align: left;
}
.b-table td, .b-table th {
    padding: 10px;
    font-size: 14px;
    line-height: 24px;
}
.b-table td {
    box-shadow: inset 0px -1px 0px #CBD5E0;
    position: relative;
}
.b-table__header .search-bar {
    padding: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 500px;
}
.b-table__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
}
.b-table__header-buttons {
    margin-left: 16px;
}
.b-table__header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.b-table__scrolling {
    overflow: auto;
    max-height: 600px;
}
.b-table-container {
    min-height: 400px;
}
.b-table .user-state {
    top: 50%;
    left: 10px;
    bottom: auto;
    right: auto;
    transform: translateY(-50%);
}
.b-table__action-btn {
    display: inline-block;
    vertical-align: middle;
}
.b-table__action-btn .btn-icon {
    width: 16px;
    height: 16px;
}
.b-table__action-btn:last-child {
    margin-left: 18px;
}

#roles-table .checkbox {
    width: 16px;
    height: 16px;
    display: inline-block;
}
/*DEMO*/
.demo-version {
    position: fixed;
    top: 0;
    padding: 13px;
    text-align: center;
    z-index: 1;
    background: #FE570F;
    font-size: 0;
    height: 60px;
    width: 100%;
}
.demo-version__text {
    text-transform: uppercase;
    display: inline-block;
    margin-right: 24px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
}
.demo-version + header {
    top: 60px;
}
.demo-version + header + main {
    padding-top: 120px;
}
/*DEMO*/

@keyframes showN {
    from {
        transform: translate(-50%, -50px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}
@keyframes hideN {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, -50px);
        opacity: 0;
    }
}

.animate__bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}
.notification {
    position: fixed;
    top: 76px;
    display: flex;
    left: 50%;
    /*transform: translate(-50%, 0);*/
    padding: 12px 32px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid;
    min-width: 600px;
    z-index: 20;
    animation: showN .5s forwards;
}

.notification.hide {
    animation: hideN .5s forwards;
}
.notification-message {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
}
.notification.success {
    background-color: #E6FFFA;
    border: 1px solid #2C7B68;
}
.notification:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position:absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.notification.success:after {
    background: url("../Images/flow-icons/succcess-icon.svg") no-repeat center;
}
.notification.error:after {
    background: url("../Images/flow-icons/error-icon.svg") no-repeat center;
}
.notification.error {
    background-color: #FFF0F0;
    border: 1px solid #C53030;
}
.notification.success .notification-message {
    color: #2C7B68;
}
.notification.error .notification-message {
    color: #C53030;
}
.notification-close {
    width: 16px;
    height: 16px;
    font-size: 0;
    cursor: pointer;
    background: url(../images/ui-icons/close.svg) no-repeat center center;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease;
}
.notification-close:hover {
    opacity: .8;
}
.upload-image {
    border: 1px solid #CBD5E0;
    background-color: #EDF2F7;
}
.upload-stl__options, .viewer-stl__options {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    border-left: 1px solid #cbd5e0;
}
.upload-stl__options {
    background: #fff url(../images/options-loader-placeholder.png) no-repeat top/200px;
}
.viewer-stl__options {
    background: #fff url(../images/options-viewer-placeholder.png) no-repeat top/200px;
}
.upload-image.upload-stl .upload-image__label {
    width: calc(100% - 200px);
}
.upload-image .upload-image__label {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}
.upload-image .upload-image__label .upload-img__abs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    opacity: 1;
    transition: opacity .2s ease;
}
.upload-image .upload-image__label:hover .upload-img__abs {
    opacity: .7;
}
.ui-tooltip {
    padding: 8px;
    position: absolute;
    z-index: 9999;
    max-width: 300px;
    border: none !important;
    font-size: 12px;
    line-height: 18px;
    color: white;
    background-color: #1A202C;
    box-shadow: 0px 10px 15px -3px rgba(26, 32, 44, 0.1), 0px 4px 6px -2px rgba(26, 32, 44, 0.05);
    border-radius: 4px;
    pointer-events: none;
}

.svg-action.selected{
    stroke: #FF7236;
    stroke-width: 2;
}
.svg-action.unvalid {
    stroke: #d81919;
    stroke-width: 2;
}
g:hover circle.connection {
    display: block;
}
circle.connection:hover {
    fill: #4FD1C5;
}
circle.connection {
    display: none;
}
.tasks-content__body.pending + .tasks-list__item-buttons a {
    pointer-events: none;
    background-color: #EDF2F7;
    cursor: not-allowed;
    border-color: #CBD5E0;
    color: #A0AEC0;
}
.tasks-content__body label.error {
    font-size: 0;
}
.tasks-content__body label.error:after {
    top: -28px;
}
.form-file__upload {
    position: relative;
}
.form-file__upload input {
    height: 100%;
}
.tasks-content__body.pended .form-file__upload:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -40px;
    width: 14px;
    height: 14px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #1A202C transparent #1A202C transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.checkbox-text {
    font-size: 14px;
    vertical-align: bottom;
    margin-left: 8px;
}


.line-fields {
    border: 1px solid #CBD5E0;
    border-radius: 5px;
}

.line-fields__list {
    list-style: none;
}

.line-fields__item,
.line-fields__placeholder {
    position: relative;
    padding: 0 15px;
}
.line-fields__item:last-child {
    border-bottom: none;
}
.fields-item__remove, .fields-item__add {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    text-align: center;
    cursor: pointer;
    transition: opacity .2s linear;
}
.fields-item__remove:hover,
.fields-item__add:hover {
    opacity: .6;
}
.fields-item__remove {
    background: url("../Images/ui-icons/remove.svg") no-repeat center/contain;
}
.fields-item__add {
    background: url("../Images/icons/plus-black.svg") no-repeat center/contain;
}
.fields-item__value {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 30px 10px 0;
    border-bottom: 1px solid #CBD5E0;
}
.fields-item__input {
    border: none;
    padding: 10px 30px 10px 0;
}

.creator-opt__add {
    margin-bottom: 16px;
}


.container {
    display: flex;
    height: 100%;
}

.login-form {
    margin: auto;
    width: 100%;
    max-width: 368px;
}
.login-form .q-block {
    margin-bottom: 24px;
}
.login-form__header {
    text-align: center;
    margin-bottom: 36px;
}
.login-form__logo {
    margin-bottom: 16px;
}
.login-form__header p {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.45);
}
.q-login, .q-password {
    position: relative;
}
.login-form .q-password {
    margin-bottom: 36px;
}
.q-login input, .q-password input {
    padding-left: 34px;
}
.q-password input {
    padding-right: 34px;
}
.q-login:after, .q-password:after {
    content: "";
    display: block;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width:16px;
    height: 16px;
}
.q-login:after {
    background: url('../Images/icons/User-icon-wbg.svg') center;
}
.q-password:after {
    background: url('../Images/icons/Lock-icon-wbg.svg') center;
}
.q-show-pass {
    position: absolute;
    width: 16px;
    height: 16px;
    background: url('../Images/icons/eye-icon.svg') center;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}
.q-show-pass.active:after {
   content: "";
    width: 1px;
    height: 18px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    display: block;
    background-color: #8b97a9;
}
.q-show-pass:hover {
    opacity: .6;
}

.login-form .q-remember {
    margin-bottom: 16px;
}
.login-form .btn-blue {
    text-transform: uppercase;
    border-radius: 2px;
}

.login-form .checkbox-text {
    line-height: 24px;
}
.btn.btn-blue {
    background-color: #134D83;
    color: #fff;
}


.k-chart, .k-stockchart {
    height: 200px;
}


body .sp-replacer {
    width: 100%;
    height: 100%;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
}
body .sp-dd {
    display: none;
}

.logo-preview {
    padding: 10px 16px;
    background: #103C65;
    border-radius: 5px;
    border: 1px solid #cbd5e0;
}
.theme-card .card-block:first-child {
    margin-bottom: 34px;
}

.validation-summary-errors li {
    font-size: 14px;
    color: red;
    margin-bottom: 12px;
}
.tasks-block .tasks-list__names {
    min-height: 144px;
    position: relative;
}
.card-chart {
    min-height: 144px;
    position: relative;
}

.dashboard .empty-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*Flow page styles*/
body > iframe {
    display: none;
}
#svgbasics .ui-resizable-handle {
    z-index: 10!important;
}
#svgbasics {
    height: 100%;
    overflow: auto;
}

#svgbasics > svg {
    display: block;
}
svg image {
    pointer-events: none;
}

svg {
    overflow: auto;
}

text {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #718096;
    cursor: default;
    pointer-events: none;
}

g:hover rect.border {
    stroke: blue;
}

g:hover polygon.border {
    stroke: blue;
}

path.border:hover {
    stroke-width: 4;
    stroke: blue;
}

[data-simplebar] {
    height: 100%;
}
.simplebar-wrapper,
.simplebar-content-wrapper {
    overflow: auto!important;
}

/*Endpoint modal*/
.endpoint-modal__inner {
    display: flex;
    flex-flow: column;
    height: 100%;
}
.endpoint-modal__inner .q-block:last-child {
    flex: 1 1 calc(100% - 24px);
}
.endpoint-modal__inner .q-block:last-child textarea {
    height: calc(100% - 24px);
}
.endpoint-modal__inner .q-field {
    margin-bottom: 0;
}

.modal-duplicate-flow .q-modal__inner {
    display: flex;
    flex-flow: column;
    height: 100%;
}
.modal-duplicate-flow .q-modal__inner .q-field {
    margin: 0;
}
.modal-duplicate-flow .q-modal__inner .q-block:last-child {
    flex: 1;
}
.modal-duplicate-flow .q-modal__inner .q-block:last-child .q-field{
    height: calc(100% - 24px);
}
.modal-duplicate-flow .q-modal__inner .q-block:last-child textarea {
    height: 100%;
}
.access-modal .search-bar {
    max-width: 500px;
    margin-bottom: 24px;
}
.access-modal .b-table {
    margin-top: 0;
    margin-bottom: 0;
}
.access-modal .b-table th {
    position: sticky;
    top: 0;
    background-color: #EDF2F7;
    z-index: 1;
    cursor: default;
}
.access-role__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: top;
    margin-right: 8px;
    background: url('../Images/icons/users-alt.svg') no-repeat center/contain;
}
.ovh-visible {
    overflow: visible;
}

.card.download-card {
    padding: 24px;
}
.download-image {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 8px;
}
.download-image img {
    width: 65px;
}
.download-title {
    font-weight: bold;
    font-size: 22px;
    line-height: 30px;
    color: #1A202C;
    /*margin-bottom: 16px;*/
    text-align: center;
}
.download-description {
    font-size: 16px;
    line-height: 24px;
    color: #718096;
    text-align: center;
    margin-bottom: 24px
}
.download-button {
    text-align: center
}
.download-button .btn {
    display: block
}
.form-preview .simplebar-content-wrapper {
    margin-right: 10px;
    padding: 20px;
}
.form-preview [data-simplebar] {
    height: 100%;
}