html{
  font-size: 16px;
  width: 100%;
}
.img_vsb_content{
display: inline;
}
*{
line-height: 2rem;}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-width: 93.75rem;
}
.indent {
   text-indent: 2rem;
}
.list-none li::before {
  content: "•"; /* 使用Unicode圓點符号 */
  color: #1f76ac;
  margin-right: 8px;
    font-size: 1.2rem;
}
/* 導航欄樣式 */
.top-header{
   width:100%;
  display: flex;
  /* background-color: #0d47a1;  */
  position: relative;
  flex-direction: column;
}
.top-header .top-navbg {
padding: 0;
  aspect-ratio: 960/109;
  height: 100%;
}
.top-nav {
  min-width:82.5rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content:center;
  position: relative;
  /* overflow-x: auto;  /*添加水平滾動 */
 /*  white-space: nowrap; /* 防止文字換行 */
  /*-ms-overflow-style: scrollbar; /* 顯示滾動條 */
   /*scrollbar-width: auto; /* 使用默認滾動條寬度 */
}

.search-bar{
  display: flex;
  align-items: center;
  position: absolute;
  right: 3rem;
  bottom: 4rem;
}
.search-bar button{
  padding: 0.2rem;
  background-color: #d6d6d6c0;
  margin-left: -1.9rem;
}
.search-bar input{
  padding-left:0.5rem;
  padding-right:0.8rem;
  background: transparent;
  border: #fff 1px solid;
  border-radius: 0%;
  
}
.search-bar input:focus{
    border: #fff 3px solid;  background: transparent;
    outline: none; /* 移除 outline */
}
.top-nav  ul li a {
  color:#000000; /* 白色文字 */
  padding: 0.5rem 0.3rem;
  display: block;
font-weight:500;
}
.top-nav  ul li a.cur{
  color: #1f76ac; /* 白色文字 */
  padding: 0.5rem 0.3rem;
  display: block;
}
.top-nav ul li a:hover {
  color: #1f76ac; /* 鼠标懸停時淺灰色文字 */
}
.sub-menu{
    background-color: #0d47a1; /* 下拉菜單深藍色背景 */
}
.top-nav .sub-menu {
  
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
}

.top-nav .nav-item{
  position: relative;

}
.top-nav .nav-item:hover .sub-menu {
  display: block;
}

.top-nav .sub-menu li a {
  padding: 0.5rem 1rem;
  color: white;
  display: block;
  text-decoration: none;
}

.top-nav .sub-menu li a:hover {
  background-color: #7f9dff; /* 鼠标懸停時更深的藍色背景 */
  color: #000000;
}

/* section标題樣式 */
.section-header {
   /*  border-left: 4px solid #1F76AC; */

}
.section-header h2 {
  color: #1f76ac;
font-size: 1.5rem;
    margin-bottom: 1rem;
}
/*列表*/
.list-none li{
  /* border-bottom: 1px dashed #969696; */
}
/* 頁腳樣式 */
footer div.mx-auto{padding-bottom:1rem;border-bottom:1px solid}
footer section h3 {
  color: #fff; /* 頁腳标題白色 */
  border-bottom: 1px solid #fff;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
width:6rem;
}
footer section li a{
line-height:2rem;}
footer a {
  color: #cbd5e0; /* 頁腳鍊接淺灰色 */
  text-decoration: none;
 line-hight:1rem;
}
footer section.contact-info{margin-top:1rem}
footer section.contact-info h4{
margin-bottom:1.5rem;
} 
footer section.contact-info .pt-8{
padding-top:3.5rem;
display:flex;
    flex-direction: column;
    justify-content: space-around;
} 
footer a:hover {
  color: #fff; /* 鼠标懸停時頁腳鍊接白色 */
}
.kstd .text-title{font-size:1.12rem}
/* 輪播圖樣式 */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* 添加輪播圖的原點 */
.dot-container {
  z-index: 99;
  margin-top: -2rem;
    text-align: center;
    padding: 10px;
}
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #8f8f8f;
    border-radius: 50%;
    display: inline-block;
}

.active, .dot:hover {
    background-color: #505050;
}
.bg-title{
  background-color: #1f76ac;
  color: #fff;
}
.text-title{
  color: #1f76ac;
}
.hover\:text-title:hover{
  color: #1f76ac;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直居中 */
}

.news-list li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
  flex: 1; /* 讓标題占據剩餘空間 */
  margin-right: 1rem;
}

.major-item {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加陰影效果 */
}

.major-item img {
  transition: transform 0.3s ease; /* 添加過渡效果 */
}

.major-item img:hover {
  transform: scale(1.1); /* 鼠标懸停時放大1.1倍 */
}

.contact-section {
  background: linear-gradient(to top, #356dad, transparent);
  color: #1f76ac;

}

.major-item p {
  font-size: 1.6rem;
  font-weight: bold;
}

section {
  border: none;
  background-color: inherit;
}
.footer-bg{
  background-image: url(../images/footer_bg.jpg);
  background-size: 100% 100%;
background-color: #004378;
  background-repeat: no-repeat;
  background-position: center;
padding-left:1.5rem;
padding-right:1.5rem;
padding-bottom:0rem;
}
.footer-bg .copyright.text-center{
margin:-1rem;
}
.list-category .active{
  border-radius: 1rem;
  padding: 0.5rem;
  background-color:  #1f76ac;;
  color: #fff;

}
.list-none li.news-item:before,footer .list-none.p-0 li:before,footer  li:before ,.list-category li:before,.contact-section li:before{
content:none!important
}
.bottom-solid{border-bottom:1px solid rgba(229,231,235,var(--tw-border-opacity));}
/* 輪播圖樣式 */
.news-slideshow-container {
  position: relative;
  width:100%;
  height: 31.625rem;
  max-width: 100%;
  margin: auto;
 /* border: 1px solid #ddd;  添加灰色邊框 */
}

.news-mySlides {
  display: none;
  text-align: center; /* 圖片和标題居中 */
}

.news-mySlides img {
  height: auto;
  vertical-align: middle;
}

.news-caption {
  padding: 10px;
  font-size: 0.875rem; /* 14px, 根據tailwind的text-sm */
}

/* 淡入淡出動畫 */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.news-number {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  bottom: 3rem;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
}
.news-list-item{
  height: 3.0625rem;
  background-image: url(./images/kstd_01.jpg);
  background-repeat: no-repeat;
  background-position: left;
  background-color: #eaeaea;
}
.news-list-item a {
  margin-left:5.32rem;
  text-overflow: ellipsis;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pb_sys_common .p_t{display:none!important}
.p_pages{
display:flex;
    justify-content: center;
align-items: center;
}
.pb_sys_common .p_fun_d, .pb_sys_common .p_no_d, .pb_sys_common .p_no_o, .pb_sys_common .p_fun a, .pb_sys_common .p_no a {
    vertical-align: inherit!important;
}
.p_no_d{margin:0 0.3rem;font-weight: 700;font-size:1.2rem}
.p_no,.p_fun,.p_fun_d{margin:0 0.3rem;font-size:1.2rem}