/*統一margin*/
main,
section,
.sectionblock,
.sectionblock-page,
.tableblock,
.chart__block,
.btnblock,
.btnopen,
.btnfund,
.btnfundinfor,
.btnmore,
.activityinforblock,
footer,
.footerblock {
  width: 100%;
  margin: 0 auto;
}

/*選單*/
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 4px 2px -2px rgba(0,0,0,.2);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #ececec;
  height: 60px;
}
.logo a {
  max-width: 250px;
}
.fa {
  padding: 0 5px;
}
#menubtn {
  display: none;
  cursor: pointer;
}
#menubtn img {
  max-width: 28px;
}
.menu ul li {
  float: left;
}
.menu a {
  padding: 0px 15px;
  color: #333;
  font-size: 16px;
  line-height: 60px;
  cursor: pointer;
}
.menu a:hover {
  color: #ff8300;
}
/*內容*/
main {
  /*max-width: 1200px;*/
  overflow: hidden;
  display: block;
}
/*section*/
section {
  position: relative;
}
.sectionblock {
  max-width: 1024px;
  padding: 60px 0;
}
.sectionblock-page{
  max-width: 900px;
  padding: 60px 0;
}
.spacewhite{
  margin-top: 30px;
}
/*btnblock*/
.btnblock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
}
.btnblock a {
  color: #fff;
  text-align: center;
  display: inline;
}
.btnblock i {
  margin-left: 5px;
}
.btnblock-links {
  display: inline;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
}
.btnblock-links a {
  color: #fff;
  text-align: center;
  display: inline;
}
/*立即開戶、推薦基金*/
.btnopen,
.btnfund,
.btnfundinfor,
.btnmore {
  cursor: pointer;
  background: #f57a00;
  font-size: 22px;
  padding: 8px 15px 9px 16px;
  transition: 0.5s;
  text-align: center;
  max-width: 150px;
  border-radius: 30px;
}
.btnopen:after ,
.btnfund:after ,
.btnfundinfor:after,
.btnmore:after {
  content: "\f0da";
	font-family: "Font Awesome\ 5 Free";
	font-weight: 900;
	margin-left: 10px;
  color:#fff;
}
.btnopen:hover {
  background: #d26800;
}
.btnopen-links {
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  background: #f57a00;
  font-size: 20px;
  padding: 8px 15px 9px 16px;
  transition: 0.5s;
  text-align: center;
  max-width: 240px;
  border-radius: 30px;
}
.btnopen-links:after {
  content: "\f0da";
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  margin-left: 10px;
  color:#fff;
}
.btnopen-links:hover {
  background: #d26800;
}
.btnfund {
  background: #cc0000;
}
.btnfund:hover {
  background: #b1000c;
}
.btnmore{
  background: #2e9947
}
.btnmore:hover{
  background: #1c8334
}
.btnfundinfor{
  background: #00acbb;
}
.btnfundinfor:hover{
  background: #0b8a95;
}


/*圖表區*/
table {
  width: 100%;
  text-align: center;
}
.tableblock,
.chart__block {
  margin: 20px 0 40px 0;
}
.chart__block p{
  color: #FF8300;
  padding: 10px 0;
  font-weight: bold;
  line-height: 20px;
}
.tableblock th {
  background: #f57a00;
  /**font-size: 18px;**/
  font-weight: bold;
  padding: 10px 0;
  color: #fff;
  vertical-align: middle;
}

.tableblock tr{
  background: #fff9f2;
}
/* .tableblock tr:nth-child(odd) {
  background: #ececec;
} */
/* .tableblock tr:nth-child(even) {
  background: #fff;
} */
.tableblock td {
  font-size: 16px;
  padding: 10px 15px;
  vertical-align: middle;
}

.tablecaption,
.chart__caption {
  font-size: 14px;
  letter-spacing: 1px;
  /* padding-top: 10px; */
  line-height: 18px;
  text-align: justify;
  color: #6f6f6f;
}
.tablecaption p,
.chart__caption p {
  display: inline;
  color: #cc0000;
}
.chart__caption {
  /* text-align: center; */
  padding: 5px 0 0 2px;
}
.rwd-table {
  margin-bottom: 10px;
}
/*上標符號*/
sup {
  color: #2c67ae;
  display: inline-block;
}
.supred {
  color: #e43030;
}
/*活動辦法*/
.activityTT {
  text-align: center;
  font-size: 35px;
  font-weight: 500;
  padding-bottom: 25px;
}
.activityinforblock {
  text-align: justify;
  font-size: 18px;
  line-height: 25px;
  font-weight: 300;
  /**letter-spacing: 1px;**/
  word-break: break-all;
}
.activityinforblock ul {
  overflow: hidden;
  padding-left: 1.2em;
  list-style: disc;
}
.activityinforblock li {
  margin-bottom: 5px;
}
.activityinforblock b {
  color: #000;
  font-weight: bold;
}
.activityinforblock p {
  color: #ef4e28;
  font-weight: bold;
  display: inline;
}
.activityinforblock a {
  display: inline;
  color: #2c67ae;
  font-weight: bold;
}
.activityinforblock a:hover {
  color: #81e0e4;
}
.activityinforblock .activitylistcontent{
  padding-left: 1.8em;
}
.activitylistcontent li {
  list-style: decimal
}

/*footer*/
footer {
  color: #000;
  background: #e4e4e4;
  padding-bottom: 10px;
  overflow: hidden;
  font-size: 16px;
  text-align: center;
}
footer a {
  color: #299ed8;
  display: unset;
}
footer a:hover {
  color: #81e0e4;
}
.footerblock {
  width: 100%;
  margin: 0 auto;
  max-width: 1280px;
  padding:40px;
  overflow: hidden;
  display: block;
}
/*警語btn*/
.btnshowcontent {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: 0.5s;
  color: #000;
}
.btnshowcontent i {
  padding-left: 10px;
}
.showcontent {
  max-height: 100vh;
  height: auto;
}

/*詳細說明*/
.descriptionblock {
  text-align: justify;
  line-height: 25px;
  letter-spacing: 1px;
  /*margin-top: 50px;*/
  display: none;
}
.descriptionblock ul {
  list-style: decimal;
  padding-left: 1.5em;
}
.descriptionblock li {
  margin-bottom: 10px;
  font-weight: 400;
  font-size:1rem;
}
.descriptionblock a {
  display: inline-block;
  font-weight: bold;
  font-size:1rem;
}
.descriptionblock p,
.descriptionextra {
  display: inline;
  color: #cc0000;
  font-size:1rem;
}
.companyinfor {
  /* margin-top: 30px; */
  text-align: center;
  line-height: 20px;
}
.companyinfor p {
  display: block;
  font-size: 14px;
  color: #000;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 15px;
  }
  .menu {
    max-height: 0px;
    overflow: hidden;
    transition: all 1s;
    position: absolute;
    z-index: 100;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    text-align: center;
  }
  .menu ul li {
    float: none;
    border-bottom: 1px solid #ccc;
  }
  #menubtn {
    display: block;
  }
  .menu-show {
    max-height: 1000px;
  }
  .menu a {
    line-height: 50px;
  }
  .sectionblock {
    padding: 60px 2%;
  }
  .sectionblock-page {
    padding: 60px 2%;
  }
}
@media (max-width: 798px) {
  /*RWD 表格*/
  .rwd-table th {
    display: none;
  }
  .rwd-table td {
    display: block;
    line-height: 25px;
  }
  .rwd-table td:first-child {
    background: #ff8300;
    color: #fff;
  }
  .rwd-table td:before {
    content: attr(data-th);
    float: left;
    font-weight: bold;
    width: 50%;
  }
  .rwd-table td:first-child {
    width: 100%;
    font-size: 20px;
  }
}
@media (min-width: 640px) {
  .col2,
  .col3,
  .col4,
  .col5,
  .col6 {
    display: flex;
    justify-content: space-between;
  }
}
@media (max-width: 640px) {
  #wh-widget-send-button.wh-widget-right {
    bottom: 60px !important;
    z-index: 999 !important;
  }
  .chart__caption {
    text-align: justify;
  }
  .btnopen,
  .btnfund,
  .btnfundinfor,
  .btnmore {
    max-width: 100%;
    border-radius: 0px;
  }
  .btnopen-links {
    width: 100%;
    border-radius: 30px;
	clear: both;
  }
  .activityinforblock ul {
    padding-left: 1.5em;
  }
  .activityinforblock .activitylistcontent{
    padding-left: 1.8em;
  }
  .tableblock th {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .sectionblock,
  .sectionblock-page,
  .footerblock {
    padding: 30px 2%;
  }
  .btnblock {
    clear: both;
    display: block;
  }
  /*.btnblock div + div {
    margin-left: 0;
  }*/
  /*.btnfund,
  .btnopen,
  .btnfundinfor {
    max-width: none;
  }*/

  hr {
    display: none;
  }
  
}
