
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");

.index-background {
    background-image: url(..../img/backGroundImg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 900px;
    background-position: top center;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: url(./img/NanMan_background.png) no-repeat bottom center / cover;
    min-height: 100vh;
}

    body .navbar .navbar-nav .user-name {
        color: rgb(255, 255, 255);
        padding: 5px 10px;
        text-decoration: none;
        font-size: 20px;
        color: #fff;
    }


    body .navbar .navbar-nav .login a {
        color: rgb(255, 255, 255);
        padding: 5px 15px;
    }

.nav li {
    text-align: center !important;
}

.navbar .navbar-header {
    display: flex;
    align-items: center;
    height: 58px;
}

    .navbar .navbar-header h2 {
        margin: 12px;
        height: 24px;
        color: #EAFFF1;
        font-size: 22px;
    }

    .navbar .navbar-header .navbar-brand {
        height: auto;
        padding: 0 0 0 20px;
    }

body .navbar {
    font-size: 16px !important;
    background: linear-gradient(189deg, #5A7898 50%, #CDA692 100%);
    box-shadow: 0px 4px 2px 0px rgba(0, 0, 0, 0.25);
    border-radius: 0 !important;
    border: none;
    z-index: 10000;
    box-shadow: 0 0 4px #568b91;
}

    body .navbar .navbar-header .navbar-brand .mirle-logo {
        height: 35px;
    }

    body .navbar .navbar-header .navbar-text {
        font-weight: 500;
        color: #d9ecff;
        font-size: 20px;
        line-height: 25px;
        padding: 15px;
        margin: 0;
    }

.navbar .navbar-nav li a {
    font-size: 20px;
    color: #FFF;
}


.nav > li > a:hover,
.nav > li > a:focus {
    color: black !important;
    cursor: pointer;
    border-radius: 5px;
    opacity: 1;
}


.a-active {
    color: #FFF !important;
    cursor: pointer;
    background-color: rgb(127, 179, 118);
    border-radius: 5px;
    opacity: 1 !important;
}

body .navbar .navbar-nav li a:hover, body .navbar .navbar-nav li a:focus {
    background-color: white;
    color: black;
    border-radius: 3px;
}

body .navbar .navbar-nav li a .gis_icon {
    background-image: url('img/navbar/gis.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a:hover .gis_icon {
    background-image: url('img/navbar/gis_hover.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a .bim_icon {
    background-image: url('img/navbar/bim.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a:hover .bim_icon, body .navbar .navbar-nav li a:focus .bim_icon {
    background-image: url('img/navbar/bim_hover.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a .bim_icon.active{
    background-image: url('img/navbar/bim_hover.png');
}



body .navbar .navbar-nav li a .file_icon {
    background-image: url('img/navbar/file.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a:hover .file_icon {
    background-image: url('img/navbar/file_hover.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a .file_icon.active {
    background-image: url('img/navbar/file_hover.png');
}

body .navbar .navbar-nav li a .setting_icon {
    background-image: url('img/navbar/setting.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a:hover .setting_icon, body .navbar .navbar-nav li a:focus .setting_icon {
    background-image: url('img/navbar/setting_hover.png');
    height: 25px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

body .navbar .navbar-nav li a .setting_icon.active{
    background-image: url('img/navbar/setting_hover.png');
}

body .navbar .navbar-nav .dropdown-menu li a:hover {
    text-decoration: none;
    border-bottom: none;
    background-color: #FFF;
    color: #000;
    opacity: 1;
}

.EQMng.active ,.BIM.active{
    background-color: #FFF;
    color: #000 !important;
}

.account.active,.password.active {
    text-decoration: none;
    border-bottom: none;
    background-color: #FFF;
    color: #000 !important;
    opacity: 1;
}

body .navbar .navbar-right li .logout_icon {
    background-image: url('img/navbar/out.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
}

body .navbar .navbar-right li:hover .logout_icon {
    background-image: url('img/navbar/out_hover.png');
    height: 30px;
    width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
}

body .navbar .navbar-right li.logout {
    align-items: center
}

    body .navbar .navbar-right li.logout a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

body .body-content .page-title {
    margin-top: 40px;
    margin-bottom: 2rem;
    font-size: 46px;
    line-height: 54px;
    color: white;
    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;
}

#right-ul-login {
    position: relative;
}

    #right-ul-login p {
        color: #FFFFFF;
        font-size: 19px;
        margin: 0 27px 0 0;
    }

.navbar-collapse {
    padding-right: 15px !important;
    width: 100%;
}

.datagrid-header-row td:hover {
    background-color: #0E3650;
}

.top-well {
    margin-bottom: 30px !important;
}

.check-box {
    background-color: #0E3650;
}

.form-control-mb0 {
    margin-bottom: 0 !important;
}

.form-control {
    font-size: 16px;
}

.body-content .panel .datagrid-toolbar,
.body-content .panel .datagrid-pager,
.body-content .panel .datagrid-header-inner {
    background: radial-gradient(#021809, #03501C);
    border-radius: 0;
}

.datagrid-addBtn {
    border-radius: 5px;
    background: #97B3D1;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    padding: 3.6px 10px;
}

#datagrid-addBtn:hover {
    background: #5E91BF;
    transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.datagrid-searchBtn, .datagrid-clearBtn {
    padding: 4px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
}

.datagrid-searchBtn {
    background: #5A7898;
    color: #FFF;
}

#Search:hover {
    background: #3e6fa3;
    transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.datagrid-clearBtn {
    background: #D9D9D9;
    color: #000;
}

#Clear:hover, .datagrid-details:hover {
    background: #817d7d;
    color: white;
    transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.datagrid-download, .datagrid-details, .datagrid-editBtn, .datagrid-delete {
    border-radius: 5px;
    color: #FFF;
    padding: 7px 10px;
    font-size: 15px;
    font-weight: unset;
}

.datagrid-details {
    background: #9A9A9A;
}

.datagrid-editBtn {
    background: #AD6038;
}

    .datagrid-editBtn:hover {
        background: #6e3b20;
        transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
    }

.datagrid-download {
    background: #5E91BF;
}

    .datagrid-download:hover {
        background: #2a5583;
        transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
    }

.datagrid-delete {
    background: #C92D2D;
}

    .datagrid-delete:hover {
        background: #9f0505;
        transition: .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
    }

.index-label > label {
    font-size: 20px;
}

.select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("img/select_icon.png");
    background-repeat: no-repeat;
    background-position: 91% 50%;
}

.equipment.active, .QCMng.active, .User.active {
    background-color: white;
    color: black !important;
}

@media(max-width:1200px) {
    .container-fluid {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }
}

@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;
    }
}

.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;
}

.pagination-info {
    float: right;
    margin: 6px 20px;
    padding: 0;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    color: white;
}

.pagination span {
    font-size: 16px;
    color: #ffffff;
}

.panel-body {
    border-color: #2a4c64;
}

.datagrid-td-rownumber {
    background: transparent !important;
}

.datagrid-cell {
    font-size: 16px;
}

.datagrid-btable {
    color: #111;
}

.datagridBtn {
    font-size: 16px;
    width: 50px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 7px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #ffba2c;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.switchTest {
    display: flex;
}

/*.datagrid .datagrid-pager {
    margin-top: 13.5rem;
}*/

button {
    background-color: #FFFFFF;
    color: #000;
    font-size: 22px;
    border: 0px solid;
    padding: 9px 28px;
    font-weight: 700;
    border-radius: 12px;
}

table tr th {
    background-color: rgb(40 99 49 / 50%);
    color: #fff;
}

table {
    table-layout: auto;
}


.table-bordered > tbody > tr > td {
    border: 1px solid #bdbdbd75;
}

    .table-bordered > tbody > tr > td:first-child {
        font-weight: 500;
        width: 40%;
    }

.table-bordered > thead > tr > th {
    border: 1px solid #bdbdbd75;
    background-color: #5a7898;
    /*pointer-events: none;*/
}

.table-bordered {
    border: 1px solid transparent;
}


.body-content .btn-third {
    background-color: #979797;
    border: solid 2px #979797;
}

.SearchForInfo {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.data-btn {
    background-color: rgb(191, 191, 191);
    border: 0px solid;
    border-radius: 5px;
    /*width: 42px;*/
    height: 42px;
    padding: 8px;
    flex-grow: 1;
}

    .data-btn img {
        height: 100%;
    }

.data-clearBtn {
    margin-left: 1.5rem;
}


.navbar-nav {
    margin: 11px;
}

.form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.form-info {
    flex-direction: column;
    width: auto;
}

.form-item {
    width: 330px;
    max-width: 330px;
}

.form .form-sm {
    width: 13%;
}

.form .btn-width {
    width: 10%;
    display: flex;
    justify-content: center;
}

.form-item input {
    padding: 7px;
    width: 100%;
    font-size: 18px;
}

.btn-box {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 2rem;
    padding: 0 10px;
}

@media (max-width:992px) {
    body .navbar .navbar-nav .user-name {
        max-width: fit-content;
    }
    #right-ul-login p {
    display:none;
    }
}


@media (min-width: 768px) {
    .container {
        width: 92.5%;
    }

    select:focus option:checked {
        background-color: #FFF;
        color: #000 !important;
    }


    @media (min-width: 768px) {
        .container {
            width: 92.5%;
        }
    }

    @media (min-width: 992px) {
        .container {
            width: 92.5%;
        }
    }

    @media (min-width: 1200px) {
        .container {
            width: 92.5%;
        }
    }

    @media (min-width: 1400px) {
        .container {
            width: 92.5%;
        }
    }
}
/*�����ק�*/

@media only screen and (min-width: 1200px) {
    body .navbar .navbar-nav li a.nav-link {
        font-size: calc(50% + 0.7vw);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 5px;
        padding-left: 5px;
        margin: 10px;
        border-radius: 3px;
        height: 30px;
    }

    body #right-ul-login li a {
        font-size: calc(50% + 0.7vw);
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: space-between;
    }

    #navbar .navbar-nav {
        margin: unset
    }

    body .navbar .navbar-nav .dropdown-menu {
        border-radius: 0px;
        border: 0px;
        background-color: #718ba7;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
        float: left;
        width: 100%;
        padding: 11px 0;
        font-size: 14px;
        text-align: left;
        list-style: none;
        background-clip: padding-box;
        transition: ease-in-out 2s
    }

        body .navbar .navbar-nav .dropdown-menu li a {
            font-size: 18px;
            font-weight: 400;
            line-height: 28px;
            color: white;
            padding: 7px 26px;
            border-bottom: none;
            text-align: center
        }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .navbar-toggler {
        border: #b5c2d1 1px solid
    }

    .navbar .navbar-nav li a.nav-link {
        display: flex;
        padding: 10px;
        margin: 10px 0 0;
        align-items: center;
    }

    #navbar .navbar-nav .dropdown-menu {
        border-radius: 0px;
        border: 0px;
        background-color: #718ba7;
        top: 60px;
        left: 0;
        z-index: 1000;
        width: 100%;
    }

    #navbar .navbar-right {
        display: flex;
        flex-direction: row;
    }
}

@media only screen and (max-width: 767px) {
    .navbar-toggler {
        border: #b5c2d1 1px solid
    }

    #navbar .navbar-right {
        display: flex;
        flex-direction: row;
    }

    .navbar .navbar-nav li a.nav-link {
        padding: 10px;
        display: flex;
        align-items: center;
    }

    .navbar-nav .dropdown-menu {
        background: #718ba7
    }
}
/*�����ק�*/

