﻿/*
	@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
*/
/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    /* 無障礙規範：保持 100% 以尊重瀏覽器預設字級 */
    font-size: 100%;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    /* 無障礙建議：行高設為 1.5 以上可提升閱讀障礙者的閱讀品質 */
    line-height: 1.5;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* ---reset.css--- */

html, body {
    -webkit-text-size-adjust: none;
    box-sizing: border-box;
    min-width: 360px;
    letter-spacing: 0.14em;
    font-size: 1em; /* 相對單位，予以保留 */
}

.CLEARFLOAT {
    clear: both;
}

/* --電腦版型------------------------------------- */

.btn-facebook {
    color: #fff;
    background-color: #4C67A1;
}

    .btn-facebook:hover {
        color: #fff;
        background-color: #405D9B;
    }

    .btn-facebook:focus {
        color: #fff;
    }

.tophead {
    width: 80%;
    margin: 0 auto;
}

#topbar {
    width: 50%;
    text-align: left;
    float: left;
}

.LOGO {
    width: 520px;
    overflow: hidden;
}

    .LOGO img {
        max-width: 520px;
        _width: expression(this.width > 520 ? “520px” : this.width);
    }

#searchbar {
    width: 50%;
    text-align: right;
    float: left;
    margin-top: 1.6em;
}

    #searchbar font {
        font-size: 1em;
        font-family: 'Noto Sans TC';
        margin-right: 0.6em;
        color: #347451;
    }

    #searchbar input {
        margin-right: 0.6em;
    }

#BANNER {
    clear: both;
    width: 100%;
    height: 0;
    padding-bottom: 36.45%;
    background-image: url(../images/banner_d.jpg);
    background-size: cover;
}

    #BANNER h1 {
        display: none;
    }

#NAV {
    display: block;
    width: 100%;
    min-height: 60px;
    background: #7cb558;
    background: -moz-linear-gradient(left, #7cb558 0%, #59bad0 100%);
    background: -webkit-linear-gradient(left, #7cb558 0%,#59bad0 100%);
    background: linear-gradient(to right, #7cb558 0%,#59bad0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7cb558', endColorstr='#59bad0',GradientType=1 );
}

    #NAV ul {
        display: flex;
        justify-content: center;
        align-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    #NAV li {
        flex-basis: 1;
        font-size: 1.3125em;
        letter-spacing: 2px;
        font-weight: 500;
    }

    #NAV a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-decoration: none;
        text-align: center;
        padding: 5px 25px;
        min-height: 50px;
    }

        #NAV a:hover {
            border: rgba(255,255,255,1.00);
            background-color: rgba(255,255,255,0.3);
        }

        #NAV a span {
            color: #fff29a;
        }

/* -------首頁內容區----------- */
#CONTENT {
    display: block;
    width: 80%;
    overflow: hidden;
    background-color: #FFF;
    margin: 0 auto;
    padding: 40px 0px;
}

#indexcontent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
}

.indexcolumn {
    width: 48%;
    max-width: 620px;
}

.indextitle {
    color: #59bad1;
    font-size: 3.125em;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .indextitle a {
        display: block;
        font-size: 0.4em;
        font-weight: 500;
        color: #59bad1;
        border: #59bad1 3px solid;
        border-radius: 100px;
        text-decoration: none;
        text-align: center;
        width: auto;
        line-height: 23px;
        padding: 3px 10px 5px 10px;
    }

        .indextitle a:hover {
            color: #ea9b3d;
            border: #ea9b3d 3px solid;
        }

.indexcolumn hr {
    border: #59bad1 1px solid;
}

.indexcolumn ul {
    padding: 10px 20px;
    border: 1px #b5dce4 solid;
    background: #f3fdff;
    background: -moz-linear-gradient(top, #f3fdff 40%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #f3fdff 40%,#ffffff 100%);
    background: linear-gradient(to bottom, #f3fdff 40%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3fdff', endColorstr='#ffffff',GradientType=0 );
}

.indexcolumn li {
    padding: 15px 0px;
    font-size: 1.125em;
}

    .indexcolumn li a {
        display: block;
        width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

.news a {
    color: #000000;
    text-decoration: none;
}

    .news a span {
        color: #7cb558;
    }

    .news a:hover {
        color: #ea9b3d;
    }

        .news a:hover span {
            color: #ea9b3d;
        }

.link a {
    color: #000000;
    text-decoration: none;
}

    .link a span {
        color: #59bad1;
        font-size: 0.3em;
        padding-right: 8px;
    }

    .link a:hover {
        color: #ea9b3d;
    }

        .link a:hover span {
            color: #ea9b3d;
        }
/* -------版尾區----------- */
#footer {
    width: 100%;
    background: url(../images/footer.gif) #7ab55c top center no-repeat;
    padding: 100px 0px 20px 0px;
    text-align: center;
    color: #FFF;
    line-height: 1.8;
    font-size: 0.9375em;
}

    #footer ul {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }

    #footer li {
        padding: 0 4px;
    }

        #footer li a {
            color: #FFF;
            text-decoration: none;
        }

            #footer li a:hover {
                color: #f7ff7f;
                text-decoration: underline;
            }

/* Footer Social
====================================*/
.footer_social {
    float: left;
    margin-left: 1.5em;
    position: fixed;
    margin-top: 16em;
}

.footbot_social li {
    margin-top: 1em;
}

    .footbot_social li a {
        color: #62b9b1;
        font-size: 1.7em;
        background-color: hsla(0,0%,100%,0.65);
        padding: 0 0.28em 0 0.28em;
        border-radius: 100%;
    }

.fb > div, .twtr > div {
    text-indent: -99999px;
    display: inline-block;
}

.footbot_social li a:hover {
    color: #00406A;
    font-size: 1.7em;
}


/* -------內頁----------- */
#mainBANNER {
    background: url(../images/banner_main.jpg) center top no-repeat;
    width: 100%;
    height: 200px;
}

    #mainBANNER h1 {
        display: none;
    }

.breadcrumb {
    display: block;
    width: 100%;
    min-height: 45px;
    background-color: #e0f4f9;
    border-radius: 8px;
    font-size: 0.9375em;
    line-height: 45px;
    margin-bottom: 10px;
}

    .breadcrumb ul {
        padding-left: 2em;
    }

    .breadcrumb li {
        display: block;
        float: left;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #272d2f;
    padding: 0 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: #272d2f;
}

    .breadcrumb a:hover {
        color: #2d76ba;
    }

.active {
    color: #1c8dad;
}

#tabarea {
    padding-top: 10px;
}

.tabnav ul {
    display: flex;
    flex-wrap: wrap;
}

.tabnav li {
    margin-right: 2px;
    background-color: #FC0004;
    margin-bottom: 16px;
}

.tabitem a {
    background: #FFF;
    color: #82c6b7;
    font-size: 1.125em;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    padding: 5px 9px;
    white-space: nowrap;
    border: #e2f5eb 2px solid;
}

    .tabitem a:active {
        background: #FFF;
        color: #82c6b7;
    }

#tabcontainer {
    display: block;
    margin-top: -10px;
    background: #e2f5eb;
    padding: 15px 20px 20px 20px;
}

.linkmode a {
    display: flex;
    width: calc(100% - 20px);
    align-items: center;
    background-color: #FFF;
    border-left: #82c6b7 12px solid;
    font-size: 1.125em;
    line-height: 1.5;
    text-decoration: none;
    color: #5b5b5b;
    vertical-align: central;
    padding: 4px 12px 4px 0px;
    margin: 4px 0px;
}

.answer {
    display: flex;
    width: calc(100% - 20px);
    align-items: center;
    background-color: #FFF;
    border-left: #f0db49 12px solid;
    font-size: 1.125em;
    line-height: 1.5;
    text-decoration: none;
    color: #5b5b5b;
    vertical-align: central;
    padding: 4px 12px 4px 0px;
    margin: 4px 0px;
}

    .answer span {
        font-family: Helvetica, Arial, sans-serif;
        color: #f0db49;
        font-size: 1.75em;
        font-weight: 700;
        vertical-align: central;
        padding: 0px 10px;
        height: 100%;
    }

.bulletin {
    display: flex;
    background-color: #f2fcfa;
    margin-top: 15px;
    padding: 15px 25px 15px 15px;
    align-items: center;
}

.bulletinicon {
    width: 1.1em;
    height: 1.1em;
    background-color: #82c6b7;
    letter-spacing: normal;
    padding: 5px;
    color: #FFF;
    font-size: 0.75em;
    text-align: center;
    margin-right: 10px;
}

.bulletintxt {
    width: calc(100% - 9.1em);
}

    .bulletintxt h4 a {
        color: #1c2e2a;
        text-decoration: none;
        font-size: 1.125em;
        line-height: 1.5;
    }

        .bulletintxt h4 a:hover {
            color: #e5a03d;
        }

        .bulletintxt h4 a span, a:hover span {
            color: #cd4d38;
            font-size: 0.75em
        }

    .bulletintxt h5 {
        color: #e5a03d;
        font-size: 0.725em;
        display: block;
        height: 1em;
        line-height: 2.5em;
    }

.bulletindate {
    color: #686868;
    font-size: 0.983em;
    background-color: #FFF;
    border-radius: 10em;
    text-align: center;
    width: 8em;
    height: 1.5em;
    line-height: 1.5em;
}

.title {
    border-left: #82c6b7 10px solid;
    color: #82c6b7;
    font-size: 1.5em;
    padding-left: 15px;
    height: 1.6em;
    line-height: 1.6em;
    margin-bottom: 5px;
}

#CONTENT p {
    color: #686868;
    font-size: 1.125em;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    font-weight: 300;
}

.txtindent {
    text-indent: 2.25em;
}

#CONTENT img {
    display: block;
    max-width: 100%;
    margin: 10px auto;
    text-align: center;
}

.MAP {
    padding-left: 30px;
}

    .MAP li {
        list-style: none;
    }

.map1st a {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    min-height: 30px;
    padding: 7px 15px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: 500;
    text-decoration: none;
    background: #3eaa81;
    background: -moz-linear-gradient(top, #3eaa81 0%, #559a80 100%);
    background: -webkit-linear-gradient(top, #3eaa81 0%,#559a80 100%);
    background: linear-gradient(to bottom, #3eaa81 0%,#559a80 100%);
}

    .map1st a:hover {
        background: #32c38c;
    }

.map2nd a {
    display: block;
    font-size: 1em;
    text-decoration: none;
    line-height: 1.5;
    color: #275b40;
    padding: 0px 0px 15px 18px;
}

    .map2nd a:hover {
        color: #f29d18;
    }

.listbackground div {
    border-bottom: 1px solid hsla(147,56%,62%,1.00);
    line-height: 2em;
}

table.dataintable {
    margin-top: 15px;
    border-collapse: collapse;
    border: 1px solid #aaa;
    width: 100%;
}

    table.dataintable th {
        vertical-align: middle;
        padding: 5px 15px 5px 6px;
        background-color: #82c6b7;
        border: 1px solid #3F3F3F;
        text-align: center;
        color: #fff;
    }

    table.dataintable td {
        vertical-align: text-top;
        padding: 6px 15px 6px 6px;
        border: 1px solid #aaa;
    }

    table.dataintable tr:nth-child(odd) {
        background-color: #F5F5F5;
    }

    table.dataintable tr:nth-child(even) {
        background-color: #fff;
    }

.contactUsSpan {
    color: #9ed2c6;
    font-weight: bold;
    /* 修改：20px / 16 = 1.25rem */
    font-size: 1.25rem;
}

.introduction {
    color: gray;
    text-align: justify;
}

.introductionBold {
    font-weight: bold;
    text-align: justify;
}

.introductionSpan, .introductionBold {
    text-align: justify;
}


@media (min-width: 769px) and (max-width: 1024px) {
    #CONTENT {
        display: block;
        width: 98%;
        overflow: hidden;
        background-color: #FFF;
        margin: 0 auto;
        padding: 40px 0px;
    }

    #indexcontent {
        display: flex;
        justify-content: space-between;
        width: 98%;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .indexcolumn {
        width: 48%;
        max-width: 500px;
    }

        .indexcolumn li a {
            display: block;
            width: 100%;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

    #searchbar {
        width: 100%;
        text-align: center;
        margin: 0.8em;
    }


    .toplogo img {
        width: 100%;
    }
}

@media (min-width: 360px) and (max-width: 768px) {
    #topbar {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .LOGO {
        max-width: 100%;
        overflow: hidden;
    }

        .LOGO img {
            max-width: 100%;
        }

    #BANNER {
        width: 100%;
        height: 0;
        padding-bottom: 35.99%;
        background-size: cover;
    }

    #CONTENT {
        display: block;
        width: 98%;
        overflow: hidden;
        background-color: #FFF;
        margin: 0 auto;
        padding: 25px 0px 5px 0px;
    }

    #indexcontent {
        display: flex;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .indexcolumn {
        width: 100%;
        max-width: 768px;
        margin-bottom: 25px;
    }

        .indexcolumn li a {
            display: block;
            width: 100%;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

    #searchbar {
        width: 100%;
        text-align: center;
        margin: 0.8em;
    }


    .toplogo img {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .toplogo img {
        width: 188%;
        /* 修改：2rem 已是相對單位，予以保留 */
        height: 2rem;
    }
}
