﻿.renovation-box {
  width: 100%;
  display: block;
  position: relative;
  min-height: calc(100vh - 690px);
  background-color: #eee;
  font-size: 0;
  box-sizing: border-box;
  padding-top: 45px;
}
.renovation-all-box {
  width: 1300px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}
.renovation-title-box {
  width: initial;
  display: inline-block;
}
.renovation-title-en {
  font-size: 48px;
  font-family: "Noto Sans TC";
  font-weight: 700;
  color: #000;
  letter-spacing: 4px;
  position: relative;
  display: inline-block;
  vertical-align: bottom;
}
.renovation-title-en:before {
  content: "-";
  font-size: 48px;
  font-family: "Noto Sans TC";
  font-weight: 700;
  color: #000;
  position: absolute;
  left: -35px;
}
.renovation-title-ch {
  font-size: 20px;
  font-family: "Noto Sans TC";
  color: #8e5c24;
  letter-spacing: 2px;
  display: inline-block;
  vertical-align: bottom;
  line-height: 50px;
}
.renovation-tag-box {
  margin-top: 10px;
}
.renovation-tag {
  font-size: 16px;
  color: #888;
  letter-spacing: 1px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 30px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s linear;
}
.renovation-tag:after {
  content: "";
  width: 0%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #905e27;
  position: absolute;
  transition: all 0.3s linear;
}
.renovation-tag:last-child {
  margin-right: 0;
}
.renovation-info-box {
  width: 100%;
  display: block;
  position: relative;
}
.renovation-info-all-box {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding-top: 30px;
  position: relative;
  z-index: 1;
}
.renovation-info {
  width: 640px;
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  margin-bottom: 20px;
}
.renovation-info:nth-child(2n + 1) {
  margin-left: 0;
}
.renovation-info-img {
  width: 320px;
  height: 280px;
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.renovation-info-img:after {
  /* content: 'BEFORE'; */
  display: block;
  font-size: 16px;
  color: #fff;
  font-family: "Roboto";
  font-weight: 500;
  position: absolute;
  bottom: 0;
  left: 10px;
  letter-spacing: 1px;
}
.renovation-info-img:nth-child(2):after {
  /* content: "AFTER"; */
  left: initial;
  right: 10px;
}
.renovation-info-img:before {
  content: "";
  width: 100%;
  height: 100%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+64,000000+100&0+63,0.8+100 */
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.02) 80%,
    rgba(0, 0, 0, 0.8) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.02) 80%,
    rgba(0, 0, 0, 0.8) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.02) 80%,
    rgba(0, 0, 0, 0.8) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#cc000000',GradientType=0 ); /* IE6-9 */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s linear;
}
.renovation-info:hover .renovation-info-img:before {
  background-color: rgba(255, 255, 255, 0.5);
}
.renovation-info-text-box {
  box-sizing: border-box;
  padding: 5px 10px;
  background-color: #fff;
}
.renovation-info-text-t {
  font-size: 14px;
  color: #905e27;
  font-weight: bold;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.renovation-info-text-t span {
  font-weight: bold;
}
.renovation-info-text {
  font-size: 16px;
  letter-spacing: 1px;
  min-height: 75px;
  max-height: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: all 0.3s linear;
}
.renovation-info-btn {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: calc(50% - 45px);
  display: block;
  width: 20px;
  height: 36px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}
.renovation-l-arrow {
  left: -70px;
}
.renovation-r-arrow {
  right: -70px;
}
.renovation-l-arrow:before,
.renovation-r-arrow:before {
  font-family: "";
  font-size: 20px;
  line-height: 1;
  opacity: 1;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.renovation-l-arrow:before {
  content: "\f053";
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  display: block;
  font-size: 36px;
  transition: all 0.3s linear;
}
.renovation-r-arrow:before {
  content: "\f054";
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  display: block;
  font-size: 36px;
  transition: all 0.3s linear;
}
.renovation-list-box {
  text-align: center;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 30px;
}
.renovation-list-number {
  font-size: 36px;
  color: #000;
  font-family: "Roboto";
  font-weight: 500;
  font-style: italic;
  letter-spacing: 10px;
}
.renovation-list-now {
  font-family: "Roboto";
  font-weight: 500;
  font-style: italic;
}
.renovation-list {
  font-family: "Roboto";
  font-weight: 500;
  font-style: italic;
}

/*---------------------hover-----------------------*/
.renovation-info:hover .renovation-info-text {
  color: #905e27;
}
.renovation-r-arrow:hover:before {
  color: #905e27;
  transform: translateX(10px);
}
.renovation-l-arrow:hover:before {
  color: #905e27;
  transform: translateX(-10px);
}
.renovation-tag:hover,
.renovation-tag.active {
  color: #905e27;
}
.renovation-tag:hover:after,
.renovation-tag.active:after {
  width: 100%;
}

@media only screen and (max-width: 1480px) {
  .renovation-all-box {
    width: 1200px;
  }
  .renovation-info {
    width: 590px;
  }
  .renovation-info-img {
    width: 295px;
    height: 258px;
  }
  .renovation-info-text {
    font-size: 14px;
    min-height: 66px;
    max-height: 66px;
  }
}
@media only screen and (max-width: 1380px) {
  .renovation-all-box {
    width: 1000px;
  }
  .renovation-info {
    width: 490px;
  }
  .renovation-info-img {
    width: 245px;
    height: 214px;
  }
  .renovation-title-en,
  .renovation-title-en:before {
    font-size: 44px;
  }
  .renovation-title-ch {
    line-height: 50px;
  }
}
@media only screen and (max-width: 1180px) {
  .renovation-all-box {
    width: 800px;
  }
  .renovation-info {
    width: 390px;
  }
  .renovation-info-img {
    width: 195px;
    height: 171px;
  }
  .renovation-title-en,
  .renovation-title-en:before {
    font-size: 40px;
  }
  .renovation-title-ch {
    line-height: 46px;
  }
}
@media only screen and (max-width: 1000px) {
  .renovation-all-box {
    width: 750px;
  }
  .renovation-info-btn {
    top: inherit;
    bottom: 26px;
    height: inherit;
  }
  .renovation-r-arrow {
    right: 70px;
  }
  .renovation-l-arrow {
    left: 70px;
  }
  .renovation-r-arrow:before,
  .renovation-l-arrow:before {
    font-size: 32px;
  }
  .renovation-list-number {
    font-size: 32px;
  }
  .renovation-title-en,
  .renovation-title-en:before {
    font-size: 36px;
  }
  .renovation-info-all-box {
    padding-top: 15px;
  }
  .renovation-info {
    width: 365px;
  }
  .renovation-info-img {
    width: 182.5px;
    height: 160px;
  }
  .renovation-title-en:before {
    display: none;
  }
  .rwd-renovation-tag-list {
    width: 100%;
    height: 46px;
    border: 1px solid #d1d1d1;
    background-color: #fff;
    color: #888;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
  }
  .rwd-renovation-tag-list:after {
    content: "";
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
  }
  .renovation-tag {
    font-size: 16px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 5px 0;
  }
  .renovation-tag:hover:after,
  .renovation-tag.active:after {
    display: none;
  }
  .renovation-tag-box {
    width: 100%;
    margin-top: 0;
    position: absolute;
    z-index: 99;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
    padding: 5px 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    display: none;
  }
}
@media only screen and (max-width: 750px) {
  .renovation-box {
    padding-top: 20px;
  }
  .renovation-all-box {
    width: 550px;
  }
  .renovation-info {
    width: 265px;
  }
  .renovation-info-img {
    width: 132.5px;
    height: 116px;
  }
  .renovation-info-text {
    -webkit-line-clamp: 2;
    min-height: 44px;
    max-height: 44px;
  }
  .renovation-r-arrow:before,
  .renovation-l-arrow:before,
  .renovation-list-number {
    font-size: 28px;
  }
  .renovation-list-box {
    padding-bottom: 20px;
  }
  .renovation-info-btn {
    bottom: 15px;
  }
  .renovation-title-en {
    font-size: 32px;
    letter-spacing: 2px;
  }
  .renovation-title-ch {
    line-height: 36px;
    font-size: 14px;
  }
}
@media only screen and (max-width: 550px) {
  .renovation-box {
    padding-top: 20px;
  }
  .renovation-all-box {
    width: 400px;
  }
  .renovation-info {
    width: 100%;
    margin-left: 0;
  }
  .renovation-info-img {
    width: 200px;
    height: 175px;
  }
  .renovation-info-btn {
    bottom: 20px;
  }
  .renovation-r-arrow:before,
  .renovation-l-arrow:before {
    font-size: 22px;
  }
  .renovation-list-number {
    font-size: 26px;
  }
  .renovation-title-en {
    font-size: 28px;
  }
  .renovation-title-ch {
    line-height: 36px;
    font-size: 14px;
  }
}
@media only screen and (max-width: 400px) {
  .renovation-box {
    padding-top: 10px;
  }
  .renovation-all-box {
    width: 300px;
  }
  .renovation-info {
    margin-bottom: 10px;
  }
  .renovation-info-img {
    width: 150px;
    height: 131.25px;
  }
  .renovation-info-btn {
    bottom: 11px;
  }
  .renovation-r-arrow:before,
  .renovation-l-arrow:before {
    font-size: 18px;
  }
  .renovation-list-number {
    font-size: 22px;
  }
  .renovation-title-en {
    font-size: 24px;
  }
  .renovation-title-ch {
    line-height: 32px;
  }
  .renovation-list-box {
    padding-bottom: 10px;
    padding-top: 0;
  }
  .renovation-info-text-t {
    font-size: 12px;
  }
  .renovation-info-text {
    -webkit-line-clamp: 1;
    min-height: 22px;
    max-height: 22px;
    font-size: 12px;
  }
  .renovation-info-img:after {
    font-size: 14px;
  }
  .rwd-renovation-tag-list {
    font-size: 14px;
    line-height: 36px;
    height: 36px;
  }
  .renovation-tag {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1001px) {
  .renovation-title-box,
  .renovation-title-en:before,
  .renovation-tag-box,
  .renovation-info,
  .renovation-list-number {
    opacity: 0;
  }
  .renovation-title-box.anima {
    animation: fadeInDown 1s ease 0s both;
  }
  .renovation-title-box.anima .renovation-title-en:before {
    animation: fadeInLeft 1s ease 0.6s both;
  }
  .renovation-tag-box.anima {
    animation: fade 1s ease 0s both;
  }
  .renovation-info.anima {
    animation: fadeInUp 1s ease 0s both;
  }
  .renovation-list-number.anima {
    animation: fadeInUp 1s ease 0s both;
  }
}
