
@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/hc_bg.png) no-repeat bottom center / cover;
    min-height: 100vh;
}
.body-content h2{
    margin-bottom:0
}
.main_content form .content, .datagrid_section {
    background: #CFEFDF;
    border-radius: 10px;
    margin: 0 0 30px;
    padding: 20px;
}

.body-content .fix_content {
    background: #BBDBCB;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
table th {
    color:white;
    background: #00BD5E
}
.motor_table_content tbody {
    background: white
}

.body-content .fix_content .fixed_title {
    background: #048B47;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
}
        .body-content .fix_content .fixed_title p {
            margin-bottom: 0;
        }
.main_content .col-form-label {
    font-size: 20px;
    /*        white-space:nowrap*/
}

.datagrid_search .col-form-label {
    font-size: 18px
    /*        white-space:nowrap*/
}
.form-control:focus, .body-content .form-select:focus {
    border-color: #00BD5E;
    border: 1px solid #00BD5E;
    box-shadow: unset;
}
.body-content .form-control, .body-content .form-select {
    border: 1px solid #ced4da00;
    border-radius: 0;
}
.body-content .form-check-input:checked[type=radio] {
    background-image: unset;
    background-color: #048B47
}
    .body-content input[type=text]:focus, .body-content .form-select:focus, .body-content input:focus {
        border-color: #00BD5E;
        border: 1px solid #00BD5E;
        box-shadow: unset;
    }

    .a-active {
        color: #FFF !important;
        cursor: pointer;
        background-color: rgb(127, 179, 118);
        border-radius: 5px;
        opacity: 1 !important;
    }

    .body-content h1{
        margin-bottom:0;
    }
body .body-content .page-title {
    margin-top: 66px;
/*    margin-bottom: 30px;*/
    font-size:50px;
    color: #1A1919;
    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;
}


/*dg css*/
.datagrid_btn_wrap{
    margin-top:16px;
    gap:0 20px;
    display:flex;
    justify-content:center
}
.search_btn {
    background: #108EE9;
    border-radius:10px;
    color:white;
    font-size:18px;
    padding:5px 20px
}
    .search_btn:hover {
        background: #1973B4;
    }
    .empty_btn {
    background: #F46E65;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    padding: 5px 20px
}
        .empty_btn:hover {
            background: #CE453C;
        }
.export_btn {
    background: #F78E3D;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    padding: 5px 20px
}
    .export_btn:hover {
        background: #DB6D19;
    }
.dg_resetpwbtn {
    background: #00BD5E;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    height: 30px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    margin:auto
}
.dg_locate_btn, .dg_detailsbtn {
    background: #048B47;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    width: 50px;
    height: 30px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}
    .dg_locate_btn:hover, .dg_detailsbtn:hover, .main_content_bottom_btn button:nth-child(1):hover {
        background: #00BD5E
    }

.dg_editbtn {
    border: 1px solid #00BD5E;
    border-radius: 10px;
    color: #00BD5E;
    font-size: 15px;
    width: 50px;
    height: 30px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}
.dg_resetpwbtn:hover {
    background: #4eaf7e;
    color: white;
}
.dg_editbtn:hover, .main_content_bottom_btn button:nth-child(2):hover {
    background: #048B47;
    color: white;
    border: 1px solid #048B47;
}
    .DataGrid_datagrid-cell-c1-_operate1 {
        display: flex;
        gap: 0 10px;
        justify-content: center;
    }
.main_content_bottom_btn {
    display:flex;
    gap:0 20px;
    justify-content:center

}
    .main_content_bottom_btn button {
        justify-content: center;
        font-weight:normal
    }
.main_content_bottom_btn button:nth-child(1) {
    background: #048B47;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    width: 60px;
    height: 33px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
    .main_content_bottom_btn button:nth-child(2) {
        border: 1px solid #00BD5E;
        border-radius: 10px;
        color: #00BD5E;
        font-size: 18px;
        width: 60px;
        height: 33px;
        padding: 5px 10px;
        display: flex;
        align-items: center;
    
        }
.main_content_radio{
    display:flex;
    gap:0 20px;
    align-items:center
}
.mb-3 {
  margin-bottom: 1rem !important
}

    .main_content_radio .form-check-input:checked {
        background-color: #048B47;
        border-color: #048B47;
    }

    .main_content_radio .form-check-input {
        border: none
    }
.form-control:read-only {
    background-color: #D6D6D6;
}
input[type="radio"]:disabled {
    opacity: 0.5; 

}
@media only screen and (min-width: 1200px) {
    .col-form-label{
        text-align:right
    }


}
    @media only screen and (min-width: 768px) and (max-width: 1199px) {
        .col-form-label {
            text-align: right
        }
    }
@media only screen and (max-width: 767px) {
    .main_content form .content, .dg_btn_wrap {
        margin-top: 30px
    }
    .body-content {
        padding: 0 5%;
    }
}
        /*dg css*/

        span.red_star{
            color:red
        }
        .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;
        }
.dg_btn_wrap button a{
    color:white !important;
    text-decoration:none;
    font-weight:normal
}
.dg_btn_wrap button:nth-child(1) {
    border-radius: 10px;
    background: #048B47;
    font-size: 18px;
    padding: 10px 20px;
}

    .dg_btn_wrap button:nth-child(1):hover {
        background: #00BD5E;
        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-delete {
            border-radius: 5px;
            color: #FFF;
            padding: 7px 10px;
            font-size: 15px;
            font-weight: unset;
        }*/

.datagrid-details {
    background: #9A9A9A;
}

     
        .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;
        }




        .panel-body {
            padding: 0px;
        }

        .datagrid-header .datagrid-cell span {
            color: #fff;
            font-size: 16px;
        }

.pagination-info {
    float: right;
    margin: 0 20px;
    padding: 0;
    height: 50px;
    /* line-height: 30px; */
    font-size: 18px !important;
    color: white;
    display: flex;
    align-items: center;
}

        .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;
        }
.datagrid_btn_wrap button {
    font-weight: normal
}
/*        table tr th {
            background-color: rgb(40 99 49 / 50%);
            color: #fff;
        }*/
table {
    text-align: center;
    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;
        }


        .

        .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 (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%;
        }
    }
}*/
        /*�����ק�*/


        /*�����ק�*/

