*,
:after,
:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.design-form {
	position: relative;
	height: calc(100vh - 56px);
}

.myflow-design {
	width: 100%;
	background-color: #f5f5f7;
	overflow: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}

.myapp {
	width: 360px;
	border: 10px solid #FFFFFF;
	margin: 0 auto 0 auto;
	border-radius: 5px;
	height: 100%;
	max-height: 640px;
	overflow-y: scroll;
}

.designer {
	height: 100vh;
	overflow: hidden;
}

.designer-page-header {
	z-index: 11;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 54px;
	padding: 0 20px 0 20px;
	background: #4485DF;
	box-shadow: 0 1px 4px 0 rgba(17, 31, 44, 0.04);
}

.designer-tab {
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
}

.designer-tabs {
	position: relative;
	display: inline-block;
	align-items: center;
	justify-content: center;
}

.designer-tab-item {
	position: relative;
	display: inline-block;
	padding: 16px 16px;
	text-decoration: none;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
}

.designer-tab-item.active {
	font-family: PingFangSC-Medium;
	color: #fff;
	font-size: 16px;
}

.designer-tab-item-line {
	z-index: 1;
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	transform: translate3d(0px, 0px, 0px);
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background-color: #000;
	transform-origin: 0 0;
	box-sizing: border-box;
	transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.template-center {
	position: absolute;
	left: 0;
	top: 55px;
	z-index: 99;
}

.design-flow {
	position: relative;
	height: calc(100vh - 56px);
}

.myflow-design {
	width: 100%;
	background-color: #f5f5f7;
	overflow: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}

.zoom {
	display: flex;
	position: fixed;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	height: 40px;
	width: 125px;
	right: 40px;
	margin-top: 30px;
	z-index: 10;
}

.zoom .zoom-out,
.zoom .zoom-in {
	width: 30px;
	height: 30px;
	background: #fff;
	color: #c1c1cd;
	cursor: pointer;
	background-size: 100%;
	background-repeat: no-repeat;
}

.zoom .zoom-out {
	background-image: url(https://gw.alicdn.com/tfs/TB1s0qhBHGYBuNjy0FoXXciBFXa-90-90.png);
}

.zoom .zoom-in {
	background-image: url(https://gw.alicdn.com/tfs/TB1UIgJBTtYBeNjy1XdXXXXyVXa-90-90.png);
}

.myflow-design .box-scale {
	transform: scale(1);
	display: inline-block;
	position: relative;
	width: 100%;
	padding: 54.5px 0;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	min-width: -webkit-min-content;
	min-width: -moz-min-content;
	min-width: min-content;
	background-color: #f5f5f7;
	-webkit-transform-origin: 0 0 0;
	transform-origin: 0 0 0;
}

.myflow-design .node-wrap {
	display: inline-flex;
	flex-direction: column;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	width: 100%;
	padding: 0 50px;
	position: relative;
}

.myflow-design .node-wrap-box {
	width: 240px;
	min-height: 80px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	position: relative;
}

.myflow-design .node-wrap-btn-box {
	width: 240px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	position: relative;
}

.myflow-design .node-wrap-btn-box.node-light::before {
	background-color: #EA544A !important;
}

.myflow-design .node-wrap-btn-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	margin: auto;
	width: 2px;
	height: 100%;
	background-color: #CACACA;
}

.myflow-design .node-wrap.node-light .node-wrap-btn-box::before {
	background-color: #EA544A !important;
}

.myflow-design .add-node-btn {
	user-select: none;
	width: 240px;
	padding: 20px 0px 32px;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	flex-shrink: 0;
	-webkit-box-flex: 1;
	flex-grow: 1;
	z-index: 99;
}


.myflow-design .add-node-btn .btn {
	outline: none;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
	width: 30px;
	height: 30px;
	background: #3296fa;
	border-radius: 50%;
	position: relative;
	border: none;
	line-height: 25px;
	text-align: center;
	-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	cursor: pointer;
}

.node-wrap-box .title,
.condition-node-box .title {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 16px;
	padding-right: 25px;
	width: 100%;
	height: 30px;
	line-height: 30px;
	font-size: 12px;
	color: #FFFFFF;
	text-align: left;
	background: #576A95;
	border-radius: 4px 4px 0px 0px;
	cursor: pointer;
}

.node-wrap-box .content,
.condition-node-box .content {
	position: relative;
	font-size: 14px;
	padding: 16px;
	padding-right: 30px;
	background: #FFFFFF;
	cursor: pointer;
}

.node-wrap-box .content .text,
.condition-node-box .content .text {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.myflow-design .remove {
	position: absolute;
	right: 6px;
	cursor: pointer;
}

.myflow-design .priority {
	position: absolute;
	right: 16px;
}

.myflow-design .title .remove {
	display: none;
}

.myflow-design .title:hover .remove {
	display: block;
}

.myflow-design .title:hover .priority {
	display: none;
}

.node-wrap-box .content .arrow,
.condition-node-box .content .arrow {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 14px;
	font-size: 14px;
	color: #979797;
}

.node-wrap-box:after {
	pointer-events: none;
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	border-radius: 4px;
	border: 1px solid transparent;
	transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.myflow-design .end-node {
	border-radius: 50%;
	font-size: 14px;
	color: rgba(25, 31, 37, 0.4);
	text-align: left;
}

.myflow-design .end-node .end-node-circle {
	width: 10px;
	height: 10px;
	margin: auto;
	border-radius: 50%;
	background: #DBDCDC;
}

.myflow-design .end-node .end-node-text {
	margin-top: 5px;
	text-align: center;
}

.myflow-design .branch-wrap {
	display: inline-flex;
	width: 100%;
}

.myflow-design .branch-box-wrap {
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	min-height: 270px;
	width: 100%;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.myflow-design .branch-box {
	display: flex;
	overflow: visible;
	min-height: 180px;
	height: auto;
	border-bottom: 2px solid #cccccc;
	border-top: 2px solid #cccccc;
	position: relative;
	margin-top: 15px;
}



.myflow-design .add-branch {
	border: none;
	outline: none;
	user-select: none;
	justify-content: center;
	font-size: 12px;
	padding: 0 10px;
	width: 80px;
	height: 30px;
	line-height: 30px;
	border-radius: 15px;
	color: #0089FF;
	background: #fff;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	transform-origin: center center;
	cursor: pointer;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.myflow-design .branch-box .col-box {
	background: #F5F5F7;
}

.myflow-design .col-box {
	display: inline-flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	-webkit-box-align: center;
	align-items: center;
	position: relative;
}

.myflow-design .branch-box .col-box.node-light:before {
	background-color: #EA544A;
}

.myflow-design .branch-box .col-box:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	margin: auto;
	width: 2px;
	height: 100%;
	background-color: #CACACA;
}

.top-left-cover-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #f5f5f7;
	top: -2px;
	left: -1px;
}

.bottom-left-cover-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #f5f5f7;
	bottom: -2px;
	left: -1px;
}

.top-right-cover-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #f5f5f7;
	top: -2px;
	right: -1px;
}

.bottom-right-cover-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #f5f5f7;
	bottom: -2px;
	right: -1px;
}


.top-left-light-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #EA544A;
	top: -2px;
	left: -1px;
}

.bottom-left-light-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #EA544A;
	bottom: -2px;
	left: -1px;
}

.top-right-light-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #EA544A;
	top: -2px;
	right: -1px;
}

.bottom-right-light-line {
	position: absolute;
	height: 3px;
	width: 50%;
	background-color: #EA544A;
	bottom: -2px;
	right: -1px;
}

.myflow-design .condition-node {
	min-height: 220px;
	display: inline-flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	-webkit-box-flex: 1;
}

.myflow-design .condition-node-box {
	padding-top: 30px;
	padding-right: 50px;
	padding-left: 50px;
	-webkit-box-pack: center;
	justify-content: center;
	display: inline-flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	-webkit-box-flex: 1;
	flex-grow: 1;
	position: relative;
}

.myflow-design .condition-node-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 100%;
	background-color: #CACACA;
}

.myflow-design .col-box.node-light>.condition-node>.condition-node-box::before {
	background-color: #EA544A !important;
}

.myflow-design .auto-judge {
	position: relative;
	width: 220px;
	min-height: 72px;
	background: #FFFFFF;
	border-radius: 4px;
	cursor: pointer;
}

.light-line {
	background-color: #EA544A !important;
}

.end-node-circle.node-light {
	background: #EA544A !important;
}

.sub-datas .el-form-item__label {
	font-weight: bold !important;
}

.designer .el-form-item__content,
.app-designer .el-form-item__content {
	line-height: 40px !important;
}


.bgeaeaea{
	background: #aaa;
}