html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: '微軟正黑體', 'EUDC', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-display: auto;
  margin-bottom: 60px;
}
.index-bg {
    background-color: #64afff;
    background: linear-gradient(132deg, rgba(241, 250, 255, 1) 0%, rgba(100, 175, 255, 1) 62%, rgba(0, 84, 161, 1) 100%) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.panel-sty {
    background: white;
    border-radius: 20px;
    border: 1px solid #FFF;
    max-width: 1430px;
    box-shadow: 0 0 10px rgba(24, 115, 180, .3);
    padding: 1rem 2rem;
    margin-bottom: 5rem;
}
.font-24 {
    font-size: 1.5rem !important;
}
label {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: .3rem;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
.btn-nav-sm {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    padding: 1rem !important;
    width: auto;
    height: auto;
    position: relative;
}
.text-opening {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #035aa6;
}
ul {
    list-style: none;
}


.content-wrapper {
    background: white;
}

.form-all-wrapper {
    background: white;
    padding: 2rem;
    clear: both;
    box-shadow: 0 0 20px rgba(195, 205, 213, .5);
    border: 1px solid white;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: .8rem;
    color: #666;
    margin-bottom: .3rem;
    font-weight: 500;
    white-space: nowrap;
}

.form-control {
    padding: 0rem 1rem;
    height: calc(2.25rem + 2px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    appearance: auto;
}

input.form-control:read-only {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.top-table-filter {
    border: 1px solid #006993;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 3rem;
}

.page-title {
    font-family: inherit;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
}

.breadcrumb-item a {
    color: #999;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #0777a3;
}

.text-right {
    text-align: right;
}
.text-red {
    color: #dc3545;
}
.text-green {
    color: #24BD94 !important;
}

table {
    width: 100%;
}

table a {
    color: #ef6e20;
    text-decoration: none;
}

.table-wrapper thead th {
    background: #166bb5 !important;
    color: white;
}

table tr, table th {
    text-align: center !important;
    font-weight: 400;
    white-space: nowrap;
}
table tr td {
    align-content: center;
}
table tr td .form-check .form-check-input {
    float: none;
}
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: center;
}

.table-wrapper tbody tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}

.page-item.disabled .page-link {
    color: #999;
    background-color: #CCC;
    border-color: #CCC;
}

.page-item.active .page-link {
    z-index: 1;
    color: white;
    background-color: #006993;
    border-color: #006993;
    outline: none !important;
    box-shadow: none !important;
}

.page-item .page-link {
    z-index: 1;
    color: #999;
    background-color: white;
    border-color: white;
    outline: none !important;
    box-shadow: none !important;
}
/***  ***/

.bootstrap-datetimepicker-widget table td{
    white-space: normal;
}

textarea {
    resize: none;
    overflow-y: scroll;
    height: 100px;
}
textarea.form-control {
    height: auto;
}

/* status light */
.status-green {
    color: #00e600;
    font-size: 1.5rem;
}

.status-red {
    color: #e60000;
    font-size: 1.5rem;
}

.status-grey {
    color: #999999;
    font-size: 1.5rem;
}

/* VerifycodeGenerator */
#captcha {
    height: 50px;
    margin-top: 2rem;
}

::deep .captcha-refresh {
    margin-top: 2rem;
    letter-spacing: 0;
    background-color: #e3e3e3;
    border-color: #e3e3e3;
}