.convertor-fire-resource {
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  overflow: auto;

  .amos-tabs-list {
    height: 35px;
    padding: 0 !important;

    .amos-tabs-tabitem-inner {
      height: 35px;
      margin-left: 0 !important;
    }

    .amos-tabs-tabitem-active {
      .amos-tabs-tabitem-inner {
        height: 35px;
        margin-left: 0 !important;
        color: #108ee9 !important;
        border-bottom: 1px solid #108ee9 !important;
      }
    }
  }

  .amos-tabs-panel {
    padding-top: 0;
  }

  .ant-table-title {
    display: none;
  }

  .ant-table-selection-column {
    width: 42px !important;
    min-width: 42px !important;
  }

  button {
    height: 2.5rem;
    margin-left: -0.9px !important;
    border: 1px solid $core-border-color;
    opacity: 1;
  }

  .ant-tabs-bar {
    padding-top: 10px;
    margin-bottom: -1px;

    .ant-tabs-tab {
      margin-right: -1px !important;
      background: white !important;
      border-radius: 0 !important;
    }

    .ant-tabs-tab-active {
      margin-right: -1px !important;
      background: #f4f4f4 !important;
      border-radius: 0 !important;
    }
  }

  .ant-table-tbody {
    .highlight-row {
      background: #e6f7ff;

      &:hover {
        background: #e6f7ff;
      }
    }

    .normal-row {
      background: white;
    }
  }
}


.fire-resource-truck-detail-info {
  overflow: auto;
  height: 100%;

  .fire-resource-truck-detail-button {
    height: 40px;
    padding-top: 5px;
    padding-left: 15px;
    background: $biz-title-color;

    button {
      height: 2.5rem;
      margin-left: -0.9px !important;
      background: white;
      border: 1px solid #ddddde;
      opacity: 1;
    }

    .fire-resource-commit-button {
      display: inline-block;
      float: right;
      margin-right: 1rem;

      i {
        color: #345FA6;
      }
    }
  }


  .fire-resource-truck-detail-info-content {
    display: flex;
    padding: 15px;

    .ant-row {
      display: -webkit-box;
      line-height: 30px;
    }

    .fire-truck-performance1 {
      flex: 1;
      padding-right: 15px;
    }

    .fire-truck-performance-title {
      height: 40px;
      padding-left: 20px;
      font-size: 15px;
      line-height: 40px;
      color: $biz-table-font-color;
      text-align: left;
      background-color: $biz-title-color; //rgba(40, 40, 40, 1);
    }

    .fire-truck-performance2 {
      flex: 1;

      .grid-content {
        padding-bottom: 15px;
      }
    }

    .fire-truck-performance3 {
      flex: 1;
      padding-left: 20px;

      .grid-content {
        padding-bottom: 15px;
      }
    }
  }
}

.fire-resource-truck {
  .fire-truck-toolbar {
    position: fixed;
    top: 47px;
    right: 0;
    display: inline-block;

    .fire-truck-input {
      display: inline-block;
      margin-right: 10px;
    }

    .fire-truck-buttons {
      display: inline-block;
      margin-right: 10px;
    }
  }
}

.fire-resource-equipment {
  .fire-truck-toolbar {
    position: fixed;
    top: 47px;
    right: 0;
    display: inline-block;

    .fire-truck-input {
      display: inline-block;
      margin-right: 10px;

      .amos-select-dropdown {
        margin-right: 10px;
      }
    }

    .fire-truck-buttons {
      display: inline-block;
      margin-right: 10px;
    }
  }

  td {
    button {
      width: 100%;
      padding-left: 0 !important;
      border: 0;
    }
  }
}

.fire-station-matches {
  padding-right: 10px;
  padding-left: 10px;
  overflow: auto;

  .ant-table-title {
    display: none;
  }

  .match-equipment-toolbar {
    display: inherit;
    height: 40px;
    // padding-right: 10px;
    line-height: 40px;

    .match-equipment-toolbar-goback {
      float: left;
    }

    .match-equipment-toolbar-title {
      float: left;
      padding-left: 20px;
    }

    .match-equipment-toolbar-oper {
      text-align: right;

      .amosicon {
        padding-left: 10px;
      }
    }
  }

  .match-equipment-content {
    display: flex;

    .match-equipment-table {
      width: 100%;
      // padding-right: 15px;

      .ant-table-selection-column {
        width: 42px;
        min-width: 42px;
      }
    }

    .match-equipment-photo {
      display: table;
      width: 50%;

      img {
        padding: 10px;
      }

      .match-equipment-photo-row1 {
        display: table-row;
        height: 300px;

        .match-equipment-photo1 {
          display: table-cell;
          width: 50%;
          padding-right: 7.5px;
          text-align: center;
        }

        .match-equipment-photo2 {
          display: table-cell;
          padding-left: 7.5px;
          text-align: center;
        }
      }

      .match-equipment-photo-row2 {
        display: table-row;
        height: 300px;

        .match-equipment-photo3 {
          display: table-cell;
          width: 50%;
          padding-right: 7.5px;
          text-align: center;
        }

        .match-equipment-photo4 {
          display: table-cell;
          padding-left: 7.5px;
          text-align: center;
        }
      }
    }

    .match-equipment-item-title {
      padding-left: 20px;
      font-size: 15px;
      line-height: 30px;
      color: $biz-table-font-color;
      text-align: left;
      background-color: $biz-title-color;//rgba(40, 40, 40, 1);
    }
  }

  .ant-table-selection-column {
    width: 42px;
    min-width: 42px;
  }

  button {
    height: 2.5rem;
    margin-left: -0.9px !important;
    border: 1px solid $core-border-color;
    opacity: 1;
  }

  .qq-client-body {
    top: 42px;

    .qq-client-content {
      height: 100%;

      .search-view {
        .search-view-buttons {
          button:nth-child(2) {
            margin-left: 0.8rem !important;
            color: black;
            background: transparent;
          }
        }
      }
    }
  }
}

.fire-equip-select {
  width: 20rem;
}

.fire-truck-image {
  width: 100%;
}

.risk_factor_input {
  width: 20rem;

  input {
    width: 20rem;
  }
}

.amos-textarea {
  line-height: 20px;
}

.important-equipment-edit {
  float: left;
  width: 100%;
  padding-top: 30px;

  .risk_factor_input {
    width: 20rem;
  }

  input {
    width: 20rem;
  }

  .amos-select-dropdown {
    width: 20rem;
  }
}

.fire-resource-station {
  .amos-modal-content {
    max-height: 40rem;
  }
}

.preview-photo-modal {
  .amos-modal-header {
    height: 4rem;
  }

  .amos-modal-content {
    max-height: unset;
  }
}
