body {
    /*background: #f7f9fc;*/
    padding-top: 0px;
    padding-bottom: 0px;

}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}

.login_background {
    /*background-image: url("../../Content/img/bk6.png");*/
    height: 800px;
    background-position: left top;
    /*background-repeat: no-repeat;*/
    padding: 5px;
    background-size: cover;
    /*background-size: cover;*/
}


.sys-outframe {
    background: #f7f9fc;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 1px;
    margin-right: 1px;
}

.sys-workframe {
    background: #ffffff;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}

.modal-title {
    margin-bottom: 1px;
    margin-left: 1px;
    padding-top: 1px;
    padding-left: 1px;
    line-height: 1;
}



/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.bulletin {
    background: #ffffff;
    padding-top: 1px;
    padding-bottom: 1px;
}

.input-validation-error {
    border: 1px solid #ff0000
}

.input-validation-valid {
    border: 1px solid #00ff00
}

.field-validation-error {
    color: #ff0000
}

.field-validation-valid {
    display: none
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000
}

.validation-summary-valid {
    display: none
}

input.invalid, textarea.invalid, select.invalid {
    background-color: #f4b0b0;
}

error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    padding: 1px 20px 1px 20px;
}

.error-popover {
    background-color: red;
    color: white;
}

.btable-col-sm {
    max-width: 60px;
}
.btable-col-s {
    max-width: 80px;
}

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #e6ecff;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #f2f2f2;
}


.nav-link {
    display: block;
    padding: 0.5rem 0.5rem;
    color: #1888ec;
}

.nav-link:hover, .nav-link:focus {
    text-decoration: none;
    color: #1888ec;
    background-color: #ffffff;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #495057;
    /*color:#1888ec;*/
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    /*background-color: #00ff00;*/

}

/*.nav-link.disabled {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}*/

/*change explorer-fas cancel icon */
.explorer-fas .close {
    display: none;
}

.kv-file-upload{
    display: none;
}

/**/
/*.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}*/

.navbar-light:hover .navbar-nav:hover .nav-link:hover {
    background-color: rgba(140, 140, 140,0.5);
}

.navbar-light:active .navbar-nav:active .nav-link:active {
    background-color: rgba(140, 140, 140,0.5);
}

#account-error.error {
    color: red;
}

#passwd-error.error {
    color: red;
}

#sidebar {
    min-width: 0%;
    max-width: 100%;
    background: rgb(242,242,242);
    color: rgb(15,34,103);
}

#sidebar.active {
    min-width: 0%;
    max-width: 100%;
    text-align: center;
}

/*#sidebar.inactive {
    display:none;
}*/

.menulayer {
    margin: 0px auto; /*div對齊效果*/
    text-align: left; /*display: inline對齊效果*/
}

.menuitem {
    display: inline-block; /*讓div並排*/
    vertical-align: top;
    padding: 10px;
}

.menucard {
    background-color: #fff;
    border-color: rgb(200, 200, 200);
    width: 80px;
    height: 150px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    /*border-radius: 100px;*/

}

.menuhead {
    background-color: #f9f5f5;
    width: 80px;
    height: 50px;
}

.menubody {
    text-align: justify;
    text-justify: distribute;
    font-size: 12pt;
    background-color: #4f5153;
    font-weight: bolder;
    color: #fff;
    width: 80px;
    height: 75px;
    cursor: pointer;
    padding: 5px;
    font-family: Microsoft JhengHei;
}
.menubody::after{
    content: '';
    display: inline-block;
    width: 100%;
}

.menufoot {
    font-size: 12pt;
    background-color: #4f5153;
    color: #fff;
    width: 80px;
    height: 25px;
}

.menusubitem {
    display: inline-block; /*讓div並排*/
    vertical-align: top;
    padding: 10px;
}

.menuswitch {
    vertical-align: top;
    padding: 0px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/*相對位置的*/
.r-popover {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1060;
    display: block;
    max-width: 276px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
}

.solidBlackBorder {
    border-style: solid;
    border-width: 0.5px;
    border-color: black;
}

.solidGrayBorder {
    border-style: solid;
    border-width: 0.5px;
    border-color: gray;
}

.sectionDeined {
    background-color: #fcffbe;
}

.m-flex {
    display: flex !important;
    /* justify-content: space-between; */
    /* flex: 0 0 60px; */
}

.menu {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    overflow: hidden;
    flex: 0 0 auto;
    /*width: var(--menu-width);*/
}

.f-menu-60 {
    width: var(--menu-sm-width) !important;
}

@media all and (max-width: 600px) {
    .menu-none {
        width: 0px !important;
    }
}

.menu ul {
    width: var(--menu-body-width);
    flex-direction: column;
    padding-top: 50px;
    padding-left: 0;
}

    .menu ul .title-set {
        padding-top: 50px;
    }

    .menu ul button {
        padding: 8px 0px;
    }

.menu li {
    display: table;
    height: var(--menu-item-h);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    cursor: pointer;
}

    .menu li:hover {
        background-color: rgb(180, 199, 201);
        /*background-color: rgb(130, 180, 69, 0.50);*/ 
        /*border-radius: 0px 50px 50px 0px;*/
    }

.menu button .menu-icon {
    font-size: 1.2rem;
    color: white; 
    width: var(--menu-sm-width);
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.menu button .menu-text {
    font-size: 1.2rem;
    color: white;
    width: calc((var(--menu-width) - var(--menu-sm-width)) * 0.75);
    display: table-cell;
    vertical-align: middle;
}

.menu button .menu-arrow {
    color: white; 
    width: calc((var(--menu-width) - var(--menu-sm-width)) * 0.25);
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.menu .content li .menu-icon {
    font-size: 1.1rem;
    color: black; 
    width: var(--menu-sm-width);
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.menu .content li .menu-text {
    font-size: 1.2rem;
    color: black; 
    width: calc((var(--menu-width) - var(--menu-sm-width)));
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}

.collapsible {
    background-color: #343A40; /*18191A*/
    color: white; 
    cursor: pointer;
    padding: 18px 0px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
}

    .menu .active,
    .collapsible:hover {
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        background-color: rgb(73, 90, 107);
        /*background-color: rgb(130, 180, 69, 0.50);*/ 
        /*        background-color: darkcyan;*/
    }

.content {
    padding: 0px;
    /* height: 0; */
    display: none;
    overflow: hidden;
    /*    background-color: #f1f1f1;*/
    background-color: rgb(245, 245, 245);
}

.content-h-100 {
    height: 100%;
}

.menu-title {
    white-space: nowrap;
    font-size: 30px;
    color: white; 
    padding: 5px;
    text-align: center;
}

.main {
    flex-direction: column;
    flex: 1;
    width: calc(100% - 250px) !important;
    /* width: 100% !important; */
}

/* panel */
.main-panel {
    flex: 0 0 50px;
    height: 50px;
    margin-bottom: 0;
}

.main-panel li {
    display: table;
    min-width: 50px;
    min-height: 50px;
    border-bottom: solid 2px;
    border-color: rgba(128, 128, 128, 0);
    transition: all .3s;
    -webkit-transition: all .3s;
    cursor: pointer;
    position: relative;
}

.main-panel li .bi {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
}

.main-panel li .fa {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
}

.main-panel li .fas {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
}

.main-panel li:hover {
    /* border-bottom: 2px gray; */
    border-color: gray;
}

.panel-left {
    margin-right: auto;
    margin-bottom: 0;
}

.panel-right {
    /* padding-right: 30px; */
    margin-bottom: 0;
    overflow: hidden;
}

@media all and (max-width: 600px) {
    .panel-right .person-text {
        display: none !important;
    }
}