/* Consolidated shared UI styles. 
   Generated by merging legacy component stylesheets. */


/* ===== Dropdown menu styles (from dropdown.css) ===== */

.div-inline{
    display:inline-block;
}

.float-right{
    float: right;
    padding: 10px 5px;
    color: #000;
    width: 100%;
}

.div-inline{
    position:absolute; 
    top:28%; 
    right:5%; 
    z-index: 10001;
}

@media (max-width: 768px){
    .navbar-toggle{
        margin-right: 50px;
    }

    .btn{
        padding: 6.5px 9px;
    }
    .div-inline{
        top: 12px;
        right: 2%;
    }

    .navbar-collapse{
        margin-top: 10px;
    }
}

.dropdown-item{
    border-bottom: 0.5px solid rgba(0,0,0,0.2);
}

.dropdown-menu{
    transition: all 0.4s ease-in-out;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: 0px auto black;
    outline-offset: -2px;
}

.fa-globe {
    font-size: 24px;
    color: #000;
    pointer-events: none;
}

.btn{
    background-color: transparent;
}


/* ===== Language picker styles (from language-dropdown.css) ===== */

.dropbtn {
  background-color: transparent;
  color: #717275;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  top: -10px;
  position: absolute;
  right: 0;
  margin-right: 2%;
}

.dropbtn:hover {
  color: #000000;
  transform: scale(1.1);
}

.dropdown {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  width: 100%;
  max-width: 1600px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
    display: block;
    top: 55px;
    right: 25px;
}

.dropbtn{
  margin-top: 27px;
}

@media screen and (max-width: 768.5px) {
    .dropbtn{
        top: -8px;
        margin-top: 25px;
        margin-right: 3%;
    }
    .dropdown-power{
      margin-top: 0px;
    }
}


/* ===== Swiper slider styling (from index-swiper.css) ===== */

[data-glide-resize] {
  position: relative;
}

[data-glide-resize] .glide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-glide-resize] .glide__slide > * {
  max-width: 100%;
  max-height: 100%;
}

[data-glide-resize] .glide__slide img {
  height: 100%;
  width: auto;
  object-fit: contain;
}


.slider-container {
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}
.slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}
.slide-content .card {
  width: 320px;
  border-radius: 25px 25px 0 0;
  background-color: #fff;
}
.slide-content .image-content,
.slide-content .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.slide-content .image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
  height: 200px;
}
.slide-content .overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #e4e4e4;
  border-radius: 25px 25px 0 25px;
}

.slide-content .card-image {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #e4e4e4;
  border-radius: 25px 25px 0 0;
}
.slide-content .card-image .card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
}
.date {
  font-size: 19px;
  letter-spacing: 0px;
  line-height: 1.1;
  color: #000000;
  font-weight: 400;
  padding-top: 10px;
}
.description {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #000000;
  font-weight: 600;
  width: 95%;
}
.button {
  border: none;
  font-size: 19px;
  color: #000;
  padding: 10px 50px;
  background-color: #ffffff;
  border-radius: 40px;
  border: #000 solid 1px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover {
  background: #000;
  color: #ffffff;
}

.swiper-navBtn {
  color: #606060;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover {
  color: #000000;
}
.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 40px;
}
.swiper-button-next {
  right: 0;
}
.swiper-button-prev {
  left: 0;
}
.swiper-pagination-bullet {
  background-color: #606060;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #000000;
}

@media screen and (max-width: 1000px) {
  .button {
    font-size: 19px;
    color: #000;
    padding: 5px 30px;
  }
}

@media screen and (max-width: 768.5px) {
  .index-event {
    height: 840px;
  }
  .slide-content {
    margin: 0 10px;
  }
  .swiper-navBtn {
    display: none;
  }
}

@media screen and (max-width: 599.5px) {
  .index-event {
    height: 800px;
  }
  .slider-container {
    padding: 0 0 40px 0;
  }
  .slide-content {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 4%;
  }
  .description {
    font-size: 25px;
  }
}

@media screen and (max-width: 500px) {
  .index-event {
    height: 700px;
  }
  .index-event .index-event-word-wrapper {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 400px) {
}

@media screen and (max-width: 350px) {
  .index-event {
    height: 650px;
  }
  .slide-content {
    padding: 0 2%;
  }
  .slide-content {
    border-radius: 25px 25px 0 0;
  }
  .button {
    font-size: 19px;
    color: #000;
    padding: 5px 20px;
  }
  .description {
    width: 100%;
  }
}


/* ===== Form pop-up styling (from pop-alert.css) ===== */

section#popAlert {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0);

  transition: 1s top cubic-bezier(0.175, 0.885, 0.32, 1.3),
    0.1s background-color linear 0s;
  padding-top: 3.5%;
}

section#popAlert.active {
  top: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: 0.6s top cubic-bezier(0.175, 0.885, 0.32, 1),
    0.3s background-color linear 0.3s;
}

section#popAlert aside {
  position: relative;
  width: 550px;
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.6);
  margin: 0 5%;
  max-height: 75vh;
  overflow: scroll;
}

section#popAlert aside h2 {
  font-size: 38px;
  color: #00394E;
  margin: 0 auto;
  white-space: nowrap;
  font-weight: 600;
}

section#popAlert aside h5 {
  color: #00394e;
  margin-top: 5px;
  font-weight: 600;
}

section#popAlert aside .popAlert-description {
  font-size: 21px;
  margin: 5px 0 5px 0;
  text-align: start;
  display: block;
  line-height: 1.5;
}

section#popAlert aside .popAlert-description.show {
  display: none;
}

section#popAlert aside .formOpen {
  text-align: left;
}

section#popAlert aside a {
  font-size: 21px;
  margin: 0 0 0 0;
  display: block;
}

section#popAlert aside .popAlert-contact-a {
  width: 50%;
  text-align: center;
}

.popAlert-link section#popAlert aside button[type="button"] {
  width: 50px;
  font-size: 25px;
  font-weight: 600;
  margin-top: -5px;
  border: none;
  padding: 5px 0;
  cursor: pointer;
  background-color: #ffffff;
  transition: 0.3s all ease-in-out;
  color: #000;
}

section#popAlert i {
  line-height: 2;
}

section#popAlert a {
  color: #000000;
}

section#popAlert a:hover .pop-contact-text {
  color: #000000;
  text-decoration: underline;
}

.popAlert-first-row {
  display: flex;
  align-items: center; /* 垂直置中 */
  justify-content: center;
}

section#popAlert aside #closeButton {
  position: absolute;
  right: 20px;
  top: 25px;
  margin-left: auto;
  border: none;
  background: #ffffff;
  font-size: 28px;
  font-weight: 400;
}

section#popAlert aside .popAlert-link {
  font-weight: 500;
}

section#popAlert aside .test-drive-book-link {
  margin-top: 3px;
  pointer-events: auto;
}

section#popAlert aside .test-drive-book-link input{
  border-style: solid;
}

section#popAlert aside .popAlert-form {
  text-align: left;
  display: block;
}

section#popAlert aside .popAlert-form input, label {
  line-height: 1.5;
}

section#popAlert aside .popAlert-form.show {
  display: block;
}

.popAlert-form label {
  font-size: 19px;
  margin-top: 10px;
}

.popAlert-form-breakline {
  display: none;
}

.popAlert-form button {
  border: #000000 1px solid;
  background-color: #000000;
  color: #ffffff;
  border-radius: 10px;
  font-size: 19px;
  margin-top: 20px;
  transition-duration: 0.4s;
}

.popAlert-form button:hover {
  border: #000000 1px solid;
  background-color: #ffffff;
  color: #000000;
}

.popAlert-contact-us {
  display: flex;
}

@media screen and (max-width: 450px) {
  section#popAlert aside h5 {
    font-size: 18px;
  }
  section#popAlert aside p {
    font-size: 18px;
  }
  section#popAlert aside button[type="button"] {
    font-size: 21px;
  }
  section#popAlert aside a {
    font-size: 18px;
  }
  .popAlert-form label {
    font-size: 18px;
  }
  .popAlert-form-breakline {
    display: block;
  }
  section#popAlert aside .popAlert-description {
    font-size: 18px;
  }
}

@media screen and (max-width: 500px) {
  .popAlert-contact-us {
    flex-direction: column;
  }
  section#popAlert aside .popAlert-contact-a {
    width: 100%;
    text-align: left;
  }
  section#popAlert {
    padding-top: 10%;
  }
}

@media screen and (max-width: 400px) {
  section#popAlert aside h2 {
    font-size: 28px;
  }
  section#popAlert aside h5 {
    font-size: 18px;
  }
  section#popAlert aside p {
    font-size: 18px;
  }
  section#popAlert aside button[type="button"] {
    font-size: 22px;
    margin-top: -5px;
  }
  section#popAlert aside a {
    font-size: 18px;
  }
  section#popAlert aside .popAlert-description {
    font-size: 18px;
  }
}

@media screen and (max-width: 310px) {
  section#popAlert aside #closeButton {
    font-size: 20px;
    top: 35px;
  }
  section#popAlert aside button[type="button"] {
    font-size: 22px;
    margin-top: -8px;
  }
  section#popAlert aside h2 {
    font-size: 9vw;
  }
  section#popAlert aside h5 {
    font-size: 4.5vw;
  }
  section#popAlert aside p {
    font-size: 5vw;
    margin: 5vw 0 3vw 0;
  }
  section#popAlert aside button[type="button"] {
    font-size: 7vw;
  }
  section#popAlert aside a {
    font-size: 5vw;
  }
  .popAlert-form label {
    font-size: 5vw;
  }
  section#popAlert aside .popAlert-description {
    font-size: 5vw;
  }
}

/*---------------------------------------------------------------*/
section#popAlert2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0);

  transition: 1s top cubic-bezier(0.175, 0.885, 0.32, 1.3),
    0.3s background-color linear 0.3s;
}

section#popAlert2.active {
  top: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: 0.6s top cubic-bezier(0.175, 0.885, 0.32, 1),
    0.1s background-color linear 0.3s;
}

section#popAlert2 aside {
  width: 550px;
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.6);
  margin: 0 5%;
}

section#popAlert2 aside h2 {
  font-size: 32px;
  color: #000000;
  margin-left: auto;
  white-space: nowrap;
}

section#popAlert2 aside p {
  font-size: 21px;
  margin: 30px 0 5px 0;
  text-align: start;
}

section#popAlert2 i {
  line-height: 2;
}

section#popAlert2 a {
  color: #000000;
}

section#popAlert2 a:hover .pop-contact-text {
  color: #000000;
  text-decoration: underline;
}

section#popAlert2 aside button[type="button"] {
  width: 50px;
  font-size: 25px;
  font-weight: 600;
  margin-top: -5px;
  border: none;
  padding: 5px 0;
  cursor: pointer;
  background-color: #ffffff;
  transition: 0.3s all ease-in-out;
  color: #000;
}

.popAlert2-first-row {
  display: flex;
  align-items: center; /* 垂直置中 */
  justify-content: center;
}

section#popAlert2 aside #closeButton {
  position: relative;
  right: 0;
  margin-left: auto;
}

@media screen and (max-width: 450px) {
  section#popAlert2 aside h2 {
    font-size: 28px;
  }
  section#popAlert2 aside p {
    font-size: 18px;
  }
  section#popAlert2 aside button[type="button"] {
    font-size: 21px;
  }
}

@media screen and (max-width: 400px) {
  section#popAlert2 aside h2 {
    font-size: 24px;
  }
  section#popAlert2 aside p {
    font-size: 18px;
  }
  section#popAlert2 aside button[type="button"] {
    font-size: 22px;
    margin-top: -5px;
  }
}

@media screen and (max-width: 400px) {
  section#popAlert2 aside h2 {
    font-size: 24px;
  }
  section#popAlert2 aside p {
    font-size: 18px;
  }
  section#popAlert2 aside button[type="button"] {
    font-size: 22px;
    margin-top: -5px;
  }
}

@media screen and (max-width: 310px) {
  section#popAlert2 aside #closeButton {
    padding-left: 40px;
  }
  section#popAlert2 aside button[type="button"] {
    font-size: 22px;
    margin-top: -8px;
  }
  section#popAlert2 aside h2 {
    font-size: 7vw;
  }
  section#popAlert2 aside p {
    font-size: 5vw;
    margin: 5vw 0 3vw 0;
  }
  section#popAlert2 aside button[type="button"] {
    font-size: 7vw;
  }
}


/* ===== Submit loading spinner styling (from submit-load.css) ===== */

.loading-screen {
    background-color: #00000033;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
}

.loading-wrapper {
  position: fixed;
  left: 50%;
  top: 50%;
  margin-top: -50px;
  margin-left: -50px;
  width: 100px;
  height: 100px;
  text-align: center;
  scale: 1;
  display: block;
}

.loading-wrapper:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  margin: auto;
  width: 100px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-filter: blur(2px);
  filter: blur(2px);
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  z-index: 1;
  -moz-animation: shadow 0.5s ease infinite alternate;
  -webkit-animation: shadow 0.5s ease infinite alternate;
  animation: shadow 0.5s ease infinite alternate;
}
.loading-wrapper .loading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.1em;
  display: block;
  color: #FFF;
  position: relative;
  top: 5px;
  left: -15px;
  z-index: 2;
  white-space: nowrap;
  -moz-animation: text 0.5s ease infinite alternate;
  -webkit-animation: text 0.5s ease infinite alternate;
  animation: text 0.5s ease infinite alternate;
}

.box-folding {
  width: 50px;
  height: 50px;
  display: inline-block;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  font-size: 0;
}
.box-folding span {
  position: relative;
  width: 25px;
  height: 25px;
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  display: inline-block;
}
.box-folding span::before {
  content: "";
  background-color: #b8b8b8;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 25px;
  height: 25px;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -moz-animation: folding 2.5s infinite linear both;
  -webkit-animation: folding 2.5s infinite linear both;
  animation: folding 2.5s infinite linear both;
}
.box-folding .box2 {
  -moz-transform: rotateZ(90deg) scale(1.1);
  -ms-transform: rotateZ(90deg) scale(1.1);
  -webkit-transform: rotateZ(90deg) scale(1.1);
  transform: rotateZ(90deg) scale(1.1);
}
.box-folding .box2::before {
  -moz-animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background-color: #f2f2f2;
}
.box-folding .box3 {
  -moz-transform: rotateZ(270deg) scale(1.1);
  -ms-transform: rotateZ(270deg) scale(1.1);
  -webkit-transform: rotateZ(270deg) scale(1.1);
  transform: rotateZ(270deg) scale(1.1);
}
.box-folding .box3::before {
  -moz-animation-delay: 0.9s;
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
  background-color: #f2f2f2;
}
.box-folding .box4 {
  -moz-transform: rotateZ(180deg) scale(1.1);
  -ms-transform: rotateZ(180deg) scale(1.1);
  -webkit-transform: rotateZ(180deg) scale(1.1);
  transform: rotateZ(180deg) scale(1.1);
}
.box-folding .box4::before {
  -moz-animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  background-color: #e6e6e6;
}

@-moz-keyframes folding {
  0%,
  10% {
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
@-webkit-keyframes folding {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
@keyframes folding {
  0%,
  10% {
    -moz-transform: perspective(140px) rotateX(-180deg);
    -ms-transform: perspective(140px) rotateX(-180deg);
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -moz-transform: perspective(140px) rotateX(0deg);
    -ms-transform: perspective(140px) rotateX(0deg);
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -moz-transform: perspective(140px) rotateY(180deg);
    -ms-transform: perspective(140px) rotateY(180deg);
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@-moz-keyframes text {
  100% {
    top: 10px;
  }
}
@-webkit-keyframes text {
  100% {
    top: 10px;
  }
}
@keyframes text {
  100% {
    top: 10px;
  }
}
@-moz-keyframes shadow {
  100% {
    bottom: -18px;
    width: 100px;
  }
}
@-webkit-keyframes shadow {
  100% {
    bottom: -8px;
    width: 100px;
  }
}
@keyframes shadow {
  100% {
    bottom: -28px;
    width: 100px;
  }
}


/* ===== Footer layout styling (from footer.css) ===== */

/****************************************/
.footer-section {
  position: relative;
  max-width: calc(10% + 3440px);
  margin: 0 auto;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-text-wrapper {
  position: relative;
  width: 100%;
  max-width: 1224.5px;
  height: min-content;
  margin-top: 100px;
  margin-bottom: 140px;
  z-index: 2;
  padding-left: 5%;
  padding-right: 5%;
}

.footer-text-wrapper h1 {
  font-size: 27px;
  letter-spacing: 6px;
  line-height: 1.81;
  color: #ffffff;
  font-weight: 400;
  font-family: "Outfit";
  letter-spacing: 6px;
}

.footer-text-wrapper .contact-us-info {
  display: grid;
  grid-template-columns: auto auto auto;
}

.footer-text-wrapper h2 {
  color: #ffffff;
  font-size: 28px;
}

.footer-section i {
  font-size: 30px;
  color: #b8b8b8;
}

.footer-section hr {
  opacity: 1;
  color: #ffffff;
  display: block;
  max-width: 3440px;
  width: 100%;
  border-color: #4a4a4a;
  background-color: #c9c9c9;
}

.footer-section .footer-description {
  font-size: 20px;
  line-height: 2.9;
  color: #ffffff;
  font-weight: 250;
  font-family: "Outfit";
}

.footer-text-wrapper .location-info {
  display: grid;
  grid-template-columns: auto;
}

.footer-breakline {
  display: none;
}

@media (max-width: 1024px) {
  .footer-text-wrapper {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .footer-text-wrapper .contact-us-info {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: auto auto auto;
  }
  .footer-text-wrapper {
    margin-top: 70px;
  }
}

@media (max-width: 567.5px) {
  .footer-breakline {
    display: inline;
  }
  .footer-text-wrapper {
    margin-top: 50px;
  }
}
