@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

:root {
    --main-1-color: #54aba3;
    --main-2-color: #91cfc2;
    --main-2-1-color: #a8e5d8;
    --main-3-color: #f1f4fd;
    --other-1-color: #3A336A;
    --other-2-color: #EF6521;
    --other-3-color: #56a68d;
    --other-4-color: #a6566f;
    --other-5-color: #6fa656;
    --white-color: #fff;
    --black-color: #444;
    --gray-color: #999;
    --font-size: 16.5px;
}

html,
body {
    font-size: var(--font-size);
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--black-color);
    background-color: rgb(245, 245, 245);

}

a {
    text-decoration: none;
}

.section_title {
    width: 100%;
    font-size: 2.3em;
    text-align: center;
    letter-spacing: 3px;
    margin-top: 90px;
    margin-bottom: 40px;
}

.page_title {
    font-size: 1.6em;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4em;
    color: var(--main-1-color);
    margin-bottom: .8rem;
}

.page_subtitle {
    font-size: 1.2em;
    line-height: 1.6rem;
    letter-spacing: 1px;
    color: var(--black-color);
    margin-bottom: 2.2rem;
}

.page_subsmalltitle {
    font-size: 1em;
    line-height: 1.2rem;
    letter-spacing: 1px;
    color: var(--gray-color);
    margin-bottom: 1.4rem;

}

.page_subnormaltitle {
    font-size: 1.08em;
}

.page_content_title {
    font-size: 1.2em;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gray-color);
    margin-bottom: .6rem;
}

.page_content_sub_title {
    font-size: 1em;
    line-height: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: .6rem;
}

.page_content_line {
    width: 80px;
    height: 1px;
    background-color: var(--other-2-color);
    margin-bottom: .5rem;
}

.gray-color {
    color: var(--gray-color);
}

p {
    line-height: 2em;
    margin-bottom: 2.8rem;
}

.pb-05 {
    padding-bottom: 1rem !important;
}

.pt-05 {
    padding-top: 1rem !important;
}

.mt-05 {
    margin-top: 1rem !important;
}

.mt-1 {
    margin-top: 2.8rem !important;
}

.mb-0 {
    margin-bottom: 0rem !important;
}

.mb-05 {
    margin-bottom: 1rem !important;
}

.mb-1 {
    margin-bottom: 2.8rem !important;
}

.mt {
    margin-top: 2.8rem;
}

.text-center {
    text-align: center !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    padding: 1rem 0;
    display: block;
}

figure {
    margin-top: 1rem;
}

figure .img-fluid {
    padding: 0;
}

figure figcaption {
    font-size: 0.85rem;
    font-weight: 500;
    padding-top: 10px;
}

.container {
    max-width: 1280px;
    width: 100%;
    background-color: var(--white-color);
    margin: 0 auto;

}

section {
    margin-bottom: 150px;
}

section:last-child {
    margin-bottom: 50px;
}

@media (max-width: 767.98px) {
    section {
        margin-bottom: 120px;
    }
}

header {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}

@media (max-width: 767.98px) {
    header {
        height: 220px;
    }
}

main {
    width: 85%;
    height: 100%;
    margin: 30px auto 100px auto;
}

@media (max-width: 767.98px) {
    main {
        width: 85%;
    }
}

nav {
    width: 92%;
    height: 80px;
    background: var(--main-1-color);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 5px 22px 0 rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 991.98px) {
    nav {
        height: 0;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 992px) {
    .nav-list {
        display: flex !important;
        flex-direction: row;
        justify-content: space-evenly;
    }
}

nav ul li {
    float: left;
    position: relative;
}

nav ul li a,
nav ul li a:visited {
    text-align: center;
    display: block;
    padding: 0 5px;
    line-height: 80px;
    background: var(--main-1-color);
    color: #fff;
    text-decoration: none;

}

@media(max-width:991.98px) {

    nav ul li a,
    nav ul li a:visited {
        text-align: left;

    }

    nav ul li ul li a {
        position: relative;
    }

    nav ul li ul li a::before {
        content: '-';
        position: absolute;
        left: 18px;
        top: 18px;
    }
}

.nav-dropdown a:hover,
.nav-dropdown a:visited:hover {
    background: var(--main-3-color);
    color: var(--main-1-color);
}

.nav-list>li>a:first-child {
    border-bottom-left-radius: 20px;
}

.nav-list>li>a:last-child {
    border-bottom-right-radius: 20px;
}

@media screen and (max-width: 991.98px) {
    .nav-list>li>a:first-child {
        border-bottom-left-radius: 0px;
    }

    .nav-list>li>a:last-child {
        border-bottom-right-radius: 0px;
    }
}


nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
    padding-left: 4px;
    content: ' ▾';
}

nav ul li ul li {
    min-width: 230px;
}

nav ul li ul li a {
    padding: 20px 15px;
    line-height: 20px;
}

.nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 991.98px) {
    .nav-dropdown {
        filter: contrast(1.2);
        box-shadow: none !important;
    }
}

/* Mobile navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    width: 60px;
}

@media only screen and (max-width: 991.98px) {
    .nav-mobile {
        display: block;
    }

    nav {
        width: 100%;
        padding: 60px 0 0;
        position: fixed;
        top: 0;
        left: 0;
    }

    nav ul {
        display: none;
    }

    nav ul li {
        float: none;
    }

    nav ul li a {
        padding: 15px 15px 25px 15px;
        line-height: 20px;
    }

    nav ul li ul li a {
        padding-left: 30px;
    }

    .nav-dropdown {
        position: static;
    }
}

#nav-toggle {
    position: absolute;
    left: 15px;
    top: 22px;
    cursor: pointer;
    padding: 5px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 32px;
    background: #fff;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}


.banner {
    width: 100%;
    height: 480px;
    position: absolute;
    transform: translateY(-80px);
    z-index: -1;
    overflow: hidden;
}

@media(max-width:767.98px) {
    .banner {
        height: 300px;
    }
}

.banner_content {
    width: 65.5%;
    height: 100%;
    background: linear-gradient(to left, var(--main-3-color) 0%, var(--main-2-color) 100%);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:767.98px) {
    .banner_content {
        width: 100%;
    }
}

.banner_title {
    font-size: 2.6em;
    font-family: 'Noto Serif TC', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.6em;
    color: var(--white-color);
    margin-top: 130px;
    z-index: 10;

}

@media (max-width:991.98px) {
    .banner_title {
        margin-left: 30px;
        text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);

    }
}

@media (max-width:767.98px) {
    .banner_title {
        font-size: 1.4em;
        line-height: 1.5em;
        margin-left: 0px;
        text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);

    }
}

.banner_img {
    width: 88%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: absolute;

}

.banner_img_1 {
    background-image: url(../img/banner-img-1.png);
    background-size: 470px auto;
    margin-top: 90px;
    margin-right: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner_img_2 {
    background-image: url(../img/body.png);
    background-size: 460px auto;
    margin-top: 0px;
    top: 50%;
    right: 0;
    transform: translate(0%, -50%);
}

@media (max-width:767.98px) {

    .banner_img_1,
    .banner_img_2 {
        background-size: 320px auto;
    }
}

.d-block-sm {
    display: none;
}

@media(max-width:767.98px) {
    .d-block-sm {
        display: block;
    }
}

.d-flex {
    display: flex;
    gap: 20px;
    align-items: center;
}

.d-flex-sm img {
    padding: 0 !important;
}

@media(max-width:767.98px) {
    .d-flex {
        flex-direction: column;
    }
}

.nowrap-sm {
    white-space: normal !important;
}

@media(max-width:767.98px) {
    .nowrap-sm {
        white-space: nowrap !important;
    }
}

.card {
    width: auto;
    height: auto;
    background-color: var(--white-color);
    box-shadow: 0px 0px 22px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    box-sizing: border-box;

}

.card::before {
    content: '';
    width: 100%;
    height: 100%;
    box-shadow: 0px 15px 22px 0 rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.d-gird-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 30px;
    margin-top: 30px;
}

.d-gird-card .card {
    border-radius: 10px;
}

@media(max-width:991.98px) {
    .d-gird-card {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:767.98px) {
    .d-gird-card {
        grid-template-columns: 1fr;
    }
}

.d-gird-card .card:hover img {
    transform: scale(1.1);
}

.card-head {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.card-head img {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    transition: ease .5s;
}

.card-body {
    padding: 10px 25px 25px 25px;
}

.card-body .card-title {
    font-weight: 500;
    padding-bottom: 5px;
    padding-top: 15px;
}

.card-body .card-text {
    font-size: .95rem;
    line-height: 1.5rem;
}

.breadcrumb {
    margin-bottom: 70px;
}

.breadcrumb li {
    font-size: 0.95em;
    line-height: 1.5rem;
    display: inline-block;
    padding: 0 1rem 0 .5rem;
    position: relative;
}

.breadcrumb li:first-child {
    padding-left: 0;
}

.breadcrumb li::after {
    content: '/';
    position: absolute;
    top: 0;
    right: 0;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb_item+.active {
    font-weight: 500;
    color: var(--main-2-color);
}

.breadcrumb_item a {
    color: var(--black-color);
}

article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.timetable {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
}

.timetable_title {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--main-2-color);
    border-bottom: 5px solid var(--main-2-color);
    padding: 1.5rem 0;
}

@media (max-width:767.98px) {
    .timetable_title {
        margin-top: 4rem;
    }

    .timetable_odd:first-child .timetable_title {
        margin-top: auto;
    }
}

.timetable_dr_name {
    font-weight: 500;
}

.timetable_time {
    font-size: .9em;
    color: var(--main-3-color);
    margin-top: 1rem;
}

.timetable_odd,
.timetable_even {
    display: table-cell;

}

@media (max-width:767.98px) {

    .timetable_odd,
    .timetable_even {
        display: block;
    }
}

.timetable_odd li,
.timetable_even li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85px;
}

.timetable_dr_close {
    background-color: var(--main-3-color);
    color: var(--white-color);
    height: 50px !important;
}

.team_dr {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
        "team_cover team_info";
    position: relative;
}

@media (max-width:767.98px) {
    .team_dr {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "team_cover" "team_info";
    }
}

.team_cover {
    grid-area: team_cover;
    position: absolute;
    top: 98px;
    left: 0;
    z-index: 5;
}

@media (max-width:767.98px) {
    .team_cover {
        display: flex;
        align-items: flex-end;
        margin-bottom: 1rem;
        position: relative;
        top: 0;
        z-index: 0;
    }
}

.team_cover img {
    width: 240px;
    height: auto;
}

@media (max-width:767.98px) {
    .team_cover img {
        width: 220px;
    }
}

.team_cover_en_name {
    font-size: 2.5em;
    font-style: italic;
    font-weight: 200;
    letter-spacing: 2px;
    margin-top: 1rem;
}

@media (max-width:767.98px) {
    .team_cover_en_name {
        font-size: 2em;
        line-height: 1.2em;
        margin-left: .5rem;
    }
}

.team_cover_en_name a {
    display: block;
    font-size: 0.8rem;
    line-height: normal;
    font-style: normal;
    font-weight: 300;
    margin: 0;
    margin-top: .8rem;
    color: var(--other-3-color);
}

.team_cover_en_name a:first-child {
    margin-top: 1.2rem;
}

.team_en_name {
    font-size: 1.7em;
    font-weight: 500;
    color: var(--main-2-color);
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.team_name {
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2.8rem;
}

.team_info {
    grid-area: team_info;
    padding: 50px 50px 0;
}

@media(max-width:767.98px) {
    .team_info {
        padding: 40px 30px 0;
    }
}

.team_group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

@media(max-width:991.98px) {
    .team_group {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media(max-width:767.98px) {
    .team_group {
        grid-template-columns: 1fr 1fr;
    }
}

.team_group_cover {
    text-align: center;
    cursor: pointer;

}

.team_group_cover:hover img {
    filter: contrast(1.3);
    -webkit-filter: contrast(1.3);
}

.team_group_cover img {
    width: 100%;
    height: auto;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}

.team_group_name {
    padding: 1rem 0;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.footer {
    height: auto;
    background-color: var(--main-2-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 50px 0;
}

@media (max-width:991.98px) {
    .footer {
        height: auto;
        padding: 40px 0;
    }
}

.footer .footer_link {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

@media (max-width:991.98px) {
    .footer .footer_link {
        flex-direction: column;
    }
}

@media (max-width:767.98px) {
    .footer .footer_link {
        width: 85%;
        flex-direction: column;
    }
}

.footer .footer_title {
    color: var(--white-color);
}

@media (max-width:991.98px) {
    .footer .footer_title {
        margin-top: 1rem;
        line-height: 2.8rem;
    }

    .footer .footer_title:first-child {
        margin-top: 0rem;
    }
}

.footer .footer_title {
    font-size: 0.9em;
    font-weight: 500;
}

.footer .footer_title li {
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.3rem;
    padding: .4rem 0;
}

.footer .footer_title li:first-child {
    padding-top: 1rem;
}

@media (max-width:991.98px) {
    .footer .footer_title li {
        font-size: 0.9em;
        line-height: 2.2rem;
        padding: 0;
    }

    .footer .footer_title li:first-child {
        padding-top: 0;
    }
}

.footer .footer_title li:last-child {
    padding-bottom: 0rem;
}

.footer .footer_title li a {
    color: var(--white-color);
}

footer .footer_copyright {
    font-size: 0.85em;
    text-align: center;
    color: var(--white-color);
    background-color: var(--main-1-color);
    padding: 1.5rem 0;
}

.ul_list {
    list-style: square;
    line-height: 2em;
    margin-bottom: 2.8rem;
}

.ul_list li {
    margin-top: .5rem;
}

.ul_list .none {
    list-style: none;
}

.ul_list li:first-child {
    margin-top: 0;
}

.ul_number {
    list-style: decimal;
}

.ul_circle {
    list-style: circle;
}

.ul_italic {
    font-size: .9em;
    font-style: italic;
}

.ul_list strong,
strong {
    font-weight: 500;
}

li strong {
    padding-right: .5rem;
}

.ul_list .ul_list {
    padding-left: 1rem;
}

.ul_list .ul_list li {
    margin-top: .5rem;
}

.table_view {
    overflow-x: auto;
}

.table_view table {
    white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
    margin-top: .8rem;
    margin-bottom: 1rem;
}

.table_view th,
td {
    width: 50%;
    text-align: left;
    line-height: 1.7em;
    padding: 10px;
    vertical-align: middle;
    min-width: 300px;
    white-space: normal;
}

.table_view th {
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 2em;
    border-bottom: 3px solid #ddd;
}

.table_view tr:nth-child(even) {
    background-color: #f2f2f2
}

.table_3_td tr th,
.table_3_td tr td {
    width: 33.3%
}

.table_3_td tr th:first-child,
.table_3_td tr td:first-child {
    text-align: center;
}

.table_view small {
    font-size: 0.85rem;
    font-weight: 500;
    padding-left: 5px;
    transform: translateY(-5px);
}

@media(max-width:767.98px) {

    .table_3_td tr th:first-child,
    .table_3_td tr td:first-child {
        text-align: left;
    }
}

.table_5_td tr th,
.table_5_td tr td {
    width: 20%
}

.mb-1 {
    margin-bottom: 2.8rem !important;
}

.time {
    font-size: .8em;
    text-align: right;
    white-space: nowrap;
    margin-top: 4rem;
}

.time span:first-child {
    font-weight: 500;
    padding-right: 6px;
}

.time span:last-child {
    font-style: italic;
}
