@import 'variable';

/* .hot-project-banner start */

.hot-project-banner {
  height: 470px;
  background: url('../images/hot_project/hot_project_banner.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  color: #fff;
  h4 {
    font-size: 54px;
    font-weight: bold;
    margin-top: 120px;
    margin-bottom: 40px;
  }
  p {
    margin: 0 auto;
    font-size: 24px;
    line-height: 36px;
    text-align: left;
  }
}

/* .hot-project-banner end */

/* .hot-project-introducer start*/

.hot-project-introducer {
  padding: 0 0 60px 0;
  margin: 0 auto;
  .subtabs {
    height: 180px;
    li {
      float: left;
      width: 25%;
      font-size: 18px;
      color: #000;
      line-height: 180px;
      text-align: center;
      font-weight: bold;
      &:before {
        content: '';
        display: inline-block;
        position: relative;
        top: -3px;
        width: 8px;
        height: 8px;
        margin-right: 40px;
        border-radius: 50%;
        background: #bb342e;
      }
      b {
        display: inline-block;
        position: relative;
        top: 20px;
        width: 50px;
        height: 46px;
        margin-right: 6px;
        background: url("https://res.fudou6.com/c/4/20160801/4u3OC5waWNfaGQ=_431x90.jpg") no-repeat -31px -21px;
      }
    }
    li.subtabs-second b {
      background-position: -150px -21px;
    }
    li.subtabs-thrid b {
      background-position: -265px -22px;
    }
    li.subtabs-fourth b {
      background-position: -363px -21px;
    }
  }

   hr.line-separate {
    width: 100%;
    &:after {
      background: #01a9dd;
    }
  }

  .introducer {
    position: relative;
    width: 700px;
    margin: 0 auto;
    h2 {
      margin: 50px 0;
      font-size: 36px;
      font-weight: bold;
      text-align: center;
    }
    div {
      margin: 15px 0;
      position: relative;
    }
    label {
      float: left;
      font-size: 24px;
    }
    input[type="text"],
    textarea {
      float: left;
      width: 500px;
      font-size: 18px;
      border: 1px solid #939393;
      border-radius: 10px;
      color: #7f7f7f;
      outline: none;

    }
    input[type="text"] {
      height: 40px;
      padding: 0 20px;
      line-height: 40px;
    }
    textarea {
      min-height: 100px;
      padding: 12px 20px;
      margin-bottom: 40px;
    }
    input[type="submit"] {
      display: block;
      width: 333px;
      height: 60px;
      margin: auto;
      line-height: 60px;
      border: none;
      font-size: 24px;
      color: #fff;
      background: #ff4a4b;
      border-radius: 10px;
      text-align: center;
      cursor: pointer;
    }
    p {
      position: absolute;
      left: 680px;
      top: 0;
      width: 200px;
      line-height: 40px;
      font-size: 18px;
      color: #ff4a4b;
    }
  }
}

/* .hot-project-introducer end*/

/* .hot-project-address start */

.hot-project-address {
  width: 100%;
  background: #1272ac;
  .hot-project-address-box {
    width: 800px;
    height: 100%;
    margin: 0 auto;
    padding-top: 118px;
    padding-bottom: 118px;
    position: relative;
    .title {
        position: absolute;
        color: #fff;
        top: 40px;
        left: -60px;
        h2 {
          font-size: 32px;
          font-weight: bold;
          line-height: 42px;
        }
        p {
          font-size: 18px;
          line-height: 53px;
        }
      }
    .address-list {
        width: 100%;
        position: relative;
        left: -80px;
        img {
          width: 100%;
        }
        a {
          width: 120px;
          height: 40px;
          text-align: center;
          line-height: 40px;
          font-size: 18px;
          font-weight: bold;
          border-radius: 16px;
          background: #fff;
          color: #000;
          position: absolute;
          right: -126px;
          z-index: 3;
          &:hover {
            background: #000;
            color: #fff;
          }
          &.address01 {
            top: 4%;
          }
          &.address02 {
            top: 24%;
          }
          &.address03 {
            top: 39%;
          }
          &.address04 {
            top: 57%;
          }
          &.address05 {
            top: 66%;
          }
          &.address06 {
            top: 75%;
          }
          &.address07 {
            top: 84%;
          }
          &.address08 {
            top: 93%;
          }
        }
      }

  }
}

/* .hot-project-address end */

/* .hot-project-tabs start */

.hot-project-tabs {
  background: #f6f6f6;
  padding: 180px 0 160px 0;
  ul {
    margin: 0 auto;
    border: 1px solid #43abb6;
    li {
      width: 25%;
      float: left;
      font-size: 16px;
      color: #000;
      text-align: center;
      background: #f6f6f6;
      transition-delay: .1s;
      transition: background .5s, color .5s;
       div {
        border-right: 1px solid #43abb6;
        height: 200px;
        padding-top: 160px;
        position: relative;
        &:before,
        &:after {
          content: '';
          position: absolute;
          top: 44px;
          left: 50%;
          margin-left: -58px;
          height: 115px;
          width: 115px;
          background: url(https://res.fudou6.com/c/4/20160801/by15pyq5qCH6aKYLTFfMDE=_480x240.png) 0 0 no-repeat;
          opacity: 0;
          filter:alpha(opacity=0);
          transform: scale(0);
          transition-delay: .1s;
          transition: .5s;
        }
        &:before {
          transform: scale(1);
          opacity: 1;
          filter:alpha(opacity=100);
        }

      }
      &.hot-project-tabs-four  div {
        border-right: 0;
      }
      h4 {
        font-size: 28px;
        color: #43abb6;
        margin: 10px 0 20px;
      }
      &.hot-project-tabs-one div {
        &:before {
          background-position: -360px -120px;
        }
        &:after {
          background-position: -360px 0;
        }
      }
      &.hot-project-tabs-two div {
        &:before {
          background-position: -240px -120px;
        }
        &:after {
          background-position: -240px 0px;
        }
      }
      &.hot-project-tabs-three div {
        &:before {
          background-position: -120px -120px;
        }
        &:after {
          background-position: -120px 0px;
        }

      }
      &.hot-project-tabs-four div {
        &:before {
          background-position: 0px -120px;
        }
        &:after {
          background-position: 0px 0px;
        }
      }
      &:hover {
        transition-delay: 0s;
        color: #fff;
        background: #43abb6;
        h4 {
          color: #fff;
        }
        div {
          &:before {
            opacity: 0;
            filter:alpha(opacity=0);
            transform: scale(0);
          }
          &:after {
            opacity: 1;
            filter:alpha(opacity=100);
            transform: scale(1);
          }
        }
      }
    }

  }
}

/* .hot-project-tabs end */

/* .modal-box start */
//body {
//  position: relative;
//}

.modal-box {
  display: none;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: fixed;
  .modal-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -225px;
    margin-left: -300px;
    width: 600px;
    height: 450px;
    background: #fff;
    padding-left: 70px;
    h4 {
      margin-top: 69px;
      font-size: 30px;
      color: #000;
    }
    h3 {
      font-size: 30px;
      font-weight: bold;
      color: #ff4a4a;
      margin: 20px 0;
    }
    h6 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 16px;
    }
    p {
      width: 300px;
      font-size: 14px;
      line-height: 24px;
    }
    img {
      width: 200px;
      position: absolute;
      right: 55px;
      top: 108px;
    }
    .modal-dialog-close {
      font-size: 42px;
      position: absolute;
      right: 27px;
      top: 9px;
      cursor: pointer;
    }
  }
}

/* .modal-box end */

/* .modal-box-success start */

.modal-box-success {
  display: none;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  position: fixed;
  .modal-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -200px;
    margin-left: -200px;
    width: 500px;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    div {
      &.modal-dialog-header {
        width: 100%;
        height: 80px;
        background: #ff4a4b;
        position: relative;
        h4 {
          line-height: 80px;
          font-size: 30px;
          color: #fff;
          padding-left: 50px;
        }
        a {
          display: inline-block;
          width: 46px;
          height: 46px;
          line-height: 46px;
          text-align: center;
          border-radius: 50%;
          border: 3px solid #fff;
          font-size: 42px;
          position: absolute;
          right: 27px;
          top: 15px;
          cursor: pointer;
          color: #fff;
        }
      }
      &.modal-dialog-content {
        position: relative;
        i {
          display: inline-block;
          width: 69px;
          height: 69px;
          background: url(https://res.fudou6.com/c/4/20160730/e86YXBwb2ludG1lbnQtc3VjY2VzcyA=_69x69.png) no-repeat;
          position: absolute;
          left: 90px;
          top: 8px;
        }
        h3 {
          font-size: 50px;
          font-weight: bold;
          color: #ff4a4a;
          margin: 43px 0;
          padding-left: 180px;
        }
      }
    }

    p {
      font-size: 24px;
      line-height: 28px;
      text-align: center;
    }

  }
}

/* .modal-box-success end */

.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(@cw) {
  .hot-project-introducer,
  .hot-project-tabs ul {
    width: @cw;
  }
  .hot-project-banner {
    p {
      width: @cw/2;
    }
  }
}

body {
  .screen();
}