﻿html {
    font-size: 0.8em;
    text-align: center;
}

header {
    font: bold 1rem/1.5rem Arial, "微軟正黑體修正", "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif, "新細明體";
    white-space: nowrap;
    text-align: center;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
}

.content {
    font: 1rem/1.5rem;
    white-space: nowrap;
    text-align: center;
}

.header-t {
    margin: 2px auto;
    font-size: 1.5rem;
    line-height: 1rem;
}

.header-b {
    background: rgb(189, 183, 6);
    color: #FFF;
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 30px;
    line-height: 30px;
}

.header-b-Nt {
    background: rgb(66, 93, 250);
}

.header-b-All {
    background: #EE7700;
}

.header-b img {
    vertical-align: top;
    height: 30px;
}

.header-b a {
    display: block;
    color: #fff;
    border: 1px;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.header-b .wrap:first-child a, .header-b .wrap:last-child a {
    background: rgb(65, 7, 202);
    text-overflow: ellipsis;
}

.header-b-Nt .wrap:first-child a, .header-b-Nt .wrap:last-child a {
    background: rgb(15, 46, 219);
}

.header-b-All .wrap:first-child a, .header-b-All .wrap:last-child a {
    background: #BB5500;
}

.header-b a:hover, .header-b .wrap:first-child a:hover, .header-b .wrap:last-child a:hover {
    color: yellow;
    border-radius: 3%;
    background: rgb(175, 147, 241);
    text-decoration: none;
}

.header-b-Nt a:hover, .header-b-Nt .wrap:first-child a:hover, .header-b-Nt .wrap:last-child a:hover {
    background: #FFAA33;
}

.header-b-All a:hover, .header-b-All .wrap:first-child a:hover, .header-b-All .wrap:last-child a:hover {
    background: #FFAA33;
}

/* DecriptArea 內容格式 ST */

.DecriptArea {
    line-height: 1rem;
}

    .DecriptArea a:hover {
        text-decoration: none;
        color: #024fa1;
    }

    .DecriptArea .Decp {
    }

        .DecriptArea .Decp .Decription {
            display: flex;
            justify-content: left;
            max-width: 620px;
            margin: 0 auto;            
        }
        .DecriptArea .Decp .Decription2 {
            display: flex;
            justify-content: right;
            max-width: 620px;
            margin: 0 auto;            
        }

.color-black {
    color: black !important;
    padding: 1px;
}

.color-red {
    color: red !important;
    padding: 1px;
}

.color-green {
    color: green !important;
    padding: 1px;
}

.color-blue {
    color: blue !important;
    padding: 1px;
}

.color-orange {
    color: rgb(255, 100, 0) !important;
    padding: 1px;
}

.color-purple {
    color: purple !important;
    padding: 1px;
}

.color-darkgray {
    color: DarkGray !important;
    padding: 1px;
}

.color-royalblue {
    color: RoyalBlue !important;
    padding: 1px;
}

.color-gray {
    color: gray !important;
    padding: 1px;
}

/* DecriptArea 內容格式 ED */

/* MainTable ST */
.MainTable {
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    white-space: normal;
    vertical-align: middle;
    font-size: 1em;
    line-height: 1.1rem;
    padding: 0;
}

    .MainTable th {
        background-color: #4169E1;
        color: #EEE;
        padding: 0;
        text-align: center;
    }

.MainTable-Nt th {
    background-color: rgb(36, 68, 248);
}

.MainTable-All th {
    background-color: #BB5500;
}

.MainTable .thContentWith {
    background-color: #4169E1;
    font-weight: bold;
    color: #EEE;
    vertical-align: middle;
}

.MainTable-Nt .thContentWith {
    background-color: rgb(36, 68, 248);
}

.MainTable-All .thContentWith {
    background-color: #BB5500;
}

.MainTable .tdContentWith {
    overflow: hidden;
}

.MainTable .evenDate {
    background: #F0F8FF;
}

.MainTable .oddDate {
    background: #FEE3A1;
    text-align: center;
}

.MainTable-Nt .evenDate {
    background: #DCCDE1;
}

.MainTable-Nt .oddDate {
    background: #FFDCB4;
}

/* MainTable ED */

a[name="oplink"] {
    align-items: stretch;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

    a[name="oplink"]:hover {
        background-color: #fff;
    }

.tdbox {
    display: flex;
}

.MsgTable {
    border: 1px solid #000;
    border-collapse: collapse;
    background-color: #FFF;
    font-size: 1rem;
    max-height: 100%;
    overflow-y: auto;
    display: block; /* 確保能夠滾動 */
}

    .MsgTable th, .MsgTable td {
        border: 1px solid #000;
        padding: 0px;
        height: 100%;
    }

.HallName {
    font-size: 0.9em;
}

.DateSparate {
    background: rgb(253, 239, 177);
    font: bold 1.5rem/2rem Arial, "微軟正黑體修正", "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif, "新細明體";
    color: #444;
}

.SelectDate {
    font: 1.5rem/2rem Arial, "微軟正黑體修正", "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif, "新細明體";
}

@media screen and (min-width:400px) {
    html {
        font-size: 0.8em;
    }

    .header-b {
        height: 40px;
        line-height: 40px;
    }

        .header-b img {
            height: 40px;
        }

    .DecriptArea .Decp .Decription .exStyleWidth {
        width: 52px;
        height: 52px;
    }
}

@media screen and (min-width:480px) {
    html {
        font-size: 1.2em;
    }

    .header-b {
        height: 50px;
        line-height: 50px;
    }

        .header-b img {
            height: 50px;
        }

    .DecriptArea .Decp .Decription .exStyleWidth {
        margin: 5px;
        width: 72px;
        height: 72px;
    }
}
