﻿/*
  app.common.css?date=20220712-1400 (目前應用程式可自訂內容)
   
    SU application specific common style.
*/

/*grid*/
.k-grid .k-i-expand:before, .k-grid .k-i-collapse:before {
    font-size: 1.3rem;
    left: -3px;
}

.k-grid .k-button span.k-icon{
    display: none;
}


.StorageLoc label + .k-textbox {
    width: calc(100% - 264px);
}

@media(max-width:768px) {
    .StorageLoc label + .k-textbox {
        width: calc(100% - 160px);
    }
}

/*grid*/
.k-grid .k-i-expand:before, .k-grid .k-i-collapse:before {
    font-size: 1.3rem;
    left: -3px;
}

/*login*/
/*.leftTitle {
    color: white;
}

.login-body .login-bullet button {
    background: unset;
    color: white;
}

.login-bullet button.act {
    background: var(--sedColor);
    color: white;
    border-width: 1px;
}

.login-body .login-bullet button.act {
    background: white;
    color: var(--grayText);
}

.login-body #LoginButton {
    background: var(--sedColor);
    border-color: var(--sedColor);
}

    .login-body #LoginButton:hover, .login-body #LoginButton:focus, .login-body .login-bullet button:hover {
        background: var(--mainChromaColor);
        border-color: var(--mainChromaColor);
        color: white;
    }

div.k-grid-footer, div.k-grid-header {
    padding-right: 0;
}*/

/*生理量測*/
.alert-HR-Value {
    color: #E25B46;
}

.alert-HA-Value {
    color: #F48B45;
}

.alert-LA-Value {
    color: #59A3BF;
}

.alert-LR-Value {
    color: #8A59BF;
}

/*慢性疾病風險評估*/
.riskLevel-Low {
    color: #8A59BF;
}

.riskLevel-Medium {
    color: #F48B45;
}

.riskLevel-High {
    color: #E25B46;
}

.alert-circle {
    width: 20px;
    height: 20px;
    border-radius: 99em;
    background-color: #fc1203;
    color: #fff;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    line-height: 20px;
    font-size: smaller;
    z-index: 2;
}

.alertIcon {
    font-size: 18px;
    margin-right: 10px;
}

.alertIcon-on {
    color: red;
}

.alertIcon-off {
    color: #c5c2c2;
}

.alertIcon-undisplay {
    display: none;
}

.alertIcon-none {
    color: blue;
}

.alert-circle-1 {
    width: 20px;
    height: 20px;
    border-radius: 99em;
    background-color: #fc1203;
    color: #fff;
    /*    position: relative;*/
    top: 0px;
    left: -10px;
    text-align: center;
    line-height: 20px;
    font-size: smaller;
    margin-left: -10px;
    z-index: 2;
}

.recSourceIcon {
    padding: 5px 5px;
    color: #000000;
}

.phebook-link {
    cursor: pointer;
}

.pink-icon {
    color: #F783AC;
}


.label-link {
    cursor: pointer;
}

    .label-link:hover {
        text-decoration: underline;
        text-decoration-color: blue;
    }


.TopDiv {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 2.13em !important;
    padding: 0;
    background-color: #E4FBFB; /*2020*/
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
    margin-top: 0px;
    margin-bottom: 5px;
    /*border-style: double;
    border-color: #CCCCFF;*/
    border-radius: 5px 7px;
    border: 1px solid #F8F8F8;
    font-weight: 700;
    font-size: 18px;
}

.iframe-btn-closeWindow {
    /*color: #fff;
    background-color: #039290;*/
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 3px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    /*margin-top: 80px;*/
    z-index: 1;
    font-size: 35px;
}


.smallCont > span.k-widget {
    width: calc(100% - 15.5rem - 14px);
}

.smallCont > div {
    display: inline-block;
}

    .smallCont > div > span {
        width: 5rem;
        display: inline-block;
    }


        .smallCont > div > span:last-of-type {
            width: 4rem;
            vertical-align: middle;
        }

.smallCont > span.k-widget.k-textbox {
    width: 6rem;
}


.smallContFull .k-textbox {
    width: var(--datepickerW);
}

.smallContFull div {
    text-align: right;
}

@media (max-width: 891px),(min-width: 1024px) and (max-width: 1139px) {

    .smallContFull .k-textbox {
        width: 10rem;
    }

    .smallContFull div {
        display: inline-block;
    }
}

.form-inline textarea {
    color: var(--colorText);
    background: var(--inputBg);
    font-size: 1.125rem;
    border: 1px var(--inputBg) solid;
    display: inline-block;
    vertical-align: middle;
    height: var(--inputHeight);
    border-radius: var(--borderR);
    padding: 8px var(--inputWPadding);
    text-indent: 0;
    width: var(--datepickerW);
}

    .form-inline textarea:focus, .form-inline textarea:hover {
        border-color: var(--mainColor);
        background: var(--inputHoverBg);
        outline: unset;
    }


@media (max-width: 891px),(min-width: 1024px) and (max-width: 1139px) {
    .smallCont > span.k-widget {
        width: calc(100% - 10rem - 6px);
    }

    .disControll .k-numerictextbox, .form-inline textarea {
        width: 100%;
    }
}

.k-grid td tr:hover input, .k-grid td td.k-state-selected:hover input,
.k-grid td tr:hover input::placeHolder {
    color: white;
}

    .k-grid td tr:hover input::placeHolder {
        opacity: 0.8;
    }

.k-grid td td .btn {
    margin-right: 4px;
}

.k-grid .k-master-row .k-grid-edit {
    background: var(--blueColor);
    border-color: var(--blueColor);
}

.k-master-row .k-grid-edit .k-icon {
    display: none;
}

.k-grid .k-master-row .k-grid-cancel {
    background: var(--redColor);
    border-color: var(--redColor);
}

.k-grid .k-state-selected a:not(.btn), .k-grid tr:hover a:not(.btn) {
    color: white;
}


/*card*/
.itemsTitle > div {
    display: inline-block;
}

.itemsTitle {
    display: flex;
    justify-content: space-between;
    color: white;
    padding: 2px var(--marginX);
    border-radius: var(--borderR) var(--borderR) 0 0;
    align-items: center;
}

.empty .itemsTitle {
    background: var(--grayText);
}

.man .itemsTitle {
    background: var(--manColor);
}

.woman .itemsTitle {
    background: var(--womanColor);
}

.itemCard .photo {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
}


.itemRightContent {
    display: inline-block;
    width: calc(100% - 100px);
    margin-left: var(--marginX);
    vertical-align: top;
    color: var(--grayText);
}

.roomNum {
    font-size: 1.3rem;
}

.itemName {
    font-size: 1.25rem;
    font-weight: bold;
}

.itemContent {
    padding: 8px var(--marginX);
    background: white;
    border-radius: 0 0 var(--borderR) var(--borderR);
}

.itemCard .item {
    background: white;
    box-shadow: 0 0 6px 3px #0000001c;
    border-radius: var(--borderR);
}

.itemCard .col {
    padding-bottom: 15px;
}

.state {
    color: var(--mainColor);
}

    .state.leave {
        color: var(--redColor);
    }

.detail {
    background: var(--inputBg);
    padding: 4px 8px;
    font-size: 0.85rem;
    height: var(--inputHeight);
    margin: 2px 0;
}

.itemLink {
    padding: 8px 0 4px 0;
}

    .itemLink a {
        display: inline-block;
        width: 24px;
        height: 24px;
        text-align: center;
        background: #CCCCCC;
        color: white;
        vertical-align: middle;
        border-radius: 50%;
        position: relative;
        margin: 2px;
    }

        .itemLink a::after {
            content: '';
            width: 28px;
            height: 28px;
            border: 1px #B1B1B1 solid;
            border-radius: 50%;
            position: absolute;
            top: -2px;
            left: -2px;
        }

        .itemLink a:hover {
            text-decoration: none;
            background: var(--mainChromaColor);
        }

.empty .state {
    display: block;
    color: var(--lightGrayText);
    font-size: 2rem;
    vertical-align: middle;
    font-weight: bold;
}

.empty .photo {
    display: none;
}

.empty .itemRightContent {
    height: 86px;
}

.empty .detail, .empty .itemLink {
    visibility: hidden;
}

.itemRightContent > div:last-child {
    color: var(--importantColor);
}

.empty .itemRightContent {
    width: calc(100% - var(--marginX));
}

.task span {
    display: inline-block;
    padding: 2px 4px;
    background: var(--lightGrayText);
    border-radius: 4px;
    color: white;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

    .task span.needDo {
        background: var(--redColor);
    }

.btncontainer {
    text-align: right;
}

.empty .task span {
    visibility: hidden;
}

.item .btncontainer {
    margin: 2px 0;
    min-height: var(--inputHeight);
}

.btncontainer .btn {
    margin-left: 4px;
}




.radioAddText > span {
    display: inline-block;
    margin-right: var(--marginX);
}

    .radioAddText > span > span > span {
        width: 4rem;
    }

.radioAddText .full {
    display: inline-block;
    margin-right: 0;
    width: calc(100% - 4rem - 0px);
}

    .radioAddText .full > span {
        width: calc(100% - 3rem - 1px);
        display: inline-block;
    }

        .radioAddText .full > span > span {
            width: 100%;
        }

.checkAddText label {
    width: auto;
}

.radioGroup > div > span {
    font-size: 1.125rem;
}

.addressInput .k-autocomplete {
    width: 100%;
}

.addressContent .form-inline {
    width: calc((100% - var(--marginY) - 6px) / 2);
}

    .addressContent .form-inline:nth-child(odd) {
        margin: 0 var(--marginY) var(--marginY) 0;
    }

.addressInput > div > div:first-of-type > span {
    margin-bottom: 0;
}

/*.k-grid*/
.k-grid .btn {
    margin: 0.16em;
}


@media (min-width: 1140px) {
    .addressInput > div > div:first-of-type > span.k-textbox {
        width: calc(100% - 6.5rem - 6px);
        margin-right: 0px;
    }


    .addressContent .form-inline {
        width: calc(25% - 15px);
        margin: 0 15px 0 0;
    }

    .addressInput .k-autocomplete {
        width: var(--datepickerW);
    }

    .addressInput > label {
        display: inline-block;
    }

    .addressContent .form-inline:last-child {
        margin: 0;
    }

    .addressInput > div {
        width: 100%;
    }

        .addressInput > div > div:last-of-type span {
            width: var(--datepickerW);
        }

    .addressContent .form-inline:nth-child(odd) {
        margin: 0 15px 0 0;
    }

    .addressContent .form-inline:nth-child(3) .k-autocomplete {
        width: calc(var(--textboxW) + 18px);
    }

    .addressInput > div:first-child {
        display: inline-block;
        width: 5rem;
    }

    .addressInput .checkSame {
        display: inline-block;
        width: 6rem;
        font-size: 1.125rem;
    }

    .radioAddText .full {
        width: calc(100% - 11rem - 1px);
    }

        .radioAddText .full > span {
            width: calc(100% - 3rem - 9px);
        }

    .checkAddText label {
        width: 7rem;
    }

        .checkAddText label + .k-textbox {
            width: calc(100% - 7.5rem - 34px);
        }
}

.k-grouping-row td {
    background: var(--lightGrayBg);
}

/*tree豎滾動條*/

.treeStyle {
    height: 60vh;
    overflow-y: scroll;
    background: var(--lightGrayBg);
    padding: var(--marginX);
}

@media (min-width: 1024px) {
    .treeStyle {
        height: calc(100vh - 170px);
    }
}

.tableBtnFix {
    position: absolute;
    top: -62px;
    z-index: 100;
    text-align: right;
    width: 100%;
}

.k-grid .k-numeric-wrap.k-state-default {
    min-width: 90px;
}

@media (min-width: 1200px) {
    .tableBtnFix {
        width: calc(100% - var(--marginX));
    }
}

/*c111*/
/*.empty .detail, .btncontainer{
    display:none;
}

.empty .btncontainer{
    display:block;
}*/

/*c210*/
.btncontainer {
    display: none;
}



/*個人資料*/
.form-inline[class*="personalTitle"].personalTitle {
    width: 100%;
    color: white;
    background: var(--grayText);
    padding: 8px 12px;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0;
}

    .form-inline[class*="personalTitle"].personalTitle.type2 {
        background: var(--mainColor);
    }

    .form-inline[class*="personalTitle"].personalTitle.type3 {
        background: #5f9386;
    }

    .form-inline[class*="personalTitle"].personalTitle.type4 {
        background: var(--blueColor);
    }

    .form-inline[class*="personalTitle"].personalTitle.type5 {
        background: #93886b;
    }

    .form-inline[class*="personalTitle"].personalTitle.type6 {
        background: #9f7f6d;
    }


.colorArea2 .titleText {
    color: #387870;
}

.personalTitle + div[class*="colorArea"] {
    margin-bottom: 0;
}


@media (max-width: 1023px) {
    .addressContent .form-inline {
        width: 100%;
    }

        .personalTitle + div[class*="colorArea"],
        .addressContent .form-inline:nth-child(odd) {
            margin: 0 !important;
        }


    .row.personalColorArea {
        margin: 0;
    }
}



@media (min-width: 1024px) and (max-width: 1139px) {
    .addressContent .form-inline:nth-child(odd),
    .addressContent .form-inline {
        margin: 0;
        width: 100%;
        padding: 0;
    }
}


/*圖片樣式*/
.imgstyle {
    width: 100px;
    height: 100px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.addressInput .addressContent .k-autocomplete-clearable .k-input {
    background: unset;
}

.addressInput .addressContent .k-autocomplete .k-input {
    width: calc(100% - 16px);
}

.grid-label {
    font-weight: 700;
}

/*查詢區*/
/*.lcs-QueryArea {
    padding: 5px 10px 5px 10px;
    margin-bottom: 1px;
    background: var(--lightGrayBg);
}*/

.product-photo {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: 32px 35px;
    background-position: center center;
    vertical-align: middle;
    line-height: 32px;
    box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0,0,0,.2);
    margin-right: 5px;
}

.product-name {
    display: inline-block;
    vertical-align: middle;
    line-height: 32px;
    padding-left: 3px;
}

.product-photo-square {
    display: inline-block;
    width: 90px;
    height: 90px;
    border-radius: 5px;
    /*border-radius: 50%;*/
    /*background-size: 32px 35px;*/
    background-position: center center;
    vertical-align: middle;
    line-height: 90px;
    box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0,0,0,.2);
    margin-right: 5px;
}

.initGrid-min-height {
    /*height: 100%;*/
    min-height: 420px;
}

.max-msglabel {
    /*display: none;*/
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 830px;
}

/*列印PDF*/
@font-face {
    font-family: "DejaVu Sans";
    src: url("../../fonts/DengXian.ttf") format("truetype");
}

/* Page Template for the exported PDF */
.page-template {
    font-family: "DejaVu Sans", "Arial", sans-serif;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .page-template .header {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        border-bottom: 1px solid #888;
        /*color: #888;*/
        font-size: 18px;
        color: black;
    }

    .page-template .footer1 {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        border-top: 1px solid #888;
        text-align: center;
        color: #888;
        /*background-color: white !important;*/
    }

.printContent-font {
    font-weight: 400 !important;
}

    .printContent-font div {
        font-weight: 400 !important;
    }

    .printContent-font label {
        font-weight: 400 !important;
    }

    .printContent-font input {
        font-weight: 400 !important;
    }

    .printContent-font button {
        font-weight: 400 !important;
    }

    .printContent-font .grid-AlertMsg {
        font-weight: 400 !important;
    }

    .printContent-font .k-link {
        font-weight: 400 !important;
    }

    .printContent-font .k-grid td {
        font-weight: 400 !important;
    }


/*.printContent-btnhide {
    display: none;
}*/

.heduBook-btn {
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: bottom;
}

.fixed-iconRight1 {
    position: absolute;
    padding: 5px;
    right: 40px;
}

.deleteRowCss {
    color: #888;
}

.k-calendar .k-header{
    display: block;
}

.ear-show:after {
    margin-left: 5px;
    font-family: "Font Awesome 5 Free";
    /*font-weight: 900;*/
    content: "\f2a4";
    /*font-size: 14px;*/
}

.flash {
    position: relative;
    width: 100%;
    color: #0000ff;
    -webkit-animation: flash 1.5s infinite cubic-bezier(1,0,0.5,0);
    animation: flash 1.5s infinite cubic-bezier(1,0,0.5,0);
}

.k-filter-menu-container .k-textbox {
    color: var(--colorText);
    background: var(--inputBg);
    font-size: 1.125rem;
    border: 1px var(--inputBg) solid;
    display: inline-block;
    vertical-align: middle;
    height: var(--inputHeight);
    border-radius: var(--borderR);
    padding: 0 var(--inputWPadding);
    text-indent: 0;
}


/*含作廢紀錄樣版*/
.cancelCheckBox {
    display: none;
}

    .cancelCheckBox + .k-checkbox-label {
        display: none;
    }

/* 登入頁面-公告 */

#BBSListView {
    border-radius: var(--borderR);
    background: rgba(255, 255, 255, 0.5);
}

/* .boardItem {
    padding: .25rem .5rem;
    margin: .25rem .5rem;
} */

    .boardItem + .boardItem {
        border-top: var(--grayBg) 1px solid;
    }

#BBSListView .k-grid-norecords {
    padding: 1rem 0;
}

.login-bullet {
    height: calc(100% - 45px);
    overflow: auto;
}

.k-multiselect.k-state-disabled {
    color: var(--disableText);
    background: var(--disableBg);
}

    .k-multiselect.k-state-disabled .k-input {
        /*color: var(--disableText);*/
        background: var(--disableBg);
    }

@media screen and (max-width: 1023px) {
    .login-bullet {
        height: calc(100% - 155px) !important;
    }
}

.boardText{
    font-size: 1rem;
}

img#Code{
    border-radius: 5px;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--lightGrayBg);
    overflow: visible;
    color: var(--blackText);
    width: 100%;
    justify-content: flex-end;
}

    .breadcrumb-container:has(ul) {
        justify-content: space-between;
    }

#SystemDateTime {
    padding: 0 1rem;
    font-weight: normal;
    float: right;
    padding: 8px 20px;
}

.breadcrumb {
    float: left;
}

.colorTitle1 {
    background: #679B5B;
    width: 100%;
    color: white;
    padding: 4px 20px;
}

.colorTitle3 {
    background: #2e5f7c;
    width: 100%;
    color: white;
    padding: 4px 20px;
}

.colorTitle4 {
    background: #59A3BE;
    width: 100%;
    color: white;
    padding: 4px 20px;
}

.windowContent .row {
    margin-right: unset;
    margin-left: unset;
}

.windowContent [class*="col-"] {
    padding-right: unset;
    padding-left: unset;
}

[class*="baseCard"] {
    margin: 3px;
    width: calc(100% - 6px);
    margin-bottom: 20px;
}

    [class*="baseCard"] > .content {
        padding: 10px 8px 10px 8px;
    }

.exam-item {
    margin-bottom: 1rem;
    align-items: flex-start;
}

span.k-numerictextbox > .k-numeric-wrap {
    width: calc(100% - 32px);
}

span.text-span {
    font-size: 1.125rem;
    display: inline-block;
    height: var(--inputHeight);
    padding: 0px var(--inputWPadding);
    text-indent: 0;
}

@media (min-width: 891px) and (max-width: 991px), (min-width: 1139px) {
    .windowContent label + .k-dropdown, .windowContent label + .k-textbox, .windowContent label + .k-multiselect {
        width: var(--datepickerW);
    }

    .label_6 label + .k-textbox, .label_6 label + .k-textarea, .label_6 label + .k-dropdown {
        width: calc(100% - 7.5rem - 5px);
        width: calc(var(--datepickerW) - 1rem);
    }

    .windowContent .searchInput .k-textbox {
        width: var(--searchInputW);
    }
}

@media (max-width: 891px), (min-width: 992px) and (max-width: 1139px) {
    .label_6 label + .k-textbox, .label_6 label + .k-textarea, .label_6 label + .k-dropdown {
        width: 100% ;
    }

    .label_6 label + .k-numerictextbox {
        width: calc(100% - 38px) ;
    }

    .inputGroup2 > div > span[class*="k-"], .inputGroup2 label[class*="d-none"] div > span[class*="k-"] {
        width: calc(50% - 14px) ;
    }

    .form-inline[class*="inputGroup"] > div > span:not(:last-of-type) {
        margin-bottom: unset;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    label, .k-input-label, .rangerText_1 label {
        text-align: left;
    }
}


@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    label + .k-textbox,
    .k-textarea,
    label + .k-textarea,
    label + .k-multiselect,
    label + .k-dropdown {
        width: 100% ;
    }

    .form-inline.need label, .form-inline.need.label_6 label {
        width: calc(100% - 1rem) ;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .form-inline[class*="inputGroup"] > div,
    .form-inline[class*="inputGroup"] > div > span[class*="k-"],
    .form-inline[class*="inputGroup"] label[class*="d-none"] div > span[class*="k-"] {
        width: 100%;
    }

    .inputGroup2 .k-textbox:not(:last-of-type),
    .inputGroup3 .k-textbox:not(:last-of-type),
    .inputGroup2 .k-dropdown:not(:last-of-type),
    .inputGroup3 .k-dropdown:not(:last-of-type) {
        margin-right: 0px;
    }

    .form-inline[class*="inputGroup"] > div > span.k-numerictextbox {
        width: calc(100% - 34px);
    }

    .form-inline[class*="inputGroup"] > div > span:not(:last-of-type) {
        margin-bottom: unset;
    }

    .form-inline[class*="inputGroup2"] > div > span.k-numerictextbox {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .form-inline[class*="inputGroup2"] > div > span.k-numerictextbox {
        width: calc((100% - var(--labelW) - 30px) / 2);
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .need .k-input-label {
        width: calc(100% - 1rem) ;
    }
}

@media (min-width: 768px),(min-width: 992px) and (max-width: 1139px) {
    .rangerText_1 > .k-datetimepicker,
    .rangerText_1 > .k-textbox,
    .rangerText_1 > .k-dropdown {
        width: calc(50% - 15px) ;
        text-align: left;
    }


    /*數字範圍*/
    .rangerText_1 .k-numerictextbox {
        width: calc(50% - 19px) ;
    }

        .rangerText_1 .k-numerictextbox .k-numeric-wrap {
            width: calc(100% - 30px) ;
        }

    .rangerText_1 > .k-numerictextbox ~ label:last-of-type {
        margin: 0px 4px 0 4px;
        width: 20px;
    }

    .label_6.rangerText_1 > .k-datepicker,
    .label_6.rangerText_1 > .k-textbox,
    .label_6.rangerText_1 > .k-dropdown,
    .label_6.rangerText_1 > .k-datetimepicker {
        width: calc(50% - 15px);
    }

    .rangerText_1.label_6 .k-numerictextbox {
        width: calc((100% - var(--labelW)) / 2 - 2rem + 68px);
    }

    .rangerText_1.label_6 > .k-numerictextbox ~ label:last-of-type {
        width: 20px;
    }
}


@media (min-width: 892px) and (max-width: 992px),(min-width: 1140px) {
    .label_6 .k-datepicker,
    .label_6 .k-datetimepicker {
        width: calc(var(--datepickerW) - 1rem) ;
    }

    .rangerText_1 > .k-datepicker,
    .rangerText_1 > .k-datetimepicker,
    .rangerText_1 > .k-textbox,
    .rangerText_1 > .k-dropdown {
        width: calc((100% - var(--labelW)) / 2 - 17px) ;
    }
    /*數字範圍*/
    .rangerText_1 .k-numerictextbox {
        width: calc((100% - var(--labelW)) / 2 - 34px) ;
    }

        .rangerText_1 .k-numerictextbox .k-numeric-wrap {
            width: calc(100% - 16px) ;
        }

    .rangerText_1 > .k-numerictextbox ~ label:last-of-type {
        margin: 0 0px 0 18px;
        width: 20px;
    }

    .label_6.rangerText_1 > .k-datepicker,
    .label_6.rangerText_1 > .k-textbox,
    .label_6.rangerText_1 > .k-dropdown,
    .label_6.rangerText_1 > .k-datetimepicker {
        width: calc((100% - var(--labelW)) / 2 - 25px) ;
    }

    .need.label_6 label + .k-textbox, .need.label_6 label + .k-textarea {
        width: calc(var(--datepickerW) - 2rem);
    }

    .need.label_6 label + .k-numerictextbox {
        width: calc(var(--datepickerW) - 2rem - 28px);
    }

    .label_6 label + .k-numerictextbox {
        width: calc(var(--datepickerW) - 2rem - 18px);
    }

    .label_6.need .k-datepicker {
        width: calc(var(--datepickerW) - 1rem - 15px);
    }

    /*數字範圍*/
    .rangerText_1.label_6 .k-numerictextbox {
        width: calc((100% - var(--labelW)) / 2 - 2rem + 7px) ;
    }

    .rangerText_1.label_6 > .k-numerictextbox ~ label:last-of-type {
        width: 20px;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .k-datepicker, .k-datetimepicker {
        width: 100% ;
    }

    .label_6 .k-datepicker, .label_6 .k-datetimepicker {
        width: 100%;
    }

    .rangerText_1 {
        text-align: center;
    }

    .label_6 label + .k-textbox, .label_6 label + .k-textarea {
        width: 100% ;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .k-dropdown {
        width: calc(100% - 2px) ;
    }
}


@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .k-numerictextbox {
        width: calc(100% - 38px) ;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .searchInput .k-textbox, .searchInput.inputGroup label[class*="d-none"] + .k-textbox {
        width: calc(100% - 78px) ;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .qryInput label + .k-textbox {
        width: calc(100% - 93px) ;
    }
}

@media (max-width: 891px), (min-width: 992px) and (max-width: 1139px) {
    .tBTGroup > div, .tBTGroup .k-textbox {
        width: 100%;
    }


        .tBTGroup .k-textbox:first-of-type {
            width: calc(100% - 94px);
            margin-bottom: 10px;
        }

    .tBTGroup .btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media(min-width: 992px) {
    .form-inline.tBTGroup {
        width: var(--line2);
    }
}


@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .radioGroup > div > span {
        display: block;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .progressStep .tag:before {
        display: none;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    form-inline, .form-inline[class*="col-"], .form-inline > .row {
        width: 100%;
        margin: 0 0 var(--marginY) 0;
        padding-left: 0;
        padding-right: 0;
    }
    .list .form-inline[class*="col-"]:not(:last-of-type) {
        border-bottom: 1px var(--grayBg) solid;
    }


    .row {
        margin-right: unset;
        margin-left: unset;
    }

    .form-inline label, .form-inline.label_6 label {
        width: 100%;
        margin: 0 0 4px 0;
        display: inline-block;
    }
}

@media (min-width: 992px) and (max-width: 1139px) {
    .form-inline {
        padding-left: 10px;
        padding-right: 10px;
    }

        .form-inline[class*="col-"] {
            padding-left: 15px;
            padding-right: 15px;
        }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .k-filter-row th, .k-grid-header th.k-header, .k-grid td {
        padding: 8px;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .windowContent .form-inline + .row {
        margin: var(--marginY) 0 0 0;
    }
}

@media (max-width: 891px),(min-width: 992px) and (max-width: 1139px) {
    .windowContent label + .k-dropdown {
        width: 100%;
    }

    .windowContent .label_6 label + .k-dropdown {
        width: 100%;
    }
}

#header {
    padding: 12px 0 16px 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    #header .header-system-name {
        font-size: 1.3rem;
        /* position: absolute; */
        top: 1rem;
        left: 150px;
        /* z-index: 10; */
        font-weight: bold;
        color: white;
        letter-spacing: 2px;
        padding: 0 0 0 1rem;
    }

    #header > div::after, .login-main:before {
        display: none;
    }

.header-system-logo {
    vertical-align: middle;
    position: relative;
    width: 32px;
    height: 32px;
}

.container {
    /*min-height: calc(100% - 70px);*/
    padding: 1rem;
    min-height: calc(100% - 100px);
}

.navbar-brand {
    font-size: 1.75rem;
}

.validation-summary-errors {
    padding: 1rem;
}



/*RsuAppQ000*/

.windowView .title {
    background: #2e5f7c;
    color: white;
    padding: 8px 40px;
    font-size: 1.4rem;
    border-radius: var(--borderR) var(--borderR) 0 0;
    font-weight: bold;
    letter-spacing: 2px;
}

.windowView #listView {
    margin-top: 0;
    height: calc(100vh - 500px);
    box-shadow: none;
    padding: 0;
    min-height: 30vh;
    max-height: 50vh;
    border-radius: 0;
}

.windowView .content {
    width: 100%;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    background: white;
    border-radius: 0 0 var(--borderR) var(--borderR);
    padding: 20px 40px;
}

.windowView + .windowView{
    margin-top:20px;
}
.k-listview-content .k-listview-item:not(:first-child)
.boardItem {
    border-top: 1px solid var(--grayBg);
}

.body-content:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 0%;
    background: url(../../Images/homeBg.svg) no-repeat center top;
    background-size: cover;
    z-index: 0;
    width: 100%;
    height: 100%;
}

#header, .container {
    position: relative;
}

.boardTitle{
    font-size: 1.25rem;
}

.time {
    font-size: 1rem;
    vertical-align: middle;
    width: 100px;
}


.container{
    padding-top:40px;
}

h1 {
    font-size: 1.5rem;
    color: var(--colorText);
    margin-bottom: 12px;
}
h2 {
    font-size: 1.25rem;
   
}

.btn2 .btn {
    width: calc((100% - 18px) / 2);
}
    .btn2 .btn:nth-of-type(n+2){
        margin-left:12px;
    }
.list-group-item {
    padding: 8px 20px;
}
.start {
    color: var(--btn-cancel);
}

.colorText, .text-span {
    color: var(--colorText);
}
.promt{
    text-align:right;
    padding:8px 0;
}
/*QueryReserve_1*/
.ReserveHistoryItem {
    padding: 20px;
    border-radius: var(--borderR);
    background: var(--lightGrayBg);

}

    .ReserveHistoryItem .button-area {
        display: flex;
        align-items: center;
        justify-content: center;
    }

#ReserveHistoryList {
    border: unset;
}

/*QueryReserve_2*/
.ReserveHistoryItem .pLine{
    margin-bottom:4px;
}
.ReserveHistoryItem .pLine p {
    display: inline-block;
}
.ReserveHistoryItem + .ReserveHistoryItem {
    margin-top: 20px;
}


.contentScroll {
    max-height: calc(100vh - 450px);
    overflow-y: auto;
}
#BBSListView {
    border-width: 0;
}


@media screen and (max-width:1441px) {
    .windowView .title, h1 {
            font-size: 1.25rem;
        }
        h2 {
            font-size: 1.125rem;
        }
     .time {
        font-size: 1rem;
    }

       
}

#listView .boardItem{
    padding:0;
}

.boardTitle, .boardText {
    width: calc(100% - 110px);
}

.form-inline.info {
    background: var(--lightGrayBg);
    padding: 8px 20px;
    margin-top: 24px;
}

.windowContent .boardText, .boardTitle {
    white-space: normal;
}


.windowContent .board-start .boardText,
.windowContent .board-start .boardTitle,
.windowContent .board-end .boardText,
.windowContent .board-end .boardTitle {
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    font-weight: normal;
}

.windowContent .board-start,
.windowContent .board-end {
    background: var(--lightBg);
}
.windowContent img{
    width:100%;
}

@media screen and (max-width:1201px) {
    .body-content:before {
        background-position-y: 18vh;
    }
  

    }

@media screen and (max-width:769px) {
    .boardTitle{
        font-size:1rem;
    }
    .body-content:before {
        background-size: contain;
        background-position-y: 56vh;
    }
    .windowView .content {
        padding: 20px;
    }
    .windowView .title {
        padding: 8px 20px;
    }
    .container {
        padding-top: 20px;
    }
    .form-inline.info{
        padding:16px;
    }
    .windowContent .board-start,
    .windowContent .board-end {
        justify-content: flex-end;
    }
    }

@media screen and (max-width:545px) {
    .body-content:before {
  
        background-position-y: 68vh;
    }
    .input-send-v-code.form-inline {
        margin-top: 16px;
    }
    .ReserveHistoryItem .pLine p{
        display:block;
    }
    .ReserveHistoryItem .pLine p:first-child{
        margin-bottom:4px;
    }
    .ReserveHistoryItem .pLine {
        margin-bottom: 16px;
    }
}

    @media screen and (max-width:767px) {
        .btn2 .btn {
            width: 100%;
        }

        .btn2 .btn:nth-of-type(n+2) {
            margin: 20px 0 0 0;
        }
        .boardType {
            width: 28px;
            height: 28px;
            background-size: cover;
            margin-right: 4px;
        }
        .time {
            font-size: 0.9rem;
            width: 100%;
            
        }
        .boardTitle {
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 設定顯示 3 行 */
            -webkit-box-orient: vertical;
            overflow: hidden;
            white-space: normal;
            
        }
        .boardContent {
            width: calc(100% - 38px);
        }

        .windowContent  .boardTitle {
            width: calc(100% - 40px);
            font-size:1.25rem;

            
        }

        .windowContent .boardType{
            margin-right: 10px;
        }

        .windowContent .board-end .boardTitle, .windowContent .board-start .boardTitle{
            width:auto;
        }

        #header + .container{
            max-height:calc(100vh - 80px);
            overflow-y:auto;
        }
        
    }