@charset "utf-8";
/* CSS Document */
/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

*{box-sizing:border-box; -webkit-box-sizing:border-box; line-height:1;}

:focus { outline: 0; }
li{ list-style-type: none;}
ul li a { text-decoration: none; }
img{ vertical-align:top;}
body{ font-family:'Noto Sans TC','Century Gothic','Futura','Didact Gothic',san-serif,Microsoft JhengHei;z-index: 9999;}


/* 導覽頁籤 */

.sidenav { position: fixed; left: 0px; top: 80px; z-index: 9999; width: 120px; border-radius:20px; overflow: hidden; background: #0d3404; }
.sidenav ul { overflow: hidden;  padding: 10px 0;z-index: 9999;}
nav ul{ padding-left:0px;}
/*.sidenav ul:last-child  { background-color:#000; }*/
.sidenav ul li {font-weight: bold; font-size: 16px; line-height: 20px; text-align: center; color:#f1da52;}
.sidenav ul li a { display: block; color: #fff; font-size: 15px; line-height: 40px;  text-decoration:none;}
.sidenav hr { margin: 12px; padding: 0; border: #f1da52 0.5px solid;}

.sidenav li { 
	-webkit-transition-duration:.3s;
	        transition-duration:.3s;
	-webkit-transition-property:transform;
	        transition-property:transform;
	-webkit-transition-timing-function:ease-out;
	        transition-timing-function:ease-out}
.sidenav li:hover a {  background-color:#edefb0; }
.sidenav li:hover a { color:#0d3404 ; }

@media screen and ( max-width: 640px ){
	.sidenav , .button { display: none; }}
	
/*收*/
.nav_block{position: fixed; z-index:99;}
@media screen and ( max-width: 640px ){
.nav_block { display: none; }}
.sidenav_pc{	position: fixed; z-index:99;}
.side-menu-sm{
	position: fixed;
	width: 140px;
	top:20px;
	padding: 15px 0;
	border-radius:10px;
	box-sizing: border-box;
/* background: #0d3404;*/
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	text-align:center;
	z-index:99;
	font-size:15px;
}
.side-menu-sm form{
	display: flex;
	margin: 0 10px 50px;
	border-radius: 100px;
	border:1px solid rgb(255,255,255,.4);
}
.side-menu-sm form input,
.side-menu-sm form button{
	border:none;
	background-color: transparent;
	color: #fff;
	padding: 5px 10px;
}
.side-menu-sm form input{
	width: 230px;
}
.side-menu-sm form button{
	width: 50px;
}
.side-menu-sm form input:focus,
.side-menu-sm form button:focus{
	outline: none;
}

/*直式收闔按鈕*/
.side-menu-sm label{
	position: fixed;
	width: 50px;
	height: 200px;
 	background: #bbeff4;
	/*color: #f8db4a;*/
	color: #3f61af;
	right: -37px;
	top: -93px;
	bottom: 0;
	margin: auto;
	line-height: 21px;
	text-align: center;
	font-size: 22px;
	border-radius: 0 10px 10px 0;
	padding:10px 14px 10px 8px;
	font-weight:400;

writing-mode: vertical-rl;
}


#side-menu-switch-sm{
	position: absolute;
	opacity: 0;
	z-index: -1;
}
#side-menu-switch-sm:checked + .side-menu-sm{
	transform: translateX(-135px);
}
#side-menu-switch-sm:checked + .side-menu-sm label .fa{
	transform: scaleX(-1);
} 
nav a{
	display: block;
	padding: 9px;
	color: #ffffff;
	text-decoration: none;
	position: relative;
	font-family: 'Noto Sans TC',san-serif,Microsoft JhengHei; font-weight:500; line-height:14px; font-size:15px;
}
nav a:hover{
	display: block;
	padding: 9px;
	color: #fdeba3;
	text-decoration: none;
	position: relative;
	font-family:'Noto Sans TC', san-serif,Microsoft JhengHei;
    background:#193b7b;} /*各館hover底色*/

nav a + a::before{
	content: '';
	position: absolute;
	border-top: 1px solid rgb(255,255,255,.4);
	left: 10px;
	right: 10px;
	top: 0;
}
nav a .fa{
	margin-right: -1.1em;
	transform: scale(0);
	transition: .3s;
}
nav a:hover .fa{
	margin-right: 0em;
	transform: scale(1);
}
.block1,.block2{ width:140px; padding-bottom:0px;}
.block1 img{ margin:0 auto; margin:0 5px;}
.block2 img{ margin:0 auto; margin:-8px 0;}
.list1{ width:114px; border:2px #fdf0be solid; margin:0 auto;}
.list2{ width:114px; border:2px #fdf0be solid; margin:0 auto;}
.list1 li{ width:110px; margin:0 auto; background:#4770bc;border-bottom:1px dotted #fdf0be;}  /*list1 pill底色*/
.list1 li a{ line-height:1.1;}  /*list1 pill行高*/
.list2 li{ width:110px; margin:0 auto; background:#4770bc;border-bottom:1px dotted #fdf0be;}  /*list2 pill底色*/
.list2 li span{; background:#fff; color:#d34914; font-size:10px; line-height:10px; padding:0px 10px; border-radius:20px;}
.list1 li:last-child,.list2 li:last-child{border-bottom:0px dotted #04414b;}
.list1 li:last-child{ padding-bottom:10px;}
.list2 li:first-child{ padding-top:4px;}
.list2 li a{ line-height:19px; padding:5px 9px;}
.list3 p{ color:#4770bc; font-size:18px; font-weight:500;width:100%;  text-align:center; padding:0px; margin:10px 0;} /*各館pill*/
.list3{display:flex; flex-wrap:wrap; width:114px; margin:0 auto; background:#eb7018; padding-bottom:34px; border-radius:0 0 70px 70px; border:2px #fdf0be solid; border-top:0px;}  /*各館pill底色*/
.list3 li{ width:55px; border-bottom:1px dotted #fdf0be; padding:0px 0px;}
.list3 li:nth-child(1){ width:110px; border-bottom:1px dotted #fdf0be; padding:0px 0px 0px; background:#f8db49;}  /*各館推薦大pill底色*/
.list3 li:nth-child(even){ border-right:1px dotted #fdf0be;}
/*.list3 li:last-child{ width:110px; border-bottom:0px dotted #fdf0be;border-right:0px dotted #fdf0be; padding:0px 0px 0px;}*/
/* .list3 li:nth-child(14),.list3 li:nth-child(15){border-bottom:0px dotted #fdf0be;} */


/*sidemanu for mobile*/

.sidenav, .icon_sidenav { display: none;}
@media screen and ( max-width: 640px ){
	.side-menu-sm {display: none;}
	.icon_sidenav{ 
		display: inherit; 
		position: fixed;
		z-index: 999;
		bottom: 10%;
		left: 0px;
		max-width: 15%;
		padding: 2%;
		    background: #c7f9ff;
    color: #2196f3;
		border-radius: 0 8px 8px 0;
		line-height:1.1em;
		font-size:1.2em;
	}
	.vert{
		-webkit-writing-mode: vertical-rl;
		writing-mode: vertical-rl;
	}
	.icon_sidenav img{
		max-width: 100%;
		padding: 15% 18%;
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
		background:rgba(0, 0, 0, 1);
	}
	
	.sidenav {
		display: inherit;
		height: 100%;
		width: 0;
		position: fixed;
		z-index: 9999;
		top: 0;
		right: 0;
		background-color:#d4e9ec;  /*m版展開底色*/
		overflow-x: hidden;
		transition: 0.3s;
		padding-top: 20px;
		border-radius: 20px 20px 0 0;
	  }
	  .sidenav p {
		padding: 20px 8px 8px 20px; 
		font-size: 22px;
		color: #1068b6;  /*m版展開標題字色*/
		font-weight: 400;
		line-height:1.2em; 
	  }
	  .sidenav a {
		padding: 5px 8px 5px 20px;
		text-decoration: none;
		font-size: 15px;
		color: #5288b8;
		display: block;
		transition: 0.3s;
		margin: 1% 0;
		font-weight: 300;
	  }
	  
	  .sidenav a:hover {
		color:#f8db4a;
	  }
	  
	  .sidenav .closebtn {
		position: absolute;
		top: 0;
		right: 25px;
		font-size: 36px;
		margin-left: 50px;
	  }
	  
	  @media screen and (max-height: 450px) {
		.sidenav {padding-top: 15px;}
		.sidenav a {font-size: 12px;}
		
	  }
}

.cate{ display:inline-block;}

/*for mobile*/
menu{display:none;}
	@media screen and ( max-width: 768px ){
		menu{ display:block;}
}

/*側邊欄2*/

.sidenav2, .icon_sidenav2 { display: none;}
@media screen and ( max-width: 640px ){
	.side-menu-sm {display: none;}
	.icon_sidenav2{ 
		display: inherit; 
		position: fixed;
		z-index: 999;
		bottom: 10%;
		right: 5px;
		width: 80px;
		height: 80px;
		padding-top: 14px;
		background:#012851;
		border: 2px solid #fa1e50;
		color:#fff;
		border-radius: 50px;
		line-height:1.4rem;
		font-size:1.2em;
		text-align: center;
	}

	.vert{
		-webkit-writing-mode: vertical-rl;
		writing-mode: vertical-rl;
	}
	.icon_sidenav2 img{
		max-width: 100%;
		padding: 15% 18%;
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
		background:rgba(0, 0, 0, 1);
	}
	
	.sidenav2 {
		display: inherit;
		height: 100%;
		width: 0;
		position: fixed;
		z-index: 9999;
		top: 0;
		right: 0;
		background-color:#012851;  /*m版展開底色*/
		overflow-x: hidden;
		transition: 0.3s;
		padding-top: 40px;
		border-radius: 40px 0 0 0;
	  }
	  .sidenav2 p {
		padding: 20px 8px 8px 20px; 
		font-size: 22px;
		color: #fa1e50;  /*m版展開標題字色*/
		font-weight: 400;
		line-height:1.2em; 
	  }
	  .sidenav2 a {
		padding: 5px 8px 5px 20px;
		text-decoration: none;
		font-size: 15px;
		color: #ffffff;
		display: block;
		transition: 0.3s;
		margin: 1% 0;
		font-weight: 300;
	  }
	  
	  .sidenav2 a:hover {
		color: #fffcd4;
	  }
	  
	  .sidenav2 .closebtn {
		position: absolute;
		top: 0;
		right: 25px;
		font-size: 36px;
		margin-left: 50px;
	  }
	  
	  @media screen and (max-height: 450px) {
		.sidenav2 {padding-top: 15px;}
		.sidenav2 a {font-size: 12px;}
		
	  }
}