:root {
  --theme-menu-main: white;
  --theme-menu-main-fontcolor: black;
  --theme-menu-main-mobile: #00b390;
  --theme-green: #33ae9c;
  --news-green: #29a389;
  --news-hover: #ffa800;
  --index-more-btn: #1d9d84;
  --index-more-btn-hover: #ffba00;
  --album-hover: #ffba00;
  --active-menu-underline: #00b390;
  --backBtn-hover-bg: #00b390;
  --theme-orange: #ff7b05;
  --mobile-menu-selected: #29a389;
  --mobile-lv2-menu-selected: #ff7b05;
  --side-menu-lv2-menu-font: #29a389;
  --side-menu-active-bg: #29a389;
  --side-menu-hover-bg: #ff7b05 ;
  --theme-breadcrumb: #666;
  --theme-breadcrumb-hover: #29a389;
  --lv4-active-bg: #29a389;
  --news-hr-line: #cecccc;
  --recent-news-font: #ffa800;
  --recent-news-hover: #33ae9c;
  --news-index-hover-bg: #faf3e6;
  --news-index-title-color: #33ae9c;
  --year-button: #29a389;
  --index-album-title-color: #33ae9c;
  --index-album-title-color-hover: #ffa800;
  --video-title: #29a389;
  --page-color: #007c54;
  --page-color-hover: #ff7b05;
  --subject-color: #ff7b05;
  --link-color: #007c54;
}

body a {
  color: var(--font-blue);
}
body a:hover {
  color: var(--font-highlighted);
}
body p {
  margin-top: unset;
  margin-bottom: 0.5rem;
}
body h1 {
  color: #1e8449;
  font-size: 1.8rem;
  line-height: 2rem;
  font-weight: bold;
}

#page table {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@font-face {
  font-family: "NotoSerif";
  font-weight: 600;
  src: url("../fonts/NotoSerifTC-VariableFont_wght.ttf") format("truetype");
}
@media (min-width: 1200px) {
  .container {
    max-width: 1370px;
    width: 90%;
  }
}

@media (min-width: 1200px) {
  .container-news {
    max-width: 900px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 960px) {
  .container-lg {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .container-xl {
    max-width: 100%;
  }
}

.fade-in {
  animation: fade-in 1.5s forwards;
}

.animation-fadeIn {
  opacity: 0;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#mainmenu {
  margin-bottom: 0;
  padding: 0 10px;
}
#mainmenu :hover {
  cursor: pointer;
}
#mainmenu a:hover {
  text-decoration: none;
}
#mainmenu .menu-item-category.active:before, #mainmenu .menu-item-category:hover:before, #mainmenu .menu-item-category:focus:before {
  content: " ";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #00b390;
  left: calc(50% - 4px);
  bottom: 3px;
  position: absolute;
}
#mainmenu > ul {
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}
#mainmenu > ul > li {
  line-height: 100%;
}
#mainmenu > ul li {
  display: inline-block;
  flex: 1 1 auto;
  position: relative;
  background: transparent;
  text-align: center;
  height: 100%;
  transition: color 0.2s;
}
#mainmenu > ul li a {
  color: black;
}
#mainmenu > ul li .menu-item-label {
  text-align: center;
  padding: 13px 10px;
  display: inline-block;
}
@media screen and (max-width: 991px) {
  #mainmenu > ul li {
    margin: 0;
  }
}
#mainmenu > ul li.category {
  -webkit-transition: bottom 0.2s ease-in-out;
  -moz-transition: bottom 0.2s ease-in-out;
  -o-transition: bottom 0.2s ease-in-out;
  transition: bottom 0.2s ease-in-out;
}
#mainmenu > ul li .sub-menu {
  padding: 0;
  opacity: 0;
  position: absolute;
  z-index: 30;
  background: white;
  line-height: 120%;
  box-shadow: rgba(40, 57, 76, 0.42) 2px 2px 5px, rgba(55, 66, 90, 0.16) -2px 2px 5px;
  font-size: 0.9rem;
  transition: 0.3s ease-in-out;
  display: none;
}
#mainmenu > ul li .sub-menu li {
  width: 100%;
  text-align: left;
  position: relative;
  max-width: none;
  border-bottom: #eee4e4 1px solid;
}
#mainmenu > ul li .sub-menu li a {
  color: var(--theme-menu-main-fontcolor);
  display: block;
}
#mainmenu > ul li .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  display: none;
  max-height: 80vh;
  overflow-y: auto;
}
#mainmenu > ul li.active, #mainmenu > ul li:hover, #mainmenu > ul li:focus {
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto 100%;
  transition: all 0.2s ease-in-out;
}
#mainmenu > ul li.active :after, #mainmenu > ul li:hover :after, #mainmenu > ul li:focus :after {
  content: " ";
  width: 1%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: unset;
  transition: 0.3s ease-in-out;
}
#mainmenu > ul li.active:after, #mainmenu > ul li:hover:after, #mainmenu > ul li:focus:after {
  content: " ";
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--active-menu-underline);
}
#mainmenu > ul li.active .sub-menu, #mainmenu > ul li:hover .sub-menu, #mainmenu > ul li:focus .sub-menu {
  display: block;
  opacity: 1;
}
#mainmenu > ul li.active .sub-menu li .sub-menu, #mainmenu > ul li:hover .sub-menu li .sub-menu, #mainmenu > ul li:focus .sub-menu li .sub-menu {
  display: none;
}
#mainmenu > ul li.active .sub-menu li.active .sub-menu, #mainmenu > ul li.active .sub-menu li:hover .sub-menu, #mainmenu > ul li.active .sub-menu li:focus .sub-menu, #mainmenu > ul li:hover .sub-menu li.active .sub-menu, #mainmenu > ul li:hover .sub-menu li:hover .sub-menu, #mainmenu > ul li:hover .sub-menu li:focus .sub-menu, #mainmenu > ul li:focus .sub-menu li.active .sub-menu, #mainmenu > ul li:focus .sub-menu li:hover .sub-menu, #mainmenu > ul li:focus .sub-menu li:focus .sub-menu {
  display: block;
}
#mainmenu > ul li button {
  border: none;
  background: none;
  padding: 9px 13px;
  line-height: 1;
  width: 100%;
}
#mainmenu > ul > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: 1px;
}
#mainmenu > ul > li:nth-last-child(-n+3) > .sub-menu .sub-menu {
  left: auto;
  right: 100%;
}

ul.menu li.active, ul.menu li.home:hover {
  background: transparent !important;
}

#sidebar-wrapper {
  cursor: pointer;
}

div#mobile_menu {
  background: white;
}
div#mobile_menu .side_menu_item[aria-expanded=true] {
  background: var(--mobile-menu-selected);
  color: white;
}
div#mobile_menu .side_menu_item[aria-expanded=true] .menu-text {
  color: white;
}
div#mobile_menu .side_menu_item a {
  display: block;
  text-decoration: none;
}
div#mobile_menu .menu-bg-lv-2, div#mobile_menu ul.menu li .subMenu li {
  background: #f0fffd;
}
div#mobile_menu .menu-bg-lv-2 .side_menu_item[aria-expanded=true], div#mobile_menu ul.menu li .subMenu li .side_menu_item[aria-expanded=true] {
  background: var(--mobile-lv2-menu-selected);
}
div#mobile_menu .menu-bg-lv-3 {
  background-color: #faf3e6;
}

.menu-item:hover > .sub-menu-page {
  display: block;
  margin-left: 100%;
  position: absolute;
  list-style: none;
  padding: 0;
  min-width: 100%;
  top: 0;
}

.sub-menu-category {
  margin-left: 0;
  margin-top: 0;
  top: unset;
}

/*# sourceMappingURL=menu.css.map */
