:root {
    --border-color: #ececec;
    --background-color: #ffffff;
    --desk: #fbfbfb;
    --darkback: #212529;
    --background-box-title: #f7f7f7;
}

.feather {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

header {
    height: 66px;
    border-bottom: 1px solid var(--border-color);
    padding-left: 20px;
}
header h2 {
    margin: 0px;
    line-height: 66px;
}
header a {
    color: black;
}
.github-link{
    position: absolute;
    top: 10px;
    right: 20px;
    color: black;
}

.drawflow-wrapper {
    width: 100%;
    height: calc(90vh - 67px);
    display: flex;
}

.drawflow-tools {
    min-width: 12rem;
    width: 12rem;
    overflow-x: hidden;
    overflow-y: auto;
    height: inherit;
    position: absolute;
    z-index: 999;
}

.drawflow-tools strong {
    padding-top: 20px;
}
.drawflow-designer {
    min-width: 90rem;
    height: 100vh;
    width: 100vw;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.drawflow {
    min-width: 90rem;
    width: 90rem;
    margin-top: 0px;
    padding-top: 0px;
    /*transition: all 0.5s ease-in-out;*/
    /*-webkit-transition: all 0.5s ease-in-out;*/
}

.parent-drawflow {
    min-width: 90rem;
    width: 90rem;
    margin-top: 0px;
    padding-top: 0px;
}


.drag-drawflow {
    line-height: 15px;
    border-bottom: 0px solid var(--border-color);
    margin-bottom: 15px;
    margin-top: 15px;
    cursor: grab;
    user-select: none;
}

.drag-drawflow span {
    padding-left: 10px;
}

.menu {
    position: absolute;
    height: 40px;
    display: block;
    background: white;
    width: 100%;
}
.menu ul {
    padding: 0px;
    margin: 0px;
    line-height: 40px;
}

.menu ul li {
    display: inline-block;
    margin-left: 10px;
    border-right: 1px solid var(--border-color);
    padding-right: 10px;
    line-height: 40px;
    cursor: pointer;
}

.menu ul li.selected {
    font-weight: bold;
}

.btn-export {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 5;
}

.btn-clear {
    float: right;
    position: absolute;
    top: 10px;
    right: 85px;
    color: var(--primary);
    font-weight: bold;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 5;
}
.swal-wide{
    width:80% !important;
}

.btn-lock {
    float: right;
    position: absolute;
    bottom: 10px;
    right: 140px;
    display: flex;
    font-size: 24px;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 0px;
    border-right: 0px solid #000;
    z-index: 5;
    cursor: pointer;
}

.bar-zoom {
    float: right;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    font-size: 24px;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    border-right: 1px solid var(--border-color);
    z-index: 5;
}
.bar-zoom svg {
    cursor: pointer;
    padding-left: 10px;
}
.bar-zoom svg:nth-child(1) {
    padding-left: 0px;
}

#drawflow {
    position: relative;
    width: calc(100vw - 51px);
    height: 100vh;
    top: 0px;
    background: var(--desk);
    /*background-image: radial-gradient(rgba(108, 117, 125, 0.35) 1px, transparent 0)!important;
    background-size: 1.5rem 1.5rem!important;*/
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2233%22%20height=%2233%22%20viewBox=%220%200%2033%2033%22%3E%3Cpath%20d=%22M0%200%20L2.25%200Z%20M0%200%20L0%202.25Z%20%20M33%2033%20L30.75%2033Z%20M33%2033%20L33%2030.75Z%20%20M33%200%20L30.75%200Z%20M33%200%20L33%202.25Z%20%20M0%2033%20L0%2030.75Z%20M0%2033%20L2.25%2033Z%22%20stroke-opacity=%220.07%22%20stroke-width=%221.1%22%20stroke=%22black%22%20stroke-linecap=%22butt%22%3E%3C/path%3E%3C/svg%3E");
    background-size: 2rem 2rem !important;
}

[data-dfmode="dark"] {
    position: relative;
    width: calc(100vw - 51px);
    height: 100vh;
    top: 0px;
    background: var(--darkback) !important;
    background-size: 25px 25px !important;
    background-image:
            linear-gradient(to right, #343a4026 1px, transparent 1px),
            linear-gradient(to bottom, #343a4026 1px, transparent 1px) !important;
}

[data-dfmode="light"] {
    position: relative;
    width: calc(100vw - 51px);
    height: 100vh;
    top: 0px;
    background: var(--desk);
    background-size: 25px 25px;
    background-image:
            linear-gradient(to right, #f1f1f1 1px, transparent 1px),
            linear-gradient(to bottom, #f1f1f1 1px, transparent 1px);
}

[data-df-modetheme="light"]{
    color:#495057!important;
}

[data-df-modetheme="dark"]{
    color:#ced4da!important;
}
.btn-del-table-body:hover{
    color:  #dc3545!important;
}
.sortable-table-editor tbody tr:hover{
    cursor: grab!important;
    transform: scale(1.009)!important;
}
.btn-toolbar {
    justify-content: flex-end !important;
}

.ui-sortable-helper {
    display: table;
}

@media only screen and (max-width: 768px) {
    .col {
        width: 50px;
    }
    .col .drag-drawflow span {
        display:none;
    }
    #drawflow {
        width: calc(100vw - 51px);
    }
}



/* Editing Drawflow */

.drawflow .drawflow-node {
    background: var(--background-color);
    border: 2px solid var(--white);
    border-radius: 15px;
    -webkit-box-shadow: 5.8px 11.7px 11.7px hsl(0deg 0% 0% / 0.15);
    box-shadow: 5.8px 11.7px 11.7px hsl(0deg 0% 0% / 0.15);
    padding: 0px;
    width: 200px;
    cursor: grab !important;
}

.drawflow .drawflow-node.selected  {
    background: white;
    border: 2px solid var(--primary)!important;
    border-radius: 15px;

}

.drawflow .drawflow-node.warning  {
    background: white;
    border: 2px solid var(--pink)!important;
    border-radius: 15px;

}

.drawflow .drawflow-node.attention  {
    background: white;
    border: 2px solid var(--yellow)!important;
    border-radius: 15px;

}

.drawflow .drawflow-node:has(.timertrigger)  {
    width: 300px;
    justify-content: space-between;
}

.drawflow .drawflow-node .timertrigger .row  {
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.drawflow .drawflow-node .timertrigger .form-group  {
    margin-bottom: 0;
}

.drawflow .drawflow-node .timertrigger .row .col-7  {
    padding-right: 5px;
}

.drawflow .drawflow-node .timertrigger .row .col-5  {
    padding-left: 5px;
}

.drawflow .drawflow-node .timertrigger .col-form-label  {
    width: 100%;
    position: relative;
}

.drawflow .drawflow-node .timertrigger .col-form-label:has(.timertrigger-minutes)  {
    padding-bottom: 0;
}

.drawflow .drawflow-node .timertrigger .timertrigger-minutes  {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    position: absolute;
}

.drawflow .drawflow-node .timertrigger input.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 10px;
}

#timertrigger-node {
    position: relative;
}

.accelera-style  {
    border: 2px solid var(--primary);
    border-radius: 15px;
}

.drawflow .drawflow-node.selected .title-box {
    color: #000;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    /* border-bottom: 1px solid #4ea9ff;*/
}

.drawflow .connection .main-path {
    stroke: var(--primary);
    stroke-width: 2px;
    stroke-linecap: round;
    /*stroke-dasharray: 5;
    animation: dash 1s linear infinite;*/
}

.drawflow .connection .path-actions-group {
    stroke: var(--success);
    stroke-width: 2px;
    stroke-linecap: round;
    pointer-events: none;
    /*    stroke-dasharray: 0.4em;
        stroke-dashoffset: 1000;*/
    /*stroke-dasharray: 5;
    animation: dash 1s linear infinite;*/
}

.drawflow .connection .main-path:hover{
    stroke: var(--primary);
}

.drawflow .connection .main-path.selected {
    stroke: #43b993;
    stroke-width: 2px;
    stroke-dasharray: 1em;
    stroke-dashoffset: 1000;
    animation: dash 35s linear infinite;
}

@keyframes dash {
    from {
        stroke-dashoffset: 3253;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.drawflow .drawflow-node .input, .drawflow .drawflow-node .output {
    height: 15px;
    width: 15px;
    border: 1px solid var(--white);
    background-color: var(--primary);
}

.drawflow .decision .input_1 {
    margin-top: 40px !important;
}

.drawflow .decision .output_1 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--success);
    margin-top: 45px;
}

.drawflow .decision .output_2 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary);
}

.drawflow .checkaudience .output_1 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--primary);
}

.drawflow .checkaudience .output_2 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary);
}

/*Matrix*/
.matrix {
    height: 120px;
}

.drawflow .matrix-box {
    height: 55px !important;
}

.drawflow .matrix .output_1 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--success);
}

.drawflow .matrix .output_1:before {
    display: block;
    content: "Low";
    position: relative;
    margin-top: -8px;
    margin-left: 13px;
    color: var(--success);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}

.drawflow .matrix .output_2:before {
    display: block;
    content: "Medium";
    position: relative;
    margin-top: -8px;
    margin-left: 13px;
    color: var(--warning);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}

.drawflow .matrix .output_3:before {
    display: block;
    content: "High";
    position: relative;
    margin-top: -8px;
    margin-left: 13px;
    color: var(--danger);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}

.drawflow .matrix .output_4:before {
    display: block;
    content: "Default";
    position: relative;
    margin-top: -8px;
    margin-left: 13px;
    color: var(--secondary);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}

.drawflow .matrix .output_2 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--warning);
}

.drawflow .matrix .output_3 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--danger);
}

.drawflow .matrix .output_4 {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary);
}

.drawflow .drawflow-node .input:hover, .drawflow .drawflow-node .output:hover {
    background: var(--primary);
}

.drawflow .drawflow-node .output {
    right: 7px!important;
    top: 2px;
}

.drawflow .drawflow-node .input {
    left: -7px;
    background-color: var(--primary);
}

.drawflow > .drawflow-delete {
    background: var(--danger);
}

.drawflow-delete {
    background: var(--danger);

}

.drawflow > .drawflow-template {
    background: var(--primary);
    margin-left:-15px;
    margin-top:15px
}

.editor-mode-datasets {
    overflow-x: hidden;
    height: 50vh;
    border: 1px solid white;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.drawflow-template {
    position:absolute;
    display:block;
    width:30px;
    height:30px;
    background: var(--primary);
    z-index:4;
    line-height:30px;
    font-weight:700;
    text-align:center;
    border-radius:4px;
    font-family:monospace;
    cursor:pointer;
}

.drawflow-template i {
    pointer-events: none;
}

.parent-node .drawflow-template{
    right:17px;
    top:-15px
}

.apexcharts-xaxis-title {
    fill: var(--primary);
}

.apexcharts-yaxis-label {
    fill: var(--primary);
}

.drawflow-nodeid-info {
    position: absolute;
    display: block;

    height: 28px;
    z-index: 4;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    background: var(--background-box-title);
    color: var(--dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    border-bottom: 2px solid var(--dark);
    padding-right: 0.6em;
    padding-left: 0.6em;

}
.drawflow > .drawflow-nodeid-info {
    right: -3px;
    top: -35px;
}

.parent-node .drawflow-nodeid-info {
    right: -3px;
    top: -35px;
}

.drawflow > .drawflow-nodeid-info {
    background: var(--background-box-title);
    color: var(--dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
}

.drawflow-nodeid-info {
    background: var(--background-box-title);
    color: var(--dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
}

.notes {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.drawflow .drawflow-node .notes {
    background: var(--background-box-title);
    border-radius: 15px;
}

.drawflow .drawflow-node .notes textarea {
    font-style: italic !important;
}

.drawflow .drawflow-node .title-box .notes {
    border-bottom: 0px solid transparent;
}

.drawflow-node .stats {
    position: absolute;
    height: 25px;
    line-height: 25px;
    min-width: 30px;
    margin-top: -30px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
    color: #fff;
    background: var(--primary);
    border-bottom: 0px solid var(--primary);
    border-radius: 15px 15px 15px 15px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drawflow-node .badge {
    position: absolute;
    min-width: 30px;
    margin-top: -30px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--dark);
    color: var(--dark) !important;
    background-color: var(--background-box-title) !important;

}

.drawflow-node .title-box {
    height: 50px;
    line-height: 50px;
    background: var(--background-box-title);
    /*border-bottom: 1px solid #e9e9e9;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    display: flex;
    justify-content: left;
    align-items: center;
}

.caption {
    height: 20px !important;
    width: 100px !important;
    background: var(--background-box-title);
    /*border-bottom: 1px solid #e9e9e9;*/
    border: 2px solid var(--primary) !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    display: flex;
    justify-content: left;
    align-items: center;
}

.drawflow .title-box i {
    position: initial;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
}

.drawflow .title-box img {
    position: initial;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
    width: 24px;
    height: 24px;
}

.drawflow-node .box {
    padding: 10px 20px 20px 20px;
    font-size: 14px;
    color: #000;

}
.drawflow-node .box p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.drawflow-node.welcome {
    width: 250px;
}

.drawflow-node.slack .title-box {
    border-radius: 4px;
}

.drawflow-node input, .drawflow-node select {
    border-radius: 4px;
    border-bottom: 1px solid var(--border-color);
    border-top: 0px solid var(--border-color);
    border-left: 0px solid var(--border-color);
    border-right: 0px solid var(--border-color);
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    width: 158px;
    color: var(--primary);
    margin-top: 5px;
    padding-left: 5px;
}

.select {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px !important;
}

.state .group-containers .box {
    margin-bottom: 0.25rem !important;
}

.state input {
    border-radius: 10px;
    border-bottom: 0px dotted var(--border-color);
    border-top: 0px dotted var(--border-color);
    border-left: 0px dotted var(--border-color);
    border-right: 0px dotted var(--border-color);
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    width: 158px;
    background: #e8f0ff;
    color: var(--dark);
    margin-top: 5px;
    padding-left: 5px;
}

.ab-split .input_1 {
    margin-top: 70px !important;
    position: absolute !important;
}

.ab-split .output {
    position: absolute !important;
}

.ab-split .output_1 {
    position: absolute;
    margin-top: 150px !important;
    margin-right: -15px !important;
}

.ab-split .output_2 {
    position: absolute;
    margin-top: 215px !important;
    margin-right: -15px !important;
}

.ab-split .output_3 {
    position: absolute;
    margin-top: 280px !important;
    margin-right: -15px !important;
}

.ab-split .output_4 {
    position: absolute;
    margin-top: 345px !important;
    margin-right: -15px !important;
}

.ab-split .output_5 {
    position: absolute;
    margin-top: 410px !important;
    margin-right: -15px !important;
}

.ab-split .output_6 {
    position: absolute;
    margin-top: 475px !important;
    margin-right: -15px !important;
}

.ab-split .output_7 {
    position: absolute;
    margin-top: 540px !important;
    margin-right: -15px !important;
}

.ab-split .output_8 {
    position: absolute;
    margin-top: 605px !important;
    margin-right: -15px !important;
}

.ab-split .output_9 {
    position: absolute;
    margin-top: 670px !important;
    margin-right: -15px !important;
}

.ab-split .output_10 {
    position: absolute;
    margin-top: 735px !important;
    margin-right: -15px !important;
}

.context-table .input_1 {
    margin-top: 70px !important;
    position: absolute !important;
}

.state .outputs {
    margin-top: 15px;
    right: 0px;
    height: 100%;
}

.state output {
    margin-bottom: 20px !important;
}

.state .input_1 {
    margin-top: 70px !important;
    position: absolute !important;
}

/*.state .output_1 {
    position: absolute;
    margin-top: 70px !important;
    margin-right: -15px !important;
}

.state .output_2 {
    position: absolute;
    margin-top: 105px !important;
    margin-right: -15px !important;
}

.state .output_3 {
    position: absolute;
    margin-top: 140px !important;
    margin-right: -15px !important;
}

.state .output_4 {
    position: absolute;
    margin-top: 175px !important;
    margin-right: -15px !important;
}

.state .output_5 {
    position: absolute;
    margin-top: 210px !important;
    margin-right: -15px !important;
}

.state .output_6 {
    position: absolute;
    margin-top: 245px !important;
    margin-right: -15px !important;
}

.state .output_7 {
    position: absolute;
    margin-top: 280px !important;
    margin-right: -15px !important;
}

.state .output_8 {
    position: absolute;
    margin-top: 315px !important;
    margin-right: -15px !important;
}

.state .output_9 {
    position: absolute;
    margin-top: 350px !important;
    margin-right: -15px !important;
}

.state .output_10 {
    position: absolute;
    margin-top: 385px !important;
    margin-right: -15px !important;
}

.state .output_11 {
    position: absolute;
    margin-top: 420px !important;
    margin-right: -15px !important;
}

.state .output_12 {
    position: absolute;
    margin-top: 455px !important;
    margin-right: -15px !important;
}

.state .output_13 {
    position: absolute;
    margin-top: 490px !important;
    margin-right: -15px !important;
}

.state .output_14 {
    position: absolute;
    margin-top: 525px !important;
    margin-right: -15px !important;
}

.state .output_15 {
    position: absolute;
    margin-top: 560px !important;
    margin-right: -15px !important;
}*/


.drawflow-node textarea {
    border-radius: 4px;
    height: 35px;
    font-size: 13px;
    line-height: 14px;
    width: 170px;
    color: black;
    resize: none;
    padding-left: 5px;
    border: 1px solid transparent;
    background-color: transparent;
}

.caption textarea {
    border-radius: 4px;
    height: 20px !important;
    font-size: 10px !important;
    line-height: 10px !important;
    width: 170px !important;
}

.caption .title-box {
    height: 30px !important;

}

.drawflow-node .editable-headers textarea {
    border-radius: 4px;
    height: 20px!important;
    font-size: 14px;
    line-height: 14px;
    width: 170px;
    color: black;
    resize: none;
    padding-left: 0px;
    border: 1px solid transparent;
    background-color: transparent;
    overflow: hidden !important;
}


.drawflow-node.state .title-box {
    background: var(--background-box-title) !important;
    color: var(--dark) !important
}

.drawflow-node.state textarea {
    color: var(--dark) !important
}

.drawflow-node.state .outputs .output {
    margin-bottom: 20px;
}

.drawflow-node.state {
    width: 235px;
}

.drawflow-node.state .group-containers > div {
    display: flex;
    align-items: center;
    cursor: default;
}

.drawflow-node.state .group-containers > div .btn {
    height: 30px;
    margin-top: 5px;
}

.drawflow-tooltip .tooltip-inner {
    background-color: var(--background-box-title);
    color: var(--dark);
    text-align: left;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tooltip.drawflow-tooltip .arrow::before {
    border-width: 0.4rem 0.4rem 0.4rem 0 !important;
    border-style: solid !important;
    border-left-color: #e8f0ff !important;
}

.drawflow-node.ab-split .outputs .output {
    margin-bottom: 20px;
}

/*Empty outputs (stateless actions)*/
/*.stateless-action .title-box {
    background: #3ad29f !important;
    color: #fff !important
}

.stateless-action  textarea {
    color: #fff !important;
}*/

.stateful-action .title-box {
    background: #3ad29f !important;
    color: #fff !important
}

.stateful-action  textarea {
    color: #fff !important;
}

.stateful-action  .input_1 {
    margin-top: 40px !important;
}

.http  .input_1 {
    margin-top: 40px !important;
}

.stateful-action  .output_1 {
    margin-top: 40px !important;
}

.decicion  .input_1 {
    margin-top: 40px !important;
}

/*.stateless-action  .input_1 {
    margin-top: 40px !important;
}*/

/*.drawflow-node.end  {
    width: 80px !important;
}*/

.drawflow-node.end .title-box {
    background: var(--pink) !important;
    color: #fff !important
}

textarea:focus {
    outline: none !important;
}


.drawflow-node.personalized {
    background: red;
    height: 200px;
    text-align: center;
    color: white;
}
.drawflow-node.personalized .input {
    background: yellow;
}
.drawflow-node.personalized .output {
    background: green;
}

.drawflow-node.personalized.selected {
    background: blue;
}

.start {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px !important;
}

.end {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px !important;
}

/*.drawflow-node .start {

    min-width: 30px;
    text-align: left;
    color: #000;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;

}*/

.drawflow .drawflow-node .start {
    background: var(--background-box-title);
    border-radius: 13px;
}

.drawflow .drawflow-node .title-box .start {
    border-bottom: 0px solid transparent;
}

.select {
    width: 160px !important;
}

.and_in {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;
    padding: 0px;
    width: 110px !important;
}

.and_not_in {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;
    padding: 0px;
}

.drawflow .drawflow-node .title-box .and_in {
    border-bottom: 0px solid transparent;
}

.drawflow .drawflow-node .title-box .and_not_in {
    border-bottom: 0px solid transparent;
}

.drawflow .drawflow-node .end {
    background: var(--background-box-title);
    border-radius: 13px;
}

.drawflow .drawflow-node .title-box .end {
    border-bottom: 0px solid transparent;
}

.context-table {
    width: auto !important;
    min-width: 270px !important;
}

.context-table .outputs {
    margin-top: 75px;
    right: 0px;
    height: 100%;
}

.context-table .outputs .output {
    margin-bottom: 22px;
}

.drawflow-node.context-table .outputs .output:last-child {
    border: 1px solid var(--white);
    background-color: var(--gray);
}

.drawflow-node .bottom-box {
    height: 50px;
    line-height: 50px;
    background: var(--background-box-title);
    border-bottom: 1px solid #e9e9e9;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    display: flex;
    justify-content: left;
    align-items: center;
}

.drawflow .bottom-box i {
    position: initial;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
}

.drawflow .bottom-box img {
    position: initial;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
    width: 24px;
    height: 24px;
}

/*.drawflow-node.end {

    min-width: 30px;
    text-align: left;
    color: #000;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;

}*/

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 7;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh!important;
    overflow: auto!important;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);

}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 400px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor:pointer;
}

@media only screen and (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
}


figure{
    height:250px; /*container-width*/
    overflow:hidden; /*hide bounds of image */
    margin:10px;   /*reset margin of figure tag*/
    opacity: 1;
}
figure img{
    display:block; /*remove inline-block spaces*/
    width:100%; /*make image streatch*/
}

.ace-jsoneditor .ace_cursor {
    border-left: 1px solid #fff!important;
}

.drawflow-node.decision .outputs .output:nth-child(1):before {
    display: block;
    content: "Passed";
    position: relative;
    margin-top: -2px;
    margin-left: -35px;
    color: var(--success);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}


.drawflow-node-selector {
    border-left: 2px dashed var(--warning);
    border-right: 2px dashed var(--warning);
    border-top: 2px dashed var(--warning);
    border-bottom: 2px dashed var(--warning);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    width: 110%;
    height: 130%;
    position: absolute;

    margin: -5%;
}

.drawflow-node-selector-input {
    position: absolute !important;
    width: 80px !important;
    right: -83px !important;
    border-right: 2px dashed var(--warning) !important;
    border-top: 2px dashed var(--warning) !important;
    border-bottom: 2px dashed var(--warning) !important;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    top: -2px !important;
}

.drawflow-node.decision .outputs .output:nth-child(2):before {
    display: block;
    content: "Not\a0passed";
    position: relative;
    margin-top: -2px;
    margin-left: -53px;
    color: var(--secondary);
    /* transform: rotate(-30deg); */
    font-size: 10px;
}

.split {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.split .badge {
    margin-top: -50px !important;
}

.soft {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.sort .badge {
    margin-top: -50px !important;
}

.minmax {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.minmax .badge {
    margin-top: -50px !important;
}

.limit {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.limit .badge {
    margin-top: -50px !important;
}

.join {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.join .badge {
    margin-top: -50px !important;
}

.drawflow .join .input_2 {
    border: 1px solid var(--white);
    background-color: var(--success);
}

.append {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.drawflow .append .input_2 {
    border: 1px solid var(--white);
    background-color: var(--success);
}

.append .badge {
    margin-top: -50px !important;
}


.exclude {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.exclude .badge {
    margin-top: -50px !important;
}

.filter_result {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.filter_result .badge {
    margin-top: -50px !important;
}

.drawflow .exclude .input_2 {
    border: 1px solid var(--white);
    background-color: var(--danger);
}

.and_in {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;
    padding: 0px;
    width: 110px !important;
}

.and_not_in {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    -webkit-box-shadow: 0px 14px 25px -10px #616161;
    box-shadow: 0px 14px 25px -10px #616161;
    padding: 0px;
}

.drawflow .drawflow-node .title-box .and_in {
    border-bottom: 0px solid transparent;
}

.drawflow .drawflow-node .title-box .and_not_in {
    border-bottom: 0px solid transparent;
}

.drawflow .drawflow-node .end {
    background: var(--background-box-title);
    border-radius: 13px;
}

.drawflow .drawflow-node .title-box .end {
    border-bottom: 0px solid transparent;
}

.drawflow .drawflow-node .end {
    background: var(--background-box-title);
    border-radius: 13px;
}


.cache {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.cache .badge {
    margin-top: -50px !important;
}

.savetable {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 1px solid var(--white) !important;
}

.savetable .badge {
    margin-top: -50px !important;
}

.popover-body {
    padding: 0.25rem 0.5rem;
    color: #ffffff;
    text-align: left;
    background-color: var(--dark);
    border-radius: 0.25rem;
}

.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after {
    left: 1px;
    border-width: 0.5rem 0.5rem 0.5rem 0;
    border-right-color: var(--dark);
}

.btn-popover {
    padding: 0.1rem 0.1rem !important;
    font-size: 0.56562rem !important;
    line-height: 1.0 !important;
    border-radius: 0.2rem !important;
}

/*Group actions*/
.actions-group {
    width: 250px !important;
    z-index: 0 !important;
}

.actions-group-container {
    height: 30px;
    min-height: 30px;
    z-index: 0 !important;
}

.hover-drop {
    border: 5px dotted var(--success) !important;
    background: white !important;
    z-index: 0 !important;
}

actions-group.selected  {
    background: white;
    border: 2px solid var(--success)!important;
    border-radius: 15px;

}

/*Group actions*/
.actions-group {
    width: 250px !important;
    z-index: 0 !important;
}

.actions-group-container {
    height: 30px;
    min-height: 30px;
    z-index: 0 !important;
}

.hover-drop {
    border: 5px dotted var(--success) !important;
    background: white !important;
    z-index: 0 !important;
}

actions-group.selected  {
    background: white;
    border: 2px solid var(--success)!important;
    border-radius: 15px;

}

/*Additional icons*/
.a-twilio:before {
    display: block;
    content: ' ';
    background-image: url('../assets/images/twilio.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
}

.a-sendgrid:before {
    display: block;
    content: ' ';
    background-image: url('../assets/images/sendgrid.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
}

.a-sendgrid-w:before {
    display: block;
    content: ' ';
    background-image: url('../assets/images/sendgrid-w.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
}

.a-sendsay:before {
    display: block;
    content: ' ';
    background-image: url('../assets/images/sendsay.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
}

.a-sendsay-w:before {
    display: block;
    content: ' ';
    background-image: url('../assets/images/sendsay-w.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
}

/*
Basic icons*/
.a-widgets:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/widgets.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-dictionary:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/dictionary.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-enrichments:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/enrichments.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-coupons:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/coupons.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-segments:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/segments.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-sliding-windows:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/sliding-windows.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-flows:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/flows.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-home:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/home.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-log-out:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/log-out.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-case-management:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/case-management.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-sync-decisions:before {
    display: inline-block;
    content: '';
    background-image: url('../assets/images/sync-decisions.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}

.a-menu {
    position: absolute;
}

/*Custom actions with UI*/
.custom-action {
    z-index: 0 !important;
}

.icon-custom-action {
    margin-top: -18px !important;
    margin-left: 2px !important;
}

.custom-action-container {
    height: 30px;
    min-height: 30px;
    z-index: 0 !important;
}

.custom-action.selected  {
    background: white;
    border: 2px solid var(--success)!important;
    border-radius: 15px;
}

.custom-action-header {
    height: 50px !important;
    border-radius: 15px !important;
    background: transparent !important;
}

.custom-action-header textarea {
    margin-top: 2px !important;
}

.custom-action-form {
    overflow: hidden;
    position: relative;
    border-radius: 13px;
}

.custom-action-item-bg {
    height: 28px;
    width: 28px;
    background-color: var(--success);
    z-index: 1;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    pointer-events: none;
}

.success-item-bg {
    background-color: var(--success);
    box-shadow: -1px 1px 5px 4px var(--success);
}

.primary-item-bg{
    background-color: var(--primary);
    box-shadow: -1px 1px 5px 4px var(--primary);
}

.warning-item-bg{
    background-color: var(--warning);
    box-shadow: -1px 1px 5px 4px var(--warning);
}

.danger-item-bg{
    background-color: var(--danger);
    box-shadow: -1px 1px 5px 4px var(--danger);
}

.custom-action-form:hover .custom-action-item-bg {
    -webkit-transform: scale(5);
    -ms-transform: scale(5);
    transform: scale(5);
    opacity: 0.5;
    top: -30px;
}

.custom-action-form:hover .custom-action-setting {
    text-col: white;
}


.dropdown-content {
    display: none;
    position: absolute;
    border-radius: 6px;
    max-height: 200px;
    height: fit-content;
    line-height: 30px;
    font-size: 16px;
    width: 157px;
    margin-top: -1px;
    padding: 0;
    overflow-y: scroll;
    top: 35px;
    background: var(--background-box-title);
    color: var(--dark);
    box-shadow: 0 5.7px 11.7px hsl(230deg 0% 0% / 0.15);
    /*border: 2px solid var(--primary);*/
    border: 1px solid #dee2e6;
    z-index: 200;
    border-top: none;
}

.dropdown-content .event-list-item {
    font-size: 14px;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dropdown-content .event-list-item:hover {
    border-radius: 0;
}

.dropdown-content .event-list-item:last-of-type:hover {
    border-radius: 0 0 10px 10px;
}


.dropdown-content.active {
    display: block;
    border-radius: 0 0 10px 10px;
}

.state input.state-events.active {
    border-radius: 10px 10px 0 0;
    outline: none;
    border: 1px solid #dee2e6;
    border-bottom: none;
}

.state input.state-events.set-event {
    pointer-events:none;
    display: block;
    color: #e8f0ff;
    position: relative;
    z-index: 1;
    cursor: default;
}

.state-events-after {
    display: none;
    color: white;
    padding: 1px 7px;
    border-radius: 8.5px;
    background: #6398ff;
    border: 1px solid #dee2e6;
    position: absolute;
    z-index: 2;
    top: 7.5px;
    left: 3px;
    width: fit-content;
    height: auto;
    max-width: 151px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.state-events-after.active {
    display: block
}

.drawflow-node.state .group-containers > div {
    position: relative;
}

.dropdown-content li {
    list-style-type: none;
    cursor: pointer;
}

.nested-item {
    display: block;
    color: var(--dark) !important;
    padding-top: 0.25rem;
}

.dropdown-content .nested {
    display: none;
}

.dropdown-content .nested.active {
    display: block;
}

.event-list-item {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.event-list-item:hover {
    background-color: white;
    border-radius: 6px;
}