﻿body {
    font-size: 14px;
    background-color: #F9EEEE;
}

@keyframes background-color {
    from {
        background-color: #F9EEEE;
    }

    to {
        background-color: white;
    }
}

.barcode-background-color {
    background-color: white;
    -webkit-animation-name: background-color;
    -moz-animation-name: background-color;
    -ms-animation-name: background-color;
    -o-animation-name: background-color;
    animation-name: background-color;
    -webkit-animation-duration: 2.5s;
    -moz-animation-duration: 2.5s;
    -ms-animation-duration: 2.5s;
    -o-animation-duration: 2.5s;
    animation-duration: 2.5s;
}

.image {
    margin-top: 20px;
}

.title-image {
    width: 263px;
    height: 72px;
}

.label-margin {
    margin: 10px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.04);
    background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

    .btn-default:hover,
    .btn-default:focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
        background-image: none; /* 讓 hover 只有單色 */
        box-shadow: 0 2px 4px rgba(0,0,0,0.10);
        text-decoration: none;
    }

    .btn-default:active,
    .btn-default.active {
        color: #333;
        background-color: #d4d4d4;
        border-color: #8c8c8c;
        background-image: none;
        box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    }

    .btn-default:disabled,
    .btn-default.disabled {
        color: #aaa;
        background-color: #fff;
        border-color: #ddd;
        box-shadow: none;
        opacity: 0.65;
        cursor: not-allowed;
        background-image: none;
    }

.btn-margin {
    margin: 5px;
    width: 200px;
}

h5 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.1;
}

h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.custom-gridview {
    width: 255px; /* 控制表格寬度 */
    margin: 12px auto 0 auto; /* 上下距離、置中 */
    border-radius: 4px;
    box-shadow: none;
}

    .custom-gridview caption {
        caption-side: top;
        text-align: left;
        padding: 8px 0 4px 2px;
        font-size: 16px;
        color: #777;
        background: none;
    }

    .custom-gridview th {
        font-weight: bold;
        border: 1px solid #bbb;
        text-align: left;
        padding: 6px 8px;
    }

    .custom-gridview td {
        border: 1px solid #bbb;
        padding: 6px 8px;
        vertical-align: middle;
        font-size: 15px;
        color: #333;
    }

        .custom-gridview th:nth-child(2) {
            width: 75px;
            min-width: 75px;
            max-width: 75px;
            text-align: center; /* 金額右對齊 */
        }

th, td {
    padding: 2px;
}

.label-td-right {
    text-align: right;
}

.label-td-left {
    text-align: left;
}

@font-face {
    font-family: "IDAutomationHC39M";
    src: url(../fonts/idautomationhc39m.eot); /*IE9*/
    src: url(../fonts/idautomationhc39m.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
    url(../fonts/idautomationhc39m.woff) format('woff'), /* Modern Browsers */
    url(../fonts/IDAutomationHC39M.ttf) format("truetype"), /* Safari, Android, iOS , new browser*/
    url(../fonts/idautomationhc39m.svg#svgFontName) format('svg'); /* Legacy iOS */
}

.font39 {
    font-family: "IDAutomationHC39M";
}

@media screen and (max-width: 450px) {
    .barcode {
        font-size: 12px;
        margin-left: 5px;
        margin-right: 5px;
    }
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.btn-yellow {
    font-size:14px;
    background-color: #FFDC00;
    color: #111111;
    border-color: #ccc;
    text-shadow: 0 1px 0 #fff;
}

.btn-yellow:hover {
    background-color: #E5C600;
}

.buttonType {
    width: 124px;
    margin-right: 3px;
    margin-left: 3px;
    margin-bottom: 15px;
}

.buttonTypeLargeWidth {
    width: 150px;
    margin-right: 3px;
    margin-left: 3px;
    margin-bottom: 15px;
}
