@import "../../../../src/theme.less";

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

.pathology-box {
  position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 99;
	.pathology-content{
		width: 80%;
		background: #fff;
		border-radius: 5px;
		padding: 10px 20px;
		color: #000;
		.title {
		  width: 100%;
		  text-align: center;
		  font-size: 18px;
		  position: relative;
		
		  i {
		    position: absolute;
		    right: 0;
		    top: 0;
		    font-size: 20px;
		    color: #666;
		    cursor: pointer;
		    padding: 0 5px;
		  }
		}
		.content{
			width: 100%;
			background: #f9fafb;
			border: 1px solid #e5e9ed;
			border-radius: 5px;
			margin-top: 12px;
			display: flex;
			// .addForm{
				// display: flex;
				.font-weight-500{
					color: #000;
					font-weight: 500;
				}
				.ant-select{
					width: 100%;
				}
				.content-item{
					width: 78%;
					height: 460px;
					overflow-y: auto;
					padding: 15px;
					.form-title-box{
						display: flex;
						flex-wrap: wrap;
						margin-bottom: 10px;
						.form-title{
							color: #333;
							margin-right: 40px;
						}
						.width-150{
							width: 150px;
						}
						.width-200{
							width: 200px;
						}
					}
					.center{
						text-align: center;
						padding: 10px 0;
					}
					.disp-fl{
						display: flex;
						align-items: center;
						.width-120{
							width: 85px;
						}
						.ant-input{
							width: 300px;
						}
					}
					.form-list{
						margin-bottom: 10px;
						.cursor{
							text-decoration: underline;
							cursor: pointer;
						}
						.indent{
							text-indent: 2ch;
							color: #333;
						}
					}
					.ant-form-item {
						margin-bottom: 14px;
						display: flex;
						flex-wrap: wrap;
						.ant-form-item-label {
							text-align: left;
							font-weight: 500;
						}
						.ant-form-item-control-wrapper{
							.ant-form-item-control{
								width: 400px;
							}
						}
					}
					.add-icon-class{
						border: 1px solid #e5e9ed;
						border-radius: 3px;
						width: 26px;
						height: 26px;
						line-height: 26px;
						text-align: center;
						position: relative;
						top: 7px;
						cursor: pointer;
						.form-icon{
							
						}
					}
				}
			

				.content-item-right{
					height: 460px;
					overflow-y: auto;
					padding: 15px;
					.step-title{
						font-size: 16px;
						font-weight: 500;
						margin-bottom: 10px;
					}
				}
				
				
				.boder-right{
					border-right: 1px solid #e5e9ed;
				}
				.specimen-item{
					display: flex;
					margin-bottom: 10px;
					.specimen-icon{
						color: #64BD7B;
						cursor: pointer;
						font-size: 20px;
						position: relative;
						top: -4px;
						left: 2px;
					}
				}
			// }
		}
		.bottom-btn{
			margin-top: 10px;
			.btn-right{
				margin-right: 10px;
			}
		}
	}
	
}

.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
	.modalBody-ga{
		width: 80% !important;
		.list-template__searchBox{
			margin-top: 10px;
		}
		.ant-select{
			width: 20%;
		}
	}
  .modalBody {
    width: 350px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;

      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: 420px;
      height: auto;

      .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;
            }
          }
        }
      }

      button {
        &:nth-child(1) {
          margin-right: 20px;
        }
      }
    }
  }
}