::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0,0,0,.1)
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0,0,0,.2)
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,0,0,.4)
    }

    ::-webkit-scrollbar-thumb:active {
        background: rgba(0,0,0,.9)
    }

table {
    font-family: 'Noto Sans TC','Microsoft JhengHei','Open Sans',sans-serif;
    font-weight: normal;
    color: #808080
}

input, select, textarea {
    border-radius: .25rem !important
}

.text-secondary {
    color: #6c757d !important
}

.text-white {
    color: #fff !important
}

.text-center {
    text-align: center !important
}

.table-vertical-middle {
    vertical-align: middle !important
}

.table-th-text-center th {
    text-align: center !important
}

.bg-dark {
    background-color: #272930 !important
}

.bg-primary {
    background-color: #2494f2 !important
}

.bg-success {
    background-color: #60c060 !important
}

.bg-danger {
    background-color: #df4b33 !important
}

.bg-warning {
    background-color: #f90 !important
}

.mt-0 {
    margin-top: 0 !important
}

.mt-5 {
    margin-top: 5px !important
}

.mb-0 {
    margin-bottom: 0 !important
}

.mb-20 {
    margin-bottom: 20px !important
}

.m-0 {
    margin: 0 !important
}

.m-0-auto {
    margin: 0 auto !important
}

.my-3 {
    margin-top: 1em !important;
    margin-bottom: 1em !important
}

.mr-8 {
    margin-right: 8px !important
}

.mr-9 {
    margin-right: 9px !important
}

.mr-10 {
    margin-right: 10px !important
}

.mb-10 {
    margin-bottom: 10px !important
}

.mb-20 {
    margin-bottom: 20px !important
}

.p-0 {
    padding: 0 !important
}

.pl-0 {
    padding-left: 0 !important
}

.pr-7 {
    padding-right: 7px !important
}

.pr-15 {
    padding-right: 15px !important
}

.pl-20 {
    padding-left: 20px !important
}

.pt-7 {
    padding-top: 7px !important
}

.pt-8 {
    padding-top: 8px !important
}

.border-0 {
    border: 0 !important
}

.border-radius-0 {
    border-radius: 0 !important
}

.border-radius-50p {
    border-radius: 50% !important
}

.small-gutters {
    padding-right: 5px !important;
    padding-left: 5px !important
}

.row-small-gutters {
    margin-right: -5px;
    margin-left: -5px
}

    .row-small-gutters::after {
        display: block;
        content: "";
        clear: both
    }

.w-100p {
    width: 100% !important
}

.w-90p {
    width: 90% !important
}

.w-80p {
    width: 80% !important
}

.w-80p-rwd {
    width: 80% !important;
    min-width: 300px
}

.w-60p {
    width: 60% !important
}

.w-55p {
    width: 55% !important
}

.w-55p-rwd {
    width: 55% !important
}

.w-50p {
    width: 50% !important
}

.w-40p {
    width: 40% !important
}

.w-35p {
    width: 35% !important
}

.w-30p {
    width: 30% !important
}

.w-IR-radio:nth-child(even) {
    width: 189px !important;
    float: left
}

.w-IR-radio:nth-child(odd) {
    width: calc(100% - 189px) !important;
    float: left;
    margin-top: 10px
}

.lg-modal {
    width: 70%
}

#head-nav {
    padding-right: 15px
}

.box-shadow {
    box-shadow: 0 3px 5px rgba(34,62,66,.25) !important;
    border: 1px solid #efefef !important
}

.d-flex {
    display: flex !important
}

.d-flexmedia {
    display: flex !important
}
@media(max-width:820px) {
    .d-flexmedia {
        display: flex !important;
        flex-direction:column
    }
}

    .d-none {
        display: none !important
    }

    .d-inline-block {
        display: inline-block !important
    }

    .flex-wrap {
        flex-wrap: wrap
    }

    .justify-around {
        justify-content: space-around !important
    }

    .justify-between {
        justify-content: space-between
    }

    .radio-area > .radio > label > div {
        float: left;
        margin-right: 6px
    }

    .radio-area > .radio > label > p {
        float: left;
        width: calc(100% - 28px)
    }

    .font-size-55 {
        font-size: 55px !important
    }

    .font-weight-bold {
        font-weight: bold !important
    }

    .block .fact-data h3, .widget-block .fact-data h3 .icheckbox_square-blue {
        margin-bottom: 3px;
        font-weight: 500;
        letter-spacing: 1px
    }

    table thead th {
        font-weight: 500
    }

    .block .header h2, .widget-block .header h2, .block-flat .header h2 {
        font-size: 22px
    }

    .block .fact-data h2, .widget-block .fact-data h2 {
        font-size: 26px
    }

    .block .header {
        color: #fff;
        background-color: #2494f2
    }

        .block .header i {
            color: #fff
        }

    .fact-data .up {
        background: url(../images/stat-up.png) no-repeat scroll left center transparent;
        font-size: 12px;
        padding: 0 0 0 19px;
        margin-right: 5px
    }

    .fact-data .down {
        background: url(../images/stat-down.png) no-repeat scroll left center transparent;
        font-size: 12px;
        padding: 0 0 0 19px;
        margin-right: 5px
    }

    .icheckbox_square-blue {
        padding-top: 0 !important
    }

    .data-area-title {
        margin-bottom: 5px;
        background-color: #efefef;
        border-radius: 3px;
        color: #505050;
        margin-right: 5px;
        width: calc(100% - 5px);
        text-align: center;
        padding: 3px;
        font-weight: bold
    }

    .data-classification-title {
        margin-bottom: 5px;
        background-color: #efefef;
        border-radius: 3px;
        color: #505050;
        margin-left: 5px;
        width: calc(100% - 5px);
        text-align: center;
        padding: 3px;
        font-weight: bold
    }

    .float-r {
        float: right !important
    }

    .to {
        position: relative
    }

        .to:after {
            display: block;
            content: "~";
            position: absolute;
            color: #555;
            top: 0;
            right: -5px;
            width: 12px;
            height: 12px;
            font-size: 20px
        }

    .md-overlay-first {
        position: fixed;
        width: 100%;
        height: 100%;
        visibility: hidden;
        top: 0;
        left: 0;
        z-index: 3000;
        opacity: 0;
        background: rgba(0,0,0,.5);
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s
    }

        .md-overlay-first.md-overlay-first-show {
            opacity: 1;
            visibility: visible
        }

    .md-overlay-second {
        position: fixed;
        width: 100%;
        height: 100%;
        visibility: hidden;
        top: 0;
        left: 0;
        z-index: 3000;
        opacity: 0;
        background: rgba(0,0,0,.5);
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s
    }

        .md-overlay-second.md-overlay-second-show {
            opacity: 1;
            visibility: visible
        }

    .md-overlay-third {
        position: fixed;
        width: 100%;
        height: 100%;
        visibility: hidden;
        top: 0;
        left: 0;
        z-index: 5000;
        opacity: 0;
        background: rgba(0,0,0,.5);
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s
    }

        .md-overlay-third.md-overlay-third-show {
            opacity: 1;
            visibility: visible
        }

    .info-input-area input:disabled, .info-input-area textarea:disabled {
        outline: none;
        background-color: #f6f6f6 !important;
        border: #ffdead;
        box-shadow: none;
        color: #696969;
        cursor: text !important
    }

    .close {
        float: right;
        font-size: 28px;
        font-weight: bold;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: .4
    }

    /* .logo { */
        /* margin-left: 8px; */
        /* margin-top: 4px; */
        /* width: 181px; */
        /* height: 32px */
    /* } */

    .logoSize {
        width: 300px;
        height: 70px;
        margin-top: 0
    }

    .dataTables_wrapper .dataTables_length {
        float: left
    }

    .dataTables_wrapper:before, .dataTables_wrapper:after, .form-group:after {
        content: "";
        display: table
    }

    .dataTables_wrapper:after {
        clear: both
    }

    .dataTables_wrapper {
        *zoom: 1
    }

        .dataTables_wrapper table tr td {
            vertical-align: middle !important
        }

    .md-modal {
        height: 100vh;
        display: flex;
        overflow: auto;
        align-items: center
    }

    .md-content {
        width: 100%;
        height: fit-content
    }

    .form-authority {
        max-height: calc(100vh - 483px);
        overflow: auto
    }

        .form-authority radio-inline + .radio-inline, .form-authority .checkbox-inline + .checkbox-inline {
            margin-left: 0
        }

        .form-authority.form-horizontal.group-border-dashed .form-group {
            padding: 15px 0
        }

        .form-authority .radio-inline, .checkbox-inline {
            padding-left: 19px
        }

        .form-authority .control-label {
            padding-right: 5px
        }

        .form-authority .col-sm-3 {
            padding-left: 0
        }

    .dataTables_wrapper table {
        table-layout: fixed;
        word-break: break-all
    }

    .text-danger span {
        padding-left: 1px;
        list-style: none;
        color: #c00;
        display: inline-block;
        font-size: 13px;
        letter-spacing: .2px
    }

    .pt-7 > .text-danger span {
        margin-top: 5px
    }

    .dataTables_wrapper .dataTables_filter {
        float: right
    }

        .dataTables_wrapper .dataTables_filter input {
            margin-left: 5px
        }

    .dataTables_wrapper .dataTables_info {
        float: left
    }

    .dataTables_wrapper .dataTables_paginate {
        float: right
    }

        .dataTables_wrapper .dataTables_paginate .pagination {
            margin: 0
        }

    #form-primary-signoff .signature-pad-body {
        margin-top: 10px;
        margin-bottom: 20px
    }

        #form-primary-signoff .signature-pad-body canvas {
            width: 100%;
            height: 100%;
            touch-action: none;
            box-shadow: 0 3px 5px rgba(34,62,66,.25);
            border-radius: 4px;
            box-sizing: border-box
        }

    #form-primary-signoff .md-content {
        max-height: 95vh;
        overflow: auto
    }

    .signature-area-status {
        float: right;
        font-size: 22px;
        margin-top: 11px;
        margin-right: 5px;
        color: #2494f2;
        cursor: pointer
    }

    .signature-area {
        overflow: hidden;
        transition: all .3s;
        max-height: 0
    }

        .signature-area.open {
            overflow: hidden;
            transition: all .3s;
            max-height: 300px
        }

    .btn-area {
        float: right
    }

    .cl-sidebar .collapse-button .emergency-stop {
        width: 155px;
        display: inline-block;
        margin: 0;
        margin-top: 6px;
        margin-right: 3px;
        border-radius: 2px;
        height: 33px
    }

    .nav-tabs > li > a {
        font-weight: 400
    }

    .sb-collapsed .cl-sidebar .collapse-button .emergency-stop {
        display: none
    }

    .ms-container {
        width: 100% !important
    }

    .mobile-card-area {
        float: right;
        width: 100%;
        padding: 10px;
        display: none
    }

        .mobile-card-area .mobile-card {
            width: 100%;
            border-radius: 10px;
            background-color: #fffff6;
            padding: 12px 18px 12px 26px;
            color: #646566;
            box-shadow: 0 3px 5px rgba(34,62,66,.25);
            position: relative;
            overflow: hidden;
            margin-bottom: 18px
        }

            .mobile-card-area .mobile-card.mobile-card-red {
                background-color: #fff6f6
            }

            .mobile-card-area .mobile-card::before {
                position: absolute;
                background-color: #2494f2;
                width: 9px;
                height: 240px;
                top: 0;
                left: 0;
                content: '';
                display: block
            }

            .mobile-card-area .mobile-card.mobile-card-red::before {
                background-color: #e48989
            }

            .mobile-card-area .mobile-card .mobile-card-info .mobile-card-option {
                display: flex;
                justify-content: space-around;
                margin-bottom: 5px;
                flex-wrap: wrap
            }

                .mobile-card-area .mobile-card .mobile-card-info .mobile-card-option .card-option {
                    display: flex
                }

            .mobile-card-area .mobile-card .mobile-card-info .info-content {
                border-top: 1px solid #cecece;
                border-bottom: 1px solid #cecece;
                padding: 10px 0 14px 0
            }

            .mobile-card-area .mobile-card .mobile-card-info .info-date {
                color: #949494;
                margin-bottom: 0;
                font-size: 13px
            }

            .mobile-card-area .mobile-card .mobile-card-info .info-num {
                font-weight: bold;
                font-size: 20px;
                color: #1278ce
            }

            .mobile-card-area .mobile-card .mobile-card-info .info-detail {
                display: flex;
                flex-wrap: wrap
            }

                .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item {
                    margin-right: 9px;
                    border-left: 1px solid #cecece;
                    padding: 4px 10px 8px 10px;
                    display: flex;
                    justify-content: center;
                    align-items: center
                }

                    .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item .detail-item-icon i {
                        font-size: 24px;
                        color: #b1b1b1;
                        padding-top: 2px;
                        margin-right: 9px
                    }

                    .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item:first-child {
                        border-left: none
                    }

                    .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item .info-title {
                        color: #949494;
                        margin-bottom: 0;
                        font-size: 12px
                    }

                    .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item .info-value {
                        font-size: 17px;
                        font-weight: bold;
                        color: #1278ce
                    }

            .mobile-card-area .mobile-card.mobile-card-red .mobile-card-info .info-num {
                color: #c35c5c
            }

            .mobile-card-area .mobile-card.mobile-card-red .mobile-card-info .info-detail .info-detail-item .info-value {
                color: #c35c5c
            }

    .feSystem {
        border: 1px solid #cd853f;
        border-radius: 5px
    }

    .content {
        height: 500px
    }

    @media(max-width:767px) {
        .mobile-card-area {
            display: block
        }

            .mobile-card-area .mobile-card .mobile-card-info .mobile-card-option .card-option {
                width: 33%;
                justify-content: center
            }
    }

    @media(max-width:413px) {
        .mobile-card-area .mobile-card .mobile-card-info .mobile-card-option .card-option {
            width: 50%;
            justify-content: center
        }

        .mobile-card-area .mobile-card .mobile-card-info .info-detail .info-detail-item.info-detail-item-phone {
            display: none
        }
    }

    @media(max-width:839px) {
        #form-primary-signoff {
            width: 100%;
            height: 100%
        }

            #form-primary-signoff .md-content {
                border-radius: 0;
                max-height: 127vh;
                height: 127vh
            }

                #form-primary-signoff .md-content .modal-header, #form-primary-signoff label {
                    display: none
                }

            #form-primary-signoff .signature-pad-body {
                margin: 0
            }

            #form-primary-signoff .modal-body {
                padding: 0
            }

            #form-primary-signoff .signature-pad-body canvas {
                height: 125vh;
                box-shadow: none
            }

            #form-primary-signoff .modal-footer {
                position: fixed;
                top: 0;
                right: 0;
                width: 108px
            }
    }

    .tbColor-o table tr:nth-child(n) {
        background: #fffbf3
    }

    .tbColor-o table tr:nth-child(2n) {
        background: #fff3e2
    }

    .tbColor-b table tr:nth-child(n) {
        background: #f5fbff
    }

    .tbColor-b table tr:nth-child(2n) {
        background: #e1f1fd
    }

    .tbColor-g table tr:nth-child(n) {
        background: #f5fff3
    }

    .tbColor-g table tr:nth-child(2n) {
        background: #e7ffe2
    }

    .tbColor-c table tr:nth-child(n) {
        background: #e8fdff
    }

    .tbColor-c table tr:nth-child(2n) {
        background: #c9eff3
    }

    .tbColor-y table tr:nth-child(n) {
        background: #fefff3
    }

    .tbColor-y table tr:nth-child(2n) {
        background: #fbffe2
    }

    @media(max-width:1730px) {
        .w-IR-radio:nth-child(even) {
            width: 100% !important;
            margin-bottom: 0
        }

        .w-IR-radio:nth-child(odd) {
            width: 100% !important;
            margin-top: 0
        }

        .radio {
            margin-bottom: 5px
        }

        .dropdown-menu:after {
            display: none
        }
    }

    @media(max-width:767px) {
        #head-nav {
            padding-right: 0;
            text-align: center
        }

            #head-nav .navbar-nav {
                padding: 0
            }

        .navbar-default .navbar-collapse, .navbar-default .navbar-form {
            border: none
        }

        .to {
            margin-bottom: 30px
        }

            .to:after {
                content: "��";
                top: 34px;
                right: calc(50% - 5px)
            }

        .d-md-none {
            display: none !important
        }
    }

    @media(max-width:992px) {
        .form-authority {
            max-height: 266px
        }

        .w-55p-rwd {
            width: 100% !important
        }

        .table-responsive-lg {
            width: 100%;
            margin-bottom: 15px;
            overflow-x: scroll;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            -ms-overflow-style: -ms-autohiding-scrollbar;
            border: 1px solid #ddd
        }

        .lg-modal {
            width: 90%
        }

        .rwd-direction-reversal {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column-reverse;
            align-items: revert
        }

        .rwd-mb-20 {
            margin-bottom: 20px
        }

        .btn-area {
            float: right
        }
    }

    .rwd-table {
        min-width: 300px
    }

        .rwd-table tbody {
            background-color: #343a40;
            color: #fff
        }

        .rwd-table tr {
            border-top: 1px dashed #ddd;
            border-bottom: 1px dashed #ddd
        }

            .rwd-table tr:first-child {
                border-top: none
            }

        .rwd-table th {
            display: none
        }

        .rwd-table td {
            display: block
        }

            .rwd-table td:first-child {
                padding-top: .5em
            }

            .rwd-table td:last-child {
                padding-bottom: .5em
            }

            .rwd-table td:before {
                content: attr(data-th) " : ";
                font-weight: bold;
                min-width: 100px;
                display: inline-block;
                text-align: right
            }

        .rwd-table th, .rwd-table td {
            text-align: left
        }

        .rwd-table tr {
            border-color: #fff
        }

        .rwd-table th, .rwd-table td {
            margin: .5em 1em
        }

    @media(min-width:768px) {
        .rwd-table td:before {
            display: none
        }

        .rwd-table th, .rwd-table td {
            display: table-cell;
            padding: .25em .5em
        }

            .rwd-table th:first-child, .rwd-table td:first-child {
                padding-left: 0
            }

            .rwd-table th:last-child, .rwd-table td:last-child {
                padding-right: 0
            }

        .rwd-table th, .rwd-table td {
            padding: 1em !important
        }

        .rwd-table tbody {
            background-color: #fff;
            color: #808080
        }
    }

    @media(max-width:767px) {
        .d-md-none {
            display: none !important
        }

        .rwd-table td {
            display: flex
        }

            .rwd-table th, .rwd-table td:before {
                color: #dd5
            }

        .rwd-table.table-bordered td, .rwd-table.table-bordered th {
            border: 1px solid rgba(255,255,255,.2);
            padding-top: 5px;
            padding-bottom: 5px;
            letter-spacing: 1px
        }

            .rwd-table.table-bordered td:first-child, .rwd-table.table-bordered th:first-child {
                margin-top: 15px
            }

            .rwd-table.table-bordered td:last-child, .rwd-table.table-bordered th:last-child {
                margin-bottom: 15px
            }

        .text-left {
            text-align: left !important
        }

        .d-md-flex {
            display: flex !important
        }

        .rwd-table tr:nth-child(2n) {
            background-color: #343a40;
            color: #fff
        }
    }

    @media(max-width:360px) {
        .header .btn {
            padding: 7px 8px
        }
    }

    .back-to-top {
        position: fixed;
        bottom: 0;
        right: 0;
        text-decoration: none;
        color: #fff;
        background-color: rgba(39,41,48,.8);
        font-size: 12px;
        padding: 9px 12px;
        display: none
    }

        .back-to-top i {
            font-size: 15px
        }

        .back-to-top:hover {
            color: #fff;
            background-color: #272930
        }

        .back-to-top:focus {
            color: #fff
        }

    ul.pagination li.paginate_button.active a {
        color: #ff8c00;
        font-weight: bold
    }

    @media screen and (min-width:992px) {
        .border-lg-0 {
            border: 0 !important
        }
    }
