.drawflow,
.drawflow .parent-node {
	position: relative
}

.parent-drawflow {
	display: flex;
	overflow: auto;
	touch-action: none;
	outline: 0
}

.drawflow {
    width:50%;

	height: 100%;
	user-select: none;
	perspective: 0;


}
.custom-modal-title {
    margin-bottom:0px !important;
}

.drawflow .drawflow-node {
	display: flex;
	align-items: center;
	position: absolute;
/* background: #0ff;
	width: 160px;
	min-height: 40px;
	border-radius: 4px;
	border: 2px solid #000;
	color: #000;
	z-index: 2;
	padding: 15px  */
	width: 200px;
    height: 64px;
    background-color: #d8d8e0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-left: 2px solid #d8d8e0;
    border-right: none;
    box-sizing: border-box;
    transform: scaleX(0.5);
}
.drawflow .drawflow-node::before {
content: "";
    position: absolute;
    top: -5px;
    left: -132px;
    width: 157px;
    height: 75px;
    background: #fff;
    border-radius: 50%;
   }

.drawflow .drawflow-node.selected {
	background: red
}

.drawflow .drawflow-node:hover {
	cursor: move
}

.drawflow .drawflow-node .inputs,
.drawflow .drawflow-node .outputs {
	width: 0
}

.drawflow .drawflow-node .drawflow_content_node {
	width: 100%;
	display: block;
	transform: scaleX(1.9);
}
.drawflow-node {
    border: 0 !important;
    transform: translate(3.6px, 9.2px) scale(0.8);
}
#drawflow {
    width: 100%;
    height: 400px;

  }
.drawflow .drawflow-node .input,
.drawflow .drawflow-node .output {
	position: relative;
	width: 12px;
	height: 12px;
	background: #2e6cca;
	border-radius: 50%;

	cursor: crosshair;
	z-index: 1;
	margin-bottom: 5px;
	transform: scaleX(1.9);
}


.drawflow .drawflow-node .input {
	left: 21px;
	top: 2px;
	background: #2e6cca;
}

.drawflow .drawflow-node .output {
	right: 8px;
	top: 2px
}

.drawflow svg {
	z-index: 0;
	position: absolute;
	overflow: visible !important
}

.drawflow .connection {
	position: absolute;
	pointer-events: none;
	aspect-ratio: 1/1
}

.drawflow .connection .main-path {
	fill: none;
	stroke-width: 1px;
/*	stroke: #333;  */
	pointer-events: all
}

.drawflow .connection .main-path:hover {
	stroke: #1266ab;
	cursor: pointer
}

.drawflow .connection .main-path.selected {
	stroke: #43b993
}

.drawflow .connection .point {
	cursor: move;
	stroke: #000;
	stroke-width: 2;
	fill: #fff;
	pointer-events: all
}

.drawflow .connection .point.selected,
.drawflow .connection .point:hover {
	fill: #1266ab
}

.drawflow .main-path {
	fill: none;
	stroke-width: 5px;
	stroke: #4682b4
}

.drawflow-delete {
	position: absolute;
	display: block;
	width: 30px;
	height: 30px;
	background: #000;
	color: #fff;
	z-index: 4;
	border: 2px solid #fff;
	line-height: 30px;
	font-weight: 700;
	text-align: center;
	border-radius: 50%;
	font-family: monospace;
	cursor: pointer
}

.drawflow>.drawflow-delete {
	margin-left: -15px;
	margin-top: 15px
}

.parent-node .drawflow-delete {
	right: -15px;
	top: -15px
}
.custom-modal-header {
    padding: 8px 16px !important;
    background-color: #3A31A4;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex
;
    justify-content: space-between;
    align-items: center;
    height:40px;
}
.custom-modal-header .close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    outline: none;
    transition: transform 0.2s;
}
.close {
    color: #fff;
    float: right;
    font-size: 24px;
    font-weight: normal;
    margin-left: auto;
    position: absolute;
    right: 20px;
    top: 1px;
    z-index:999;
}
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.drawflow .parent-node .drawflow-node {

}