﻿/* img */
.divIMG {
    display: inline-block;
}

    .divIMG img {
        margin: 0.5rem;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0px 0px 5px #888888;
        border-radius: 0.3rem;
    }

    .divIMG span {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }

h3 {
    letter-spacing: 0.1rem;
    color: #3C3C3C;
    display: block;
    line-height: 2rem;
    margin-bottom: 0.5rem;
}

    h3::before {
        content: '❖';
        margin-right: 0.5rem;
    }

/*h3 > span {
        border-bottom: 0.2rem double #3C3C3C;
        padding: 0.2rem;
    }*/

/* matter div */
.condiv {
    width: 95%;
    margin: 0 auto;
    text-align: left;
    letter-spacing: 0.1rem;
    font-size: 1.05rem;
}
/* matter subtitle */
.spanTitle {
    background-color: #D2E9FF;
    color: #003D79;
    text-align: center;
    border: 0.15rem solid #395f78;
    padding: 0.1rem;
    word-break: keep-all;
    white-space: nowrap;
    font-weight: bold;
}

/* message */
.msg {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #e61957;
    font-weight: bold;
}

.msgExplain {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #c91b26;
    font-weight: bold;
}

.msgRequired {
    text-align: left;
    color: #c91b5b;
    font-weight: bold;
}

/* message：not data*/
.notdata {
    text-align: center;
    margin-top: 8rem;
    color: #595757;
    letter-spacing: 0.2em;
}

/* download error message*/
.DN_Error_msg {
    text-align: center;
    margin-top: 8rem;
    color: #903;
    letter-spacing: 0.2em;
}

/* ValidateCode */
#imgValidateCode {
    border-color: #999999;
    border-width: 1px;
    margin: 5px;
    border-style: solid;
    vertical-align: middle;
}

    #imgValidateCode:focus {
        outline: 2px solid #03375B;
    }

/* ValidateCode ChkcoodTxt */
a.ChkcoodTxt {
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0rem;
    background-color: #999999;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    vertical-align: middle;
}

    a.ChkcoodTxt:hover {
        background-color: #585053;
        color: #FFF;
    }

    a.ChkcoodTxt:focus {
        background-color: #585053;
        color: #FFF;
    }

/* Document Style */
.Document {
    text-align: left;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px;
    word-break: break-all;
}

    .Document > li:first-child {
        margin-top: 0;
    }

    .Document > li {
        margin-top: 0.5rem;
        border-bottom: 1px dashed #aaaaaa;
        padding: 0;
    }

        .Document > li a:link, .Document > li a:visited {
            color: #3C3C3C;
        }

        .Document > li a:hover, .Document > li a:active {
            color: #B22222;
        }

    /* Document Date */
        .Document > li > .DocumentDate {
            display: inline-block;
            width: 6rem;
            font-size: 0.8rem;
            background-color: #db3700;
            color: #ffffff;
            margin-right: 0.2rem;
            padding: 0.1rem 0.1rem;
            vertical-align: top;
            text-align: center;
            font-weight: bolder;
            line-height: 1.8rem;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            border-radius: 10px;
            margin-bottom: 0.2rem;
        }

    /* Document List */
        .Document > li > a>.DocumentList {
            display: inline-block;
            width: 80%;
            vertical-align: top;
            overflow: hidden; /*--設定超出的內容隱藏, IE, FireFox通用--*/
            text-overflow: ellipsis; /*--(IE專用)在內容超出時,在後方補上逗號--*/
            white-space: nowrap; /*-- 設定內容強制顯示一行,直到內容結束或<br>--*/
            padding: 0.1rem 0;
        }

            .Document > li > a > .DocumentList:hover {
                background-color: #F0F0F0;
            }
/* Document List important */
.impt {
    background-color: #D9006C;
    color: #ffffff;
    padding: 0 0.2rem;
    border-radius: 10px;
    margin-right: 0.2rem;
    display: inline-block;
}

/* page style */
.PageRow {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    text-shadow: none;
}

    .PageRow 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;
    }

        .PageRow a:hover {
            border: 1px solid #2E4986;
            background-color: #dbdbdb;
            color: #000000;
        }

    /* page row first col */
    .PageRow > div:nth-child(1) {
        display: inline-block;
        min-width: 5rem;
    }
    /* page row second col */
    .PageRow > div:nth-child(2) {
        display: inline-block;
        width: 10rem;
        text-align: center;
    }

        .PageRow > div:nth-child(2) .DDList {
            margin-right: 0.2rem;
        }

    /* page row third col */
    .PageRow > div:nth-child(3) {
        display: inline-block;
        min-width: 5rem;
    }

    /* Document Matter Style */
.Document_Title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    color: #2f2f2f;
    word-break: break-all;
    margin: 0 auto;
    padding: 0.5rem;
    background-color: #FFF1DC;
    border: 1.5px #E8D5C4 solid;
    border-radius: 10px;
}

.Document_Content {
    width: 98%;
    margin: 0 auto;
}

.Document_Date {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.9rem;
    color: #565657;
    padding-bottom: 0.2rem;
}

.Document_Append {
    margin: 0 auto;
    letter-spacing: 0.1em;
    width: 98%;
    padding: 0.2rem;
    border-radius: 10px;
}
/* Document Append Title */
    .Document_Append>div> span {
        font-size: 1.1rem;
        font-weight: bolder;
        letter-spacing: 0.1rem;
        border-bottom: double;
        padding: 0.2rem;
        margin-left: 0.5rem;
        display:inline-block;
    }

    .Document_Append li {
        margin-bottom: 0.5rem;
        padding: 0.2rem;
    }

        .Document_Append li img {
            vertical-align: middle;
        }

/* Document Matter ControlMenu */
.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;
        }

/* Directory Photo */
.AlbumTitle {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    color: #2f2f2f;
    word-break: break-all;
    margin: 0 auto;
    padding: 0.5rem;
    background-color: #FFF1DC;
    border: 1.5px #E8D5C4 solid;
    border-radius: 10px;
}

.AlbumCount {
    width: 98%;
    margin: 0.5rem auto;
}

.AlbumDescribe {
    width: 98%;
    margin: 0.5rem auto;
}

/* Table */
.TableStyle {
    border-spacing: 0 0;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    width: 95%;
}

    .TableStyle th {
        background-color: #FFF07C;
        border: 1px solid #8F8073;
        padding: 0.3rem;
        color: #000000;
    }

    .TableStyle td {
        border: 1px solid #8F8073;
        padding: 0.5rem;
    }

        /*   .TableStyle td.keep {
            word-break: keep-all;
            white-space: nowrap;
        }

       .TableStyle td.dinone {
            display: normal;
        }

    .TableStyle .rwdfloor {
        display: none;
    }*/

        .TableStyle td span {
            word-break: keep-all;
            white-space: nowrap;
        }
/* list */
.condiv > .list {
    padding: 0.5em;
    list-style-type: none;
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

    .condiv > .list li {
        position: relative;
        padding: 0.5em 1em 0.5em 2.3em;
        margin-bottom: 5px;
        border-bottom: 1px solid #f29c2b;
    }

        .condiv > .list li:after,
        .condiv > .list li:before {
            content: '';
            position: absolute;
            border-radius: 50%;
        }

        .condiv > .list li:before {
            top: 50%;
            left: 0.2em;
            width: 17px;
            height: 17px;
            background: #f29c2b;
            transform: translateY(-50%);
        }

        .condiv > .list li:after {
            top: 1.1em;
            left: 0.7em;
            width: 14px;
            height: 14px;
            background: rgba(242,156,43,0.5);
        }
        .condiv > .list li a {
            color: #3d3d3d;
        }
        /* 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-size: 1rem;
}

input[type=text] {
    height: 1.5rem;
    font-size: 1rem;
    vertical-align: middle;
}

select, option {
    height: 1.9rem;
    font-size: 1rem;
    vertical-align: middle;
}

@media screen and (max-width:760px) {
    /* matter div */
    .condiv {
        width: 100%;
    }

    /* message：not data*/
    .notdata {
        margin: 5rem auto;
    }

    /* Table RWD */
    .TableRWDStyle thead {
        display: none;
    }

    .TableRWDStyle tbody tr {
        display: block;
        border-top: 1px solid #4a4a4a;
        border-left: 1px solid #4a4a4a;
        border-right: 1px solid #4a4a4a;
        margin-bottom: 1rem;
    }

    .TableRWDStyle tbody td {
        display: block;
        padding: 0.3rem 0.5rem;
        border: none;
        border-bottom: 1px solid #4a4a4a;
        text-align: left;
    }

        .TableRWDStyle tbody td.th {
            background-color: #FFF07C;
            font-weight: bold;
        }

        .TableRWDStyle tbody td:before {
            content: attr(data-title)"：";
            font-weight: bold;
            display: inline-block;
            color: #1f1f1f;
            padding-bottom: 0.1rem;
            padding-top: 0.1rem;
        }

        .TableRWDStyle tbody td.none {
            display: none;
        }

        .TableRWDStyle tbody td > div {
            display: inline-block;
            vertical-align: text-top;
        }
}

@media screen and (max-width:360px) {
    /* matter div */
    .condiv {
        letter-spacing: 0;
    }
}
