#drawflow {
    position: relative;
    width: 100%;
    height: 60vh;
    background: #ffffff;
    background-size: 25px 25px;
    background-image: linear-gradient(to right, #f1f1f1 1px, transparent 1px),
        linear-gradient(to bottom, #f1f1f1 1px, transparent 1px);
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

#drawflow:active {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.drawflow-node.multiple .outputs .output:nth-child(1):before {
    display: block;
    content: "SIM";
    position: relative;
    right: 40px;
}

.drawflow-node.multiple .outputs .output:nth-child(2):before {
    display: block;
    content: "NÃO";
    position: relative;
    right: 40px;
}

.drawflow-custom {
    padding: 0.7em;
    color: white;
    font-size: 13px; 
    font-weight: 800;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.drawflow-custom svg {
    position: relative;
}

.drawflow .drawflow-node.selected .title-box {
    color: inherit;
}

.drawflow .drawflow-node.selected {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.drawflow .drawflow-node {
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.drawflow-custom-box {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.component-title {
    text-align: center;
    border-bottom: 2px solid var(--color-primary);
}

#component-list {
    display: flex;
    flex-flow: wrap;
}

.container-drag {
    flex: 50%;
}

.text-drag {
    font-size: 12px;
    margin-bottom: 0;
}

.drag-drawflow {
    border: 1px solid var(--color-secondary);
    line-height: 35px;
    border-radius: 8px;
    cursor: move;
    user-select: none;
    text-align: center;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.drag-drawflow:hover {
    background-color: var(--color-primary);
}

.drag-drawflow i {
    margin-top: 15px;
}

.drag-drawflow span {
    font-size: 15px;
}

.drawflow .connection .main-path {
    stroke-width: 3px;
    stroke: var(--color-primary);
}

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

/* Editing Drawflow */

.drawflow .drawflow-node {
    background: #ffffff;
    border: 1px solid #cacaca;
    -webkit-box-shadow: 0 2px 15px 2px #cacaca;
    box-shadow: 0 2px 15px 2px #cacaca;
    padding: 0px;
    width: 280px;    
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.drawflow .drawflow-node.selected {
    background: white;
    border: 1px solid #4ea9ff;
    -webkit-box-shadow: 0 2px 15px 2px #4ea9ff;
    box-shadow: 0 2px 15px 2px #4ea9ff;
}

.drawflow .drawflow-node .input,
.drawflow .drawflow-node .output {
    height: 15px;
    width: 15px;
    border: 2px solid #cacaca;
}

.drawflow .drawflow-node .input:hover,
.drawflow .drawflow-node .output:hover {
    background: #4ea9ff;
}

.drawflow .drawflow-node .output {
    right: 10px;
}

.drawflow .drawflow-node .input {
    left: -10px;
    background: white;
}

.drawflow > .drawflow-delete {
    border: 2px solid #43b993;
    background: white;
    color: #43b993;
    -webkit-box-shadow: 0 2px 20px 2px #43b993;
    box-shadow: 0 2px 20px 2px #43b993;
}

.drawflow-delete {
    border: 2px solid #4ea9ff;
    background: white;
    color: #4ea9ff;
    -webkit-box-shadow: 0 2px 20px 2px #4ea9ff;
    box-shadow: 0 2px 20px 2px #4ea9ff;
}

.drawflow-node .title-box {
    line-height: 50px;
    background: #f7f7f7;
    border-bottom: 1px solid #e9e9e9;
    border-radius: 4px 4px 0px 0px;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 78px;
}

.drawflow .title-box svg {
    position: initial;
}

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

.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,
.drawflow-node textarea {
    border-radius: 4px;
    border: 1px solid #cacaca;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    width: 158px;
    color: #555555;
}

.drawflow-node textarea {
    height: 100px;
}

.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;
}

.drawflow .connection .point {
    stroke: #cacaca;
    stroke-width: 2;
    fill: white;
}

.drawflow .connection .point.selected,
.drawflow .connection .point:hover {
    fill: #4ea9ff;
}

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

.drawflow-node .leads-box {
    line-height: 30px;
    background: #f7f7f7;
    font-size: 0.8rem;
}

.cursor-pointer {
    cursor: pointer
}

.grid-template-collums {
    grid-template-columns: 2fr 1fr;
}

.drawflow-custom-box.click {
    border: 2px solid #ff6207;
    background-color: #ff6207;
} 

.drawflow-custom-box.email {
    border: 2px solid purple;
    background-color: purple;
} 

.drawflow-custom-box.timer {
    border: 2px solid #c30063;
    background-color: #c30063;
} 

.drawflow-custom-box.email-opening {
    border: 2px solid #18c0e6;
    background-color: #18c0e6;
} 