@import 'variable';

/* .about-us-banner start */

.about-us-banner {
  background: url("../images/index/banner.jpg") no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  .banner-box {
    margin: 0 auto;
    color: #fff;
    padding-top:200px;
    padding-bottom: 146px;
    h4 {
      font-size: 82px;
      margin-top: 0;
      margin-bottom: 35px;
      text-align: center;
      font-weight: normal;
    }
    p {
      line-height: 48px;
      font-size: 24px;
      text-align: left;
    }
  }
}

/* .about-us-banner end */

/* .about-us-banner-bottom start */

.about-us-banner-bottom {
  height: 824px;
  background: url("../images/about_us/bg_2.jpg") no-repeat center center;
  background-size: cover;
  h4 {
    font-size: 52px;
    color: #fff;
    margin: 28px auto 4px;
    text-align: center;
  }
  hr {
    width: 73px;
    border: 3px solid transparent;
    border-top-color: #0074c3;
    margin: 0 auto;
  }
  p {
    margin: 550px auto 0;
    font-size: 22px;
    line-height: 42px;
  }
}

/* .about-us-banner-bottom end */

/* .company-introduction start */

.company-introduction {
  background: #f6f6f6;
  padding-bottom: 80px;
   .company-introduction-box {
    margin: 0 auto;
    padding-bottom:80px;
  }

  h2 {
    margin: 40px auto;
    height: 50px;
    line-height: 50px;
    font-size: 36px;
    padding-left: 20px;
    border-left: 3px solid #0074c3;
  }
  .gudong-list {
    margin: 0 auto;
    li {
      float: left;
      width: 33.33%;
      text-align: center;
      height: 243px;
      overflow: hidden;
       div {
        padding: 0 50px 60px;
        border-right: 1px solid #c3c3c3;
      }
      h4 {
        font-size: 20px; //54px;
        color: #000;
        line-height: 75px;
      }
      h6 {
        font-size: 18px;
        color: #666666;
        margin: 10px 0 20px;
      }
      p {
        line-height: 27px;
        font-size: 15px;
        color: #000;
        text-align: left;
      }
      &.clear-br div {
        border-right: 0;
      }
    }
  }
  .friend-list {
    a {
      float: left;
      position: relative;
      width: 25%;
      height: @container-width /4;
      border-top: 1px solid #c3c3c3;
      background-repeat: no-repeat;
      background-position: center center;
      &:before {
        content: '';
        position: absolute;
        width: 0;
        height: 100%;
        border-left: 1px solid #c3c3c3;
      }
      &:after {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        background: #f6f6f6;
        bottom: -20px;
        right: -20px;
        z-index: 1;
      }
      &:nth-child(4n+1) {
        &:before {
          border-left: 0;
        }
      }
      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3),
      &:nth-child(4) {
        border-top: 0;
      }
    }
  }
}

/* .company-introduction end */

/* .address-map */

.address-map {
  height: 575px;
  background: url("https://res.fudou6.com/c/4/20160802/6guMjcucGljX2hk_1920x577.jpg") no-repeat center center;
  background-size: cover;
  .address-map-box {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
     div {
      margin: 150px 0 0 200px;
      width: 291px;
      height: 207px;
      padding: 32px 18px 0;
      background: #fff;
      position: relative;
      span {
        display: inline-block;
        width: 66px;
        height: 66px;
        border-radius: 50%;
        background: #121e2c;
        position: absolute;
        left: 9px;
        top: 18px;
        text-align: center;
        img {
          margin-top: 18px;
        }
      }
      h4 {
        font-size: 36px;
        color: #444444;
        line-height: 46px;
        margin-left: 64px;
      }
      hr {
        display: block;
        width: 149px;
        border: none;
        border-bottom: 1px solid #a9a9a9;
        margin: 5px auto 20px;
      }
      p {
        font-size: 18px;
        color: #828282;
        line-height: 24px;
      }
      h3 {
        font-size: 25px;
        color: #fb2274;
        margin-top: 20px;
      }
    }
  }
}

/* .address-map */

.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) {
  .company-introduction > .company-introduction-box,
  .about-us-banner .banner-box {
    width: @cw;
  }
  .company-introduction {
    .friend-list a {
      width: @cw/4;
      height: @cw/4;
    }
  }
  .about-us-banner-bottom {
    p {
      width: @cw;
    }
  }
}

body {
  .screen();
}