@charset "utf-8";
/*-----------------------for both-----------------------*/
/*-------------table Display--------------------*/
.tableDisplay {
	border-collapse: collapse;
}
.tableDisplay th {
	padding: 10px;
	word-break: break-all;
	background: #333;
	border-bottom: 1px solid #ddd;
	color: #fff;
}
.tableDisplay td {
	word-break: break-all;
	border-bottom: 1px solid #ddd;
	padding: 10px;
}
.tableDisplay tr:nth-child(odd) td {
	background: #fafafa;
}
.tableDisplay tr td.grayTd {
	background: #ededed;
}
.tableDisplay tr td.title {
	background: #E9332F;
	color: #fff;
	font-size: 19px;
	border: 0;
	text-align: center;
}
/*date nav*/
#tabsNav {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
	background: #f5f5f5;
}
#tabsNav li a {
	display: block;
	border-bottom: 3px solid #f5f5f5;
	text-decoration: none;
	color: #888;
	text-align: center;
	padding: 10px 15px;
}
#tabsNav li.active a {
	border-bottom: 3px solid #E9332F;
	color: #333;
	background: #ededed;
}
#tabsNav li a:hover {
	color: #333;
	border-bottom: 3px solid #ccc;
}

/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
/*-----------------------css table----------------------*/
.css-table {
	display: table;
	width: 100%;
}
.css-table .thead {
	display: table-header-group;
}
.css-table .tbody {
	display: table-row-group;
	background: none
}
.css-table .tr {
	display: table-row;
}
.css-table .th, .css-table .td {
	display: table-cell;
	padding: 5px 10px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
}
.css-table .th {
	background: #333;
	color: #fff;
}
.css-table .td {
	word-break:break-all;
}
/*---活動攻略圖片顯示設定---*/
.css-table .td img {
  width: 100%;
  height: 165px;
  object-fit: contain;
}
/*---------CCBC圖片----------*/
.css-table.eventCCBC .td img {
  height: 240px;
}
/*---移除圖片設定---*/
.no-img-style {
    width: auto !important;
    height: auto !important;
    object-fit: unset !important;
 }
.css-table .center {
	text-align: center;
}
.css-table .tr:nth-child(odd) {
	background: #fafafa;
}
/*date nav*/
#tabsNav li a {
	font-size: 17px;
	padding: 10px 30px;
}
#tabsNav li {
	float: left;
}
/*-----------------------data table----------------------*/
.data-table {
	display: table;
	width: 100%;
	border-top: 1px solid #ddd;
}
.data-table .thead {
	display: table-header-group;
}
.data-table .tbody {
	display: table-row-group;
}
.data-table .tr {
	display: table-row;
}
.data-table .th, .data-table .td {
	display: table-cell;
	padding: 6px 10px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
}
.data-table .tdHeader {
	font-weight: bold;
	vertical-align: text-top;
	background:#fafafa;
}
.tdHeader span {
    color: #c9a059;
}
}

/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
/*--------------- card table -----------------*/
.thead {
	display: none;
}
.card-table .tr {
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}
.card-table .tr:last-child {
/*margin: 0;*/
}
.card-table .th {
	border: currentColor;
	width: 100%;
	display: inline-block;
}
.card-table .td {
	border: currentColor;
	width: 100%;
	display: inline-block;
}
/*---------CCBC圖片----------*/
.card-table.eventCCBC .td img {
  height: 300px;
}
.card-table .tdHeader {
	font-weight: bold;
    margin-bottom:10px;
    font-size: 19px;
    color: #c9a059;
}
.tdHeader span {
    color: #000;
    font-size: 15px;
}
/*--------------- css table -----------------*/
.mob-table {
	display: block;
	overflow-x: auto;
}
.mob-table .thead {
	display: table-header-group;
}
.mob-table .tbody {
	display: table-row-group;
}
.mob-table .tr {
	display: table-row;
}
.mob-table .th, .mob-table .td {
	display: table-cell;
	padding: 5px 10px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
	white-space: nowrap;
}
.mob-table .th {
	background: #333;
	color: #fff;
}
.mob-table .center {
	text-align: center;
}
.mob-table .tr:nth-child(odd) {
	background: #fafafa;
}
/*date nav*/
#tabsNav {
	margin: 0 -15px;
}
#tabsNav li {
	display: inline-block;
}
/*-----------------手機板寬度設定------------------*/
.tableDisplay {
	width: 100%;
}
}
