@charset "utf-8";
/* CSS Document */

.logo {
	float: left;
	padding-top: 10px;
	padding-bottom: 10px;
}

.navbar_list {
	position: absolute;
	right: 0;
    bottom: 0;
}

.clear {
	clear: both;
}

.navbar_button {
	display: none;
	padding-top: 25px;
}

.navbar_button button {
	position: relative;
	float: right;
    background-color: #ff931e;
    border: none;
    color: white;
    padding: 9px 10px;
    margin-top: 8px;
	margin-right: 15px;
	margin-bottom: 8px;
    cursor: pointer;
	border-radius: 8px;
}

.navbar_button button:hover {
	background-color: #cac5c0
}

.navbar_button span {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #FFFFFF;
	margin-top: 4px;
}

#menu {
	width: 100%;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
}

#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu:before, #menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

#menu li {
	float: left;
	box-shadow: none;
	position: relative;
	border-right-width: 1px;
	border-right-style: hidden;
}

#menu li li a {
	font-size: 1.1em;
}

#menu a {
	float: left;
	color: #600;
	text-transform: uppercase;
	text-decoration: none;
	/*text-shadow: 0 1px 0 #000;*/
	font-size: 1.1em;
	font-weight: normal;
	font-family: "Microsoft JhengHei";
	padding-top: 5px;
	/*padding-right: 80px;*/
	padding-bottom: 5px;
	padding-left: 80px;
}

#menu li:hover > a {
	color: #FF6600;
}

*html #menu li a:hover { /* IE6 only */
    color: #fafafa;
}

#menu ul {
	margin: 20px 0 0 0;
	_margin: 0; /*IE6 only*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 30px;
	left: 80px;
	z-index: 100;
	background: #444;
	box-shadow: 0 -1px 0 rgb(255,255,255);
	box-shadow: 0 -1px 0 rgba(255,255,255,.9);
	border-radius: 3px;
	transition: all .2s ease-in-out;
	background-color:rgb(255,255,255);
	background-color:rgba(255,255,255,.9);
}

#menu li:hover > ul, #menu li.active > ul  {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

/*第一子項*/
#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    /*box-shadow: 0 1px 0 #111, 0 2px 0 #666;*//*邊框隔線*/
}

#menu ul li:last-child {   
    box-shadow: none;    
}

#menu ul a {
	padding: 7px;
	width: 145px;
	_height: 10px; /*IE6 only*/
	display: block;
	z-index: 100;
	white-space: nowrap;
	/*float: none;*/
	background-color: #ffffff \9;/*IE8 only*/
	text-transform: none;
}

#menu ul a:hover {
    /*background-color: #DEB887 \9;*/
    background-color: rgb(255,228,159) ;
    /*background-image: linear-gradient(#04acec, #0186ba);*/
    width: 145px;
    color: #600;
    font-weight: bolder;
}

#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
    behavior: url(https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20240510034620/https://www.th.gov.tw/signup/js/PIE.htc);
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent;   
}

#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
    behavior: url(https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20240510034620/https://www.th.gov.tw/signup/js/PIE.htc);
}

@media screen and (max-width:768px) {
	.navbar_button {
		display: block;
	}
	
	.navbar_list {
		clear: both;
		display: none;
		position: relative;
		right: auto;
		bottom: auto;
	}
	
	.show {
		display: block;
	}
	
	#menu {
		background-color: #ff931e;
	}
	
	#menu li {
		float: none;
	}
	
	#menu li a {
		padding: 7px;
		width: 100%;
		display: block;
		z-index: 100;
		white-space: nowrap;
		text-transform: none;
		text-align: center;
	}

	#menu li a:hover {
		background-color: rgb(255,228,159);
		width: 100%;
		color: #600;
		font-weight: bolder;
	}
	
	#menu ul a {
		background-color:rgb(255,255,255);
		background-color:rgba(255,255,255,.9);
	}
	
	#menu ul {
		visibility: hidden;
		position: relative;
		display: none;
		top: auto;
		left: auto;
	}

	#menu li:hover > ul, #menu li.active > ul {
		display: block;
	}
	
	#menu ul li:first-child > a:after {
		border-left: none;
		border-right: none;
	}
}





/*
     FILE ARCHIVED ON 3:46:20 五月 10, 2024 AND RETRIEVED FROM THE
     AN OPENWAYBACK INSTANCE ON 12:57:59 五月 18, 2026.
     JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
