/*+clearfix {*/
#sfmainmenu * {
	outline: 0;
}
#sfmainmenu {
	padding: 0 12px;
}
#sfmainmenu:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0;
}
#sfmainmenu {
/*\*/
	/* display: block; */
/**/
	-height: 1px;
}
/*+}*/
/*superfish 2.0 reloaded*/
ul.sf-menu, ul.sf-menu * {
/*reset the menu*/
	/* margin: 0; */
}
/*[clearfix]*//*ul.sf-menu {*/
	/*+placement:margin-auto 0px 0px;*/
	/* margin-left: auto;
	margin-right: auto;
	position: relative;
		left: 0px;
		top: 0px; 
}
ul.sf-menu
{
reset line heights
	line-height: 1;
}*/
ul.sf-menu li {
	position: relative;
}
/* a.menu_link_1 {
	font-weight: bold;
	font-size: 16px;
} */
a.mainmenu_item,
.mm_label {
	color: #ffffff;
	line-height: 3.7;		/*20160810 add*/
	position: relative;
	text-align: left;
	padding: 0 17px;		/* 20210224 modify */
}
#sfmainmenu > li:hover:after, #sfmainmenu > li > a:focus:after {
	width: calc(100% - 32px);
}
.mainmenu_item:after,	/*	mainmenu 跟 footmenu 的選單都會用到，調整要小心	*/
#sfmainmenu > li:after {
	content: "";
	width: 0;
	position: absolute;
		left: 16px;
		bottom: 0;
	background: #bfffc0;
	height: 4px;
	transition: width 350ms;
}
ul.sf-menu > li.active {
	background: rgba(0,102,75,1);
	background: -moz-linear-gradient(top, rgba(0,102,75,1) 0%, rgba(51,153,51,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,102,75,1)), color-stop(100%, rgba(51,153,51,1)));
	background: -webkit-linear-gradient(top, rgba(0,102,75,1) 0%, rgba(51,153,51,1) 100%);
	background: -o-linear-gradient(top, rgba(0,102,75,1) 0%, rgba(51,153,51,1) 100%);
	background: -ms-linear-gradient(top, rgba(0,102,75,1) 0%, rgba(51,153,51,1) 100%);
	background: linear-gradient(to bottom, rgba(0,102,75,1) 0%, rgba(51,153,51,1) 100%);
}
.nav2 ul.sf-menu > li.active {
	background: rgba(0,48,102,1);
	background: -moz-linear-gradient(top, rgba(0,48,102,1) 0%, rgba(50,127,153,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,48,102,1)), color-stop(100%, rgba(50,127,153,1)));
	background: -webkit-linear-gradient(top, rgba(0,48,102,1) 0%, rgba(50,127,153,1) 100%);
	background: -o-linear-gradient(top, rgba(0,48,102,1) 0%, rgba(50,127,153,1) 100%);
	background: -ms-linear-gradient(top, rgba(0,48,102,1) 0%, rgba(50,127,153,1) 100%);
	background: linear-gradient(to bottom, rgba(0,48,102,1) 0%, rgba(50,127,153,1) 100%);
}
ul.sf-menu > li.active::after {
	width: calc(100% - 32px) !important;
}

/*first level*/
/** 2nd level*/
ul.submenu_warpper {
	background-color: #2d2d2d;
	left: 16px;
	width: 170px;
	z-index: 1;
}
.mod_en-mainmenu ul.submenu_warpper {
	left: 8px;
}
.submenu_1 {
/*set submenu li widths*/
	width: 100%;
}
.submenu_1:last-child {
	border-bottom: none;
}
.menu_link_2 {
	display: inline-block;
	color: #ffffff;
	/* line-height: 3; */
	line-height: 1.8;
	font-size: 13px;		/*20160810 add*/
	text-align: left;
	text-decoration: none;
	/* padding-left: 20px; */
	padding: 0.75rem 0 0.75rem 20px;
	display: inline-block;
	width: calc(100% - 16px);
}


/* ul.submenu_warpper .active::before, */
/*ul.submenu_warpper .active .menu_link_2,
ul.submenu_warpper .active .menu_link_2 span::before,
.menu_link_2:hover,
.menu_link_2:focus,
.menu_link_2:active,
.menu_link_2:hover span::before, 
.menu_link_2:focus span::before, 
.menu_link_2:active span::before {
	 color: #24b353; 
}*/
ul.sf-menu li:hover ul, ul.sf-menu li.sfhover ul
{
/*shows 2nd level / dropdown*/
	visibility: visible;
	display: inline-block;
	z-index: 99;
	position: relative;
}
ul.sf-menu li:hover ul ul, ul.sf-menu li.sfhover ul ul
{
/*hide 3rd level offscreen*/
	top: -999em;
}
/*3rd level*/
ul.sf-menu li ul li ul
{
	left: 8.5em;/*原10em*/
	display: none;
	visibility: hidden;
	top: 0em;
/*left = 1st level width*/
}
ul.sf-menu li ul li:hover > ul, ul.sf-menu li ul li.sfhover > ul
{
/*shows 3rd level*/
	top: 0em;
}
ul.sf-menu li ul li ul li ul
{
/*hide 4th level*/
	top: -999em;
}
/*4th level*/
ul.sf-menu li ul li ul li ul
{
	left: 10em;
/*last level, just style, no superfish disclosure, just copy the above recipe to add more levels!*/
}
ul.sf-menu li ul li ul li:hover ul, ul.sf-menu li ul li ul li.sfhover ul
{
/*show 4th level*/
	top: 0em;
}
/*hover state / xpath*/
.sf-menu li:hover, .sf-menu li.sfhover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	/*outline: 0;*/
}
/*arrows*/
.sf-menu a.sf-with-ul {
	padding-right: 2.25em;
	min-width: 1px;
/*trigger ie7 haslayout so spans position accurately*/
}
.sf-sub-indicator {
	position: absolute;
	display: block;
	right: 0.55em;
	top: 1.05em;
	width: 10px;
	height: 10px;
	text-indent: -999em;
	overflow: hidden;
	background-position: -10px 0;
	background: url('https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20181021170456/https://np.cpami.gov.tw/modules/mod_sfmenu/assets/images/arrows-ffffff.png') no-repeat -10px 0px;
}
.sf-menu li.sfhover .sf-sub-indicator {
	background-position: -10px -100px;
}
/*submenu arrows right*/
ul.sf-menu li.sfhover ul li .sf-sub-indicator {
	background-position: 0px 0px;
}
.sf-menu li.sfhover li.sfhover .sf-sub-indicator {
	background-position: -10px 0px;
}
.sf-menu ul .sf-sub-indicator {
	background-position: -10px 0;
}
/*themes*/
#menu1 li {
	border: 0px solid #000000;
	/*+border-radius:3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px 3px 3px 3px;
	background-color: #c00505;
	/*+text-shadow:1px 1px 1px #000;*/
	-moz-text-shadow: 1px 1px 1px #000;
	-webkit-text-shadow: 1px 1px 1px #000;
	-o-text-shadow: 1px 1px 1px #000;
	text-shadow: 1px 1px 1px #000;
}
#menu1 li a {
	color: #fff;
}
#menu1 li.sfhover ul li.sfhover ul li a {
	/*+border-radius:0px;*/
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	-khtml-border-radius: 0px;
	border-radius: 0px 0px 0px 0px;
}
#menu1.sf-menu.sf-js-enabled li.sf-with-ul ul li.sf-with-ul ul li a {
	/*+border-radius:0;*/
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0 0 0 0;
}
#menu1 .sfhover li.sfhover:last-child a, #menu1.sf-js-enabled li.sf-with-ul.sfhover ul li.sf-with-ul.sfhover ul li.sfhover:last-child a {
	/*+border-radius:0 0 20px 20px;*/
	-moz-border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	-khtml-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
}
#menu1 .sfhover li.sfhover:first-child a, #menu1.sf-js-enabled li.sfhover ul li.sf-with-ul ul li.sfhover:first-child a {
	/*+border-radius:20px 20px 0 0;*/
	-moz-border-radius: 20px 20px 0 0;
	-webkit-border-radius: 20px 20px 0 0;
	-khtml-border-radius: 20px 20px 0 0;
	border-radius: 20px 20px 0 0;
}
#menu1.sf-js-enabled li.sf-with-ul.sfhover ul li.sf-with-ul.sfhover ul li.sfhover:last-child a {
	/*+border-radius:0 0 20px 20px;*/
	-moz-border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	-khtml-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
}
#menu1 li ul li ul li a {
	border-bottom: 1px solid #000000 !important;
}
#menu1 li ul li ul li:last-child, #menu1 li.sf-with-ul ul li.sf-with-ul ul li:last-child a {
	border-bottom: 0px solid #000 !important;
}
#menu1 li ul {
	/*+box-shadow:5px 5px 10px #1a1a1a;*/
	-moz-box-shadow: 5px 5px 10px #1a1a1a;
	-webkit-box-shadow: 5px 5px 10px #1a1a1a;
	-o-box-shadow: 5px 5px 10px #1a1a1a;
	box-shadow: 5px 5px 10px #1a1a1a;
	/*+border-radius:20px;*/
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	border-radius: 20px 20px 20px 20px;
	border: 1px solid #000000;
	background-color: #464646;
}
#menu1 .sfhover > a {
	background-color: #000;
}
#menu1 li ul li {
	/*+border-radius:0px;*/
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	-khtml-border-radius: 0px;
	border-radius: 0px 0px 0px 0px;
	background-color: transparent;
}
#menu1 li ul li a {
	border: 0px solid #000000;
	border-bottom: 1px solid #000000;
}
#menu1 li ul li:last-child a {
	border-bottom: 0px solid #000000;
}





/*
     FILE ARCHIVED ON 17:04:56 十月 21, 2018 AND RETRIEVED FROM THE
     AN OPENWAYBACK INSTANCE ON 16:53:58 五月 14, 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)).
*/
