@import url('https://fonts.googleapis.com/css?family=Poppins|Noto+Sans+TC');

body {
    clear: both;
    text-align: left;
    font-family: "Poppins", "Noto Sans TC", "Microsoft YaHei", sans-serif, FontAwesome !important;
    font-size: 16px !important;
    color: #555;
    line-height: 1.5;
    clear: both;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 1px;
    /*font-weight: 300;*/
    /*background-color:#f1f9ff;*/
    min-height: 100vh;
    color: #313131;
    letter-spacing: 1px;
    position: relative;
}


body,
div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background-color: #F1F1F2;
    /* Replace with your desired background color */
}

.out {
    margin: 0;
    padding: 0;
    background-color: #F1F1F2;
    min-height: 100vh;
}

.container {
    font-family: 'Microsoft JhengHei';
    color: #343a40;
    margin: 0;
    padding: 0;

    max-width: 1500px;
    min-width: 810px;
    position: relative;
}

.sidebar {
    width: 190px;
    min-height: 100vh;
    background-color: #FFFFFF;
}

.card {
    border: none;
    border-radius: unset;
}

.card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.card-header {
    text-align: center;
    background-color: #FFFFFF;
    color: #036EB7;
    border-bottom: 0;
    transition: .3s;
    cursor: pointer;
}

.card-header:hover {
    font-size: 20px;

}

.card-body {
    padding: 0;
    display: block;
    text-align: center;
    line-height: 40px;
    transition: .3s;
}

.card-body a {

    text-decoration: none;

}

.card-body:hover {
    background-color: #F1F1F2;
    font-size: 18px;
}

.main {
    min-width: 900px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 190px;
    z-index: 1;
}

.title {
    padding: 15px;
    height: 60px;
    color: #036EB7;
}

h4 {
    padding-left: 25px;
}

.filter {
    padding-left: 1.5rem;
}

.content {
    padding: 0 40px 25px 35px;
    overflow: auto;
}

.btn-group .btn {
    font-size: 15px;
}

.dv_date {
    width: 150px;
    margin: 0 auto;
    text-align: center;
}

.data_table {
    overflow: auto;
    font-size: 16px;
    color: #343a40;
    white-space: nowrap;
}

.table thead th {
    background-color: #6C757D;
    color: #FFFFFF;
    font-weight: normal;
    padding: 5px 10px;
    border-bottom: 0;
    text-align: center;
}


.table td {
    padding: 5px 10px;
    text-align: left;
}

td.num {
    text-align: right;
}

td.cen {
    text-align: center;
}

td.border_right {
    border-right: 1px gray solid;
}

th.border_right {
    border-right: 1px lightgray solid;
}

td.bold {
    font-weight: bold;
}

td.border_top_none {
    border-top: 0;
}

input.radio {
    height: 38px;
    width: 17px;
    margin: 0 0 0 10px;
    line-height: 38px;
}

label.radio {
    line-height: 38px;
    font-size: 18px;
    cursor: pointer;
}

.c3 text {
    font-family: 'Microsoft JhengHei';
    font-size: 16px;
}

.c3-axis-y text {
    font-size: 16px;
}

.c3-axis-x text {
    font-size: 14px;
}

.c3-shape {
    font-size: 16px;
}

.c3-tooltip {}

.c3-legend-item {
    padding-top: 10px;
}

.c3-legend-item text {
    font-size: 14px;
}

.c3-gauge-value {
    font-weight: bold;
}

.c3 text.c3-chart-arcs-title {
    font-size: 24px;
}

#list {
    margin: 0 1rem;
}

#list .row .col {
    border-bottom: 1px solid rgb(240, 240, 240);
    padding: 0.25rem;
    text-align: center;
}

#list .row .th {
    background-color: #6C757D;
    color: #FFFFFF;
}

.bd-top-black {
    border-top: 1px solid #6C757D !important;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 10px;
    height: 10px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: black;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/*wei 2022-03-29*/
td.bar {
    padding: 0;
    width: 100px;
    text-align: center;
    overflow: visible;
}

.bar-main {
    display: flex;
    display: -webkit-flex;
    /*for safari*/
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-flex-wrap: wrap;
    align-items: center;
    height: 30px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    overflow: visible;
    width: 100%;
    padding: 0 10px;
}

.bar-main .bar {
    position: relative;
    height: 5px;
    width: 100%;
    background-color: #FFFFFF;
    overflow: visible;
}

.bar-main .bar .fill {
    width: 50%;
    height: 100%;
    background-color: #cde3fa;
}

.bar-main .bar .bi {
    position: absolute;
    left: -6px;
    top: -12px;
    font-size: 12px;
}