﻿body {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    background-position: top;
    overflow-y: scroll;
    font-family: "微軟正黑體";
}

ul, h1, h2, h3 { /* 取消ul預設的內縮及樣式 */
    margin: 0;
    padding: 0;
    list-style: none;
}
/*超連結樣式*/
a:link, a:visited {
    color: #B22222;
    text-decoration: none;
    font-weight: bold;
}

a:hover, a:active {
    color: #B22222;
    text-decoration: underline;
}

/* 跳到主要區塊#C */
.jump-only {
    float: left;
    background-color: #2d768d;
    position: absolute;
    padding: 0.5rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    margin-top: 0;
    z-index: 99;
}
/**/
.jump-only-focusable:active,
.jump-only-focusable:focus {
    display: inline-block;
    color: yellow;
    position: static;
    width: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    margin-bottom: 0.5rem;
    margin-left: 0.1rem;
    z-index: 99;
}

a:focus { /*TAB文字*/
    outline: 2px solid #903;
}

.accordion {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-bottom: 0.5rem;
}

.search input[type=text] {
    font-size: 1rem;
    height: 1.8rem;
    vertical-align: top;
    border-radius: 0;
    padding: 0 0;
    line-height: 1rem;
}

.search {
    border: 1px solid #000;
    display: inline-block;
    background-color: #FFF;
    height: 1.8rem;
    margin: 0.5rem 0;
    line-height: 0;
}

    .search > input[type=text].searchTxt {
        border: 0;
        width: 13rem;
    }

    .search > a {
        display: inline-block;
        vertical-align: middle;
        height: 1.8rem;
        width: 2.5rem;
        background: #cae5e8;
        border: 0;
    }

        .search > a > img {
            font-size: 0;
            max-width: 100%;
            margin: 0;
            padding: 0;
            vertical-align: middle;
            border: 0;
        }

address a:focus {
    outline: 2px solid #ffffff;
}

input:focus, .DDList:focus, input[checkbox]:focus, textarea:focus {
    background-color: #fff5bd;
    outline: 2px solid #903;
}

header {
    min-height: 90px;
}

.headers {
    width: 65%;
    padding: 0.5rem;
    min-height: 82px;
    margin: auto;
}

.Logo {
    float: left;
}

    .Logo > h1 > a > img {
        max-width: 100%;
    }

.itemch_memu {
    float: right;
    padding-top:2rem;
}

    .itemch_memu > ul > li {
        display: inline-block;
        vertical-align: middle;
        background: #cae5e8;
        padding: 0.2rem 0.6rem;
        border-radius: 0.6rem;
        margin: 0 0.1rem;
    }

        .itemch_memu > ul > li > a {
            color: #585656;
            font-size: 1.2rem;
            font-weight: bold;
        }

.middleL {
    text-align: center;
}

.chmenu, .omenu {
    display: inline-block;
    margin: 1rem;
}

.middleL > ul > li:first-child {
    display: none;
}

.chmenu > a, .omenu > a {
    padding: 0.4rem 1.2rem;
    border: solid;
    color: #2d768d;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    border-radius: 0.5rem;
}

.chmenu > a {
    background: #2d768d;
    color: #f6f3a8;
    border: #2d768d solid;
}

footer {
    background: #117780;
    text-align: center;
    padding: 0.8rem 0;
}

    footer > ul {
        list-style-type: none;
    }

        footer > ul > li {
            display: inline-block;
            color: #dee177;
            font-weight: bold;
            letter-spacing: 2px;
            margin: 0.2rem 0;
        }

            footer > ul > li a:link, footer > ul > li a:visited {
                text-decoration: none;
                color: #dee177;
                font-weight: bold;
            }

            footer > ul > li a:hover {
                text-decoration: underline;
            }

            footer > ul > li a:focus {
                outline: 2px #dee177 solid;
            }

    footer > address > div {
        line-height: 1.5rem;
        font-style: normal;
        color: #FFF;
        text-align: center;
        font-weight: bold;
    }

        footer > address > div > span {
            display: inline-block;
            margin-right: 1rem;
        }

@media screen and (min-width:875px) {
    .bb {
        display: none;
    }

    .Logo > h1 > a:focus {
        outline: none;
    }

        .Logo > h1 > a:focus > img {
            outline: 2px solid #000;
            vertical-align: middle;
        }

    /*主板背景*/
    .bodybg {
        background-image: url('../images/Templates/background.png');
        text-align: center;
    }

    /* ~~ 上方menu(放左邊)~~ */
    nav, section {
        display: inline-block;
        vertical-align: top;
        margin-left: 0;
        margin-top: 0.9rem;
    }

    .header_menu {
        background-color: #0b7c86;
    }

        .header_menu > ul {
            border-right: #145454 0.3rem solid;
        }

            .header_menu > ul > li {
                border-top: solid 0.1rem #429597;
                padding: 0.7rem 1.5rem;
                text-align: center;
                margin: auto;
            }

                .header_menu > ul > li:first-child {
                    border: none;
                }

                .header_menu > ul > li > a {
                    font-size: 1.2rem;
                    color: #FFF;
                    display:block;
                }

                .header_menu > ul > li:focus-within {
                    background: #145454;
                }

                .header_menu > ul > li > a:focus {
                    color: #ffffa8;
                    outline: 2px solid #ffffa8;
                }

    .Omenu {
        background: #145454;
        color: #ffffa8;
    }
    /* ~~ 手機上方menu~~ */
    .S_header_menu {
        display: none;
    }

    section {
        width: 65rem;
        min-height: 750px;
        background: url('../images/Templates/section_Top.png') no-repeat left top;
        margin-left: -0.3rem;
    }

    .container {
        background: url('../images/Templates/section_01.png') no-repeat, #FFF;
        max-width: 100%;
        margin: 0rem;
        margin-top: 309px;
        padding-bottom: 5rem;
    }

    .container_Top {
        padding-top: 1rem;
    }

    .Top_L {
        /*float: left;*/
        padding-top: 1rem;
        color: #3e3a39;
    }

    .Top_R {
        /*float: right;*/
        vertical-align: bottom;
    }

    /*內文中間*/
    .middleC {
        display: inline-block;
        padding: 1rem 0;
        width: 85%;
        min-height: 500px;
        margin: auto;
        text-align: left;
    }

    .Title_L {
        background: url('../images/Templates/P06.png') no-repeat left;
        background-position-y: -0.2rem;
        margin-top: 1rem;
    }

        .Title_L > h2 {
            font-size: 1.6rem;
            font-weight: bold;
            color: #15737B;
            margin-left: 3.5rem;
            line-height: 1.8rem;
        }
    /*展開／收合底*/
    .flip {
        display: block;
        text-align: center;
        font-size: 1.2rem;
        margin-top: 0.8rem;
    }

        .flip a, .flip a:hover {
            background: #117780;
            padding: 0.5rem;
            color: #FFFFFF;
        }

            .flip a:focus {
                outline: 2px solid #FFFFFF;
                color: #FFFFFF;
            }

    .mark {
        background-color: #DDEFED;
        border-top: .6rem solid #117780;
    }

    div .paneD {
        width: 50%;
        margin: auto;
    }

        div .paneD > div.DD {
            width: 8rem;
            line-height: 1.8rem;
            vertical-align: top;
            display: inline-block;
            margin: 0.5rem;
        }

            div .paneD > div.DD > a:link, div .paneD > div.DD > a:visited {
                color: #635e5d;
                font-weight: bolder;
                font-size: 1.1rem;
                letter-spacing: 0.1rem;
            }

            div .paneD > div.DD > a:focus {
                outline: 2px solid #635e5d;
            }

    div.spanD {
        line-height: 1.8rem;
        color: #456968;
        font-weight: bold;
        font-size: 1.25rem;
        letter-spacing: 0.2rem;
        margin-bottom: 0.2rem;
        border-bottom: #57A0A5 0.15rem solid;
    }
}

@media screen and (min-width:875px) and (max-width:1200px) {
    .headers {
        width: 90%;
    }

    .bodybg {
        text-align: left;
    }

    section {
        width:85%;
    }


    .container {
        width: 100%;
    }

    .itemch_memu {
        margin-top: 0;
    }
}

@media screen and (max-width:874px) {
    .Logo > h1 > a > img {
        width: 100%;
        margin: 0;
    }

    .itemch_memu {
        display:none;
    }

    .header_menu, .flip, .mark {
        display: none;
    }

    .container_Top {
        display: none;
    }

    .Right {
        display: none;
    }

    /* ~~ 手機上方menu~~ */
    .S_header_menu { /* 手機選單 */
        display: block;
        width: 100%;
        text-align: right;
        z-index: 3;
    }

    .S_menu > div > a:focus {
        outline: none;
    }

        .S_menu > div > a:focus > .nav-mobile-button {
            outline: 2px solid #ffffff;
        }

    .R_menu {
        width: 100%;
        font-weight: bold;
        text-align: right;
        background: #429597;
        line-height: 5px;
        padding-bottom: 3px;
        border-top: 0.1rem solid #E2D2C2;
        border-bottom: 0.2rem solid white;
    }

    .nav-mobile-button {
        display: inline-block;
        position: relative;
        background-color: transparent;
        background-image: none;
        border: #002425;
        padding: 5px 10px 5px 5px;
        width: 1.4rem;
    }

        .nav-mobile-button .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            overflow: hidden;
        }

        .nav-mobile-button .icon-bar {
            display: inline-block;
            width: 1.6rem;
            height: 0.3rem;
            margin-right: -2px;
            background: #FFF;
        }

    .accordion {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .link {
        position: relative;
        background: #ddefed;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: left;
        letter-spacing: 0.1rem;
        padding: 0.5rem;
        padding-left: 1rem;
        border-bottom: 1px solid #c9b1d0;
    }

        .link a {
            color: #413c3c;
        }

        .link .search a:focus {
            outline: none;
            background: #03589F;
        }


    .link1 a {
        display: block;
    }

        .link1 a:focus {
            outline: none;
        }

            .link1 a:focus > span {
                outline: 2px solid #000000;
            }

    .link span.arrow {
        position: absolute;
        right: 10px;
        margin-top: 0.1rem;
        width: 10px;
        height: 10px;
        border-top: 3px solid #000000;
        border-left: 3px solid #000000;
        transform: rotate(-137deg);
    }

    .submenu {
        background: #FFF;
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        .submenu > li > a {
            color: #333333;
            display: block;
        }

            .submenu > li > a:focus {
                outline: none;
            }

                .submenu > li > a:focus > span {
                    outline: 2px solid #000000;
                }

        .submenu li {
            border-bottom: 1px solid #cccccc;
            font-size: 1rem;
            font-weight: bold;
            letter-spacing: 2px;
            padding: 0.5rem;
            padding-left: 2.2rem;
            text-align: left;
        }

    .Title_L {
        background: url('../images/Templates/P06.png') no-repeat left;
        background-position-y: -0.2rem;
        margin-top: 1rem;
    }

        .Title_L > h2 {
            font-size: 1.9rem;
            font-weight: bold;
            color: #15737B;
            margin-left: 3.5rem;
            line-height: 2rem;
        }
    .middleL {
        margin-bottom:1rem;
    }

    .middleC {
        width: 100%;
        min-height: 500px;
    }

    .matter_path {
        margin-top: 0.5rem;
        margin-left: 0.5rem;
    }

    footer > ul {
        display: none;
    }

    .bb {
        display: block;
    }
}
