﻿html {
    height: 100%;
    min-height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
    margin: 0 0 0 0;
    padding: 0px;
    background-color: #FCFCFC;
}

.datagrid-empty {
    cursor: pointer;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.datagrid-row-over {
    cursor: pointer
}

.l-btn-text {
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.textbox-text {
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.textbox .textbox-prompt {
    color: gray;
    text-align: right;
}

.numberbox .textbox-text {
    text-align: right;
}

/*dialog按鈕間距*/
.dialog-button .l-btn {
    margin-left: 10px;
    margin-right: 10px;
} 

input[type=checkbox]:checked {
    outline: 2px solid red;
}

input[type=radio]:checked {
    outline: 2px solid red;
}

#main-layout {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

#alarm_div {
    display: none;
    position: absolute;
}

#alarm_div .alarm_div_close {
    display: block;
    text-align: right;
    cursor: pointer;
    font-size: 10px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

#alarm_div a img {
    border: none;
}

/*將Menu Tree文字的字型調整為16字型*/
.tree-title {
    font-size: 14px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/*將datagrid cell文字的字型調整為16字型*/
.datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber {
    font-size: 14px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/*easyui datagrid css style*/
.datagrid-row-over {
    cursor: pointer;
}

/*將tab上的文字大小調整為14字型*/
.tabs-title {
    font-size: 14px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/*將父層menu上的文字大小調整為14字型*/
.panel-title {
    font-size: 14px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.menu-text, .menu-text span {
    font-size: 14px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.ui-accordion-header { background-color: blue; }
.ui-accordion-header.ui-state-active { background-color: blue; }
/*easyui datagrid css style*/

.validatebox-readonly{
    background-color: Gainsboro;
}

.prog_header {
    height: 50px;
    display: block;
    overflow: hidden;
    position: relative;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-image: url("/images/prog_header_bk.jpg");
}

.prog_header h1 {
    color: #0a245f;
    font-size: 27px;
    line-height: 20px;
    padding: 0 10px;
    font-weight: normal;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/*定義多語系tag的css屬性*/
.language_item{
    width:40px;
    height:30px;
    cursor:pointer;
}

/*設定貨品訂購頁面的寛度*/
.merchorder-page-width {
    width: 100%;
}

/*設定貨品訂購畫面的每頁title的css屬性*/
.merchorder-page-section-title {
    height: 70px;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

/*設定payment type taghelper的css屬性*/
.payment-type-block {
    display: block;
    margin: 5px 10px 5px 10px;
    border: 1px #ddd solid;
    text-align: center;
    background-color: #fff;
    text-decoration: none;
    height:60px;
}

.padding-top-10 {
    padding: 10px 0px !important;
}

.padding-top-20 {
    padding: 20px 0px !important;
}

/*貨品選購-補貨中區塊樣式*/
.merchorder-replenish-title {
    color: #fff;
    background-color: #004ea2;
    margin: 5px;
    padding: 5px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    text-align: center;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.blue_border_block {
    display: block;
    margin: 5px 10px 5px 10px;
    border: 3px #004ea2 solid;
    text-align: center;
    background-color: #fff;
    text-decoration: none;
    padding: 5px 0 !important;
}

/*設定收件人頭銜按鈕的css屬性*/
.shipto-title-block {
    display: block;
    padding-top: 5px;
    margin: 0px 5px 0px 5px;
    border: 1px #ddd solid;
    text-align: center;
    background-color: #fff;
    text-decoration: none;
    width: 50px;
    height: 30px;
}

.blue-background-force-white-with-shadow {
    color: #fff;
    background-color: #004ea2;
    box-shadow: 0 2px 0 #ff0000;
}

.gray-background-force-white {
    color: #fff;
    background-color: #555;
    box-shadow: 0 2px 0 #222;
}

.blue-background-force-white {
    color: #fff;
    background-color: #004ea2;
}

.red-background-force-white {
    color: #fff;
    background-color: #ff5151;
}

.green-background-force-white {
    color: #fff;
    background-color: #548c00;
}

.font-18 {
    font-size: 1.286em;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.font-14-15 {
    padding-top:10px;
    font-size: 1.071em;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/*設定購物車數量的CLASS*/
.m-badge:not(.l-btn),
.l-btn.m-badge::after {
    display: inline-block;
    min-width: 10px;
    line-height: 1;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    padding: 2px 4px;
    border-style: solid;
    border-width: 0px;
    background-color: #d9534f;
    color: #fff;
    z-index: 99999;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.l-btn.m-badge::after,
.l-btn .m-badge {
    position: absolute;
    top: -10px;
    right: -10px;
}

.tabs-inner .m-badge {
    position: absolute;
    top: 1px;
    right: -10px;
}

.tabs-inner > .tabs-title > .m-badge {
    top: 0;
    right: 0;
}

.tabs-header-bottom .tabs-inner > .tabs-title > .m-badge {
    top: auto;
    bottom: 0;
    right: 0;
}

.panel-footer .l-btn .l-btn-icon-top .m-badge,
.panel-footer .l-btn .l-btn-icon-bottom .m-badge {
    top: 0;
    right: -10px;
}

.l-btn.m-badge::after {
    content: attr(data-badge);
}
/*設定購物車數量的CLASS*/


/*設定Portal欄位寛度  300~768裝置以下套用*/
@media screen and (min-width: 300px) and (max-width: 768px) {
    .portal-login-page-username {
        font-size: 10px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        font-weight: bold;
    }

    .portal-login-page-changepwd {
        font-size: 10px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        cursor: pointer;
        font-weight: bold;
    }

    .portal-login-page-logout {
        font-size: 10px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        cursor: pointer;
        font-weight: bold;
        text-decoration: none;
    }

    .portal-style {
        position: relative;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    .portal-column-left-style {
        width:100%;
    }

    .portal-column1-right-style {
        width: 0%;
    }

    .portal-login-page-north-logo {
        height: 83px;
        /*background-image: url('/images/logo.png');*/
        background-color: #2f3f51;
        background-repeat: repeat-y;
    }

    .btn-regular {
        width: 90px !important;
    }

    .margin-h-10 {
        margin-left: 5px !important;
        margin-right: 5px !important;
        margin-top: 6px;
    }

    .margin-h-5 {
        margin-left: 5px !important;
        margin-right: 5px !important;
        margin-top: 6px;
    }

    .btn-lg {
        font-size: 11px !important;
        font-weight: bold !important;
        line-height: 1.3333333;
        border-radius: 2px;
    }

    .btn-w160 {
        width: 90px !important;
    }

    .btn {
        display: inline-block;
        margin-bottom: 0;
        font-weight: normal;
        text-align: center;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        border: 1px solid transparent;
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 11px;
        line-height: 1.428571429;
        border-radius: 2px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        outline: none !important;
        text-decoration: none;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
    }
}

/*指定解析度0 ~ 500 (橫版) */
@media screen and (max-width: 500px) {
    .portal-login-page-north-logo {
        height: 83px;
        /*background-image: url('/images/logo_phone.png');*/
        background-size: 300px;
        background-color: #2f3f51;
        background-repeat: repeat-y;
    }
}

/*設定Portal欄位寛度  769裝置以上套用*/
@media only screen and (min-width: 769px) {
    .portal-login-page-username {
        font-size: 16px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        font-weight: bold;
    }

    .portal-login-page-changepwd {
        font-size: 16px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        cursor: pointer;
        font-weight: bold;
    }

    .portal-login-page-logout {
        font-size: 16px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
        color: #FFFFFF;
        cursor: pointer;
        font-weight: bold;
        text-decoration: none;
    }

    .portal-style {
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .portal-column-left-style {
        width: 50%;
    }

    .portal-column1-right-style {
        width: 50%;
    }

    .portal-login-page-north-logo {
        height: 83px;
        /*background-image: url('/images/logo.png');*/
        background-color: #2f3f51;
        background-repeat: repeat-y;
    }

    .btn-regular {
        width: 160px !important;
    }

    .margin-h-10 {
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-top: 6px;
    }

    .margin-h-5 {
        margin-left: 5px !important;
        margin-right: 5px !important;
        margin-top: 6px;
    }

    .btn-lg {
        font-size: 20px !important;
        font-weight: bold !important;
        line-height: 1.3333333;
        border-radius: 2px;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
    }

    .btn-w160 {
        width: 160px !important;
    }

    .btn {
        display: inline-block;
        margin-bottom: 0;
        font-weight: normal;
        text-align: center;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        border: 1px solid transparent;
        white-space: nowrap;
        padding: 6px 20px;
        font-size: 14px;
        line-height: 1.428571429;
        border-radius: 2px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        outline: none !important;
        text-decoration: none;
        font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
    }
}

/*設定Portal欄位寛度  769裝置以上套用*/
@media only screen and (min-width: 1300px) {
    .merchorder-page-width {
        width:90%;
    }
}

.photo_thumb {
    height: 120px;
    width: 90px;
    margin: 0px 0px 0 0;
}

.image_thumb_270x270 {
    height: 260px;
    width: 260px;
    margin: 0px 0px 0 0;
}

.image_thumb_170x170 {
    height: 170px;
    width: 170px;
    margin: 0px 0px 0 0;
}

.image_thumb_85x85 {
    height: 85px;
    width: 85px;
    margin: 0px 0px 0 0;
}

.signature_thumb {
    height: 60px;
    width: 178px;
    margin: 0px 0px 0 0;
}

.photo_120x120 {
    height: 120px;
    width: 120px;
    margin: 0px 0px 0 0;
}

.photo_80x80 {
    height: 80px;
    width: 80px;
    margin: 0px 0px 0 0;
}

l-btn-huge .l-btn-text {
    line-height: 44px;
}

.l-btn-huge .l-btn-icon {
    width: 128px;
    height: 128px;
    line-height: 32px;
    margin-top: -16px;
}

.l-btn-huge .l-btn-icon-left .l-btn-text {
    margin-left: 40px;
}

.l-btn-huge .l-btn-icon-right .l-btn-text {
    margin-right: 40px;
}

.l-btn-huge .l-btn-icon-top .l-btn-text {
    margin-top: 144px;
    line-height: 24px;
    min-width: 128px;
}

.l-btn-huge .l-btn-icon-top .l-btn-icon {
    margin: 0 0 0 -64px;
}

.l-btn-huge .l-btn-icon-bottom .l-btn-text {
    margin-bottom: 36px;
    line-height: 24px;
    min-width: 32px;
}

.l-btn-huge .l-btn-icon-bottom .l-btn-icon {
    margin: 0 0 0 -16px;
}

.l-btn-huge .l-btn-left .l-btn-empty {
    margin: 0 6px;
    width: 32px;
}

/*- Menu Tabs--------------------------- */
#menu_tab {
    font: bold 11px/2em Verdana;
    float: left;
    width: 100%;
    font-size: 93%;
    line-height: normal;
    font-family: '微軟正黑體','Helvetica Neue',Helvetica,Arial,sans-serif;
}

#menu_tab ul {
    margin: 0;
    padding: 10px 10px 0 50px;
    list-style: none;
}

#menu_tab li {
    display: inline;
    float: right;
    margin: 0;
    padding: 0 10px 0 0;
}

#menu_tab a {
    float: left;
    background: url("/images/tableft21.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 5px;
    text-decoration: none;
}

#menu_tab a span {
    float: left;
    display: block;
    background: url("/images/tabright21.gif") no-repeat right top;
    padding: 5px 15px 4px 6px;
    color: #FFF;
    font: bold 14px/2em Verdana;
}

#highlight a {
    float: left;
    background: url("/images/tableft15.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 4px;
    text-decoration: none;
}

#highlight a span {
    float: left;
    display: block;
    background: url("/images/tabright15.gif") no-repeat right top;
    padding: 5px 15px 4px 6px;
    color: #464E42;
}


/* Commented Backslash Hack hides rule from IE5-Mac \*/
#menu_tab a span {
    float: none;
}

/* End IE5-Mac hack */
#menu_tab a:hover span {
    color: #FFF;
}

#menu_tab a:hover {
    background-position: 0% -42px;
}

#menu_tab a:hover span {
    background-position: 100% -42px;
}

.grid_header_arrow {
    background: url('/images/grid_header_arrow.png') no-repeat center center;
}

.icon_printer {
    background: url('/images/print.png') no-repeat center center;
}

.icon_large_preview {
    background: url('/images/large_preview.png') no-repeat center center;
}

.icon_data_info {
    background: url('/images/info.png') no-repeat center center;
}

.icon_barcode_scanner {
    background: url('/images/barcode_scanner.png') no-repeat center center;
}

.icon_scanner {
    background: url('/images/scanner.png') no-repeat center center;
}

.icon_test {
    background: url('/images/test.png') no-repeat center center;
}

.icon_folderfind {
    background: url('/images/folder_find.png') no-repeat center center;
}

.icon_webcam {
    background: url('/images/webcam.png') no-repeat center center;
}

.icon_renew {
    background: url('/images/renew.png') no-repeat center center;
}

.icon_convert {
    background: url('/images/convert.png') no-repeat center center;
}

.icon_reissue {
    background: url('/images/reissue.png') no-repeat center center;
}

.icon_point {
    background: url('/images/point.png') no-repeat center center;
}

.system-userdata {
    background: url('/images/user.png') no-repeat center center;
}

.system-roledata {
    background: url('/images/role.png') no-repeat center center;
}

.system-itemremove {
    background: url('/images/left.png') no-repeat center center;
}

.system-itemadd {
    background: url('/images/right.png') no-repeat center center;
}

.system-cate {
    background: url('/images/cate.png') no-repeat center center;
}

.icon-menuitem {
    background: url('/images/menu_item.png') no-repeat center center;
}

.icon-pdf {
    background: url('/images/pdf.png') no-repeat center center;
}

.icon-word {
    background: url('/images/word.png') no-repeat center center;
}

.icon-excel {
    background: url('/images/excel.png') no-repeat center center;
}

.icon-exportexcel {
    background: url('/images/export_excel.png') no-repeat center center;
}

.icon-powerpoint {
    background: url('/images/powerpoint.png') no-repeat center center;
}

.icon-attach {
    background: url('/images/attachment.png') no-repeat center center;
}

.icon-up {
    background: url('/images/up.png') no-repeat center center;
}

.icon-login {
    background: url('/images/login.png') no-repeat center center;
}

.icon-photo {
    background: url('/images/photo_upload.png') no-repeat center center;
}

.icon-upload {
    background: url('/images/upload.png') no-repeat center center;
}

.icon-nextpage {
    background: url('/images/next.png') no-repeat center center;
}

.icon-prepage {
    background: url('/images/back.png') no-repeat center center;
}

.icon-todolist {
    background: url('/images/todo_list.png') no-repeat center center;
}

.icon-test {
    background: url('/images/test.png') no-repeat center center;
}

.icon-alarm {
    background: url('/images/alarm.png') no-repeat center center;
}

.icon-tools {
    background: url('/images/tools.png') no-repeat center center;
}

.icon-large-add {
    background: url('/images/large_add.png') no-repeat center center;
}

.icon-large-delete {
    background: url('/images/large_delete.png') no-repeat center center;
}

.icon-large-cancel {
    background: url('/images/large_cancel.png') no-repeat center center;
}

.icon-large-save {
    background: url('/images/large_save.png') no-repeat center center;
}

.icon-large-dollar {
    background: url('/images//large_dollar.png') no-repeat center center;
}

.icon-keyboard {
    background: url('/images/keyboard.png') no-repeat center center;
}

.icon-bill {
    background: url('/images/bill.png') no-repeat center center;
}

.icon-bulletinlist {
    background: url('/images/bulletin.png') no-repeat center center;
}

.system_menu_expend {
    background: url('/images/menu_expend.png') no-repeat center center;
}

.system_menu_collapse {
    background: url('/images/menu.png') no-repeat center center;
}

.icon-buy {
    background: url('/images/buy.png') no-repeat center center;
}

.icon-faqtalk {
    background: url('/images/faqtalk.png') no-repeat center center;
}

.icon-switch {
    background: url('/images/brand_switch.png') no-repeat center center;
}

.icon_org {
    background: url('/images/org.png') no-repeat center center;
}

.icon_department {
    background: url('/images/department.png') no-repeat center center;
}

.system-businessmenu {
    background: url('/images/system-businessmenu.png') no-repeat center center;
}

.system-basemenu {
    background: url('/images/system-basemenu.png') no-repeat center center;
}

.system-sysmenu {
    background: url('/images/system-sysmenu.png') no-repeat center center;
}

.icon_sign {
    background: url('/images/sign.png') no-repeat center center;
}

.icon_reviewhistory {
    background: url('/images/signature-history.png') no-repeat center center;
}

.icon-pay {
    background: url('/images/pay.png') no-repeat center center;
}

.icon-config {
    background: url('/images/config.png') no-repeat center center;
}

.icon-download {
    background: url('/images/file_download.png') no-repeat center center;
}

.icon-disapprove {
    background: url('/images/disapprove.png') no-repeat center center;
}

.icon-white-background-more {
    background: url('/images/white_background_more.png') no-repeat center center;
}

.icon-login-more {
    background: url('/images/login_more.png') no-repeat center center;
}

.icon-mobile-logout {
    background: url('/images/logout.png') no-repeat center center;
}

.icon-mobile-chgpwd {
    background: url('/images/change_passowrd.png') no-repeat center center;
}