@import "../../styles/variable";
// @import "../../public/stylesheets/iconfont.less";

:global {
  #team {
    .main {
      .banner {
        //min-width: 1200px;
        & > img {
          width: 100%;
          height: 400px;
          display: block;
        }
      }
      .partner-pic {
        padding: 32px 0 50px 0;
        background-color: #fff;
        & > img {
          display: inline-block;
          height: 124px;
          width: 124px;
          border-radius: 50%;
        }
        & > h2 {
          margin: 20px 0 0 0;
          font-size: 16px;
          font-weight: normal;
        }
      }
      .boss {
        & > i {
          background: #f1f2f4 url(images/gejianbin.png) no-repeat;
          background-size: 124px 124px;
        }
      }
      .team-box {
        background-color: #d9d9d9;
        padding: 44px 0 25px 0;
        min-width: 1200px;
      }
      .team {
        margin: 0 auto;
        width: 900px \0;
        text-align: center;
        & > h1 {
          margin: 0 0 46px 0;
          line-height: 32px;
          font-size: 24px;
          font-weight: normal;
        }
        .partners-leaders {
          &:after {
            content: '';
            display: block;
            clear: both;
          }
          .partner-pic {
            margin-right: 5%;
            width: 30%;
            cursor: pointer;
            &:last-child {
              margin-right: 0;
            }
          }
          .boss {
            & > i {
              background: #f1f2f4 url(images/gejianbin.png) no-repeat;
              background-size: 124px 124px;
            }
          }
        }
        .arrow {
          margin-top: 14px;
          cursor: pointer;
          & > i {
            display: inline-block;
            transition: transform 300ms;
            transform: rotate(0deg);
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            &.slideDown {
              transition: transform 300ms;
              transform: rotate(180deg);
              -webkit-transform: rotate(180deg);
              -moz-transform: rotate(180deg);
            }
          }
        }
      }
      .introduce-main {
        display: none;
        margin: 0 auto;
        width: 1200px \0; //IE8
        min-width: 1160px;
        padding: 60px 0 0 40px;
        &:after {
          content: '';
          display: block;
          clear: both;
        }
        & > h1 {
          margin: 0 auto 44px;
          padding: 0;
          font-size: 24px;
          color: #343a3b;
        }
        .partner-pic {
          margin: 0 10px 10px 10px;
          margin: 0 48px 48px 0 \0;
          width: 262px \0;
          text-align: center;
          border: 1px solid #e1e9eb;
          cursor: pointer;
          &:nth-child(4n) {
            margin-right: 0;
          }
          &:nth-child(n+4) {
            margin-bottom: 0;
          }
        }
      }
    }

    .modal-box {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      background: rgba(0, 0, 0, .3);
      .modal-dialog {
        position: absolute;
        top: 50%;
        margin-top: -200px;
        width: 100%;
        //height: 300px;
        background: -webkit-linear-gradient(left, #72757d, #aab1b8, #72757d);
        background: -moz-linear-gradient(left, #72757d, #aab1b8, #72757d);
        background: linear-gradient(left, #72757d, #aab1b8, #72757d);
        background-color: #aab1b8 \0;
        color: #fff;
        &:after {
          content: '';
          display: block;
          clear: both;
        }
        .close {
          position: absolute;
          top: -108px;
          right: 15%;
          padding: 0;
          width: 50px;
          height: 50px;
          text-align: center;
          line-height: 50px;
          font-size: 38px;
          font-weight: bold;
          border-radius: 50%;
          border: 4px solid #fff;
          background-color: #5f5f5f;
          color: #fff;
          cursor: pointer;
          &:after {
            content: '';
            position: absolute;
            top: 54px;
            left: 22px;
            height: 50px;
            border-right: 6px solid #fff;
          }
        }
        & > div {
          padding: 36px 40px;
          &:after {
            content: '';
            display: block;
            clear: both;
          }
          .left-pic {
            position: relative;
            margin-left: 13%;
            margin-right: 5%;
            margin-bottom: -36px;
            width: 25%;
            text-align: center;
            background-size: 300px 300px;
            color: #333;
            & > img {
              width: 100%;
              z-index: 0;
            }
          }
          .right-content {
            width: 53%;
            & > div {
              position: relative;
              margin-top: 20px;
              padding-left: 40px;
              & > h2 {
                margin-top: 0;
                font-size: 20px;
              }
              & > p {
                font-size: 16px;
                line-height: 24px;
                font-weight: 200;
                -webkit-font-smoothing: antialiased;
              }
            }
          }
        }
      }
    }

    .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) {
        .main {
          .team {
            width: @cw*3/4;
          }
          .introduce-main {
            & > h1 {
              width: @cw;
            }
            ul{
              margin: 0 auto;
              width: @cw;
              .partner-pic,
              .boss {
                width: (@cw/4)-22px;
              }
            }
          }
        }
      }
    }

    body {
      .screen();
    }
  }

}
