@charset "UTF-8";
button.menu_m {
  position: fixed;
  width: 4%;
  top: 2%;
  right: 0%;
  border: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 0;
  background-color: transparent;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 990;
  outline: 0;
  order: 3;
}
@media (max-width: 768px) {
  button.menu_m {
    width: 45px;
    height: auto;
    top: 2%;
    right: 0%;
  }
}

/* Overlay style */
.overlay {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  background: #fff100;
  z-index: 9999;
}

/* Overlay closing cross */
.overlay .overlay-close {
  display: block;
  width: 58px;
  height: 58px;
  position: absolute;
  right: 2%;
  top: 4%;
  overflow: hidden;
  border: none;
  background: url(../images/cross.png) no-repeat center center;
  text-indent: 200%;
  color: transparent;
  outline: none;
  z-index: 999;
  background-size: 100%;
}
@media (max-width: 767px) {
  .overlay .overlay-close {
    width: 50px;
    height: 50px;
    right: 4%;
  }
}

/* Menu style */
.overlay nav {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  width: 100%;
  height: 74%;
  text-align: center;
  position: relative;
  /* -webkit-transform: translateY(-50%);
  transform: translateY(-50%); */
  z-index: 70;
  background: none;
  overflow: hidden;
  align-content: center;
}

@media (max-width: 767px) {
  .overlay nav {
    top: 2vh;
  }
}
.overlay ul {
  font-family: "微軟正黑體", "新細明體", "標楷體", Arial, "Arial Black";
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
  font-size: 1.5vw;
  line-height: 3vw;
  color: #fff;
  text-align: left;
  position: relative;
  background: none;
  width: 50%;
}
@media (max-width: 767px) {
  .overlay ul {
    padding: 0;
    font-size: 5vw;
    line-height: 8vw;
    width: 90%;
  }
}

.overlay ul li {
  text-decoration: none;
  text-align: center;
  padding: 3%;
}

.overlay ul li a {
  display: block;
  font-family: "微軟正黑體", "新細明體", "標楷體", Arial, "Arial Black";
  text-decoration: none;
  transition: color 0.2s;
  /*border-bottom: 1px solid #666;
  border-left: 3px solid #23569d;
  border-right: 3px solid #d0235a;*/
  overflow: hidden;
  color: #676868;
  background-color: #fff;
  font-weight: 600;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .overlay ul li a {
    padding: 2%;
  }
}

.overlay ul li a:hover {
  color: #cb0d18;
}

/*.overlay ul a:hover li,
.overlay ul a:focus li  {	

}*/
/* Effects */
.overlay-slidedown {
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
  z-index: 998;
}

.overlay-slidedown.open {
  visibility: visible;
  transform: translateX(0%);
  transition: transform 0.4s ease-in-out;
}/*# sourceMappingURL=menu_m.css.map */