:root {
  --primary: #ff8200;
  --primary-hov: #ec7900;
  --secondary: #bc0000;
  --secondary-hov: #a20004;
  --success: #28a745;
  --success-hov: #28a745;
  --info: #17a2b8;
  --info-hov: #17a2b8;
  --warning: #ffc107;
  --warning-hov: #ffc107;
  --danger: #dc3545;
  --danger-hov: #dc3545;
  --light: #f8f9fa;
  --light-hov: #f8f9fa;
  --dark: #1e1e1e;
  --dark-hov: #1a1e22;
}

body {
  position: relative;
  color: #232323;
  font-family: "Noto Sans TC", "Poppins", sans-serif;
  overflow-x: hidden !important;
  font-size: 16px;
}
a {
  text-decoration: none;
}

.forpc {
  display: block;
}
.forphone {
  display: none;
}
@media (max-width: 768px) {
  .forpc {
    display: none;
  }
  .forphone {
    display: block;
  }
}

.date-en {
  font-family: "Poppins", "Noto Sans TC", sans-serif;
}
.date-num {
  font-family: "Oswald", "Noto Sans TC", sans-serif;
}

img {
  width: 100%;
}
span.hashtag {
  padding: 3px 10px;
  background-color: #f2f2f2;
  border: 1px solid #1e1e1e;
  color: #1e1e1e;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
p {
  line-height: 1.5;
  word-break: break-word;
  word-wrap: break-word;
  margin: 0;
}
h1 {
  font-size: 3rem;
}
.h2,
h2 {
  font-size: 2.25rem;
}
.h3,
h3 {
  font-size: 1.75rem;
}
.h4,
h4 {
  font-size: 1.5rem;
}
.h5,
h5 {
  font-size: 1.313rem;
}
.h6,
h6 {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
}
.p,
p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .h2,
  h2 {
    font-size: 1.65rem;
  }
  .h3,
  h3 {
    font-size: 1.5rem;
  }
  .h4,
  h4 {
    font-size: 1.313rem;
  }
  .h5,
  h5 {
    font-size: 1.125rem;
  }
  .h6,
  h6 {
    font-size: 1rem;
  }
  p {
    font-size: 0.9rem;
  }
}

.img-square {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.col-20 {
  flex: 0 0 auto;
  width: 20%;
}

/* section 勿刪 ---------- */
.mbr-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* nav toggle animation 勿刪 ---------- */
.navbar-toggler-icon {
  background-image: none !important;
  background-color: var(--bs-gray-800);
  height: 3px;
  width: 25px;
  margin: 10px 0;
  position: relative;
  transition: all 0.35s ease-out;
  transform-origin: center;
}
.navbar-toggler-icon::before {
  display: block;
  background-color: var(--bs-gray-800);
  height: 3px;
  content: "";
  position: relative;
  top: -7px;
  transition: all 0.15s ease-out; /*taken down to hide quicker*/
  transform-origin: center;
}
.navbar-toggler-icon::after {
  display: block;
  background-color: var(--bs-gray-800);
  height: 3px;
  content: "";
  position: relative;
  top: 4px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}
.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after {
  background-color: var(--bs-gray-100);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  opacity: 0;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: rotate(-90deg) translateX(7px);
}

.mbr-parallax-background-fixed::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  background-image: url(../../images/main-bg.jpg);
}

@media (max-width: 768px) {
  .mbr-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .mbr-parallax-background-fixed::before {
    background-image: url(../../images/bg-sm.jpg);
  }
}

/* slogan ---------- */
#slogan {
  padding: 6px;
}

/* time ---------- */
#time .flex {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
#time .flex-ll {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#time form p {
  text-align: center;
}

/* infomation tag ---------- */
.btn-sold a {
  display: contents;
}
.btn-sold .tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 2px 0.5rem;
  background-color: var(--main-color);
  color: var(--white-color);
}
.btn-sold .hot-tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 2px 0.5rem;
  background-color: #0097ff;
  color: var(--white-color);
}

/* infomation shine-button ---------- */
.shine-button {
  position: relative;
  overflow: hidden;
  border: none !important;
}
.shine-button::before {
  content: " ";
  width: 80px;
  height: 300%;
  border: none;
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%) rotate(35deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shine 2s infinite;
}
@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

/* google map iframe setting */
#map .google-maps {
  position: relative;
  padding-bottom: 40%;
  overflow: hidden;
}
#map .google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* photos-carousel */
#photos .photos-carousel .item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
#photos .photos-carousel .item img {
  object-fit: cover;
  object-position: center;
}

/* yt video iframe setting */
.yt-video {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.yt-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* feedback ---------- */
.referrer_box {
  margin: 40px auto;
}
#feedback .owl-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#feedback .owl-carousel button.owl-dot {
  background-color: transparent;
  color: #eff4fe;
  width: 70px;
  height: 30px;
  margin: 0;
  border-radius: 0;
  font-size: 1.25rem;
  align-content: center;
}
#feedback .owl-carousel .owl-dots .owl-dot span {
  width: 70px;
  height: 6px;
  margin: 0;
  background: #ffffff;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 0.2s ease;
  border-radius: 0px;
}
#feedback .owl-carousel .owl-dots .owl-dot.active span,
#feedback .owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--main-color);
}

/* feedback2 ---------- */
.referrer_box {
  margin: 40px auto;
}
#feedback2 .owl-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#feedback2 .owl-carousel button.owl-dot {
  background-color: transparent;
  color: #eff4fe;
  width: 70px;
  height: 30px;
  margin: 0;
  border-radius: 0;
  font-size: 1.25rem;
  align-content: center;
}
#feedback2 .owl-carousel .owl-dots .owl-dot span {
  width: 70px;
  height: 6px;
  margin: 0;
  background: #ffffff;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 0.2s ease;
  border-radius: 0px;
}
#feedback2 .owl-carousel .owl-dots .owl-dot.active span,
#feedback2 .owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--main-color);
}

/* Q&A ---------- */
#qna ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#qna li {
  margin-bottom: 2rem;
}

/* footer ---------- */
#footer {
  z-index: 25;
  padding: 18px 0;
}
#footer p {
  letter-spacing: 1px;
  line-height: 1.5em;
  word-spacing: 1px;
  margin: 0;
}
#footer .scrolltop {
  position: fixed;
  bottom: 7.5%;
  right: 2%;
  width: 55px;
  height: 55px;
  display: none;
  font-size: 30px;
  z-index: 20;
  border-radius: 50%;
}
#footer .scrolltop:hover {
  opacity: 1;
}
#footer .scrolltop .fa {
  vertical-align: middle;
}
#footer .footer_bnextmedia {
  font-weight: 600;
  list-style-type: none;
  padding-left: 0 !important;
  line-height: 1.5;
}
#footer .footer_bnextmedia li {
  padding: 0 5px;
  display: inline-block !important;
}
#footer p {
  font-weight: 300 !important;
}

@media (max-width: 768px) {
  #footer {
    padding: 18px 0 80px 0;
  }
  #footer .scrolltop {
    display: none;
    bottom: 16%;
  }
}

/* owl-nav-style */

.owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: #ff8a00;
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  background-color: #1e1e1e;
  color: #eff4fe;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 0;
  font-size: 1.25rem;
  align-content: center;
}
