.container {
  max-width: 1000px;
}

/*s2*/
.s2 {
  background-color: white;
}

.card-custom-b {
  background-color: #444444;
  transition: box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
  border-radius: 0;
  margin-bottom: 1rem;
}

.card-custom-b:hover {
  box-shadow: -10px 10px 0px #ffcd64;
  margin-bottom: 1rem;
  background-color: #135e9b;
}

/* 响应式卡片布局 */
@media (min-width: 992px) {
  .card-custom-b {
    width: calc(33.333% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .card-custom-b {
    width: calc(50% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .card-custom-b {
    width: calc(50% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;
  }
}

@media (max-width: 575px) {
  .card-custom-b {
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

.btn-d-arrow {
  display: inline-block;
  font-weight: 400;
  width: 40px;
  height: 40px;
  color: white;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-image: url(img/down-arrow.svg);
  background-repeat: no-repeat;
  background-color: transparent;
  border: 1px solid white;
  padding: 0;
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.btn-d-arrow:hover,
.btn-d-arrow:active,
.btn-d-arrow:focus {
  background-color: #ffcd64;
  border: 1px solid #00539c;
  background-image: url(img/down-arrow-hover.svg);
}

.card-footer-custom {
  border-top: none;
  background-color: transparent;
}

/*s3*/
.s3 {
  background-image: url(img/s3-bg.jpg);
  padding-bottom: 5vh;
}

/*s5*/
.s5 {
  background-image: url(img/s5-bg.jpg);
}

.card-custom-img {
  border-radius: 0;
  border: none;
}

.card-custom-img img {
  border-radius: 0;
}

/*s7*/
.tab-pane-custom {
  border: 10px solid #444444;
  box-shadow: -5px 5px 0px #ffba50;
  max-width: 580px;
  margin: 0 auto;
}

.tab-custom {
  width: 100%;
  border: 1px solid #00539c;
}

.tab-custom a {
  display: block;
  padding: 1rem 0;
  text-align: center;
  color: #00539c;
  background-color: white;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.tab-custom a:hover,
.tab-custom a:active,
.tab-custom a:focus {
  background-color: #00539c;
  color: white;
}

.tab-custom .nav-link-c1 {
  width: 100%;
  border-bottom: 1px solid #00539c;
}

.tab-custom .nav-link-c4 {
  width: 100%;
  border-top: 1px solid #00539c;
}

.tab-custom .nav-link-c2 {
  width: 50%;
  border-right: 1px solid #00539c;
}

.tab-custom .nav-link-c3 {
  width: 50%;
}

/*s8*/
.s8 {
  background-image: url(img/s3-bg.jpg);
  padding-bottom: 4vh;
}

.tab-pane-custom2 {
  background-color: white;
  box-shadow: -15px 15px 0px #444444;
}

.nav-pills-custom {
  width: 100%;
}

.nav-item-custom {
  width: 18%;
  margin: 0 0.5rem;
}

.nav-item-custom a {
  color: #444444;
  font-weight: 600;
  border: 1px solid transparent;
  transition: border 0.15s ease-in-out;
}

.nav-item-custom a:hover,
.nav-item-custom a:active,
.nav-item-custom a:focus {
  border: 1px solid #00539c;
}

#carousel-xs .carousel-inner {
  height: 600px;
  overflow-y: hidden;
  background-color: white;
  box-shadow: -15px 15px 0px #444444;
}

#carousel-xs .carousel-control-prev,
#carousel-xs .carousel-control-next {
  padding-bottom: 300px;
}

#carousel-xs .carousel-control-prev .carousel-control-prev-icon {
  background-image: url(img/prev.svg);
  width: 45px;
  height: 45px;
}

#carousel-xs .carousel-control-next .carousel-control-next-icon {
  background-image: url(img/next.svg);
  width: 45px;
  height: 45px;
}

/*s9*/
.carousel-s9-custom {
  box-shadow: -15px 15px #ffba50;
}

/*s10*/
.s10 {
  background-image: url(img/s5-bg.jpg);
  padding: 4vh 0;
}

.s11 .tel {
  color: #282828;
  text-decoration: none;
}

.s11 .tel:hover,
.s11 .tel:focus,
.s11 .tel:active {
  color: #282828;
  text-decoration: none;
}

.s9-carousel-control-prev-custom .carousel-control-prev-icon {
  background-image: url(img/prev.svg);
  width: 45px;
  height: 45px;
}

.s9-carousel-control-next-custom .carousel-control-next-icon {
  background-image: url(img/next.svg);
  width: 45px;
  height: 45px;
}

/*footer*/
footer {
  background-color: #444444;
}

footer a {
  color: white;
  transition: color 0.15s ease-in-out;
}

footer a:hover {
  color: #ffba50;
  text-decoration: none;
}

.footer-nl-custom {
  border-right: 1px solid white;
  padding: 0 1rem;
  margin: 1rem 0;
}

.footer-nl-custom:last-child {
  border-right: none;
}

/* Page loader */
.page-loader {
  background: #2f2f2f;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 9998;
}

.loader {
  background: white;
  position: absolute;
  display: inline-block;
  height: 40px;
  width: 40px;
  left: 50%;
  top: 40%;
  margin: -20px 0 0 -20px;
  text-indent: -9999em;
  border-radius: 100%;
  animation-fill-mode: both;
  animation: ball-scale 1s 0s ease-in-out infinite;
}

.loader-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  margin: auto;
}

@keyframes ball-scale {
  0% {
    transform: scale(0);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Page content animation */
.animate-bottom {
  position: relative;
  animation: animatebottom 1s;
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

#myDiv {
  display: none;
}

/* Body styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei",
    "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 15px;
}

/* Navbar custom */
.navbar-custom {
  background: #2f2f2f;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
  color: white;
}

.navbar-custom .navbar-nav .nav-link {
  color: white;
  transition: 0.2s linear;
}

.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
  color: #ffba50;
}

.navbar-dark .navbar-toggler {
  border-color: transparent;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(246,235,0, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Head section */
[data-slide-to] {
  cursor: pointer;
}

.carousel-indicators-custom {
  position: absolute;
  left: 75%;
  top: 28%;
  z-index: 99;
  display: block;
  justify-content: center;
  padding-left: 0;
  list-style: none;
}

.carousel-inner-custom {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-indicators-custom li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 20px;
  height: 20px;
  margin: 3rem 0;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 100%;
  border: 1px solid #00539c;
  box-shadow: -2px 2px 1px #00539c;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.head-title {
  position: absolute;
  width: 400px;
  z-index: 16;
  right: 0;
  left: 0;
  top: 1%;
  margin: auto;
}

.head-decoline img {
  position: fixed;
  z-index: 14;
}

.head-decoline .b-line {
  width: 300px;
  top: 10%;
  left: 76%;
}

.head-decoline .y-circle {
  width: 320px;
  top: 65%;
  left: 2%;
}

/* Store and gallery styles */
.storeimg {
  width: 100%;
  margin: auto;
}

.galleryPhoto {
  overflow: hidden;
  border-radius: 3px;
  width: 31.5%;
  transition: 0.8s;
}

.card {
  width: 100%;
  background-color: rgba(162, 43, 43, 0.873);
  border-radius: 5px;
  padding: 3px;
  margin: 3px 0;
  transition: 0.7s;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;

}

.locmain {
  background-color: rgb(255, 244, 163);
}

.locfooter {
  position: fixed;
  bottom: 0;
  opacity: 0.9;
}

/* Responsive styles */
@media (min-width: 992px) and (max-width: 1200px) {
  .carousel-inner-custom {
    height: 56vh;
  }

  .head-decoline .b-line {
    width: 200px;
    top: 10%;
    left: 73%;
  }

  .head-decoline .y-circle {
    width: 203px;
    top: 50%;
    left: 2%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .nav-item-custom {
    width: 16%;
    margin: 0.5rem;
  }

  #carousel-xs .carousel-inner {
    height: 740px;
  }

  .carousel-inner-custom {
    height: 100%;
    max-height: 100vh;
  }

  .head-decoline .b-line {
    width: 250px;
    top: 25%;
    left: 60%;
  }

  .head-decoline .y-circle {
    width: 230px;
    top: 80%;
    left: 2%;
  }

  /* Background overrides for smaller screens */
  .s3,
  .s8 {
    background-image: none;
    background-color: #ffba50;
    padding-bottom: 5vh;
  }

  .s5,
  .s10 {
    background-image: none;
    background-color: #444444;
  }

  .s10 {
    padding-bottom: 2vh;
  }
}

@media (min-width: 500px) and (max-width: 767px) {
  .nav-item-custom {
    width: 46%;
    margin: 0.5rem;
  }

  .carousel-indicators-custom {
    left: 70%;
  }

  .carousel-indicators-custom li {
    width: 22px;
    height: 22px;
    margin: 1rem 0 2rem 0;
  }

  #carousel-xs .carousel-inner {
    height: 650px;
  }

  .carousel-inner-custom {
    height: 100%;
    max-height: 100vh;
  }

  .head-decoline .b-line {
    width: 150px;
    top: 25%;
    left: 70%;
  }

  .head-decoline .y-circle {
    width: 130px;
    top: 80%;
    left: 2%;
  }

  /* Background overrides for smaller screens */
  .s3,
  .s8 {
    background-image: none;
    background-color: #ffba50;
    padding-bottom: 3vh;
  }

  .s5,
  .s10 {
    background-image: none;
    background-color: #444444;
  }

  .s10 {
    padding-bottom: 2vh;
  }
}

@media (max-width: 500px) {
  .nav-item-custom {
    width: 40%;
    margin: 0.5rem;
  }

  .carousel-indicators-custom {
    left: 70%;
  }

  .carousel-indicators-custom li {
    width: 22px;
    height: 22px;
    margin: 1rem 0 2rem 0;
  }

  #carousel-xs .carousel-inner {
    height: 520px;
  }

  .carousel-inner-custom {
    height: 100%;
    max-height: 100vh;
  }

  .head-decoline .b-line {
    width: 80px;
    top: 35%;
    left: 70%;
  }

  .head-decoline .y-circle {
    width: 80px;
    top: 60%;
    left: 2%;
  }

  .head-title {
    width: 270px;
    top: 80px;
  }

  /* Background overrides for smaller screens */
  .s3,
  .s8 {
    background-image: none;
    background-color: #ffba50;
    padding-bottom: 3vh;
  }

  .s5,
  .s10 {
    background-image: none;
    background-color: #444444;
  }

  .s10 {
    padding-bottom: 2vh;
  }
}