.grid{
    margin:0;
}

/* grid 查詢條件按鈕 */
.query_button {
    border-radius: 3px;
    border: 1px solid #3ec7c0;
    /* padding: 5px 50px; */
    margin: 5px;
    background: #3ec7c0;
    color: #fff;
}
.query_button:hover {
    border: 1px solid #9E9E9E;
    background-color: #9E9E9E;
    transition: all 0.3s ease 0s;
}
.query_button:active {
    position:relative;
    top:1px;
}
.reset_query {
    border: 1px solid #b14e5e;
    background: #b14e5e;
    margin: 5px;
    color: #fff;
}
.del_queryset {
    padding:5px 20px;
    background:#dddddd;
}
.del_queryset:hover {
    padding:5px 20px;
    background: #a8a8a8;
}

/* grid data區塊 */
.grid-toolbar{
    border-radius: 0;
    margin: 0px;
    background: #e1e1e1;
    padding: 5px;
}
.grid-tooolbar-title{
    color:#a5732a;
    font-weight: bolder;
    font-size:20px;
    vertical-align:middle;
    line-height: 200%;
    padding-left:10px;
}
.grid_data_div{
    overflow-x: auto;
    min-height: 326px;
    border: 1px solid #e1e1e1;
    background: #fff;
}
.grid_footer {
    border-radius: 0 0 6px 6px;
    margin: 0px;
    background: #e1e1e1;
    text-align: center;
    padding: 5px 0px;
}

.grid-query{
    box-shadow: none;
    margin: 0px;
    background: #ededed;
    /* background: #f2eee5; */
    border-radius: 15px 15px 3px 3px;
}
.grid_data td, .grid_table th {
    border: 1px solid #DCDCDC;
    padding: 3px 3px;
    cursor:pointer;
    /* background: #fff; */
}
.grid_data th  {
    background: none repeat scroll 0 0 #EFEFEF;
}
.report_data {
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
    margin: 0px ;
}
.report_data {
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
}
.report_data td, .grid_data th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 5px;
}
.report_data th {
    background: #dce9f9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
    background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:    -moz-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:     -ms-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:      -o-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:         linear-gradient(top, #ebf3fc, #dce9f9);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
    border-top: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
}
.serial{
    border: 1px solid #DCDCDC;
    padding: 5px 5px;
    background: none repeat scroll 0 0 #EFEFEF;
    text-align: center;
}
.header{
    cursor:pointer;
    text-align: center;
}
.header:hover{
    background:#DDDDDD
}
.nowsele{
    background:#e4ebf1;
    z-index: 10000;
}
.msg{
    color: #996600;
    font-size: 12px;
}

/* grid 頁碼 */
.pagebar {
    color: #FFFFFF;
    font-size: 9pt;
    padding: 5px;
    line-height: 2.5;
}
.pagebar a {
    color: #FFFFFF;
    font-size: 9pt;
    margin: 5px;
    padding: 5px;
}
.pagebar span.first,span.previous,span.next,span.last {
    font-weight: normal;
    border: none;
    padding: 3px 8px;
    margin: 5px;
    text-decoration: none;
    background: #aaa;
    border-radius: 0;
    cursor: none;
}
.pagebar a.first,a.previous,a.next,a.last{;
    font-weight: normal;
    border-radius: 0px;
    border: none;
    padding: 3px 8px;
    margin: 5px;
    text-decoration: none;
    background: #3f030d;
    cursor: pointer;
}
.pagebar .page {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #000000;
    padding: 5px 6px;
    cursor: pointer;
}
.pagebar .current {
    background: none repeat scroll 0 0 #9c2034;
    margin: 5px;
    padding: 4px 8px;
    cursor: pointer;
}
.pagebar .total {
    color: #808080;
    font-weight: bold;
    margin: 3px;
    padding: 3px 6px;
}
.pagebar .total_num {
    color: #9c2034;
}
.gotopage{
    padding: 3px 10px;
    border: 0.5px solid #9c2034;
    color: #ffffff;
    background: #9c2034;
}
.query_div_button {
    background: linear-gradient(to bottom, #3D94F6 5%, #1E62D0 100%) repeat scroll 0 0 #3D94F6;
    border: 1px solid #337FED;
    border-radius: 6px;
    box-shadow: 0 1px 0 0 #97C4FE inset;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size:12px;
    font-weight: bold;
    margin: 5px;
    padding: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 #1570CD;
    width: 60px;
}
.grid_button {
    font-size:16px;  
    border-radius:4px;
    padding:6px 12px;
    margin:3px;
    text-decoration:none;
    display:inline-block;
}
.grid_button:hover {
    background:-moz-linear-gradient( center top, #cccccc 5%, #ffffff 100% );
}
.grid_button:active {
    position:relative;
    /* top:1px; */
}
.save_button {
    background:var(--bs-red-ncku-01);
    border-radius: 3px;
    border: 1px solid var(--bs-red-ncku-01);
    margin: 5px;
    color: #fff;
}
.save_button:hover {
    background:var(--bs-red-ncku-02);
    border-radius: 3px;
    border: 1px solid var(--bs-red-ncku-02);
    margin: 5px;
    color: #fff;
}
.cancel_button {
  background: #e4ebf1;
  border-radius: 3px;
  border: 1px solid #e4ebf1;
  margin: 5px;
  color: #535353;
}
.cancel_button:hover {
    background:#404040;
    border-radius: 3px;
    border: 1px solid #404040;
    margin: 5px;
    color: #fff;
}
.css_btn_class {
    font-size:12px;
    font-weight:normal;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    width:20px;
    height:20px;
    border-radius:10px;
    border:1px solid #d83526;
    padding:2px 2px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #fa665a 5%, #d34639 100% );
    background:-ms-linear-gradient( top, #fa665a 5%, #d34639 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fa665a', endColorstr='#d34639');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fa665a), color-stop(100%, #d34639) );
    background-color:#fa665a;
    color:#ffffff;
    display:inline-block;
    text-shadow:1px 1px 0px #98231a;
    -webkit-box-shadow:inset 1px 1px 0px 0px #fab3ad;
    -moz-box-shadow:inset 1px 1px 0px 0px #fab3ad;
    box-shadow:inset 1px 1px 0px 0px #fab3ad;
}
.css_btn_class:hover {
    background:-moz-linear-gradient( center top, #d34639 5%, #fa665a 100% );
    background:-ms-linear-gradient( top, #d34639 5%, #fa665a 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d34639', endColorstr='#fa665a');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #d34639), color-stop(100%, #fa665a) );
    background-color:#d34639;
}
.css_btn_class:active {
    position:relative;
    top:1px;
}
.open_query{
    text-align:center;
    height:30px;
    cursor:pointer;
}
.gray_table {
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 5px;
    width: 100%;
}
.gray_table td, .gray_table th {
    border: 1px solid #dcdcdc;
    padding: 3px;
    height:46px;
}
.gray_table th {
    text-align:right;
    padding: 3px 15px;
}
.gray_table thead th {
    text-align:center;
    padding 0px
}
.gray_table th {
    background: #efefef none repeat scroll 0 0;
}
.gray_table tr:hover {
    background: #e1e9ed none repeat scroll 0 0;
}
.required {
    color: red;
    font-family: Verdana,​Tahoma,​Arial;
}
.c20 {
    width: 20%;
    text-align:center;
}
.c30 {
    width: 30%;
    text-align:center;
}
.c25 {
    width: 25%;
    text-align:center;
}
.tc{
    text-align:center;
}
.tl{
    text-align:left;
}
.tr{
    text-align:right;
}
.fill_table{
    width:100%;
}
.table_label{
    color: 	#BB5500;
    font-size:18px;
    font-weight:bolder;
    line-height:42px ;
}
@media (max-width: 768px) {
    .del_queryset {
      width: 100%;
    }
  }