@charset "UTF-8";
/* Overlay style */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(35, 94, 171, 0.9);
  z-index: 9999;
}

/* Overlay closing cross */
.overlay .overlay-close {
  width: 2%;
  height: 5%;
  position: absolute;
  right: 3%;
  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: 8%;
    height: 8%;
  }
}

/* Menu style */
.overlay nav {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  top: 10vh;
  height: 90vh;
  /* -webkit-transform: translateY(-50%);
  transform: translateY(-50%); */
  z-index: 70;
  background: none;
  overflow: auto;
}

.overlay ul {
  font-family: "Noto Sans TC", "微軟正黑體", Arial, "Arial Black";
  display: block;
  width: 90%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  color: #666;
  text-align: left;
  position: relative;
  background: none;
}

.overlay ul li {
  display: block;
  width: 25%;
  text-align: center;
  line-height: 1.5;
  color: #154476;
  margin: 5vh auto;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 1%;
  background: #fff; /* Old browsers */
}
@media (max-width: 767px) {
  .overlay ul li {
    width: 90%;
    padding: 2%;
  }
}

.overlay ul li a {
  display: block;
  font-family: "Noto Sans TC", "微軟正黑體", Arial, "Arial Black";
  color: #154476;
  font-size: 1.2vw;
  font-weight: 600;
  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;
}
@media (max-width: 767px) {
  .overlay ul li a {
    font-size: 4vw;
    font-weight: 600;
  }
}

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

.overlay ul a:hover li,
.overlay ul a:focus li {
  color: #123e8a;
  text-shadow: 0px 0px 2px #fff, 0px 0px 2px #fff, 0px 0px 2px #fff;
  box-shadow: 0px 6px 3px #0d306b;
}

ul.lang {
  width: 20%;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  ul.lang {
    width: 50%;
  }
}
ul.lang li {
  background-color: #fff;
  color: #0d306b;
  margin: 0 2%;
  font-size: 0.8vw;
  font-weight: 400;
}
@media (max-width: 767px) {
  ul.lang li {
    font-size: 3vw;
  }
}
ul.lang li a {
  display: block;
  font-size: 0.8vw;
  font-weight: 400;
  color: #0d306b;
}
@media (max-width: 767px) {
  ul.lang li a {
    font-size: 3vw;
  }
}

/* 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;
}/*# sourceMappingURL=menu_m.css.map */