@charset "utf-8";
/*-----------------------for both-----------------------*/

.hidden-content {
  display: none;
  max-width: 600px;
}
span.classTag {
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  padding: 4px 5px;
  background: #829105;
  color: #fff;
  line-height: 100%;
  border-radius: 2px;
}
span.classTagOrange {
  background: #f90
}
span.org {
 /* background: #efefef;*/
    font-style: italic;
    color: #64a9ff
}
span.spk {
 /* background: #efefef;*/
    color: #cbb32b
}
/*-------------table Display--------------------*/
.tableDisplay {
  border-collapse: collapse;
}
.tableDisplay th {
  padding: 10px ; /*原本是5px，改成10px*/
  word-break: break-all;
  background: #333;
  color: #fff;
  border-bottom: 1px solid #ddd;
}
.tableDisplay td {
  word-break: break-all;
  border-bottom: 1px solid #ddd;
  padding: 10px; /*原本是5px，改成10px*/
    text-align: left
}
.tableDisplay tr:nth-child(odd) td {
  background: #f9f9f9;
}
.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;
}

/*------program table----*/




#table-basic a {
  color: #000;
}
#table-basic a:hover {
  color: #ff7d00;
}
#table-basic thead th, tbody th, tbody td {
  padding: 15px;
  border: 1px solid #B8B8B8;
  text-align: center;
  vertical-align: top;
  line-height: 130%;
}
#table-basic th.top {
  text-align: center;
  background: #262626;
  color: #FFFFFF;
}
#table-basic tbody th {
  font-size: 15px;
}
/* 容器保留水平捲動 */
.table-head-only{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  width:100%;
}

/* 表格用固定排版，不會被內容撐爆或被容器擠扁 */
#table-basic{
  table-layout:fixed;
  border-collapse:separate;   /* 避免某些瀏覽器計算誤差 */
  min-width:1000px;           /* 4 欄 × 280px；改了 col 寬度記得一起改 */
}

/* 內容換行規則（避免不換行造成撐寬） */
#table-basic th,
#table-basic td{
  vertical-align:top;
  word-break:break-word;      /* 斷長字 */
  overflow-wrap:anywhere;     /* 斷長網址/英文 */
  white-space:normal;         /* 確保會換行 */
}

/* freezeTable 複製出來的表頭也要固定排版（避免對不齊） */
.freeze-table table{
  table-layout:fixed !important;
}

.table-striped .top {
  background: #262626;
  color: #FFFFFF;
}
.table-striped thead th, tbody th, tbody td {
  padding: 15px;
  border: 1px solid #B8B8B8;
  text-align: center;
  vertical-align: middle;
  line-height: 130%;
}
.table-striped tbody th {
  text-align: center;
  background: #e7e6e6;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #B8B8B8;
  vertical-align: middle;
}
.Ylight {
  background: #fff2cc
}
.Ymind {
  background: #fff;
  white-space: nowrap;
}

.Ydeep {
  background: #f29838
}
.Ydark {
  background: #ed6d00
}
.Bblue {
  background: #81cddb
}
.intable {
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #B8B8B8;
}
.intableB {
  border: none;
}
.slashTable {
  background: #E7E6E6 /*  linear-gradient(56deg, transparent 50%, #B8B8B8 50.5%, #B8B8B8 50.5%, transparent 50.5%);*/
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-----------------------css table----------------------*/
    .table-scrollable {
    overflow-x: hidden;
  }
    .css-table {
    display: table;
    width: 100%;
  }
  .css-table .thead {
    display: table-header-group;
  }
  .css-table .tbody {
    display: table-row-group;
  }
  .css-table .tr {
    display: table-row;
  }
  .css-table .th, .css-table .td {
    display: table-cell;
    padding: 18px 10px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
  }
  .css-table .th {
    background: #333;
    color: #fff;
    border-bottom: 1px solid #e0e0e0;
  }
  .css-table .td {
   
	  word-break:break-all;
  }
  .css-table .center {
    text-align: center;
  }
 
  /*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: #f9f9f9;
  }
  .tdHeader span { /*電腦版新增*/
    color: #c2c43e /*用第一主題色*/
  }
    
    
    /*-------------------- 特價產品--------------------*/
#discountList li {
	float: left;
	width: 23%;
	height: auto;
	margin: 0 2% 2% 0;
	border: 1px solid #eee;
	border-radius: 5px;
	position: relative;
	overflow:hidden;
	
	
}
#discountList li .prodthumb {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
	
}

#discountList li:nth-child(4n){
	margin-right: 0;
}

#discountList li h4 {
	font-weight: normal;
	font-size: 17px;
	padding: 10px 5px;
	text-align: center;
	vertical-align:middle;
	background: #c1b753;
	color: #fff;
	width:100%;
	



}
#discountList li h4.twoline{ 
  height: 58px;
  vertical-align:middle; 
  width:100%;
}


.disInfo {
	padding: 10px;
}
	
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*--------------- card table -----------------*/
  .thead {
    display: none;
  }
  .card-table .tr {
    border-bottom: 1px solid #ddd;
	padding: 15px;
	display: block;
    
  }
  .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;
  }
  .card-table .tdHeader {
    color: #70351C;
    font-size: 19px;
    margin-bottom: 8px;
    font-size: 19px; /*手機版新增字級*/
    color: #c2c43e /*手機版新增顏色，用第一主題色*/
  }
  .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: #f5f5f5;
  }
  /*date nav*/
  #tabsNav {
    margin: 0 -15px;
  }
  #tabsNav li {
    display: inline-block;
  }
    /*-------------------- 特價產品--------------------*/
#discountList li {
	float: left;
	width: 48%;
	height: auto;
	margin: 0 2% 2% 0;
	border: 1px solid #eee;
	border-radius: 5px;
	position: relative;
	overflow:hidden;
	
	
}
#discountList li .prodthumb {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
	
}

#discountList li:nth-child(4n){
	margin-right: 0;
}

#discountList li h4 {
	font-weight: normal;
	font-size: 17px;
	padding: 10px 5px;
	text-align: center;
	vertical-align:middle;
	background: #c1b753;
	color: #fff;
	width:100%;
	



}
#discountList li h4.twoline{ 
  height: 58px;
  vertical-align:middle; 
  width:100%;
}
    .disInfo {
	padding: 10px;
}
}