

html,
body {
    min-height: 100%;

}
html {
    font-size: 62.5%;
    /*touch-action: manipulation;*/
}
body {
    padding-top: 41px;
    font-size: 1.4rem;
}
.palt {
    font-feature-settings: "palt";
}
#ui-datepicker-div {
    font-size: 2rem;
}
#reportCalendar {
    font-size: 1.6rem;
}

.form-control[readonly] {
    background-color: #fff;
    font-size: inherit;
}

input:not([readonly]) , textarea:not([readonly]) , select:not([readonly]) {
    font-size: 1.4rem;
}

caption {
    caption-side: top;
}


@media(min-width: 768px) {
    #side {
        height: calc(100vh - 72px);
    }
    #side .list-group {
        padding-bottom: 50px;
        height: 100%;
        position: relative;
    }
    #side .list-group .list-group-item:nth-last-child(2) {
        border-bottom: 1px solid rgba(0,0,0,.25);
    }
    #settingLink {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        border-top: 1px solid rgba(0,0,0,.25);
    }
}

/* #loginForm
====================================================================================================*/

#loginForm {
    margin-top: 230px;
}

/* #calculator
====================================================================================================*/
#calculator .display {
    margin-bottom: 1rem;
}
#calculator .display input {
    height: 8rem;
    font-size: 6rem;
    border: none;
    padding: 0;
    text-align: right;
    background-color: #e9ecef;
}
#calculator .keyboard {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    flex-wrap: wrap;
}
#calculator .keyboard input[type="button"],
#calculator .keyboard button {
    padding: 2rem 3rem;
    width: 31%;
    margin-bottom: 1rem;
    font-size: 2.4rem;
    /*touch-action: none;*/
}

#clientMap {
    height: 140px;
    width: 100%;
}

#parkingMap {
    height: 300px;
    width: 100%;
}

#orderMapCanvas {
    height: 500px;
}


#sotable {
    overflow-y: scroll;
}


/* font size
====================================================================================================*/
.fz-20 {
    font-size: 2rem;
}
.fz-30 {
    font-size: 3rem;
}

/* line height
====================================================================================================*/
.lh-1 {
    line-height: 1!important;
}

/* width
====================================================================================================*/
.w-200px {
    width: 200px!important;
}
.w-100px {
    width: 100px!important;
}
.w-150px {
    width: 150px!important;
}
.w-80px {
    width: 80px!important;
}
.w-60px {
    width: 60px!important;
}
.w-40px {
    width: 40px!important;
}

/* box
====================================================================================================*/

.box-a {
    margin: 0 15px;
}
.box-b {
    height: calc(100vh - 153px);
    overflow-y: scroll;
}
.box-c {
    height: calc(100vh - 208px);
    padding: 1rem;
    margin-bottom: 1rem;
    overflow-y: scroll;
}
.box-d {
    height: calc(100vh - 108px);
    overflow-y: scroll;
}
.box-e {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
}
.box-e>* {
    width: 33%;
    margin-right: .5%;
    margin-bottom: .5rem;
}
.box-e>*:nth-child(3n) {
    margin-right: 0;
}
.box-e .custom-control {
    padding-left: 1.3rem;
}
.box-e .custom-control-label::before {
    left: -1.2rem;
}
.box-e .custom-control-label::after {
    left: -1.2rem;
}

.box-f {
    height: calc(100vh - 184px);
    overflow-y: scroll;
}
.box-f>div {
    /*margin-bottom: 1rem;*/
}
.box-f>div:last-child {
    min-height: 100%;
}
.box-g {
    display: flex;
}
.box-g>.box1 {
    width: calc(60% - 1px);
    border-right: solid 1px rgba(0,0,0,.1);
    height: calc(100vh - 148px);
    overflow-y: scroll;
}
.box-g>.box2 {
    width: 40%;
    height: calc(100vh - 148px);
    overflow-y: scroll;
}

.box-h {
    height: calc(100vh - 436px);
    overflow-y: scroll;
}
.box-i {
    height: calc(100vh - 236px);
    overflow-y: scroll;
}
.box-j {
    height: calc(100vh - 536px);
    overflow-y: scroll;
}
/* height
====================================================================================================*/
.h-30 {
    height: 30%!important;
}
.h-90 {
    height: 90%!important;
}
/* font-size
====================================================================================================*/
.fz-13 {
    font-size: 1.3rem;
}
.fz-14 {
    font-size: 1.4rem;
}
.fz-16 {
    font-size: 1.6rem;
}
.fz-20 {
    font-size: 2rem;
}
.fz-24 {
    font-size: 2.4rem;
}

/* form-control
====================================================================================================*/
.form-control-a {
    height: calc(3.875rem + 2px);
    padding: .5rem 1rem;
    font-size: 2rem;
    line-height: 1.5;
    border-radius: .3rem;
}
/* title
====================================================================================================*/
.title-a {
    margin: 0;
    padding: 1rem;
    font-size: 1.6rem;
    text-align: center;
    color: #fff;
    background-color: #007bff;
}
/* table
====================================================================================================*/

.clikable-row {
    cursor: pointer;
}

.table-a {
    width: 100%;
    margin-bottom: 10px;
    font-size: 1.3rem;
    margin-bottom: 0;
}
.table-a thead,
.table-a tbody {
    display: block;
}
.table-a tbody {
    overflow-y: scroll;
    height: calc(100vh - 230px)
}
.table-a th {
    font-weight: normal;
}
.table-a .style1 {
    min-width: 80px;
}
.table-a .style2 {
    min-width: 200px;
}
.table-a .style3 {
    width: 99999px;
    min-width: 200px;
}
.table-a .style4 {
    min-width: 120px;
}
.table-a .style5 {
    min-width: 80px;
}
.table-a .style6 {
    min-width: 120px;
}
.table-a .style7 {
    min-width: 150px;
}
.table-a .style8 {
    min-width: 50px;
}
.table-a .style9 {
    min-width: 60px;
}
.table-a .style10 {
    min-width: 30px;
}


.table-a.type-b {
    margin-bottom: 1rem;
}
.table-a.type-b tbody {
    height: calc(100vh - 288px)
}

.table-b {
    width: 100%;
    margin-bottom: 0;
}
.table-b thead,
.table-b tbody {
    display: block;
}
.table-b tbody {
    overflow-y: scroll;
    height: calc(100vh - 257px)
}
.table-b th {
    font-weight: normal;
}
.table-b .style1 {
    min-width: 100px;
}
.table-b .style2 {
    width: 99999px;
    min-width: 200px;
}
.table-b .style3 {
    min-width: 80px;
}
.table-b .style4 {
    min-width: 120px;
}
.table-b .style5 {
    min-width: 120px;
}
.table-b .style6 {
    min-width: 80px;
}
.table-b.type-b {
    margin-bottom: 1rem;
}
.table-b.type-b tbody {
    height: calc(100vh - 288px)
}


.table-c {
    width: 100%;
    margin-bottom: 0;
}
.table-c thead,
.table-c tbody {
    display: block;
}
.table-c tbody {
    overflow-y: scroll;
    height: calc(100vh - 782px)
}
.table-c th {
    font-weight: normal;
    min-width: 100px;
    border: 1px solid #dee2e6;
}
.table-c td {
    min-width: 100px;
    border: 1px solid #dee2e6;
}
.table-c .style-1 {
    min-width: 200px;
}
.table-c .style-2 {
    min-width: 300px;
}
.table-c .style-width {
    width: 9999px;
}

.table-d {
    font-size: 1.3rem;
    width: 100%;
}
.table-d th,
.table-d td {
    font-weight: normal;
    text-align: right;
}

/* modal
====================================================================================================*/

.modal-a {}
.modal-a .modal-dialog {
    max-width: auto;
    max-width: initial;
}
.modal-a .modal-body {
    height: calc(100vh - 164px);
}
@media(min-width: 992px) {
    .modal-a .modal-dialog {
        width: calc(100vw - 164px);
    }
}


/* tab
====================================================================================================*/

.tab-content-a .tab-pane {
    height: calc(100vh - 204px);
    overflow-y: scroll;
    overflow-x: hidden;
}


.ui-state-default {
    cursor: move;
    background-color: transparent;
}

/* define
====================================================================================================*/

.define-a {
    padding: 0 0 0 100px;
}
.define-a dt {
    width: 100px;
    float: left;
    clear: left;
    margin-left: -100px;
    margin-bottom: 10px;
}
.define-a dd {
    margin-bottom: 10px;
}


.dp-highlight .ui-state-default {
          background: #484;
          color: #FFF;
        }
