@import "../../../../src/theme.less";
:host {
  .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;
    }
  }
}

.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 70%;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;
			margin-bottom: 10px;
      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }
    .content {
      width: 100%;
      height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;

      div {
        text-align: center;
        margin: 0;

        &.icon {
          margin-top: 17px;

          i {
            color: #34b349;
            font-size: 30px !important;

            &.transport-wenhao {
              color: #f5a523;
            }

            &.transport-shibai {
              color: #ff3a52;
            }
          }
        }

        &.defeat {
          color: #333;
          font-size: 18px;
        }

        &:nth-child(3) {
          font-size: 14px;
          color: #666;
        }
      }
    }

    button {
      margin-top: 10px;

      &.btn {
        margin-left: 8px;
      }
    }
  }

  // 查看/审核
  &.add {
    .modalBody {
      width: 70%;
      height: auto;
				.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;
				}
			.view-box{
				height: 400px;
				display: flex;
				border: 1px solid #eee;
				.left-box{
					flex: 1;
					font-size: 14px;
					border-right: 1px solid #E9E9E9;
					overflow-y: auto;
					.item-left-list{
						display: flex;
						align-items: center;
						height: 35px;
						padding-left: 10px;
						cursor: pointer;
					}
				}
				.center-box{
					flex: 6;
					padding: 0 20px 20px 20px;
					border-right: 1px solid #E9E9E9;
					height: auto;
					overflow-y: auto;
					.title{
						margin: 10px 0 10px 0;
						font-weight: bold;
						font-size: 20px;
						color: #000000;
						font-style: normal;
						text-transform: none;
					}
					.title-sign{
						display: flex;
						font-weight: 400;
						font-size: 12px;
						color: #555555;
						margin-bottom: 5px;
						.width-180{
							width: 160px;
						}
						div{
							margin-right: 60px;
						}
					}
					.content-class{
						margin-top: 20px;
					}
					.file-box{
						margin-top: 30px;
						font-size: 14px;
						.file-class{
							color: #1890FF;
							text-decoration: underline;
							margin-left: 10px;
							cursor: pointer;
						}
						.download-icon{
							margin-left: 8px;
						}
					}
				}
				.right-box{
					flex: 1.6;
					padding: 10px;
					font-size: 14px;
					overflow-y: auto;
					.back-class{
						color: red;
						cursor: pointer;
					}
				}
			}
      .content {
        width: 100%;
        height: auto;
        padding: 19px 14px 0 14px;
        max-height: 500px;
        overflow-y: auto;
				
				.ant-select{
					width: 100%;
				}
				.ant-calendar-picker{
					width: 100% !important;
				}
				.list-template__bottom {
				  background: #f9fafb;
				  border: 1px solid #e5e9ed;
				  border-radius: 8px;
				  padding-bottom: 56px;
				  position: relative;
				  .list-template__nzTable {
				    padding: 16px 16px 0;
				
				    .thead {
				      background-image: linear-gradient(to right, @bg-start, @bg-end);
				
				      th {
				        background: transparent;
				        color: #fff;
				        text-align: center;
				      }
				    }
				
				    .ant-table-body {
				      border-bottom: 1px solid #e5e9ed;
				    }
				
				    .ant-table-tbody {
				      tr {
				        text-align: center;
				        color: #333;
				
				        td {
				          border: none;
				
				          &.tab_hover:hover{
				            text-decoration: underline;
				            cursor: pointer;
				          }
				
				          .coop {
				            button{
				              color: #333;
				            }
				            span,button {
				              display: inline-block;
				              padding: 0 8px;
				              cursor: pointer;
				              position: relative;
				
				              &::after {
				                content: "|";
				                position: absolute;
				                top: 0;
				                right: 0;
				              }
				
				              &:hover,
				              &:active {
				                color: @primary-color;
				              }
				
				              &:nth-last-child(1) {
				                &::after {
				                  content: "";
				                }
				              }
				            }
				          }
				        }
				      }
				    }
				  }
				  .list-template__pagination {
				    height: 56px;
				    display: flex;
				    align-items: center;
				    position: absolute;
				    right: 8px;
				  }
				}
				
        .addForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 14px;
              text-align: left;
            }
          }
        }

        .editForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 0;
              text-align: left;
            }
          }
        }
      }
    }
  }
}

.activeClass{
	background: #F0F6ED;
}

.monad{
	margin-top: 20px;
	.monad-list{
		border: 1px solid #e7e7e7;
		border-radius: 5px;
		margin-bottom: 40px;
		padding: 20px;
	}
	.monad-title{
		text-align: center;
		font-weight: 700;
		font-size: 16px;
	}
	.monad-sign{
		display: flex;
		line-height: 30px;
		div{
			margin-right: 15px;
		}
	}
}
