
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */



nav ul, nav ol, #nav ul, #navbar ul, #nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}



/* ----------------------------------------------------------------------------
	Navigation Menu
----------------------------------------------------------------------------- */

#menutoggle {
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  color: #fff;
  height: 45px;
  font: 18px/46px 'Open Sans', 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 15px;
  bottom: 0;
  /* border-radius: 4px 4px 0 0; */
  transition: background 0.2s linear 0s;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#menutoggle span { display: none; }

#menutoggle:before {
  display: inline-block;
  margin-left: 0;
  width: 18px;
  height: 45px;
  line-height: 48px;
  color: inherit;
  text-align: center;
  font-size: 21px;
  vertical-align: top;
  font-family: "Font Awesome 5 Free"; font-weight: 900;  content: "\f0c9";  
}

#menutoggle.is-active:before { content: "\f0c9"; }

#menutoggle:hover, #menutoggle:active, #menutoggle.is-active {
  background-color: #1d1d1d;
  opacity:.7;
}

#menutoggle { display: block; }

#nav {
  clear: both;
  margin: 0;
  height: 0;
  overflow: visible;
  /* position: relative; */
  z-index: 1000;
}

#nav ul {
  float: none;
  display: block;
  margin: 0;
  width: auto;
  opacity: 0;
  max-height: 0;
  background: #1d1d1d;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0, 0.7, 0, 1), opacity 0.2s ease-in-out;
  top: 106px;
  border: 0;
  position: relative;
}

#nav #menutoggle.is-active + ul {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.3s ease-in-out, opacity 0.25s ease-in-out;
}

#nav li {
  display: block;
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  padding: 0;
  height: auto;
  overflow: hidden;
  border: 0;
  border-top: 1px dotted #455a64;
}

#nav li:first-child { border-top: 0; }


#nav a, #nav span.submenu {
  float: none;
  display: block;
  margin: 0;
  padding: 9px 20px;
  height: auto;
  color: #fff;
  line-height: 1.6em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  text-align: left;
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: normal;
  font-family: 'Noto Sans TC', sans-serif;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transition: background 0.17s linear 0s;
}

#nav span.submenu { border-bottom: 1px dotted #455a64; }

#nav span.submenu:after {
  float: right;
  margin-left: 10px;
  width: 15px;
  height: inherit;
  color: inherit;
  text-align: center;
  font-size: 105%;
  vertical-align: top;
  font-family: "Font Awesome 5 Free"; font-weight: 900;  content: "\f078"; 
}

#nav span.submenu.is-active:after { content: "\f077"; }

#nav ul.submenu {
  margin: 0;
  padding: 0;
  width: 100%;
  max-height: 0;
  background: none;
  opacity: 1;
  position: relative;
  top: 0;
  transition: max-height 0.15s linear 0s;
}

#nav span.submenu.is-active + ul.submenu {
  max-height: 360px;
  overflow-y: auto;
}

#nav ul.submenu a {
  padding-left: 40px;
  background: none;
}

#nav ul.submenu a:before {
  display: inline-block;
  margin-right: 5px;
  margin-left: -15px;
  width: 10px;
  height: inherit;
  color: inherit;
  text-align: center;
  font-size: inherit;
  vertical-align: top;
}

#nav a:hover, #nav a.is-active, #nav li:hover span.submenu, #nav ul.submenu a:hover, #nav ul.submenu a.is-active {}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 36em) { 
	#menutoggle {padding: 0 0 0 15px;}
	
	#menutoggle span { display: inline-block; }
	
	#menutoggle:before { margin-right: 10px; }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 62em) { 

	#menutoggle { display: none; }
		
	#nav {
	  height: 55px;
	  position: absolute;
	  top: 40px;
	  right: 10px;
	  z-index: 99;
	  border: 0;
	}
	
	#nav ul {
	  display: block !important;
	  float: left;
	  width: 100%;
	  height: auto;
	  opacity: 1;
	  margin: 4px 0;
	  position: relative;
	  z-index: 10;
	  top: 0;
	  overflow: visible;
	}
	

	#nav li {
	  float: left;
	  margin: 5px 0 5px 20px;
	  padding: 0;
	  height: 37px;
	  width: auto;
	  min-width: auto;
	  position: relative;
	  border: 0;
	  overflow: visible;
	}
	
	#nav li:first-child {
	  margin-left: 4px;
	  border-left: 0;
	}
	
	#nav li.last { border-right: 0; }
	
	#nav li.right {
	  float: right;
	  margin-right: 4px;
	  border-right: 0;
	}
	
	#nav a, #nav span.submenu {
	  float: left;
	  margin: 0;
	  padding: 0 0px;
	  height: 37px;
	  border: 0;
	  color: #fff;
	  font-weight: normal;
	  line-height: 39px;
	  text-align: center;
	  font-weight: bold;
	  text-transform: uppercase;
	  transition: background 0.2s linear 0s;
	  cursor: pointer;
	}
	
	#nav span.submenu:after { display: none; }
	
	
	#nav a:hover, #nav a.is-active, #nav li:hover span.submenu, #nav ul.submenu a:hover, #nav span.submenu.is-active {}
	
	#nav li:hover a.submenu, #nav li:hover span.submenu, #nav span.submenu.is-active.hover {
	  border-radius: 3px 3px 0 0;
	  -webkit-tap-highlight-color: rgba(0,0,0,0);
	}
	
	#nav li:hover { z-index: 11; }
	
	#nav ul.submenu {
	  float: left;
	  margin: 0;
	  padding: 0;
	  min-width: 250px;
	  max-height: 0;
	  position: absolute;
	  opacity: 0;
	  background: #ffffff;
	  top: 115%;
	  z-index: 10;
	  border-radius: 0 3px 3px 3px;
	  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	  transition: max-height 0.2s linear 0s, padding 0.2s linear 0s, opacity 0.2s linear 0s;
	  overflow: hidden;
	  /*overflow-y: auto; //é–‹å•Ÿé¸å–®æ²è»¸é˜²æ­¢éŽé•· */
	}
	
	#nav li:hover ul.submenu, #nav ul.submenu.is-active {
	  padding: 3px 0;
	  left: 0;
	  max-height: 360px;
	  opacity: 1;
	}
	
	#nav ul.submenu li {
	  float: none;
	  display: block;
	  margin: 0;
	  padding: 0;
	  border: 0;
	  height: auto;
	}
	
	#nav ul.submenu a {
	  float: none;
	  display: block;
	  margin: 0;
	  padding: 16px 15px 16px 28px;
	  height: auto;
	  text-transform: none;
	  text-align: left;
	  line-height: 1.5em;
	  border-radius: 0;
	  color: #464646;
	  border: 0;
	  border-top: 1px dotted #37474f;
	}
	
	#nav ul.submenu li:first-child a { border: 0; }
	#nav ul.submenu li a:hover, #nav ul.submenu li a.is-active {background: #1d1d1d;}
	#nav ul.submenu li a:hover{ background:#698ba1 !important; }
}