﻿body {
    word-break: break-all;
    margin: 0;
    background-image: none;
    font-family: 微軟正黑體,verdana;
    background-color: white;
    font-size: 1em;
    min-height: 90vh;
   
}

.body-container {
    padding: 10px 15px;
}
.ajax__colorPicker_container table {
    border: solid 2px #767575 !important;
}

    .ajax__colorPicker_container table td {
        border: solid 1px white;
    }
/*自動縮短文字以...替代*/
.autoshorten {
    /*padding: 5px;*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /*text-align: left;*/
}
.pageloading {
    position: fixed;
    z-index: 10000;
    top: 40%;
    left: 50%;
    color: #aaaaaa;
    transform: translateX(-50%,-50%)
}

.xrequire::before {
    content: '＊';
    color: red;
}

.prvalue{
    color:#970a90;
    font-weight:bold;
}
.lowscore{
    color:red;
}
.fa-file-image {
    color: #9a31f7;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-file-word{
    color:#216eb7;
    margin-right:3px;
    font-size:1.2em;
}
.fa-file-excel {
    color: #6aa010;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-file-pdf {
    color: #c21616;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-file-powerpoint {
    color: #fb7922;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-file-archive {
    color: #f59b39;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-file-video {
    color: #7511b1;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-youtube {
    color: #f20933;
    margin-right: 3px;
    font-size: 1.2em;
}
.fa-images {
    color: #49a11a;
    margin-right: 3px;
    font-size: 1.2em;
}


.fa-check-circle{
    color:#61bb12 !important;
}
.fa-question-circle {
    color: #aaaaaa !important;
}
.fa-times-circle{
    color:red;
}
.file-col {
    background-color: #069ae5 !important;
}
/*modal右邊的關閉鈕*/
.close span {
    font-size: 30px !important;
    color: white !important;
}

.qabtn {
    position: fixed !important;
    right: 125px !important;
    top: 7px;
    z-index: 101;
    color: white;
    padding: 5px 6px !important;
    border: solid 1px #f63409 !important;
}
.numtbx{
    text-align:right;
}

.title-label {
    font-size: 1.3em;
    font-weight: bold;
}
input,select,textarea,.form-control{
    color:black;
}
    input:disabled, select:disabled, textarea:disabled, .form-control:disabled {
        color: #9b9b9b;
        cursor: not-allowed;
    }

hr{
    border-color:#CCC;
}
.tab-div {
    text-align: left;
    padding: 20px 10px;
    margin-top: 15px;
    position: relative;
    border: solid 1px #7cba08;
    border-radius: 5px;
}

.tab-title {
    position: absolute;
    display: flex;
    left: 20px;
    top: -15px;
    border: solid 2px #7cba08;
    border-radius: 3px;
    background-color: #7cba08;
    color:white;
    padding: 2px 5px;
    position: absolute;
    font-weight: bold;
    align-items: center;
    z-index: 1;
}
.tbx-search {
    border-radius: 60px;
    background-color: #e3e0dd;
    color: white;
    border: solid 1px #b7afa8;
    padding: 8px 20px;
    outline: none;
}

    .tbx-search:focus {
        color: #495057;
        background-color: #fff;
        border-color: #895838;
        outline: 0; /*沒加會被chrome預設input boder影響*/
        box-shadow: 0 0 0 0.2rem rgba(137, 88, 56, 0.25);
    }
.form-container {
    border: solid 1px #b5e761;
    padding: 10px 5px ;
    border-radius: 5px;
    margin: 10px 10px 80px 10px;
    /*text-align: center;*/
    min-height: 80vh;
}
.form-group-inline {
    display: flex;
    white-space: nowrap;
    align-items: center;
    overflow:auto;
    padding:6px;
}
.form-header {
    background-color: #c7dfeb;
    border-radius: 5px 5px 0 0;
    padding: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}
.form-body {
    text-align: left;
    padding: 10px;
}

.form-footer {
    border-top: solid 1px #daceec;
    padding: 5px 15px;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.form-group {
    white-space: nowrap;
    align-items: center;
}
.form-frame {
    border: solid 1px #7cba08;
    padding: 10px 5px;
    border-radius: 5px;
    margin: 0px auto;
    text-align: center;
}
label{
    margin-bottom:unset !important;
}
.form-control{
    margin:3px;
}
.form-label {
    margin-top:5px;
    font-weight: bold;
}
/*線上測驗*/
.test-contanner {
    margin: 0 auto;
    font-size: 1em;
}

.que-ul {
    list-style-type: decimal-leading-zero;
    color: black;
    text-align: left;
}

    .que-ul > li {
        margin-bottom: 10px;
    }

.queitme-ul {
    margin: 0;
    padding: 0;
    color: #555;
    list-style: none;
}


.que-result-ul {
    list-style-type: none;
    color: black;
    margin: 0;
    padding-left: 10px;
}

    .que-result-ul > li {
        margin-bottom: 10px;
    }

.queitme-result-ul {
    color: #555;
    list-style: upper-alpha;
    padding-left: 50px;
    display: none;
}

.ans-yes:before {
    content: 'Ｏ';
    color: green;
    font-weight: bold;
}

.ans-none:before {
    content: 'Ｘ';
    color: red;
    font-weight: bold;
}

.loading-img {
    left: 0;
    right: 0;
    margin: auto;
    position: fixed;
    top: 200px;
    display: none;
}

.test-note {
    border: solid 1px #9dd1d7;
    color: #666;
    margin-bottom: 10px;
    display: none;
    padding: 10px;
}
/*研習或測驗題目主題*/
.topic-bar {
    /*padding: 10px 0px 10px 30px;
    font-weight: bold;
    background-color: #CCC;*/
    position:relative;
    cursor: pointer;
}
    .topic-bar .group {
        width: 0;
        height: 0;
        opacity: 0;
        position:absolute;
    }
    .topic-bar > label {
        width: 100%;
        background-color: #ececec;
        cursor: pointer;
        padding: 10px 0px 10px 30px;
    }
    .topic-bar > label:hover{
        background-color:#d4e4eb;
    }

    .topic-bar > label::before {
        content: ' '; /*📁*/
        position: absolute;
        left: 8px;
        width: 16px;
        height: 16px;
        background: url(../ScienceN/images/cd-icons.svg) no-repeat -16px 0;
    }
.topic-bar input[type=checkbox]:checked + label::before {
    /* show open folder icon if item is checked */
    background-position: -32px 0;
}


.mask {
    height: 100%;
    width: 100%;
    background-color: black;
    position: fixed;
    z-index: 1000;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrmask {
    height: 100%;
    width: 100%;
    background-color: black;
    position: fixed;
    z-index: 1000;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*兩欄式表單，th圓角*/
.table-form {
    border-spacing: 0;
    border-collapse: separate;
}

    .table-form > thead > tr > th, .table-form > tbody > tr > th {
        background-color: #5d691e;
        color: white;
        padding: 8px;
        border-radius: 10px 10px 0px 0px;
        text-align: center;
        font-weight: bold;
    }

    .table-form > tbody > tr > td {
        background-color: #ffffff;
        padding: 5px;
        border: solid 1px #AAAAAA;
        text-align:left;
    }

    .table-form > tbody > tr:not(:last-child) > td:first-child {
        background-color: #e8edbf;
        border-right: 0;
        font-weight: bold;
        text-align: right;
    }

    .table-form > tbody > tr:nth-child(even) > td {
        border-bottom: 0;
        border-top: 0;
    }
.table-container-div {
    max-height: 100vh;
    text-align: center;
    overflow: auto;
    padding: 0;
    margin: 0 auto;
    border: solid 1px #CCC;
    position: relative;
    /* box-shadow:1px 1px 10px rgba(0,0,0,.3);
   display:flex;
    justify-content:center;*/
}
.tr-selected {
    background-color: #f5eca6 !important;
}
.table-standard {
    border-spacing: 0;
    border-collapse: separate;
    margin:0 auto;
}

    .table-standard th {
        background-color: #7cba08;
        border: solid 1px #b5e761;
        color: white;
        text-align: center;
        font-weight: bold;
        white-space: nowrap;
        padding: 5px;
    }
    .table-standard > thead > tr:nth-child(2) > th {
        background-color: #8f1e0e !important;
        border-top:none;

    }
    .table-standard > thead > tr:nth-child(2) > th:first-child {
        border-left: none;
    }
    .table-standard > thead > tr > th:not(last) {
        border-right: none;
    }


    .table-standard > tbody > tr:nth-of-type(even) {
        background-color: #f9fdf2;
    }
    .table-standard > tbody > tr:nth-of-type(odd) {
        background-color: #ffffff;
    }

        

    .table-standard > tbody > tr > td {
        padding: 5px;
        border: solid 1px #b5e761;
        border-right: none;
    }

        .table-standard > tbody > tr > td:last-child, .table-standard > thead tr > th:last-child {
            border-right: solid 1px #b5e761;
        }

        .table-standard > tbody > tr:nth-child(even) > td {
            border-bottom: 0;
            border-top: 0;
        }

    .table-standard > tbody > tr:last-child td {
        border-bottom: solid 1px #b5e761;
    }

    .table-standard > tbody > tr:hover {
        background-color: #e4ffca;
    }
    

    .table-standard thead tr th {
        position: sticky;
        height:40px;
        top: 0;
    }
    .table-standard thead tr:nth-child(2) th {
        position: sticky;
        top: 40px;
    }

    .table-standard th:nth-child(1) {
        z-index: 2;
        /*background-color: #7cba08 !important;*/
    }

/*nth-child(-n+3)表示前3欄*/
/*.table-standard td:nth-child(1), .table-standard th:nth-child(1) {
        position: sticky;
        left: 0px;
        z-index: 1;
        background-color: white;*/
/*background-color: lightpink;*/
/*}*/

/*.table-standard td:nth-child(1), #ScoreTable th:nth-child(1) {
        left: 0;
        width: 80px !important;
    }

    .table-standard td:nth-child(2), #ScoreTable th:nth-child(2) {
        left: 80px;
        width: 50px !important;
    }

    .table-standard td:nth-child(3), #ScoreTable th:nth-child(3) {
        left: 133px;
        width: 70px !important;
        border-right: solid 1px #9f5931;
    }

    .table-standard td:nth-child(4), #ScoreTable th:nth-child(4) {
        border-left: none !important;
    }*/


a:link {
    color: #0984d5;
    text-decoration: none;
    font-size: 1em;
}

a:hover {
    color: #000000;
}
a:visited {
    color: #0984d5;
}
.dwn {
    cursor: pointer;
    color: #145cc1;
}

    .dwn:hover {
        color: #e96208;
    }
a.link-dark:link {
    color: #333333;
    text-decoration: none;
    font-size: 1em;
}

    a.link-dark:hover {
        color: #e96208;
    }


a.light-link:link {
    color: #FFFFFF;
    text-decoration: none;
}

a.light-link:hover, a.light-link:visited:hover {
    color: #c3d825;
}

a.light-link:visited {
    color: #e6f0a3;
}



.fcircle {
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 1.2em;
    margin-left: 2px;
    /* border-right: 2px solid #000;*/
    /* border-bottom: 2px solid #000;*/
}

.darkcircle {
    background-color: #f86706;
}

.lightcircle {
    background-color: #fa874d;
}
/*每頁下方的下拉選單容器*/
.page-ctl-zone {
    display: flex;
    overflow: auto;
    flex-wrap: nowrap;
    align-items: center;
    padding:10px 20px 6px 20px;
    white-space: nowrap;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto;
}
.title-banner-font {
    font-size: 1.1em;
    vertical-align: middle;
}
.title-banner-admin {
    overflow: auto;
    width: 100%;
    display: flex;
    white-space: nowrap;
    justify-content: space-between;
    /*flex-direction: row;
    flex-wrap:nowrap;*/
    padding: 10px 20px;
    /*margin-top: -10px;*/
    margin-bottom: 5px;
    /*font-size:1.2em;*/
    font-weight: bold;
    border-top: solid 1px #b5e761;
    border-bottom: solid 1px #b5e761;
    background: #67574a; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #ffffff 0%, #f63409 51%, #7cba08 51%, #8bbdd6 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #ffffff 0%,#f63409 51%,#7cba08 51%,#8bbdd6 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #ffffff 0%,#6aa010 61%,#7cba08 61%,#b5e761 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
    .title-banner-admin > div:first-child {
        position: relative;
        animation: movetitleX 1s forwards;
    }

@keyframes movetitleX {
    from {
        left: -100%;
    }

    to {
        left: 0;
    }
}
.title-icon {
    /*background-color: #ff6a00;*/
    color: #333333;
    /*border-radius: 50%;
    padding:3px;
    width:50px;
    height:30px;*/
    vertical-align: middle;
    margin-right: 5px;
}
.gvext input[type=checkbox], .gvext input[type=radio] {
    margin: .4rem .2rem !important;
}

.gv-prepend {
    padding: 5px 8px !important;
    min-height:40px;
}
.gv-control {
    min-height: 40px;
    display: inline;
    padding: 5px 8px;
    /*font-size: 1em;*/
    background-color: #fff;
    background-image: none;
    border: 1px solid #7cba08;
    border-radius: 4px;
    width: auto;
}
.gv-append {
    min-height: 40px;
    padding: 7px 8px !important;
}

    .gv-control:focus {
        border-color: #d1eefe;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #7cba08;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #7cba08;
    }

.smart-control {
    display: inline;
    margin:5px 2px;
    padding: 6px 8px;
    font-size: 1em;
    background-color: #fff;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
}

    .smart-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0; /*沒加會被chrome預設input boder影響*/
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .smart-control:disabled {
        background-color: #f7f7f7;
    }

.smart-btn {
    border: 1px solid #CCC;
    padding: 6px 6px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    position: relative;
    outline: none;
    overflow: hidden;
    box-shadow: 6px 7px 40px -4px rgba(0, 0, 0, 0.2);
}

    .smart-btn:hover {
        border-color: #666;
        background-color: #AAA;
    }

    .smart-btn:disabled {
        background-color: #CCC;
        border-color: #AAA;
        cursor: not-allowed;
        color: #AAA;
    }

        .smart-btn:disabled:hover {
            background-color: #CCC;
            border-color: #AAA;
        }



.btn-img {
    border-radius: 5px;
    padding: 3px;
}

    .btn-img:disabled {
        cursor: no-drop;
        background-color: rgba(0, 0, 0,0.3);
    }
    .btn-img:disabled:hover {
        background-color: rgba(0, 0, 0,0.4);
    }

.btn-img-edit {
    border: solid 1px #444444;
    background-color: #666666;
    color:white;
}

    .btn-img-edit:hover {
        background-color: #4b4b4b;
    }

.btn-img-edit:disabled {
    /*background-color: rgba(0, 0, 0,0.3);*/
    border: none;
}
.btn-img-delete {
    border: solid 1px #d53c37;
    background-color: #d9534f;
    color:white;
}

    .btn-img-delete:hover {
        background-color: #ce2f2b;
    }

    .btn-img-delete:disabled {
        /*background-color: rgba(225, 73, 73,0.5);*/
        border: none;
    }

.btn-img-Reply {
    border: solid 1px #5cac0d;
    background-color: #61bd22;
    color: white;
}
    .btn-img-Reply:hover {
        background-color: #598b19;
    }

    .btn-img-Reply:disabled {
        /*background-color: rgba(225, 73, 73,0.5);*/
        border: none;
    }

.btn-img-green {
    border: solid 1px #55811d;
    background-color: #78b11a;
}

    .btn-img-green:hover {
        background-color: #4c941a;
    }

    .btn-img-green:disabled {
        background-color: #AAAAAA;
        border: none;
    }

.btn-img-blue {
    border: solid 1px #3a707a;
    background-color: #5a97a3;
}

    .btn-img-blue:hover {
        background-color: #3a707a;
    }


.sbtn-sm {
    padding: 2px 8px;
    /*font-size: 0.9em !important;*/
    border-radius:3px;
    white-space:nowrap;
    color:white !important;
   /* min-width:60px;*/
}
    .sbtn-sm:disabled {
        background-color: rgba(0, 0, 0,0.2);
        border:solid 1px #ccc;
        cursor:not-allowed;
    }
        .sbtn-sm:disabled:hover {
            background-color: rgba(0, 0, 0,0.3);
            border: solid 1px #ccc;
        }

.sbtn-default {
    border: 1px solid #6aa010;
    color: white;
    background-color: #7cba08;
}

    .sbtn-default:hover {
        color: white;
        background-color: #335b64;
    }

.sbtn-orange {
    border: 1px solid #f74a07;
    color: white;
    background-color: #f3683b;
}

    .sbtn-orange:hover {
        color: white;
        border-color: #e5734d;
        background-color: #de5225;
    }
.sbtn-danger {
    border: 1px solid #db3142;
    color: white;
    background-color: #dc3545;
}

    .sbtn-danger:hover {
        color: white;
        border: 1px solid #d82537;
        background-color: #c42232;
    }

.sbtn-success {
    border: 1px solid #62ad16;
    color: white;
    background-color: #70c61a;
}

    .sbtn-success:hover {
        border: 1px solid #62ad16;
        background-color: #62ad16;
    }

.sbtn-esc {
    border: 1px solid #BBB;
    color: #555;
    background-color: #CCC;
}

    .sbtn-esc:hover {
        border-color: #aaa;
        background-color: #bbb;
    }

.order-selected {
    background-color: #AAAAAA;
}
.order-selected-li {
    background-color: #AAAAAA;
    color:white;
}
.order-msg {
    min-width: 100px;
    position: fixed;
    left: 10px;
    top: 50px;
    padding: 5px;
    text-align: center;
    color: white;
    background-color: #f7a906;
    border: solid 1px #f8a309;
    z-index: 10;
    display: none;
}

/*樹狀選單 li中的div*/
.app-li-div {
    display: flex;
    justify-content: space-between;
    /*border: solid 1px #EEE;*/
    padding: 0px;
    color: #000000;
    width:100%;
    
}
    .app-li-div:hover, .group-li-div:hover {
        background-color: #f7e5aa;
    }

.group-li-div {
    border-bottom: solid 1px #CCC;
    padding: 0px;
    color: #000000;
    width: 100%;
}

    .popup-mask {
        height: 95vh;
        width: 100%;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 100;
        background-color: rgba(0,0,0,.4);
    }


.sys-card-contanner {
    border: solid 1px #CCC;
    padding: 5px;
    background-color:#EEE;
}

.sys-card {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    border: solid 1px #CCC;
    background-color: #FFF;
}

.sys-card-img {
    width: 200px;
    height: 180px;
}

.sys-card-body {
    padding: 5px;
    text-align: left;
}
.sys-card-footer {
    padding: 5px;
    display:flex;
    justify-content:space-between;
}

.sys-card-title {
    font-weight: bold;
}
    .sys-card-title a:link, .sys-card-title a:visited, .sys-card-title a:active {
        font-weight: bold;
        font-size: 1.1em;
        color:black;
        text-decoration:none;
    }

    .sys-card-title a:hover {
        color: #67574a;
    }
.footer-container {
    display: flex;
    justify-content: center;
    background-color: #7cba08;
    color: #fff;
    font-size: 1.2em;
    padding: 10px;
}
.footerinfo {
    
    /*padding: 10px;*/
    display: inline-flex;
    justify-content: center;
    flex-direction:column;
    align-items:flex-start;
}
.fa-check {
    color: green;
}

.fa-times {
    color: red;
}
/*#sm-cont #sm-header {
    background-color: #7cba08;
}*/

/*覆寫swal2 z-index*/
.swal2-container {
    z-index: 10010;
}

/*覆寫bootstrap*/
.alert-danger {
    color: red !important;
    font-weight: bold;
}
.alert{
    margin:10px auto 6px auto;
}

.btn {
    padding: 6px 12px;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    border: 1px solid #6aa010;
    color: white;
    background-color: #7cba08;
    padding: 6px 12px;
}


    .btn-primary:hover {
        border-color: #7cba08;
        background-color: #335b64;
    }
    .btn-primary:disabled {
        background-color: #CCC;
        border-color: #BBB;
        cursor: not-allowed;
    }
    .btn-primary:disabled:hover {
        
        border-color: #888;
    }

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td,
th {
    padding: 5px;
}


.col-form-label {
    margin: 0px;
    padding: 3px;
    font-weight: bold;
    color: #d96808;
}

/*.modal-contanner {
    padding: 0px;
    margin: 0px auto;
    overflow: hidden;
    max-height: 100vh;
    max-width:100%;
}*/
.modal-dialog {
    /* margin:10px !important;*/
    margin-top: 10px !important;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0 -50px)
}
.modal-header {
    padding: 5px 10px;
    font-weight: bold;
    background-color: #6aa010;
    width: 100%;
}
/*.modal-dialog {
     width: 90%; 
     margin: 10px auto; 
}*/
.modal-title {
    color: black !important;
    font-weight: bold;
    text-align: center;
}
.modal-body {
    text-align: left;
    padding: 0 10px;
}
.form-group {
    margin: 5px 0;
}
.modal-footer {
    margin-top: 15px;
    text-align: left;
    padding: 5px 10px;
    border-top: solid 1px #7cba08;
}
button{
    position:relative;
    overflow:hidden;
}

/*波紋效果*/
    button .ripple {
        position: absolute;
        border-radius: 50%;
        /* To make it round */
        background-color: rgba(255, 255, 255, 0.4);
        width: 40px;
        height: 40px;
        margin-top: -20px;
        /* for positioning */
        margin-left: -20px;
        animation: ripple 1.5s;
        opacity: 0;
    }

/* Add animation */
@keyframes ripple {
    from {
        opacity: 1;
        transform: scale(0);
    }

    to {
        opacity: 0;
        transform: scale(10);
    }
}

@media (min-width:1200px) {
    body {
        font-size: 1.2em !important;
    }
    .body-container {
        padding: 10px 25px;
    }
    .gvext select, .gvext input {
        font-size: 1.1em !important;
    }
    a, submit, select, input {
        font-size: 1em !important;
    }

    button {
        font-size: 1em !important;
    }

    .qabtn {
        right: 140px !important;
    }

   
    /*.btn, .btn-primary, .form-control {
        font-size: 1.1em !important;
    }*/
   
}

@media (max-width:768px) {
    .form-container{
        padding:10px 0;
        margin:3px;
    }
    .page-ctl-zone{
        justify-content:left;
    }
    .col-form-label {
        margin: 0px;
        padding: 1px;
    }
    .modal-contanner {
        padding: 5px;
        margin: 5px auto;
        overflow: auto;
        max-height: 90vh;
        width: 100%;
    }
    .modal-dialog {
        max-width: 90%;
        margin: 5px auto;
    }
    .sys-card-contanner {
        padding: 5px;
        border: solid 1px #CCC;
        margin: 5px 0;
    }
    .sys-card-img {
        max-width: 140px;
        max-height: 120px;
        min-width: 140px;
        min-height: 120px;
    }
    .form-group-inline{
        justify-content:left;
    }
    
}

@media print {
    .xgrid {
        border: none !important;
        overflow: hidden;
    }

    .table-container-div {
        max-height: unset !important;
        height: unset !important;
        overflow: hidden;
        border: none !important;
        padding: 0 !important;
    }

    #PlaceHolderDiv {
        height: unset !important;
        min-height: auto !important;
    }

    .noprint {
        display: none !important;
    }

    .zarrow {
        display: none;
    }

    .zsort {
        display: none;
    }
    /*使用自己的樣式，不讓列印視窗自己套用，解決不少樣式問題*/
    * {
        -webkit-print-color-adjust: exact !important;
    }

    table {
        page-break-inside: avoid
    }
    /*表格不要被切斷-沒作用*/
    .nobreak {
        break-inside: avoid;
        /*break-before: avoid-page;
        break-after: avoid-page;*/
        /*page-break-inside: avoid;*/
    }

    .newpage {
        page-break-inside: avoid; /* 若順著向下排列時會切開此元素，則直接換頁 */
        page-break-before: always; /*碰到此元素會直接換頁 */
    }

    @page {
        /*size: A4 portrait;*/
        margin-top: 0.5cm;
    }

    /*@page :first {
        margin-top: -1cm;
    }*/

}
