@import "../../../../src/theme.less";
.icon_transport{
  color: @primary-color;
}
.blue{
  color: #57D8FF;
}
:host {
  width: 100vw;
  height: 100vh;
  background-color: #00253F;
  .save {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;

    .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: 145px;
        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: 480px;
        height: auto;

        .content {
          width: 100%;
          height: auto;
          padding: 19px 14px 0 14px;
          max-height: 500px;
          overflow-y: auto;

          .addForm {
            .ant-form-item {
              margin-bottom: 8px;

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

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

        button:nth-child(1) {
          margin-right: 20px;
        }
      }
    }
  }
  .realtimeBroadcast{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    .header{
      height: 48px;
      padding: 0 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #012F48;
      .title{
        display: flex;
        align-items: center;
        h1{
          margin: 0;
          font-size: 16px;
          font-weight: normal;
          color: #FFFFFF;
        }
        h2{
          margin: 0;
          font-size: 20px;
          font-weight: bold;
          color: #FFFFFF;
          margin-left: 50px;
        }
      }
      .userInfo {
        height: 100%;
        float: right;
        padding: 0 24px;
        box-sizing: border-box;
        font-size: 14px;

        // 下拉列表
        &.dropdown{
          position: relative;
          height: 48px;
          line-height: 48px;
          .dropdown-content {
            position: absolute;
            top: 48px;
            background-color: #fff;
            width: 156px;
            box-shadow: 0px 2px 4px 1px #D9D9D9;
            z-index: 999999;
            border-radius: 4px;
            border: 1px solid rgba(0,0,0,0.15);
            color: rgba(0,0,0,0.65);
            &.ct{
              left: 50%;
              transform: translateX(-50%);
            }
            &.r8{
              right: 8px;
            }
          }

          .dropdown-content .dropdownItem {
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            padding: 0 24px;
          }

          .dropdown-content .dropdownItem:hover {
            background-color: #e9f7e9;
          }
        }

        .wel {
          line-height: 15px;
          white-space: nowrap;
          overflow: hidden;//文本超出隐藏
          text-overflow: ellipsis;//文本超出省略号替代
        }

        .user {
          overflow: hidden;
          height: 48px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 16px;
          cursor: pointer;

          img {
            width: 32px;
            height: 32px;
            margin-right: 8px;
          }

          span, .transport-xiala1 {
            height: 48px;
            line-height: 48px;
          }
        }

        .logOut {
          text-align: right;
          color: @primary-color;
          line-height: 20px;

          span {
            cursor: pointer;
            padding: 10px;
          }
        }
      }
    }
  }

  // 调度台copy过来的
  /* 工单总数 */
  .lists_box {
    width: 100%;
    height: calc(100vh - 56px);
    display: flex;
    margin-bottom: 8px;
  }

  .lists {
    flex: 1;
    margin-right: 16px;
    overflow: hidden;
    position: relative;
  }

  .lists:nth-child(1) {
    margin-left: 16px;
  }

  /* 头部 */
  .lists .head {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    position: relative;
    z-index: 8;
    background-color: #164967;
    box-shadow: 0px 3px 6px 1px #092543;
    margin: 8px 0;
    padding: 0 8px;
    .title_bold{
      font-weight: bold;
    }
    .refreshSeconds{
      font-size: 14px;
    }
  }

  .lists .head .shuaxin {
    float: right;
    color: @primary-color;
    cursor: pointer;
  }

  .lists .head .shuaxin i {
    font-size: 12px;
  }

  .lists .head .shuaxin span {
    font-size: 12px;
  }

  /* 搜索 */
  .lists .searchBox {
    width: 100%;
    padding: 10px 2%;
    background: #f9fafb;
    position: relative;
    z-index: 8;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .search {
      height: 34px;
      width: 90%;
      background-color: white;
      border: 1px rgb(225, 229, 232) solid;
      border-radius: 20px;
      overflow: hidden;
    }
  }

  .lists input {
    padding-left: 3%;
    color: black;
    height: 32px;
    width: 80%;
    float: left;
    border: none;

    &:focus {
      outline: none;
    }
  }

  .lists input::-webkit-input-placeholder {
    color: #999999;
  }

  .lists .magnifier {
    width: 14%;
    height: 32px;
    line-height: 32px;
    float: left;
    border-left: 1px rgb(225, 229, 232) solid;
    cursor: pointer;
    text-align: right;
  }

  .lists .magnifier i {
    color: #999999;
  }

  .lists .magnifier span {
    color: @primary-color;
  }

  /* 单子内容盒子 */
  .lists .cots_body {
    width: 100%;
    height: calc(100% - 68px);
    background: #0f384e;
    border: 1px solid #7D7D7D;
    color: #fff;
  }

  /* loading */
  .cots_body .loading {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }

  /* 暂无数据 */
  .cots_body .no_data {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* 未分派 */
  .weifenpai .list {
    height: 145px;
    border-bottom: 1px solid #7D7D7D;
    position: relative;
    overflow: hidden;
    display: flex;
  }
  // 转出院记录
  .patientLog .list {
    height: auto !important;
    th,
    td {
      text-align: center !important;
    }
  }

  /* 左边 */
  .left_cots {
    width: 100%;
    float: left;
    padding: 0 8px;
    cursor: pointer;
    position: relative;
  }

  /* 急标 */
  .left_cots .ji {
    position: absolute;
    right: -3px;
    top: -3px;
    width: 30px;
  }

  /* 右边 */
  .right_bots {
    width: 20%;
    border-left: 1px #e1e5e8 solid;
    padding: 8px 0;
  }

  /* 上按钮 */
  .right_bots .top_bot {
    width: 70%;
    border-radius: 4px;
    color: white;
    background-color: @primary-color;
    border: 1px @primary-color solid;
    cursor: pointer;
    height: 27px;
    margin-bottom: 8px;
  }

  .slider {
    position: absolute;
    // top: 98px;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;

    &.sgreen {
      background: rgb(86, 186, 182);
    }

    &.syellow {
      background: rgb(245, 166, 35);
    }
    &.sred {
      background: #d81e06;
    }
  }

  /* 中按钮 */
  .right_bots .mid_bot {
    width: 70%;
    border-radius: 4px;
    color: white;
    background-color: @primary-color;
    border: 1px @primary-color solid;
    cursor: pointer;
    height: 27px;
  }

  /* 下按钮 */
  .right_bots .btm_bot {
    width: 70%;
    border-radius: 4px;
    color: #78797a;
    background-color: #FFF;
    border: 1px #e5e9ed solid;
    cursor: pointer;
    height: 27px;
  }

  /* 工单 */
  .weifenpai .left_cots .gongdan {
    height: 24px;
    margin: 4px 0;
    line-height: 24px;
    text-align: center;
  }

  .weifenpai .left_cots .gongdan .left {
    float: left;
    font-size: 14px;
  }
  .gongdan_name {
    max-width: 80% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .weifenpai .left_cots .gongdan .right {
    float: right;

    &.colorRed {
      color: red;
    }
  }

  .weifenpai .left_cots .gongdan .right span:nth-child(1) {
    float: right;
    font-size: 12px;

    &.colorRed {
      color: red;
    }
  }

  .weifenpai .left_cots .gongdan .right span:nth-child(2) {
    float: right;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: red;
    margin-top: 7px;
    margin-right: 8px;
  }

  /* 地点 */
  .weifenpai .didian {
    height: 24px;
    line-height: 24px;
    margin: 4px 0;
    display: flex;
  }

  .weifenpai .didian .left {
    float: left;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;//文本超出隐藏
    text-overflow: ellipsis;//文本超出省略号替代
    &.noEllipsis{
      white-space: normal;
      overflow: visible;
      text-overflow: inherit;
      word-break: break-all;
    }
  }

  .weifenpai .didian .right {
    float: right;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;//文本超出隐藏
    text-overflow: ellipsis;//文本超出省略号替代
    text-align: right;
  }

  .weifenpai .didian .right i {
    font-size: 12px;
    color: @primary-color;
  }

  .weifenpai .didian .right span {
    font-size: 12px;
  }

  /* 时间 */
  .weifenpai .shijian {
    height: 24px;
    line-height: 24px;
    margin: 4px 0;
  }

  .weifenpai .shijian .left {
    float: left;
  }

  .weifenpai .shijian .right {
    float: right;
    font-size: 12px;
  }

  .weifenpai .shijian .left i {
    color: @primary-color;
    font-size: 14px;

    &.colorRed {
      color: red;
    }
  }

  .weifenpai .shijian .left span {
    font-size: 12px;
  }
}
