@charset "UTF-8";
.nav_open {
  width: 45px;
  height: 45px;
  border: 0px;
  cursor: pointer;
  padding: 5px;
  z-index: 998;
  position: absolute;
  right: 3%;
  top: 0;
  background-color: rgba(255, 255, 255, 0);
}

.nav_open img {
  width: 100%;
}

/* Overlay style */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 34, 105, 0.95);
  z-index: 9999;
}

/* Overlay closing cross */
.overlay .overlay-close {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 3%;
  top: 3%;
  overflow: hidden;
  border: none;
  background: url(../images/cross.png) no-repeat center center;
  text-indent: 200%;
  color: transparent;
  outline: none;
  z-index: 999;
}

/* Menu style */
.overlay nav {
  text-align: center;
  position: relative;
  top: 40%;
  height: 60%;
  transform: translateY(-50%);
  z-index: 70;
}

.overlay ul {
  width: 80%;
  list-style: none;
  padding: 0;
  margin: 0% auto;
  display: block;
  height: 100%;
  position: relative;
}

.overlay ul li {
  display: block;
  /*height: 25%;*/
  /*height: calc(100% / 5);*/
  /*min-height: 50px;*/
  backface-visibility: hidden;
  text-decoration: none;
  margin: 2% 0;
  padding: 0 0;
  text-align: center;
}

.overlay ul li a {
  display: block;
  font-family: "微軟正黑體", "新細明體", "標楷體", Arial, "Arial Black";
  font-size: 4vw;
  font-weight: 600;
  display: block;
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
  /*height:40px;*/
  line-height: 5vw;
  border: 1px solid #FFF;
  border-radius: 50px;
  margin: 0% 0;
  padding: 5% 0;
  background: rgba(255, 255, 255, 0.95);
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .overlay ul li a {
    font-size: 1.5vw;
    line-height: 2vw;
    padding: 2% 0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .overlay ul li a {
    font-size: 3vw;
    line-height: 2vw;
    padding: 4% 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .overlay ul li a {
    font-size: 3vw;
    line-height: 2vw;
    padding: 4% 0;
  }
}

.overlay ul li img {
  width: 100%;
  height: auto;
  min-width: 160px;
  margin: 0 auto;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
  color: #e60000;
}

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

.overlay-slidedown.open {
  visibility: visible;
  transform: translateY(0%);
  transition: transform 0.4s ease-in-out;
}

@media screen and (max-height: 30.5em) {
  .overlay nav {
    height: 70%;
    font-size: 34px;
  }
  .overlay ul li {
    min-height: 34px;
  }
}/*# sourceMappingURL=menu_m.css.map */