@charset "utf-8";
/* @import url("reset.css"); */
/* @import url("jop-style.css"); */
@import url("component.datatable.css");
@import url("component.doccontent.css");
@import url("component.dotcategory.css");
@import url("component.form.css");
@import url("component.list.css");
@import url("component.subnav.css");

body {
    font-family: 微軟正黑體;
    color: #2c3d4c;
}

/* layout */
#move-to-top {
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 6px;
    position: fixed;
    right: 12px;
    bottom: 12px;
    border-radius: 50%;
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.25s linear;
    background-color: #e03f00;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)
}

#move-to-top.show {
    opacity: 1;
}

footer {
    margin-bottom: 1rem;
}

/* 覆寫導覽選單RWD */
@media (max-width: 992px) {
    #navmenu .dropdown-menu {
        position: static !important;
        transform: translate3d(0, 0, 0) !important;
        border-radius: 0;
        border: none;
        padding: 0;
    }
}

/* 彈跳視窗 */
.modal-header {
    padding: 0.5rem 0.75rem;
}

.bootstrap-dialog-title {
    font-size: 20px !important;
    font-weight: bold;
}

.modal-header .close {
    color: white;
    padding: 1rem;
}

.modal-content {
    overflow: hidden;
}

.modal-footer {
    padding: 0.25rem;
    border-top: 1px solid #ddd;
    justify-content: center;
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: #2c82c9;
}

.bootstrap-dialog .modal-footer {
    border-top: 1px solid #dee2e6;
    margin: 0 0.5rem 0.5rem;
    padding-top: 0.25rem;
}

.bootstrap4-dialog-button {
    color: #fff;
    background-color: #2c82c9;
    border-color: #2c82c9;
}

.bootstrap4-dialog-button:hover {
    color: #fff;
    background-color: #2c82c9;
    border-color: #2c82c9;
}

.bootstrap-growl {
    border-radius: 50rem;
    background-color: #2c82c9;
    margin-left: -8px !important;
    padding: 4px 12px 4px 8px;
    color: white;
    min-width: 150px;
}

.bootstrap-growl::before {
    content: 'i';
    font-family: serif;
    font-style: italic;
    border-radius: 50%;
    padding: 0 6px;
    margin-right: 4px;
    background-color: white;
    color: #007bff;
}

/* 頁籤 */
.nav-tabs {
    padding-left: 8px;
}

.nav-link {
    background: #f5f5f5;
    border-bottom: none !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    border-top: 3px solid #ddd !important;
    color: #6c757d;
    margin-right: 4px;
    font-weight: bold;
}

.nav-link.active {
    background: none;
    border-top: 3px solid orange !important;
    color: #495057;
}

.tab-pane {
    padding: 8px;
    padding-bottom: 4px;
    background: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* 底部浮動輸入框 */
.floatdiv {
    color: white;
    background-color: #4c4c4c;
    border-radius: 8px;
    position: fixed;
    /* 比bootstrap.modal-backdrop少10 */
    z-index: 1030;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: 8px;
}

.floatdiv .nav-tabs {
    padding-left: 0;
    border-bottom: none;
}

.floatdiv .nav-link {
    color: white;
    background: #5e5e5e;
    border-left: none !important;
    border-right: none !important;
}

.floatdiv .nav-link.active, .floatdiv .tab-pane {
    color: white;
    background: #707070;
}

#choosespan {
    margin: 8px;
    color: #edfc46;
    cursor: pointer;
}

/* 數字單位顏色 */
.new {
    float: inherit;
    padding: 2px;
    border-radius: 3px;
    color: black;
    max-width: 40px;
    font-size: 70%;
    overflow: hidden;
    text-align: center;
    text-shadow: 0px 0px 2px #aaa;
    clear: both;
}

del {
    text-decoration: line-through;
    color: red;
}

/* 螢幕鍵盤 */
.keypad-row {
    display: flex;
}

.keypad-key,
.keypad-special {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    flex-grow: 1;
}

.keypad-key:hover,
.keypad-special {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

/* oaDigital 共用 */
.datebox div a {
    color: orange;
}

.datebox div a.font-blue {
    color: #12b0c9;
}

.datebox div a.font-red {
    color: red;
}

/*修正dsicFileNumberDiv檔號欄位產生器padding-bottom*/
.col-md-10 > div > div[class*="col-md-"] {
    padding-bottom: 0px !important
}

@media (max-width: 768px) {
    .col-md-10 > div > div[class*="col-md-"] {
        padding-bottom: 5px !important
    }
}


/*底色調整*/
body {
    background: linear-gradient(to bottom, #d5eef1 15%, #f0f0f0 60%) !important;
}

/*修正header底色*/
header {
    background-color: white;
}

/*修正nav圖片尺寸*/
nav > a > img {
    padding: 4px !important;
}

nav > a > img:hover {
    background-color: rgba(0, 153, 197, .1);
    border-radius: 5px;
}

/*修正nav中h5、h6標題樣式*/
nav > a > div > h6.font-weight-bold {
    font-size: 13px;
    padding-bottom: 1px;
    font-weight: 500 !important;
}

nav > a > div > h5 {
    padding-bottom: 1px;
}

/*修正nav的邊界寬度*/
.navbar {
    padding: .5rem !important;
}

/*選單調整*/
div#navbarNav {
    background: #0099c5 !important;
    border-top: 3px solid #0082b6;
    border-bottom: 3px solid #6ec2dc;
}

ul#navmenu > li > button > i, ul#navmenu > li > button > span {
    color: white;
    text-shadow: 0 0 3px black;
    font-weight: bold;
}

#navmenu .btn:focus,
#navmenu .btn:hover {
    background: #0082b6 !important;
    box-shadow: none !important;
    border-radius: 0;
}

#navmenu .btn:focus i {
    color: #ffb034;
}

.dropdown-menu {
    top: -3px !important;
    border: 3px solid rgb(0, 130, 182);
    border-radius: 0 5px 5px 5px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 3px;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #a8d8e3 !important;
    text-shadow: 0 0 3px white;
}

.dropdown-menu {
    padding: 0.25rem !important;
}

.dropdown-item {
    padding: .25rem 1rem !important;

}

/*作業區border調整*/
body main.shadow {
    border: 0px !important;
    background: none !important;
    box-shadow: 0 0rem 0rem rgba(0, 0, 0, .15) !important;
    margin-top: 0.5rem !important;
}

ul.subnav {
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 -1px 3px #ddd;
}

div.tab-pane {
    border: 1px solid #ccc;
    border-top: 0px;
    box-shadow: 0 0px 3px #ddd;
}

div.bottom-banner {
    border: 1px solid #ccc;
    border-top: 0px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 1px 2px #ddd;
    background: #efefef;
}

div.bottom-banner + div.tab-pane {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 15px;
}

ul.nav {
    border: 1px solid #ccc;
    border-top: 0px;
    margin-top: 0px !important;
    padding-top: 8px !important;
    background-color: #f7f7f7;
}

/*新增標題banner樣式*/
.text-banner {
    background-color: #666;
    text-align: left;
    color: white;
    text-shadow: 0 0 3px black;
}

div#marqueeText {
    background: linear-gradient(to right, rgba(229, 229, 229, .5), #f5f5f5 30%);
    margin: 0px !important;
    padding: 0.5rem;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

section > div.d-flex.flex-column {
    border: 1px solid #ccc;
    border-top: 0px;
    box-shadow: 0 1px 2px #ddd;
    background: linear-gradient(to right, rgba(229, 229, 229, .5), #f5f5f5 30%) !important;
}

/*新增label標題title樣式(與表格結合)*/
.form-row label.title {
    border-radius: 5px 5px 0 0;
    color: white;
    background-color: #6c757d;
    text-align: left;
    margin-bottom: -5px;
    border: 0px;
}

.title input, .title select {
    margin: 0 0 0 4px;
    padding: 0 4px;
    height: 26px;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
    float: right;
}

/*新增label標題title樣式(僅標題)*/
.form-row label.onlytitle {
    color: white;
    background-color: #6c757d;
    text-align: left;
    border: 0px;
}

/*修正floatdiv的tab樣式*/
.floatdiv .tab-pane {
    box-shadow: 0 0 0;
    border: 0px;
}

.floatdiv .tab-pane .bottom-banner {
    border: 0px;
    background-color: #707070;
    box-shadow: 0 0 0;
}

.floatdiv ul.nav {
    border: 0px;
    background-color: #4c4c4c;
}

/*
* 增加焦點邊框顯示.for無障礙使用
*/
a:focus, .focusable:focus, *[tabIndex]:focus {
    border-radius: 3PX;
    box-shadow: 0 0 0 4px #b0d2f5 inset;
    /*position: relative;*/
    /*z-index: 1300;*/
    outline: none;
}