@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("./button.css");

body {
    font-family: 'Noto Sans TC', sans-serif;
    min-height: 100vh;
}

input[type="date"] {
    -webkit-appearance: none;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.items-end {
    align-items: end;
}

.w-full{
    width: 100%;
}

.gap-1{
    gap: 1rem;
}

.hidden{
    display: none;
}

.nav li {
    text-align: center !important;
}

.navbar .navbar-header {
    display: flex;
    align-items: center;

}

.navbar .navbar-header .navbar-brand {
    height: auto;
    padding: 0 0 0 20px;
}

body .navbar {
    font-size: 16px !important;
    
    border-radius: 0 !important;
    border: none;
    /* padding: 5px; */
    z-index: 10000;
    
}

body .navbar .navbar-header .navbar-text {
    font-weight: 500;
    color: #d9ecff;
    font-size: 20px;
    line-height: 25px;
    padding: 15px;
    margin: 0;
}


body .navbar .navbar-nav .dropdown-menu {
    border-radius: 0px;
    border: 0px;
    background-color: rgba(256, 256, 256, .95);
}

body .navbar .navbar-nav .dropdown-menu li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #444;
    padding: 7px 26px;
    border-bottom: none;
}

body .navbar .navbar-nav .dropdown-menu li a:hover {
    text-decoration: none;
    border-bottom: none;
}

body .navbar-toggle {
    background-color: #eaa048;
    border: 1px solid #eaa048;
    border-radius: 0;
    margin-left: auto;
}

body .body-content .page-title {
    margin-bottom: 4rem;
    line-height: 54px;
    text-align: center;
}

body .body-content .well .form-group label {
    color: white;
    font-size: 18px;
    font-weight: 400;
}

body .no-print {
    color: #c6e1e3;
    font-size: 18px;
    padding-top: 10px;
}

.navbar-collapse {
    padding-right: 15px !important;
    width: 100%;
}

.datagrid-header-row td:hover {
    background-color: #0E3650;
}

.table-hover tbody {
    background-color: #edf7fd;
    border: 1px solid #5f778d !important;
}

.top-well {
    margin-bottom: 30px !important;
}

.check-box {
    background-color: #0E3650;
}

.form-control-mb0 {
    margin-bottom: 0 !important;
}

.form-control {
    font-size: 16px;
}


.btn:focus {
    outline: none;
}

.navbar-toggle .icon-bar {
    background-color: #ffffff;
    border: 1.5px solid white;
}

.panel-body {
    padding: 0px;
}

.datagrid-header .datagrid-cell span {
    color: #fff;
    font-size: 16px;
}

.datagrid-cell {
    font-size: 16px;
}


.pagination span {
    font-size: 16px;
    color: #ffffff;
}

.panel-body {
    border-color: #2a4c64;
}

.datagrid-td-rownumber {
    background: transparent !important;
}

.datagrid-btable {
    color: #111;
}

table tr th {
    background-color: #2c5a83;
    color: #fff;
}

table {
    table-layout: auto;
}

.table {
    margin-bottom: 3rem;
}

.table-bordered>tbody>tr>td {
    border: 1px solid #bdcfd9;
}

.table-bordered>tbody>tr>td:first-child {
    font-weight: 500;
    width: 40%;
}

.body-content .well {
    padding: 2rem 4rem !important;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem 3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}
/* datagrid 顯示1 到10筆資料，共51筆資料 */
.pagination-info {
    float: right;
    margin: 6px 20px;
    padding: 0;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    color: white;
}

@media (min-width: 992px) {
    body .body-content .well .form-group label {
        font-size: 16px;
    }
}

@media (min-width: 1660px) {
    .body-content .well {
        padding: 30px 30px 30px 0px;
    }

    body .body-content .well .form-group label {
        font-size: 18px;
    }
}


@media (max-width: 1200px) {
    .form {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:992px) {
    #btnsavewater {
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width:768px) {
    .form {
        grid-template-columns: repeat(1, 1fr);
    }

    .download-btn-box {
        display: none;
    }
}

@media (max-width:576px) {
    .body-content .well {
        padding: 1.5rem 3rem !important;
    }

    body .body-content .page-title {
        font-size: 32px !important;
        margin-bottom: 20px;
    }
}