//首页总体布局及格式
.mobile {
  overflow-x: hidden;
  position: relative;
  .mb-header {
    background-color: #326ff4;

    position: fixed;
    top: 0px;
    height: 70px;
    width: 100%;
  }

  .mb-body {
    background-color: #ffffff;
    margin-top: 70px;
  }

  .mb-footer {
  }
}

//首页楼层信息
.mobile {
  .mb-body {
    .mb-flooer-0 {
      .mb-mb-flooer-banner {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        min-height: 200px;
        width: 100%;

      }
    }

    .mb-flooer-1 {
      margin-top: 15px;
      padding: 0 12px 0 12px;

      .mb-box-body {
        .mb-box-body-item {
          display: flex;
          background-color: #f2f3f7;
          border-radius: 4px;

          .mb-box-body-item-title {
            font-weight: 500;
            color: #ffffff;
            display: flex;
            font-size: 16px;

            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;

            min-height: 44px;
            min-width: 88px;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
          }
          .mb-box-body-item-title-class1 {
            background-color: rgba(50, 111, 244, 0.8);
          }
          .mb-box-body-item-title-class2 {
            background-color: rgba(50, 111, 244, 0.8);
          }
          .mb-box-body-item-row {
            display: flex;
            flex-wrap: wrap;
            padding: 5px 0 13px 0;
            width: 100%;

            a {
              width: 49%;
            }
            .mb-box-body-item-box {
              font-weight: 500;
              font-size: 14px;
              color: #424242;
              display: flex;
              padding: 12px 5px 0 10px;
              .mb-box-cly-box {
                display: flex;
                height: 100%;
              }
              .mb-box-cly {
                img {
                  width: 20px;
                  height: 20px;
                }
              }
              .mb-box-body-item-box-title {
                display: flex;

                flex-direction: column;
                justify-content: center;
                font-weight: 500;
                font-size: 14px;
                color: #424242;
              }
            }
          }
        }
        .mb-not-frist {
          margin-top: 6px;
        }
      }
    }
    .mb-flooer-2 {
      margin-top: 21px;
      padding: 0 12px 0 12px;

      .mb-box-body {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;

        .mb-margin-top {
          margin-top: 6px;
        }
        .mb-box-body-item {
          background-color: #f4f9ff;
          border-radius: 4px;
          padding: 10px 6px 11px 4px;
          width: 48%;
          .mb-box-body-item-img {
            img {
              width: 23px;
              height: 23px;
            }
          }
          .mb-box-body-title {
            font-weight: 500;
            font-size: 12px;
            color: #929098;
            line-height: 21px;
          }
        }
      }
    }
    .mb-flooer-3 {
      // background-color: #02aca6;
      background-image: linear-gradient(to bottom, rgba(2, 172, 166, 1) 10%, rgba(2, 172, 166, 0.2) 80%);
      padding: 10px 8px;
      margin: 10px 12px;
      border-radius: 7px;
      .mb-flooer-header-bg {
        background-image: url(/template/1/good/static/image/mb_index_flooer1.png);
      }
      .mb-box-body {
        margin-top: 0px;
        .mb-flex-1 {
          display: flex;
          overflow-x: auto;
          overflow-y: hidden;
        }
        .mb-flex-1-1 {
          display: flex;
        }
        .mb-not-frist-left {
          margin-left: 7px;
        }
        .mb-box-body-item {
          .mb-box-body-item-one {
            width: 123px;
            height: 148px;
            border-radius: 4px;

            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;

            .mb-box-body-item-remark {
              background: rgba(66, 66, 66, 0.6);
              margin: 0;
              border-top-left-radius: 7px;
              border-top-right-radius: 7px;
              padding: 6px 0 4px 11px;
              width: 100%;
              div {
                font-weight: 500;
                font-size: 11px;
                color: #ffffff;
              }
              .mb-box-body-item-remark-title {
                word-wrap: break-word;
                height: 36px;
              }
            }
          }
        }

        .mb-box-body-item-v1 {
          display: flex;
          justify-content: flex-start;
          .mb-box-body-item-v1-group {
            display: flex;
            flex-direction: column;
            .mb-box-body-item-v1-box {
              background-repeat: no-repeat;
              background-size: cover;
              background-position: center center;
              height: 70px;
              width: 150px;

              border-radius: 4px;

              font-weight: 500;
              font-size: 12px;
              color: #ffffff;

              padding: 15px 0 0 7px;
            }
          }
          .mb-not-frist-top {
            margin-top: 6px;
          }
        }

        .mb-box-body-tours {
          margin-top: 5px;

          .mb-box-body-tours-row {
            display: flex;
            flex-direction: column;

            .mb-flex-height-center {
              background-color: #f6f4ff;
              margin: 4px 0;
            }
            .mb-box-body-tours-row-label {
              .mb-box-body-tours-row-label-content {
                color: #424242;
              }
              padding: 10px 5px 10px 10px;
              font-size: 12px;
              color: #424242;

              // background-color: #f2f3f7;
              border-radius: 4px;

              word-wrap: break-word;

              // white-space: nowrap;
              // overflow: hidden;
              // text-overflow: ellipsis;
            }
          }

          .mb-margin-left {
            margin-left: 5px;
          }
          .mb-margin-top {
            margin-top: 5px;
          }
        }
      }
    }
    .mb-flooer-4 {
      margin-top: 21px;
      background-color: #fe993b;
      // background-image: linear-gradient(to bottom, rgba(190, 129, 175, 0.7) 0%, rgba(165, 94, 148, 0.9) 80%);
      margin: 10px 12px;
      padding: 10px 8px;
      border-radius: 7px;

      .mb-flooer-header-bg {
        background-image: url(/template/1/good/static/image/mb_index_flooer4.png);
      }

      .mb-box-body {
        margin-top: 0px;
        .ms-flooer-4-flooer {
          display: flex;
          justify-content: space-between;
        }
        a {
          width: 32%;
        }
        .mb-box-body-item {
          background-repeat: no-repeat;
          background-size: cover;
          background-position: center center;

          border-radius: 4px;

          width: 100%;
          height: 115px;

          display: flex;
          flex-direction: column;
          justify-content: flex-end;

          .mb-box-body-item-label {
            font-weight: 500;
            font-size: 12px;
            color: #ffffff;
            background: rgba(66, 66, 66, 0.6);
            height: 40px;
            border-top-left-radius: 7px;
            border-top-right-radius: 7px;
            padding: 6px 0 4px 11px;
            width: 100%;
          }
        }
      }
      .mb-not-frist-top {
        margin-top: 7px;
      }
    }

    .mb-flooer-5 {
      margin-top: 21px;
      // background-color: #ecc1ff;
      // background-image: linear-gradient(to bottom, rgba(116, 161, 77, 0.7) 0%, rgba(87, 141, 44, 0.9) 80%);
      margin: 10px 12px;
      padding: 10px 8px;
      border-radius: 7px;

      .mb-box-header .mb-box-header-label {
        color: #424242;
      }
      .mb-box-header .mb-box-header-fh-box .mb-box-header-fh {
        border-left: 3px solid #326ff4;
      }
      .mb-not-frist-top {
        margin-top: 7px;
      }
      .mb-box-body {
        display: flex;
        flex-direction: column;
        .mb-box-body-item {
          background-repeat: no-repeat;
          background-size: cover;
          background-position: center center;

          border-radius: 4px;

          width: 100%;
          height: 125px;

          display: flex;
          flex-direction: column;
          justify-content: flex-end;

          .mb-box-body-item-label {
            font-weight: bold;
            font-size: 16px;
            color: #ffffff;
            // margin: 0 0 3px 17px;
            padding: 6px 0 4px 11px;
            width: 100%;
          }
          .mb-box-body-item-remark {
            font-weight: 500;
            font-size: 12px;
            color: #ffffff;

            border-top-left-radius: 7px;
            border-top-right-radius: 7px;

            background: rgba(66, 66, 66, 0.6);

            padding: 6px 0 4px 11px;
            width: 100%;
          }
        }
      }
    }

    .mb-flooer-6 {
      background-color: #02aca6;
      // background-image: linear-gradient(to bottom, rgba(190, 129, 175, 0.7) 0%, rgba(165, 94, 148, 0.9) 80%);
      margin: 10px 12px;
      padding: 10px 8px;
      border-radius: 7px;

      .mb-flooer-header-bg {
        background-image: url(/template/1/good/static/image/mb_index_flooer3.png);
      }
      .mb-not-frist-top {
        margin-top: 8px;
      }
      .mb-height-center-1 {
      }
      .mb-box-body {
        margin-top: 0px;
        .mb-mountain {
          display: flex;
          flex-direction: column;
          padding-right: 0;
          .mb-box-body-rows {
            display: flex;
            justify-content: space-between;
            a {
              width: 32%;
            }
            .mb-box-body-item {
              background-repeat: no-repeat;
              background-size: cover;
              background-position: center center;

              display: flex;
              flex-direction: column;
              justify-content: flex-end;
              align-items: flex-start;

              border-radius: 7px;
              width: 100%;
              height: 133px;
              .mb-box-body-item-label {
                font-weight: 500;
                font-size: 12px;
                color: #fff;

                background: rgba(66, 66, 66, 0.6);
                border-top-left-radius: 7px;
                border-top-right-radius: 7px;

                padding: 6px 0 4px 11px;
                width: 100%;
                // margin: 0 4px 8px 8px;
              }
            }
          }
        }
        .mb-city {
          margin-top: 7px;
          padding-right: 0;
          .mb-box-body-rows {
            display: flex;
            justify-content: space-between;

            // overflow-x: auto;

            .mb-box-body-item-one {
              background-repeat: no-repeat;
              background-size: cover;
              background-position: center center;
              height: 141px;
              width: 100%;
              border-radius: 7px;

              display: flex;
              flex-direction: column;
              justify-content: flex-end;

              .mb-box-body-item-one-label {
                font-size: 12px;
                color: #ffffff;
                background: rgba(66, 66, 66, 0.6);
                border-top-left-radius: 7px;
                border-top-right-radius: 7px;
                padding: 6px 0 4px 11px;
                width: 100%;
              }
            }
            .mb-box-body-cols {
              display: flex;
              margin-left: 6px;
              flex-direction: column;
              justify-content: space-between;
              width: 32%;
              margin-left: 6px;
              a {
                width: 100%;
              }
              .mb-box-body-small-box {
                display: flex;
                width: 100%;
                height: 66px;

                border-radius: 4px;

                background-repeat: no-repeat;
                background-size: cover;
                background-position: center center;

                display: flex;
                flex-direction: column;
                justify-content: flex-end;

                .mb-box-body-item-small-label {
                  font-size: 12px;
                  color: #ffffff;
                  background: rgba(66, 66, 66, 0.6);
                  border-top-left-radius: 7px;
                  border-top-right-radius: 7px;
                  padding: 6px 0 4px 11px;
                  width: 100%;
                }
              }
            }
          }
        }
      }
    }
    .mb-flooer-7 {
      margin-top: 21px;
      background-color: #fed03c;
      // background-image: linear-gradient(to bottom, rgba(116, 161, 77, 0.7) 0%, rgba(87, 141, 44, 0.9) 80%);
      margin: 10px 12px;
      padding: 10px 8px;
      border-radius: 7px;

      .mb-flooer-header-bg {
        background-image: url(/template/1/good/static/image/mb_index_flooer2.png);
        width: 35px !important;
        background-size: cover;
      }

      .mb-not-frist-top {
        margin-top: 6px;
      }
      .mb-not-frist-left {
        margin-left: 6px;
      }
      .mb-height-center-1 {
      }
      .mb-box-body {
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        .mb-box-body-rows-3 {
          display: flex;
          justify-content: space-between;

          a {
            width: 33%;
          }
          .mb-box-body-item {
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;

            border-radius: 7px;
            width: 100%;
            min-height: 100px;
            .mb-box-body-item-label {
              font-weight: 500;
              font-size: 12px;
              color: #ffffff;
              background: rgba(66, 66, 66, 0.6);
              padding: 6px 0 4px 11px;
              border-top-left-radius: 7px;
              border-top-right-radius: 7px;
            }
          }
        }

        .mb-box-body-rows-2 {
          display: flex;
          justify-content: space-between;

          a {
            width: 49%;
          }
          .mb-box-body-item {
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;

            border-radius: 7px;
            width: 100%;
            min-height: 100px;
            .mb-box-body-item-label {
              font-weight: 500;
              font-size: 12px;
              color: #ffffff;
              background: rgba(66, 66, 66, 0.6);
              padding: 6px 0 4px 11px;
              border-top-left-radius: 7px;
              border-top-right-radius: 7px;
            }
          }
        }
      }
    }
    .mb-flooer-8 {
      margin-top: 21px;
      // background-color: #ecc1ff;
      // background-image: linear-gradient(to bottom, rgba(190, 129, 175, 0.7) 0%, rgba(165, 94, 148, 0.9) 80%);
      margin: 10px 12px;
      padding: 10px 8px;
      border-radius: 7px;
      .mb-box-header .mb-box-header-label {
        color: #424242;
      }
      .mb-box-header .mb-box-header-fh-box .mb-box-header-fh {
        border-left: 3px solid #326ff4;
      }

      .mb-not-frist-top {
        margin-top: 6px;
      }
      .mb-not-frist-left {
        margin-left: 6px;
      }
      .mb-height-center-1 {
      }
      .mb-box-body {
        display: flex;
        flex-direction: column;
        .mb-box-body-rows {
          display: flex;
          justify-content: space-between;

          a {
            width: 32%;
          }
          .mb-box-body-item {
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;

            border-radius: 7px;
            width: 100%;
            min-height: 140px;
            .mb-box-body-item-label {
              font-weight: 500;
              font-size: 12px;
              color: #fff;

              // background: #ffffff;
              background: rgba(66, 66, 66, 0.6);
              border-top-left-radius: 7px;
              border-top-right-radius: 7px;
              padding: 6px 0 4px 11px;
              width: 100%;
            }
          }
        }
      }
    }
    .mb-flooer-9 {
      margin-top: 21px;
      .mb-box-body {
        display: flex;
        justify-content: center;
        margin: 0 20px;
        a {
          width: 100%;
        }
        .mb-box-body-item {
          width: 100%;
          padding: 0 20px;
          height: 41px;
          border-radius: 7px;
          line-height: 41px;
          text-align: center;
          background-color: #326ff4;
          color: #fff;
        }
      }
    }
  }
}

//box样式及格式
.mobile {
  .mb-box {
    .mb-box-header {
      display: flex;
      justify-content: space-between;
      .mb-box-header-title {
        display: flex;
        .mb-box-header-fh-box {
          display: flex;
          flex-direction: column;
          justify-content: center;

          margin-right: 4px;
          .mb-box-header-fh {
            border-left: 3px solid #fff;
            height: 15px;
          }
        }
        .mb-box-header-label {
          font-weight: 800;
          font-size: 18px;
          color: #fff;
        }
        .mb-box-header-label-bg {
          line-height: 41px;
        }
        .mb-box-header-label-bg-no {
          color: #424242;
        }
      }

      .mb-flooer-header-bg {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 139px;
        height: 41px;
      }
    }

    .mb-box-body {
      margin-top: 14px;
    }
  }
}

//背景图片的统一样式
.mobile {
  .mb-bg-img-1 {
    background-size: 100%;
    background-repeat: no-repeat;
  }
}

.mobile {
  .mb-title-flex-1 {
    display: flex;
    justify-content: flex-start;

    .mb-mb-title-flex-fh-box {
      display: flex;
      flex-direction: column;
      justify-content: center;

      margin-right: 4px;

      .mb-mb-title-flex-fh {
        border-left: 3px solid #a7c655;
        height: 15px;
      }
    }
  }
}

@media (max-width: 415px) {
  .mobile {
    .mb-body {
      .mb-flooer-7 {
        .mb-box-body {
          .mb-box-body-rows {
            .mb-box-body-item {
              width: 72px;
              height: 72px;
              min-height: 72px;
            }
          }
        }
      }
      .mb-flooer-8 {
        .mb-box-body {
          .mb-box-body-rows {
            a {
              // width: 100%;
            }
            .mb-box-body-item {
              // width: 120px;
              // height: 149px;
              // min-height: 149px;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 376px) {
  .mobile {
    .mb-body {
      .mb-flooer-7 {
        .mb-box-body {
          .mb-box-body-rows {
            .mb-box-body-item {
              width: 66px;
              height: 66px;
              min-height: 66px;
            }
          }
        }
      }
      .mb-flooer-8 {
        .mb-box-body {
          .mb-box-body-rows {
            a {
              // width: unset;
            }
            .mb-box-body-item {
              // width: 111px;
              // height: 133px;
              // min-height: 133px;
            }
          }
        }
      }
    }
  }
}
