:root {
  --theme-purple: #9B62A4;
  --theme-grey: #707070;
  --theme-yellow: #F6F6BB;
  --theme-orange: #ffa346;
  --theme-news-yellow: rgba(246, 246, 187, 0.2);
  --theme-calendar-event: #fee12b;
  --theme-calendar-holiday: #E5812C;
  --theme-deep-blue: #160C5B;
  --theme-light-blue: #59B6E0;
  --theme-blue: #4568AC;
  --theme-brown-red: #600D10;
  --theme-deep-blue-title: #2c2324;
  --theme-deep-blue-menu-hover: #160C5B;
  --theme-deep-blue-menu-bg-hover: #160C5B;
  --theme-deep-orange: #E5812C;
  --theme-deep-orange-soft: #f0a260;
  --theme-news-bg-blue: #F2F6FB;
  --indexAchievementsBG: #704435;
  --footer-copyrightBG: #4568AC;
  --theme-secondary: #792d90;
  --theme-menu-highlighted: #ffee82;
  --theme-light-blue-bg: #f9f7f7;
  --theme-blue-separate: #894141;
  --theme-albums-bg: rgba(249, 247, 247, 0.8);
  --theme-achievements-bg: rgba(242, 141, 152, 0.8);
  --theme-menu-main: #160C5B;
  --font-blue: #160C5B;
  --font-title-blue: #483D95;
  --font-highlighted: var(--theme-secondary);
  --font-brown: #573F37;
  --font-page-title: #704435;
  --pageSectionTitleBG: #704435;
  --footer-background-image-size: 35%;
  --font-title-size: 1.4rem;
  --yearButton: #f0a260 ;
  --yearButton-hover: #d38c51;
  --right-side-width: 4rem;
  --left-side-width: 13rem;
  --el-width: 100%;
  --el-height: 100%;
  --cutout-x1: var(--left-side-width);
  --cutout-x2: calc(var(--el-width) - var(--right-side-width));
  --r: 12px;
  --cutout-width: calc(var(--el-width) - var(--cutout-x1) - var(--right-side-width));
  --cutout-height: 3rem;
  --pdf-page-item-background: #f6edf8;
  --pdf-page-item-background-hover: #f2dcf5;
  --pdf-page-item-fontColor: var(--theme-purple);
  --pdf-page-item-iconBG: var(--theme-purple);
}

body a {
  color: var(--font-blue);
}
body a:hover {
  color: var(--font-highlighted);
}
body p {
  margin-top: unset;
  margin-bottom: 0.5rem;
}

#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: unset;
    width: 90%;
  }
}

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

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

@media (min-width: 768px) {
  :root {
    --left-side-width: 15rem;
  }
}

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

.animation-fadeIn {
  opacity: 0;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
:root {
  --theme-purple: #9B62A4;
  --theme-grey: #707070;
  --theme-yellow: #F6F6BB;
  --theme-orange: #ffa346;
  --theme-news-yellow: rgba(246, 246, 187, 0.2);
  --theme-calendar-event: #fee12b;
  --theme-calendar-holiday: #E5812C;
  --theme-deep-blue: #160C5B;
  --theme-light-blue: #59B6E0;
  --theme-blue: #4568AC;
  --theme-brown-red: #600D10;
  --theme-deep-blue-title: #2c2324;
  --theme-deep-blue-menu-hover: #160C5B;
  --theme-deep-blue-menu-bg-hover: #160C5B;
  --theme-deep-orange: #E5812C;
  --theme-deep-orange-soft: #f0a260;
  --theme-news-bg-blue: #F2F6FB;
  --indexAchievementsBG: #704435;
  --footer-copyrightBG: #4568AC;
  --theme-secondary: #792d90;
  --theme-menu-highlighted: #ffee82;
  --theme-light-blue-bg: #f9f7f7;
  --theme-blue-separate: #894141;
  --theme-albums-bg: rgba(249, 247, 247, 0.8);
  --theme-achievements-bg: rgba(242, 141, 152, 0.8);
  --theme-menu-main: #160C5B;
  --font-blue: #160C5B;
  --font-title-blue: #483D95;
  --font-highlighted: var(--theme-secondary);
  --font-brown: #573F37;
  --font-page-title: #704435;
  --pageSectionTitleBG: #704435;
  --footer-background-image-size: 35%;
  --font-title-size: 1.4rem;
  --yearButton: #f0a260 ;
  --yearButton-hover: #d38c51;
  --right-side-width: 4rem;
  --left-side-width: 13rem;
  --el-width: 100%;
  --el-height: 100%;
  --cutout-x1: var(--left-side-width);
  --cutout-x2: calc(var(--el-width) - var(--right-side-width));
  --r: 12px;
  --cutout-width: calc(var(--el-width) - var(--cutout-x1) - var(--right-side-width));
  --cutout-height: 3rem;
  --pdf-page-item-background: #f6edf8;
  --pdf-page-item-background-hover: #f2dcf5;
  --pdf-page-item-fontColor: var(--theme-purple);
  --pdf-page-item-iconBG: var(--theme-purple);
}

body a {
  color: var(--font-blue);
}
body a:hover {
  color: var(--font-highlighted);
}
body p {
  margin-top: unset;
  margin-bottom: 0.5rem;
}

#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: unset;
    width: 90%;
  }
}

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

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

@media (min-width: 768px) {
  :root {
    --left-side-width: 15rem;
  }
}

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

.animation-fadeIn {
  opacity: 0;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#footer {
  background-image: url("../images/tsaps/bg_purple.png");
  background-repeat: repeat;
  background-position-y: 30%;
  color: white;
  font-size: 0.6rem;
  background-size: var(--footer-background-image-size);
  padding: 1rem;
  position: relative;
}
@media (min-width: 768px) {
  #footer {
    font-size: 1rem;
    padding: 2rem;
  }
}
#footer .footer-contact {
  margin-bottom: 1rem;
}
#footer .copyright {
  display: block;
  text-align: center;
}
#footer .copyright a {
  color: white;
}
#footer .copyright > p {
  margin: 0;
}
#footer .footer-social-media {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  #footer .footer-social-media {
    display: none;
  }
}

#mainmenu {
  margin-bottom: 0;
  padding: 0 10px;
}
#mainmenu :hover {
  cursor: pointer;
}
#mainmenu a:hover {
  text-decoration: none;
}
#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;
  color: white;
  font-weight: 600;
  text-align: center;
  height: 100%;
  transition: color 0.2s;
}
#mainmenu > ul li a {
  color: white;
}
#mainmenu > ul li .menu-item-label {
  padding: 15px 10px 15px;
  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 {
  width: 250px;
  padding: 0;
  opacity: 1;
  position: absolute;
  z-index: 30;
  background: white;
  line-height: 120%;
  transition: ease-in-out all 1s;
  box-shadow: rgba(116, 87, 87, 0.4) 2px 2px 5px, rgba(116, 87, 87, 0.4) -2px 2px 5px;
}
#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-purple);
  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%;
}
#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: 2px;
  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: 2px;
  background-color: var(--theme-purple);
}
#mainmenu > ul li.active .sub-menu, #mainmenu > ul li:hover .sub-menu, #mainmenu > ul li:focus .sub-menu {
  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%;
}

.school-badge {
  padding: 0.5rem 3rem;
}

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 {
  border-bottom: #588ac5 1px solid;
}
div#mobile_menu .side_menu_item:hover {
  background: var(--theme-purple);
  color: white;
}
div#mobile_menu .side_menu_item:hover .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: #f3f3f3;
}
div#mobile_menu .menu-bg-lv-3 {
  background-color: #e8eefb;
}
div#mobile_menu .menu-text {
  color: var(--theme-purple);
  font-weight: bold;
}

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

.menu-item:hover > .sub-menu {
  display: block;
}

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

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