@charset "UTF-8";
/* Overlay style */
.overlay {
  position: fixed;
  width: 15%;
  height: auto;
  top: 0;
  right: 0;
  background-color: #fff;
  z-index: 9999;
  overflow: hidden;
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .overlay {
    width: 30%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .overlay {
    width: 40%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .overlay {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .overlay {
    width: 60%;
  }
}

/* Overlay closing cross */
.overlay .overlay-close {
  display: block;
  height: 13%;
  position: absolute;
  right: 9%;
  top: 5%;
  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: 15%;
    height: 15%;
  }
}

/* Menu style */
.overlay nav {
  height: 100%;
}
.overlay nav ul {
  width: 65%;
  height: 100%;
  display: flex;
  margin-right: 15%;
  flex-flow: column nowrap;
  justify-content: center;
}
@media (max-width: 767px) {
  .overlay nav ul {
    width: 90%;
  }
}
.overlay nav ul li {
  width: 100%;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #000;
  text-align: right;
  border-bottom: 1px solid #0086ac;
  padding: 10px;
}
.overlay nav ul li:nth-last-child(1) {
  border-bottom: none;
}
.overlay nav ul li:hover {
  color: #e7380d;
}
@media (max-width: 767px) {
  .overlay nav ul li {
    padding: 5px;
  }
}
.overlay nav ul li a {
  color: #0086ac;
}
.overlay nav ul li span {
  width: 100%;
  font-size: 2.5vw;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 767px) {
  .overlay nav ul li span {
    font-size: 1.75rem;
  }
}

.overlay ul {
  font-family: "Noto Serif TC", serif;
  display: block;
  list-style: none;
  padding: 40% 0 10% 0;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #666;
  text-align: left;
  position: relative;
  background: none;
}

.overlay ul li span {
  font-size: 2rem;
  font-weight: 600;
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.5;
  margin: 0vh auto;
  padding: 0%;
  float: left;
  border-radius: 50px;
}

.overlay ul a {
  text-decoration: none;
}

.overlay ul a li {
  display: block;
  font-family: "微軟正黑體", "新細明體", "標楷體", Arial, "Arial Black";
  text-decoration: none;
  transition: color 0.2s;
  /*height:40px;*/
  /*line-height:40px;*/
  /*border-bottom: 1px solid #666;
  border-left: 3px solid #23569d;
  border-right: 3px solid #d0235a;*/
  overflow: hidden;
  margin: 2vh auto;
}

.overlay ul li .menu_titlpic_m {
  width: 2rem;
  height: auto;
  margin: 0.5rem;
  vertical-align: middle;
  float: left;
}

/* 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;
  border-left: 2px solid #0086ac;
  border-bottom: 2px solid #0086ac;
}/*# sourceMappingURL=menu_m.css.map */