<style type="text/css">
<!--

#locpage {
	width:100%;
	height:20px;
	color:#0088cc;
	position: relative;
	margin-left:3px;
}

#leftguide {
	display:block;
	background-color:#EEEEEE;
	margin-left:3px;
}
#rightguide {
	display:block;background-color:#EEEEEE;
	margin-left:3px;
}
#dspbox {
	margin:5px;
	padding:3px;
	
	color:#999999;
}

#footerbox {
	position:relative;
	text-align:center;
	width:100%;
	
}

#footer {
	text-align:center;
	
	width:100%;
	height:50px;
	
	display:inline; /* So IE plays nice */
	
}

#footer dl { display:inline;}
#footer dt { display:inline;}

#slideshow img { display: none }
#slideshow img.first { display: block }

.subpagebm {
	width:100%;
	
	position: relative;
	margin:0; 
	display:block;
	
}
.dspdata{
	margin:10px;
	border-style:dashed;border-width:0px;border-bottom-width:1px;border-color:#BADBFC;
	line-height: 24px;
	
}
.dspdate {
	margin:1px;
	
	line-height: 20px;
	font-weight:bold;
}
.dsptitle {
	margin:5px;
	font-size:1.75rem;
	line-height: 30px;
	font-weight:bold;
}
.pagefunbar {
	
	width:100%;
	height:20px;
	position: relative;
	margin:0; 
}

.itembar {
	border:1px #F7D4EE solid;border-radius:10px;
}
.radius10 {
	border-radius:10px;
}
.imgradius60 {
	border-radius: 60px;
	box-shadow: 0 0 10px rgba(0,0,0,1.00);
	opacity: 0.8;
}
.imgradius10 {
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0,0,0,1.00);
	opacity: 0.9;
}
.imgradius0001 {
	border-bottom-right-radius: 50px;
	box-shadow: 0 0 5px rgba(0,0,0,0.9);
	
}
.prodlist {
	margin:5px;
}

.dropdown-menu li:hover .sub-menu {visibility: visible; }
.dropdown:hover .dropdown-menu {
	display: block;
	background-color: #007bff; 
	border: none;
	min-width: 120px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);}
//FB LINK RWD設定
.fb-comments, .fb-comments iframe[style] {
	width: 100% !important;
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
	width: 100% !important;
}
.kdlist {
	text-align:left;
	height:30px;
}
.kdlist:hover {
	background-color: #e9ecef; 
    color: #0088cc;
}	
.pics { 
  height: 232px;
  width: 232px;
  padding:0;
  margin:0;
  overflow: hidden;
}
.pics img { 
  height: 200px;
  width: 200px;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #eee;
  top:0; left:0
}

/*advlist*/
.advlist-title {
	
	margin:10px;
	padding-left:10px;
	border-left:6px solid #2196F3;
	background-color: #ddffff;
	font-size:120%;
}	

/*文字跑馬燈左右*/

.marqee {
 height: 40px;
 width: 450px;
 margin: 0 auto;
 overflow: hidden; 
 position: relative;
 background: black;
}
/*
.marqee > ul {
 padding-left: 0;
 
 display: flex;
 list-style-type: none;
 animation: marqee 30s linear infinite;
 position: absolute;
}

.marqee > ul > li {
 white-space: nowrap;
 margin-right: 2em;
 font-weight: bold;
 color: yellow;
}

@keyframes marqee {
 0% {
  left: 100%;
  transform: translateX(0%);
 }

 100% {
  left: 0;
  transform: translateX(-100%);
 }
}
*/

.marquee {
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  width: max-content;
  padding-left: 100%;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee span:hover {
  animation-play-state: paused
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation-iteration-count: 1;
    animation-duration: 0.01; 
    width: auto;
    padding-left: 0;
  }
}


/*文字跑馬燈上下*/
.marqee_ud {
	height:60px;
 overflow:hidden;
 margin:0;
 position:relative;
}

.marqee_udtxt {
 animation: marqee_ud 30s linear infinite;
 
}
.marqee_udtxt:hover {
	animation-play-state:paused;
}

@keyframes marqee_ud {
 100% {
   transform: translateY(100%);
 }
 
}
#mapbox {
        position: relative;
        padding-bottom: 75%;
        overflow: hidden;
    }
#mapbox iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

#keyindata {
        position: relative;
        padding-bottom: 75%;
		
        overflow: hidden;
    }
#keyindata iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.fa-spin-hover:hover {
	font-size: 130%;
	color: #FFFFFF;
    animation: fa-spin 2s infinite linear;
}
.fa-enlarge-hover:hover {
	font-size: 130%;
	color: #FFFFFF;
	background:#A0A0A0;
	border: solid 0.08em #eee;
	border-radius: .1em;
	padding: .2em .25em .15em;
}
.fa-enlarge2-hover:hover {
	font-size: 130%;
	color: Dodgerblue;
	background: #7ba7fe;
	border: solid 0.08em #eee;
	border-radius: .1em;
	padding: .2em .25em .15em;
}
.clear{ clear:both}
.imgbox {	
	width: 200px;
	height: 150px;
	overflow: hidden;
}
.borderbox {
	margin:2px;
	padding-bottom:6px;
	border:#C0C0C0 1px solid;
	border-radius:10px;
	
}
.lang {color:#D0D0D0;font-size: 0.8rem;}

table.table.diy th { text-align:center; font-size:1.1em; color:#fff; letter-spacing:4px; background-color: #0088cc; }
table.table.diy {-webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;}

#casetab .nav-link:not(.active) {
    background-color: #e9ecef; /* 未選 */
    border-color: #dee2e6;     /* 邊框顏色，讓它跟 Bootstrap 整體更融合 */
	border-top-color: #0088cc;
	color: #0088cc;
}

/* 滑鼠移過去（Hover）時的微調，讓使用者知道可以點擊 */
#casetab .nav-link:not(.active):hover {
    background-color: #dbe2e8; /* 滑鼠移上去時變深一點點的灰色 */
    border-top: 4px solid #0d6efd; /* 4px 粗細，#0d6efd 是標準藍色，可自由更換 */
	color: #0088cc;
	
}

/* 2. 當頁籤被選取（Active）時，上方也保持藍色邊框 */
#casetab .nav-link.active {
    border-top: 4px solid #0d6efd; /* 讓選中的頁籤上方也有同樣的藍色邊框 */
    border-bottom-color: transparent; /* 保持 Bootstrap 原生特色：選中時底部融入內容區 */
}

[id^="faqacc"] .card-header .btn-link:hover {
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important; 
    background-color: #007bff;
	color:#FFFFFF;
}


.gallery-img {
    position: relative;
    overflow: hidden;
   
    margin:5px;
    height: 250px; 
    width: 100%;
}


.gallery-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover img {
    transform: scale(0.93) !important;
    opacity: 0.9;
}

.img-overlay-text {
    position: absolute;
    bottom: 0;         
    left: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.60); 
    color: #ffffff !important;          
    padding: 8px 12px;
    font-size: 0.85rem;                 
    font-weight: 500;
    z-index: 2;                  
    pointer-events: none; 
}

#langBar {
    max-height: 40px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}

/* 當網頁往下捲動（加上 .header-scrolled）時，隱藏語言列 */
#mainheader.header-scrolled #langbar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.date-badge {
    width: 56px; 
}

.date-badge .date-month {
    
	background-color: #0088cc;
    font-size: 0.85rem; 
}

.date-badge .date-day {
    font-size: 1.4rem;  
    line-height: 1.2;
}
.date-badge .date-year {
	background-color: #0088cc;
    font-size: 1.4rem;  
    line-height: 1.2;
}
-->
</style>
