﻿ body {
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
    background-color:aliceblue;
}

.errorMessage{
    color:red;
}
.m-portlet .m-portlet__head .m-portlet__head-caption .m-portlet__head-title .m-portlet__head-text {
    font-size: 2rem;
}
.m-portlet__head-text{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
}

.btn{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
}

.m-subheader__breadcrumbs{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
}
.subhead{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
}
.m-form label {
    font-weight: 400;
    font-size: 1.2rem;
}

.tbThead > tr {
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
    background: #3a5185;
    color: #ffffff;
    font-weight:bold;
}
select{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
    font-size: 1.2rem;
}
.form-control{
    font-family: "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif !important;
    font-size: 1.2rem;
}
.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown), html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    height: 100% !important;
}
.m-alert__text>strong{
    font-size: 1.15rem;
}
.dtTbody tr {
    font-size: 0.8rem;
}

.dtTbody tr.even td {
    background: #f4f3f8;
}

.dtTbody tr.odd td {
    background: #ffffff;
}

.dtTbody tr:hover td {
    background-color: #fbf6ec;
}

.m-portlet .m-portlet__head {
    /*height: 3rem;*/
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--open {
    background-color: #1c1e2b;
}

.dtFooter {
    background-color: #e2e9ef;
    color:blue;
}

.dtSubFooter{
    color:blue;
    font-size: 0.8rem;
    border: 1px solid #98999e !important;
}

.dataTables_scrollBody > .table-bordered td, .table-bordered th{
   border: 1px solid #98999e;
}

/*div.dataTables_scrollHeadInner{
  width: 100% !important;
}*/
body { 
    padding-right: 0 !important;
    font-size: 12px;

}
.dtSubFooter > td{
     border-top: 1px solid #98999e !important;
}
.table-bordered {
    border: 1px solid #98999e;
}
div.dataTables_scrollHead table.table-bordered{
     border-top: 0px;
}
div.input-group > .m-bootstrap-select{
    padding: 0;
}
.btn.dropdown-toggle{
    padding-bottom:5px;
    padding-top:5px;
}
.subheadPC{
    display:block;
}
.subheadmb{
    display:none;
}
.headtext{
        font-size: 2rem;
        white-space:nowrap;
}
.img-responsive {
    width: 100%;
    height: auto;
}
/* full screen img pop up */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
    width: 100%;
    }
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
    .dateSelBtn{
        display:none!important;
    }
    .dateSelBtnMb{
        display:flex!important;
    }    
    .subheadPC{
        display:none;
    }
    .subheadmb{
        display:block;
    }
    .headtext{
        font-size: 1.88rem!important;
        white-space:nowrap;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) { 
    .dateSelBtn{
        display:none!important;
    }
    .dateSelBtnMb{
        display:flex!important;
    }
    .subheadPC{
        display:none;
    }
    .subheadmb{
        display:block;
    }
    .headtext{
        font-size: 2rem;
        white-space:nowrap;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { 
    .dateSelBtn{
        display:flex!important;      
    }
    .dateSelBtnMb{
        display:none!important;
    }
    .subheadPC{
        display:block;
    }
    .subheadmb{
        display:none;
    }
    .headtext{
        font-size: 2rem;
        white-space:nowrap;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .dateSelBtn{
        display:flex!important;       
    }
    .dateSelBtnMb{
        display:none!important;
    }
    .subheadPC{
        display:block;
    }
    .subheadmb{
        display:none;
    }
    .headtext{
        font-size: 2rem;
        white-space:nowrap;
    }
}

/* header 時區選取 */
@media (min-width: 1024px) and (max-width: 1200px) { 
    .mb_timezone{
        display:none!important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .dateSelBtn{
        display:flex!important;       
    }
    .dateSelBtnMb{
        display:none!important;
    }
    .mb_timezone{
        display:none!important;
    }
}

