/* --------------------------------

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::after, *::before {
  content: '';
}

/* --------------------------------

Main components

-------------------------------- */
header {
  position: relative;
  height: 160px;
  line-height: 180px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
header h1 {
  font-size: 20px;
  font-size: 1.25rem;
}
@media only screen and (min-width: 768px) {
  header {
    height: 200px;
    line-height: 225px;
  }
  header h1 {
    font-size: 26px;
    font-size: 1.625rem;
  }
}

.cd-tabs {
  position: relative;
  width: 1006px;
  margin: 0 auto;
}
.cd-tabs:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs::after {
  /* subtle gradient layer on top right - to indicate it's possible to scroll */
  position: absolute;
  top: 0;
  right: 0;
  height: 60px;
  width: 50px;
  z-index: 1;
  pointer-events: none;
  background: -webkit-linear-gradient( right , #f8f7ee, rgba(248, 247, 238, 0));
  background: linear-gradient(to left, #f8f7ee, rgba(248, 247, 238, 0));
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.no-cssgradients .cd-tabs::after {
  display: none;
}
.cd-tabs.is-ended::after {
  /* class added in jQuery - remove the gradient layer when it's no longer possible to scroll */
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-tabs nav {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8f7ee;
  box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
}
@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
  .cd-tabs nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    box-shadow: inset -2px 0 3px rgba(203, 196, 130, 0.06);
    z-index: 1;
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs nav {
    position: relative;
    float: left;
    background: transparent;
    box-shadow: none;
  }
}

.cd-tabs-navigation {
  width: 360px;
}
.cd-tabs-navigation:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs-navigation li {
  float: left;
    cursor: pointer;
}
.cd-tabs-navigation a {
  position: relative;
  display: block;
  height: 60px;
  width: 60px;
  text-align: center;
  font-size: 12px;
  font-size: 0.75rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  color: #c3c2b9;
  padding-top: 34px;
  background: #f9fafc;
  color: #858585;
}

.cd-tabs-navigation a.selected {
  background-color: #ffffff !important;
  color: #eb8131;
}
.cd-tabs-navigation a::before {
  /* icons */
  position: absolute;
  top: 12px;
  left: 50%;
  margin-left: -10px;
  display: inline-block;
  height: 20px;
  width: 50px;
  background-image: url("../images/tb.png");
  background-repeat: no-repeat;
}
.cd-tabs-navigation a[data-content='mycard']::before {  /*My Card點數卡*/
  background-position: 0 -24px;
}
.cd-tabs-navigation a[data-content='card']::before {    /*臺灣地區信用卡*/
  background-position: -5px -123px;
}
.cd-tabs-navigation a[data-content='mycard']::before {  /*MyCard會員扣點*/
  background-position: -0px -24px;
}
.cd-tabs-navigation a[data-content='phone']::before {    /*手機/市話/寬頻*/
  background-position: -5px -191px;
}
.cd-tabs-navigation a[data-content='PayPal']::before {    /*paypal*/
  background-position:-5px -73px;
}
.cd-tabs-navigation a[data-content='webATM']::before {    /*webatm*/
  background-position: -5px -156px;
}
.cd-tabs-navigation a[data-content='Visa']::before {      /*visa*/
  background-position: -0px -47px;
}
.cd-tabs-navigation a[data-content='bada']::before {    /*八達通*/
  background-position: -5px -96px;
}
.cd-tabs-navigation a[data-content='settings'].selected::before {
    background-image: url("../images/vicons.png")!important;
    background-position: -77px -18px;
}
.cd-tabs-navigation a[data-content='trash'].selected::before {
    background-image: url("../images/vicons.png")!important;
    background-position: -96px -18px;
}

@media only screen and (min-width: 768px) {
  .cd-tabs-navigation {
    /* move the nav to the left on medium sized devices */
    width: 80px;
    float: left;
  }
  .cd-tabs-navigation a {
    height: 80px;
    width: 80px;
    padding-top: 46px;
  }
  .cd-tabs-navigation a.selected {

    border-left: 2px solid #eb8131;
  }
  .cd-tabs-navigation a::before {
    top: 22px;
  }
}
@media only screen and (min-width: 1006px) {
  .cd-tabs-navigation {
    /* tabbed on top on big devices */
    width: 256px;
    background-color: #f8f7ee;
    box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
  }
  .cd-tabs-navigation a {
    height: 60px;
    line-height: 60px;
    width: 256px;
    text-align: left;
    font-size: 14px;
    font-size: 0.875rem;
    padding: 0 0px 0 64px;
    font-weight: 100;
  }
  .cd-tabs-navigation a::before {
    top: 50%;
    margin-top: -8px;
    margin-left: -20px;
    left: 38px;
  }
}

.cd-tabs-content {
  background: #ffffff;
}
.cd-tabs-content li {
  display: none;
  padding: 1.4em;
}
.cd-tabs-content li.selected {
  display: block;
  -webkit-animation: cd-fade-in 0.5s;
  -moz-animation: cd-fade-in 0.5s;
  animation: cd-fade-in 0.5s;
}
.cd-tabs-content li p {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8493bf;
  margin-bottom: 2em;
}
@media only screen and (min-width: 768px) {
  .cd-tabs-content {
    min-height: 480px;
    width: 750px;
    float: right;
  }
  .cd-tabs-content li {
    padding: 2em 2em 2em 7em;
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs-content {
    min-height: 0;
  }
  .cd-tabs-content li {
    padding: 3em;
  }
  .cd-tabs-content li p {
    font-size: 16px;
    font-size: 1rem;
  }
}

@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bgf5 { background: #f5f5f5;}
.main { background: #f9fafc; width: 1006px; margin: 0 auto; border: 1px solid #e2e7f1;}
.cd-tabs-content li { min-height: 500px; position: relative; padding-bottom: 70px;}
.cd-tabs-bt { padding: 18px;}
.cd-tabs-bt h1 { border-bottom: 1px solid #dcdcdc; padding:20px 0; font-size: 20px; color: #6b6b6b;}
#parent{background:#e8e8e9 url('../images/arrow.png') 200px center no-repeat;width: 220px; height: 40px;  margin: 20px 0 20px 0; overflow: hidden; font-size: 16px; float: left;}
.carent-k { width:268px; margin-right: 20px; float: left;}
.parent {background: #e8e8e9 url('../images/arrow.png') 250px center no-repeat;width: 272px;height: 40px; /*margin: 20px 0 20px 0;*/overflow: hidden;font-size: 16px;float: left;}
.parent select{-webkit-appearance:none; -moz-appearance:none; appearance:none; background:transparent; border:none; padding-left:10px; width: 272px; height:100%; color: #eb8131; line-height: 40px; font-size: 16px;border-radius: 4px;}
#parent select{-webkit-appearance:none; -moz-appearance:none; appearance:none; background:transparent; border:none; padding-left:10px; width: 220px; height:100%; color: #eb8131; line-height: 40px; font-size: 16px;}
.cd-tabs-content li h1 { font-size: 18px;}
.cd-tabs-content li h1 i { background: #d8d8d8; width: 3px; height: 20px; display: block; float: left; margin-right: 10px;border-radius: 15px;}
.cd-tabs-content li h2 { padding: 30px 0 20px 0;}
.cd-tabs-content li h2 .input-srk { margin-right: 38px; width: 268px; height: 40px; border: 1px solid #e2e7f1; padding: 0 10px; color: #959595;border-radius: 4px; font-size: 16px;}
.cd-ye dd{position: relative; width: 200px; cursor: pointer; height: 40px; border: 1px solid #e2e7f1; float: left; color: #333;font-size: 14px; text-align: center;line-height: 40px; border-radius: 4px; margin-right: 24px; margin-bottom: 16px;}
.cd-ye dd:hover {position: relative;border: 1px solid #FE5700;width: 200px;height: 40px;line-height: 40px;color: #FE5700;}
.cd-ye dd.cur { position: relative; border: 1px solid #FE5700; width: 200px; height: 40px; line-height: 40px; background: url(../images/pay-cur.jpg) right bottom no-repeat;color: #FE5700;}
.input_y {float: left;height: 32px;border: 1px solid #E5E5E5;margin: 3px 3px;border-radius: 3px;padding: 0 10px;font-size: 15px;color: #333;line-height: 32px; width: 152px;}
.pay-ok { height: 120px; border: 1px solid #e2e7f1;border-radius: 4px;}
.pay-ok .payok-bt { height: 60px; line-height: 60px; border-bottom: 1px solid #e2e7f1;}
.pay-ok .payok-bt span { width: 135px; text-align: center; display: block; float: left;}
.pay-ok .payok-lr{ height: 60px; line-height: 60px; font-weight: 100;}
.pay-ok .payok-lr span { width: 135px; text-align: center; display: block; float: left; border-right: 1px solid #e2e7f1; color: #eb8131; font-size: 14px; }
.pay-ok .payok-lr span:nth-child(5){ border-right: 0px solid #e2e7f1; }
.pay-btn {width: 260px; height: 50px; width: 100%; margin-top: 20px;}
.pay-btn a { width: 260px; background: #f6752e; font-size: 16px; color: #fff; height: 50px; display: block;border-radius: 5px;text-align: center;  line-height: 50px;}
.image-div {  border-radius: 10px;    padding: 5px 15px;}
.cd-ye dd.cur .Rebate { width: 60px; background: #ff4e0a; height: 20px;border-radius: 30px; color: #fff; font-size: 10px; display: block; line-height: 20px; font-style: inherit; position: absolute; right:-2px; top: -12px;}
.Rebate{ width: 60px; background: #ff4e0a; height: 20px;border-radius: 30px; color: #fff; font-size: 10px; display: block; line-height: 20px; font-style: inherit; position: absolute; right:-2px; top: -12px;}
.cd-ye dd:hover .Rebate { width: 60px; background: #ff4e0a; height: 20px;border-radius: 30px; color: #fff; font-size: 10px; display: block; line-height: 20px; font-style: inherit; position: absolute; right:-2px; top: -12px;}

.game-select{width: 130px;background: #f6752e;font-size: 16px;color: #fff;height: 40px;display: inline-block;border-radius: 5px;text-align: center;line-height: 40px;}
