@charset "utf-8";
/* CSS Document */
body{
	font-family: Microsoft JhengHei , "arial Unicode MS", Arial;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #183351;
}

a,a:hover{
	text-decoration:none;
}


h1{
	font-size:2.2em;
	margin:40px auto;
	font-weight:bold;
	clear:both;
}
h2{
	font-size:1.8em;
	font-weight:bold;
}
.clear{
	clear:both;
}

.navbar{
	margin-bottom:5px;
}
.navbar .container{
	position:relative;
}

.navbar-brand{
	height:96px;
}
.nav{
	margin-top:50px;
}
.nav a{
	font-size:1.3em;
	font-weight:bolder;
	color:#183351;
	text-align:center;
	min-width:130px;
	display:inline-block;
}

.nav>li>a:focus, .nav>li>a:hover, .nav>li>a.focus{
	background-color:transparent;
	color:#08b0b1;
}

.navbar .container .community{
	position:absolute;
	top:0;
	right:8px;
}
.community ul{
	list-style:none;
	overflow:hidden;
	margin-right:8px;
}
.community ul li{
	float:left;
	background-color:#08b0b1;
	margin-right:10px;
	color:#FFF;
	font-weight:bolder;
	padding:8px 8px 5px 8px;
	border-radius:0px 0px 10px 10px;
}
.community ul li.fb{
	background-color:#183351;
}

.community ul li img{
	display:inline-block;
	vertical-align:middle;
	margin-top:0px;
}

.offcanvas-transform .logo{
	display:none;
}
.offcanvas-transform .c_info{
	display:none;
}

.index_pic{
	background-color: #17181d;
	color: #FFF;
	font-weight: bold;
	text-align: center;
	overflow: hidden;
	position: relative;
	background-image: url(../images/index01.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	padding: 150px 150px 50px 150px;
	font-size: 1.8em;
	text-shadow:0px 0px 5px #000;
	line-height:1.5em;
}

.index_pic a{
	text-shadow: none;
	color: #FFF;
	display:inline-block;
	padding: 10px;
	background-color: rgba(8,176,177,0.5);
	border-radius: 10px;
	border: 2px solid #FFF;
	width:150px;
	font-size: 0.7em;
	font-weight:bold;
	margin-top:100px;
}
.index_pic a:hover{
	background-color: rgba(8,176,177,1);
	color: #FFF;
}

.index_product a{
	display:block;
}
.index_product a.ptop{
	padding:20% 0 30% 0;
}

.index_service{
	margin-bottom:20px;
}
.index_service a{
	display:block;
	text-align:center;
	margin:0 auto 40px auto;
	max-height:300px;
	position:relative;
}
.index_service a.ptop{
	padding:10% 0 2% 0;
}

.index_service a img{
	width:100%;
	height:auto;
	max-height:300px;
	display:inline-block;
	vertical-align:middle;
	margin-bottom:60px;
}
.index_service a p{
	position:absolute;
	left:0;
	bottom:-55px;
	text-align:center;
	font-size:1.2em;
	width:100%;
	color:#183351;
}
.index_service a.ptop p{
	bottom:-38px;
}
.bg_gray{
	background-color:#efefef;
}
.container-fluid.bg_gray{
	padding:0 15px 0 0;
	margin:30px auto 15px auto;
}
.bg_gray2{
	background-color: #FCFCFC;
	padding: 20px 0;
}



.index_active .text{
	padding:30px 50px;
}
.active .text{
	padding:50px 0;
}
.row.active .text{
	padding:30px 15px;
	margin-top:-30px;
	margin-bottom:15px;
}

.index_active .text p, .active .text p{
	font-size:1.2em;
}
.index_active .text p span, .active .text p span{
	display:inline-block;
	padding:3px 10px;
	color:#FFF;
	background-color:#08b0b1;
	border-radius:10px;
	margin-right:8px;
}
/*
.index_active .text a{
	display: inline-block;
	width: 100px;
	color: #08b0b1;
	border: 1px solid #08b0b1;
	border-radius:10px;
	padding:10px;
	text-align:center;
	margin-top:20px;
	font-size:1.2em;
	line-height:1.2em;
}
.index_active .text a:hover{
	color: #FFF;
	background-color:#08b0b1;
}
*/
.index_contact{
	text-align:center;
	margin-bottom:20px;
}
.index_contact img{
	margin:0 auto 10px auto;
}
.index_contact p{
	margin-bottom:25px;
	font-size:1.2em;
}
.index_contact p a{
	color: #08b0b1;
}
.index_contact p a:hover{
	color: #183351;
}
/*inpage*/
.section{
	background-color:#183351;
	padding:15px 0 7px 0;
	color:#FFF;
	font-size:1.1em;
	line-height:1.1em;
}
.section a { /*20250503加上，麵包屑可以點擊返回*/
	color: #fff;
	text-decoration: none;
  }
  
  .section a:hover {
	text-decoration: underline;
  }
  
/*about*/
.about{
	padding:0px 0 30px 0;
}
p.short, h2.short{
	font-size:1.2em;
	line-height:1.5em;
	width:60%;
	margin:0 auto 20px auto;
}
p.short2, h2.short2{
	margin:0 auto 20px auto;
	width:70%;
	font-size:1.2em;
}


h2.short{
	margin-bottom:5px;
	font-size:1.4em;
}

img.about{
	max-width:850px;
	margin:20px auto 30px auto;
	height:auto;
	width:100%;
	display:block;
}
img.about2{
	max-width:500px;
	margin:0px auto 40px auto;
	height:auto;
	width:100%;
	display:block;
}
.row.two{
	margin:0;
}
.row.two .pic, .row.two .text{
	padding:0;
}
.row.last{
	margin-bottom:50px;
}

.row.two .pic img{
	width:100%;
	height:auto;
}
.row.two .text{
	padding:40px 0 0 50px;
}
.row.two .text ul{
	padding-left:20px;
}
/*product*/
.product{
	margin-bottom:35px;
}

ul.p_list{
	width: 80%;
	padding-left: 0;
	max-width: 340px;
	margin: -20px auto 40px auto;
	list-style-type: none;
	font-size:1.2em;
}
ul.p_list li{
	margin-bottom: 8px;
	margin-left:20px;
	list-style-position:outside;
	list-style-image: url(../images/li_type.png);
}
ul.p_list li.title{
	font-size:1.3em;
	font-weight:bold;
	list-style-image: none;
	margin-left:0px;
	margin-bottom: 15px;
}
.product img{
	margin-bottom:15px;
}

.product img.edit{
	max-height:290px;
	margin:0 auto 15px auto;
}
.product img.edit2{
	margin-top:10%;
}
.product img.edit3{
	margin-top:15%;
}
.product img.edit4{
	margin-top:5%;
}
/*service*/
.service{
	padding:20px 15px 50px 15px;
}
.service .text{
	padding-top:0%;
	font-size:1.2em;
	line-height:1.5em;
}
.service .text.ptop{
	padding-top:5%;
}
.service .text p{
	width:80%;
	margin:0 auto 15px auto;
}
.carousel-control{
	opacity:0.7;
}
.carousel-control:hover{
	opacity:1;
}
.carousel-control.right, .carousel-control.left{
	background-image:none !important;
}
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev{
	width:50px;
	height:50px;
}
.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev{
	margin-left:-30px;
}
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next{
	margin-right:-30px;
}
.glyphicon-chevron-left:before{
	content: " ";
	background-image: url(../images/arrow01.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size:contain;
	z-index:100;
	display:block;
	width:50px;
	height:50px;
}
.glyphicon-chevron-right:before{
	content: " ";
	background-image: url(../images/arrow02.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size:contain;
	z-index:100;
	display:block;
	width:50px;
	height:50px;
}
/*active*/
.container-fluid.active{
	padding:0;
}
.container-fluid.active .row{
	margin:0;
}
.container-fluid.active .col-xs-6, .container-fluid.active .col-sm-3{
	padding:0;
}

.container-fluid.active img{
	width:100%;
	height:auto;
}




/*contact*/
.map{
	width:100%;
	height:600px;
}


footer{
	background-color:#183351;
	color:#FFF;
	text-align:center;
	padding:20px 5px;
}

/*20250430 新增了選文章的獨立文章樣式*/
.article-wrapper {
	max-width: 900px;
	margin: 0 auto 80px;
	padding: 30px 20px;
}
.article-content {
	max-width: 900px;
	margin: 0 auto 80px;
	padding: 30px 20px;
	background: #f9f9f9;
	border-left: 5px solid #0073aa;
	font-size: 1.2em;
	line-height: 1.8;
	color: #183351;
}

  .article-content h3 {
	color: #183351;
	margin-top: 20px;
	font-weight: bold;
  }
  
  .article-content p {
	margin-bottom: 16px;
  }

  .article-content figure {
	margin: 20px auto;
	text-align: center;
  }
  
  .article-content figure img {
	width: 100%;
	max-width: 600px;
	height: auto;
	display: block;
	margin: 0 auto;
  }
  
  .article-content figcaption {
	font-size: 1em;
	color: #777;
	margin-top: 5px;
	margin-bottom: 24px;
	text-align: center;
}

  /*20250430 新增了以下樣式，最新消息的白底卡片*/
  .event-list {
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .event-list li {
	padding: 12px 18px;
	border-bottom: 1px solid #ddd;
	background: #fff;
	margin-bottom: 16px;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: background 0.2s;
	font-size: 18px;
	line-height: 1.7em;
  }
  
  .event-list li:hover {
	background: #f0f8ff;
  }
  
  .event-list li span {
	display: block;
	font-weight: bold;
	color: #0073aa;
	font-size: 16px;
	margin-bottom: 6px;
  }
  
  .event-list li a {
	color: #0073aa;
	text-decoration: none;
	font-size: 16px;
  }
  
  .event-list li a:hover {
	text-decoration: underline;
  }
  
  .event-title {
	font-size: 24px;
	font-weight: bold;
	color: #183351;
	margin-bottom: 20px;
	text-align: center;
  }
  .event-list li .event-title-no-link {
	color: #333 !important;
	font-weight: normal !important;
	font-size: 16px;
	text-decoration: none;
	cursor: default;
	display: inline-block;
  }
  
  /*read more按鈕設計*/
  .more-btn {
	display: inline-block;
	padding: 8px 10px;
	border: 2px solid #08b0b1;
	background-color: #08b0b1;
	color: white;
	font-size: 14px;
	border-radius: 6px;
	font-weight: bold;
	transition: background 0.3s ease;
	text-decoration: none;
  }

  .more-btn:hover {
	background-color: white;
	color: #08b0b1;
	text-decoration: none;
  }

  .secondary-btn {
	display: inline-block;
	padding: 8px 10px;
	border: 1.5px solid #08b0b1;
	background-color: transparent;
	color: #08b0b1;
	font-size: 14px;
	border-radius: 6px;
	font-weight: bold;
	transition: all 0.3s ease;
	text-decoration: none;
  }
  
  .secondary-btn:hover {
	background-color: #08b0b1;
	color: white;
	text-decoration: none;
  }

  /*20250502 新增了以下樣式，電子報的首頁圖預覽*/
  .newsletter-card {
	background: #fff;
	margin-bottom: 30px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	padding: 15px;
	text-align: center;
	transition: box-shadow 0.3s ease;
  }
  .newsletter-card:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  .newsletter-card img {
	max-width: 100%;
	height: 700px; /* 統一高度 */
	object-fit: cover; /* 圖可能被裁切 */
	object-position: top center;
	border-radius: 4px;
	margin-top: 12px;
	margin-bottom: 12px;
  }
  .newsletter-card h3 {
	font-size: 20px;
	margin-bottom: 10px;
	color: #183351;
  }
  .newsletter-card p {
	font-size: 14px;
	color: #666;
	margin-bottom: 12px;
  }

  

/*針對不同裝置寬度*/
@media (max-width:992px) {
.navbar-brand{
	width:200px;
	height:auto;
}
.nav{
	margin-top:-50px;
}
.nav a{
	font-size:1.2em;
}
/*active*/
}

@media (max-width:767px) {
.navbar-brand{
	position:relative;
	left:30%;
}	
.navbar-toggle {
    padding: 10px;
    margin-top: 20px;
	margin-right:0px;
	z-index:999;
}
.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 6px;
}
.navbar-toggle .icon-bar{
	background-color:#08b0b1;
    width: 30px;
    height: 5px;
	border-radius:10px;
}
.navbar-offcanvas{
	padding:10px 0;
}
.offcanvas-transform.in{
	background-color:#FFF;
	overflow:hidden;
	z-index:500;
}
.offcanvas-transform.in .logo{
	width:160px;
	height:auto;
	margin:10px 0px 20px 10px;
	display:block;
}
.offcanvas-transform.in ul.top_menu{
	background-color:#efefef;
	width:100%;
	margin:0;
	padding:30px 20px;
	font-size:1.1em;
}
.nav a{
	text-align:left;
}
.offcanvas-transform .c_info{
	display:inline-block;
	margin-top:20px;
}
.offcanvas-transform .c_info ul{
	list-style-type:none;
	width:100%;
	color:#08b0b1;
	font-weight:bold;
	padding-left:35px;
}
.offcanvas-transform .c_info ul li{
	font-size:1.2em;
	margin-bottom:15px;
}
.offcanvas-transform .c_info ul li img{
	display:inline-table;
	vertical-align:middle;
	margin-right:5px;
	margin-top:-3px;
	max-width:24px;
}

.index_pic{
	background-image: url(../images/index01-2.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size:cover;
	padding: 50px 20px;
	font-size: 1.6em;
}
.community{
	display:none;
}
.index_service a{
	margin:0 auto 70px auto;
}
.index_service a.ptop{
	padding:0;
}
.index_service a img{
	margin-bottom:0px;
	width:90%;
}

/*about*/
p.short, p.short2, h2.short, h2.short2{
	width:95%;
}
.about img{
	max-width:250px;
}
.row.two .text h2{
	margin-top:5px;
}
.row.two .text{
	padding:20px;
}
.row.two .text ul{
	padding-left:20px;
}

/*product*/
.product img.edit2, .product img.edit3, .product img.edit4{
	margin-top:10px;
}
/*service*/
.service .text{
	padding-top:5%;
}


/*active*/


/*contact*/
.map{
	height:300px;
}

/*20250502新增*/
.newsletter-card img {
    height: auto !important;
    object-fit: contain !important;
}
.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: space-between;
    margin-top: 20px;
  }

  .nav-tabs > li {
    float: none;
    flex: 1;
    text-align: center;
  }

  .nav-tabs > li > a {
    padding: 10px 5px;
    font-size: 14px;
  }
  .carousel-caption h3 { /*首頁輪播圖片的說明文字*/
	font-size: 1.2em !important;
  }
  .carousel-caption p {
	font-size: 0.9em !important;
  }

}

@media (max-width:570px) {
.navbar-brand{
	left:25%;
}	
  
}

@media (max-width:400px) {
.navbar-brand{
	left:18%;
}	
}
@media (max-width:300px) {
.navbar-brand{
	left:0%;
	width:160px;
}	
}


  
  