@import "site.less";

.btn_am {

  -webkit-transition: all 500ms cubic-bezier(.165, .84, .44, 1);
}

.intro_part {
  position: relative;
  width: 100%;
  height: 620px;
  background-color: white;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  @media only screen and (min-width: 1441px) {
    background-size: contain;
  }

  @media only screen and (max-width: 990px) {
    &:before {
      content: "";
      position: absolute;
      z-index: 0;
      width: 100%;
      height: 100%;
      background: black;
      opacity: 0.5;
      left: 0;
      top: 0
    }

    margin-top: @mobile_header_height;
    height: 600px;
    display: inline-block;
    .part_container {
      background: none;

      .txt_container {
        width: 80%;

        h1 {
          font-size: 24px;
        }

        p {
          font-size: 12px;
          width: 100%;
        }
      }
    }

  }
}

.normal_part {
  position: relative;
  width: 100%;
  height: 580px;
  background-color: white;
  margin-top: 0px;
  display: flex;
  align-items: center;

  .title_small_txt{ font-size: 14px}

  .part_container {
    justify-content: space-between;
    height: 450px;

    .txt_container {

    }

    .pic {
      width: 800px;
      height: 100%;
      position: relative;
      background-size: cover;

      .play_bar {
        position: absolute;
        width: 100%;
        height: 30px;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1;
        left: 0;
        bottom: 0;

        .play_btn {
          position: absolute;
          top: 5px;
          left: 20px;
          width: 20px;
          height: 23px;
          cursor: pointer
        }
      }

      video {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
        height: 100%;
        background: black
      }
    }
  }

  @media only screen and (max-width: 990px) {
    display: inline-block;
    padding-top: 30px;
    margin-top: 0;
    .part_container {
      height: auto;

      .pic {
        width: 90%;

        img {
          width: 100%
        }
      }

    }

  }
}

.part_container {
  position: relative;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: flex-start;
  align-items: center;

  .txt_container {
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
      text-align: left;
      font-size: 21px;
      font-family: "Gotham-med";
      font-weight: 500;
      width: 80%
    }

    p {
      font-family: "Gotham-book";
      text-align: left;
      font-size: 15px;
      margin-top: 30px;
      line-height: 24px;
      width: 80%
    }

  }

  @media only screen and (max-width: 990px) {
    height: auto;
    flex-direction: column-reverse;
    background: none;
    .txt_container {
      width: 90%;
      margin-top: 45px;

      h1 {
        color: black;
        font-size: 24px;
        line-height: 31px
      }

      p {
        color: black;
        font-size: 13px;
        line-height: 27px;
        margin-top: 0;
      }
    }

    .pic {
      width: 100%
    }

  }
}

.part_container.reverse {
  flex-direction: row-reverse;

  .txt_container {
  }

  @media only screen and (max-width: 990px) {
    flex-direction: column-reverse;
  }
}


.loop_pic_part {
  position: relative;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 50px;

  .title {
    margin-top: 65px;
    font-size: 24px;
    font-family: Gotham-med;
    font-weight: 500
  }

  .txt_icon_group {
    width: 600px;
    height: 40px;
    margin: auto;
    top: -30px;
    position: relative;
    z-index: 2;
    display: none;

    img {
      width: 32px;
      height: 26px;
      position: absolute
    }

    .txt_icon1 {
      top: 0;
      left: 0
    }

    .txt_icon2 {
      bottom: 0;
      right: 0
    }
  }

  .swiper-container {
    width: 100%;
    margin-top: 30px;

    .swiper-slide {
      width: 100%;
      height: 100%;
      background-size: cover;

      .pic {
        height: calc((100vw / 1440) * 398);
        width: 100%;
        background-size: cover;
        position: relative;

        .play_bar {
          position: absolute;
          width: 100%;
          height: 33px;
          background-color: rgba(0, 0, 0, 0.7);
          z-index: 10;
          left: 0;
          bottom: 0;
          opacity: 0;

          .play_btn {
            position: absolute;
            top: 5px;
            left: 20px;
            width: 18px;
            height: 21px;
            cursor: pointer
          }
        }

        video {
          display: none;
          position: absolute;
          z-index: 999;
          width: 100%;
          height: 100%;
          background: black
        }

        .mask {
          position: absolute;
          z-index: 2;
          width: 100%;
          height: 100%;
          background: black;
          opacity: 0.6;
          top: 0;
          left: 0
        }
      }

      .info_title {
        width: 100%;
        margin-top: 25px;
        text-align: center;
        font-size: 15px;
        color: #333333;
        font-family: Gotham-med
      }
    }

    .prev_btn {
      position: absolute;
      left: 80px;
      top: 195px;
      z-index: 2;
      cursor: pointer;
      .btn_am()
    }

    .next_btn {
      .prev_btn();
      right: 80px;
      left: unset
    }

  }

  .info_des {
    position: relative;
    margin: auto;
    width: 600px;
    text-align: center;
    font-size: 19px;
    color: #333333;
    font-family: Gotham-med;
    font-weight: bold;
    margin-top: 15px;

    .info_des_title {
      font-family: Gotham-bold;
    }
  }

  @media only screen and (max-width: 990px) {

    .info_des {
      width: 80%;
    }

    .swiper-container {


      .swiper-slide {

        .pic {
          height: calc((100vw / 375) * 195);
        }
      }

      .prev_btn {
        left: 0px;
        top: 90px;
      }

      .next_btn {
        .prev_btn();
        right: 0px;
        left: unset
      }
    }
  }
}

.prev_btn:hover {
  transform: scale(1.1)
}

.next_btn:hover {
  transform: scale(1.1)
}

.loop_pic_part.has_video {
  .swiper-container {
    .swiper-slide {
      .pic {
        .play_bar {
          display: block;
        }
      }
    }
  }
}

.has_video {
  position: relative;
  .pic {
    width: auto;
    .img{ position: relative; height: 100%; z-index: 0}
    .play_bar {
      position: absolute;
      width: 100%;
      height: 30px;
      background-color: rgba(0, 0, 0, 0.7);
      z-index: 1;
      left: 0;
      bottom: 0;
      display: block;

      .play_btn {
        position: absolute;
        top: 5px;
        left: 20px;
        width: 20px;
        height: 23px;
        cursor: pointer
      }
    }

    video {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 999;
      width: 100%;
      height: 100%;
      background: black
    }
  }

}

.grey_bg {
  background-color: #F4F4F4;
}

.lightwhite_bg {
  background-color: #FBFBFB;
}


.box_round_container {
  position: relative;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  background: white;

  .group_part {
    position: relative;
    margin: auto;
    width: 1000px;
    background: @lightgrey_color;
    box-shadow: 0px 5px 13px 0px rgba(109, 109, 109, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;

    @media only screen and (max-width: 990px) {
      width: 100%;
    }

    .group_title {
      margin-top: 36px;
      font-size: 25px;
      float: left;
      font-family: Gotham-med;
      width: calc(100% - 50px);
      text-align: left
    }

    .single_group {
      width: 100%;
      margin-top: 40px;
      height: 203px;
      display: flex;
      flex-direction: row;
      padding-right: 40px;
      padding-left: 10px;
      justify-content: space-between;
      align-items: center;

      @media only screen and (max-width: 990px) {
        height: auto;
        flex-direction: column;
        width: 90%; padding: 0; margin-top: 20px;
      }

      .txt_group {
        width: 550px;
        text-align: left;
        margin-left: 40px;
        margin-right: 40px;

        .single_group_title {
          width: 100%;
          font-size: 19px;
          color: #3C3C3C;
          font-family: Gotham-med;
          text-align: left;
        }

        .single_group_des {
          width: 100%;
          font-size: 15px;
          color: #3C3C3C;
          font-family: Gotham-book;
          margin-top: 20px;
          line-height: 27px;
          text-align: left
        }
        @media only screen and (max-width: 990px) {
          width: 85%;
          padding-bottom: 20px;
          .single_group_title {
            margin-top: 20px;
          }
        }
      }

      .pic {
        height: 100%;
        margin-left: 10px;
        margin-right: 10px;
        @media only screen and (max-width: 990px) {
          height: auto; width: 100%; margin:0;
        }
      }

      padding-bottom: 40px;
    }

    .single_group:after {
      content: '';
      width: 80%;
      height: 1px;
      background: @blue_color;
      opacity: 0.3;
      position: absolute;
      bottom: 0;
      left: 10%
    }

    .single_group:last-child:after {
      display: none
    }

    .single_group:nth-child(2n-1) {
      flex-direction: row-reverse;
      padding-left: 40px;
      padding-right: 10px;
      @media only screen and (max-width: 990px) {
        padding: 0; flex-direction: column;
      }
    }
  }
}

.multi_step_part {
  position: relative;
  width: 100%;
  padding-bottom: 80px;

  .multi_step_part_container {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    @media only screen and (max-width: 990px) {
      width: 95%;
    }

    .pic {
      width: 100%;
      position: relative
    }

    .txt_group {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin-top: 40px;

      .single_txt {
        width: 30%;
        display: flex;
        flex-direction: column;

        .single_txt_title {
          text-align: left;
          font-size: 24px;
          line-height: 24px;
          color: @blue_color;
          width: 100%;
          font-family: Gotham-med;
          @media only screen and (max-width: 990px) {
            font-size: 16px;
          }

          .num_txt {
            background: @blue_color;
            color: white;
            font-size: 18px;
            line-height: 24px;
            padding: 2px;
            margin-right: 10px
          }
        }

        .single_txt_des {
          font-family: Gotham-book;
          font-size: 15px;
          line-height: 21px;
          text-align: left;
          margin-top: 20px;
        }
      }
    }
  }
}

.pic_part {
  position: relative;
  margin: auto;
  width: 1000px;
  height: 544px;
  background-size: cover;
  display: flex;
  align-items: start;
  flex-direction: column;

  .line1 {
    font-family: Gotham-book;
    text-align: left;
    font-size: 26px;
    color: @blue_color;
    margin-left: 45px;
    margin-top: 100px;
    width: 470px
  }

  .line2 {
    .line1();
    color: white;
    margin-top: 0px
  }

  .line3 {
    .line1();
    font-size: 44px;
    color: white;
    font-family: Gotham-bold;
    margin-top: 20px
  }
}

.lr_pic_part {
  position: relative;
  width: 100%;
  background-color: white;
  margin-top: 0px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 80px;

  .title {
    margin-top: 65px;
    font-size: 24px;
    font-family: Gotham-med;
    font-weight: 500;
  }

  .list_container {
    width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;

    li {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;

      .pic {
        width: 50%;

        img {
          width: 100%;
          height: auto
        }
      }

      .txt {
        width: 50%;
        display: flex;
        align-items: center;
        flex-direction: column;

        p {
          width: 80%;
          color: black;
          text-align: left
        }

        .info_title {
          font-size: 16px;
          font-family: Gotham-med;
          img{ vertical-align: middle}

        }

        .info_des {
          font-size: 12px;
          font-family: Gotham-book;
          line-height: 16px;
          margin-top: 15px
        }
      }

      &:nth-child(2n) {
        flex-direction: row-reverse;

      }
    }
  }

  @media only screen and (max-width: 990px) {

    .title {
      margin-top: 65px;
      font-size: 24px;
      font-family: Gotham-med;
      font-weight: 500
    }

    .list_container {
      width: 100%;

      li {
        flex-direction: column !important; margin-bottom: 30px;
        .pic {
          width: 90%;
        }
        .txt{
          width: 90%;
          p{ width: 100%}
          .info_title {
            margin-top: 15px;
          }
          .info_des{
            margin-top: 5px;
          }
        }
      }
    }
  }
}

.mix_mode {

  @media only screen and (max-width: 990px) {
    height: auto;
  }

  .pic {
    margin-right: 0;
    margin-left: -20px;
    position: relative; z-index: 1;
    @media only screen and (max-width: 990px) {
      margin-left: 0px;
    }

  }

  .pic_container {

      margin-right: 0;
      margin-left: -20px;
      position: relative; z-index: 1;
      @media only screen and (max-width: 990px) {
        margin-left: 0px;
      }
    .pic {

      margin: 0; position: relative; z-index: 1;

    }
    .loading_pic {
      position: absolute !important;
      z-index: 0;
      left: unset;
      right: 0;
      height: 500px;
      @media only screen and (max-width: 990px) {
        display: none;
      }
    }
    .smallpic_container{
      position: absolute;
      z-index: 2;
      width: 450px;
      display: flex;
      align-items: center;
      img{ width: 200px}
      p{ margin-left: 15px; text-align: left; font-family: Gotham-book; line-height: 20px}
    }
  }

  .txt_container {
    height: 350px;
    z-index: 2;
    width: 50%;
    background: white;
    position: relative;
    justify-content: center;

    @media only screen and (max-width: 990px) {
      height: auto; width: 90%;
    }

    .title_mask {
      background: @blue_color;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      position: absolute;
      z-index: 2;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      .visible_pre_am();
      transform: none;
      opacity: 1;
      flex-direction: column;

      h1 {
        color: white
      }

      p {
        color: white
      }
    }

    &:hover {
      .title_mask {
        opacity: 0;
      }
    }
  }

  .reverse {
    .pic {
      margin-left: 0;
      margin-right: -20px;
      @media only screen and (max-width: 990px) {
        margin-right: 0px;
      }
    }
    .pic_container {
      margin-left: 0;
      margin-right: -20px;
      @media only screen and (max-width: 990px) {
        margin-right: 0px;
      }
      .pic{ margin: 0}
      .loading_pic{ left: 0; right: unset}
    }
  }
}


.detail_container{
  margin: auto; margin-top: @header_height; padding-top: 40px; width: 900px; display: flex; flex-direction: column; align-items: center; padding-bottom: 40px;
  img{ width: 100%; margin-bottom: 30px}
  h1{ font-family: Gotham-med; font-size: 24px;}
  h2{ font-family: Gotham-med; font-size: 18px; font-weight: normal}
  p{ font-family: Gotham-book; font-size: 16px; text-align: justify; line-height: 24px}
  .video{
    .pic{ height: 500px; width: 100%;}
  }

  @media only screen and (max-width: 990px) {
    width: 90%; margin-top: @mobile_header_height;
    .video{
      .pic{ height: 190px; width: 100%;}
    }
  }
}


.btn_group {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  flex-direction: column;
  height: 100px;
  @media only screen and (max-width: 990px) {
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 90px;
  }
}

.white_txt {
  color: white
}

.pic_shadow {
  box-shadow: 0px 5px 13px 0px rgba(109, 109, 109, 0.18);
}