/* 當螢幕寬度在 768px 到 850px 時，調整 .logo 寬度 */
@media (min-width: 768px) and (max-width: 850px) {
	.logo {
		width: 150px; /* 在此範圍內將寬度設置為 100px */
	}
}

.container-menu{
	max-width:1920px;
	padding:0px 40px;
	}
.banner_margin{
		margin: 0 40px;
	}
.carousel-indicators li {
	position: relative;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	width: 80px;
	height: 5px;
	margin-right: 3px;
	margin-left: 3px;
	text-indent: -999px;
	cursor: pointer;
	background-color: rgba(255,255,255, 0.5);
}
.carousel-indicators .active {
	background-color: #1e58c3;
}

.carousel-control-next, .carousel-control-next, .carousel-control-prev, .carousel-control-prev {
	color: #fff;
	text-decoration: none;
	outline: 0;
	opacity: 0;
}


.search_bt{
		font-weight:300 !important;
		font-size: 18px !important;
	}
@media (min-width: 1200px) {
	.search-box {
		margin-left: 40px !important;
		padding:0px !important;

	}
}

@media (max-width: 1199px) {
	.carousel-indicators li {
		width: 30px;
	}
	.header-style-two .main-menu .navigation > li > a {
		font-size: 16px;
	}
	.container-menu{
	padding:0px 15px;
	}
	.banner_margin{
		margin: 0;
	}
	.search-box {
		margin-left: 10px !important;
		padding:0px !important;								
	}
	.search_bt{
		padding: 13px 20px !important;
		font-size: 14px !important;
	}
}


/*跑馬燈*/
 .marquee-wrapper {
	display: flex;
	align-items: center; /* 垂直置中 */
	border: 1px solid #e5e5e5;
	background-color: #f9f9f9;
	width: 100%; /* 容器寬度 100% */
	overflow: hidden; /* 隱藏超出部分 */			
	border-radius: 5px;
}

.marquee-header {
	background-color: #003366; /* 深藍色背景 */
	color: #ffffff; /* 白色文字 */
	padding: 20px 30px;
	font-size: 18px;
	font-weight: 300;
	text-align: center;
	white-space: nowrap; /* 防止文字換行 */
	flex: 0 0 auto; /* 固定寬度 */
}

.marquee-content-wrapper {
	flex: 1 1 auto; /* 占據剩餘空間 */
	height: 42px; /* 一行文字的高度 */
	overflow: hidden;
	position: relative;
}

.marquee-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	will-change: transform;
	transition: transform 1s ease-in-out; /* 控制滾動的過渡效果 */
}

.marquee-item {
	height: 42px; /* 與 container 高度相同 */
	line-height: 42px; /* 使文字垂直居中 */
	font-size: 18px;
	text-align: left;
	padding: 0 15px;
	white-space: nowrap; /* 防止文字換行 */
	overflow: hidden; /* 隱藏超出部分 */
	text-overflow: ellipsis; /* 使用省略號表示超出部分 */
}

@media (max-width: 1199px) {
	.marquee-header {            
	padding: 10px 20px;
}
}

/*跑馬燈*/
.run-txt{
	max-width: 1400px;
	padding: 0 40px;
}
.fun-fact-section:before {	
background-color: #fff;
opacity: 0.85;
}
.inner-box{
background: #fff;
border: 3px solid #ccc !important ;
border-radius: 10px;
}
@media (max-width: 1465px) {
	.row-index-about {            
	margin: 0px !important;
}
.run-txt{
	max-width: 1200px;
	padding: 0 20px;
}
}

/*跑馬燈*/

/*會員登入*/
.fun-fact-section2:before {
    background-color: #0D132B;
    opacity: 0.85;
}

.fun-fact-section3:before {
    background-color: #000;
    opacity: 0.9;
}
/*會員登入*/

/*最新消息&檔案下載*/
.file-list {
	padding: 20px;
	border-radius: 12px;
}

.file-item {
	display: flex;
	align-items: center;
	padding: 15px 15px;
	border-radius: 8px;
	background-color: #ffffff;
	transition: background-color 0.3s;
	position: relative;
	overflow: hidden;
}

.file-item:not(:last-child) {
	margin-bottom: 10px;
}

.file-item:hover {
	background-color: #eef7ff; /* 滑鼠懸停時背景色變化 */
}

.file-icon {
	font-size: 24px;
	color: #007bff;
	margin-right: 15px;
}

.file-title {
	font-size: 16px;
	font-weight: 300;
	color: #343a40;
	flex-grow: 1;
}

.file-title:hover {
	text-decoration:none;
	color: #007bff;
}

.file-date {
	font-size: 14px;
	color: #6c757d;
	margin-left: 20px;
	white-space: nowrap;
}

.file-item::before {
	content: '';
	width: 4px;
	height: 100%;
	background-color: #007bff;
	position: absolute;
	left: 0;
	top: 0;
	transition: width 0.3s;
}

.file-item:hover::before {
	width: 8px;
}
/*最新消息&檔案下載*/
/*上下頁按鈕*/
 .bt_menu_div{
   background: #003366;
   color: #fff;
   width: 100%;
   padding: 15px;
   border-radius: 5px;
   cursor:pointer;
}
.bt_menu_div:hover{
   background: #031538;
   color: #ccc;
}
.text_clamp_2 {
	display: -webkit-box;            /* 使用 flexbox 顯示盒模型 */
	-webkit-box-orient: vertical;    /* 設定排列方向為垂直 */
	-webkit-line-clamp: 2;           /* 限制顯示行數為 2 行 */
	overflow: hidden;                /* 隱藏超出部分 */
	text-overflow: ellipsis;         /* 省略號樣式 */
}
/*上下頁按鈕*/

.card-header {
transition: background-color 0.5s ease, border-bottom 0.5s ease;
border: 6px solid #CCCCCC;
padding: 10px;
background: #F9F9F9;
}
.card-header:hover {

}
/* 定義左右搖動的動畫 */
@keyframes shake-arrow {
	0% { transform: translateX(0); }
	25% { transform: translateX(-3px); }
	50% { transform: translateX(3px); }
	75% { transform: translateX(-3px); }
	100% { transform: translateX(0); }
}

/* 將動畫應用到箭頭 */
.shake {
	position: relative;
	top:2px;
	display: inline-block;
	animation: shake-arrow 1.5s infinite;
}
								

.btn-menu {
	color: #fff;
	background-color: #6D85AD;
	border-color: #6D85AD;
	padding: 5px 20px;
	margin-bottom: 10px;
}
.btn-menu:hover {
	color: #fff;
	background-color: #003366;
	border-color: #003366;
}
.btn-menu:not(:disabled):not(.disabled).active, .btn-menu:not(:disabled):not(.disabled):active, .show>.btn-menu.dropdown-toggle {
	color: #fff;
	background-color: #003366;
	border-color: #003366;
}

.intro-container {
	padding: 15px 20px;
	background-color: #f5f5f5; /* 淺色背景 */
	border-left: 5px solid #003366; /* 深藍色左邊框 */
	margin-bottom: 20px;
}

.intro-title {
	color: #003366; /* 深藍色字體 */
	font-weight: bold;
	text-transform: uppercase; /* 全大寫 */
	letter-spacing: 1px; /* 字母間距 */
	position: relative;
	margin-bottom: 0px !important;
}

@keyframes float {
	0% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
	100% { transform: translateY(0); }
}

.floating-image {
	animation: float 2s infinite ease-in-out;
}

.sticky-top-right {
	position: sticky !important;
	top: 100px; /* 设置距离顶部的距离 */
}

.menu_wt:link {
	color: #ffffff;
	text-decoration: none;
}

.menu_wt:visited {
	color: #ffffff;
	text-decoration: none;
}

.menu_wt:active {
	color: #ffffff;
	text-decoration: none;
}

.menu_wt:hover {
	color: #cccccc;
	text-decoration:underline;
}
.menu_gl:link {
	color: #a4a4a4;
	text-decoration: none;
}

.menu_gl:visited {
	color: #a4a4a4;
	text-decoration: none;
}

.menu_gl:active {
	color: #a4a4a4;
	text-decoration: none;
}

.menu_gl:hover {
	color: #62a403;
	text-decoration:none;
}
.table-custom {
  width: 100%;
  border-collapse: collapse;
  max-width: 800px;
  word-break: break-all; /* 強制斷字 */
}

.table-custom th, td {
  border: 2px solid #063453; /* Coffee color border */
  padding: 10px;
  text-align: center;
}

.table-custom th {
  background-color: #063453; /* Coffee color background */
  color: white; /* White text */
}

.table-custom tr:nth-child(even) {
  background-color: #; /* Light blue-gray for even rows */
}

.table-custom tr:nth-child(odd) {
  background-color: #e6f2f2; /* White background for odd rows */
}

.table-custom tr:hover {
  background-color: #b3d1d1; /* Slightly darker blue-gray on hover */
}



.table_bg{
  background-color: #063453; /* Coffee color background */
  color: white; /* White text */
  font-weight: bold;
}

.table_bg tr:hover {
  background-color: #b3d1d1; /* Slightly darker blue-gray on hover */
}

/* 在手機設備上 */
@media (max-width: 767px) {
  .table-custom th, .table-custom td {
    font-size: 10px; /* 手機版字型大小 */
  }
}


/* 图像初始样式：不反白 */
.case_img {
	transition: filter 0.3s; /* 添加过渡效果 */
}

/* 鼠标悬停在图像上时反白图像 */
.case_img:hover {
	filter: brightness(1.2); /* 增加亮度以反白图像 */
}

/* text_box顏色 */
.text_box{
	padding: 10px 15px;background: #013162; color: #fff;
}
.text_box_2{
	color: #013162;padding-right: 15px;
}

/*分頁樣式表*/

.page{font-family:Tahoma; font-size:16px;}
	
.pages {

  PADDING-RIGHT: 7px; PADDING-LEFT: 7px; PADDING-BOTTOM: 7px; MARGIN: 3px; PADDING-TOP: 7px; TEXT-ALIGN: center;

}

.page A {

  BORDER-RIGHT: #3d5b93 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #3d5b93 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; MARGIN: 2px; BORDER-LEFT: #3d5b93 1px solid; COLOR: #3d5b93; PADDING-TOP: 5px; BORDER-BOTTOM: #3d5b93 1px solid; TEXT-DECORATION: none;border-radius: 5px;

}

.page A:hover {

  BORDER-RIGHT: #3d5b93 1px solid; BORDER-TOP: #3d5b93 1px solid; BORDER-LEFT: #3d5b93 1px solid; COLOR: #fff; BORDER-BOTTOM: #3d5b93 1px solid; BACKGROUND-COLOR: #3d5b93;

}

.page A:active {

  BORDER-RIGHT: #3d5b93 1px solid; BORDER-TOP: #3d5b93 1px solid; BORDER-LEFT: #3d5b93 1px solid; COLOR: #fff; BORDER-BOTTOM: #3d5b93 1px solid; BACKGROUND-COLOR: #3d5b93;

}

.page SPAN.current {

  BORDER-RIGHT: #3d5b93 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #3d5b93 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: #3d5b93 1px solid; COLOR: #fff; PADDING-TOP: 2px; BORDER-BOTTOM: #3d5b93 1px solid; BACKGROUND-COLOR: #3d5b93;

}

.page SPAN {

  BORDER-RIGHT: #003366 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #003366 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; MARGIN: 2px; BORDER-LEFT: #003366 1px solid; COLOR: #fff; PADDING-TOP: 5px; BORDER-BOTTOM: #003366 1px solid;

BACKGROUND-COLOR: #003366;border-radius: 5px;

}