/*
 * --------------------------------------------------
 * 1. General Elements
 *--------------------------------------------------
 */

html {
    font-size: 100%;
}

body {
    /*font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif;*/
    font-family: "微軟正黑體", "MS UI Gothic", Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
}


#header {
    /* 1. Header wrapper */
    height: auto;
    width: 100%;
    background-color: #E60012;
}
.bg-dark {
    background-color: #E60012 !important;
}

#highlighted {
  /* 2. Highlighted (below header) wrapper */
  background-color:#ffffff;
  border:0;
}

#content {
  /* 3. Content wrapper */
}

#content-below {
  /* 4. Content Below wrapper */
}

#footer {
  /* 5. Footer wrapper */
}

.flex {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.red {
    color: #e4221c;
}

/*表單 */
.f-select {
    width: 100%;
    position: relative;
    display: inline-block;
}

    .f-select::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 5px 0 5px;
        border-color: #000 transparent transparent transparent;
        right: 11px;
        top: 15px;
        z-index: 2;
        pointer-events: none;
    }

.f-radio {
    width: 15px;
    height: 15px;
    margin: 0 10px 0 0;
    vertical-align: center;
    background-color: #fff;
    border: 1px solid #a1a1a1;
}

.radio-box {
    padding-right: 10px;
    display: inline-block;
}

.f00 {
    width: 100%;
    padding: 5px 5px;
    border: 1px solid #a1a1a1;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-size: 0.889em;
    line-height: 1.111em;
}

.f01 {
    height: 11.111em;
}

.f02 {
    width: calc(33.333% - 10px);
}

.f03 {
    width: 90px;
    margin-bottom: 5px;
}

.f04 {
    width: 33%;
}

@media only screen and (max-width: 768px) {
    .f-select::after {
        top: 12px;
    }

    .f02 {
        width: 40%;
    }
}

@media only screen and (max-width: 480px) {
    .f02 {
        width: 100%;
        margin-bottom: 5px;
    }

    .f04 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 380px) {
    .radio-box {
        padding-right: 0;
        display: block;
    }
}

.btn-box {
    padding: 20px 15px;
    text-align: center;
}

.btn {
    width: 110px;
    height: 35px;
    margin: 0 5px 5px 5px;
    display: inline-block;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    text-align: center;
    color: #fff;
    font-size: 0.889em;
}

.btn01 {
    background-color: #7c7c7c;
}

.btn02 {
    background-color: #f70a0a;
}

.select-style {
    /*font-size: 15px;*/
    /*height: 25px;*/
    /*line-height: 23px;*/
    border: 1px solid #F0B243;
    border-radius: 3px;
    overflow: hidden;
    background: #fafafa;
}

    .select-style select {
        /*font-size: 15px;
        height: 25px;
        line-height: 23px;*/
        padding: 5px 8px;
        border: none;
        box-shadow: none;
        background: transparent;
        background-image: none;
        -webkit-appearance: none;
    }

        .select-style select:focus {
            outline: none;
        }


/*
 * --------------------------------------------------
 * 2. Colours
 *-------------------------------------------------- 
 */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.TextUnderline {
    height: 1rem;
    border: 0;
    width: calc(100% - 2px);
    margin-left: 1px;
    box-shadow: -8px 10px 0px -7px #515151, 8px 10px 0px -7px #515151;
    -webkit-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
    color: #F84B4A;
    text-align: center;
}

    .TextUnderline:focus {
        outline: none;
        box-shadow: -8px 10px 0px -7px #4EA6EA, 8px 10px 0px -7px #4EA6EA;
    }

.boxinline {
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    vertical-align: middle;
}




/*
 * --------------------------------------------------
 * 3. Responsiveness/media queries
 *--------------------------------------------------
 */

/* Extra small devices (phones, less than 768px) */

/* No media query since this is the default in Bootstrap */

@media (min-width: 576px) {
  /* Small devices (576px and up). Mixin: media-breakpoint-up(sm) */
}

@media (min-width: 768px) {
  /* Medium devices (768px and up). Mixin: media-breakpoint-up(md) */
}

@media (min-width: 992px) {
  /* Large devices (992px and up). Mixin: media-breakpoint-up(lg) */


}

@media (min-width: 1200px) {
  /* X-Large devices (1200px and up). Mixin: media-breakpoint-up(xl) */


}

/* max-width */

@media (max-width: 575.98px) {
  /* Small devices (575px and down). Mixin: media-breakpoint-down(xs) */
}

@media (max-width: 767.98px) {
  /* Medium devices (767px and down). Mixin: media-breakpoint-down(sm) */
}

@media (max-width: 991.98px) {
  /* Large devices (992px and down). Mixin: media-breakpoint-down(md) */

}

@media (max-width: 1199.98px) {
  /* X-Large devices (1200px and down). Mixin: media-breakpoint-down(lg) */
}

/* target one breakpoint */

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices (between 576px and 767px). Mixin: media-breakpoint-only(sm) */
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (tablets, between 768px and 991px). Mixin: media-breakpoint-only(md) */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices (desktops, between 992px and 1199px). Mixin: media-breakpoint-only(lg) */
}

@media (min-width: 1200px) {
  /* Extra large devices (large desktops, 1200px and up). Mixin: media-breakpoint-only(xl) */
}

/* span multiple screenwidths */

@media (min-width: 768px) {
  /* From medium to large (between 768px and 1199px). Mixin: media-breakpoint-between(md, xl)  */
}

/*
 * --------------------------------------------------
 * 4. Misc
 * Other stuff
 *--------------------------------------------------
 */



/* ------------------------------------------------------------ */
table.tableline {
    font-size: 15px;
    border-collapse: collapse;
    line-height: 26px;
    background-color: #FFFFFF;
}

    table.tableline th {
        cursor: default;
        vertical-align: middle;
        /*height: 20px;*/
        text-align: right;
        border: 1px solid #CCCCCC;
        text-decoration: none;
        background-color: #1C6EA4;
        color: #FFFFFF;
        padding-right: 5px;
    }

    table.tableline td {
        border: 1px solid #CCCCCC;
        /*white-space: nowrap;*/
        vertical-align: middle;
        padding-top: 2px;
        padding-right: 2px;
        padding-left: 2px;
        padding-bottom: 2px;
    }


    /* ------------------------------------------------------------ */
    /*以下是List樣式*/
    .listgridview {
    font-family: Arial,Verdana, Helvetica, sans-serif;
    border-collapse: collapse;
    margin-bottom: 10px;
    border: 1px solid #000000;
    width: 100%;
        white-space: nowrap;
}

    .listgridview caption {
        text-align: center;
        font: 600 18px/32px "Arial, Verdana, Helvetica, sans-serif,新細明體";
        padding-left: 5px;
        padding-right: 3px;
        border: 1px solid #FFBB66;
        color: #FFFFFF;
        text-decoration: none;
        background-color: #886600;
        text-align: center;
    }
    /* header cell style background-color: #FFBB66;*/
    .listgridview th {
        font: normal 15px/17px Arial, Verdana, Helvetica, sans-serif;
        padding: 5px 2px 5px 2px;
        line-height: 24px;
        text-align: center;
        border: 1px solid #000000;
        background-color: #CC6600;
        color: #FFFFFF;
    }

    /* common cell styles text-align:left;    */
    .listgridview tbody td {
        font: 12px/20px Arial, Verdana, Helvetica, sans-serif;
        line-height: 24px;
        border: 1px solid #000000;
        padding: 2px 2px 2px 5px;
        vertical-align: middle;
    }

table.listgridview tbody tr:nth-child(even) {
    background: #FFEE99;
}

table.listgridview tbody tr:hover, table.listgridview tbody tr:hover {
    background-color: #FFFF66;
    color: black;
}


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 2px 0;
    border-radius: 4px;
}


.pagination li {
    cursor: pointer
}


.pagination .active {
    cursor: none;
}
    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #fff;
            border: 1px solid #ddd;
            margin-left: -1px;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            z-index: 2;
            color: #23527c;
            background-color: #eeeeee;
            border-color: #ddd;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777777;
        background-color: #fff;
        border-color: #ddd;
        cursor: not-allowed;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
    text-align: center;
}

    .pager li {
        display: inline;
    }

        .pager li > a,
        .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:hover,
            .pager li > a:focus {
                text-decoration: none;
                background-color: #eeeeee;
            }

    .pager .next > a,
    .pager .next > span {
        float: right;
    }

    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }

    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #777777;
        background-color: #fff;
        cursor: not-allowed;
    }




/*重製 handsontable*/
.handsontable .htDimmed {
    color: #000;
}

.handsontable td {
    font-size: 15px;
    height: 28px;
    vertical-align: middle;
}
/*.handsontable td.currentRow, .handsontable td.current {
    background: #449d44;
    color: #FFFFFF;

}*/

/* All headers */
.handsontable thead th, .handsontable thead th {
    height: 32px;
}

    .handsontable thead th, .handsontable thead th .relative {
        background-color: #1C6EA4;
        color: #FFFFFF;
        font-size: 16px;
        vertical-align: middle;
    }

        .handsontable tbody th.ht__highlight, .handsontable thead th.ht__highlight {
            background-color: #1C6EA4;
        }
/* 
.ht_master td.currentRow {
    background-color: #edd081 !important;
    color: #FFFFFF;
}
 */
.ht_master tr:nth-of-type(even) > td {
    background-color: #D0E4F5;
}



/*表格 */
.table01 {
    width: 100%;
    padding: 5px 0;
}

    .table01 .t1-th {
        width: 125px;
        padding: 0 10px 0 0;
        text-align: right;
    }

    .table01 .t1-td {
        width: -moz-calc(50% - 125px);
        width: -webkit-calc(50% - 125px);
        width: calc(50% - 125px);
        padding: 0 5px;
    }

    .table01 .t1-td2 {
        width: -moz-calc(100% - 125px);
        width: -webkit-calc(100% - 125px);
        width: calc(100% - 125px);
        padding: 0 5px;
    }

@media only screen and (max-width: 768px) {
    .table01 .t1-th {
        width: 100%;
        padding-bottom: 3px;
        text-align: left;
        font-size: 0.833em;
        color: #333;
        line-height: 1em;
    }

    .table01 .t1-td, .table01 .t1-td2 {
        width: 100%;
        padding: 0 0 7px 0;
    }
}

.table02 {
    width: 100%;
    margin-bottom: 45px;
}

    .table02 .t2-tr {
        width: 100%;
    }

        .table02 .t2-tr .t2-th, .table02 .t2-tr .t2-td {
            padding: 10px;
            color: #fff;
            font-size: 1.222em;
            border-top: 1px solid #838383;
            border-bottom: 1px solid #838383;
            border-left: 1px solid #838383;
            display: -webkit-flex;
            display: flex;
            -webkit-flex: 1;
            flex: 1;
            -webkit-align-items: center;
            align-items: center;
            -webkit-justify-content: center;
            justify-content: center;
        }

            .table02 .t2-tr .t2-th:last-child, .table02 .t2-tr .t2-td:last-child {
                border-right: 1px solid #838383;
            }

        .table02 .t2-tr .t2-th {
            background-color: #4e4e4e;
        }

        .table02 .t2-tr .t2-td {
            border-top: none;
            color: #2e2e2e;
            text-align: center;
        }

.table03 {
    width: 100%;
    padding: 20px 0;
}

    .table03 .t3-tr {
        width: 100%;
    }

        .table03 .t3-tr .t3-th {
            text-align: center;
            background-color: #ddd;
            padding: 5px 0px;
        }

        .table03 .t3-tr .t3-td {
            padding: 10px;
        }

        .table03 .t3-tr .t3-th2 {
            width: 20%;
            flex: none;
            align-items: flex-start;
            align-content: flex-start;
            justify-content: left;
        }

        .table03 .t3-tr .t3-th3 {
            width: 10%;
            flex: none;
            align-items: flex-start;
            align-content: flex-start;
            justify-content: left;
        }

        .table03 .t3-tr .t3-th4 {
            width: 30%;
            flex: none;
            align-items: flex-start;
            align-content: flex-start;
            justify-content: left;
        }

.table02 .t3-tr .t2-td .price {
    font-weight: bold;
    color: #e4221c;
}

.table02 .t3-tr:hover .t2-td {
    background-color: #bafdff;
}

@media only screen and (max-width: 1080px) {
}

@media only screen and (max-width: 900px) {
    .table02 .t2-tr .t2-th:nth-child(1), .table02 .t2-tr .t2-th:nth-child(2), .table02 .t2-tr .t2-td:nth-child(1), .table02 .t2-tr .t2-td:nth-child(2) {
        -webkit-flex: 2;
        flex: 2;
    }
}

@media only screen and (max-width: 650px) {
    .table02 .t2-tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #838383;
    }

        .table02 .t2-tr .t2-th, .table02 .t2-tr .t2-td {
            border: none;
        }

            .table02 .t2-tr .t2-th:last-child, .table02 .t2-tr .t2-td:last-child {
                border: none;
            }

        .table02 .t2-tr .t2-td {
            display: block;
            padding: 2px 10px;
            text-align-last: left;
        }

            .table02 .t2-tr .t2-td span:before, .table02 .t2-tr .t2-td a:before {
                content: attr(title) "：";
                font-size: 0.7em;
            }

            .table02 .t2-tr .t2-td:first-child {
                background-color: #4e4e4e;
                color: #fff;
            }

                .table02 .t2-tr .t2-td:first-child span:before {
                    display: none;
                }

                .table02 .t2-tr .t2-td:first-child b {
                    color: #fff !important;
                }

        .table02 .t2-tr:first-child {
            display: none;
        }

            .table02 .t2-tr:first-child .t2-th {
                display: none;
            }
}

/*ticket*/
.ticket-title {
    width: 100%;
    display: none;
    font-size: 16px;
    text-align: left;
}

@media only screen and (max-width: 1080px) {
    .ticket-th {
        display: none;
    }

    .ticket-title {
        display: block;
    }

    .table03 .ticket-list {
        width: 48%;
        margin: 0 0.5%;
        border: 1px solid #838383;
        padding: 10px 0;
    }

        .table03 .ticket-list .t3-td {
            width: 100%;
            padding: 5px 10px;
            border: none;
        }

            .table03 .ticket-list .t3-td:last-child {
                border: none;
            }
}

@media only screen and (max-width: 768px) {
    .table03 .ticket-list {
        width: 100%;
        margin: 0 0 15px 0;
    }
}




/* ---分頁--------------------------------------------------------- */
/*以下是List樣式*/
.listgridview {
    font-family: Arial,Verdana, Helvetica, sans-serif;
    border-collapse: collapse;
    margin-bottom: 10px;
    border: 1px solid #000000;
    width: 100%;
    white-space: nowrap;
}

    .listgridview caption {
        text-align: center;
        font: 600 18px/32px "Arial, Verdana, Helvetica, sans-serif,新細明體";
        padding-left: 5px;
        padding-right: 3px;
        border: 1px solid #FFBB66;
        color: #FFFFFF;
        text-decoration: none;
        background-color: #886600;
        text-align: center;
    }
    /* header cell style background-color: #FFBB66;*/
    .listgridview th {
        font: normal 15px/17px Arial, Verdana, Helvetica, sans-serif;
        padding: 5px 2px 5px 2px;
        line-height: 24px;
        text-align: center;
        border: 1px solid #000000;
        background-color: #CC6600;
        color: #FFFFFF;
    }

    /* common cell styles text-align:left;    */
    .listgridview tbody td {
        font: 12px/20px Arial, Verdana, Helvetica, sans-serif;
        line-height: 24px;
        border: 1px solid #000000;
        padding: 2px 2px 2px 5px;
        vertical-align: middle;
    }

table.listgridview tbody tr:nth-child(even) {
    background: #FFEE99;
}

table.listgridview tbody tr:hover, table.listgridview tbody tr:hover {
    background-color: #FFFF66;
    color: black;
}


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 2px 0;
    border-radius: 4px;
}


    .pagination li {
        cursor: pointer
    }


    .pagination .active {
        cursor: none;
    }

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #fff;
            border: 1px solid #ddd;
            margin-left: -1px;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            z-index: 2;
            color: #23527c;
            background-color: #eeeeee;
            border-color: #ddd;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777777;
        background-color: #fff;
        border-color: #ddd;
        cursor: not-allowed;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
    text-align: center;
}

    .pager li {
        display: inline;
    }

        .pager li > a,
        .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:hover,
            .pager li > a:focus {
                text-decoration: none;
                background-color: #eeeeee;
            }

    .pager .next > a,
    .pager .next > span {
        float: right;
    }

    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }

    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #777777;
        background-color: #fff;
        cursor: not-allowed;
    }


