:root {
  --theme-purple: #B571D6;
  --theme-light-purple: #D6A3E5;
  --theme-grey: #333333;
  --theme-yellow: #F6F6BB;
  --theme-orange: #ffa346;
  --theme-dark-green: #2B5743;
  --theme-mint-green: #ABDEBF;
  --theme-news-yellow: rgba(246, 246, 187, 0.2);
  --theme-calendar-event: #fee12b;
  --theme-calendar-holiday: #e63535;
  --theme-deep-blue: #160C5B;
  --theme-light-blue: #59B6E0;
  --theme-blue: #365292;
  --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: #73c092;
  --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: #0A1F4E;
  --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;
  --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;
  --yearButton: #B571D6 ;
  --yearButton-hover: #B571D6;
}

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: 576px) {
  .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;
  }
}
@media (min-width: 960px) {
  .col-lg-2-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

:root {
  --theme-purple: #B571D6;
  --theme-light-purple: #D6A3E5;
  --theme-grey: #333333;
  --theme-yellow: #F6F6BB;
  --theme-orange: #ffa346;
  --theme-dark-green: #2B5743;
  --theme-mint-green: #ABDEBF;
  --theme-news-yellow: rgba(246, 246, 187, 0.2);
  --theme-calendar-event: #fee12b;
  --theme-calendar-holiday: #e63535;
  --theme-deep-blue: #160C5B;
  --theme-light-blue: #59B6E0;
  --theme-blue: #365292;
  --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: #73c092;
  --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: #0A1F4E;
  --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;
  --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;
  --yearButton: #B571D6 ;
  --yearButton-hover: #B571D6;
}

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: 576px) {
  .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;
  }
}
@media (min-width: 960px) {
  .col-lg-2-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

#footer {
  background-image: url(/images/sunfc/footer_school.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--theme-dark-green);
  background-position: center;
  background-blend-mode: multiply;
  color: white;
  font-size: 0.6rem;
  padding: 1rem;
  position: relative;
}
@media (min-width: 768px) {
  #footer {
    font-size: 1rem;
    padding: 2rem 4rem;
  }
}
#footer .footer-row {
  display: flex;
  align-items: start;
  flex-direction: column;
  color: #fff;
}
@media (min-width: 768px) {
  #footer .footer-row {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}
#footer .footer-logo {
  height: 4rem;
}
#footer .footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}
#footer .footer-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#footer .footer-item span {
  color: #fff;
}
#footer .footer-icon {
  font-size: 1.3rem;
}
#footer .footer-contact {
  margin-bottom: 1rem;
}
#footer .copyright {
  display: block;
  text-align: center;
  font-size: 0.75rem;
}
#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;
  }
}
#footer .sitemap {
  display: none;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 2px dotted rgba(255, 255, 255, 0.8);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) {
  #footer .sitemap {
    display: block;
  }
}
#footer .sitemap .sitemap-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
#footer .sitemap .sitemap-category {
  flex: 1;
  flex-basis: 6rem;
}
#footer .sitemap .sitemap-category .sitemap-category-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.91rem;
  margin-bottom: 0.5rem;
}
#footer .sitemap .sitemap-category .sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .sitemap .sitemap-category .sitemap-links .sitemap-link-item {
  margin-bottom: 0.25rem;
}
#footer .sitemap .sitemap-category .sitemap-links .sitemap-link-item .sitemap-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  display: block;
  padding: 0.1rem 0;
  line-height: 1.2;
}
#footer .sitemap .sitemap-category .sitemap-links .sitemap-link-item .sitemap-link:hover {
  color: #fff;
  transform: translateX(3px);
}

#mainmenu {
  margin-bottom: 0;
}
#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;
  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 {
  border-radius: 5px;
  width: 250px;
  padding: 0;
  opacity: 1;
  position: absolute;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  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;
}
#mainmenu > ul li .sub-menu li:not(:last-child) {
  border-bottom: #eee4e4 1px solid;
}
#mainmenu > ul li .sub-menu li a {
  color: var(--theme-dark-green);
  display: block;
}
#mainmenu > ul li .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  display: none;
  max-height: 80vh;
  overflow-y: auto;
}
#mainmenu > ul li .menu-item:not(.menu-item-category).active :after, #mainmenu > ul li .menu-item:not(.menu-item-category):hover :after, #mainmenu > ul li .menu-item:not(.menu-item-category):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 .menu-item:not(.menu-item-category).active:after, #mainmenu > ul li .menu-item:not(.menu-item-category):hover:after, #mainmenu > ul li .menu-item:not(.menu-item-category):focus:after {
  content: " ";
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--theme-dark-green);
  transition: 0.3s ease-in-out;
}
#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 .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: 1rem 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: #dee2e6 1px solid;
  padding: 1rem;
}
div#mobile_menu .side_menu_item:hover {
  background: var(--theme-dark-green);
  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: #eaf4f0;
}
div#mobile_menu .menu-text {
  color: var(--theme-dark-green);
  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 */
