@import 'variable';

.screen() {
  .media(@screen-width-small, @container-width-small);
  .media(@screen-width, @container-width);
  .media(@screen-width-large, @container-width-large);
}

.media(@sw, @cw) {
  @media screen and (min-width: @sw) {
    .rules(@cw);
  }
}
.rules(@container-width) {
  .banner {
    .banner-box {
      width: @container-width;
    }
  }
  .product-info {
    width:@container-width;
    table {
      width: @container-width/4*3;
    }
  }
}
body {
  .screen();
}
/*.banner begin*/
.banner {
  background: url("/images/index/banner.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 120px;
  padding-bottom: 160px;
  .banner-box {
    margin: 0 auto;
    color: #fff;
    h1 {
      margin-top: 0;
      margin-bottom: 35px;
      text-align: center;
      font-weight: normal;
      font-size: 64px;
    }
    p {
      font-size: 20px;
      line-height: 35px;
    }
  }
}
/*.banner end*/

/*.product-info start*/
.product-info {
  margin: 0 auto 300px;
  .product-info-title {
    margin: 26px 0;
    height: 40px;
    line-height: 40px;
    position: relative;
    font-size: 28px;
    color: #2d2f33;
    padding-left: 20px;
    b {
      position: absolute;
      left: 0;
      top: 0;
      display: inline-block;
      width: 9px;
      height: 40px;
      background: #2d2f33;
    }
  }
  .product-intro {
    position: relative;
    table {
      text-align: center;
      color: #3f3f3f;
      border-spacing: 0;
      thead {
        td {
          width: 33.33%;
          font-size: 22px;
          line-height: 56px;
        }
      }
      tbody {
        td {
          font-size: 18px;
          line-height: 67px;
          border-right: 1px solid #eaeaea;
          a {
            font-weight: bold;
            color: #fff;
            padding: 19px 13px;
            margin-top: 43px;
            background: #ff4a4a;
            border-radius: 10px;
          }
        }
        .profit {
          color: #ff4a4a;
          span {
            font-size: 36px;
          }
        }
        .noborder {
          border-right: none;
        }
      }
      tfoot {
        td {
          line-height: 106px;
          text-align: left;
          padding-left: 100px;
          font-size: 18px;
          p {
            display: inline-block;
            width: 365px;
            height: 13px;
            border: 1px solid #ff4a4a;
            margin-left: 42px;
            position: relative;
            i {
              position: absolute;
              left: 0;
              top: 0;
              display: inline-block;
              opacity: 0;
              height: 13px;
              background: #ff4a4a;
            }
          }
        }
      }
    }
    > div {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      border: 10px solid #ececec;
      position: absolute;
      right: 0px;
      top: 95px;
      p {
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 180px;
        font-size: 40px;
        color: #000;
      }
      > div {
        position: absolute;
        top: -10px;
        left: -10px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 10px solid #ff4a4a;
        border-bottom-color: transparent;
        border-top-color: transparent;
        border-left-color: transparent;
        animation: huxian 1s infinite linear;
      }
    }
  }
  @-webkit-keyframes huxian {
    0% {
      transform: rotate(0deg)
    }
    100% {
      transform: rotate(360deg)
    }
  }
  .product-intro {
    width: 100%;
    height: 408px;
    border-bottom: 1px solid #aaa;
  }
  .product-appointment {
    width: 100%;
    height: 242px;
    border-bottom: 1px solid #aaa;
    p:nth-child(2) {
      font-size: 18px;
      color: #2d2f33;
      margin: 34px 0 24px;
      padding-left: 20px;
    }
    form {
      padding-left: 20px;
      input {
        outline: none;
        font-size: 14px;
        color: #939393;
        height: 48px;
        width: 246px;
        border: 1px solid #939393;
        padding-left: 14px;
        border-radius: 10px;
        margin-right: 45px;
      }
      #submit {
        border: none;
        line-height: 48px;
        width: 86px;
        text-align: center;
        color: #fff;
        background: #ff4a4a;
        font-size: 18px;
        padding: 0;
      }
      #submit:hover {
        background: #ec3737;
      }
    }
    #errorName {
      width: 246px;
      height: 40px;
      line-height: 40px;
      color: #ff4a4a;
      padding-left: 14px;
      font-size: 17px;
      margin-left: 20px;
    }
    #errorTel {
      width: 246px;
      height: 40px;
      line-height: 40px;
      color: #ff4a4a;
      padding-left: 14px;
      font-size: 17px;
      margin-left: 45px;
    }
  }
  .product-detail {
    width: 100%;
    height: 1759px;
    table {
      font-size: 14px;
      color: #000;
      border-spacing: 0;
      line-height: 24px;
      .product-detail-key {
        width: 140px;
      }
      .product-detail-value {
        width: 939px;
      }
      td {
        padding: 26px 60px;
        vertical-align: top;
      }
      .bb {
        border-bottom: 1px solid #939393;
      }
      .br {
        border-right: 1px solid #939393;
      }
    }
  }
}

/*.product-info end*/