/* 麵包屑導航樣式 */
.breadcrumb-section {
  background-color: transparent;
  padding: 0;
  border-bottom: none;
  margin-top: -25px;
}

@media (max-width: 767px) {
  .breadcrumb-section {
    margin-top: 0;
  }
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6c757d;
  font-weight: bold;
  margin: 0 0.5rem;
}

.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
  font-weight: 500;
}

/* 響應式麵包屑 */
@media (max-width: 768px) {
  .breadcrumb-section {
    padding: 0.75rem 0;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
}

html{
  scroll-behavior:smooth
}
body {
  background-color: #f2f2f2;
  color: #595757;
  font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  width: 100%;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 30px;
}
p {
  color: #595757;
}
a,
a:hover {
  color: #595757;
  text-decoration: none;
}
:focus-visible {
  outline: 0;
}
select {
  background: url('https://api.iconify.design/entypo/chevron-small-down.svg?color=%239fa0a0&width=24') no-repeat;
  background-position: right 8px center;
  /* Change the px value here to change the distance */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 6px 32px 6px 12px !important;
}
.custom-select {
  background: url('https://api.iconify.design/bx/caret-down.svg') no-repeat right 12px center / contain;
  background-size: 18px;
  /* Change the px value here to change the distance */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 6px 32px 6px 12px !important;
}
hr {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-color: #727171;
}




body.main {
  padding-top: 0;
}
@media (min-width: 1680px) {
  .container {
    min-width: 1600px!important;
  }
}
.navbar {
  background-color: #3e3a39;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 9;
}
body.main .navbar {
  background-color: rgba(0, 0, 0, 0.6);
}
.nav-pills > .nav-item {
  /*padding: 0.75rem 2rem; 20220906修改*/
  padding: 0 2rem;
}
@media(max-width:991px) {
  .nav-pills > .nav-item {
    padding: 0 1rem; /*20220906新增*/
  }
}
.nav-pills > .nav-item > .nav-link {
  background-color: transparent;
  color: white;
  font-size: 18px;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
}
@media(min-width:768px) {
  body {
    padding-top: 100px;
  }
}
@media(min-width: 992px) {
  body {
    padding-top: 150px;
  }
  .navbar {
    /* height: 150px;  20220906修改 */
    padding: 0;
  }
  .nav-pills > .nav-item > .nav-link {
    background-color: transparent;
    display: table-cell;
    /* height: 150px;  20220906修改 */

    /* 20220912修改 */
    /* 20220912修改 */
    padding: 1.125rem 0; /* 20220906新增 *//* 20220912修改 */
    /* 20220912修改 */
    /* 20220912修改 */


    border-top: 8px solid transparent;
    vertical-align: middle;
  }
  .nav-pills .nav-link.active{
    border-top: 8px solid #efefef;
  }
}
.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
  background-color: transparent;
  color: white !important;
}
.link-en {
  color: #b5b5b6;
}
.img-logo {
  width: 214px;
  height: 68px;
}
/* .navbar-nav.nav-pills {
  position: relative;
} */
.navbar-nav .nav-item.fulldown {
  position: static;
}
.extra-arrow {
  display: none;
  justify-content: center;
  align-items: center;
}
.extra-arrow.show {
  display: flex;
  justify-content: center;
  align-items: center;
}
body.main .navbar-nav .dropdown-menu {
  background-color: rgba(0,0,0,.5);
  color: white;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0;
  list-style: none;
}
.navbar-nav .dropdown-menu {
  background-color: #898989;
  color: white;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0;
  list-style: none;
}
.navbar-nav .dropdown-menu > .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar-nav .dropdown-menu > .container > .row {
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    height: calc(100vh - 180px);
    overflow-y: auto;
  }
}
@media(max-width: 767px) {
  body {
    padding-top: 100px;
  }
  .navbar {
    background-color: rgba(62, 58, 57, 1);
    /* background-color: rgba(0, 0, 0, .75); */
  }
  .nav-pills > .nav-item {
    padding: 1.125rem 0;
  }
  .show .navbar-nav {
    height: 100vh;
    overflow-y: auto;
  }
  .navbar-nav .dropdown-menu {
    width: 100%;
  }
  .extra-arrow.show {
    display: none;
  }
}
@media (min-width: 768px) {
  .col-20 {
    flex: 0 0 20%;
    max-width: 20%;
  }  
}
.navbar-nav .dropdown-item {
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 1rem 0;
  white-space: break-spaces;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: transparent;
  color: white;
  text-decoration: none;
}
.navbar-nav .dropdown-item.active, 
.navbar-nav .dropdown-item:active {
  background: transparent;
  color: white;
  text-decoration: none;
}
/* 
.dropdown-item.active:before, 
.dropdown-item:active:before {
  content: url('https://api.iconify.design/emojione-monotone/heavy-check-mark.svg?color=white&width=22');
  padding-right: 5px;
} */
.dropdown-item-en {
  font: 18px Arial;
  font-weight: bold;
}
.multi-column-dropdown {
  list-style: none;
}
.multi-column-dropdown li {
  padding: .25rem 0;
}
.multi-column-dropdown li a {
  color: white;
  font-size: 18px;
}
.multi-column-dropdown li a::before {
  opacity: 0;
  content: url('https://api.iconify.design/emojione-monotone/heavy-check-mark.svg?color=white&width=22');
  padding-right: 5px;
}
.multi-column-dropdown li a.active::before,
.multi-column-dropdown li a:hover::before {
  opacity: 1;
}

/* Dropdown items with images */
.dropdown-item-with-image {
  display: flex !important;
  align-items: center;
  padding: 0.5rem 0 !important;
  text-decoration: none;
  color: white !important;
  transition: all 0.3s ease;
}

.dropdown-item-with-image:hover {
  background: transparent !important;
  color: white !important;
  text-decoration: none;
  transform: translateX(5px);
}

.dropdown-item-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.dropdown-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dropdown-item-text {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile responsive styles for dropdown items */
@media (max-width: 767px) {
  .dropdown-item-with-image {
    padding: 0.75rem 0 !important;
  }
  
  .dropdown-item-image {
    width: 35px;
    height: 35px;
    margin-right: 8px;
  }
  
  .dropdown-item-text {
    font-size: 14px;
  }
}

/* #KVcarousel .carousel-item {
  height: 100vh;
  background: no-repeat center center;
  background-size: cover;
} */
.carousel { 
  height: 100vh;
}
.carousel-control-next, 
.carousel-control-prev {
  width: 48px;
  height: 48px;
  top: calc(50% - 24px);
  border-radius: 50rem;
}
.carousel-control-next:hover, 
.carousel-control-prev:hover {
  background-color: rgba(0,0,0,.6);
}
.carousel-control-next {
  right: 20px;
}
.carousel-control-prev {
  left: 20px;
}
.carousel-inner,
.carousel-item { 
  height: 100%;
}
.carousel-item { 
  background-color: #000;
}
.carousel-item img { 
  height: 100%; 
  object-fit: cover; 
  object-position: center;
}

@media (min-width: 992px) {
  .embed-responsive video{
    object-fit: cover;
  }
}

#KVcarousel .carousel-inner {
  -webkit-animation: zoom 2s forwards;
  animation: zoom 2s forwards;
}

@-webkit-keyframes zoom {
  from {
      -webkit-transform: scale(1.2, 1.2);
  }
  to {
     -webkit-transform: scale(1, 1);
  }
}

@keyframes zoom {
  from {
      transform: scale(1.2, 1.2);
  }
  to {
      transform: scale(1, 1);
  }
}

@media (max-width: 767px) {
  #KVcarousel .carousel-item {
    /* min-height: 180px; */
    min-height: 240px;
  }
}

.sec-footer {
  color: #9fa0a0;
  font-size: 14px;
  width: 100%;
  text-align: right;
  padding-bottom: 40px;
}

body.main .sec-footer {
  position: absolute;
  bottom: 60px;
  padding-bottom: 0px;
}


/* About */
.page-title {
  color: #3e3a39;
  font-weight: bold;
}
.page-title-en {
  color: #595757;
  font-weight: bold;
}
.inner-page {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}
@media(max-width:767px) {
  .inner-page {
    padding-top: 1.5rem;
    padding-bottom: .75rem;
  }
}



/* Product List */
.product-card {
  background-color: transparent;
  border: 0;
}
.product-card .card-body {
  text-align: left;
  padding: 1.25rem 0;
}
.page-link {
  color: #666666;
}




/* Event List */
/*
.event-card {
  margin-bottom: 5rem;
}

.news-item-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.news-item-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.news-image {
  flex: 0 0 58.33%;
  max-width: 58.33%;
}

.news-content {
  flex: 0 0 41.67%;
  max-width: 41.67%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.date-row {
  background-color: #727171;
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  padding: .5rem 1rem;
  align-self: flex-start;
}

.event-mon,
.event-date {
  color: white;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}

.event-card .card-content .card-title {
  color: #3e3a39;
  font-weight: bold;
}
*/

/* 手機版：上下布局 */
@media(max-width: 767px) {
  /* .event-card {
    margin-bottom: 1.5rem;
  }
  
  .news-item-link {
    flex-direction: column;
  }
  
  .news-image {
    flex: none;
    max-width: 100%;
    order: 2;
  }
  
  .news-content {
    flex: none;
    max-width: 100%;
    order: 1;
    padding: 1rem;
  }
  
  .date-row {
    margin-bottom: 1.5rem;
    padding: .25rem .5rem;
  } */
}




/* Contact Us */
.bg-lightwhite {
  background-color: #e2e2e2;
}
label[required]:before {
  content: '*';
  color: red;
}
.btn-submit {
  background: rgb(243,95,79);
  background: linear-gradient(90deg, rgba(243,95,79,1) 0%, rgba(244,179,75,1) 100%);
  
  color: white;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50rem;
}
.btn-submit:hover {
  background: rgb(218, 74, 58);
  background: linear-gradient(90deg, rgba(218,74,58,1) 0%, rgb(195, 138, 47) 100%);

  color: #f2f2f2;
}


@media(max-width: 1440px) {
  h2 {
    font-size: 27px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
  .img-logo {
    max-width: 80%;
  }
  .ic_social img {
    width: 64px;
  }
}
@media (max-width:991px) {
  .img-logo {
    max-width: 70%;
  }
}
@media (max-width:767px) {
  .img-logo {
    max-width: 65%;
  }
}

/* Landscape */
@media (orientation: landscape) and (max-width: 960px) {
  body.main {
    overflow: hidden;
  }
  .navbar {
    height: auto;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }
  .navbar-collapse.show {
    height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .show .navbar-nav {
    height: auto;
    overflow: hidden;
  }
  .img-logo {
    height: 36px;
  }
  .nav-pills > .nav-item {
    padding: 0.5rem .75rem;
  }
  .nav-pills .nav-link.active {
    border-top: 0;
  }
  .link-en {
    margin-bottom: 0;
  }
}

/* Menu */
.h2-menu {
  font-size: 1rem !important;
}

.display-none {
  display: none !important;
}

