@import "@styles/mixins.scss";
@import "@styles/theme.scss";

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail {
  position: relative;
  background: #ededf2;
  width: 100%;
  padding-bottom: 50px;

  .media-btn {
    position: absolute;
    width: 184px;
    height: 64px;
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    top: 440px;
    left: 284px;
    font-size: 30px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    text-align: center;
    line-height: 64px;
    color: rgba(53, 53, 53, 1);
    display: flex;
    position: fixed;

    .video-btn {
      width: 92px;
      height: 64px;
      border-radius: 12px 0px 0px 12px;


    }

    .img-btn {
      width: 92px;
      height: 64px;
      border-radius: 0px 12px 12px 0px;
    }

  }


  .wrap {
    padding-top: 576px;
    background: transparent;
  }

  &__main {
    background: #ededf2;
    margin-bottom: 70px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }
}

.activity {
  background: white;
  padding: 40px 0;
  margin-top: 20px;

  .title {
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0 40px 35px;

  }
}

.section {
  background: white;
  padding: 40px 35px;
  margin-top: 20px;

  &-head {
    @extend .flex;
    align-items: center;

    &__title {
      font-size: 40px;
      font-weight: bold;
    }

    &__more {
      font-size: $font-size-small;
      color: $text-color-lighter;
      display: flex;
      align-items: center;

      .iconfont {
        font-size: $font-size-small;
        color: $text-color-lighter;
        margin-left: 6px;
      }
    }
  }

  &-content {
    margin-top: 40px;
  }
}

.news {
  .section-content {
    @extend .flex;
    align-items: flex-start;
  }

  &-item {
    width: 320px;
    float: left;
    margin-bottom: 30px;
    margin-right: 36px;

    &__pic {
      width: 336px;
      height: 268px;
      border-radius: 10px;
      background-color: #eee;
    }

    &__title {
      margin-top: 20px;
      font-size: $font-size-title;
    }
  }
}

.circum {
  width: 100%;
  padding: 40px;
  background: #fff;
  margin-top: 20px;

  .title {
    width: 100%;
    font-size: $font-size-title-large;
    color: #000;
    font-weight: bold;
    height: 76px;
  }

  .map {
    width: 100%;
    margin-top: 40px;

    .map__img {
      width: 100%;
    }
  }

  .map-more-btn {
    width: 100%;
    padding: 30px 0;
    background: rgba(248, 248, 248, 1);
    border-radius: 12px;
    text-align: center;
    color: $primary-color;
    font-weight: 500;
    font-size: 34px;
    margin-top: 40px;
    line-height: 1.1;
  }

  .head {
    @extend .flex;

    .item {
      color: $text-color-light;
      font-size: 30px;
      font-weight: bold;
    }

    .selected {
      color: $primary-color;
      font-weight: bold;
    }
  }

  .body {
    margin: 10px 0 20px;
    min-height: 120px;

    .row {
      margin-top: 20px;
      color: $text-color;

      // .dian {
      //   font-size: 30px;
      //   font-weight: bold;
      //   padding-right: 10px;
      // }
    }
  }
}

.bt-nav {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
  background: #fff;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;

  &__item {
    margin: 0;
    padding: 0;
    line-height: 1;
    width: 50%;
    box-sizing: border-box;
    background: transparent;
    border-radius: none;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    // border-right: solid 1px rgba(0, 0, 0, 0.1);

    .iconfont {
      font-size: 42px;
      color: $primary-color;
    }

    .poster-img,
    .fenxiang-img,
    .kehutuijian-img {
      width: 50px;
      height: 50px;
    }

    .text {
      margin-top: 10px;
      text-align: center;
      font-size: 22px;
      color: #a1a1a1;
    }

    .icon-xiazai {
      font-size: 50px;
      margin-bottom: -2px;
    }

    .icon-icon03 {
      font-size: 45px;
    }

    &:last-child {
      border-right: none;
    }
  }

  &__left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
  }

  &__right {
    width: 300px;
    display: flex;
    align-items: center;
    color: $primary-color;
    border-radius: 0;
    height: 90px;
    line-height: 90px;
    border-radius: 8px;
    margin-right: 40px;
    border: 1px solid $primary-color;

    .iconfont {
      color: white;
    }

    .text {
      color: $primary-color;
      font-size: 34px;
      margin: 0;
    }
  }

  &__right2 {
    margin-right: 20px;
    background: $primary-color;
    color: #fff;

    .text {
      color: #fff;
      font-size: 34px;
      margin: 0;
    }
  }

  .tel__consultation {
    width: 260px;
    line-height: 120px;
    background-color: $primary-color;
    color: #fff;
    font-size: 28px;
    text-align: center;
  }
}

.home-entrance {
  position: fixed;
  bottom: 16%;
  right: 5%;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: solid 1px $border-color;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .iconfont {
    color: $text-color-lighter;
    font-size: 34px;
  }

  .text {
    color: $text-color;
    font-size: 22px;
  }
}

.tel-entrance {
  @extend .home-entrance;
  bottom: 27%;

  .iconfont {
    color: $text-color-lighter;
    font-size: 30px;
  }
}

.base-info {
  position: relative;
  width: 100%;
  left: 0%;
  font-size: 30px;

  .project__infor {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 30px 40px 40px 40px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;

    .row-info {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .serviceCompany {
        width: 45%;
        @include text-ellipsis;
      }
    }

    .row {
      width: 100%;
      @include text-ellipsis;
      margin-top: 20px;
      color: #000;
      display: flex;
      align-items: center;

      .label {
        color: $text-color-lighter;
        margin-right: 20px;
        // width: 160px;
        display: inline-block;
        text-align: justify;
        text-align-last: justify;
      }
    }

    .project__title {
      justify-content: space-between;

      .bold {
        font-size: 40px;
        font-weight: bold;
      }

      .favor-btn {
        display: flex;
        align-items: center;

        .iconfont {
          font-size: 40px;
          color: #F6B61D;
          margin-right: 10px;
        }

        .saved {
          color: $primary-color;
        }

        .txt {
          font-size: 24px;
          color: $text-color-light;
        }
      }
    }

    .project__price {
      color: $primary-color;
      font-size: 32px;
      margin-top: 30px;

      .label {
        font-size: 26px;
        color: $text-color-lighter;
        margin-right: 10px;
      }

      .num {
        font-weight: bold;
        color: $primary-color;
      }
    }

    .project__area {
      .status {
        color: $primary-color;
      }
    }

    .project__tags {
      display: flex;
      flex-wrap: wrap;

      .tag {
        padding: 8px 16px;
        background: #EDCA73;
        color: #fff;
        font-size: 24px;
        margin-right: 18px;
        margin-bottom: 8px;
        border-radius: 12px;
      }

    }

    .type-intro {
      width: 100%;

      &__list {
        display: flex;
        padding: 30px 4px;
      }


      &__item {
        padding: 20px 86px 20px 30px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        border-radius: 16px;
        margin-right: 30px;
        position: relative;
        font-size: 32px;

        .build-bg {
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;

        }

        .row {
          margin-top: 20px;
          display: flex;
          align-items: center;

          .row-right {
            margin: 0 50px;
          }

          &-label {
            color: $text-color-lighter;
            padding-right: 8px;
          }

          .black {
            color: #000
          }

          &-txt {
            color: #FF2359;
          }
        }

        .icon-jinrongxianxingge- {
          font-size: 50px;
          color: $icon-color;
          position: absolute;
          right: 5%;
          bottom: 8%;
        }

        .item__status {
          position: absolute;
          right: 0;
          top: 0%;
          background: rgba(246, 182, 29, 1);
          border-radius: 0 16px 0 14px;
          padding: 10px 36px;
          color: #fff;
          font-size: 26px;
        }

        .sale {
          background: rgba(246, 182, 29, 1);
        }

        .soldout {
          background: rgba(0, 0, 0, 0.7);
        }

        .waitsale {
          background-color: $primary-color;
        }
      }
    }

    .type-introduce .introduce-text .price-introduce {
      display: flex;
      justify-content: flex-start;

      .txt {
        color: #fd0c0c;
        font-weight: 400;
      }
    }

    .type-introduce .introduce-text .trim-introduce {
      .txt {
        color: #fd0c0c;
        font-weight: 400;
      }
    }

    .project__addr {
      display: flex;
      justify-content: space-between;
      flex-wrap: nowrap;

      .address {
        display: flex;
        width: 75%;
        align-items: center;
        justify-content: space-between;

        .address__text {
          width: 450px;
          @include text-ellipsis;
          color: #000;

        }

        .iconfont {
          font-size: 40px;
          color: $primary-color;
          animation: bigger 2s ease infinite both;
        }
      }
    }

    .more__project__profiles {
      position: absolute;
      width: 90%;
      height: 80px;
      line-height: 80px;
      left: 5%;
      top: 523px;
      font-size: 30px;
      background: #f3f3f3;
      color: #000;
      font-weight: bold;
    }

    .watch__people__num {
      color: $text-color-light;
      margin-top: 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .top__txt {
        font-size: 26px;
        width: 20%;
        color: rgba(0, 0, 0, 0.37);
      }

      .bottom__img {
        margin-top: 20px;
        width: 80%;
        display: flex;
        align-items: center;
        margin-left: 5px;
        flex-wrap: nowrap;

        .records {
          width: 90%;
          overflow: hidden;
          padding-left: 10px;
          display: flex;
          align-items: center;

          .user__img {
            width: 52px;
            height: 52px;
            margin-left: -10px;
            border-radius: 50%;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14);
            border: 2px solid rgba(255, 255, 255, 1);
          }
        }

        .iconfont {
          font-size: 32px;
          color: $text-color-lighter;
          margin-left: 20px;
          vertical-align: middle;
        }
      }
    }

    .more-btn {
      width: 100%;
      padding: 30px 0;
      background: rgba(248, 248, 248, 1);
      border-radius: 12px;
      text-align: center;
      font-weight: 500;
      color: $primary-color;
      font-size: 34px;
      margin-top: 40px;
    }
  }
}

.counselor {
  .section-content {
    // padding-top: 30px;

    .item {
      @extend .flex;
      padding: 40px 0;

      .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin-right: 30px;
      }

      .name-txt {
        display: flex;
        flex-direction: column;

        .name {
          font-size: 32px;
          font-weight: bold;
        }

        .txt {
          color: rgba(0, 0, 0, 0.45);
          font-size: 28px;
          padding: 7px 0;
        }
      }

      .item-btn__box {
        width: 200px;
      }

      .item-btn {
        @extend .flex;
        background: none;
        width: 80px;
        height: 80px;
        padding: 0;
        justify-content: center;
        margin: 0;


        .dianhua1-img,
        .chat-img {
          width: 80px;
          height: 80px;
        }
      }
    }
  }
}

//亮点及周边
.around {
  position: relative;
  width: 100%;
  padding: 40px;
  top: 30px;
  background: #fff;
  margin-bottom: 30px;

  .title {
    width: 100%;
    font-size: 35px;
    color: #000;
    font-weight: bold;
    height: 76px;
  }

  .content {
    .row {
      display: flex;
      margin-top: 26px;
      width: 100%;
      line-height: 1.6;

      .label {
        font-size: 26px;
        color: rgba(0, 0, 0, 0.37);
        width: 120px;
        letter-spacing: 4px;
      }

      .text {
        width: 100%;
      }
    }
  }

  .highlight__introduce {
    width: 100%;
    font-size: 30px;
    color: #767676;
    left: 0;
    top: 120px;
    text-indent: 30px;
    line-height: 50px;
    margin-bottom: 30px;
  }
}

.hide {
  display: none;
}

.ani {
  position: absolute;
}

// banner
.pro__banner {
  position: fixed;
  top: 0;
  width: 100%;
  height: 500px;

  &-img {
    width: 100%;
  }

  &-text {
    background: rgba(0, 0, 0, 0.5);
    font-size: 24px;
    border-radius: 20px;
    padding: 6px 30px;
    color: white;
    position: absolute;
    right: 5%;
    bottom: 30px;
  }

  &-btn {
    width: 110px;
    height: 78px;
    position: absolute;
    top: 242px;
    left: 320px;
    padding: 0;
    background: none;

    &-img {
      width: 110px;
      height: 78px;
    }
  }

  &-voice {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 440px;
    right: 94px;
    padding: 0;
    background: none;

    &-img {
      width: 48px;
    height: 48px;
    
    }
  }
  &-extend {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 440px;
    right: 30px;
    padding: 0;
    background: none;

    &-img {
      width: 48px;
      height: 48px;
     
    }
  }

}

// 户型
.house-type {
  position: relative;
  width: 100%;
  padding: 30px;
  background: #fff;
  margin: 20px 0;

  .house-type__title {
    width: 100%;
    font-size: 35px;
    color: #000;
    font-weight: bold;
    height: 76px;
  }

  .house-type__list {
    position: relative;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    display: inline-flex;
    padding-bottom: 10px;

    .item {
      position: relative;
      width: 350px;
      margin: 2px 36px 2px 2px;
      box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(232, 232, 232, 1);
      border-radius: 16px;

      .house__img-info {
        padding: 70px 30px 80px 30px;
        border-bottom: 1px solid rgba(232, 232, 232, 1);


        .house__img {
          width: 100%;
          border-radius: 10px;
          height: 200px !important;
        }
      }

      // .house__img__len {
      //   position: absolute;
      //   width: 80px;
      //   height: 50px;
      //   text-align: center;
      //   line-height: 50px;
      //   color: #fff;
      //   background: rgba(0, 0, 0, 0.5);
      //   right: 4%;
      //   top: 47%;
      //   font-size: 20px;
      //   border-radius: 20px;
      // }
      .rest-info {
        padding: 10px 26px 20px 26px;

        .house-type__name {
          font-weight: bold;
          margin: 10px 0;
          font-size: 32px;
        }

        .house-type__price {
          color: #000;
          margin-bottom: 10px;

          .price__txt {
            color: #f00;
            font-size: 35px;
          }
        }

        .construction__area {
          color: rgba(0, 0, 0, 0.54);
          font-size: 25px;
          height: 80px;
          display: flex;
          flex-direction: column;
          font-size: 28px;
          text-align: left;

        }
      }

      .house-type__label {
        color: #757575;
        font-size: 25px;
        margin-bottom: 10px;
      }

      .house-type__state {
        position: absolute;
        left: 0;
        top: 0;
        color: #fff;
        background: $primary-color;
        padding: 10px 36px;
        border-radius: 16px 0 14px 0;
        font-size: 24px;
      }
    }
  }
}

// 相册
.photos__type {
  position: relative;
  width: 100%;
  padding: 40px;
  background: #fff;
  top: 30px;
  margin-bottom: 80px;

  .photos__type__title {
    width: 100%;
    font-size: 35px;
    color: #000;
    font-weight: bold;
    height: 76px;
  }

  .photos__type__content {
    position: relative;
    display: inline-flex;
    -webkit-overflow-scrolling: touch;

    .photos__type__list {
      position: relative;
      width: 350px;
      float: left;
      margin-right: 50px;
      overflow-x: hidden;

      .photos__img {
        width: 100%;
        border-radius: 10px;
      }

      .photos__img__len {
        position: absolute;
        width: 80px;
        height: 50px;
        text-align: center;
        line-height: 50px;
        color: #fff;
        background: rgba(0, 0, 0, 0.5);
        right: 4%;
        top: 57%;
        font-size: 20px;
        border-radius: 20px;
      }

      .photos__type__name {
        font-weight: bold;
        margin: 10px 0;
      }
    }
  }
}

.statement {
  width: 100%;
  color: rgb(189, 185, 185);
  font-size: 25px;
  line-height: 40px;
  background: #fff;
  padding: 20px 50px 40px;
  margin-top: 20px;
  // margin-top: -30px;
}

@-webkit-keyframes fadeFromBottom {
  0% {
    -webkit-transform: translate3d(0, 600px, 0);
    opacity: 0;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes bigger {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.around-tab {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: scroll;
  scroll-behavior: smooth;
  padding: 24px 0;

  &__item {
    flex: 1 0 auto;

    font-size: 32px;
    color: #666;
    line-height: 44px;
    padding: 4px 0;

    &.active {
      color: #BB9C79;
      border-bottom: 1px solid #C8B299;
    }

    &+& {
      margin-left: 64px;
    }
  }
}

.albumimg {
  width: 218px;
  height: 164px;
  background: rgba(216, 216, 216, 1);
  border-radius: 12px;
}