﻿body {
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif;
    font-size : 16px;
}

div, section, table {
    box-sizing: border-box;
    width: 100%;
}

nav.main-nav
{

}

.favicon {
    width: 1.4rem;
    height: 1.4rem;
    vertical-align: middle;
}

.nameOfSchool {
    vertical-align: middle;
}

section#fspsMpMainContent {
    box-sizing: border-box;
    padding: 0 0 3rem 0;
}

    section#fspsMpMainContent > :not(.noLeftReightPadding) {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    footer#fspsFooter {
        position: fixed;
        bottom: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        display: flex;
        z-index: 100000;
        padding: 0;
        color: #fff;
    }

    footer#fspsFooter > * {
        flex-grow: 1;
        flex-basis: auto;
        padding: 0;
        font-size: 0.8rem;
        color : #fff;
        border : solid 1px #fff;
        text-align : center;
        background-color : transparent;
        line-height : 2rem;
    }

header.gPageHeader {
    padding-top: 0.5rem;
    padding-bottom : 0.5rem;
}


    /* 學校名稱 ==============================================================*/
    .school-name {
        float: left;
        margin: 0;
    }

        .school-name a {
            display: block;
            padding: 10px 10px 10px 20px;
            color: #fff;
            font-size: 1.4rem;
            font-weight: 700;
            line-height: 1.8rem;
            text-decoration: none;
        }

    /* 通用樣式 ==============================================================*/
    h1.gPageHeading {
        font-size: 1.6rem;
        font-weight: 900;
    }

        h1.gPageHeading > a {
            text-decoration: none;
            color: #000000;
        }

    .gPageSubHeading {
        font-size: 1.4rem;
        font-weight: 800;
        margin: 0.7rem 0;
    }

    /* 單一內容部分 */
    .gOnePart {
        padding : 1rem 0;
    }

        /* 此部分的標題 */
        .gOnePart > h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0.7rem 0;
        }

    /* Click 它有反應 */
    .gClickable {
        cursor: pointer;
    }

    .gInfoTable {
        line-height: 2rem;
    }

        .gInfoTable col.gLabel {
            vertical-align: top;
        }

        .gInfoTable col.gLabel {
            vertical-align: top;
        }

    /* 外圍容器，包含頁標題之外所有內容 */
div.gWraper {
    padding-top: 1rem;
    padding-bottom : 1rem;
}

    /* 控件外圍，包圍代表放在同一行的控件 */
    .gControlGroup {
        max-width: 500px;
        padding: 10px 0 10px 0;
        display: flex;
    }

    /* items container */
    .gItemList {
    }

    /* each item */
    .gItem {
        padding: 5px 0 5px 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        margin: 10px 0 10px 0;
        border-bottom: dashed 1px #b6b5b5;
        line-height: 2rem;
    }

    /*item date*/
    .gDate {
        font-size: 0.8rem;
        flex-grow: 1;
        flex-basis: 20%;
        max-width: 200px;
    }

    /* item caption */
    .gCaption {
        font-size: 1rem;
        display: list-item;
        list-style-type: disc;
        list-style-position: outside;
        flex-grow: 1;
        flex-basis: 80%;
        text-decoration: none;
        color: #000000;
    }

    /* item description */
    .gDescription {
    }

    /* Drop Down Menu */
    .gDropDownMenu {
        flex-grow: 1;
        flex-basis: auto;
        padding: 5px;
        border-radius: 3px;
    }

    /* 分頁按鈕 */
    .gButton {
        flex-grow: 1;
        flex-basis: auto;
        padding: 5px;
        border-radius: 3px;
    }

    .gTotalNumOfResult {
        font-weight: 800;
        display: block;
        margin: 1rem 0;
    }

    .gError {
        color: #ff0000;
        font-weight: 700;
    }

    /* 輸入表格============================================== */

    .gInputAndLabel {
    }

    .required {
        color: #ff0000;
        font-weight: 900;
    }

    .gInputAndLabel > div.label {
        font-size: 0.8rem;
        line-height: 2rem;
    }

    .gInputAndLabel > input, .gInputAndLabel > select, .gInputAndLabel > .radio, .gInputAndLabel > textarea {
        display: block;
        padding: 5px;
        border-radius: 3px;
        border-style: solid;
        border-color: #000;
        border-width: 1px;
    }

    .gInputAndLabel > .radio {
        display: inline;
        background-color: #fff;
        width: auto;
    }

        .gInputAndLabel > .radio > label {
            margin-right: 2rem;
        }

    .gInputAndLabel > input[type=text].veryShortText {
        width: 5rem;
    }

    .gInputAndLabel > input[type=text].shortText {
        width: 10rem;
    }

    .gInputAndLabel > input[type=text].mediumText {
        width: 20rem;
    }

    .gInputAndLabel > input[type=text].longText, .gInputAndLabel > textarea {
        width: 100%;
        height: 3rem;
    }

    .gInputAndLabel .vad {
        font-size: 0.8rem;
        display: block;
        line-height: 2rem;
        color: #ff0000;
    }
