﻿
body {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

    body header {
        text-align: center;
        width: calc(100% - 16px);
        padding: 3px 3px 10px;
        margin: 5px auto 0;
        border-bottom: 2px solid #ccc;
        font-weight: 500;
        font-size: 16pt;
    }

        body header .redText {
            color: red;
            font-weight: 500;
            font-size: 16pt;
        }

    body .pageMenu {
        width: calc(100% - 16px);
        padding: 0px 0px 10px;
        margin: 0 auto;
    }

        body .pageMenu .masterController {
            display: none;
        }

        /*隱藏CHECKBOX功能*/
        body .pageMenu #masterController_control {
            display: none;
        }
        /*功能選單CSS*/
        body .pageMenu .masterController_control {
            display: block;
            width: 100%;
            background-color: rgba(240,207,213,0.6);
            border: none;
            color: #777;
            text-decoration: none;
            text-align: center;
            padding: 5px 0px;
        }

            body .pageMenu .masterController_control::after {
                content: '▼';
            }

        body .pageMenu #masterController_control:checked ~ .masterController {
            display: flex;
            flex-direction: column;
            background-color: rgba(240,207,213,0.3);
            width: 100%;
            margin: auto;
        }

        body .pageMenu #masterController_control:checked ~ .masterController_control::after {
            content: '▲';
        }

        body .pageMenu .masterControllerWrap a {
            display: block;
            width: 100%;
            border: none;
            text-decoration: none;
            text-align: center;
            padding: 3px 0px;
            margin: auto;
            border-bottom: 2px solid #BBB;
            color: #333333;
        }

        body .pageMenu .masterController .menuEnd {
            border: 0px;
        }


    body .center {
        width: calc(100% - 16px);
        padding: 3px;
        margin: 5px auto 0;
        min-height: 550px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body footer {
        text-align: center;
        width: calc(100% - 16px);
        padding: 10px 3px 0;
        margin: 5px auto 5px;
        border-top: 2px solid #ccc;
    }

        body footer .copyright {
            font-size: 12pt;
            font-weight: 200;
            color: #333;
        }

@media screen AND (min-width : 1200px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        body .container {
            width: 1200px;
        }

        body header {
            font-size: 19pt;
        }

            body header .redText {
                font-size: 19pt;
            }


        body .pageMenu {
            box-sizing: border-box;
            margin: auto;
        }

            body .pageMenu .masterController {
                display: flex;
                flex-direction: column;
                background-color: rgba(240,207,213,0.6);
                margin: auto;
                padding: 0 3px;
                height: auto;
            }

            body .pageMenu .masterControllerWrap {
                display: flex;
                flex-wrap: wrap;
                margin: auto;
            }

                body .pageMenu .masterControllerWrap a {
                    display: block;
                    width: auto;
                    min-width: 110px;
                    height: 25px;
                    border: 1px solid #C0C0C0;
                    line-height: 25px;
                    margin: 3px 3px;
                    font-weight: 400;
                    font-size: 15px;
                    padding: 5px;
                    border-radius: 15px;
                }

                body .pageMenu .masterControllerWrap .menuEnd {
                    border: 1px solid rgba(255,192,203,1);
                }

                body .pageMenu .masterControllerWrap a:hover {
                    background-color: rgba(255,192,203,1);
                    color: #333333;
                }


            /*功能選單隱藏*/
            body .pageMenu .masterController_control {
                display: none;
            }
}
