@media screen and (max-width: 1450px) {
    .main-menu>ul>li>a {
        font-size: 1.6em;
    }
    .slide-caption {
        padding-right: 5%;
    }
    .slide-caption h2 {
        max-width: 400px;
        font-size: 5em;
    }
    .slide-caption p {
        font-size: 2.2em;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a {
        width: 40px;
        height: 40px;
        background-size: 16px;
    }
    .slide-wrapper {
        width: 50%;
        transform: translatex(0);
        left: 5%;
    }
    a.icon-link {
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 1024px) {
    .header-logo img {
        max-height: 45px;
    }
    .slide-caption h2 {
        max-width: 350px;
        font-size: 3.8vw;
    }
    .calendar-section {
        width: 45%;
    }
    .ec-table td {
        font-size: 2.2em;
        padding: 15px 5px;
    }
    .slide-wrapper {
        left: 50px;
    }
    .ft-name {
        max-width: 275px;
    }
}

@media screen and (max-width: 960px) {
    .main-menu-mask,
    .main-menu-button,
    .main-menu-top {
        display: block;
    }
    .language-switcher-desktop,
    .header-right-top,
    .desktop {
        display: none;
    }
    .main-menu-mask {
        position: absolute;
        display: none;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 10;
    }
    .menu-open .main-menu-mask {
        display: block;
    }
    .header {
        position: fixed;
        top: 0;
        width: 100%;
    }
    .header-wrapper {
        width: 100%;
    }
    .header-top {
        position: relative;
        padding: 10px 20px;
    }
    .header-bottom {
        height: auto;
        border-top: 0;
    }
    .main-menu-button {
        position: fixed;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: #6D0866;
        z-index: 999;
    }
    .main-menu-button-inner span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #fff;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    .main-menu-corner {
        width: 100%;
        padding: 0 20px;
    }
    .main-menu-container {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 100%;
        max-width: 300px;
        min-width: 300px;
        height: 100vh;
        margin-top: 0;
        margin-right: 0;
        padding-top: 65px;
        background-color: #6e0866;
        box-shadow: 0 0 5px #b0b0b0;
        -webkit-transition: right 0.25s ease-in-out;
        transition: right 0.25s ease-in-out;
        overflow-y: auto;
        z-index: 101;
    }
    .menu-open .main-menu-container {
        right: 0;
        overflow-y: scroll;
        -webkit-transition: right 0.25s ease-in-out;
        transition: right 0.25s ease-in-out;
        overflow: scroll;
    }
    .main-menu-top {
        margin-bottom: 2em;
    }
    .main-menu-container .wrapper {
        width: 100%;
    }
    .main-menu>ul>li:first-child>a {
        background-size: 20px;
        background-position: left 20px center;
        padding-left: 48px;
        font-size: 1.6em;
    }
    .main-menu>ul {
        margin-left: 0;
    }
    .main-menu>ul>li {
        display: block;
        vertical-align: middle;
        padding: 0;
    }
    .main-menu>ul>li>a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 20px;
        margin-left: 0;
    }
    .main-menu>ul>li>a:hover {
        background-color: #fff;
    }
    .home .main-menu>ul>li:first-child>a {
        font-size: 1.6em;
        width: 100%;
        height: auto;
        background-size: 18px;
        background-position: left 5% center;
        border: 0;
    }
    .main-menu li.menu-item-has-children>a:after {
        position: absolute;
        top: 20px;
        right: 16px;
        width: 14px;
        height: 7px;
    }
    .main-menu li li.menu-item-has-children>a:after {
        top: 22px;
    }
    .main-menu li.menu-item-has-children>ul {
        position: relative;
        left: 0;
        width: 100%;
        background-color: #89328f!important;
        margin-right: 0;
        border: 0;
    }
    .main-menu li.menu-item-has-children ul>li {
        background-color: transparent;
    }
    .main-menu li.menu-item-has-children ul>li>a {
        color: #fff;
    }
    .language-switcher li,
    .language-switcher a,
    .language-switcher .active a {
        color: #fff;
        font-size: 1.15em;
    }
    .language-switcher {
        border: 0;
        padding-left: 0;
    }
    .language-switcher li {
        padding: 0 1.2em 0 0;
    }
    .search-btn {
        display: inline-block;
        height: 18px;
        font-size: 0;
        background-image: url(images/search-w@2x.png);
    }
    .slide-caption {
        padding-right: 20px;
    }
    .slide-caption h2 {
        max-width: 265px;
        font-size: 3.5vw;
    }
    .slide-caption p {
        font-size: 2.4vw;
    }
    .home-news-inner,
    .text-img-block {
        flex-wrap: wrap;
    }
    .calendar-section,
    .hn-photo,
    .text-img-block .text-block,
    .text-img-block .image-block {
        width: 100%;
    }
    .text-img-block .text-block,
    .calendar-section {
        margin-bottom: 3em;
    }
    .text-img-block .image-block {
        max-width: 550px;
        margin: auto;
        order: 2;
    }
    #backtotop {
        top: unset;
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        opacity: 1;
    }
    .icon-links {
        margin-bottom: 0 !important;
    }
    .footer-menu-container>ul {
        justify-content: space-between;
    }
    .footer-menu-container>ul>li {
        flex-basis: 47%;
    }
    .footer-menu-container>ul>li:nth-child(2n + 2) {
        margin-right: 0;
    }
    .ft-name {
        width: 100%;
        margin-bottom: 4%;
    }
    .ft-contact {
        width: 100%;
    }
    .main-menu-button {
        top: 9px;
    }
    html {
        margin-top: 0!important;
        overflow: hidden;
    }
    .page-banner-inner h1 {
        font-size: 5em;
    }
    .main {
        padding-top: 0;
    }
    .header {
        position: sticky;
    }
    .main-menu-button {
        position: absolute;
    }
    /*
    .year-tab {
        margin-right: 0.5em;
    }
    */
    .year-tab.active:after {
        bottom: -15px;
        width: 27px;
        height: 15px;
    }
    .carousel-slider-static .tablink.carousel-slide {
        display: inline-block;
        width: 32%;
        margin-right: 1%;
    }
    .has-sidebar {
        flex-wrap: wrap;
    }
    .hs-right {
        width: 100%;
        order: 2;
    }
    .hs-left {
        width: 100%;
        order: 1;
        margin-bottom: 5%;
    }
    .scroll-animation {
        opacity: 1;
        transform: translateY(10px);
        -ms-transform: translateY(10px);
        -webkit-transform: translateY(10px);
    }
    .main-menu>ul>li:first-child>a {
        width: 100%;
        height: auto;
        border: 0;
    }
    .custom-table th,
    .custom-table td {
        padding: 20px;
    }
    .people-table th:nth-child(2),
    .people-table td:nth-child(2) {
        width: 21%;
    }
    .main-menu li.menu-item-has-children ul>li>a {
        padding: 15px 35px 15px 15px;
    }
}


/* 960px */

@media screen and (max-width: 768px) {
    body {
        font-size: 40%;
    }
    .header-logo img {
        max-height: 35px;
    }
    .main-menu-button {
        width: 40px;
        height: 40px;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a {
        width: 35px;
        height: 35px;
        background-size: 10px;
        margin: 0;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager a {
        width: 8px;
        height: 8px;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager a.active {
        width: 30px;
    }
    .ftcr-title {
        width: 100%;
        margin-bottom: 1%;
        font-size: 2.4em;
    }
    .ftcr-text {
        width: 100%;
        margin-bottom: 2%;
    }
    .ftcr-text p,
    .ftcr-text th,
    .ftcr-text td,
    .ftcr-text li {
        font-size: 2.4em;
    }
    .footer-menu-container>ul ul li a {
        font-size: 2.2em;
    }
    .sec-heading:before {
        width: 15px;
        height: 15px;
    }
    .expand-btn:after,
    .collect-btn:after {
        width: 13px;
        height: 13px;
    }
    h2.accordion-icon:after {
        right: 5px;
        width: 35px;
        height: 35px;
    }
    .st-details-inner h2 {
        font-size: 3.5em;
    }
    .st-photo {
        width: 35%;
        padding-bottom: 41.25%;
    }
    .year-tab.active:after {
        bottom: -12px;
        width: 22px;
        height: 12px;
    }
    /*
    .year-tab {
        margin-bottom: 2em;
    }
    */
    .flex {
        flex-wrap: wrap;
    }
    .select {
        width: 120px;
        height: 42px;
    }
    .select-styled {
        padding: 13px 30px 13px 13px;
    }
    .select-styled:after {
        right: 12px;
        width: 12px;
    }
    ul.select-options {
        margin-top: 41px;
    }
    ul.select-options li {
        padding: 10px 0;
    }
    .carousel-slider-container .bx-wrapper .bx-controls-direction a {
        background-size: 10px 20px;
    }
    .people-table th:nth-child(2),
    .people-table td:nth-child(2) {
        width: 124px;
    }
    .course-details-row {
        display: block;
        padding: 0;
        margin-bottom: 1em;
        border-right: 0;
    }
    .course-details-rows+.course-details-text {
        margin-top: 3em;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a {
        transform: translateY(-50%);
    }
}


/* 768px */

@media screen and (max-width:600px) {
    .has-caption:before,
    .slide-wrapper {
        width: 80%;
    }
    .slide-caption h2 {
        max-width: 100%;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager {
        bottom: 25px;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a {
        margin: 0;
    }
    .header-logo-3 {
        width: 95px;
        overflow: hidden;
    }
    .header-logo {
        margin-right: 12px;
    }
    .footer-wrapper {
        display: block;
    }
    .copyright {
        width: 100%;
        margin-bottom: 2%;
        text-align: center;
    }
    .bottom-menu {
        width: 100%;
        text-align: center;
    }
    .footer-top:after {
        bottom: -20px;
        border-width: 22px 44px 0 44px;
    }
    .ec-table th,
    .ec-table td {
        font-size: 2.2em;
    }
    .ec-table th {
        padding: 15px 5px;
    }
    a.ec-prev:before {
        margin-right: 0;
    }
    a.ec-next:after {
        margin-left: 0px;
    }
    .ec-table td {
        padding: 12px 5px;
    }
    .sec-padding {
        padding: 5em 0;
    }
    .people-table th:first-child,
    .people-table td:first-child,
    .people-table td {
        display: block;
        width: 100%;
    }
    .people-table td:first-child {
        padding-bottom: 0;
    }
    .icon-email {
        width: 15px;
    }
    .st-details-inner {
        padding-left: 3em;
    }
    .st-details-inner p.light-text {
        font-size: 2.2em;
    }
    .st-details-inner h2 {
        font-size: 3em;
    }
    .grey-bg .flex {
        flex-wrap: wrap;
    }
    .st-photo {
        width: 100%;
        padding-bottom: 133%;
    }
    .st-details {
        width: 100%;
    }
    .st-details-inner {
        position: relative;
        padding: 20px;
    }
    .staff-top {
        max-width: 350px;
        width: 100%;
        margin: auto;
    }
    .crumb {
        width: auto;
    }
    .grid-1-3>.grid-col,
    .grid-1-3>.grid-col:nth-child(3n+3) {
        width: 100%;
        margin: 0 auto 8%;
        max-width: 350px;
        float: unset;
    }
    .nc-date {
        padding: 8px 10px;
    }
    .page-numbers,
    .pagination-number {
        width: 38px;
        height: 38px;
        padding: 12px 15px 8px 15px;
    }
    .next.page-numbers,
    .perious.page-numbers {
        background-size: 6px;
    }
    .pagination {
        margin-top: 0;
    }
    .course .custom-table td {
        padding: 15px;
    }
    .sc-left {
        width: 100%;
        max-width: 300px;
        margin: auto;
    }
    .sc-right {
        width: 100%;
    }
    .people-table th:nth-child(2),
    .people-table td:nth-child(2) {
        padding-bottom: 0;
        padding-top: 0;
    }
    .people-table th:nth-child(3),
    .people-table td:nth-child(3),
    .people-table th:nth-child(2),
    .people-table td:nth-child(2) {
        width: 100%;
    }
    .people-table thead {
        display: none;
    }
    .people-table td::before {
        display: block;
        width: 100%;
        content: attr(data-th);
        font-weight: bold;
        margin-bottom: 5px;
    }
    .rp-row {
        display: block;
        margin-bottom: 3em;
    }
    .rp-heading {
        width: 100%;
        margin-bottom: 0.5em;
    }
    .breadcrumbs {
        padding: 12px 0;
    }
    .crumb {
        padding: 0;
        border-left: 0;
    }
    .crumb-parent {
        display: inline-block;
    }
    .crumb:after {
        display: inline-block;
        content: '|';
        padding: 0 5px 0 0;
        margin: 0 5px 5px 5px;
        font-size: 1.3em;
        color: #cdcdcd;
    }
    .crumb:last-child {
        border: 0;
    }
    .crumb:last-child:after {
        display: none;
    }
}


/* 600px */

@media screen and (max-width:500px) {
    .home-slider-container,
    .home-slider-container .bx-wrapper,
    .home-slider-container .bx-viewport,
    .home-slider {
        padding-bottom: 75%;
    }
    .home-slide.has-caption,
    .home-slide-static.has-caption {
        background-size: contain;
        background-position: top;
    }
    .has-caption:before,
    .header-logo-4 {
        display: none;
    }
    .slide-wrapper {
        top: unset;
        bottom: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        height: 120px;
        background: #742a7a;
        background: -webkit-gradient(linear, left bottom, left top, from(rgba(116, 42, 122, 0)), to(#742a7a));
        background: linear-gradient(0deg, rgba(116, 42, 122, 0) 0%, #742a7a 100%);
    }
    .slide-caption {
        top: unset;
        bottom: 32px;
        left: 3%;
        width: 97%;
        padding-right: 0;
        transform: translateY(0);
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager {
        width: 94%;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager a {
        margin: 0 10px 0 0;
    }
    .sec-heading {
        font-size: 3em;
    }
    .sec-heading:before,
    h3.sec-heading:before {
        width: 8px;
        height: 8px;
        margin-top: -3px;
        margin-right: 8px;
    }
    .sec-heading span {
        width: calc(100% - 30px);
        vertical-align: top;
    }
    .container.pb-5 {
        min-width: auto;
    }
    .ftcr-title {
        padding-bottom: 5px;
    }
    .ft-contact-row,
    .ftcr-text {
        display: block;
    }
}


/* 500px */

@media screen and (max-width:450px) {
    .slide-caption p {
        font-size: 1.4em;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager a {
        width: 6px;
        height: 6px;
        margin: 0 4px;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager a.active {
        width: 24px;
    }
    .home-slider-container .bx-wrapper .bx-pager.bx-default-pager {
        bottom: 15px;
    }
    .header-top {
        padding: 10px;
    }
    .main-menu-button {
        right: 10px;
        width: 35px;
        height: 35px;
    }
    .footer-menu-container>ul>li {
        flex-basis: 100%;
        margin-right: 0;
    }
    .footer-menu-container>ul>li ul {
        display: flex;
        flex-wrap: wrap;
    }
    .footer-menu-container>ul>li ul li {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
    .page-banner-inner h1 {
        font-size: 4.5em;
    }
    .st-email {
        margin-top: 1em;
    }
    .page-numbers:nth-child(6),
    .page-numbers:nth-child(7) {
        display: none;
    }
    .carousel-slider-static .tablink.carousel-slide {
        display: inline-block;
        width: 49%;
        margin-right: 1%;
    }
    .carousel-slider-static .tablink.carousel-slide:nth-child(2n+2) {
        margin-right: 0;
    }
    .gallery-block .tabcontent {
        width: 100%;
    }
    .carousel-slider-container {
        display: block;
        padding: 0 15px 20px 15px;
        width: 100%;
    }
    .galler-num,
    .gallery-block .tabcontents,
    .carousel-slider-static {
        display: none;
    }
    .gallery-4 .tabcontents,
    .carousel-slider-container-static {
        display: block!important;
    }
    .carousel-slider-container .bx-pager {
        display: block;
    }
    .carousel-slider-container .bx-wrapper .bx-controls-direction a {
        background-size: 10px 20px;
    }
    .carousel-slider-container .bx-wrapper .bx-pager {
        font-size: 2em;
        color: #000;
        text-align: left;
        bottom: 0;
    }
    .carousel-slider-container .bx-wrapper .bx-pager:before {
        content: '圖';
    }
    .gallery-photo::after {
        width: 35px;
        height: 35px;
    }
    .course .custom-table td {
        display: block;
        width: 100%;
    }
    .course .custom-table td:first-child {
        padding-bottom: 0;
    }
    .zoom-btn {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        z-index: 10;
    }
    .zoom-btn:after {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        background-color: rgba(255, 255, 255, 0.8);
        background-image: url(images/zoom.png);
        background-size: 25px;
        background-position: center;
        background-repeat: no-repeat;
        content: '';
    }
}


/* 450px */

@media screen and (max-width:350px) {
    .header-logo img {
        max-height: 30px;
    }
    .header-logo-3 {
        width: 90px;
    }
    .main-menu-button {
        width: 35px;
        height: 35px;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a {
        display: none;
    }
    .footer-menu-container>ul>li ul li {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
    ul.crumb-submenu {
        top: auto;
    }
    .page-numbers,
    .pagination-number {
        width: 33px;
        height: 33px;
        padding: 9px;
    }
}


/* 350px */