.process_tabs {
  width: 100%;
  margin-bottom: 1px;
  background-color: #fff;
  display: flex;

  .checkbox {
    margin: 0 10px;
    font-size: 22px;
    align-items: center;
    width: 22px;

    .ant-checkbox,
    .ant-checkbox-checked {
      border-radius: 50%;
      overflow: hidden;

      .ant-checkbox-input {
        display: none;
      }

      .ant-checkbox-inner {
        border-radius: 50%;
        width: 22px;
        height: 22px;
      }
    }

    .ant-checkbox-checked {
      .ant-checkbox-inner {
        &::after {
          transform: rotate(45deg) scale(1) translate(-50%, -60%);
          width: 6.714286px;
          height: 12.142857px;
        }
      }
    }

    .ant-checkbox-indeterminate {
      .ant-checkbox-inner {
        &::after {
          transform: translate(-50%, -50%) scale(1);
          border-radius: 50%;
        }
      }
    }
  }

  .process_content {
    flex: 1;
    overflow: hidden;
    height: 125px;
    display: flex;
    flex-direction: column;
    cursor: pointer;

    .process_content_introduce {
      padding: 10px 10px 5px;
      display: flex;
      justify-content: space-between;

      .process_content_title {
        flex: 1;

        .process_content_name {
          max-width: 170px;
          display: inline-block;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          margin-right: 3px;
          font-size: 15px;
        }

        .process_content_icon {
          font-size: 28px;
          padding: 0;
          display: inline-block;
          height: 28px;
          overflow: hidden;
          vertical-align: top;

          // position: relative;
          // top: 3px;
          // border-radius: 3px;
          svg {
            top: -7px;
          }
        }
      }

      .taskEndTime {
        word-wrap: normal;
        font-size: 12px;
        line-height: 29px;
        color: #aaa;
      }
    }

    .process_content_report_forms {
      padding-left: 10px;
      font-size: 13px;
      position: relative;
      flex: 1;

      .process_content_report_forms_icon {
        position: absolute;
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 0px;
        font-size: 70px;

        .process_content_icon {
          svg {
            top: -4px;
          }
        }

        .process_content_refuse {
          svg {
            path {
              fill: rgba(231, 42, 59, 0.85);
            }
          }
        }

        .process_content_pass {
          svg {
            path {
              fill: rgba(19, 180, 120, 0.85);
            }
          }
        }
      }

      >.text {
        padding-bottom: 6px;
        display: flex;

        >.text_title {
          white-space: nowrap;
        }

        >.textvalue {

          display: inline-block;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          padding-right: 10px;
          width: calc(100% - 55px);
        }

      }
    }

    .process_content_operation {
      padding: 5px 10px 10px;

      &::after {
        content: "";
        display: block;
        overflow: hidden;
        clear: both;
      }

      .process_content_button {
        float: right;
      }
    }
  }
}

.process_pc {
  max-width: 500px;
  margin: 0 auto 5px;
  border: 1px solid #eee;

  .process_content {
    .process_content_introduce {
      padding: 5px 10px;

      .process_content_title {
        display: flex;
        align-items: center;

        .process_content_icon {
          font-size: 12px;
          height: 18px;
          padding: 0px 4px;
          border-radius: 3px;
          color: #fff;
        }

        .process_content_pass {
          background-color: #13B478;
        }

        .process_content_revert {
          background-color: #FDA71E;
        }

        .process_content_doing {
          background-color: #287EF0;
        }

        .process_content_refuse {
          background-color: #FF3A3A;
        }

        .process_content_return {
          background-color: #FDA71E;
        }
      }
    }

    .process_content_report_forms {
      padding-left: 10px;
      font-size: 13px;
      position: relative;
      flex: 1;

      >.text {
        padding-bottom: 6px;
        display: flex;

        >.text_title {
          white-space: nowrap;
        }

        >.textvalue {

          display: inline-block;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          padding-right: 10px;
          width: calc(100% - 55px);
        }

      }
    }
  }
}

.process_drawer {

  >.ant-drawer-content-wrapper {
    >.ant-drawer-content {
      >.ant-drawer-wrapper-body {
        >.ant-drawer-header {
          height: 38px;
          line-height: 38px;
          min-height: 38px;
          padding: 0px;

          .ant-drawer-header-title {
            height: 100%;

            .ant-drawer-close {
              width: 36px;
              margin-right: 0px;
              height: 100%;

              .left-text {
                font-size: 12px;
                display: flex;
                justify-content: center;
                align-items: center;


                svg {
                  top: 0;
                }
              }
            }

            .ant-drawer-title {
              color: #000;
              text-align: center;
            }
          }

          .ant-drawer-extra {
            line-height: 10px;
            height: 22px;
            padding: 0 6px;
            font-weight: 600;

            .right-text {
              display: inline-block;
              width: 24px;
              font-size: 24px;
            }
          }
        }

        >.ant-drawer-body {
          padding: 0;
          background-color: #f7f7f7;

          &::-webkit-scrollbar {
            /*滚动条整体样式*/
            width: 0;
            height: 0;
          }
        }
      }
    }
  }

  .handling_opinions {
    .countersigner_form {
      margin-bottom: 10px;

      .ant-form-item-control-input {
        background-color: #f7f7f7;
      }
    }

    .flowButtonList {
      display: flex;
      justify-content: center;

      .ant-dropdown-trigger {
        background-color: #f7f7f7;
      }

      .flowButtonList_batton {
        max-width: 200px;
        border-radius: 4px;
        margin: 0 3px;
        background-color: #f7f7f7;
        color: #000;

      }

      .flow_agree {
        color: #287ef0;
      }

      .flow_refuse {
        color: #e72a3b;
      }

      .flow_revert {
        color: #fda71e;

        svg>g>path {
          fill: #fda71e;
        }
      }
    }

    .download-derail {
      display: flex;
      justify-content: space-around;
      align-items: center;
      cursor: pointer;

      .download {
        font-size: 22px;
      }
    }

    .textfile {
      margin-bottom: 10px;
      max-height: 100px;
      height: 0;
      overflow: auto;

      .textfile_xls {
        display: flex;
        justify-content: space-between;

        .textfile_text {
          font-size: 13px;

          .textfile_icon {
            font-size: 20px;
            margin-right: 10px;
          }
        }

        .download-file {
          font-size: 20px;
        }
      }
    }

    .textfileOpens {
      height: 100px;
    }

    .flowdrag {
      width: 100%;
      height: 10px;
      cursor: s-resize;
    }
  }

  >.ant-modal-content {
    border-radius: 8px;
    overflow: hidden;

    .ant-modal-close {
      .ant-modal-close-x {
        width: 33px;
        height: 24px;
        line-height: 24px;
        font-size: 14px;

        &:hover {
          background-color: #e3636e;
        }
      }
    }

    .ant-modal-header {
      border-bottom-color: transparent;
      height: 16px;
      padding: 0;
      cursor: move;

      .ant-modal-title,
      #process_drawer_title {
        height: 100%;
      }
    }

    >.ant-modal-body {
      min-height: 300px;
      max-height: calc(100vh - 250px);
      overflow: auto;
      padding: 0px 75px 0px;

      @media screen and (min-width:1280px) and (max-width:1440px) {
        max-height: 340px !important;
      }

      @media screen and (min-width:1441px) and (max-width:1680px) {
        max-height: 450px !important;
      }
    }

    .ant-modal-footer {
      padding: 10px 75px 0px;
    }
  }
}

.pc_title {
  .ant-drawer-content-wrapper {
    .ant-drawer-content {
      .ant-drawer-wrapper-body {
        .ant-drawer-header {
          height: auto;
          min-height: auto;
          align-items: unset;
          padding-top: 12px;

          .ant-drawer-header-title {
            overflow: hidden;

            .ant-drawer-close {
              width: 0
            }

            .ant-drawer-title {
              text-align: left;
              overflow: hidden;

              .detailed_title {
                display: flex;
                background-color: #fff;
                justify-content: space-between;
                align-items: center;
                overflow: hidden;

                .detailed_title_left {
                  display: flex;
                  line-height: 42px;
                  max-width: calc(100% - 48px);

                  .detailed_title_img_text {
                    display: flex;
                    flex: 1;
                    max-width: calc(100% - 42px);

                    .detailed_title_img {
                      display: inline-block;
                      width: 32px;
                      font-size: 32px;
                      margin-right: 10px;
                      height: 32px;
                    }

                    .detailed_title_text {
                      overflow: hidden;
                      white-space: nowrap;
                      text-overflow: ellipsis;
                      font-weight: 600;
                      font-size: 16px;
                      flex: 1;
                      margin-right: 10px;
                      height: 42px;
                    }
                  }

                  .process_content_icon {
                    height: 32px;
                    font-size: 32px;

                    svg.process {
                      top: 0;
                    }
                  }


                }

                .detailed_title_right {
                  width: 48px;
                  font-size: 13px;
                  line-height: 22px;
                  text-align: center;

                  .right-icon {
                    display: inline-block;
                    width: 21.12px;
                    height: 21.12px;
                    border-radius: 50%;
                    background-color: #cde1fd;
                  }
                }
              }

              .detailed_Mobile {
                .detailed_title_left {
                  align-items: center;

                  .process_content_icon {
                    font-size: 12px;
                    height: 18px;
                    padding: 0px 4px;
                    border-radius: 3px;
                    color: #fff;
                    line-height: 18px;
                  }

                  .process_content_pass {
                    background-color: #13B478;
                  }

                  .process_content_revert {
                    background-color: #FDA71E;
                  }

                  .process_content_doing {
                    background-color: #287EF0;
                  }

                  .process_content_refuse {
                    background-color: #FF3A3A;
                  }

                  .process_content_return {
                    background-color: #FDA71E;
                  }
                }
              }

              .characteristic {
                padding: 10px 12px 10px 0px;
                color: rgba(#000000, 0.25);
                font-size: 12px;
                line-height: 17px;
              }
            }

          }

          .ant-drawer-extra {
            height: 42px;
            line-height: 42px;
          }
        }
      }
    }
  }
}

.process_modal {
  >.ant-modal-content {
    border-radius: 5px;
    overflow: hidden;

    .ant-modal-close {
      .ant-modal-close-x {
        width: 48px;
        height: 48px;
        line-height: 48px;
      }
    }

    .ant-modal-header {
      border-bottom: transparent;
      padding: 13px 24px;
    }

    .ant-modal-body {
      padding: 10px 18px 0px
    }

    .ant-modal-footer {
      .ant-btn {
        border-radius: 5px;
      }
    }

  }
}


.flow_refuse {
  >.ant-modal-content {
    .ant-modal-footer {
      .ant-btn-primary {
        background: #F5222D;
        border-color: #F5222D;
      }
    }
  }
}



.flow_return {
  >.ant-modal-content {
    .ant-modal-footer {
      .ant-btn-primary {
        background: #FDA71E;
        border-color: #FDA71E;
      }
    }
  }
}

.ant-modal.process_drawer {
  position: fixed;
  left: calc(50% - 340px);
  width: 680px;
  transition: none;

  @media screen and (min-width:1280px) and (max-width:1440px) {}

  @media screen and (min-width:1441px) and (max-width:1680px) {}
}
