@import "normalize";
@import "variable";
@import "iconfont.less";
/* 公共样式 start*/
:global {
  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;
      background: url(../images/Logo.png) no-repeat 30px 13px;
      &:before {
        content: '';
        display: table;
      }
      & > .logo {
        position: absolute;
        left: 30px;
        top: 13px;
        width: 190px;
        height: 67px;
      }
      .nav {
        margin: 0 0 0 35.6%;
        &: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: 60px;
            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 {
    //min-width: 990px;
    min-width: 1200px;
    .top {
      margin: 50px auto 0;
      padding: 0 40px 46px 40px;
      width: 1200px\0;
      .address-phone {
        margin: 0 auto;
        padding-top: 107px;
        background: url(../images/logo-footer.png) no-repeat;
        font-size: 16px;
        color: #777;
        & > 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 {
      margin-top: 118px;
      padding-bottom: 180px;
      background: url(../images/footer.jpg) no-repeat;
      //background-size: cover;
    }
    .bottom {
      padding: 26px 0 36px 0;
      text-align: center;
      font-size: 16px;
      color: #fff;
      background-color: #b62125;
    }
  }
  /* #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;
        //min-width: 1000px;
      }
      .top {
        width: @cw;
      }
    }
  }

  body {
    .screen();
  }
}




