﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC&display=swap');


body {
    font-family: 'Noto Serif TC', serif;
}


h1, h2, h3, h4, h5, h6, .navbar .navbar-nav {
    font-family: 'Noto Serif TC', serif;
    text-transform: none;
}

h1 {
    font-size: 1.7rem;
}

/* Common */
a {
    color: inherit;
    -o-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
}

    a:hover {
        color: inherit;
        cursor: pointer;
        text-decoration: none;
    }

    a:focus,
    a:active {
        text-decoration: none;
    }

.text-gray {
    color: #aaaaaa;
}

.text-blue {
    color: #0033CC;
}

.text-red {
    color: #ff0000;
}

.text-green {
    color: #006600;
}

.text-orange {
    color: #E86F00;
}

p img {
    display: inline-block;
}

.new-separator {
    width: 100%;
    position: relative;
    border: 1px dotted rgb(195,195,195);
}

/* Header */
.page-wrapper {
    margin-top: 66px;
}

.header-container {
    margin-bottom: 0;
}

header.navbar {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
}

    header.navbar .navbar-nav .dropdown-menu {
        position: absolute;
        background-color: #ffffff;
        text-align: left;
    }

.dropdown, .dropend, .dropstart, .dropup {
    text-align: center;
}

.dropdown-menu {
    text-align: center;
    font-size: 0.9rem;
}

.dropdown-toggle::after {
    display: none;
}

header.navbar .dropdown.language .dropdown-menu {
    text-align: center;
}

.dropdown-item:hover {
    background-color: #e9ce7a;
    padding-left: 0;
    padding-right: 0;
}

header .navbar-nav li > a:hover, header .navbar-nav li > a.active, header .navbar-nav li.show > a {
    background-color: #e9ce7a;
}

.navbar .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: #000;
}

.navbar .navbar-nav .nav-link {
    color: #000;
    font-weight: bold;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 20px 10px;
}

.navbar .navbar-nav .dropdown-menu > li > a {
    padding: 10px 15px;
}

.navbar-expand-lg .navbar-nav .nav-item .nav-link {
    color: #000;
    font-weight: bold;
}

/* Header (fixed) */
.fixed-header-on header.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1006;
    box-shadow: 2px 5px rgba(0,0,0,0.15);
}

.navbar-brand img {
    height: 50px;
}


/* Buttons */
.btn {
    font-size: 18px;
    border-radius: 0;
    border-color: #6c757d;
    background-color: #6c757d;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
    background-color: #5a6268;
    border-color: #545b62;
    color: #fff;
}

.btn-default {
    color: #fff;
}

/* Footer */
footer {
    color: #006e32;
    font-size: 13px;
    border-top: solid 1px #6f6f6f;
    background-image: url(/Images/gray-sand.png);
    background-size: cover;
    background-position: center;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
}

    footer .contact a > i {
        color: #000;
        padding-right: 5px;
        position: relative;
    }

    footer .contact a.phone > i {
        transform: rotate(45deg);
        top: 2px;
    }

/* Mobile Navbar 手機版選單(滑出版) */
.navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-toggle {
    padding: 0 20px;
}

#nav-mobile.feature-panel .wrapper {
    width: 100%;
}

#nav-mobile.feature-panel {
    background-color: #008091;
    color: #333;
    border-right: 0;
    width: 270px;
}

    #nav-mobile.feature-panel:before {
        content: "";
        background-color: rgba(0,0,0,0.9);
        display: block;
        position: fixed;
    }

    #nav-mobile.feature-panel .bg {
        background-color: rgba(0,0,0,.5);
    }

    #nav-mobile.feature-panel .header {
        background-color: #ffffff;
        padding: 0 15px;
    }

    #nav-mobile.feature-panel .exit {
        position: relative;
        width: 20px;
        height: 20px;
    }

        #nav-mobile.feature-panel .exit:hover {
            opacity: 0.85;
            cursor: pointer;
        }

        #nav-mobile.feature-panel .exit:before,
        #nav-mobile.feature-panel .exit:after {
            position: absolute;
            left: 8px;
            content: ' ';
            height: 20px;
            width: 2px;
            background-color: #000;
        }

        #nav-mobile.feature-panel .exit:before {
            transform: rotate(45deg);
        }

        #nav-mobile.feature-panel .exit:after {
            transform: rotate(-45deg);
        }

    #nav-mobile.feature-panel .logo img {
        height: 45px;
    }


    #nav-mobile.feature-panel .body {
        background-color: #ffffff;
        padding: 15px;
    }

        #nav-mobile.feature-panel .body a {
            position: relative;
            display: block;
            padding: 10px;
            color: #000;
            font-weight: bold;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

            #nav-mobile.feature-panel .body a:hover {
                background-color: #e9ce7a;
                color: #fff;
            }


        #nav-mobile.feature-panel .body h4 {
            color: #ffffff;
            font-weight: bold;
            margin: 0 -20px;
            padding: 10px 20px;
            border-bottom: 2px solid rgba(255,255,255,0.2);
            background-color: #6b0b0c;
        }

        #nav-mobile.feature-panel .body ul {
            list-style: none;
            padding-left: 0;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li > a {
            padding-right: 10px;
            padding-left: 1.5em;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li a:before {
            font-family: 'FontAwesome';
            content: "\f105";
            color: #06273f;
            position: absolute;
            left: 0.5em;
            display: none;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li > ul > li > a {
            padding-right: 10px;
            padding-left: 2.5em;
        }

            #nav-mobile.feature-panel .body > ul > li > ul > li > ul > li > a:before {
                left: 1.5em;
            }

        #nav-mobile.feature-panel .body > ul > li > ul {
            display: none;
        }

        #nav-mobile.feature-panel .body > ul > li.active ul,
        #nav-mobile.feature-panel .body > ul > li.open ul {
            display: block;
        }

    #nav-mobile.feature-panel .feature {
        border-top: 1px solid rgba(0,0,0,0.2);
        height: 50px;
    }


    #nav-mobile.feature-panel .body li.active > a {
        color: #e9ce7a;
    }

        #nav-mobile.feature-panel .body li.active > a:hover {
            background-color: transparent;
        }

/* Breadcrumb */
.section-breadcrumb ol.breadcrumb {
    font-size: 13px;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
}

.section-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.section-breadcrumb .breadcrumb li a {
    color: rgb(119, 119, 119);
    cursor: pointer;
    display: block;
}

.section-breadcrumb .breadcrumb li {
    color: #000;
    display: -webkit-inline-box !important;
}

    .section-breadcrumb .breadcrumb li a:hover {
        color: rgb(217, 205, 162);
        cursor: pointer;
        transition: all .1s linear;
    }

/* Section List */
.quote #list-row-2 {
    padding: 30px 0;
    border-bottom: 1px solid #e9ce7a;
}

#list-row-2 .col-12 .row .col-md-4 {
    display: table;
}

#list-row-2 .col-md-4 h4 {
    font-size: 2.5rem;
    display: table-cell;
    vertical-align: middle;
}

.section-list-container.news .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.section-list-container.news .list-row-news,
.section-list-container.news .list-row-article {
    padding: 30px 0;
}

.section-list-container.news .list-row-news {
    border-bottom: 1px solid #e9ce7a;
}

.section-list-container.news .date {
    color: #e7b700;
}

.section-list-container.news a {
    display: block;
}

.section-list-container.social-links {
    padding: 10px 0;
    background-image: url(/Images/grey-sand.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px grey;
}

    .section-list-container.social-links .youtube {
        color: rgb(233,75,62);
    }

        .section-list-container.social-links .youtube > i {
            font-size: 50px;
        }

    .section-list-container.social-links .facebook {
        width: 50px;
        height: 50px;
        background-color: rgb(84, 118, 185);
        display: inline-block;
        border-radius: 100%;
        text-align: right;
        padding-top: 15px;
        padding-right: 10px;
    }

        .section-list-container.social-links .facebook i {
            color: #fff;
            font-size: 40px;
        }

#section-contents-11 .content {
    background: url(/Images/master_main_bg.png) no-repeat right bottom;
}

#section-contents-12 .container {
    background: url(/Images/about_bg.gif) no-repeat right bottom;
}

#section-contents-14 table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    #section-contents-14 table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        padding: .35em;
    }

    #section-contents-14 table th,
    #section-contents-14 table td {
        padding: .625em;
        text-align: center;
        word-break: break-all;
    }

    #section-contents-14 table th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

.section-course .table thead {
    background-color: #e9ce7a;
    color: #726c61;
}

    .section-course .table thead th {
        border: 2px solid #fff;
        font-size: 13px;
        vertical-align: middle;
        white-space: nowrap;
    }

.section-course .table-bordered td a {
    color: #000;
    font-weight: bold;
}

    .section-course .table-bordered td a i {
        font-size: 20px;
    }

#section-course-3 .modal-info i {
    display: none !important;
}


@media (max-width: 576px) {
    header .navbar {
        padding: 0.5rem;
    }

    .navbar-toggle {
        padding: 0 10px;
    }

    .dropdown.language .btn {
        padding: 30px 10px;
    }

    #list-row-9 ul {
        justify-content: space-between;
    }

        #list-row-9 ul li {
            margin-right: 0;
            margin: 0 auto;
        }

            #list-row-9 ul li > div {
                display: none;
            }

    #list-row-9 .youtube > i {
        font-size: 85px;
    }

    #list-row-9 .facebook {
        width: 85px;
        height: 85px;
        padding-top: 15px;
    }

        #list-row-9 .facebook i {
            font-size: 70px;
        }

    footer .copyright .row .col-lg-6 > ul {
        flex-direction: column;
        align-items: center;
    }

    #list-row-6 .list-group .d-flex,
    #list-row-7 .list-group .d-flex {
        flex-direction: column;
    }
}

@media(max-width: 320px) {
    header.navbar {
        padding: 0;
    }

    .navbar-toggle {
        padding: 0 5px;
    }

    .dropdown.language .btn {
        padding: 30px 5px;
    }
}

@media (max-width: 767px) {

    .navbar-brand img {
        height: 40px;
    }

    #section-list-5 .container, .news .container {
        flex-direction: column;
    }

    #list-row-9 ul li {
        flex-direction: column;
    }

    #list-row-9 .youtube > i {
        font-size: 60px;
    }

    #list-row-9 .facebook {
        width: 60px;
        height: 60px;
    }

        #list-row-9 .facebook i {
            font-size: 50px;
        }

    footer .copyright .row > div {
        text-align: center;
    }

    footer .copyright .row .col-lg-6 ul {
        justify-content: center;
    }

    #list-row-2 .col-md-4 h4 {
        padding: 20px 0;
    }


    #section-contents-11 .content {
        justify-content: center;
    }



    /*section-table*/
    .section-course .table {
        border: 0;
    }

        .section-course .table tr {
            border-bottom: 3px solid #fff;
            display: block;
            margin-bottom: .625em;
        }

        .section-course .table td {
            display: block;
            font-size: .8em;
            text-align: right;
        }

            .section-course .table td::before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

    .section-course .table-bordered th, .table-bordered td {
        border: 1px solid #fff;
    }
}


@media (min-width: 768px) {

    .section-list-container.news .list-row-news {
        border-left: 1px solid #e9ce7a;
        border-bottom: 0;
    }
}

@media (min-width:992px) {
}

@media (max-width: 992px) {

    .section-course .table {
        border: 0;
    }

        .section-course .table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        .section-course .table tr {
            border-bottom: 3px solid #fff;
            display: block;
            margin-bottom: .625em;
            /*background-color: #e9ce7a;*/
        }

        .section-course .table td {
            display: flex;
            font-size: .8em;
            text-align: right;
            justify-content: space-between;
            padding: 10px 50px;
            font-size: 15px;
        }

            .section-course .table td:first-child {
                background-color: rgb(233, 206,122);
                color: #726c61;
            }

            .section-course .table td::before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }


    .section-course .table-bordered th {
        border: 0;
        padding: 20px 50px;
        font-size: 18px;
        font-weight: bold;
    }


    .table-bordered td {
        border: 1px solid #dee2e6;
    }

    #list-row-9 ul li {
        flex-direction: column;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 20px 15px;
    }
}
