@import "normalize";
@import "variable";
@import "iconfont.less";
/* 公共样式 start*/
:global {
  body, h1, h2, h3, h4, h5, h6, div, p, a {
    font-family: "Microsoft YaHei", "Source Han Sans", Helvetica, Tahoma, Arial, "Hiragino Sans GB", SimSun, Heiti, sans-serif;
  }
  a {
    text-decoration: none;
    color: #000000;
  }

  ul, li {
    list-style: none;
    padding-left: 0;
  }

  .fl {
    float: left;
  }

  .fr {
    float: right;
  }

  .clear-fl {
    &:after {
      content: '';
      display: block;
      clear: both;
    }
  }

  /* 公共样式 end*/

  /* #header start */
  .header {
    background-color: #b62125;
    width: 100%;
    min-width: 1200px;
    .header-box {
      position: relative;
      margin: 0 auto;
      padding-top: 36px;
      //min-width: 1000px;
      width: 1200px \0;
      &:before {
        content: '';
        display: table;
      }
      & > .logo {
        position: absolute;
        left: 30px;
        top: 50%;
        margin-top: -33px;
        width: 190px;
        height: 67px;
        background: url(../images/Logo.png);
      }
      .nav {
        margin: 0 0 0 30%;
        &:after {
          content: '';
          display: block;
          clear: both;
        }
        & > li {
          position: relative;
          float: left;
          //padding: 0 30px 8px 30px;
          //text-align: center;
          & > a {
            display: inline-block;
            width: 150px;
            padding-bottom: 12px;
            text-align: center;
            line-height: 24px;
            color: #fca960;
            & > span {
              display: block;
              font-size: 18px;
            }
          }
          &:hover,
          &.active {
            border-bottom: 5px solid #fff;
            &:after {
              content: '';
              position: absolute;
              left: 50%;
              bottom: 0;
              margin-left: -5px;
              width: 0;
              height: 0;
              border: 5px solid transparent;
              border-bottom-color: #fff;
            }
            & > a {
              color: #fff;
            }
          }
          .introduce {
            display: none;
            position: absolute;
            top: 65px;
            width: 496px;
            padding: 28px 44px 52px 16px;
            z-index: 999;
            text-align: left;
            background-color: #eee;
            .left {
              margin-top: 22px;
              & > a {
                display: block;
                margin-bottom: 44px;
                padding: 6px 10px;
                border-radius: 4px;
                font-size: 20px;
                &:last-child {
                  margin-bottom: 0;
                }
                &:hover {
                  background-color: #b62125;
                  color: #fff;
                }
              }
            }
            .right {
              margin: 0 0 0 22px;
              padding: 16px 0 170px 22px;
              line-height: 30px;
              font-size: 18px;
              border-left: 3px solid #b62125;
            }
          }
        }
      }
    }
  }
  /* #header end */

  /* #footer start */
  .footer {
    padding-top: 50px;
    //min-width: 990px;
    //min-width: 1200px;
    .top {
      margin: 0 auto;
      width: 1200px;
      //padding: 0 40px 46px 40px;
      //width: 1200px \0;
      .address-phone {
        margin: 0 auto;
        padding: 107px 0 50px 0;
        background: url(../images/logo-footer.png) no-repeat;
        font-size: 16px;
        color: #777;
        position: relative;
        & > address {
          font-style: normal;
        }
        .iconfont {
          display: inline-block;
          width: 30px;
          &.icon-phone {
            position: relative;
            top: -2px;
            left: 5px;
          }
          &.icon-dizhi {
            position: relative;
            top: -33px;
            font-size: 27px;
          }
        }
      }
    }
    .bgImg {
      padding-bottom: 180px;
      background: url(../images/footer.jpg) no-repeat center bottom;
    }
    .copyright {
      padding: 26px 0 36px 0;
      text-align: center;
      font-size: 16px;
      color: #fff;
      background-color: #b62125;
    }
    .weixin-qrcode {
      background-image: url(../images/qrcode.jpg);
      width: 100px;
      height: 100px;
      position: absolute;
      right: 0;
      top: 50%;
      margin-top: -50px;
    }
  }
  /* #footer 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) {
      .header-box {
        width: @cw;
      }
      .footer {
        .top {
          width: @cw;
        }
      }
    }
  }

  body {
    .screen();
  }
}




