:root {
    --color-primary: #143758; /* Default primary color */
}
.box-header{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.box-body{
    padding: 10px;
}
.filter-field > div{
    margin-right: 10px;
}
.canvas-outer {
    position: relative;
    background-size: 10px 10px;
    background-color: #4f6791;
    background-image:
      linear-gradient(90deg,hsla(0,0%,100%,.1) 1px,transparent 0),
      linear-gradient(180deg,hsla(0,0%,100%,.1) 1px,transparent 0);
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: not-allowed;
}
.workflow-search .directory-control-bar{
    border: 0px;
    min-height:auto;
    height:auto;
}   
.error-field{
    border-color: red !important;
}
.rc-inp-lbl{
    max-width: 200px;
}

.fx {
	color: #ffd709;
	font-size: 14px;
	font-family: SourceSansPro-BlackItalic, Source Sans Pro;
	font-weight: 800;
	font-style: italic;
	margin-right: 5px;
}
.workflow-node {
    width: 269px;
    max-width: 269px;
	/* background: #FFFFFF 0% 0% no-repeat padding-box; */
	box-shadow: 0px 1px 6px 1px #00000029;
	overflow: visible;
	font-size: 15px;
	border: 1px solid #B4B4B4;
	border-radius: 12px;
}
.react-draggable:hover .port-default-outer {
	display: block;
}
.node-header {
	padding: 0px 10px;
	display: flex;
	color: white;
	justify-content: space-between;
	border-radius: 12px 12px 0 0;
}

.start-node{
	width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}
.node-start {
	background: #5CB85C;
}
.node-color {
	background: #01549B;
	;
}
.node-body {
	padding: 10px;
	display: flex;
	align-items: center;
    font-size: 12px;
}
.node-body-icon {
	width: 20px;
	height: 20px;
	display: grid;
	align-items: center;
	justify-items: center;
	background: #01549B;
	border-radius: 50%;
	margin-right: 5px;
}
.node-play {
	background: #5CB85C;
	width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
	display: grid;
	align-items: center;
	justify-items: center;
	border-radius: 50%;
	font-size: 10px;
	color: white;
	cursor: pointer;
}
.node-empty {
	background: var(--color-primary);
	width: 22px;
	height: 22px;
	display: grid;
	align-items: center;
	justify-items: center;
	border-radius: 50%;
	font-size: 10px;
	color: white;
	cursor: pointer;
}

.node-condition {
	border-radius: 30px;
	border: 1px solid #B4B4B4;
}
.node-condition .node-body {
	padding: 5px;
}

.workflow-container{
    flex: 3 1;
    overflow: auto;
    height: 100%;
    position: relative;
    display: flex;
}
.workflow-sidebar{
    width: 255px;
    height: 100%;
    overflow-y: scroll;
    border-left: 1px solid #00000017;
    transition: 0.5s;
}
.workflow-sidebar .search-input-wrap{
    width: auto;
}
.workflow-sidebar-hide{
margin-right: -315px;
transition: 0.5s;
}
.bot-dialog-leftpanel-hide{
    margin-left: -315px;
    transition: 0.5s;
 }

.sideBarMenu{
padding: 5px 10px;
margin-bottom: 5px;
cursor: grabbing;
border: 1px solid #00000027;
border-radius: 2px;
display: flex;
align-items: center;
}
.card-view-box .sideBarMenu:last-child {
    margin-bottom: 0;
}
.card-workflow-header {
padding: 6px 10px;
margin-bottom: 0;
background-color: rgba(0,0,0,.03);
border-bottom: 1px solid rgba(0,0,0,.125);
border-top: 1px solid rgba(0,0,0,.125);
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.dropdown-border{
padding: 0px 10px;
border: 1px solid #ddd;
border-radius: 2px;
cursor: pointer;
}
.wf-publish{
width: 10px;
height: 10px;
border-radius: 50%;
background: #5CB85C;
margin-right: 4px;
}
.wf-unpublished{
width: 10px;
height: 10px;
border-radius: 50%;
background: #BCBCBC;
margin-right: 4px;
}
.wf_alert {
color: #2c5f77 !important;
text-shadow: none;
line-height: 20px;  
}
.version-panel{
width: 270px;
height: 100%;
border-right: 1px solid #00000017
}
.version-menu{
display: flex;
justify-content: space-between;
padding: 10px 10px;
border-bottom: 1px solid #DCDCDC;
cursor: pointer;
}
.version-menu:hover{
background-color: rgb(248, 248, 248);
}
.version-ac{
display: flex;
flex-direction: column;
align-items: flex-end;
text-align: initial;
justify-content: space-between;
}
.version-active{
border: 1px solid #5cb85c;
text-align: center;
font-size: 11px;
padding: 0px 2px;
font-weight: 600;
color: #5cb85c;
white-space: nowrap;
border-radius: 3px;
background-color: white;
}
.version-sidebar-header{
border-bottom: 1px solid #DCDCDC;
padding: 10px;
font-size: 15px;
font-weight: bold;
display: flex;
justify-content: space-between;
}
.version-active-menu{
background-color: #CAE4FC !important;
}
.btn-fx-width{
width: 122px;
}
.icn-back{
border-radius: 2px 0 0 2px;
}
.icn-next{
border-radius: 0 2px 2px 0;
border-left: none !important;
}
.menu-divider1 {
margin: 0px 15px;
border: 1px solid #ddd;
}

/* Quick Action */
.qa-main{
    width: 250px;
}
.qa-header{
background-color: #F5F5F5;
padding: 5px 15px;
margin-top: 0;
}
.qa-del-icn{
    cursor: pointer;
    padding: 0 10px 0 10px;
}
.qa-search{
border-top: 1px solid #CFCFCF;
border-bottom: 1px solid #CFCFCF;
padding: 5px 15px;
}
.qa-search input{
    border: none;
    outline: none;
    width: 100%;
}
.qa-action{
padding: 10px 15px;
cursor: pointer;
}
.qa-bar-hr{
border-bottom: 1px solid #D8D8D8;
width: 100%;
}
.qa-actions-list{
font-size: 13px;
}
.qa-action-parent {
height: 290px;
width: 100%;
overflow: auto;
}
.qa-action-scroll {
width: 100%;
height: 99%;
overflow: auto;
}

/**
    MrBlenny library custom classes
*/
.workflow-container .react-draggable{
    position: absolute;
    -webkit-transition: 0.3s ease box-shadow,0.3s ease margin-top;
    transition: 0.3s ease box-shadow,0.3s ease margin-top;
    border-radius: 16px;
    min-width: 0px;
    min-height: 0px;
}
.styled-node {
	position: absolute;
	display: flex;
}

.port-default-outer {
    width: 14px;
    height: 14px;
    border: 4px solid #cdcdcd;
    background: #608fb7;
    border-radius: 10px;
    cursor: pointer;
    display:none;
    right: 2px;
    justify-content: center;
	align-items: center;
}
.link-label {
	position: absolute;
}
.link-label-content {
    padding: 5px 10px;
    background: #5C5C5C;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}
.link-button {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px;
    height: 20px;
    width: 20px;
    transform: translate(50%, -50%);
    background: grey;
    color: white;
    border-radius: 50%;
    transition: 0.3s ease all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
	cursor: pointer;
	opacity: 0.7;
}
.link-delete-button {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px;
    height: 25px;
    width: 25px;
    transform: translate(50%, -50%);
    background: red;
    color: white;
    border-radius: 50%;
    transition: 0.3s ease all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}
.link-button:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.node-outer {
	-webkit-transition: 0.3s ease box-shadow, 0.3s ease margin-top;
	transition: 0.3s ease box-shadow, 0.3s ease margin-top;
}
.exit-node{
    max-width: 112px;
    padding: 12px 25px;
    text-align: center;
    background: #ffa5a5;
    border: 1px solid #B4B4B4;
    border-radius: 12px;
    color: #ffffff;
    font-size: 13px;
}
.exit-node-wrap{
	display: flex;
	justify-content: center;
	align-items: center;
}
/* .react-transform-element{
	transition: 500ms;
}
.react-transform-element svg circle{
	fill: #5c5c5c;
    stroke-linecap: square;
    r: 2px;
} */
/* .react-transform-element svg path{
    stroke-linecap: round;
	stroke-width: 0.1 rem;
} */
.workflow-scale{
	position: fixed;
    top: 80vh;
    padding-left: 15px;
    display: inline-grid;
}
.workflow-scale-icon{
    box-shadow: 0px 0px 5px 0px #0000004f;
    width: 30px;
    height: 27px;
    align-items: center;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}
.dfGpit{
	background: rgba(255, 255, 255, 0) !important;
}
.node-mouse-enter{
	position: absolute;
	opacity: 1;
	display: flex;
	justify-content: center;
}
.node-mouse-enter.hz{
    flex-direction: row;
    min-width: 100%;
    justify-content: center;
}
.node-mouse-enter.vl{
    flex-direction: column;
    min-height: 100%;
}
.node-mouse-enter:hover {
    cursor: copy;
	opacity: 10;
	z-index: 99999;
}
.wf-send-email{
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    margin: 15px 0px;
    height: auto;
}


/* Node mc body */
.mc-button {
    border: 1px solid #ddd;
    padding: 3px 30px;
    background-color: #ffffff;
    text-align: center;
}

.cd-image {
    vertical-align: middle;
    border: 1px solid #eee;
    border-radius: 4%;
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 52px;
    height: 46px;
    display: block;
    font-size: 28px;
    padding: 0px;
    background-color: #dce8ea;
    color: #727677;
    position: relative;
    line-height: 82px;
}
.cd-info {
    padding-left: 3px;
}
.cd-info-title {
    color: #111111;
    font-size: 13px;
    font: normal normal 600 13px/18px Source Sans Pro;
}
.cd-info-desc {
    color: #555555;
    font-size: 12px;
}

/** Action Dropdown **/
.action-dropdown-node-inner {
    z-index: 100000000;;
}
