﻿/*@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);*/

*:not(.fa):not(.glyphicon) {
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif !important;
}

*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    height: 100% !important;
}

.radio,
.checkbox-paper {
    position: relative;
    display: inline-block
        /*display: block;
margin-top: 10px;
margin-bottom: 10px;*/
}

input[type="radio"]:before,
input[type="radio"]:after {
    box-sizing: border-box;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input[type="checkbox"].checkbox-paper,
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    outline: none;
}

input[type="checkbox"].checkbox-paper:focus {
    outline: none;
    border: none;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height: normal;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    position: absolute;
    margin-top: 4px \9;
    margin-left: -20px;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="radio"],
.checkbox-inline input[type="radio"],
.radio input[type="checkbox"],
.radio-inline input[type="checkbox"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    margin-left: -25px;
}

input[type="radio"],
.radio input[type="radio"],
.radio-inline input[type="radio"] {
    position: relative;
    margin-top: 6px;
    margin-right: 4px;
    vertical-align: top;
    border: none;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="radio"]:before,
.radio input[type="radio"]:before,
.radio-inline input[type="radio"]:before,
input[type="radio"]:after,
.radio input[type="radio"]:after,
.radio-inline input[type="radio"]:after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: 240ms;
}

input[type="radio"]:before,
.radio input[type="radio"]:before,
.radio-inline input[type="radio"]:before {
    position: absolute;
    left: 0;
    top: -3px;
    background-color: #2196f3;
    -webkit-transform: scale(0);
    transform: scale(0);
}

input[type="radio"]:after,
.radio input[type="radio"]:after,
.radio-inline input[type="radio"]:after {
    position: relative;
    top: -3px;
    border: 2px solid #666666;
}

input[type="radio"]:checked:before,
.radio input[type="radio"]:checked:before,
.radio-inline input[type="radio"]:checked:before {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}

input[type="radio"]:checked:after,
.radio input[type="radio"]:checked:after,
.radio-inline input[type="radio"]:checked:after {
    border-color: #2196f3;
}

input[type="checkbox"].checkbox-paper,
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    position: relative;
    border: none;
    margin-top: 6px;
    margin-bottom: -4px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="checkbox"].checkbox-paper:after,
.checkbox input[type="checkbox"]:after,
.checkbox-inline input[type="checkbox"]:after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin-top: -2px;
    margin-right: 5px;
    border: 2px solid #ffffff;
    border-radius: 2px;
    transition: 240ms;
}

input[type="checkbox"].checkbox-paper:checked:before,
.checkbox input[type="checkbox"]:checked:before,
.checkbox-inline input[type="checkbox"]:checked:before {
    content: "";
    position: absolute;
    top: 0;
    left: 6px;
    display: table;
    width: 6px;
    height: 12px;
    border: 2px solid #fff;
    border-top-width: 0;
    border-left-width: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

input[type="checkbox"].checkbox-paper:checked:after,
.checkbox input[type="checkbox"]:checked:after,
.checkbox-inline input[type="checkbox"]:checked:after {
    background-color: #2196f3;
    border-color: #2196f3;
}

.content-wrapper,
.main-footer,
.main-header .navbar {
    margin-left: 0px !important;
}

@media (max-width: 768px) {
    .control-sidebar {
        padding-top: 50px !important;
    }
}

.goback {
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 15px 20px;
    font-family: fontAwesome;
    font-size: 20px;
    color: #fff;
}

.goback:before {
    content: "\f060";
}

.goback:hover {
    color: #fff;
}

.goback .icon-bar {
    display: none;
}

.modal-dialog {
    position: relative;
    display: table;
    /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

.in_related_item th,
.in_related_item td {
    min-width: 8em;
}

button.btn.dropdown-toggle {
    height: 34px !important;
}

.bg-transparent {
    color: #000;
    background-color: transparent !important;
}

.bg-white {
    color: #000;
    background-color: white !important;
}

.has-error {
    border-color: #dd4b39 !important;
    box-shadow: none !important;
    /*color: #dd4b39 !important;*/
}

.has-success {
    border-color: #00a65a !important;
    box-shadow: none !important;
    color: #00a65a !important;
}

.has-changed {
    /*
	border-color: #f39c12 !important;
	*/
}

.form-group.has-error label {
    color: black;
}

.success td {
    background: #f39c12 !important;
}

.noBorder {
    border: none !important;
}

.noPadding {
    padding-left: 0px !important;
}

a.disabled {
    pointer-events: none;
}


/*搜尋使用的class組*/

.in_searchparam {
    display: none;
}


/*
     edit模式使用的class組
*/

.in_invisibleparam {
    display: none;
}

.in_selected:not(.in_delete) td {
    background: #ff4444;
}

.table-striped tbody tr.in_selected td {
    background-color: #FFDDDD;
}

.in_sysassigned {
    color: blue;
    pointer-events: none;
}

th.in_required {
    color: red;
}

.in_required label {
    color: red;
}

.in_required .in_input {
    color: black;
}

.in_delete td {
    background: #DDDDDD;
}

.innoXs {
    width: 80%;
}

.in_stdlegnth {
    width: 25em;
    height: 2em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .bootstrap-table table td:only-child {
        text-align: left;
    }
}

.in_selected.in_delete td {
    background: #BBBBBB;
}


/*
    主要用來標示需要被上傳的檔案。
*/

.f_queue {}

.in_errmsg {
    visibility: hidden;
}

.has-error .in_errmsg {
    visibility: visible;
    color: red;
}


/*disable a*/

a.disabled {
    pointer-events: none;
}


/*處理 bootstrap table 卡片模式會壞掉的問題*/

.card-view {
    clear: both;
}

.card-view .title {
    display: block;
    width: 30%;
    float: left;
}

.card-view .value {
    display: block;
    width: 70%;
    float: right;
}


/*讓small-box widget 的 icon不會跑出框外*/

.small-box div i {
    margin-top: 13px !important;
}


/*進度BAR的底色*/

.progress {
    background-color: #b5bbc8;
}

.progress-bar-gray {
    background-color: #d2d6de;
}


/*補上bootstrap的badge顏色*/

.badge:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.badge-error {
    background-color: #b94a48;
}

.badge-error:hover {
    background-color: #953b39;
}

.badge-warning {
    background-color: #f89406;
}

.badge-warning:hover {
    background-color: #c67605;
}

.badge-success {
    background-color: #468847;
}

.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-inverse:hover {
    background-color: #1a1a1a;
}

a:hover {
    cursor: pointer;
}

#zoomBtn ul {
    pointer-events: none;
}

@media (max-width: 768px) {
    .inn-item {
        height: 12vmax;
    }
}

@media (min-width: 768px) {
    .inn-item {
        height: 9vh;
    }
}

th.search-field {
    background-color: #d2d6de;
}

.textCircle_red {
    width: 80px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 15px;
    border: 8px solid #666;
    border-color: rgb(245, 105, 84);
    color: rgb(245, 105, 84);
    font-weight: bold;
}

.textCircle {
    width: 80px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    border: 11px solid #666;
    border-color: rgb(245, 105, 84);
    color: rgb(245, 105, 84);
    font-weight: bold;
}

.forceHandCursor {
    cursor: pointer !important;
}

.forceNoHandCursor {
    cursor: default !important;
}


/* 修改系統色 */

.skin-blue .main-header .navbar {
    background-color: #DE661C !important;
}

.box.box-primary,
.box.box-info {
    border-top-color: #E48E19;
}


/* 修正按下Tab時menu bar發生跑版的問題 */

.control-sidebar {
    visibility: hidden;
}

.control-sidebar-open {
    visibility: visible;
}

.control-sidebar-bg,
.control-sidebar {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/* UserDashboard tree-menu */

.treeview a {
    position: relative;
}

.treeview.menu-open .tree-angle {
    transition: all 0.3s;
    transform: rotate(90deg);
}

.tree_main+ul {
    padding-left: 20px;
}

.item_show_0 {
    display: none !important;
}

.item_show_1 {
    /* display: none; */
}

.verify_reject {
    color: red;
    cursor: pointer;
    text-decoration: underline;
}
