@import "../../../../src/theme.less";
:host {
	width: 100%;
	height: 100%;
  .add-button {
    margin: 0 auto 16px !important;
  }
  .targetDept {
    overflow: hidden;
    // width: 90px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dynamic {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    input {
      width: 90%;
    }
    i {
      margin-left: 8px;
      cursor: pointer;
      font-size: 18px;
    }
  }
}

h3{
	margin: 0 !important;
}
/* 修改垂直滚动条 */
::-webkit-scrollbar {
  width: 4px; /* 修改宽度 */
}
 
/* 修改滚动条轨道背景色 */
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
 
/* 修改滚动条滑块颜色 */
::-webkit-scrollbar-thumb {
  background-color: #888;
}
 
/* 修改滚动条滑块悬停时的颜色 */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

[nz-form]{
	// width: 600px;
}
.detail-box{
	display: flex;
	justify-content: center;
	padding: 20px;
	position: relative;
	overflow-x: hidden;
	.modalBody{
		width: 100%;
		height: 100%;
		position: relative;
	}
	.list-template__content{
		flex:3;
		padding: 0 10px 10px 10px;
		border-radius: 5px;
		border: 1px solid #e5e5e5;
		.list-template__bottom{
			height: calc(100vh - 70px);
			overflow-y: auto;
		}
	}
	
	.addForm {
		display: flex;
		.left-form-box{
			flex: 1;
			// margin-right: 30px;
		}
		.right-form-box{
			flex: 1;
		}
		.form-title-box{
			display: flex;
			margin-left: 13px;
			.form-title{
				color: #000;
				margin-right: 40px;
			}
		}
	  .ant-form-item {
	    margin-bottom: 14px;
			display: flex;
	    .ant-form-item-label {
	      text-align: right;
	    }
			.ant-form-item-control-wrapper{
				.ant-form-item-control{
					width: 400px;
				}
			}
	
	  }
		.ant-select{
			width: 100%;
		}
		.ant-cascader{
			width: 100%;
		}
	}
	
	.form-btn{
		position: fixed;
		bottom: 20px;
		button {
		  &.btn {
		    margin-left: 10px;
		  }
		}
	}
	/deep/ .cdk-overlay-pane{
		top: 160px !important;
	}
	
	.mask-style{
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999;
		display: flex;
		background: rgba(0,0,0,0.2);
		align-items: center;
		justify-content: center;
	}
	.spin-style{
		z-index:9999;
	}
	.sign{
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: red;
		display: inline-block;
	}
	.red{
		color: red;
	}
	.green{
		color: #34b349;
	}
}
