﻿/* message：not data*/
.notdata {
    text-align: center;
    margin-top: 8rem;
    color: #595757;
    letter-spacing: 0.2em;
}

.msg {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #e61957;
    font-weight: bold;
}

.msgSuccess {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #0b5f0a;
    font-weight: bold;
}

.msgExplain {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #c91b1b;
    font-weight: bold;
}

.msgRequired {
    text-align: left;
    color: #B00000;
    font-weight: bold;
}

/* matter subtitle */
.spanTitle {
    background-color: #FFE4C4;
    color: #704214;
    text-align: center;
    border: 0.15rem solid #FFB366;
    padding: 0.3rem 0.1rem;
    word-break: keep-all;
    white-space: nowrap;
    font-weight: bold;
}

/* Table */
.TableStyle {
    border-spacing: 0 0;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    width: 95%;
}

    .TableStyle th {
        background: linear-gradient(to top, #dbdbdb, #ebebeb);
        background-color: #dbdbdb;
        border: 1px solid #8F8073;
        padding: 0.3rem;
        color: #000000;
    }

    .TableStyle td {
        border: 1px solid #8F8073;
        padding: 0.5rem;
    }

        .TableStyle td span {
            word-break: keep-all;
            white-space: nowrap;
        }

@media screen and (max-width:841px) {
    /* message：not data*/
    .notdata {
        margin: 5rem auto;
    }

    /* Table RWD */
    .TableRWDStyle thead {
        display: none;
    }

    .TableRWDStyle tbody tr {
        display: block;
        border-top: 1px solid #8F8073;
        border-left: 1px solid #8F8073;
        border-right: 1px solid #8F8073;
        margin-bottom: 1rem;
    }

    .TableRWDStyle tbody td {
        display: block;
        padding: 0.3rem 0.5rem;
        border: none;
        border-bottom: 1px solid #8F8073;
        text-align: left;
        position: relative;
        padding-left: 8rem;
        vertical-align: text-top;
    }

        .TableRWDStyle tbody td.th {
            background: linear-gradient(to top, #dbdbdb, #ebebeb);
            background-color: #dbdbdb;
            font-weight: bold;
        }

        .TableRWDStyle tbody td:before {
            content: attr(data-label)"：";
            font-weight: bold;
            display: inline-block;
            color: #1f1f1f;
            /*padding-bottom: 0.1rem;*/
            /*padding-top: 0.1rem;*/
            position: absolute;
            left: 10px;
            width: 7rem;
            white-space: nowrap;
            text-align: right;
            vertical-align: text-top;
        }

        .TableRWDStyle tbody td.none {
            display: none;
        }

        .TableRWDStyle tbody td > div {
            display: inline-block;
            vertical-align: text-top;
        }
}


/* input */
input[type=button], input[type=submit] {
    -webkit-appearance: none; /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
    -moz-appearance: none; /* FireFox */
    height: 1.9rem;
    vertical-align: middle;
    background: #dbdbdb;
    border: 1px #9D9D9D solid;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.1rem;
}

input[type=text],
input[type=password] {
    height: 1.5rem;
    font-size: 1rem;
    vertical-align: middle;
}

input[type=file] {
    font-size: 1rem;
    height: 1.3rem;
    vertical-align: middle;
}

input[type=checkbox] {
    zoom: 1.5;
    vertical-align: middle;
}

select, option {
    font-size: 1rem;
    height: 1.9rem;
    vertical-align: middle;
}


/*服務公告列表標題和時間、文件下載列表標題和時間*/
.Ptitle {
    text-align: left;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    word-break: break-all;
    letter-spacing: 0.1rem;
    font-size: 1.05rem;
}

    .Ptitle li:first-child {
        margin-top: 0;
    }

    .Ptitle li {
        margin-top: 1rem;
        border-bottom: 1px dashed #979798;
        padding: 0;
    }

        .Ptitle li a:link, .Ptitle li a:visited {
            color: #0c0c0c;
        }

        .Ptitle li a:hover, .Ptitle li a:active {
            color: #331880;
        }

    /*公告日期*/
    .Ptitle .Ptitledate {
        display: inline-block;
        width: 7rem;
        color: #1f70ab;
        margin-right: 0.2rem;
        padding: 0rem 0.1rem;
        text-align: center;
        font-weight: bolder;
        line-height: 2rem;
    }

    /*標題*/
    .Ptitle .Ptitletxt {
        display: inline-block;
        width: 80%;
        vertical-align: bottom;
        overflow: hidden; /*--設定超出的內容隱藏, IE, FireFox通用--*/
        text-overflow: ellipsis; /*--(IE專用)在內容超出時,在後方補上逗號--*/
        white-space: nowrap; /*-- 設定內容強制顯示一行,直到內容結束或<br>--*/
        line-height: 2rem;
        padding-bottom: 0.1rem;
        padding-left: 0.3rem;
    }

        .Ptitle .Ptitletxt:hover {
            background-color: #F0F0F0;
        }

/*置頂重要*/
.impt {
    background-color: #D9006C;
    color: #ffffff;
    padding: 0 0.2rem;
    margin-right: 0.3rem;
    display: inline-block;
    line-height: 1.6rem;
    vertical-align: middle;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/*頁碼*/
.page {
    /*字置中*/
    text-align: center;
    /*外距*/
    margin-top: 15px;
    margin-bottom: 10px;
    text-shadow: none;
}

    .page a {
        /*無底線*/
        text-decoration: none;
        /*區塊*/
        display: inline-block;
        /*邊線*/
        border: 1px solid #2E4986;
        /*內外距*/
        padding: 5px 10px;
        margin: 1px;
        /*背景顏色 白*/
        background-color: #ffffff;
        /*字顏色 黑*/
        color: #000000;
        /*字位置*/
        vertical-align: middle;
        text-align: center;
        letter-spacing: normal;
    }

        .page a:hover {
            /*邊線*/
            border: 1px solid #2E4986;
            /*背景顏色 灰*/
            background-color: #dbdbdb;
            /*字顏色 黑*/
            color: #000000;
        }

    .page .currentpage {
        /*背景顏色 藍*/
        background-color: #2E4986;
        /*字顏色 白*/
        color: #ffffff;
        /*邊線*/
        border: 1px solid #2E4986;
    }

/*第一頁*/
.one {
    display: inline-block;
    min-width: 5rem;
}

/*數字頁碼*/
.pmiddle {
    display: inline-block;
    width: 10rem;
    text-align: center;
}

    .pmiddle .DDList {
        font-size: large;
        height: 31px;
        vertical-align: middle;
        margin-right: 0.2rem;
    }

/*最終頁*/
.end {
    display: inline-block;
    min-width: 5rem;
}

/*服務公告內容標題和時間、文件下載內容標題和時間*/
.tList_Title {
    position: relative;
    padding: 0.7rem 1rem 0.7rem 1rem;
    background: #d0cece;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    color: #373636;
}

    .tList_Title:after {
        position: absolute;
        content: '';
        top: 100%;
        left: 20px;
        border: 13px solid transparent;
        border-top: 13px solid #d0cece;
        width: 0;
        height: 0;
    }

.Content {
    margin: 0.5rem auto;
    padding: 0.5rem;
    border: 1px #bfbbbb solid;
    border-radius: 10px;
}

.tList_Content {
    width: 98%;
    margin: 0.5rem auto;
}

.tList_Date {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.9rem;
    color: #565657;
    padding-bottom: 0.2rem;
}

.Append {
    margin: 0 auto;
    letter-spacing: 0.1em;
    width: 98%;
    padding: 0.2rem;
    border-radius: 10px;
}

    .Append li {
        margin-bottom: 0.5rem;
        padding: 0.2rem;
    }

        .Append li a {
            vertical-align: middle;
        }

        .Append li img {
            vertical-align: middle;
        }

.afile {
    font-size: 1.1rem;
    font-weight: bolder;
    letter-spacing: 0.1rem;
    border-bottom: double;
    padding: 0.2rem;
    margin-left: 0.5rem;
}

.ControlMenu {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
    /*底部控制項*/
    .ControlMenu a {
        display: inline-block;
        /*無底線*/
        text-decoration: none;
        /*邊線*/
        border: 1px solid #dbdbdb;
        /*背景顏色 */
        background-color: #ffffff;
        /*內距*/
        padding: 10px;
        /*字距*/
        letter-spacing: 0.2em;
        /*字顏色*/
        color: #000000;
        margin: 0.3rem;
    }

        .ControlMenu a:hover {
            background-color: #dbdbdb;
            color: #000000;
        }

/*do錯誤*/
.doMsg {
    text-align: center;
    margin-top: 8rem;
    color: #903;
    letter-spacing: 0.2em;
}
