﻿/* 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: #c91b26;
    font-weight: bold;
}

.msgRequired {
    text-align: left;
    color: #B00000;
    font-weight: bold;
}

/* matter subtitle */
.spanTitle {
    background-color: #F8E8EE;
    color: #3b3b3b;
    text-align: center;
    border: 0.15rem solid #FDCEDF;
    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-color: #b9dbff;
        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;
    }

        .TableRWDStyle tbody td.th {
            background-color: #b9dbff;
            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;
        }
}


/* 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;
}