/* tabs */
.tabs-wrap {
  margin: 40px 0;
  padding: 0 100px;
}
.tabs {
  background: #fff;
  padding: 30px;
}

.tabs-title {
  position: relative;
  font-size: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.tabs-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 70px;
  margin: auto;
  border-bottom: 2px solid #67a9fb;
}

.tab {
  display: flex;
  padding: 20px;
  border-top: 1px dashed #cacaca;
}

.tab-title {
  width: 80px;
  height: 40px;
  line-height: 40px;
  margin-right: 20px;
  font-size: 16px;
}

.tab-list {
  flex: 1;
  font-size: 0;
}

.tab-item {
  display: inline-block;
  cursor: pointer;

  margin: 0 20px 25px 0;
  color: #626161;
  border: 1px solid #c1c1c1;
  border-radius: 20px;
  font-size: 14px;
}

.tab-item:hover {
  background: #67a9fb;
  color: #fff;
}

.tab-item:hover a {
  color: #fff;
}

.tab-item a {
  display: inline-block;
  color: #626262;
  height: 40px;
  line-height: 40px;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .tab-title {
    display: none;
  }

  .tab {
    padding: 20px 0;
  }

  .tabs-wrap {
    padding: 0;
  }

  .tab-item {
    height: 30px;
    line-height: 30px;
    margin: 0 10px 15px 0;
    color: #626161;
    border: 1px solid #c1c1c1;
    border-radius: 15px;
    font-size: 14px;
    padding: 0 15px;
  }

  .tab-item a {
    height: 30px;
    line-height: 30px;
    padding: 0;
  }
}

/* sort */
.sort {
  padding: 0 100px;
}

.sort-x {
  background: #fff;
  font-size: 0;
}

.sort-btn {
  display: inline-block;
  width: 200px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 14px;
}

.sort-btn:hover {
  cursor: pointer;
  background: #67a9fb;
  color: #fff;
}

@media (max-width: 768px) {
  .sort {
    padding: 0;
  }

  .sort-btn {
    width: 33.33%;
  }
}

/* main */
.main {
  overflow: hidden;
  padding: 0 100px;
  margin-top: 10px;
}

.main-left {
  float: left;
  width: 900px;
}

.main-item {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 10px;
  margin-bottom: 10px;
}

.img-wrap,
.img-wrap-mzhly {
  width: 286px;
  height: 206px;
}

.img {
  width: 100%;
  height: 100%;
}

.content {
  flex: 1;
  margin: 0 20px;
}

.content-title {
  font-size: 16px;
  color: #fa7900;
  margin-top: 15px;
}

.content-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 20px 0;
  color: #747474;
}

.bed {
  color: #747474;
}

.price {
  width: 190px;
  margin: 50px 20px 0 0;
}

.price-txt {
  color: #fa7900;
  font-size: 30px;
  white-space: nowrap;
}

.content-link,
.content-link-mzhly {
  display: block;
  color: #4e9bfa;
  width: 100px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid;
  margin: 20px auto 0;
}

@media (max-width: 1200px) {
  .main-left {
    width: auto;
  }
}

@media (max-width: 768px) {
  .main {
    padding: 0;
  }

  .img-wrap,
  .img-wrap-mzhly {
    width: 100%;
  }

  .main-item {
    flex-direction: column;
  }

  .content {
    margin: 0;
  }

  .price {
    width: auto;
    margin: 20px 0 0 0;
  }

  .price-txt {
    color: #fa7900;
    font-size: 20px;
  }

  .content-link,
  .content-link-mzhly {
    margin: 20px 0 0;
  }
}
