@charset "utf-8";
/*-----------------------for both-----------------------*/
/*-------------table Display--------------------*/
.tableDisplay {
  border-collapse: collapse;
}
.tableDisplay th {
  padding: 10px; /*原本是5px，改成10px*/
  word-break: break-all;
  background: #333;
  color: #fff;
  border: 1px solid #ddd;
}
.tableDisplay td {
  word-break: break-all;
  border-bottom: 1px solid #ddd;
  padding: 10px; /*原本是5px，改成10px*/
}
.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 #115fad;
  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;
  }
  .css-table .tr {
    display: table-row;
  }
  .css-table .th, .css-table .td {
    display: table-cell;
    padding: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 .center {
    text-align: center;
  }
  .css-table .tr:nth-child(odd) {
    /*background: #f9f9f9;*/
  }
  /*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: #e95378 /*用第一主題色*/
  }
  .smallTable {
    width: 60%
  }
  /*-------------------- 特價產品--------------------*/
  #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;
  }
  /*--------------well----------------*/
  .well {
    display: block;
    border: 1px solid #e95378;
    background-color: #fef4f6;
    width: 100%;
    padding: 12px 15px;
  }
  .well ul {
    float: left;
    width: 24%;
  }
  .well ul li {
    line-height: 2em;
  }
  .well ul li a {
    color: #e95378;
  }
  .well ul li a:hover {
    color: #115fad;
  }
	#pic li {
    float: left;
    width: 31%;
    height: auto;
    margin: 0 2% 2% 0;
    /*border: 1px solid #eee;
    border-radius: 5px;
    position: relative;
    /*overflow: hidden;*/
  }
  #pic li .prodthumb {
    width: 100%;
    height: 0;
    padding-bottom: 120%;
    /*overflow: hidden;*/
  }	
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*--------------- card table -----------------*/
  .card-table {
    /*border-top: 1px solid #ddd;*/
    margin: 0 -15px;
  }
  .card-table .thead {
    display: none;
  }
  .card-table .tr {
    border-bottom: 1px solid #ddd;
    padding: 15px;
    display: block;
  }
  .card-table .th {
    border: currentColor;
    width: 100%;
    display: inline-block;
  }
  .card-table .td {
    border: currentColor;
    width: 100%;
    display: block;
  }
  .card-table .tdHeader {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 19px;
    color: #e95378
  }
  .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;
  }
  .smallTable {
    width: 100%
  }
  /*-------------------- 特價產品--------------------*/
  #discountList li {
    float: left;
    width: 49%;
    height: auto;
    margin: 0 2% 2% 0;
    border: 1px solid #eee;
    border-radius: 5px;
    position: relative;
  }
  #discountList li .prodthumb {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border: 1px solid #ededed;
  }
  #discountList li:nth-child(2n) {
    margin-right: 0;
  }
  #discountList li h4 {
    font-weight: normal;
    color: #FFF;
    font-size: 17px;
    background: #c1b753;
    padding: 6px 10px;
    text-align: center;
    width: 100%
  }
  #discountList li h4.twoline {
    height: 58px;
    vertical-align: middle;
    width: 100%;
  }
  .disInfo {
    padding: 10px;
  }
  /*--------------well----------------*/
  .well {
    display: block;
    border: 1px solid #e95378;
    background-color: #fef4f6;
    width: 100%;
    padding: 14px;
  }
  .well ul {
    width: 100%;
  }
  .well ul li {
    line-height: 1.6em;
    float: left;
    width: 48%
  }
  .well ul li a {
    font-size: 15px;
    color: #e95378;
  }
  .well ul li a:hover {
    color: #115fad;
  }
	 #pic li {
    float: left;
    width: 50%;
    height: 100%;
    margin: 0px;
		
    /*border: 1px solid #eee;
    border-radius: 5px;
    position: relative;
    /*overflow: hidden;*/
  }
  #pic li .prodthumb {
    width: 100%;
    height: 0;
    padding-bottom: 130%;
    overflow: hidden;
  }
}