/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
:root {
  --animate-duration: 200ms;
  --tw-primary-color: #4b70ee;
  --tw-hover-bg-color: #419dfd;
  --tw-secondary-color: #6ab0fd;
  --tw-secondary-color-rgb: 106, 176, 253;
}

* {
  box-sizing: border-box;
}

html,
body {
  -webkit-tap-highlight-color: transparent;
  font-family: "宋体", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, arial, sans-serif;
  background-color: #fff;
}

textarea {
  font-family: "";
}

input {
  outline: none;
}

.tw-hover-big {
  transition: all var(--animate-duration) ease-in-out;
}

.tw-hover-big:hover {
  transform: scale(1.05);
}

.tw-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tw-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.1);
}

.tw-picture-source-box {
  display: block;
  width: 100%;
  position: relative;
}

.tw-picture-source-box .picture,
.tw-picture-source-box img {
  display: block;
}

.tw-picture-source-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-image-box {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.responsive-image-box .responsive-box {
  padding-top: 50%;
  position: relative;
  display: block;
}

.responsive-image-box .responsive-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-title-wrapper {
  text-align: center;
  margin: 60px 0 20px 0;
}

.floor-title-wrapper .floor-title {
  font-family: Montserrat-Bold;
  font-size: 24px;
  text-transform: capitalize;
  white-space-collapse: collapse;
  color: var(--tw-primary-color);
}

.floor-title-wrapper .floor-en {
  color: rgb(17, 17, 17);
  font-family: Montserrat-Bold;
  font-size: 20px;
  margin-top: 10px;
  text-transform: capitalize;
  white-space-collapse: collapse;
}

.swiper-text-container {
  position: absolute;
  display: flex;
  justify-items: center;
  align-items: center;
  color: #fff;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.swiper-text-container .text-box {
  flex-grow: 1;
  padding: 5%;
}

.swiper-text-container .text-box.fadeIn-animated {
  display: none;
  visibility: hidden;
  animation: moveAndFadeIn 0.8s ease-in-out forwards;
}

@keyframes moveAndFadeIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.flex {
  display: flex;
}

.grow {
  flex-grow: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.ml-auto {
  margin-left: auto;
}

.w-full {
  width: 100%;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.extend {
  position: relative;
}

.bold {
  font-weight: bold;
}

.extend::after {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  right: 5px;
  bottom: -10px;
}

.line2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
}

.line3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
}

.rotate-180 {
  transform: rotate(180deg);
}

.swiper-flybox {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: rgb(var(--tw-secondary-color-rgb), 0.56);
  border-radius: 8px;
  padding: 20px;
  z-index: 1;
  color: #fff;
  text-align: center;
  width: 85%;
  display: none;
  visibility: hidden;
  animation: translateCenter 0.8s ease-in-out forwards;
}

.swiper-flybox .title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.swiper-flybox .sub-title {
  font-size: 14px;
  line-height: 1.3em;
  color: #fff;
}

.nav-swiper .swiper-slide {
  padding: 8px 12px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: auto;
}

.nav-swiper .swiper-slide.active {
  background-color: var(--tw-primary-color);
  color: #fff;
}

@keyframes translateCenter {
  0% {
    transform: translate(-50%, -50%) translateY(100%);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
  }
}

.tw-form .row {
  display: flex;
  flex-wrap: wrap;
}

.tw-form .form-item {
  display: flex;
  flex-direction: column;
  padding: 10px;
  flex-grow: 1;
  flex-basis: 0;
  flex-shrink: 0;
  max-width: 450px;
  min-width: 220px;
}

.tw-form .form-item label {
  margin-bottom: 5px;
  flex-shrink: 0;
}

.tw-form .form-item input {
  font-size: 14px;
  min-height: 40px;
  padding: 5px 14px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #888;
  outline: none;
}

.tw-form .form-item textarea {
  border-radius: 3px;
  padding: 5px 14px;
  border: 1px solid #888;
  outline: none;
  font-size: 14px;
}

.tw-form .form-item select {
  font-size: 14px;
  min-height: 40px;
  padding: 5px 14px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #888;
  outline: none;
  width: 100%;
}

.tw-form .form-item .required {
  color: red;
  margin-left: 3px;
}

.tw-form .submit-btn {
  width: 120px;
  height: 40px;
  background-color: #348bce;
  color: #fff;
  line-height: 40px;
  text-align: center;
  margin: 30px auto;
  font-weight: bold;
  border-radius: 5px;
}

@media(max-width: 768px) {
  .mobile-show {
    display: block;
  }
  .mobile-hide {
    display: none;
  }
}


@media (max-width: 768px) {
  .swiper-text-container p {
    font-size: 16px !important;
  }
}

@media (min-width: 768px) {
  .floor-title-wrapper .floor-title {
    font-size: 38px;
    margin-bottom: 8px;
  }

  .floor-title-wrapper .floor-en {
    margin-top: 10px;
  }

  .swiper-flybox .title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .swiper-flybox .sub-title {
    font-size: 16px;
  }

  .nav-swiper .swiper-slide {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .swiper-flybox .title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .swiper-flybox .sub-title {
    font-size: 24px;
  }
}
