﻿body { /*字體、外邊框、內邊距*/
    font-family: "微軟正黑體";
    margin: 0;
    padding: 0;
}

a:link, a:visited { /*未點開；已點閱*/
    color: #C41B6E;
    text-decoration: none;
    /*font-weight: bold;*/
}

a:hover, a:active { /*移至連結；正在點開*/
    color: #C41B6E;
    text-decoration: underline;
}

a:focus { /*聚焦連結*/
    outline: 2px #C41B6E dashed; /*外圍邊框*/
}

.address { /*地址等資訊*/
    padding: 0.5rem 1rem;
    line-height: 1.5rem;
    color: #FFFFFF;
    font-weight: bold;
}

    .address .ad {
        letter-spacing: 2px;
    }

        .address .ad div {
            display: inline-block;
        }

.Banner { /*橫幅*/
    background: linear-gradient(to right, #FCECF3, #FFFFFF);
}

.bannerpic {
    background: url('../images/Templates/P10.png') right;
    background-repeat: repeat-x;
    height: 269px;
    max-width: 100%;
}

.logo {
    float: left;
    margin-top: 0.15rem;
    margin-left: 24rem;
}

    .logo img {
        width: 290px;
    }

/*文章內容*/
article { /*背景*/
    background-image: url(../images/Templates/P04.png),url(../images/Templates/P07.png);
    background-repeat: no-repeat;
    background-position: bottom left,top right;
    background-size: 240px, 283px;
}

/*收合按鈕*/
.flip {
    margin-top: 2rem;
    text-align: center;
    display: block;
    line-height: 2rem;
}

    .flip a:focus {
        outline: 2px #FFFFFF solid;
    }

    .flip a {
        text-decoration: none;
        text-align: center;
    }

    .flip span { /*樣式*/
        background-color: #C41B6E;
        width: 10rem;
        color: #FFFFFF;
        font-weight: bold;
        padding: 1.3rem 1.3rem 0.6rem;
        border-radius: 100px 100px 0 0;
    }

/*收合按鈕底下的線*/
.information_upline {
    width: 100%;
    background-color: #C41B6E;
    height: 6px;
}

/*底部資訊欄上方的線*/
.bottom_upline {
    width: 100%;
    background: linear-gradient(to right, #0079C0, #2F2967);
    height: 6px;
}

/*頁尾收合目錄*/
footer {
    width: 100%;
}

    footer .BG {
        max-width: 100%;
        max-height: 368px;
        background: url(../images/Templates/P08.png) repeat-x;
    }

    footer .information {
        color: #004588;
        width: 1000px;
        height: 368px;
        margin: auto;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: center;
    }

        footer .information a:focus {
            color: #C41B6E;
        }

    footer .information_block { /*排版位置*/
        display: inline-block;
        padding: 1.5rem 3rem 1rem 0;
        vertical-align: top;
    }

        footer .information_block .T { /*針對目錄標題*/
            border-bottom: 2.5px #3D3938 solid;
            padding: 0.1rem 0.8rem;
        }

        footer .information_block div a { /*div=其餘超連結*/
            text-align: center;
            text-decoration: none;
            color: #3D3938;
            display: block;
            font-size: 1.1rem;
            margin: 0.2rem 0;
        }

            footer .information_block div a:hover { /*div=其餘超連結*/
                color: #C41B6E;
            }

/*跳到主要內容區塊*/
.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;
}

/*子分類選單*/
.menu_title {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

    .menu_title > span > a {
        color: #FFFFFF;
        text-align: center;
    }

.title_up > span {
    display: inline-block;
    padding: 0 2.4rem 0 2.4rem;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 3rem;
    border: 2px #BF3B83 solid;
    border-radius: 0.6rem;
    background-color: #BF3B83;
    color: #FFFFFF;
    margin-top: 5px;
    margin-bottom: 5px;
}

.title_up > ul {
    text-align: center;
    list-style-type: none;
}

    .title_up > ul > li {
        display: inline-block;
        margin: 5px;
    }

.title_up .chmenu {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 3rem;
    border: 2px #BF3B83 solid;
    border-radius: 0.6rem;
    background-color: #BF3B83;
}

    .title_up .chmenu > a, .title_up .chmenu > span {
        padding: 0.6rem 2.4rem 0.7rem 2.4rem;
        text-decoration: none;
        color: #ffffff;
    }

.title_up .omenu {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 3rem;
    border: 2px #BF3B83 solid;
    border-radius: 0.6rem;
    background-color: #FFFFFF;
    color: #BF3B83;
}

    .title_up .omenu:hover {
        text-decoration: none;
        background-color: #FCECF3;
    }

    .title_up .omenu > a {
        padding: 0.6rem 2.4rem 0.7rem 2.4rem;
        text-decoration: none;
        color: #BF3B83;
    }

/*上方功能區域*/
header nav ul {
    text-align: right;
    margin-right: 24.5rem;
}

    header nav ul > li {
        display: inline-block;
        text-align: right;
        margin-top: 1rem;
    }

    header nav ul > li > a:link, header nav ul > li > a:visited {
        color: #3E3A39;
        font-size: 1.1rem;
        font-weight: bold;
        text-decoration: none;
    }

        header nav ul > li a:hover {
            color: #C41B6E;
        }

        header nav ul > li a:focus {
            outline: 2px dashed #C41B6E;
            color: #C41B6E;
            border-radius: 3px;
        }

.Menu { /*上方目錄*/
    width: 100%;
    height: 2.5rem;
    margin-top: 0;
    background-color: #003C8D;
}

    .Menu a:focus { /*聚焦目錄連結*/
        padding: 6px;
        outline: 2px #FFFFFF dashed;
    }

    .Menu a:hover {
        padding: 6px;
        color: #003C8D;
        background-color: #FFFFFF;
    }   

    .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;
            /*以inline方式呈現，但同時擁有block的屬性*/
            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: 2rem;
}

    .Menu_down > div { /*區塊設定*/
        width: 70rem;
        margin: 0 auto;
    }

.left { /*瀏覽人數靠左*/
    float: left;
}

.right { /*國農曆日期靠右*/
    float: right;
}

.bottom { /*頁尾*/
    background: url('../images/Templates/P09.png') bottom;
    background-repeat: repeat-x;
    background-color: #036EB8;
    text-align: center;
    padding-top: 1rem;
}

    .bottom ul {
        list-style-type: none;
        padding: 0 1rem 0;
    }

        .bottom ul li {
            display: inline-block;
            color: #FFF314;
            font-weight: bold;
            letter-spacing: 2px;
        }

            .bottom ul li a {
                text-decoration: none;
                color: #FFF314;
                font-weight: bold;
            }

                .bottom ul li a:hover {
                   text-decoration: underline;
                }

                .bottom ul li a:focus {
                    outline: 2px #FAED00 dashed;
                }

section { /*文章區塊*/
    width: 75rem;
    min-height: 600px;
    margin: auto;
    padding: 1rem;
}

/*回到頂端*/
.Top {
    float: right;
    right: 2rem;
    bottom: 2rem;
    border: 2px #3E3A39 solid;
    border-radius: 1rem;
    padding: 0.4rem 0.5rem 0.4rem 0.5rem;
    color: #3E3A39;
    background: #FFFFFF;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    position: fixed;
    display: none;
    opacity: 0.8;
}

    .Top:link, .Top:visited {

    }

    .Top:hover {
        border: 2px #3E3A39 dashed;
    }

    .Top:focus {
        background: #DCDCDC;
    }


/*文章內容*/
.middleC {
    width: 93%;
    top: 0;
    margin: auto;
}

.middle_title { /*文章標題*/
    margin-top: 1rem;
    color: #333333
}  

    .middle_title > .title_line > a {
        padding: 1px;
    }

.Banner .middle_k {
    margin-top: 1rem;
    margin-right: 24.5rem
}

    .Banner .middle_k .searchTxt { /*調整搜尋框*/
        height: 1.68rem;
        width: 11.25rem;
        vertical-align: top;
        padding-right: 1rem;
    }

    .Banner .middle_k > a > div { /*調整搜尋按鈕*/
        display: inline-block;
        background-color: #3E3A39;
        padding: 0.25rem 0.43rem 0.15rem 0.43rem;
        margin-left: -1rem;
        margin-right: 0.25rem;
        margin-top: -0.05rem;
    }

    .Banner .middle_k > a:focus > div {
        background-color: #C41B6E;
    }

    .Banner .middle_k .searchpro {
        display: inline-block;
        vertical-align: top;
        text-decoration: none;
        line-height: 2rem;
        color: #000000;
        word-break: keep-all;
        white-space: nowrap;
        font-size: 1.25rem;
    }

        .Banner .middle_k .searchpro:hover {
            color: #C41B6E;
        }

    .Banner .middle_k > a.search:focus {
        outline: none; /*去除外圍藍框*/
    }

    .Banner .middle_k > a.search:hover { /*超連結預設底線去除*/
        text-decoration: none;
    }

/*快速連結*/
.quicklink {
    height: auto;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
    text-align: center;
    padding: 1rem 1rem;
    max-width: 100%;
}

.quicklinkDW {
    background: url('../images/Templates/P03.png');
    background-repeat: repeat-x;
    height: 62px;
    max-width: 100%;
}

    .quicklink > a {
        text-decoration: none;
        margin-bottom: 2rem;
    }

    .quicklink > a > img {
        /*padding: 0 1rem;*/
    }

        .quicklink > a:hover > img {
            transform: translateY(-10px);
        }