body {
  background-color: #f9f9f9;
}
.line {
  position: absolute;
  bottom: 10px;
  left: 7px;
}
.titleA {
  margin: 32px 0 16px 0;
  a {
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    line-height: 20px;
    &:nth-of-type(2) {
      color: black;
    }
  }
}
.card {
  background-color: #fff;
  border-radius: 4px 4px 4px 4px;
}
.topCard {
  padding: 32px 32px 0 32px;
  box-sizing: border-box;
  /* 搜索框 */
  #searchform {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    position: relative;
    input {
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      font-size: 16px;
      padding-left: 75px;
    }
    .btn {
      width: 128px;
      height: 54px;
      background: #0256ff;
      border-radius: 0px 2px 2px 0px;
      border: 1px solid #0256ff;
      font-weight: 500;
      font-size: 16px;
      color: #ffffff;
      line-height: 22px;
      padding: 0;
      cursor: pointer;
    }
    .searchIcon {
      position: absolute;
      width: 20px;
      height: 20px;
      left: 16px;
      top: 18px;
      padding-right: 16px;
      border-right: 1px solid #dcdcdc;
    }
  }

  /* 热门搜索 */
  .hotBox {
    ul {
      display: flex;
      margin-top: 16px;
      li {
        display: flex;
        align-items: center;
        margin-right: 8px;
        &:nth-of-type(1) {
          margin-right: 16px;
          span {
            color: #666666;
          }
        }
        img {
          width: 18px;
          height: 18px;
        }
        a {
          background-color: #f7f7f7;
          border-radius: 2px 2px 2px 2px;
          padding: 4px 12px;
          color: #666666;
        }
      }
    }
  }
  .ipType,
  .addRes {
    margin-top: 32px;
    ul {
      display: flex;
      flex-wrap: wrap;
      li {
        margin-right: 32px;
        p {
          font-weight: 400;
          font-size: 16px;
          color: #666666;
          line-height: 22px;
          padding: 4px 12px;
        }
        .itemTyp,
        .itemAdd {
          display: inline-block;
          padding: 4px 12px;
          color: #666666;
        }
      }
    }
  }
  .addRes {
    display: flex;
    p {
      padding: 4px 13px;
      width: 62px;
      font-weight: 400;
      font-size: 16px;
      color: #666666;
      line-height: 22px;
      margin-left: 15px;
    }
    ul {
      flex: 1;
      li {
        margin-bottom: 24px;
      }
    }
  }
}
.mainCard {
  margin-top: 16px;
  padding: 32px 32px 0 32px;
  box-sizing: border-box;
  overflow: hidden;
  table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
  }
  thead {
    background-color: #f7f8fa;
    th {
      padding: 13px 16px;
      font-weight: 500;
      font-size: 16px;
      color: #1d2129;
      line-height: 22px;
      &:last-child {
        text-align: center;
      }
    }
  }
  tbody {
    tr {
      &:nth-child(2n) {
        background-color: #f7f8fa;
      }
      td {
        font-weight: 500;
        font-size: 14px;
        color: #1d2129;
        line-height: 22px;
        padding: 12px 16px;
        box-sizing: border-box;
        .firstTd {
          display: flex;
          align-items: center;

          img {
            width: 56px;
            height: 56px;
            margin-right: 12px;
            border-radius: 50%;
          }
        }
        &:last-child {
          text-align: center;
          a {
            color: #0256ff;
          }
        }
      }
    }
  }
  .noMore {
    margin: 32px 0 32px 0;
    display: flex;
    justify-content: center;
    p {
      font-weight: 400;
      font-size: 14px;
      color: #999999;
      line-height: 20px;
    }
  }
  .changePage {
    padding: 20px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    .pitBox {
      display: flex;
      align-items: center;
      margin-left: 30px;
      input {
        width: 30px;
        font-size: 14px;
        padding: 2px 5px;
        /* box-sizing: border-box; */
      }
      p {
        &:nth-of-type(1) {
          margin-right: 10px;
        }
        &:nth-of-type(2) {
          margin-left: 10px;
        }
      }
      #goButton {
        background-color: #fff;
        border: none;
        cursor: pointer;
        padding: 3px 12px;
        margin-left: 10px;
        border: 1px solid #dcdcdc;
        &:hover {
          color: #0256ff;
        }
      }
    }
    .itemPage {
      display: flex;
      align-items: center;
      img {
        width: 16px;
        height: 16px;
      }

      a {
        padding: 5px 12px;
        border: 1px solid #dcdcdc;
        margin: 0 4px;
        border-radius: 2px 2px 2px 2px;
        &:first-child,
        &:last-child {
          border: none;
          margin: 0;
          padding: 0;
        }
        &:first-child {
          margin-right: 16px;
          margin-left: 24px;
        }
        &:last-child {
          margin-left: 16px;
          margin-right: 8px;
        }
      }
      .actNum {
        background-color: #0256ff;
        color: white;
        border: 1px solid #0256ff;
      }
    }
  }
}
.bottomBg {
  width: 100%;
  height: 251px;
  background: url("../img/ipBg.png") no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  img {
    width: 366px;
    height: 40px;
    margin-top: 51px;
  }
  p {
    margin: 22px 0 32px 0;
  }
  .cooperatorBtn {
    width: 136px;
    height: 41px;
    background: linear-gradient(90deg, #3897ff 0%, #0256ff 100%);
    border-radius: 4px 4px 4px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    span {
      font-weight: 600;
      font-size: 18px;
      color: #ffffff;
      line-height: 25px;
    }
  }
}
/* 表单 */
.overlay-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  position: relative;
  h2 {
    margin: 20px 0 32px 0;
  }
  .errorIcon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
  }
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#myForm {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  .form-group {
    position: relative;
    margin-right: 40px;
    .error {
      position: absolute;
      top: 40px;
      left: 105px;
      font-size: 12px;
      color: red;
    }
    #ipNameError {
      position: absolute;
      top: 40px;
      left: 95px;
    }
  }
  .itemGroup {
    display: flex;
    align-items: center;
    margin-bottom: 24px;

    p {
      font-weight: 400;
      font-size: 14px;
      color: #666666;
      line-height: 22px;
      margin-right: 16px;
      span {
        color: red;
        margin-right: 5px;
      }
    }
    input {
      height: 36px;
      width: 400px;
      border: 1px solid #dcdcdc;
      background-color: #fff;
      font-size: 14px;
      padding-left: 15px;
    }
    input:focus {
      outline: none;
    }
    &:nth-of-type(1) {
      p {
        padding-left: 16px;
      }
    }
  }
  .subMitBox {
    width: 100%;
    /* margin: 0 16px; */
    padding: 25px 0 12px 0;
    border-top: 1px solid #dcdcdc;
    display: flex;
    justify-content: center;
    .subBtn {
      width: 120px;
      height: 38px;
      background: #0256ff;
      border-radius: 2px 2px 2px 2px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      span {
        font-weight: 500;
        font-size: 14px;
        color: #ffffff;
        line-height: 22px;
      }
    }
  }
}
/* 表单 */
.activ {
  background-color: #0256ff;
  color: white !important;
  border-radius: 2px 2px 2px 2px;
}
