@charset "utf-8";

body {
	margin: 0px;
	padding: 0px;
}


#container {
	width: 100%;
	margin: auto;
}

#header {
	width: 100%;
	height: 100px;
	background-color: #e4f9ee;
}

.topbarbg {
	width: 100%;
	background-image: url("../images/bg01.jpg");
	height: 0px;
}

.topbar {
	position: relative;
	width: 979px;
	margin: 0px auto;
}

.topbarmenu {
	top: 25px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #00bcd4, #4caf50) border-box;
	font-family: 微軟正黑體;
	font-size: 14px;
	padding: 6px 12px;
	text-align: center;
	text-decoration: none;
	color: #333;
	right: 0px;
	border: 3px solid transparent;
	border-radius: 20px;
	margin-right: 6px;
}

.topbarmenu a {
	color: #0fa2b2;
	text-decoration: none;
	font-weight: 600;
}

.topbarmenu-txt a {
	color: #686868;
	text-decoration: none;
}

.topbarmenu-txt a:hover {
	color: #222;
	text-decoration: none;
}

.logo {
	position: absolute;
	width: 385px;
	height: 91px;
	top: 5px;
	background-image: url("../images/logo.jpg");
}

.searchbar {
	width: 170px;
	height: 28px;
}

.searchbar .input-group {
	position: relative;
	display: table;
	border-collapse: separate;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #00bcd4, #4caf50) border-box;
	border: 3px solid transparent;
	border-radius: 20px;
}

.searchbar .form-control {
	font-size: 14px;
	line-height: 1.428571429;
	color: #555;
	background-color: transparent;
	border: 0px solid #ccc;
	border-radius: 20px;

}

.input-group-btn .btn-default {
	color: #333;
	background-color: transparent;
	border-color: transparent;
}

.tstop-emnu {
	display: flex;
	justify-content: end;
	padding-top: 30px;
}

.main-menu ul,
.main-menu li ul,
.submenu,
.subsubmenu {
  list-style: none !important;
  padding-left: 0;
}
/*index-bg color*/
.navbg {
	height: 470px;
	background: linear-gradient(to top, #e4fbe1, #e4f9ee);
	border-bottom-left-radius: 40px;
}
.navbg-c {
	height: 100px;
	background: linear-gradient(to top, #e4fbe1, #e4f9ee);
	border-bottom-left-radius: 40px;
}

.nav1 {
	width: 979px;
	height: 55px;
	margin: 0px auto;
	z-index: 99;
	border-radius: 12px;
	background-color: #fff;
}

.nav1>ul {
	width: 979px;
	height: 40px;
	margin: 0px auto;
	list-style: none;
	position: relative;
	border-radius: 12px;
	z-index: 99;
}

.nav1>ul>li {
	float: left;
	z-index: 99;
	transition: all 0.6s ease 0s;
	-moz-transition: all 0.6s ease 0s;
	-webkit-transition: all 0.6s ease 0s;
	-o-transition: all 0.6s ease 0s;

}

.nav1>ul>li>a {
	display: block;
	height: 55px;
	width: 96px;
	color: #07a7b7;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	padding: 13px 10px 0px 10px;
	font-family: "微軟正黑體";
	font-size: 15px;
	z-index: 99;
	border-radius: 12px;
}

.nav1>ul>li>a:hover {
	color: #333;
	transition: all 0.6s ease 0s;
	-moz-transition: all 0.6s ease 0s;
	-webkit-transition: all 0.6s ease 0s;
	-o-transition: all 0.6s ease 0s;
	z-index: 99;
	border-radius: 12px;
}


.main-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	background: #fff;
	font-family: "微軟正黑體", sans-serif;
}

.main-menu>li {
	position: relative;
}

.main-menu>li>a {
	display: block;
	padding: 12px 16px;
	text-decoration: none;
	color: #07a7b7;
	font-weight: 600;
	white-space: nowrap;
}

.main-menu>li:hover>a {
	background: #ffffffed;
	color: #333;
}

.submenu,
.subsubmenu {
	display: none;
	position: absolute;
	left: 0;
	background: #fff;
	white-space: nowrap;
	z-index: 999;
	border: 1px solid #e7e7e7;
}

.submenu li:hover>a,
.subsubmenu li:hover>a {
	background: #07a7b7;
	color: #fff;
	font-weight: 600;
}

.main-menu li:hover>.submenu {
	display: block;
}

.submenu li {
	position: relative;
}

.submenu li:hover>.subsubmenu {
	display: block;
	top: 0;
	left: 100%;
}

.submenu a,
.subsubmenu a {
	display: block;
	padding: 10px 16px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px dotted #CCC;
}

.liline {
	position: absolute;
	width:-webkit-fill-available;
	border-right: 1px solid #e7e7e7;
	margin-top: 0px;
	height: 30px;
}

.liline.noline {
	border-right: none;
}

.nacitemen {
	font-family: "Arial";
	font-size: 10px;
	color: #b7b7b7;
	line-height: 10px;
	padding-top: -20px;
	text-align: center;
	text-decoration: none;
}

/*影片選單*/
.nav2all {
	position: relative;
	width: 979px;
	margin: 0px auto;
	padding-top: 10px;
	z-inex: 1;
}

.nav2 {
	position: absolute;
    width: 290px;
    right: 0px;
    height: 360px;
    padding-left: 13px;
    padding-top: 10px;
    background: #fff;
    border-radius: 15px;
    margin-top: 8px;
	z-inex: 1;
}

.nav2_tv {
	z-inex: 1;

}

.nav2_item {
	 float: left;
    margin-top: 15px;
    display: block;
	border-right: none;
	    padding: 0px 5px;
}
.nav2_item img {
	width: 120px;
	height: 50px;
}
.nav2_item:nth-child(odd) {
  border-left: 1px solid #ddd;
}

.nav2_itema {
	 float: left;
    margin-top: 10px;
    display: block;
	border-right: none;
	    padding: 0px 5px;
}

.nav2_itema img {
	width: 120px;
	height: 50px;
}
.nav2_itema:nth-child(odd) {
  border-right: 1px solid #ddd;
}

.nav2_itema_line {
  width: 90%;
  height: 1px;
  background-color: #ddd;
  display: inline-flex;
}

/* 照片輪播*/
#pics {
	width: 680px;
	height: 360px;
	overflow: hidden;
	position: absolute;
}

.pics {
	width: 680px;
	height: 360px;
	position: relative;
	left: 0;
}

.pics>li {
	position: absolute;
	opacity: ;
	filter: alpha(opcity:0);
}

.pics>ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 260px;
	float: left;
}



.pics_pre {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 45%;
	left: 0;
	background: url("img/arrow_left.png");
	cursor: pointer;
	display: none;
}

.pics_next {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 45%;
	right: 0;
	background: url("img/arrow_right.png");
	cursor: pointer;
	display: none;
}

.pics_list {
	width: 100%;
	height: 8%;
	position: absolute;
	bottom: 0;
	/*background:#8B8878;opacity:0.8;filter:alpha(opacity:80);*/
	cursor: pointer;
	text-align: center;
	display: none;
}

.pics_list>li {
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: #ffffff;
	cursor: pointer;
	float: left;
	margin: 5px;
	left: 40%;
	position: relative;
	list-style: none;
}

/* 照片輪播*/
.nav3 {
	float: left;
	position: absolute;
	width: 680px;
	height: 360px;
	left: 0px;
	background: #ffffff;
	margin-top: 8px;
	border-radius: 20px;
}

.camera_wrap .camera_azure_skin {
	display: contents !important;
	margin-bottom: 62px;
	height: 360px !important;
}


/*跑馬燈*/
.nav4 {
	float: left;
	position: absolute;
	width: 979px;
	height: 20px;
	margin-top: 375px;
	font-family: "微軟正黑體";
	font-size: 15px;
	color: #666;
}

/*首頁內容-公告BTN 大區*/
.newsitemall {
	position: relative;
	width: 979px;
	top: 30px;
	margin: 0px auto;
}

.newsitemall2 {
	    display: flex;
    /* justify-content: space-between; */
    /* flex-wrap: wrap; */
    /* gap: 20px; */
    top: 0px;
    width: 979px;
    margin: 0 auto;
}

/* NEW選單*/
#tab {
	width: 400px;
	height: 140px;
	margin: 0px;
	position: relative;
}

#tab a {
	height: 25px;

	display: block;
	cursor: pointer;
	float: left;
	text-decoration: none;
	text-align: right;
}

#tab a:hover {
	color: #2B73A8;
}

#tab>div>div {
	width: 400px;
	height: 140px;
	position: absolute;
	background: #FFFFFF;
	font-family: "微軟正黑體";
	font-size: 13px;
	color: #333;
	letter-spacing: 0.5px
}

#div1:target,
#div2:target,
#div3:target,
#div4:target,
#div5:target {
	font-family: "微軟正黑體";
	font-size: 13px;
	color: #333;
	z-index: 2;

}

#div1 {
	padding-top: 10px;
}

#div1 p {
	width: 400px;
	border-bottom: 1px dotted #CCC;
	line-height: 15px;
	padding-bottom: 2px;
	letter-spacing: 0px;
}

#div1 a:hover {
	color: #2B73A8;
	text-decoration: none;
}

#div1 a:focus {
	color: #2B73A8;
	text-decoration: none;
}

#div2 {
	padding-top: 10px;
}

#div2 a:hover {
	color: #2B73A8;
	text-decoration: none;
}

#div2 a:focus {
	color: #2B73A8;
	text-decoration: none;
}

#div2 p {
	border-bottom: 1px dotted #CCC;
	line-height: 15px;
	padding-bottom: 2px;
	letter-spacing: 0px;
}

#div4 p {
	border-bottom: 1px dotted #CCC;
	line-height: 15px;
	padding-bottom: 2px;
	letter-spacing: 0px;
}

#div5 p {
	border-bottom: 1px dotted #CCC;
	line-height: 15px;
	padding-bottom: 2px;
	letter-spacing: 0px;
}


/* 衛教專區*/
#div3 p {
	border-bottom: 1px dotted #CCC;
	line-height: 15px;
	padding-bottom: 2px;
	letter-spacing: 0px;
}

#div3 {
	font-family: "微軟正黑體";
	font-size: 14px;
	line-height: 15px;
	color: #333;
	height: 25px;
	padding-top: 12px;
	text-decoration: none;

	z-index: 3;
}

#div3 a {
	font-family: "微軟正黑體";
	font-size: 14px;
	color: #333;
	text-decoration: none;
}

#div3 a:hover {
	color: #2B73A8;
}


/* NEW選單*/
.divline {
	position: absolute;
	top: 38px;
	width: 400px;
	height: 4px;
	background: #ffd5d5;
}

.divline2 {
	position: absolute;
	top: 38px;
	width: 400px;
	height: 4px;
	background: #c5e7e1;
}

.more01 {
	width: 100%;
	text-align: right;
	margin-top: -5px;
}

.more01 a {
	width: 100%;
	text-align: right;
	margin-top: -5px;
}

.new01 {
	position: absolute;
	z-index: 3;

}

.new02 {
	position: absolute;
	padding-left: 430px;
	padding-top: 12px;
	z-index: 2;
}

.new03 {
	position: absolute;
	padding-left: 750px;
	padding-top: 5px;
	z-index: 1;
}

.new04 {
	position: absolute;
	    right: 0px;
	padding-top: 0px;
	z-index: 2;
	top: 0px;
}

.new04 img {
	margin: 0px 0px;
}

.eventalbum {
	position: relative;
	width: 100%;
	background: linear-gradient(to bottom, #e4f9ee, #e4f9f9);
	height: 300px;
}



.event_album {
	position: relative;
	width: 975px;
	margin: 0px auto;
	padding: 0px 0px;
}

.album_title {
	width: 975px;
	margin: 0px auto;
	padding: 25px 0px;
      font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.album_title span.zh {
  color: #009a9c; /* 或可用 #00a0c6 根據你站內配色 */
  font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
  margin-right: 0px;
  letter-spacing: 2px;
}

.album_title span.en {
  color: #75828f;
  font-size: 14px;
  font-family: 'Segoe UI', Arial, sans-serif;
}


/*相簿*/
#recommended-item-carousel .carousel-inner .item {
	padding-left: 0;
}

.recommended-item-control {
	position: absolute;
	top: 41%;
}

.recommended-item-control i {
	background: none repeat scroll 0 0 #08a6b6;
	color: #FFFFFF;
	font-size: 20px;
	padding: 4px 10px;
}

.recommended-item-control i:hover {
	background: #ccccc6;
}

.recommended_items h2 {}

.item button:hover {
	background: #FE980F;
}

.control-carousel {
	position: absolute;
	top: 50%;
	font-size: 60px;
	color: #C2C2C1;
}

.control-carousel:hover {
	color: #08a6b6;
}

.right {
	right: 0;
}

.fa-angle-left:before {
	content: "\f104"
}

.fa-angle-right:before {
	content: "\f105"
}

.fa {
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
	src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal
}

/*相簿*/

#footer {
	clear: both;
	width: 100%;
	background-color: #fff;
	height: 320px;
}

.footer_menu {
	position: relative;
	width: 979px;
	margin: 0px auto;
	padding: 10px 0px;
	font-family: "微軟正黑體";
	font-size: 14px;
	color: #333;
	text-align: center;
}

.footer_menu a {
	color: #818181;
	text-decoration: none;
}

.footer_menu a:hover {
	color: #333;
	text-decoration: none;
	transition: all 0.9s ease 0s;
	-moz-transition: all 0.9s ease 0s;
	-webkit-transition: all 0.9s ease 0s;
	-o-transition: all 0.9s ease 0s;
}

.footer_menuline {
	font-family: "微軟正黑體";
	font-size: 12px;
	color: #bababa;
}


.fotdiv-a {
	width: 100%;
    display: flex;
}

.fotdiv-b {
	width: 100%;
    display: flex;
}

.fotdiv{
	width: 100px;
	margin:0px 8px;
	float:left;
	font-family:"微軟正黑體";
  	font-size:11px;
 	color:#999;
	line-height:25px;
	text-align:left;
	}
	
.fotdiv2{
	width: 180px;
	margin:20px 8px 0px 8px;
	float:left;
	font-family:"微軟正黑體";
  	font-size:11px;
 	color:#999;
	text-align:left;
	}
				
.fblogo {
	position: absolute;
    right: 0px;
    bottom: 20px;
}
	

.footerall {
	float: left;
	width: 979px;
	position: relative;
	font-family: "微軟正黑體";
	font-size: 12px;
	color: #999;
}


.line01 {
	position: absolute;
	height: 1px;
	width: 979px;
	background-color: #f4f4f4;
	margin: 20px 0px 20px 0px;
}

.footer_logo {
	width: 210px;
	padding-top: 35px;
	padding-left: 5px;
	position: absolute;
}


.footer_ssllogo{
	padding-top:35px;
	padding-left:5px;
	position:absolute;
	right: 0px;
	}

.footer_font {
	width:auto;
	float: left;
	font-family: "微軟正黑體";
	font-size: 13px;
	color: #666;
	padding-top: 35px;
	padding-left: 255px;
	text-align: left;
	line-height: 22px;
}

.fotfont01 {
	font-family: "微軟正黑體";
	font-size: 14px;
	color: #333;
}



.fa-angle-up:before {
	content: "\f106"
}

a#scrollUp {
	bottom: 0px;
	right: 10px;
	padding: 5px 10px;
	background: #07a7b7;
	color: #FFF;
	-webkit-animation: bounce 2s ease infinite;
	animation: bounce 2s ease infinite;
}

a#scrollUp i {
	font-size: 30px;
}

.news_font01 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 8px;
}




#back_to_camera {
	clear: both;
	display: block;
	height: 80px;
	line-height: 40px;
	padding: 20px;
	z-index: 5;
}

.fluid_container {
	margin: 0 auto;
	width: 680px;
	height: 360px;
	z-index: 5;
	overflow: hidden;
	position: absolute;
	border-radius: 20px;
}

.adimgline {
	border: 1px solid #eee;
}


/*INDEX-公告區塊*/
.news_box {
  display: flex;
  border-radius: 20px;
  padding: 0px;
    width: 660px;
  align-items: flex-start;
}
.news_title {
  width: 140px;
    text-align: center;
    height: 200px;
    border-radius: 25px;
    background: linear-gradient(to bottom, #e4f9ee, #e4f9f9);
}
.news_title h2 {
  color: #009688;
  font-size: 18px;
  margin: 10px 0 5px;
}
.news_title p {
  color: #999;
  font-size: 12px;
}
.news_icon {
	padding-top: 40px;
}
.news_icon img {
  width: 60px;
  height: 60px;
}
.news_list {
  flex: 1;
  padding-left: 20px;
}
.news_item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  padding: 6px;
}
.news_date {
  width: 90px;
  font-size: 14px;
  color: #777;
}
.news_tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
  white-space: nowrap;
}
.tag_announce {
  background-color: #e1f1e6;
  color: #1a7e49;
}
.news_title_text a {
  color: #444;
  text-decoration: none;
}

.news_title_text a:hover {
  color: #000;
  text-decoration: none;
}
.tag_announce {
  background-color: #e1f1e6;
  color: #1a7e49;
}
.tag_event {
  background-color: #d6f5f8;
  color: #1d7f87;
}
.news_more {
  text-align: right;
  margin-top: 5px;
}
.news_more a {
  font-size: 12px;
  color: #37a7ae;
  font-weight: bold;
  text-decoration: none;
}

.new04 img {
	width: 290px;
	height: auto;
}



/*治療指引*/
.guideline_box {
  display: flex;
    background: linear-gradient(to bottom, #e4f9ee, #e4f9f9);
    padding: 20px;
    align-items: flex-start;
    margin-top: 50px;
}
.guideline_title {
  width: 140px;
    text-align: center;
    height: 230px;
    border-radius: 25px;
    background: linear-gradient(to bottom, #e4f9ee, #e4f9f9);
}
.guideline_icon img {
  width: 60px;
  height: 60px;
}
.guideline_title h2 {
  font-size: 18px;
  color: #00a5a5;
  margin: 10px 0 5px;
}
.guideline_title p {
  font-size: 12px;
  color: #666;
}
.guideline_icon {
	padding-top: 50px;
}
.guideline_list {
  flex: 1;
      padding: 8px;
}
.guideline_item {
  display: block;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  padding: 8px;
}
.guideline_date {
  width: 90px;
  font-size: 14px;
  color: #777;
}
.guideline_item a:hover {
	color: #000;
	text-decoration: none;
}
.guideline_text_title a {
  color: #333;
  text-decoration: none;
}
.guideline_more {
  text-align: right;
  margin-top: 10px;
}
.guideline_more a {
  font-size: 12px;
    color: #37a7ae;
    font-weight: bold;
    text-decoration: none;
}


/********治療指引區塊*/
.guideline_box-era2 {
	display: flex;
    width: 979px;
	margin: 0 auto;
}

/*治療指引*/
.guideline_box-era {
	    display: flex;
    width: 710px;
	background: #f8fffa;
    border-radius: 20px;
	padding: 10px;
}

/*醫療機構*/
.guideline_box-erab {
    position: relative;
    width: 240px;
    margin-left: 15px;
	background: #f8fffa;
    border-radius: 20px;
}

.guideline_box-erab-icon {
position: absolute;
}
.guideline_box-erab-icon img{
width: 240px;
    margin-top: -20px;
}

.fertility_title {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
margin-top: 145px;
}

.fertility_title h2 {
  color: #20bbc2; /* 藍色字，可依品牌微調 */
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 5px;
}

.fertility_title p {
  color: #333;
  font-size: 20px;
  margin: 0;
}
/********治療指引區塊*/




.new02box {
     width: 49%;
    border-radius: 18px;
    padding: 0px 10px;
    display: flex;
    margin: 20px 0px;
}



/*廣告*/
.ad-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  height: 200px;
  padding: 0px 0;
  position: relative;
  background: #f7f7f7;
}

.ad-carousel-container {
  position: relative;
  width: 100%;
  max-width: 975px;
  margin: auto;
  display: flex;
  align-items: center;
}

.ad-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.ad-carousel-item {
  flex: 0 0 20%; /* 5 items in a row */
  max-width: 20%;
  padding: 5px;
  box-sizing: border-box;
  text-align: center;
}

.ad-carousel-item img {
  width: 180px;
  height: 96px;
  border: 1px solid #ccc;
  background: #fff;
}

.ad-carousel-prev,
.ad-carousel-next {
  background-color: transparent;
    color: #999;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1;
}

.ad-carousel-prev {
  margin-right: 10px;
}

.ad-carousel-next {
  margin-left: 10px;
}


.ad_title {
	width: 970px;
	margin: 0px auto;
	padding: 10px 0px;
      font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.ad_title span.zh {
  color: #009a9c; /* 或可用 #00a0c6 根據你站內配色 */
  font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
  margin-right: 0px;
  letter-spacing: 2px;
}

.ad_title span.en {
  color: #75828f;
  font-size: 14px;
  font-family: 'Segoe UI', Arial, sans-serif;
}


/* ==== 廣告輪播：置中、固定寬度 ==== */
.ad-carousel-wrapper{
    max-width: 100%;     /* 中央框寬度 ‒ 你可以改成 900、960… */
    margin: 0px auto;     /* 上下留白 40px，自動水平置中 */
    position: relative;    /* 讓左右箭頭可 absolute */
	padding: 20px 0px;
}

/* 內層容器只要「溢出隱藏」即可 */
.ad-carousel-container{
    overflow: hidden;
}

/* 真正的走馬燈列：gap 為了漂亮留一點間距 */
.ad-carousel{
    display: flex;
    gap: 0px;             /* 卡片之間 12px 空隙，可改 0 */
	 margin-left: 10px;
    transition: transform .5s ease;
}

/* 單張卡片固定寬度（為了算 itemWidth）*/
.ad-carousel-item{
    flex: 0 0 180px;       /* 200px × (顯示張數) ≈ max-width */
}

/* 左右箭頭固定在容器內側 */
.ad-carousel-prev,
.ad-carousel-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}
.ad-carousel-prev{ left: -30px; }  /* 往左微移，避免遮圖 */
.ad-carousel-next{ right:-30px; }  /* 同理 */


.ad-carousel-prev{
	left:0;
}
.ad-carousel-next{
	right:0;
}


