﻿body {
    font-family: "微軟正黑體";
    margin: 0;
    padding: 0;
}

/*超連結樣式*/
a:link, a:visited {
    color: #9F1C1C;
    text-decoration: none;
    /*font-weight: bold;*/
}

a:hover, a:active {
    color: #9F1C1C;
    text-decoration: underline;
}

a:focus {
    outline: 2px #000000 solid;
}

.Menu a:focus {
    outline: 2px #f7ff8a solid;
}

.flip a:focus {
    outline: 2px #ffffff solid;
  
}
.nav a:focus{
    outline:2px #ffffff solid;
}
.infomation a:focus {
    background: rgba(255, 255, 255, 0.85);
    outline: 2px #ffffff solid;
    color: #000000;
}

.jump-only {
    position: absolute;
    background-color: #003F8E;
    padding: 0.5rem;
    clip: rect(0, 0, 0, 0);
    z-index: 99;
}

.jump-only-focusable:active, .jump-only-focusable:focus {
    left: 0;
    position: absolute;
    color: yellow;
    width: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    margin-bottom: 0.5rem;
    margin-left: 0.1rem;
    z-index: 99;
}

/*橫幅*/
.Banner {
    background: url(../images/Templates/BG_title_02.png) no-repeat center;
    height: 384px;
}

.logo {
    float: left;
    margin-top: 5.3rem;
    margin-left: 10.8rem;
}

    .logo img {
        width: 400px;
    }

/*分頁欄位*/
.Menu {
    width: 100%;
    height: 2.5rem;
    margin-top: 0;
    background-color: #036EB8;
}

    .Menu > ul {
        max-width: 90%;
        max-height: 100%;
        list-style-type: none;
        text-align: center;
        vertical-align: middle;
        margin: auto;
    }

        .Menu > ul > li {
            width: 7rem;
            display: inline-block;
            line-height: 2.5rem;
        }

            .Menu > ul > li > a {
                text-decoration: none;
                font-size: 1.1rem;
                color: #ffffff;
            }

.Menu_down {
    background-color: #DCDCDD;
    line-height: 1.5rem;
}

    .Menu_down > div {
        width: 75rem;
        margin: 0 auto;
    }

.left {
    float: left;
}

.right {
    float: right;
}


/*文章內容*/
article {
    background-image: url(../images/Templates/BG_01.png),url(../images/Templates/BG_02.png);
    background-repeat: no-repeat;
    background-position: bottom left,bottom right;
    background-size: 300px;
    min-height: 600px;
}

section {
    width: 75rem;
    min-height: 600px;
    margin: auto;
    padding: 1rem;
}

/*左側選單*/
.menu_left {
    margin-top: 30px;
    float: left;
}

section > .menu_left > .title_left > ul {
    text-align: center;
    list-style-type: none;
}

    section > .menu_left > .title_left > ul > li {
        width: 220px;
        border-bottom: 1px #000000 dashed;
        color: #00659c;
    }

        section > .menu_left > .title_left > ul > li > a {
            display: block;
            font-size: 1.55rem;
            font-weight: bold;
            line-height: 3rem;
            text-decoration: none;
            padding-top: 0.5rem;
            color: #00659c;
        }

article > section > .menu_left > .title_left > ul > li:first-child {
    background: url(../images/Templates/middle_title_03.png) no-repeat;
    font-size: 1.75rem;
    font-weight: bolder;
    height: 51px;
    border-bottom: none;
}

/*文章內容*/
.middleC {
    width: 76%;
    top: 0;
    margin-left: 1.6rem;
    margin-top: 1rem;
    float: right;
}

.middle_k .searchTxt {
    height: 1.68rem;
    vertical-align: top;
    padding-right: 1rem;
}

.middle_k > a > div {
    display: inline-block;
    background-color: #000000;
    line-height: 1.3rem;
    text-align: center;
    padding-top: 0.18rem;
    margin-left: -1rem;
}
.middle_k > a.search:focus {
    outline: none;
}

.middle_k > a.search:hover {
    text-decoration: none;
}

    .middle_k > a:focus > div {
       outline:2px solid #ffffff;
    }

.middle_k2 > a:focus > div {
    background: #003F8E;
}

.middle_k2 > a:focus > div {
    outline: 2px solid #000000;
}

.middle_title {
    margin-top: 1rem;
    color:#333333
}

    .middle_title > div > .title_line > a {
        padding: 0;
        margin-bottom: 2rem;
    }

    .middle_title h2 {
        font-size: 1.9rem;
        padding-left: 0.2rem;
    }

.border_line {
    border: 0;
    border-top: 3px #d1e1f1 solid;
    border-bottom: 5px #9cc2e2 solid;
    margin-top: 0rem;
}

/*回到頂端*/
.Top {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

a.Top:link, a.Top:visited {
    color: #498104;
}

/*收合按鈕*/
.flip {
    margin: auto;
    text-align: center;
}

    .flip a {
        text-decoration: none;
    }

    .flip span {
        background-color: #0e6eb8;
        width: 20rem;
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: bold;
        padding: 0.5rem 2rem;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }

/*下方資訊欄*/
footer {
    width: 100%;
}

    footer > div {
        background-color: #0060af;
    }

    footer .BG {
        max-width: 100%;
        background: url(../images/Templates/footer01_02.png) no-repeat;
    }

    footer .infomation {
        color: #ffffff;
        width: 800px;
        margin: auto;
        font-size: 1.3rem;
        text-align: center;
    }

    footer .infomation_title {
        display: inline-block;
        padding-top: 2.5rem;
        padding-left: 1rem;
        vertical-align: top;
    }

        footer .infomation_title .T {
            border: 2px #ffffff solid;
            padding: 0.1rem 1.5rem;
        }

        footer .infomation_title div a {
            text-align: center;
            text-decoration: none;
            color: #ffffff;
            display: block;
            font-size: 1.2rem;
            margin: 0.2rem 0;
        }

.nav {
    text-align: center;
    padding-top: 1rem;
}

    .nav ul {
        list-style-type: none;
    }

        .nav ul li {
            display: inline-block;
            color: #FAED00;
            font-weight: bold;
            letter-spacing: 2px;
        }

            .nav ul li a {
                text-decoration: none;
                color: #FAED00;
                font-size: 1rem;
                font-weight: bold;
            }

.address {
    padding: 0.5rem 1.2rem;
    line-height: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

    .address div {
        letter-spacing: 2px;
    }

@media screen and (max-width:1300px) {
    .Banner {
        background: url(../images/Templates/BG_title_01.png) right no-repeat;
    }

    .logo {
        margin-top: 2%;
        margin-left: 2%;
    }

    .Menu {
        height: 20%;
    }

    .Menu_down > div {
        width: 95%;
    }

    section {
        width: 95%;
    }

    .title_left {
        width: 100%;
    }

    .middleC {
        width: 75%;
        margin-left: 1%;
        margin-right: 1%;
    }
}

@media screen and (min-width:851px) {
    .S_menu {
        display: none;
    }

    .R_menu {
        display: none;
    }
}

@media screen and (max-width:1042px) {
    .Banner {
        background: url(../images/Templates/BG_title_800_02.png) right no-repeat;
    }

    .middleC {
        width: 70%;
    }
}

@media screen and (max-width:850px) {
    .Banner {
        background-image: none;
        height: initial;
        background: linear-gradient(#d6ecff,#077bcb);
    }

    .logo {
        float: none;
        margin-top: 0;
        margin-left: 0;
        text-align: center;
    }

        .logo img {
            max-width: 80%;
        }

    .Menu {
        display: none;
    }

    .Menu_down {
        display: none;
    }

    /*選單*/
    .S_menu {
        display: inline-block;
        width: 100%;
        height: 3rem;
        background-color: #036EB8;
        text-align: right;
        padding: 0.2rem 0;
    }

    .Smenu a {
        text-decoration: none;
        margin: 0;
        padding: 0;
    }

        .Smenu a:focus {
            outline: none;
        }

            .Smenu a:focus > div {
                outline: 2px solid #000000;
            }

    .Smenu > a > span {
        color: #ffffff;
        font-weight: bold;
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
        line-height: 0.5rem;
        vertical-align: text-top;
    }

    .Smenu > a > div {
        display: inline-block;
        margin-bottom: 0rem;
        margin-right: 0.5rem;
        margin-top: 0.4rem;
        letter-spacing: 0.1rem;
        width: 2rem;
        line-height: 0.5rem;
    }

        .Smenu > a > div > span.icon-bar {
            display: inline-block;
            width: 1.6rem;
            height: 0.25rem;
            background-color: #ffffff;
        }

    .arrow {
        display: inline-block;
        position: absolute;
        right: 15px;
        margin-top: 0.6rem;
        width: 10px;
        height: 10px;
        border-bottom: 4px solid #000000;
        border-left: 4px solid #000000;
        transform: rotate(-45deg);
    }

    .R_menu {
        max-width: 100%;
        background: #a9d6f5;
        font-weight: bold;
        font-size: 1.3rem;
        padding-top: 0.1rem;
    }

        .R_menu > ul > li > div.middle_k > input.searchTxt {
            height: 1.68rem;
            margin-top: 0.1rem;
            margin-right: 0;
        }

        .R_menu > ul > li > div.middle_k > a > div {
            margin-top: 0.1rem;
            margin-left: -2rem;
            line-height: 1.7rem;
        }

        .R_menu a {
            display: inline-block;
            text-decoration: none;
            color: #000000;
            margin-left: 1rem;
        }

        .R_menu ul {
            list-style-type: none;
            margin-left: 0;
            padding-left: 0;
            line-height: 2.5rem;
        }

        .R_menu > ul > li > ul {
            background: #cbe4fc;
            color: #000000;
            font-size: 1.2rem;
        }

            .R_menu > ul > li > ul > li > a {
                margin-left: 2rem;
            }

    /*選單變化*/
    .listview:hover, .listviewS:hover {
        background: #9dbffc;
    }

    .listview a {
        display: block;
    }

        .listview>a:focus {
            outline: none;
        }

            .listview > a:focus > span {
                outline: 2px solid #000000;
            }

    .listitem a {
        display: block;
    }

    .listitem > li > a:focus {
        outline: none;
    }

        .listitem > li > a:focus > span {
            outline: 2px solid #000000;
        }

    .listitem li:hover {
        background: #b5ccf6;
    }

    .menu_left {
        display: none;
    }

    article {
        background-image: none;
    }

    section {
        width: 100%;
        float: none;
        padding: 0;
        margin: 0;
    }

    .middleC {
        width: 90%;
        float: none;
        margin: 2rem auto;
    }

    section > div.middleC > div.container_top > div.middle_k {
        display: none;
    }

    .flip {
        display: none;
    }

    footer .infomation {
        display: none;
    }

    footer .nav ul {
        display: none;
    }
}
