﻿body {
    margin: 0;
    font-family: 微軟正黑體,新細明體;
    background-color: #f1eee8;
    overflow-y: scroll;
}

header {
    height: 64px;
    background-color: #646464;
}

    header > .HeaderLogo {
        padding-left: 10px;
        padding-right: 10px;
    }

h1 {
    display: inline-block;
}

    h1 > img {
        height: 34px;
        margin-top: 15px;
    }

main {
    width: 100%;
    min-height: 695px;
    padding-top: 4rem;
    padding-bottom: 2rem;
}
    main  section {
        display: inline-block;
        vertical-align: top;
    }
        /* main 選單 */
        main section#S_menu {
            width: 18%;
        }

            /* 選單樣式 */
            main  section#S_menu > ul.SubMenu {
                width: 10rem;
                /* 取消ul預設的內縮及樣式 */
                margin: 0;
                padding: 0;
                list-style: none;
            }

                main  section#S_menu > ul.SubMenu li {
                    font-size: 1.2rem;
                    background-color: #00408F;
                    font-family: 微軟正黑體,標楷體,新細明體;
                    font-weight: bold;
                    margin: 0.5rem;
                    padding: 0.3rem 0.5rem;
                    color: #FFFFFF;
                    border: 1px solid #CECECE;
                    text-align: center;
                }

                    main  section#S_menu > ul.SubMenu li:hover {
                        background-color: #FFFFFF;
                        color: black;
                        cursor: pointer;
                        box-shadow: inset 0px 0px 60px -9px #00408F;
                        -webkit-box-shadow: inset 0px 0px 60px -9px #00408F;
                        -moz-box-shadow: inset 0px 0px 60px -9px #00408F;
                        -o-box-shadow: inset 0px 0px 60px -9px #00408F;
                        transform: scale(1.1);
                        text-shadow: 0px 0px 16px white,0px 0px 24px white,0px 0px 16px white,0px 0px 16px white;
                    }

                    main section#S_menu > ul.SubMenu li a {
                        color: #FFF;
                    }

                        main section#S_menu > ul.SubMenu li a:hover,
                        main section#S_menu > ul.SubMenu li a:focus {
                            color: #bb0474;
                        }

        /* main 內容 */
        main section#S_matter {
            width: 80%;
        }
            /* 功能標題樣式 */
            main  section#S_matter div.divPrgName {
                border-bottom: 3px solid #DBDCDC;
                background-image: url(../images/Templates/divPrgName_bg.png);
                background-repeat: no-repeat;
                font-family: 微軟正黑體,新細明體;
                font-weight: bolder;
                vertical-align: bottom;
                color: #333333;
                font-size: 1.7rem;
                line-height: 2rem;
                padding-left: 1.5rem;
            }
                /* h2 */
                main  section#S_matter div.divPrgName > h2 {
                    font-weight: bolder;
                    color: #333333;
                    font-size: 1.7rem;
                    margin: 0;
                    display: inline-block;
                }

                /* 功能選單樣式 */
                main  section#S_matter div.divPrgName > div > ul {
                    font-size: 0.2rem;
                    line-height: 1.5rem;
                    /* 取消ul預設的內縮及樣式 */
                    margin: 0;
                    padding: 0;
                    list-style: none;
                }

                    main  section#S_matter div.divPrgName > div > ul > li {
                        display: inline-block;
                        border: 2px solid #cfcdcf;
                        border-radius: 1rem;
                        padding: 0.15rem 1.5rem 0.15rem 1.5rem;
                        font-size: 1rem;
                        background-color: #656464;
                        font-family: 微軟正黑體,標楷體,新細明體;
                        font-weight: bold;
                        color: #FFFFFF;
                    }

                        main section#S_matter div.divPrgName > div > ul > li:hover {
                            text-shadow: 2px 2px 3px #333333;
                            border: 2px solid #c7c6c7;
                            background-color: #333333;
                            cursor: pointer;
                            transform: scale(1.1);
                        }

footer {
    height: 64px;
    background-color: #646464;
}

    footer > .address {
        font-size: 1rem;
        font-style: normal;
        color: white;
    }

        footer > .address > div {
            text-align: center;
            padding-top: 20px;
        }

    footer span {
        vertical-align: middle;
        display: inline-block;
        line-height: 1.5rem;
        font-weight: bold;
    }

    @media screen and (max-width:767px){
        footer {
            height: auto;
            padding-bottom: 20px;
        }
    }

