@charset "utf-8";
/*-----------------------for both-----------------------*/
/*-------------table Display--------------------*/
/*.table-columns-only::-webkit-scrollbar { 
    display: none; 
}*/
.tableDisplay {
  border-collapse: collapse;
}
.tableDisplay th {
  padding: 10px;
  /*word-break: break-all;*/
  background: #333;
  color: #fff;
  border: 1px solid #8d8d8d;
  word-wrap: break-word
}
.tableDisplay td {
  /*	word-break: break-all;*/
  border: 1px solid #8d8d8d;
  padding: 10px;
  word-wrap: break-word
}
.tableDisplay tr:nth-child(odd) td {
  background: #f9f9f9;
}
.tableDisplay tr td.grayTd {
  background: #ededed;
}
.tableDisplay tr td.title {
  background: #C51E85;
  color: #fff;
  font-size: 19px;
  border: 0;
  text-align: center;
}
.tableDisplay tr.pink td{
  background: #fbe2d5;
    color: #000
}
/*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 #C51E85;
  color: #333;
  background: #ededed;
}
#tabsNav li a:hover {
  color: #333;
  border-bottom: 3px solid #ccc;
}
.css-table h3, .css-table h3 {
  font-size: 15px;
}
.agenda h3 {
  border: none;
  padding: 0px
}
.time {
  color: #C51E85
}
.programmeFrame {
    width: 100%;
    border: 0;
  }
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-----------------------css table----------------------*/
  #table-columns-only {
    width: 100%
  }
  .rowleft {
    width: 10%;
  }
  .rowTopic {
    width: 50%;
  }
  .rowOther {
    width: 20%;
  }
  .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 .tr:nth-child(even) {
    /*background: #f5f5f5;*/
  }
  .css-table .th, .css-table .td {
    display: table-cell;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    line-height: 130%;
  }
  .css-table .th {
    background: #333;
    color: #fff;
  }
  .css-table .tdHeader {
    background: #eee;
    color: #333;
  }
  .css-table .center {
    text-align: center;
  }
  /*date nav*/
  #tabsNav li a {
    font-size: 17px;
    padding: 10px 30px;
  }
  #tabsNav li {
    float: left;
  }
  /*------------ programFloat -------------------*/
  .programFloat {}
  .programFloat li {
    float: left;
    width: 49%;
    margin-right: 2%
  }
  .programFloat li:last-child {
    margin-right: 0
  }
  .smallTd {
    width: 1%;
  }
  .twoColumn li {
    float: left;
    width: 48%;
    border: 1px solid #C51E85;
    padding: 8px;
    border-collapse: collapse;
    margin-right: 2px;
  }
  .twoColumn li h4 {
    border-bottom: 1px solid #C51E85;
    padding: 10px 0px;
    color: #C51E85;
  }
  .codeGift li {
    float: left;
    width: 31%;
    margin: 0 3px 1% 3px;
    border: 1px solid #e0e0e0;
    padding: 10px;
  }
  .codeGift li:nth-child(3n) {
    margin-right: 0;
  }
  .codeGift li a {
    display: block;
    text-decoration: none;
    color: #000
  }
  .codeGift li a:hover {
    color: #91BD1E
  }
  .codeGiftPN {
    height: 130px;
    display: flex;
    /*flex-wrap: wrap;
    flex-direction: row;*/
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }
  .codeGiftPN h3 {
    font-weight: normal;
    /*font-size: 17px;*/
    padding: 10px 5px;
    text-align: center;
    vertical-align: middle;
    width: 100%
  }
  .codeGift li h4 {
    /*height: 60px;*/
  }
  .codeGift li ol li {
    border: none;
    width: 95%;
    padding: 0px;
    margin: 2px 0px 2px 15px;
    height: auto;
    list-style: decimal
  }
    
    .programmeFrame {
      height: 2800px;
    }
    
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*--------------- css table -----------------*/

  #table-columns-only {
    min-width: 600px
  }
  .rowleft {
    width: 10%;
  }
  .rowOther {
    width: 30%;
  }
  .css-table {
    width: 98%;
    margin: 0 auto;
  }
  .css-table .thead {
    display: none;
  }
  .css-table .tr {
    border: 1px solid #ddd;
    margin-bottom: 5px;
    padding: 10px;
    display: block;
  }
  .css-table .th {
    border: currentColor;
    width: 100%;
    display: inline-block;
  }
  .css-table .td {
    word-break: break-all;
  }
  .css-table .tdHeader {
    font-size: 19px; /*手機版新增字級*/
    color: #ac1368 /*手機版新增顏色，用第一主題色*/
  }
  .css-table .SeminarDetail {
    display: none;
    padding: 10px 0px;
    margin: 5px 0px;
  }
  .css-table .SeminarDetail span {
    color: #ac1268;
  }
  /*--------------- css table -----------------*/
  .mob-table {
    display: block;
    overflow-x: auto;
    /*font-size: 13px;*/
  }
  .mob-table .thead {
    display: table-header-group;
  }
  .mob-table .tbody {
    display: table-row-group;
  }
  .mob-table .tr {
    display: table-row;
  }
  .mob-table .tr:nth-child(even) {
    background: #f5f5f5;
  }
  .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;
  }
  /*date nav*/
  #tabsNav {
    margin: 0 -15px;
  }
  #tabsNav li {
    display: inline-block;
  }
  /*------------ programFloat -------------------*/
  .programFloat li {
    margin-bottom: 10px;
  }
  .twoColumn li {
    float: left;
    width: 100%;
    border: 1px solid #d9d9d9;
    padding: 8px;
    border-collapse: collapse;
    margin-bottom: 8px;
  }
  .twoColumn li h4 {
    border-bottom: 1px solid #C51E85;
    padding: 10px 0px;
    color: #C51E85
  }
  .codeGift li {
    margin: 2px;
    float: left;
    width: 100%;
    border: 1px solid #e0e0e0;
    padding: 10px;
  }
  .codeGift li:last-of-type {
    margin-bottom: 0;
  }
  .codeGift li a {
    display: block;
    text-decoration: none;
    color: #000
  }
  .codeGift li a:hover {
    color: #91BD1E
  }
  .codeGift li ol li {
    border: none;
    width: 90%;
    padding: 0px;
    margin: 2px 0px 2px 30px;
    height: auto;
    list-style: decimal
  }
  .codeGiftPN {
    height: 130px;
    display: flex;
    /*flex-wrap: wrap;
    flex-direction: row;*/
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }
  .codeGiftPN h3 {
    font-weight: normal;
    /*font-size: 17px;*/
    padding: 10px 5px;
    text-align: center;
    vertical-align: middle;
  }
    .programmeFrame {
      height: 5300px; /* 手機高度可自行調整 */
    }
}