
.tablepress {
	border-collapse: separate;
	overflow: hidden;
	border: none;
	background: #fff;
}


/* 圓角 */
.dataTables_scrollHead {
	border-radius: 2rem 2rem 0 0 !important;
}


/* 表頭圓角左上 */
thead tr:first-child > :first-child {
  border-top-left-radius: 15px;
}


/* 表頭圓角右上 */
thead tr:first-child > :last-child {
  border-top-right-radius: 15px;
}



/* 取消掉表頭左下的圓角*/
table tr:first-child td:first-child {
    border-bottom-left-radius: 0 !important;
}

/* 左下角*/
table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}


/* 右下角 */
.tablepress tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}




/* 標題+ 表頭的顏色*/
.tablepress thead th,.tablepress thead td {
	background: linear-gradient(180deg, #737373 0%, #2B2B2B 100%) !important;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	text-align: center;
	padding: 1.2rem;
	white-space: nowrap;
}

/* 所有格線 */

.tablepress td {
 	border: .1rem solid #B4B9C5;
  border-collapse: collapse; /* 合併線條，讓格線不重疊 */
}

/* 表頭格設定白線（表頭前2格右邊白色線） */
.tablepress thead th:nth-child(1),
.tablepress thead th:nth-child(2) {
	border-left: 1px solid #FFFFFF;

}

/* 所有欄位前2格右邊不要線*/

.tablepress td:nth-child(1),
.tablepress td:nth-child(2) {
  border-right: none !important;
}


/* 表頭最後一格左邊的白線 */
tr > th:last-child {
	border-left: 1px solid #FFFFFF;
	 
}


/* 表格內容 */
.tablepress tbody td {
	vertical-align: middle;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 500;
	border-top: none;

	padding: 1.6rem;
	line-height: 1.4;
	 text-align: left;

}

/*第二排字換色 */
tr td:nth-child(2) {
 color:#866148;
}




/*第一排灰色背景+字粗 */
td:nth-child(1) {
  background-color: #EDEDF1;
	font-weight: 700;
}

/* 單數行 */
.tablepress>:where(tbody)>.even>* {
	color: var(--bricks-color-qvkgem);
}

/*雙數行*/
.tablepress>:where(tbody)>.odd>* {
	color: var(--bricks-color-qvkgem);
	background-color: #f5f5f5;
}

/* hover */
.tablepress>.row-hover>tr:hover>* {
	background-color: #ddd;
	color: #000;
}

/* 手機板 */
@media (max-width: 767px) {
	/* 手機版左右滑動 */
	.tablepress {
		white-space: nowrap;
	}

	.tablepress tfoot th,
	.tablepress thead th,
	.tablepress tbody td {
		font-size: 1.4rem;
		padding: .6rem;
	}
}



