body {
	margin: 0px;
	padding: 0px;
	font-family: "微軟正黑體";
}

h1 {
  padding: 15px;
  text-align: center;
  margin: auto;
}

li {
	flex: auto;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: rgba(0,0,0,0.2);
}

li:last-child { border: none; }


a{
	color: #069;
	text-decoration: none;
}

a:link,a:visited {
	text-decoration: none;
	line-height: 2.5em;
}


a:hover {
	color: #FF9900;
	text-decoration: none;
	line-height: 2.5em;
	font-size: 16px;
	font-weight: normal;
}



*, *:after, *:before {
  box-sizing: border-box;
}

.animenu__toggle {
	display: none;
	cursor: pointer;
	border: 0;
	padding: 10px;
	height: 40px;
	width: 40px;
	background-color: #600;
}
.animenu__toggle:hover {
	background-color: #660000;
	text-decoration: none;
}

.animenu__toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  -webkit-transition:  0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55); 
  -o-transition:  0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55); 
  transition:  0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55); 
}
.animenu__toggle__bar + .animenu__toggle__bar {
  margin-top: 4px;
}

.animenu__toggle--active .animenu__toggle__bar {
  margin: 0;
  position: absolute;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
  opacity: 0;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.animenu {
  display: block;
}
.animenu ul {
  padding: 0;
  list-style: none;
  font: 0px 'Open Sans', Arial, Helvetica;
}
.animenu li, .animenu a {
	display: inline-block;
	text-decoration: none;
}
.animenu a {
  text-decoration: none;
  font-family: "微軟正黑體";
  text-shadow:1px 1px 2px #333;
}

.animenu__nav {
  	background: rgb(90,37,150); /* Old browsers */
	background: -moz-linear-gradient(top,  rgb(90,37,150) 1%, rgb(16,53,41) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgb(90,37,150) 1%,rgb(16,53,41) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgb(90,37,150) 1%,rgb(16,53,41) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5a2596', endColorstr='#103529',GradientType=0 ); /* IE6-9 */
}
.animenu__nav > li {
  position: relative;
  border-right: 0px solid #5a2596;
}
.animenu__nav > li > a {
  padding: 0px 30px;
  text-transform: uppercase;
}
.animenu__nav > li > a:first-child:nth-last-child(2):before {
  content: "";
  position: absolute;
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
  top: 50%;
  margin-top: -2px;
  right: 10px;
}
.animenu__nav > li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}
.animenu__nav > li:hover > a {
  color: #fff;
}

.animenu__nav__child {
  min-width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  margin: 20px 0 0 0;
  background-color: #373737;
  transition: margin .15s, opacity .15s;
}
.animenu__nav__child > li {
  width: 100%;
  border-bottom: 1px solid #515151;
}
.animenu__nav__child > li:first-child > a:after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  left: 1em;
  top: -6px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: inherit;
}
.animenu__nav__child > li:last-child {
  border: 0;
}
.animenu__nav__child a {
  padding: 10px;
  width: 100%;
  border-color: #373737;
}
.animenu__nav__child a:hover {
	background-color: #FFCC00;
	border-color: #FF9900;
	color: #fff;
}

@media screen and (max-width: 1024px) {

.animenu__nav > li > a {
  padding: 0px 20px;
  text-transform: uppercase;
}
}



@media screen and (max-width: 768px) {
  .animenu__toggle {
    display: inline-block;
  }

  .animenu__nav,
  .animenu__nav__child {
    display: none;
  }

  .animenu__nav {
    margin: 10px 0;
  }
  .animenu__nav > li {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #515151;
  }
  .animenu__nav > li:last-child {
    border: 0;
  }
  .animenu__nav > li:first-child > a:after {
	content: '';
	position: absolute;
	height: 0;
	width: 0;
	left: 50%;
	top: -6px;
	border: 0px solid transparent;
	border-top: 0;
	border-bottom-color: inherit;
  }
  .animenu__nav > li > a {
    width: 100%;
    padding: 10px;
    border-color: #111;
    position: relative;
  }
  .animenu__nav a:hover {
	background-color: #FFCC00;
	border-color: #FF9900;
	color: #fff;
  }

  .animenu__nav__child {
    position: static;
    background-color: #373737;
    margin: 0;
    transition: none;
    visibility: visible;
    opacity: 1;
  }
  .animenu__nav__child > li:first-child > a:after {
    content: none;
  }
  .animenu__nav__child a {
    padding-left: 20px;
    width: 100%;
  }
}
.animenu__nav--open {
  display: block !important;
}
.animenu__nav--open .animenu__nav__child {
  display: block;
}
