:root {
  --base-font-size: 16px; /* Default font size */
  --small-font-multiplier: 0.9; /* 80% of base */
  --medium-font-multiplier: 1; /* 100% of base */
  --large-font-multiplier: 1.2; /* 120% of base */
}

@media (min-width: 1680px) {
  :root {
    --base-font-size: 18px;
  }
}
@media (max-width: 767px) {
  :root {
    --base-font-size: 1rem;
  }
}

body.font-small {
  font-size: calc(var(--base-font-size) * var(--small-font-multiplier));
}

body.font-medium {
  font-size: calc(var(--base-font-size) * var(--medium-font-multiplier));
}

body.font-large {
  font-size: calc(var(--base-font-size) * var(--large-font-multiplier));
}

/* -------------------------------------------------- Gerenal Classes -------------------------------------------------- */
.reverse_captcha,
.rc {
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin-left: -99999px;
}

/**2025-04-01**/
input,
textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.embed-responsive::before {
  display: block;
  content: '';
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.8571428571%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

/* -------------------------------------------------- Template Styles -------------------------------------------------- */
body {
  font-family: 'Montserrat', 'Noto Sans TC', sans-serif, 'Microsoft JhengHei',
    'Microsoft Yahei', 'Hiragino Sans GB';
  font-size: calc(var(--base-font-size) * var(--medium-font-multiplier));
  color: #022269;
  font-weight: 500;
}
body.fixed {
  height: 100vh;
  overflow: hidden;
}
@media (min-width: 1680px) {
  body {
    /* font-size: 1.2rem !important; */
  }
}

@media (min-width: 1680px) {
  .h6,
  h6 {
    font-size: 1.1em;
  }
}

ul.nav li.dropdown:hover ul.dropdown-menu {
  display: block;
}

/* fix for IE */
object {
  width: 100%;
}

.img-full {
  width: 100%;
}

@media (max-width: 989px) {
  .navbar-collapse.collapse:not(.show) {
    display: none !important;
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700 !important;
}

h3 {
  font-size: 2.3em;
}

@media (max-width: 767px) {
  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.8em;
  }
}
@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2.3rem;
  }
}
.color-light-blue {
  color: #37aecf;
}

@media (max-width: 768px) {
  .container,
  .container-sm {
    max-width: 100%;
    padding: 0 20px;
  }
  .container.narrow,
  .container-sm.narrow {
    padding: 0;
  }

  .text-justify {
    text-align: justify;
  }
}
@media (min-width: 1280px) {
  .container.narrow {
    max-width: 950px;
    margin: 0 auto;
  }
}
.descp-img {
  max-width: 700px;
  margin: 0 auto;
}
.descp-img #info1 {
  position: absolute;
  cursor: pointer;
  width: 50%;
  top: 5%;
  left: 25%;
  height: 15vh;
}
.descp-img #info2 {
  position: absolute;
  cursor: pointer;
  width: 50%;
  top: 30%;
  right: 0%;
  height: 20vh;
}
.descp-img #info3 {
  position: absolute;
  cursor: pointer;
  width: 50%;
  bottom: 10%;
  right: 25%;
  height: 20vh;
}
.descp-img #info4 {
  position: absolute;
  cursor: pointer;
  width: 50%;
  top: 30%;
  left: 0%;
  height: 20vh;
}
@media (min-width: 600px) and (max-width: 768px) {
  .descp-img {
    max-width: 500px;
  }
}

.video-container .video-thumbnail {
  pointer-events: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.video-container .caption {
  padding: 10px 10px;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.2;
  font-weight: 500;
}
@media (max-width: 768px) {
  .video-container {
    font-size: 1em;
  }
}

.ytp-impression-link {
  display: none !important;
}

.color-blue {
  color: #022269;
}

ul {
  padding-left: 10px;
}
ul.list-style-none {
  list-style: none;
}
ul.list-style-none li {
  padding: 0 5px;
  margin-bottom: 10px;
}
ul.style1 {
  list-style-type: square;
}
ul.style1 li {
  margin-bottom: 8px;
}
ul.list-inline {
  display: flex;
}
ul.theme2 li:nth-child(even) {
  color: #37aecf;
}

.mm-list {
  width: fit-content;
  margin: 0 auto;
}

.copyright {
  font-family: arial;
  font-weight: 700;
  font-size: 0.85em;
  color: black;
}
.copyright a {
  color: black;
}
@media (max-width: 767px) {
  .copyright .list-inline {
    justify-content: center;
  }
}

@media (max-width: 989px) {
  .mobile-none {
    display: none !important;
  }
}

.backtotop {
  position: fixed;
  right: 20px;
  bottom: 9vh;
  display: none;
  z-index: 3;
}
@media (max-width: 767px) {
  .backtotop {
    max-width: 60px;
  }
}

@media (min-width: 992px) and (max-width: 1130px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 100%;
  }
}
.font-size-controller {
  display: flex;
  align-items: baseline;
}
.font-size-controller button {
  padding: 0 0px;
  font-weight: 700;
  border: 0px;
  border-bottom: 2px solid transparent;
  border-radius: 0px;
  margin: 0px 4px;
}
.font-size-controller button#btn-decrease {
  font-size: 14px;
}
.font-size-controller button#btn-orig {
  font-size: 16px;
}
.font-size-controller button#btn-increase {
  font-size: 18px;
}
.font-size-controller button.active,
.font-size-controller button.active:focus {
  border-color: #212529;
}

.icon {
  display: inline-block;
  margin-right: 3px;
}

.menu {
  background: white;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-left: 20px;
  padding-right: 0;
}
@media (min-width: 991px) and (max-width: 1199.98px) {
  .menu {
    max-width: 100%;
  }
}
@media (max-width: 990px) {
  .menu {
    max-width: 100%;
  }
}
.menu .dropdown-toggle:after {
  display: none;
}
.menu .dropdown-menu {
  border: none;
  margin-top: -1px;
  min-width: 100%;
  border-radius: 0px;
  background: #dee0e0;
  padding: 0;
  top: 88px !important;
  transform: inherit !important;
}
.menu .dropdown-menu li {
  border-bottom: 1px solid #9b9b9a;
}
.menu .dropdown-menu li:last-child {
  border: none;
}
.menu .dropdown-menu li .dropdown-item {
  padding: 10px 20px 10px 25px;
  color: #9b9b9a;
  font-weight: 700;
  position: relative;
}
.menu .dropdown-menu li .dropdown-item:hover {
  background: inherit;
  color: #2ca9cb;
}
.menu .dropdown-menu li .dropdown-item:hover:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  left: 10px;
  width: 7px;
  height: 12px;
  background: url('/arrow-menu.png') center center no-repeat;
}
@media (max-width: 989px) {
  .menu .dropdown-menu {
    background: transparent !important;
    position: relative !important;
    left: 0;
    top: 0 !important;
    display: block !important;
  }
  .menu .dropdown-menu li {
    border: none;
  }
  .menu .dropdown-menu li .dropdown-item {
    padding: 8px 15px;
  }
  .menu .dropdown-menu li .dropdown-item:hover {
    color: white;
  }
  .menu .dropdown-menu li .dropdown-item:hover:before {
    display: none;
  }
}
.menu .nav {
  height: 100%;
}
@media (max-width: 989px) {
  .menu .nav {
    display: block;
  }
}
.menu .lang-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 20px 0 0;
  font-family: arial, 'Noto Sans TC';
}
.menu .lang-nav .btn-lang {
  padding: 5px 8px;
  margin: 0 5px;
  color: #19234e;
  cursor: pointer;
}
.menu .lang-nav .btn-lang.active {
  color: white;
  background: #19234e;
  border-radius: 6px;
}
.menu .lang-nav.d-mobile {
  display: none;
}
@media (max-width: 767px) {
  .menu .lang-nav {
    padding: 20px 20px;
    display: flex;
  }
  .menu .lang-nav.d-mobile {
    display: flex;
  }
  .menu .lang-nav .btn-lang {
    color: white;
    cursor: pointer;
  }
  .menu .lang-nav .btn-lang.active {
    color: #19234e;
    background: white;
  }
}
.menu .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 700;
}
@media (max-width: 989px) {
  .menu .nav-item {
    display: block;
  }
}
.menu .nav-item .nav-link {
  color: #19234e;
  font-size: 1em;
}
@media (max-width: 767px) {
  .menu .nav-item .nav-link {
    display: block;
  }
}
@media (min-width: 989px) and (max-width: 989px) {
  .menu .navbar-toggler {
    width: 30%;
  }
}
@media (max-width: 989px) {
  .menu {
    padding: 0 20px;
  }
  .menu #navbarSupportedContent {
    background: #022269;
    position: fixed;
    left: 0;
    top: 84.4px;
    width: 100%;
    height: 100vh;
  }
  .menu .hamburger.is-active-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotateZ(-135deg);
  }
  .menu .hamburger.is-active-line:nth-child(2) {
    right: 50%;
    width: 0;
  }
  .menu .hamburger.is-active-line:nth-child(3) {
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotateZ(135deg);
  }
  .menu .logo-wrapper {
    width: 80%;
  }
  .menu .nav-item {
    padding: 0px 20px;
    position: relative;
  }
  .menu .nav-item.active:before {
    content: '';
    display: block;
    position: absolute;
    top: 25px;
    left: 5px;
    background: #ffd500;
    border-radius: 100%;
    width: 10px;
    height: 10px;
  }
  .menu .navbar-toggler {
    text-align: right;
    align-items: center;
    width: 20%;
    padding: 0px 0;
    display: flex;
    justify-content: end;
    margin: 0px !important;
  }
  .menu .nav {
    display: block;
    height: 75vh;
    padding: 20px 15px;
  }
  .menu .nav-item .nav-link {
    color: white;
    font-size: 1.6em;
  }
}

a {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  position: relative;
  text-decoration: none;
}

.retina-xs {
  max-width: 25%;
}

.retina {
  max-width: 50%;
}

@media (min-width: 989px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}
.mobile-d {
  display: none;
}

.hamburger {
  position: relative;
  width: 1em;
  height: 1em;
  font-size: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}
.hamburger-line {
  position: absolute;
  right: 0;
  width: 100%;
  height: 0.125em;
  border-radius: 0.125em;
  background: currentColor;
  transition: inherit;
}
.hamburger-line:nth-child(1) {
  top: 0.125em;
}
.hamburger.is-active .hamburger-line:nth-child(1),
.w-nav-button.w--open .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotateZ(-135deg);
}
.hamburger-line:nth-child(2) {
  top: 0.438em;
}
.hamburger.is-active .hamburger-line:nth-child(2),
.w-nav-button.w--open .hamburger-line:nth-child(2) {
  right: 50%;
  width: 0;
}
.hamburger-line:nth-child(3) {
  top: 0.75em;
}
.hamburger.is-active .hamburger-line:nth-child(3),
.w-nav-button.w--open .hamburger-line:nth-child(3) {
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotateZ(135deg);
}

@media (min-width: 768px) {
  footer .ll-list {
    display: flex;
    margin-bottom: 15px;
  }
  footer .ll-list .item {
    margin-right: 3em;
  }
}
@media (max-width: 767px) {
  footer .ll-list {
    text-align: center;
  }
}
footer .ll-list .item {
  color: #022269;
  font-size: 0.85em;
}
footer .ll-list .item .logo {
  margin: 40px 0px;
}
@media (max-width: 767px) {
  footer .ll-list .item {
    margin-bottom: 25px;
  }
  footer .ll-list .item .logo {
    margin: 35px 0;
  }
  footer .ll-list .item b {
    margin-bottom: 10px;
    display: block;
  }
}
@media (min-width: 768px) {
  footer .ss-logo {
    display: flex;
  }
}
@media (max-width: 767px) {
  footer .ss-logo img {
    margin: 20px auto;
    width: auto;
    max-height: 40px;
  }
}

.short {
  max-width: 90%;
}

.relative {
  position: relative;
}
.relative .pattern {
  z-index: 2;
  position: absolute;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.relative .pattern.s1 {
  right: 30vw;
  bottom: 7vh;
}
.relative .pattern.s2 {
  left: 8%;
  top: 14vh;
}
.relative .pattern.s3 {
  right: 8%;
  top: -3vh;
}
.relative .pattern.s4 {
  left: 8%;
  top: 4vh;
}
.relative .pattern.s5 {
  right: 8%;
  top: -6vh;
}
.relative .pattern.s6 {
  left: 8%;
  top: 8vh;
}
.relative .pattern.s7 {
  right: 8%;
  top: -6vh;
}
.relative .pattern.s8 {
  left: 8%;
  top: -5vh;
}
.relative .pattern.s9 {
  right: 10vw;
  bottom: 0;
}
.relative .pattern.s10 {
  right: 3%;
  bottom: -5vh;
}
.relative .pattern.s11 {
  left: 3%;
  top: -3vh;
}
.relative .pattern.s12 {
  left: 10vw;
  bottom: -5vh;
}
.relative .pattern.s13 {
  left: 8%;
  top: -6vh;
}
.relative .pattern.s14 {
  right: 2vw;
  top: 26vh;
}
.relative .pattern.s15 {
  right: 15vw;
  top: -6vh;
}
.relative .pattern.s16 {
  left: 15vw;
  top: 6vh;
}
.relative .pattern.s17 {
  left: 3%;
  top: 8%;
  max-width: 75px;
}
.relative .pattern.s18 {
  left: 7%;
  bottom: 20%;
  max-width: 75px;
}
.relative .pattern.s19 {
  right: 7%;
  bottom: 10%;
  max-width: 75px;
}
.relative .pattern.other {
  left: 35%;
  bottom: 0;
}
.relative .pattern.bn2 {
  left: 5vw;
  bottom: 3vh;
  max-width: 100px;
}
.relative .pattern.ii2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  right: -0px;
  top: 0;
  max-width: 60px;
}
.relative .pattern.ltp {
  z-index: 0;
  max-width: 100%;
  width: 100%;
  top: -70px;
  left: 60%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.relative .pattern.ltp2 {
  z-index: 0;
  max-width: 100%;
  right: -3vw;
}
@media (max-width: 1024px) {
  .relative .pattern.s6,
  .relative .pattern.s7 {
    max-width: 30px;
  }
  .relative .pattern.bn2 {
    display: none;
  }
  .relative .pattern.s6 {
    left: 3%;
    top: -2vh;
  }
  .relative .pattern.s2 {
    max-width: 45px;
    top: 2vh;
  }
  .relative .pattern.s3,
  .relative .pattern.s19,
  .relative .pattern.s18,
  .relative .pattern.s4,
  .relative .pattern.s5,
  .relative .pattern.s8,
  .relative .pattern.s10,
  .relative .pattern.s11,
  .relative .pattern.s13,
  .relative .pattern.s14,
  .relative .pattern.s15,
  .relative .pattern.s16,
  .relative .pattern.bn2 {
    max-width: 45px;
  }
  .relative .pattern.s5 {
    top: -5vh;
  }
  .relative .pattern.s10 {
    bottom: inherit;
    top: 80vh;
  }
  .relative .pattern.bn {
    max-width: 40px;
    top: 2vh !important;
    display: none;
  }
  .relative .pattern.s15 {
    right: 5vw;
    top: -4vh;
  }
  .relative .pattern.s16 {
    left: 5vw;
    top: 45vh;
  }
  .relative .pattern.ii2 {
    max-width: 40px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .relative .pattern.other {
    left: 15%;
  }
}
@media (max-width: 768px) {
  .relative .pattern.s1,
  .relative .pattern.s10,
  .relative .pattern.s18 {
    display: none;
  }
  .relative .pattern.ltp {
    top: -40px;
    left: 50%;
  }
  .relative .pattern.s7 {
    top: -3vh;
  }
  .relative .pattern.ltp2 {
    max-width: 60px;
    bottom: 30px;
    top: inherit;
  }
  .relative .pattern.s17 {
    left: 6%;
    top: 1vh;
    max-width: 45px;
  }
  .relative .pattern.s19 {
    right: 6%;
    bottom: 2vh;
    max-width: 45px;
  }
  .relative .pattern.other {
    position: relative;
    left: inherit;
    bottom: inherit;
    margin: 20px auto;
    max-width: 60%;
  }
}

.carousel-control-prev-icon {
  background: url('/arrow-left.png') no-repeat;
  width: 45px;
  height: 45px;
}

.carousel-control-next-icon {
  background: url('/arrow-right.png') no-repeat;
  width: 45px;
  height: 45px;
}

.common-banner .ccLabel {
  background: #022269;
  position: absolute;
  top: 0;
  left: 5vw;
  padding: 15px 30px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 2;
  color: white;
  font-weight: 700;
  font-size: 1.8em;
}
@media (max-width: 767px) {
  .common-banner .ccLabel {
    padding: 10px 15px;
    left: 2vw;
    font-size: 1em;
  }
}

.widget-home-banner .carousel-item .slider-wrapper {
  position: relative;
}
.widget-home-banner .carousel-item .slider-wrapper .slider-text {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  padding: 5em 10vw;
  color: var(--portalThemeColor2) !important;
  background: url('/slider-bg.png') left top no-repeat;
  display: flex;
  align-items: center;
  width: 100%;
  background-size: cover;
  z-index: 1;
}
.widget-home-banner .carousel-item .slider-wrapper .slider-text h2 {
  font-size: 2.8em;
  color: var(--portalThemeColor2) !important;
}
.widget-home-banner .carousel-item .slider-wrapper .slider-text .tagline {
  font-size: 2em;
  font-weight: 700;
}
@media (max-width: 767px) {
  .widget-home-banner .carousel-item .slider-wrapper .slider-text .tagline {
    font-size: 1em;
  }
  .widget-home-banner .carousel-item .slider-wrapper .slider-text h2 {
    font-size: 1.6em;
  }
}

@media (max-width: 767px) {
  .carousel-control-next,
  .carousel-control-prev {
    width: 10%;
  }
}
.widget-2grid .grid-content {
  line-height: 1.5;
}
@media (max-width: 767px) {
  .widget-2grid .grid-content {
    background: #addbe9;
    padding: 0 20px 10px 30px;
  }
  .widget-2grid .grid-content h3 {
    text-align: center;
  }
  .widget-2grid.theme2 .grid-content,
  .widget-2grid.theme3 .grid-content {
    background: #f7e3bf;
  }
}
@media (min-width: 768px) {
  .widget-2grid {
    min-height: 500px;
    background-image: url('/home-bg2.jpg');
    background-position: left center;
    background-repeat: no-repeat;
  }
  .widget-2grid .grid-content {
    padding-right: 50px;
  }
  .widget-2grid.theme2 {
    background-image: url('/home-bg1.jpg');
  }
  .widget-2grid.theme2 .grid-content {
    padding-left: 50px;
  }
  .widget-2grid.theme3 {
    background-image: url('/school-bg1.jpg');
  }
  .widget-2grid.theme3 .grid-content {
    padding-left: 50px;
    padding-right: 0;
  }
  .widget-2grid.theme4 {
    background-image: url('/school-bg2.jpg');
    background-size: cover;
  }
}
@media (min-width: 1200px) and (max-width: 1680px) {
  .widget-2grid {
    background-size: 120%;
  }
  .widget-2grid.theme2,
  .widget-2grid.theme3 {
    background-size: 120%;
  }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .widget-2grid {
    background-size: cover;
    background-image: url(../images/home/bg2_tablet.jpg);
    background-size: cover;
  }
  .widget-2grid.theme2 {
    background-size: cover;
    background-position: right center;
    background-image: url('/home-bg1-tablet.jpg');
  }
  .widget-2grid.theme3 {
    background-position: right center;
    background-size: cover;
  }
}
@media (min-width: 1280px) {
  .widget-2grid .grid-content {
    padding-right: 120px;
  }
  .widget-2grid.theme2 .grid-content {
    padding-left: 120px;
  }
  .widget-2grid.theme3 .grid-content {
    padding-left: 120px;
    padding-right: 0;
  }
}
@media (min-width: 1680px) {
  .widget-2grid {
    background-size: cover;
  }
  .widget-2grid.theme2,
  .widget-2grid.theme3 {
    background-size: cover;
  }
}

.widget-abt-jc {
  padding: 150px 0;
}
.widget-abt-jc h1 {
  font-size: 2.3em;
}
.widget-abt-jc .container {
  max-width: 1100px;
}
.widget-abt-jc.theme2 {
  padding: 120px 0;
}
@media (max-width: 767px) {
  .widget-abt-jc {
    padding: 50px 0;
  }
  .widget-abt-jc.theme2 {
    padding: 60px 0;
  }
  .widget-abt-jc h1 {
    font-size: 1.8em;
  }
}

.z-top {
  z-index: 2;
}

@media (max-width: 768px) {
  .widget-abt-2box .ii1 {
    max-width: 40px;
  }
  .widget-abt-2box .ii2 {
    max-width: 60px;
  }
}

.widget-home-counter {
  padding: 100px 0;
}
.widget-home-counter .counter-t {
  color: #e74f2d;
  font-size: 4em;
  font-weight: 700;
}
.widget-home-counter h6 {
  font-weight: 700;
  color: black;
  line-height: 1.3;
}
.widget-home-counter div {
  color: #022269;
  font-weight: 500;
}
@media (max-width: 767px) {
  .widget-home-counter {
    padding: 50px 0;
  }
}

.hightlight-box {
  background: #ffd500;
  padding: 30px 60px;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .hightlight-box {
    padding: 25px 20px;
  }
  .hightlight-box h4 {
    font-size: 1em;
  }
}

.hide {
  display: none;
}

.widget-event-showcase {
  padding: 200px 0;
  background: url('/home-event-bg.jpg') center center no-repeat;
  background-size: cover;
}
.widget-event-showcase .three-grid .items {
  padding: 0 20px;
}
.widget-event-showcase .three-grid .items .wrapper {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 15px 0px rgba(89, 89, 89, 0.5);
  height: 100%;
  margin: 20px 0;
}
.widget-event-showcase .three-grid .items .wrapper .caption {
  padding: 10px 0;
}
.widget-event-showcase .img-mask {
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  overflow: hidden;
}
.widget-event-showcase .img-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.widget-event-showcase a:hover {
  color: #37aecf;
}
.widget-event-showcase a:hover .img-mask img {
  transform: scale(1.15);
}
@media (max-width: 767px) {
  .widget-event-showcase {
    padding: 50px 0;
  }
  .widget-event-showcase .three-grid .items {
    margin-bottom: 20px;
  }
}

.widget-abt-2grid {
  background: #fff5d9;
  padding: 150px 0;
}
@media (max-width: 767px) {
  .widget-abt-2grid {
    padding: 50px 0 0;
  }
}
.widget-abt-2grid h6 {
  font-weight: 700;
}
.widget-abt-2grid .block-one {
  background: #58bde9;
  color: white;
  padding: 20px 10px;
}
.widget-abt-2grid .block-two {
  background: #33abce;
  color: white;
  padding: 20px 10px;
}
.widget-abt-2grid .block-three {
  background: #178eb0;
  color: white;
  padding: 20px 10px;
}
.widget-abt-2grid .block-forth {
  background: #df4f37;
  color: white;
  padding: 20px 10px;
}
.widget-abt-2grid .num {
  font-size: 2em;
  line-height: 1;
  font-weight: 700;
}

.blue-box {
  background: #e3f2ff;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .blue-box {
    border-radius: 0;
  }
}

.ttbox {
  padding: 0;
  margin: 0;
}
@media (min-width: 1024px) {
  .ttbox .border-right {
    border-right: 1px solid white;
  }
  .ttbox .narrow {
    max-width: 60%;
  }
}
.ttbox .headline {
  background: #37aecf;
  text-align: center;
  padding: 8px 20px;
  color: white;
  font-weight: 700;
}
@media (min-width: 768px) {
  .ttbox .headline.theme1 {
    border-top-left-radius: 20px;
  }
  .ttbox .headline.theme2 {
    border-top-right-radius: 20px;
  }
}
.ttbox .headline.theme3 {
  background: #e74f2d;
}
.ttbox .ccContent {
  padding: 15px 25px;
  font-size: 0.9em;
}

.widget-committee {
  background: #2aa8ca;
  padding: 100px 0;
  color: white;
}
.widget-committee h2 {
  color: #fff;
}
@media (min-width: 1280px) {
  .widget-committee .container {
    max-width: 1100px;
  }
  .widget-committee .container p {
    max-width: 700px;
    margin: 0 auto;
  }
}
.widget-committee .committee-item {
  padding: 20px 20px;
}
.widget-committee .committee-item .name {
  min-height: 80px;
  margin-top: 15px;
  font-size: 1.1em;
}
.widget-committee .committee-item .division {
  border-top: 1px solid white;
  padding: 10px 0;
  font-size: 0.9em;
}

.widget-school-paragraph {
  background: #f6f6f6;
  padding: 150px 0;
}
.widget-school-paragraph p {
  margin: 20px auto;
}
@media (max-width: 767px) {
  .widget-school-paragraph {
    padding: 50px 0;
  }
}

.event-top .event-header {
  padding: 80px 0;
  background: #022269;
  color: white;
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  .event-top .event-header h1 {
    font-size: 1.2em;
  }
}
.event-top .event-gallery {
  max-width: 900px;
  margin: -80px auto 0;
}
.event-top .event-gallery .gallery-wrapper {
  background: none;
}
.event-top .event-gallery .gallery-wrapper .wrap {
  padding: 8px;
  background: white;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.1);
}
.event-top .bx-viewport {
  pointer-events: none;
  z-index: 1;
}
.event-top .bx-wrapper {
  padding: 0;
  border: none;
}
.event-top .bx-wrapper .bx-prev {
  background: #35adcd url('../images/event/arrow_p.png') 35% center no-repeat;
  left: -40px;
}
.event-top .bx-wrapper .bx-next {
  background: #35adcd url('../images/event/arrow_n.png') 65% center no-repeat;
  right: -40px;
}
.event-top .bx-wrapper .bx-controls-direction a {
  width: 60px;
  height: 60px;
  border-radius: 60px;
  z-index: 0;
}

.bx-pager-item:first-of-type:last-of-type {
  display: none;
}

.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus,
.bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: #2a3287;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  background: #a0a3c5;
}

.event-content {
  max-width: 1100px;
  margin: 0 auto;
}

.widget-event h6 {
  font-weight: 700;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 1.2em !important;
}
.widget-event a {
  color: #022269;
}
.widget-event .list-row {
  border-bottom: 1px solid #c4c4c4;
  padding: 60px 0;
}
.widget-event .list-row:last-child {
  border: none;
}
.widget-event .list-row img {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.widget-event .list-row:hover img {
  transform: scale(1.15);
}
.widget-event .list-row:hover h6 {
  color: #37aecf;
}
.widget-event .list-row .img-wrapper {
  overflow: hidden;
}
@media (max-width: 574px) {
  .widget-event .list-row {
    padding: 30px 0;
  }
  .widget-event .text-wrapper {
    margin-top: 30px;
  }
}
@media (max-width: 989px) {
  .widget-event .container {
    max-width: 100%;
    padding: 30px 30px;
  }
}

@media (max-width: 767px) {
  .lang-zh-hk .widget-abt-jc h1 {
    font-size: 1.6em;
  }
}
@media (min-width: 1280px) {
  .lang-zh-hk .widget-committee .container p {
    max-width: 900px;
  }
}
.lang-zh-hk .ttbox .ccContent {
  font-size: 1em;
}

.font-small {
  font-size: 0.9em;
}

@media (min-width: 990px) {
  .max-h {
    max-height: 48px;
  }
}

.dropdown-toggle {
  white-space: inherit;
}

.pagination {
  --bs-pagination-focus-box-shadow: none;
}
.pagination-div .pagination > .active > a,
.pagination-div .pagination > .active > a:focus,
.pagination-div .pagination > .active > a:hover {
  background-color: #022269 !important;
  border-color: #19234e !important;
}

/* fix auto generated section from powerpages designer */
.sectionBlockLayout {
  display: none !important;
}

/* overrides lang zh-hk css */
.lang-zh-hk h5,
.h5 {
  font-size: 1.25rem;
}

.lang-zh-hk h6,
.h6 {
  font-size: 1rem;
}

.slick-list{ padding: 0px !important; margin: 0px !important; }
.slick-next,
.slick-next:hover {
  background: url('/arrow-n-dark.png') center center no-repeat;
  width: 25px;
  height: 25px;
}
.slick-next:before,
.slick-next:hover:before {
  display: none;
}

.slick-prev,
.slick-prev:hover {
  background: url('/arrow-p-dark.png') center center no-repeat;
  width: 25px;
  height: 25px;
}
.slick-prev:before,
.slick-prev:hover:before {
  display: none;
}

@media (max-width: 767px) {
  .slick-next {
    right: 0;
  }

  .slick-prev {
    left: 0;
  }

  .slick-slider {
    padding: 0 30px;
  }

  .widget-event-showcase .three-grid .items {
    padding: 0 10px;
  }
}
.dropdown-toggle {
  white-space: inherit;
}
