
body{
    font-family:Microsoft JhengHei,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important;
    overflow-x:hidden !important;
}
/*body::-webkit-scrollbar,*/
.modal-content::-webkit-scrollbar {
  display: none;
}
input[type=number] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, 
.tooltip.bs-tooltip-bottom .arrow::before{
  border-bottom-color: #bbbbbb;
}
.tooltip-inner{
  color: #000;
  font-size:16px;
  padding: 10px 12px;
  text-align: left;
  background: #fff;
  border: 1px solid #bbbbbb;
  max-width: 280px;
  font-family:Microsoft JhengHei,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important;
}
.nothing-link,
.nothing-link:active,
.nothing-link:hover{
  text-decoration: underline;
  color:#000;
}
.idealcard-container{
  max-width:960px; /*1280px*/
  margin:0 auto; 
  overflow-x:hidden;
  min-height:calc(100vh - 214.39px - 75px);
  margin-top:28px;
}
.sticky-progress{
  position:fixed;
  top:70px;
  z-index:999;
  left:0;
  padding:20px 15px 0 15px;
  background:#fff;
}
.sticky-progress > .row{
  margin:0 auto;
}
.slider-image{
  width:100vw;
  max-width: 1280px;
  height:420px;
  outline: none; 
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
  display: block;
}
.slider-image-4g{
  width:100vw;
  max-width: 960px;
  height:360px;
  outline: none; 
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
  display: block;
}
.btn-default{
  background:#bbbbbb !important;
}
header .dropdown-toggle::after{
  display:none !important;
}
#idealcard-sticky-header{
  background:#fff; 
  height:75px;
  box-shadow: 0 2px 5px 0 rgba(89, 89, 89, 0.2);
}

/*-----4g門號申辦進度查詢css-----*/
  .update-purchase-wraper{
    width: 1024px;
    margin: 20px auto 0;
  }

  .update-purchase-header{
    display: flex;
    justify-content: center;
    width: 960px;
    margin: 0 auto;
  }
  .update-purchase-header-img{
    width: 30px;
    height: 30px;
    background-size: cover;
    display: inline-block;
    margin-right: 8px;
  }
  .update-purchase-header-title{
    width: auto;
    height: 18px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #ff1948;
    align-items: center;
    margin: 1px 10px 0px 0px;
  }
  .update-purchase-header-text{
    width: 828px;
    font-size: 16px;
    color: #595959;
  }
  .update-purchase-banner{
    width: 796px;
    height: 150px;
    border-radius: 8px;
    background-color: #d9d9d9;
    margin: 20px auto;
  }
  .update-purchase-content{
    padding: 30px 44px;
    display: flex;
    width: 796px;
    height: 185px;
    border-radius: 8px;
    border: solid 1px #d9d9d9;
    box-sizing: border-box;
    margin: 0 auto 10px;
  }
  .update-purchase-content-info{
    width: 230px;
    height: 125px;
  }
  .update-purchase-content-product-title{
    width: 32px;
    height: 16px;
    font-size: 16px;
    color: #404040;
    display: block;
    margin: 0px 0px 4px 0px;
  }
  .update-purchase-content-product-productName{
    width: 230px;
    height: 16px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    display: block;
  }
  .update-purchase-content-product-subText{
    width: 164px;
    height: 14px;
    font-size: 14px;
    color: #000000;
    display: block;
    margin: 4px 0px;
  }
  .update-purchase-content-phoneNumber{
    margin-top: 15px;
  }
  .update-purchase-content-phoneNumber-title{
    width: 32px;
    height: 16px;
    font-size: 16px;
    color: #404040;
    display: block;
  }
  .update-purchase-content-phoneNumber-number{
    display: block;
    width: 230px;
    height: 16px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin: 2px 0px;
  }

  .update-purchase-content-timeline{
    width: 500px;
    height: 125px;
    display: flex;
    position: relative;
  }
  .update-purchase-content-timeline-titleWrap{
    display: inline-block;
    width: 115px;
  }
  .update-purchase-content-timeline-box{
    width: 71px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    text-align: center;
    font-size: 16px;
  }
  .update-purchase-content-timeline-box-card{
    width: 71px;
  }
  .update-purchase-content-timeline-box-progress{
    width: 71px;
  }
  .update-purchase-content-timeline-barWrap{
    display: inline-block;
    width: 115px;
    height: 3px;
    background-color: #ff1948;
    position: relative;
  }

  .update-purchase-content-timeline-titleWrap:last-child > .update-purchase-content-timeline-barWrap:after{
    content: '';
    position: absolute;
    top: -3.5px;
    right: -9px;
    width: 0;
    height: 0;
    transform: rotate(90deg);
    border-style: solid;
    border-width: 0 8px 10px 8px;
    border-color: transparent transparent #ff1948 transparent;
  }

  .update-purchase-content-timeline-barWrap-bar{
    width: 13px;
    height: 13px;
    background-color: #ff1948;
    border: solid 1px #ff1948;
    border-radius: 50%;
    margin: 0 auto;
    position: absolute;
    top: -5px;
    left: 50px;
  }
  .update-purchase-content-timeline-dateWrapper{
    display: inline-block;
    width: 115px;
    height: 35px;
    margin-top: 10px;
  }
  .update-purchase-content-timeline-dateWrapper-Day{
    width: 43px;
    height: 16px;
    font-size: 16px;
    display: block;
    color: #000000;
    margin: 0 auto;
    text-align: center;
  }
  .update-purchase-content-timeline-dateWrapper-yaer{
    width: 32px;
    height: 14px;
    font-size: 14px;
    color: #595959;
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  @media screen and (min-width: 541px) and (max-width: 768px) {
    .update-purchase-wraper{
       width: 100vw;
    }
    .update-purchase-header{
      width: 96vw;
    }
    .update-purchase-header-text{
      width: 75vw;
    }
    .update-purchase-banner{
      width: 94vw;
    }
    .update-purchase-content{
      width: 94vw;
      padding: 4vw 3vw;
      justify-content: flex-start;
    }
    .update-purchase-content-info{
      width: 37vw;
    }
    .update-purchase-content-timeline{
      width: 75%;
    }
    .update-purchase-content-timeline-titleWrap{
      width: 13vw;
    }
    .update-purchase-content-timeline-box, 
    .update-purchase-content-timeline-box-card, 
    .update-purchase-content-timeline-box-progress,
    .update-purchase-content-timeline-barWrap,
    .update-purchase-content-timeline-dateWrapper{
      width: 13vw;
    }

    .update-purchase-content-timeline-barWrap-bar{
      left: 5.5vw;
    }
  }

  @media screen and (max-width: 540px) {
 
  .update-purchase-wraper{
    width: 100%;
  }

  .update-purchase-header{
    width: 91vw;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .update-purchase-header-img{
    margin-top: 5px;
  }
  .update-purchase-header-title{
    height: auto;
    font-size: 24px;
    margin: 1px 10px 10px 0px;
    width: 100px;
    display: inline-block;
  }
  .update-purchase-header-text{
    width: 96vw;
    font-size: 20px;
  }

  .update-purchase-banner{
    width: 92vw;
  }
  .update-purchase-content{
    display: block;
    padding: 5vw 4vw;
    width: 90vw;
    height: auto;
    margin: 0 auto 20px auto;
  }
  .update-purchase-content-info{
    width: 100%;
    height: auto;
  }
  .update-purchase-content-product{
    display: flex;
  }
  .update-purchase-content-product-title{
    width: 60px;
    height: auto;
    font-size: 24px;
    display: inline-block;
  }

  .update-purchase-content-product-productName{
    width: 63vw;
    height: auto;
    font-size: 24px;
    display: inline-block;
    line-height: 30px;
  }
  .update-purchase-content-product-subText{
    font-size: 20px;
    width: 63vw;
    height: auto;
    margin: 0px;
    line-height: 26px;
  }
  .update-purchase-content-phoneNumber{
    margin-top: 2vw;
  }
  .update-purchase-content-phoneNumber-title{
    font-size: 24px;
    width: 55px;
    height: auto;
    display: inline-block;
    vertical-align: top;
  }
  .update-purchase-content-phoneNumber-box{
    display: inline-block;
    width: 240px;
  }
  .update-purchase-content-phoneNumber-number{
    font-size: 22px;
    width: 240px;
    height: auto;
    display: inline-block;
    margin: 0px;
  }

  .update-purchase-content-timeline{
    width: 100%;
    height: auto;
    margin-top: 6vw;
  }
  .update-purchase-content-timeline-titleWrap{
    width: 20vw;
  }
  .update-purchase-content-timeline-box{
    width: 100%;
    height: 50px;
    margin-bottom: 0px;
  }
  .update-purchase-content-timeline-box-card{
    font-size: 15px;
    width: 100%;
  }
  .update-purchase-content-timeline-box-progress{
    width: 100%;
    font-size: 18px;
  }
  .update-purchase-content-timeline-barWrap{
    width: 20vw;
  }

  .update-purchase-content-timeline-titleWrap:last-child > .update-purchase-content-timeline-barWrap{
    width: 22vw;
  }

  .update-purchase-content-timeline-barWrap-bar{
    position: absolute;
    top: -5px;
    left: 7.5vw;
  }
  .update-purchase-content-timeline-dateWrapper{
    width: 18vw;
    margin-top: 3vw;
  }
  .update-purchase-content-timeline-dateWrapper-Day{
    font-size: 18px;
    width: 100%;
    height: 22px;
  }
  .update-purchase-content-timeline-dateWrapper-yaer{
    width: 32px;
    font-size: 15px;
    width: 100%;
  }
}


/*-----4g門號申辦首頁css-----*/
  .phone-number-wraper{
    width: 1024px;
    margin: 20px auto 0;
  }

  .phone-number-header{
    display: flex;
    justify-content: center;
    width: 960px;
    margin: 0 auto;
  }
  .phone-number-header-img{
    width: 30px;
    height: 30px;
    background-size: cover;
    display: inline-block;
    margin-right: 8px;
  }
  .phone-number-header-title{
    width: auto;
    height: 18px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #ff1948;
    align-items: center;
    margin: 1px 10px 0px 0px;
  }
  .phone-number-header-text{
    width: 828px;
    font-size: 16px;
    color: #595959;
  }
  .phone-number-mainTitle{
    color: #212529;
    text-align: center;
    font-weight: 500;
    max-width: 1024px;
    margin: 0 auto 30px;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 30px;
  }
  .phone-number-main-info{
    width: 960px;
    display: flex;
    margin: 0 auto;
    position: relative;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .phone-number-main-check{
    width: 960px;
    text-align: right;
    height: 30px;
    font-size: 16px;
    color: #404040;
  }
  .phone-number-main-check span{
     cursor: pointer;
  }
  .phone-number-main-infoBox{
    width: 304px;
    border-radius: 8px;
    background-color: #ffffff;
    border: solid 1px #d9d9d9;
    margin-right: 24px;
  }

  .phone-number-main-infoBox:nth-child(4){
    margin-right: 0px;
  }

  .phone-number-main-infoBox:nth-child(5){
   display: none;
  }
  .phone-number-main-header{
    height: 40px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #ff1948;
    text-align: center;
    line-height: 40px;
    color: #fff;
  }
  .phone-number-main-content{
    margin: 28px 0px 15px 0px;
    position: relative;
    height: 340px;
  }
  .phone-number-main-content-main{
    width: 160px;
    height: 48px;
    font-size: 64px;
    font-weight: bold;
    line-height: 0.75;
    letter-spacing: 1px;
    text-align: left;
    color: #0e77ca;
    margin: 0 auto;
  }
  .phone-number-main-content-main:after{
       content: "型";
    position: absolute;
    width: 30px;
    height: 40px;
    font-size: 30px;
    font-weight: bold;
    line-height: 2.2;
    text-align: center;
    color: #0e77ca;
  }
  .phone-number-main-content-dateline{
    width: 84.5%;
    height: 20px;
    font-size: 12px;
    line-height: 1.67;
    color: #909090;
    text-align: right;
    margin-top: 15px;
  }
  .phone-number-main-content-mainBar{
    width: 250px;
    height: 24px;
    border-radius: 12px;
    background-color: #eeeeee;
    margin: 0px auto 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .phone-number-main-content-mainBar span:first-child{
    width: 70px;
    height: 14px;
    font-size: 14px;
    line-height: 1;
    color: #000000;
    margin-left: 20px;
  }
  .phone-number-main-content-mainBar span:last-child{
    width: 33px;
    height: 20px;
    font-size: 12px;
    line-height: 1.67;
    color: #909090;
    margin-right: 20px;
  }
  .phone-number-main-content-subContent{
    margin: 0 auto;
    width: 220px;
  }
  .phone-number-main-content-subContent ul{
    list-style: none;
    display: flex;
    align-items: center;
    margin: 5px auto;
    padding-left: 0px;
  }
  .phone-number-main-content-subContent ul:nth-child(4){
    margin-top: 18px;
  }
  .phone-number-main-content-subContent ul:nth-child(5){
    margin-top: 7px;
  }
  .phone-number-main-content-subContent ul li:first-child{
    width: 98px;
    height: 14px;
    font-size: 14px;
    line-height: 1;
    color: #000000;
    text-align: right;
    margin-right: 5px;
  }
  .phone-number-main-content-subContent ul li:nth-child(2){
    width: 70px;
    height: 14px;
    font-size: 14px;
    line-height: 1;
    color: #000000;
  }
  .phone-number-main-content-subContent ul li:last-child{
    width: 33px;
    height: 14px;
    font-size: 12px;
    line-height: 1.17;
    color: #909090;
    text-align: right;
    margin-left: 11px;
  }
  .phone-number-main-content-subContent ul:nth-child(5) li:first-child, .phone-number-main-content-subContent ul:nth-child(6) li:first-child{
    font-size: 12px;
    height: 14px;
    line-height: 1;
    color: #909090;
  }
  .phone-number-main-content-subContent ul:nth-child(5) li:nth-child(2), .phone-number-main-content-subContent ul:nth-child(6) li:nth-child(2){
    font-size: 12px;
    height: 14px;
    line-height: 1;
    color: #909090;
  }
  .phone-number-main-content-subBar{
    width: 250px;
    height: 24px;
    border-radius: 12px;
    background-color: #eeeeee;
    margin: 20px auto 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
   }
   .phone-number-main-content-subBar span:first-child{
    width: 70px;
    height: 14px;
    font-size: 14px;
    line-height: 1;
    color: #000000;
    margin-left: 20px;
   }
   .phone-number-main-content-subBar span:nth-child(2){
      width: 36px;
      height: 15px;
      border-radius: 7.5px;
      background-color: #ff1948;
      font-size: 10px;
      color: #ffffff;
      text-align: center;
      line-height: 1.3;
      position: absolute;
      left: 70px;
      top: 5px;
   }
   .phone-number-main-content-subBar span:last-child{
      width: 33px;
      height: 20px;
      font-size: 12px;
      line-height: 1.67;
      color: #909090;
      margin-right: 20px;
   }
   .phone-number-main-money{
    width: 128px;
    font-size: 34px;
    text-align: justify;
    color: #ff1948;
    font-weight: bold;
    margin: 0 auto 4px;
   }
    .phone-number-main-money::before{
      content: "售價";
      font-size: 20px;
      font-weight: normal;
   }
     .phone-number-main-money::after{
      content: "元";
      font-size: 20px;
      font-weight: normal;
   }
   .phone-number-main-button{
      width: 120px;
      height: 44px;
      border-radius: 8px;
      text-align: center;
      line-height: 44px;
      color: #fff;
      background-color: #009be8;
      margin: 0 auto 35px;
      cursor: pointer;
   }
   .phone-number-delivery{
      width: 100%;
      max-width: 1024px;
      display: flex;
      justify-content: center;
      margin: 20px auto 40px;
   }
   .phone-number-delivery-iconBox{
      width: 146px;
      margin-right: 70px;
      position: relative;
   }
   .phone-number-delivery-iconBox:last-child{
      margin-right: 0px;
   }
   .phone-number-delivery-iconBox-imageBox{
    height: 80px
   }
   .phone-number-delivery-iconBox-imageBox img{
    display: block;
    margin: 0 auto;
   }
   .phone-number-delivery-iconBox span{
    width: 146px;
    height: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #ff1948;
   }
   .phone-number-delivery-iconBox-text{
      width: 128px;
      height: 120px;
      font-size: 16px;
      color: #404040;
      margin-top: 7px;
   }
   .phone-number-delivery-iconBox-iconPoint{
      background-image: url(../img/deliveryIconFive.png);
      width: 80px;
      height: 25px;
      position: absolute;
      top: 15px;
      right: -80px;
   }
   .phone-number-noteInfo{
    width: 700px;
    margin: 25px auto 80px;
    font-size: 18px;
   }

   .phone-number-noteInfo ul{
    list-style-type: decimal;
    line-height: 1.7;
   }


@media screen and (min-width: 541px) and (max-width: 768px) {
  .phone-number-wraper{
    width: 100%;
  }

  .phone-number-header{
    width: 96vw;
  }
  
  .phone-number-header-text{
    width: 70vw;
  }
  
  .phone-number-main-info{
    width: 100%;
  }
  .phone-number-main-check{
    width: 86%;
  }
 
  .phone-number-main-infoBox{
    width: 44vw;
    margin-right: 3vw;
  }

  .phone-number-main-infoBox:nth-child(3){
    margin-right: 0px;
  }

  .phone-number-main-infoBox:nth-child(4){
    margin-right: 3vw;
    margin-top: 20px;
  }

  .phone-number-main-infoBox:nth-child(5){
    display: block;
    margin-right: 0px;
    margin-top: 20px;
    background-color: #f7f7f7;
    border: solid 1px #f7f7f7;
  }
  .phone-number-delivery{
    width: 90%;
    justify-content: space-between;
    margin-top: 30px;
  }
  .phone-number-delivery-iconBox{
    margin-right: 4vw;
    width: 20vw;
  }
  .phone-number-delivery-iconBox:last-child{
    margin-right: 0px;
  }

  .phone-number-delivery-iconBox-text{
    width: 100%;
    font-size: 16px;
    height: auto;
  }
  .phone-number-delivery-iconBox-iconPoint{
    display: none;
  }
   .phone-number-noteInfo{
    width: 86%;
   }

}

@media screen and (max-width: 540px) {
  .phone-number-wraper{
    width: 100%;
  }

  .phone-number-header{
    width: 80vw;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .phone-number-header-img{
    margin-top: 5px;
  }
  .phone-number-header-title{
    height: auto;
    font-size: 24px;
    margin: 1px 10px 10px 0px;
    width: 100px;
    display: inline-block;
  }
  .phone-number-header-text{
    width: 96vw;
    font-size: 20px;
  }
 
  .phone-number-main-info{
    width: 100%;
    margin-bottom: 50px;
  }
  .phone-number-main-check{
    width: 84%;
    font-size: 20px;
    margin-top: 10px;
  }
  .phone-number-main-check span{
     cursor: pointer;
  }
  .phone-number-main-infoBox{
    width: 84%;
    margin-right: 0px;
    margin-top: 4vw;
  }

  .phone-number-main-infoBox:nth-child(2){
   margin-top: 0px;
  }

  .phone-number-main-infoBox:nth-child(5){
   display: none;
  }

  .phone-number-main-header{
    width: 100%;
    font-size: 20px;
  }
  .phone-number-main-content{
        height: auto;
  }
 
  .phone-number-main-content-dateline{
    margin-top: 0px;
    font-size: 20px;
    width: 91%;
  }
  .phone-number-main-content-mainBar{
    width: 92%;
    height: 30px;
    margin: 12px auto 15px;
  }
  .phone-number-main-content-mainBar span:first-child{
    font-size: 20px;
    line-height: .8;
    width: 30vw;
  }
  .phone-number-main-content-mainBar span:last-child{
    font-size: 20px;
    line-height: 1;
    width: 56px;
    margin-right: 15px;
  }
  .phone-number-main-content-subContent{
    width: 95%;
  }
  .phone-number-main-content-subContent ul{
    justify-content: space-between;
    align-items: flex-start;
  }
 
  .phone-number-main-content-subContent ul li:first-child{
    font-size: 20px;
    line-height: 1.1;
    width: 34vw;
    height: auto;
  }
  .phone-number-main-content-subContent ul li:nth-child(2){
    font-size: 20px;
    line-height: 1;
    width: 21vw;
    height: auto;
  }
  .phone-number-main-content-subContent ul li:last-child{
    font-size: 20px;
    line-height: 1;
    width: 15vw;
    height: auto;
    margin-right: 5vw;
    margin-left: 0px;
  }
  .phone-number-main-content-subContent ul:nth-child(5) li:first-child, .phone-number-main-content-subContent ul:nth-child(6) li:first-child{
    font-size: 20px;
    line-height: 1.1;
    width: 34vw;
    height: auto;
  }
  .phone-number-main-content-subContent ul:nth-child(5) li:nth-child(2), .phone-number-main-content-subContent ul:nth-child(6) li:nth-child(2){
    font-size: 20px;
    line-height: 1;
    width: 21vw;
    height: auto;
  }
  .phone-number-main-content-subBar{
    width: 90%;
    height: 30px;
    margin: 25px auto 15px;
   }
   .phone-number-main-content-subBar span:first-child{
    font-size: 20px;
    line-height: .8;
   }
   .phone-number-main-content-subBar span:nth-child(2){
    font-size: 14px;
    width: 50px;
    height: 21px;
    line-height: 1.5;
    left: 83px;
   }
   .phone-number-main-content-subBar span:last-child{
    font-size: 20px;
    line-height: 1;
    width: 56px;
    margin-right: 10px;
   }
  
   .phone-number-main-button{
     font-size: 20px;
   }


   .phone-number-delivery{
    width: 86%;
    flex-wrap: wrap;
    margin-bottom: 25px;
    margin-top: 30px;
   }
   .phone-number-delivery-iconBox{
    width: 39vw;
    margin-bottom: 8vw;
    margin-right: 4vw;
   }
    
   .phone-number-delivery-iconBox span{
    font-size: 24px;
   }
   .phone-number-delivery-iconBox-text{
    width: 100%;
    font-size: 24px;
    height: auto;
   }
   .phone-number-delivery-iconBox-iconPoint{
    display: none;
   }

   .phone-number-noteInfo{
    width: 86%;
    font-size: 24px;
   }

   .phone-number-noteInfo ul{
    list-style-type: decimal;
    line-height: 1.7;
   }

}


@media (min-width: 993px){
  header > section.container,
  .sticky-progress > .row{
      max-width: 960px;
  }
}

@media (min-width: 721px){
  .activity-font{
    margin-bottom: 0;
  }
  .activity-font-first{
    padding-top:80px;
  }
  #idealcard-page-navigation{
    padding:0 15px;
  }
}


@media (min-width: 768px) and (max-width: 991px){
  .container {
      max-width: 875px;
  }
}
@media screen and (max-width: 576px){
  .activity-font{
    margin-bottom: 0;
  }
  .activity-font-first{
    padding-top:20px;
  }
  .activity-div{
    height: 120px;
    min-width: 120px;
  }
}
@media (min-width: 576px) and (max-width: 767px){
  .activity-font{
    margin-bottom: 0;
  }
  .activity-font-first{
    padding-top:50px;
  }
  .activity-div{
    height: 150px;
  }
  .container {
      max-width: 675px;
  }
}
@media screen and (min-width: 720px) and (max-width: 960px) {
  .listcard-title{
    font-size: 16px !important;
  }
}
@media screen and (min-width: 0px) and (max-width: 475px) {
  .listcard-title{
    font-size: 18px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 775px) {
  .fs-36.underline.pb-1{
    font-size: 28px !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  #idealcard-capCards > .col-lg{
    width:33.33% !important;
  }
}
@media screen and (min-width: 720px) and (max-width: 1023px) {
  .idealcard-3Gother > .col.text-center{
     padding:50px 20px; 
     min-width:204px;
     flex:0 0 28.33%; 
     margin:0 5px 13.5px 5px;
  }
  .idealcard-3Gother > .col.text-center > label.fs-24{
    margin-bottom:40px !important;
    font-size:23px;
  }
  .idealcard-product-how-to-apply-prepay-title > .col-5{
    text-align: right;
    padding-right: 0;
  }
  .idealcard-product-how-to-apply-prepay-title > .col-7{
    padding-left: 0;
  }
  .idealcard-product-how-to-apply-prepay-content{
    justify-content:center;
  }
  .idealcard-product-how-to-apply-prepay-content > .col-3{
    text-align:center;
    max-width: 25.25%;
    flex:0 0 25.25%;
    padding-left: 0;
 }
  .idealcard-product-how-to-apply-prepay-content > .col-6{
    max-width: 55%;
    flex:0 0 55%;
    padding-left: 0;   
 }
 .idealcard-product-how-to-apply-prepay-content > .col-6 > .row > .col-6:nth-of-type(1){
    max-width: 60%;
    flex:0 0 60%;
 }  
 .idealcard-product-how-to-apply-prepay-content > .col-6 > .row > .col-6:nth-of-type(2){
    max-width: 40%;
    flex:0 0 40%;
 }
  .idealcard-product-how-to-apply-prepay-line{
    max-width:90.625%; 
    height:1px; 
    border: solid 1px #e9e9e9; 
    margin:0 auto; 
    margin-bottom:30px;
  }
  .idealcard-product-how-to-apply{
    min-width: 200px;
    width:31%;
    padding: 0 10px;
  }
  .apply-content{
    padding:0 25px;
  }    
}
@media screen and (min-width: 0px) and (max-width: 719px) {
  .idealcard-3Gother > .col.text-center{
     padding:50px 10px; 
     min-width:145px;
     flex:0 0 28.33%; 
     margin:0 5px 13.5px 5px;
  }
  .idealcard-3Gother > .col.text-center > label.fs-24{
    margin-bottom:40px !important;
    font-size:23px;
  }  

  .idealcard-product-how-to-apply-prepay-title > .col-5{
    text-align: center;
    max-width:100%;
    flex:0 0 100%; 
  }
  .idealcard-product-how-to-apply-prepay-title > .col-7{
    text-align: center;
    max-width:100%;
    flex:0 0 100%; 
  }
  .idealcard-product-how-to-apply-prepay-content{
    justify-content:center;
  }
  .idealcard-product-how-to-apply-prepay-content > .col-3{
    text-align:center;
    max-width: 100%;
    flex:0 0 100%;
    margin-bottom: 20px;
 }
  .idealcard-product-how-to-apply-prepay-content > .col-6{
    max-width: 100%;
    flex:0 0 100%;
 }
  .idealcard-product-how-to-apply-prepay-content > .col-6 > .row{
    justify-content: center;
}
 .idealcard-product-how-to-apply-prepay-content > .col-6 > .row > .col-6:nth-of-type(1){
    max-width: 60%;
    flex:0 0 60%;
 }  
 .idealcard-product-how-to-apply-prepay-content > .col-6 > .row > .col-6:nth-of-type(2){
    max-width: 30%;
    flex:0 0 30%;
 }
  .idealcard-product-how-to-apply-prepay-line{
    max-width:94.5652%; 
    height:1px; 
    border: solid 1px #e9e9e9; 
    margin:0 auto; 
    margin-bottom:30px;
  }  
  .idealcard-product-how-to-apply{
    width: 100%;
  }
  .apply-content{
    padding:0 80px;
  } 
  #idealcard-footer-nav{
    text-align: center;
    justify-content: center;
    margin-top: 20px;
  }
  .slider-image-1280,
  .slider-image-1024{
    display: none;
  }
  #idealcard-topup-phone{
    width: 100%;
  }
  #idealcard-buy-step-4-button{
    position: fixed;
    max-width: 100vw;
    bottom: 0;
    left: 0;
    background: #f7f7f7;
    z-index: 100;
    margin: 0 !important;
    padding: 15px 0;
  }
  .index-product-card{
    max-width:460;
    width:90%;
    margin:0 auto;
  }    
  .footer-left{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }
  .footer-left > img:nth-of-type(1){
    display: none;
  }
  .footer-right{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;    
  }
  .footer-right > .row .row{
    align-items: flex-end;
    justify-content: center;
    margin: 20px 0 0 0;
  }
  .footer-right > .row {
    margin:0;
  }
  .idealcard-footer-context{
    text-align:center;
  }
  .idealcard-footer-gif{
    display:none;
  }
  #idealcard-footer-nav .nav-link{
    padding:0.5rem 5px;
  }
}
@media screen and (min-width: 0px) and (max-width: 720px) {
  #idealcard-buy-progressbar{
    margin-top:50px;
  }
  #idealcard-sip-apply-web{
    position: fixed;
    bottom:0;
    left:0;
    padding:0;
    z-index: 100;
    margin: 0 !important;
  }
  #idealcard-sip-apply-web a{
    width:100vw !important;
    border-radius:0;
  }
  .idealcard-sip-step-2-credit input{
    width:25%;
    max-width:130px; 
  }
  #idealcard-payment-dividend-table > .sip-insert-width,
  #idealcard-buy-step-3 #idealcard-invoice-component,
  #payment-radio-select{
    padding: 0 !important;
  }  
  #idealcard-news,#idealcard-sip{
    max-width:100%;
    padding:0 !important;
    width:100%;
    flex: initial;
  }      
  .idealcard-bank-dividend-static{
    padding:20px 30px;
  }
}
@media screen and (min-width: 0px) and (max-width: 540px) {
  .idealcard-product-introduce-img{
    max-width:100%;
    flex: 0 0 100%; 
    margin-bottom:20px; 
  }
  .idealcard-product-introduce-content{
    max-width:100%;
    flex: 0 0 100%;
  }
  .product-4g{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product-4g > .row{
    width: 95%;
    margin: 0 auto;
  }
  .product-4g-540-text{
    padding: 0;
  }
  .product-4g > .row > .idealcard-product-introduce-content > .row.text-left{
    text-align: center !important;
  }
  .payment-radio{
    padding:0 5px !important;
  }
  #idealcard-bottom-banner > div:nth-of-type(1){
    padding:0 !important;
  }
  #idealcard-bottom-banner > div:nth-of-type(2),
  #idealcard-bottom-banner > div:nth-of-type(3){
    display:none;
  }  
  .index-product-cap-card{
    padding: 0 !important;
  } 
  .index-product-cap-card .card-body{
    padding: 0 22.5px !important;
  }
  .news-left,
  .news-right{
    flex: 0 0 100%;
    max-width: 100%;  
  }
  .news-right{
    text-align: right;
  }
  .slider-image{
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    height: 83vw;
  }
  .idealcard-slider{
    height: 100%;
  }
}
@media screen and (min-width: 720px) and (max-width: 1023px) {

  #idealcard-footer-nav{
    text-align: center;
    justify-content: center;
    margin-top: 20px;
  }
  .slider-image-540,
  .slider-image-1280{
    display: none;
  }  
  .buy-insert-width{
    max-width: 680px;
    margin:0 auto; 
  }
  .buy-card{
    max-width:680px;
    height:215px;
    background:#fff;
    padding:20px 50px;
    margin: 0 auto;    
  }
  .buy-card > .col-12 > .fs-24{
    font-size:36px;
  }
  .buy-card > .col-12 > .d-flex.justify-content-around{
    justify-content: space-between !important;
    margin-top: 20px;
  }
  .buy-card > .col-12 > .d-flex.justify-content-around > div.fs-22{
    padding-left: 315px;
  }
  .buy-card-col{
    width:100%;
    flex: 0 0 100%;
  }
  .buy-dividend-card{
    max-width:680px;
    margin:0 auto;
  }

  .footer-left{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }
  .footer-right{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;    
  }
  .footer-right > .row .row{
    align-items: flex-end;
    justify-content: center;
    margin-top: 20px;
  }
  .footer-right > .row .row > .col-10{
    max-width: 540px;
  }
  .idealcard-footer-context{
    text-align:right;
  }
  .idealcard-footer-gif{
    max-width:42px;
    display: flex;
    margin-left: 13px;
  }
  .right-discount{
    float:right;
    padding-right:15px;
  }

}
@media screen and (min-width: 0px) and (max-width: 1023px) {
  #idealcard-header ul li{
    display:none;
  }
  #idealcard-header ul li#idealcard-menu,#idealcard-header ul li#idealcard-icon{
    display:block;
  }
  #idealcard-header ul{
    justify-content:space-between;
  }
  #idealcard-icon{
    margin-left:1rem;
  }
  #idealcard-menu{
    margin-right:1rem;
  }
  #idealcard-news{
    max-width: 640px;
    margin: 0 auto;
  }
  .product-4g{
    padding-left:50px;
    padding-right:50px;
    padding-bottom:20px;
  }
  .idealcard-3Gother-month > .col.text-center{
    max-width:100% !important;
    flex:0 0 100%;
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1024px){
  .activity-font{
    margin-bottom: 0;
  }
  .activity-font-first{
    padding-top:80px;
  }
  #idealcard-header ul li{
    display: inline-flex;
  }  
  #idealcard-header ul li#idealcard-menu{
    display:none;
  }  
  .product-4g{
    padding-left:200px;
    padding-right:200px;
    padding-bottom:40px;
  }
  .idealcard-3Gother > .col.text-center{
     padding:50px 25px; 
     max-width:184px; 
     margin:0 5px;
     height:300px;
  }
  .idealcard-product-how-to-apply-prepay-title > .col-5{
    text-align: right;
    padding-right: 0;
  }
  .idealcard-product-how-to-apply-prepay-title > .col-7{
    padding-left: 0;
  }
  .idealcard-product-how-to-apply-prepay-content{
    justify-content:center;
  }
  .idealcard-product-how-to-apply-prepay-content > .col-3{
    text-align:center;
    padding-left: 60px;
  }
  .idealcard-product-how-to-apply-prepay-content > .col-6{
    padding-left: 40px;
  }
  .idealcard-product-how-to-apply-prepay-line{
    max-width:58.33%; 
    height:1px; 
    border: solid 1px #e9e9e9; 
    margin:0 auto; 
    margin-bottom:30px;
  } 
  .idealcard-product-how-to-apply{
    width: 285px;
  }
  .apply-content{
    padding:0 45.5px;
  } 

  #idealcard-footer-nav{
    text-align: right;
    justify-content: flex-end;
  }
  .slider-image-540,
  .slider-image-1024{
    display: none;
  }

  .buy-card{
    max-width:308px;
    height:175px;
    background:#fff;
    padding:10px 20px;
  }
  .footer-left{
    display: flex;
    align-items: flex-end;   
  }
  .footer-right > .row .row{
    align-items: flex-end; 
    justify-content: flex-end;
  }
  .idealcard-footer-context{
    text-align:right;
  }
  .idealcard-footer-gif{
    max-width:42px;
    display: flex;
    margin-left: 13px;
  }
  .right-discount{
    float:right;
    padding-right:15px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .idealcard-index-list-group-item{
    font-size: 16px !important;
    line-height: 30px;
  }
}
@media screen and (min-width: 475px) and (max-width: 719px) {
  .idealcard-index-list-group-item{
    font-size: 18px !important;
    line-height: 30px;
    padding-left: 10px !important;
  }
  .buy-insert-width{
    max-width: 500px;
    margin:0 auto;
  }
  .buy-card{
    max-width:500px;
    height:215px;
    background:#fff;
    padding:20px 30px;
    margin: 0 auto;    
  }
  .buy-card button{
    width:150px !important;
  }
  .right-discount{
    float:right;
    padding-right:40px;
  }
  .buy-card > .col-12 > .fs-24{
    font-size:36px;
  }
  .buy-card > .col-12 > .d-flex.justify-content-around{
    justify-content: space-between !important;
    margin-top: 20px;
  }
  .buy-card > .col-12 > .d-flex.justify-content-around > div.fs-22{
    padding-left: 120px;
  }
  .buy-card-col{
    width:100%;
    flex: 0 0 100%;
  }
  .buy-dividend-card{
    max-width:500px;
    margin:0 auto;
    padding:0 30px;
  }    
}
@media screen and (min-width: 0px) and (max-width: 474px) {
  .idealcard-index-list-group-item-date{
    max-width: 85px !important;
    flex:initial !important;
    width:100%;
  }
  .idealcard-index-list-group-item{
    font-size: 16px !important;
    line-height: 30px;
  }
  #idealcard-icon div{
    font-size: 16px;
    margin-top: 10px !important;
  }
  .buy-insert-width{
    max-width:340px;
    margin:0 auto;
  }
  .buy-card{
    max-width:340px;
    height:215px;
    background:#fff;
    padding:20px 15px;
    margin: 0 auto;    
  }
  .buy-card button{
    width:100px !important;
  }
  .right-discount{
    float:right;
    padding-right:35px;
  }
  .buy-card > .col-12 > .d-flex.justify-content-around{
    justify-content: space-between !important;
    margin-top: 20px;
  }
  .buy-card-col{
    width:100%;
    flex: 0 0 100%;
  }  
  .buy-dividend-card{
    max-width:340px;
    margin:0 auto;
  }  
}

@media screen and (min-width: 721px) {
  .idealcard-member-center,
  .idealcard-member-center-amend-inner{
    max-width:650px; 
    margin:0 auto;
    padding-bottom: 140px;
  }
  .idealcard-trade-record,
  .idealcard-coupon-record,
  .idealcard-prove-record,
  .idealcard-prize-record{
    max-width:650px;
    min-height:190px;
    padding-top:20px; 
    padding-bottom: 15px;
  }
  .idealcard-trade-record >.row > .col-9,
  .idealcard-coupon-record,
  .idealcard-prove-record,
  .idealcard-prize-record{
    padding-left:50px;
  }
  .idealcard-trade-record >.row > .col-9 > .row > .col-3{
    border-right: solid 1px #d9d9d9;
  }
  .idealcard-trade-record >.row > .col-3{
    background:url('../img/icon-trade-record.svg'); 
    background-position: 70% 0;
    background-repeat: no-repeat;
  }
  .idealcard-coupon-record > .row .col-3{
    background:url('../img/icon-coupon-record.svg'); 
    background-position: 100% 0;
    background-repeat: no-repeat;  
  }
  .idealcard-prize-record > .row .col-3{
    background:url('../img/icon-prize-record.svg'); 
    background-position: 100% 55%;
    background-repeat: no-repeat;  
  }  
  .idealcard-trade-record >.row > .col-3 >.row{
    padding-left:20px;
  }
  .idealcard-trade-record >.row > .col-3 > .row > .col-12:nth-of-type(1){
    margin-bottom:25px;
  }
  .idealcard-member-center-amend{
    max-width: 960px;
    margin:0 auto;
    background:#fff;
  }
  .sip-insert-container{
    max-width:960px; 
    margin:0 auto;
  }
  .sip-insert-width,.customer-common-width{
    max-width:650px; 
    margin:0 auto;
  }
  .customer-common-width{
    padding:0;
  }
  .idealcard-sip-step-2-credit input{
    width:25%; 
    max-width:150px;
  }
  #idealcard-buy-step-3 .sip-insert-width .row.fs-36.gray{
    padding: 0 28px;
  }
}
@media screen and (min-width:541px) and (max-width: 720px){
  .value-sip-banner-960,
  .value-sip-banner-540{
    display: none;
  }
   .idealcard-member-center,
   .idealcard-member-center-amend{
    max-width:680px;
    width:94.44vw; 
    margin:0 auto;
    padding-bottom: 140px;
  }
  .idealcard-member-center-amend{
    background:#fff;    
  }
  .idealcard-member-center-amend-inner{
    max-width:580px;
    width:80.55vw;
    margin:0 auto;    
  }
  .idealcard-trade-record,
  .idealcard-coupon-record,
  .idealcard-prove-record,
  .idealcard-prize-record{
    max-width:680px;
    width:94.44vw; 
    min-height:190px;
    padding-top:20px; 
    padding-bottom: 15px;
  }
  .idealcard-trade-record >.row > .col-9,
  .idealcard-coupon-record,
  .idealcard-prove-record,
  .idealcard-prize-record{
    padding-left:50px;
  }
  .idealcard-trade-record >.row > .col-9 > .row > .col-3{
    border-right: solid 1px #d9d9d9;
  }
  .idealcard-trade-record >.row > .col-3{
    background:url('../img/icon-trade-record.svg'); 
    background-position: 70% 0;
    background-repeat: no-repeat;
  }
  .idealcard-coupon-record > .row .col-3{
    background:url('../img/icon-coupon-record.svg'); 
    background-position: 100% 0; 
    background-repeat: no-repeat;  
  } 
  .idealcard-prize-record > .row .col-3{
    background:url('../img/icon-prize-record.svg'); 
    background-position: 100% 55%;
    background-repeat: no-repeat;  
  }     
  .idealcard-trade-record >.row > .col-3 >.row{
    padding-left:20px;
  }
  .idealcard-trade-record >.row > .col-3 > .row > .col-12:nth-of-type(1){
    margin-bottom:25px;
  }
  .sip-insert-width{
    max-width:580px; 
    margin:0 auto;
  }  
  .sip-insert-container{
    max-width:680px; 
    margin:0 auto;
  }
  .customer-common-width{
    max-width:620px; 
    margin:0 auto;   
    padding:0; 
  }
  #idealcard-bottom-banner > div:nth-of-type(3){
    display:none;
  } 
  .index-product-card-list{
    padding:0 25px;
  }      
}
@media screen and (max-width: 540px){
  .value-sip-banner-960,
  .value-sip-banner-720{
    display: none;
  }
  .idealcard-member-center,
  .idealcard-member-center-amend{
    max-width:92.59vw;
    margin:0 auto;
    padding-bottom: 140px;    
  }
  .idealcard-member-center-amend{
    background:#fff;    
  }
  .idealcard-member-center-amend-inner{
    max-width:440px;
    width:81.48vw;
    margin:0 auto;    
  }
  .idealcard-trade-record,
  .idealcard-coupon-record,
  .idealcard-prove-record,
  .idealcard-prize-record{
    max-width:92.59vw;
    margin:0 auto;
  }
  .idealcard-trade-record > .row,
  .idealcard-prove-record > .row,
   .idealcard-coupon-record > .row{
    padding:20px 0 15px 20px;
  }
  .idealcard-prize-record > .row{
    padding-top:20px;
  }
  .idealcard-trade-record >.row .col-3,
  .idealcard-trade-record >.row .col-9,
  .idealcard-coupon-record > .row .col-3,
  .idealcard-coupon-record > .row .col-9,
  .idealcard-prove-record > .row .col-3,
  .idealcard-prove-record > .row .col-9,
  .idealcard-prize-record > .row .col-3,
  .idealcard-prize-record > .row .col-9{
    max-width:100%;
    flex:1 1 100%;
  }
  .idealcard-trade-record >.row .fs-14{
    font-size:18px;
  }
  .idealcard-trade-record > .row .col-12 .d-block:nth-of-type(2),
  .idealcard-trade-record > .row .col-12 .d-block:nth-of-type(3){
    float:left;
  }
  .idealcard-prize-record > .row > .col-3 > .row > .col-12:nth-of-type(2){
    max-width: 70%;
    flex:1 1 75%;
    margin-bottom:20px;  
    padding-right:0;  
  }
  .idealcard-prize-record > .row > .col-3 > .row > .col-12:nth-of-type(3){
    max-width: 30%;
    flex:1 1 30%;
    margin-bottom:20px;
    padding-left: 0;
    padding-right: 0;  
  }  
  .idealcard-trade-record >.row{
    background:url('../img/icon-trade-record.svg'); 
    background-position: 95% 90%;
    background-repeat: no-repeat;
  }
  .idealcard-coupon-record > .row{
    background:url('../img/icon-coupon-record.svg'); 
    background-position: 100% 85%;
    background-repeat: no-repeat;
  }
  .idealcard-prize-record > .row{
    background:url('../img/icon-prize-record.svg'); 
    background-position: 100% 85%;
    background-repeat: no-repeat;
  }  
  #idealcard-icon img{
    width:60px !important;
    margin-top: 7px;
  }
  #idealcard-sticky-header{
    height:70px !important;
  } 
  #idealcard-sticky-header #idealcard-menu-close .fs-18{
    font-size: 12px;
  }    
  #idealcard-sticky-header > .container > .row{
    padding-top: 1rem !important;
  }
  .sip-record-font{
    font-size:18px;
  }
  .bank-dividend-close,
  .bank-dividend-open{
    flex-wrap:wrap;
  }
  .bank-dividend-close > div,
  .bank-dividend-open > div{
    width:100%;
  }
  .bank-dividend-close > div:nth-of-type(2),
  .bank-dividend-open > div:nth-of-type(2){
    line-height:1.5 !important;
    padding-left: 50px;
  }
  .bank-dividend-open > div:nth-of-type(2){
    margin-top:0 !important;
  }
  #idealcard-bottom-banner{
    margin-bottom: 0 !important;
  }  
  .customer-common-width{
    max-width:440px;
    margin:0 auto;
  }
  .idealcard-customer-service-inner-width{
    min-width: 200px;
    width:200px;
  }

  .invoice-row > .col-3,
  .invoice-row > .col-9{
    max-width: 100%;
    flex: 0 0 100%;
    text-align: left !important;  
  }
  .invoice-row > .col-3{
    line-height:41px;
  }
  .invoice-row > .col-9{
    padding:0 15px;
  }
  .address-row > .col-5{
    padding-right: 1%;
    max-width: 39%;
  }
  .address-row > .col-5:nth-of-type(2){
    padding-left:0px;
  }
  .address-row > .col-2{
    padding:0;
    max-width:54.5px;
  }
  .address-row > .col-12{
    margin-top:3px;
  }
  .address-row > .col-12 > input{
    max-width: 78%;
    display: inline;
  }  
  .payment-row > input{
    display:inline;
    margin-right:1.2%;
    max-width: 24% !important;
  }
  .payment-row > input:nth-of-type(7){
    margin-right:0px !important;
  }
  .payment-row > .col-6{
    max-width: 49%;
  }
  .payment-row > .col-6:nth-of-type(1){
    margin-right:1%;
  }

  .invoice-row > .col-9.hasTooltip > select,
  .invoice-row > .col-9.hasTooltip > input{
    max-width:78% !important;
  }

}
@media screen and (min-width: 376px) and (max-width: 540px){
  .sip-insert-width{
    max-width:450px; 
    margin:0 auto;
  }
  #idealcard-value-catchplay.sip-insert-width{
    max-width:500px; 
    margin:0 auto;    
  }  
  .sip-insert-container{
    max-width:500px; 
    margin:0 auto;
  } 
  .idealcard-sip-step-2-credit input{
    width:25%;
    max-width:95px; 
  } 

}
@media screen and (min-width: 376px){
  .sip-btn-375{
    max-width:200px; 
    width:37%;
  }
}
@media screen and (max-width: 375px){
  .sip-insert-width{
    max-width:300px; 
    margin:0 auto;
  }  
  .sip-insert-container{
    max-width:320px; 
    margin:0 auto;
  }
  .idealcard-sip-step-2-credit input{
    width:25%;
    max-width: 70px;
    font-size: 18px !important;
  } 
  .payment-radio,
  .invoice-radio{
    font-size: 16px !important;
  }
  .invoice-375{
    font-size: 20px;
  }
  .sip-btn-375{
    width:100px !important;
  }
  .sip-375.red.fs-36,
  .sip-375.col-12.fs-30{
    font-size:20px;
  }
  .sip-375.fs-24.align-self-end{
    font-size:18px 
  }
  .sip-375.col-12.fs-36{
    font-size:30px;
  }
}
@media screen and (max-width: 420px){
  .idealcard-customer-service .d-flex.flex-wrap{
    justify-content:center;
    width:100%;
  }
}
@media screen and (min-width:541px){
   .sip-record-detail{
    font-size:14px;
  } 
  .sip-record-control{
    font-size:18px; 
    justify-content: flex-end;
  }
  .sip-record-control > div{
    min-width: 115px;
  }
  .sip-record-font{
    font-size:14px;
    padding-top:6px;
  }
  .idealcard-customer-service-inner-width{
    min-width: 250px;
    width:250px;
  }  

  .invoice-row > .col-3{
    line-height:41px;
  }
  .invoice-row > .col-9{
    padding:0;
  }
  .invoice-row > .col-9 > select,
  .invoice-row > .col-9 > input{
    max-width:313px;
  }
  .address-row > .col-5{
    padding-right:5px;
    max-width:137px
  }
  .address-row > .col-5:nth-of-type(2){
    padding-left:0px;
  }
  .address-row > .col-2{
    padding:0;
    max-width:54.5px;
  }
  .address-row > .col-12{
    margin-top:3px;
  }
  .address-row > .col-12 > input{
    max-width: 313.5px;
    display: inline;
  }  
  .payment-row > input{
    display:inline;
    margin-right:5px;
    max-width: 74.5px;
  }
  .payment-row > input:nth-of-type(4){
    margin-right:0px;
  }
  .payment-row > .col-6{
    max-width: 169px;
  }
  .payment-row > .col-6:nth-of-type(1){
    margin-right:5px;
  }
  .news-btn{
    position: absolute;
    right: 15px;
    bottom: 0;
  }

}
@media screen and (max-width: 539px){
  .sip-step{
    width:100px; 
    height:100px; 
    background:#fff; 
    border-radius:100%;
  }
  .sip-step > img{
    padding-top:7px;
    width:35%;
  }
  .sip-step:nth-of-type(3) > img,
  .sip-step:nth-of-type(5) > img{
    padding-top:17px;
  }
  .sip-step > div{
    font-size: 12px !important;
  }
  .sip-step + div{
    height:100px;
    line-height:100px;
  }
  .sip-record-img{
    width:128px; 
    height:180px;
    display:block;
    margin:0 auto;
    margin-bottom:16px;  
  }
  .sip-record-img-next{
    width:100%;
  }
  .sip-record-detail{
    justify-content:center!important;
  }    
  .sip-record-control{
    font-size: 15px !important;
    justify-content: space-between;
  }
  .sip-record-control > div:nth-of-type(2){
    padding:0 10px;
  }
  .sip-record-font{
    font-size:14px;
  }
  .sip-record-img-next .fs-24,
  .sip-step-2.fs-24{
    font-size:20px;
  }
  #idealcard-buy-step-5 > .row.sip-insert-width:nth-of-type(2){
    padding: 30px 0px !important;
  }
  .idealcard-bank-dividend-static .fs-24{
    font-size:18px;
  }
  .idealcard-customer-service .fs-36.text-center{
    font-size:20px;
  }

  /* Bootstrap datepicker size settings */
  .datepicker {
    width: 80%;
  }
  .table-condensed {
    width: 100%;
    font-size: x-large;
  }

  /* Stop header stick when add sip setup*/
  #idealcard-sticky-header.sticky-top {
    position: initial;
  }
  #idealcard-buy-progressbar.sticky-progress {
    top:0;
  }


}
@media screen and (min-width:540px){
  .sip-step{
    width:150px; 
    height:150px; 
    background:#fff; 
    border-radius:100%;
  }
  .sip-step > img{
    padding-top:16.8px;
  }
  .sip-step + div{
    line-height:150px;
  }
  .sip-record-img{
    width:128px; 
    height:180px; 
  }
  .sip-record-img-next{
    width:calc(100% - 128px);
  }

  .sip-record-detail{
    font-size:16px;
  }
  .sip-record-control{
    font-size:24px; 
    justify-content: space-between;
  }  
  .sip-record-control > div:nth-of-type(2){
    padding:0 22px;
  }  

  
}

@media screen and (min-width: 720px){
  .value-sip-banner-720,
  .value-sip-banner-540
  {
      display: none;
  }
  .sip-record-detail{
    font-size:14px;
  }
  #idealcard-topup-phone{
    width: 70%;
    max-width: 495px;
  }
  .index-product-card{
    width:33%;
    margin:0 auto;
    padding: 0 10px;    
  }
  .index-product-card.text-right{
    width:100%;
  } 
  .idealcard-bank-dividend-static{
    padding:20px 50px;
  }   
}

.idealcard-index-list-group-item a,
header .nav-link{
  color:#000;
}

.news-btn a,
.news-btn a:hover,
.news-btn a:active{
  color:#fff;
  text-decoration:none;
}

.idealcard-index-list-group-item a:hover,
.idealcard-index-list-group-item a:active,
header .nav-link:hover,
header .nav-link:active{
  color:#007bff;
  text-decoration: none;
}
#idealcard-menu{
  cursor: pointer;
}
#idealcard-menu-open{
  display:none;
  padding-top:8px;
}
#idealcard-menu-close{
 /* padding-top:7.5px;*/
 text-align: center;
}
#idealcard-menu-header{
  background:#fff;
  width:100vw;
  height:calc(100vh - 80px);
  position: absolute;
  left:0;
  top:70px;
  overflow-y:auto;
  overflow-x:hidden;
  display:none;
  z-index:100;
}
#idealcard-header-logo-text,
#idealcard-header-logo-text + li,
#idealcard-header-logo-text + li + li{
  position: absolute;
}
#idealcard-header-logo-text + li + li{
  right:0;
}
#idealcard-header-logo-text + li{
  right:30px;
}
#idealcard-header-logo-text{
  right:70px;
}
#idealcard-header-logo-text .greeting{
  padding: 6px 6px 0 0;
}
#search-addon{
  border-radius: 0 30px 30px 0;
  width: 48px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-left: 0;  
}


footer .nav-link,footer .nav-link:hover{
  color:#595959 !important;
}
/*.fs-36{font-size:36px; color:#595959;}*/
.fs-36{font-size:28px; color:#595959;}/*everything sucks*/
.fs-35{font-size:35px; color:#595959;}
.fs-34{font-size:34px; color:#595959;}
.fs-32{font-size:32px; color:#595959;}
.fs-30{font-size:30px; color:#595959;}
.fs-28{font-size:28px;}
.fs-24{font-size:24px;}
.fs-22{font-size:22px;}
.fs-20{font-size:20px;}
.fs-18{font-size:18px;}
.fs-16{font-size:16px;}
.fs-14{font-size:14px;}
.fs-12{font-size:12px;}
.gray{color:#919191 !important;}
.red{color:#f5222d !important;}
.header-dropdown-black{color:#404040;}
.blue{color:#0e77ca;}

.idealcard-index-list-group-item-date{
  max-width:120px; 
  flex:0 0 18%; 
  padding-left:10px; 
  padding-right:0px; 
  line-height:30px; color:#919191;
}
.idealcard-btn-default{
  background:#e9e9e9;
  color:#5a5a5a;
  border:1px #e9e9e9 solid; 
}
.underline{
  border-bottom: 5px solid rgb(233,233,233);
}
.listcard{
  height:160px;
  padding-top:25px;
  box-sizing:border-box;
  border-bottom:2px solid rgb(233,233,233);
}
.listcard-aside1{
  height:70px;
}
.listcard-aside2{
  height:40px;
}
.idealcard-icon{
  width:30px; 
  height:28px; 
  margin-top: 5px;  
  box-sizing:border-box;
  padding:0;
}
.idealcard-icon > img{
  margin:0 auto; 
  display:block;
}
.progress{
  background:#979797;
}
.idealcard-progress-dot .dot{
  width:18px;
  height:18px;
  border-radius:100%;
  border:2px solid #979797;
  background:#fff;
  margin-left:22px;
  margin-top: 2px;
}
.idealcard-progress-dot .dot.active{
  background:#007bff;
}
.idealcard-progress-dot:first-of-type{
  margin-left: -20px;
}
.idealcard-progress-dot:last-of-type{
  margin-right: -20px;
}
.idealcard-bank-dividend-notice{
  display:none;
}
#idealcard-buy-step-page > div{
  display: none;
}
.idealcard-input{
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}
.sip-border-top{
  border:solid 2px #fff;
  border-bottom:0;
}
.sip-border-bottom{
  border:solid 2px #fff;
  border-top:0;
}
.payment-radio,
.invoice-radio{
    background: #bbbbbb;
    color: #fff;
    border: 1px solid #bbbbbb;
    border-radius: 4px;
    padding: 7px 15px;
    font-size: 16px;
    width: 112px;
    text-align: center;
    font-weight: bold;
}
.payment-radio.active,
.invoice-radio.active{
  background:#00a0ff;
  border: 1px solid #00a0ff;
  color:#fff;
}
.payment-radio input,
.invoice-radio input{
  display:none;
}
.idealcard-buy-coupon-card{
  border-radius: 4px;
  border: solid 1px #d9d9d9;
  height:100px;
  width:100%;
  padding: 10px 40px;
  margin-bottom: 10px;
}
.buy-title{
  display:none;
}

#has_coupon_data .idealcard-buy-coupon-card .coupon-dollar {
  color:#f5222d;
}
#has_coupon_data .idealcard-buy-coupon-card .coupon-color {
  color:#919191;
}
#has_coupon_data .idealcard-buy-coupon-card.active * {
  color: #fff;
}
#has_coupon_data .idealcard-buy-coupon-card.active {
  background:#0e77ca;
}

.idealcard-catchplay-item.active {
  background:#0e77ca;
  color: #fff;
}

ol{
  padding:0;
}
ol > li > ul{
  padding-left: 20px;
}
ul li,
ol li{
  color:#404040;
}
.idealcard-customer-service ul {
  padding-left:20px;
}

input,
select,
select > option{
  color:#595959 !important;
  font-size: 16px !important;
}

.sip-record-toggle.active{
  color:#0e77ca;
}


.idealcard-custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.idealcard-custom-checkbox input:nth-of-type(1) {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.idealcard-custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border:solid #bbbbbb 2px;
}
.idealcard-custom-checkbox:hover input:nth-of-type(1) ~ .checkmark {
    background-color: #fff;
}

.idealcard-custom-checkbox input:nth-of-type(1):checked ~ .checkmark {
    background-color: #fff;
}
.idealcard-custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.idealcard-custom-checkbox input:nth-of-type(1):checked ~ .checkmark:after {
    display: block;
}
.idealcard-custom-checkbox .checkmark:after {
    left: 6px;
    width: 8px;
    height:15px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}




.idealcard-custom-radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.idealcard-custom-radio input:nth-of-type(1) {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.idealcard-custom-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border-radius: 50%;
    border:solid 2px #979797;
}

.idealcard-custom-radio:hover input:nth-of-type(1) ~ .checkmark {
    background-color: #fff;
}

.idealcard-custom-radio input:nth-of-type(1):checked ~ .checkmark {
    background-color:#fff;
}

.idealcard-custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.idealcard-custom-radio input:nth-of-type(1):checked ~ .checkmark:after {
    display: block;
}

.idealcard-custom-radio .checkmark:after {
    top: 3.5px;
    left:3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: black;
}

#idealcard-invoice-component .idealcard-custom-radio .checkmark:after{
    top:2px;
    left:1.5px;
}
.nav.nav-tabs.idealcard-nav-tabs{
    border-bottom:solid 2px #00a0ff;
}
.nav.nav-tabs.idealcard-nav-tabs .nav-item .nav-link{
    background-color: #cccccc;
    color:#fff;
    padding: 6px 13px;
    margin-right:5px;
    margin-left: -1px;    
    border-bottom: 1px solid #00a0ff;
}
.nav.nav-tabs.idealcard-nav-tabs .nav-item .nav-link.active{
    background: #00a0ff;
    color: #fff;
}
.idealcard-tagLabel{
  padding:5px 15px;
  border-radius:4px;
  border:1px solid #000;
  font-size:18px;
  margin-right:15px;
}
.idealcard-tagLabel.active{
  background:#00a0ff;
  color:#fff;
  border:1px solid #00a0ff; 
}
.idealcard-tagLabel input{
  display:none;
}
.idealcard-bank-dividend-static-btn{
  border-radius:4px;
  border:solid #000 1px;
  color:#000;
  padding:0px 15px;
  font-size: 18px;
}
.idealcard-bank-dividend-static-btn.active{
  background: #00a0ff;
  border:solid #00a0ff 1px;
  color:#fff;
}

.form-control[readonly] {
  background-color: #fff !important;
  opacity: 1;
}

/* 隱藏input type=number 的+-按鈕 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.required::before {
  content: "*";
  color: red;
}

.cursor-pointer{
  cursor: pointer;
}
.btn-primary, .no-change-word{
  background:#00a0ff;
  border-color:#00a0ff;
}
.bold{
  font-weight:bold;
}

.Loading,
.Loading:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.Loading {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.modal-content {
  width:100%;
}

.modal-dialog-centered {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  min-height:calc(100% - (.5rem * 2));
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height:calc(100% - (1.75rem * 2));
  }
}

.tip{
  display: none;
  z-index: 1;
  margin-top:-7px;
  font-weight:500;
  width: 80%;
  font-size: 16px;
  line-height: 22px;
  color: #3f3f3f;
  box-sizing: border-box;
  padding: 14px 20px 14px 20px;
  position: absolute;
  background-color: #eeeeee;
  right: 10%;
  border-radius: 8px;
}
.tip::before{
    z-index: 5;
    position: absolute;
    right:7%;
    top: -5px;
    content: "";
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 4px 5px;
    border-color: transparent transparent #eeeeee;
}
.tip::after{
  box-sizing: content-box;
    width: 0px;
    height: 0px;
    position: absolute;
    right:7%;
    top: -6px;
    padding: 0;
    border-style: solid;
    border-width: 0 5px 6px;
    border-color: transparent transparent #eeeeee;
    display: block;
    content: '';
}
.tip-active{
  display: block;
}
.btnbtn12{
  border-style: none;
  border-width: 0;
  color: #FFFFFF;
  font-family: "Microsoft JhengHei";
  font-style: normal;
  font-size: 14px;
  border-radius: 3px;
  background-color: #00A0FF;
  width: 139px;
  text-align: center;
  padding-right: 2px;
  padding-left: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
  display: block;
  margin: auto;
  margin-top: 8px;
}
.btnbtn12 a {
  border-style: none;
  border-width: 0;
  color: #FFFFFF;
  font-family: "Microsoft JhengHei";
  font-style: normal;
  font-size: 14px;
  border-radius: 3px;
  background-color: #3f82b7;
  text-decoration: none;
  width: 139px;
  padding-right: 2px;
  padding-left: 2px;
}
a.btnbtn12:hover{
  border-style: none;
  border-width: 0;
  color: #FFFFFF;
  font-family: "Microsoft JhengHei";
  font-style: normal;
  font-size: 14px;
  border-radius: 3px;
  background-color: #FF0004;
  text-decoration: none;
  width: 139px;
  padding-right: 2px;
  padding-left: 2px;
}

.idealcard-product-desc-small{
  width: 468px;
  height: 36px;
  font-family: MicrosoftJhengHei;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.29;
  letter-spacing: normal;
}

.idealcard-color-red{
  color: #e72948;
}

.value-sip-banner{
  width: 100%;
}

.idealcard-slider .slick-prev,
.idealcard-slider .slick-next {
  width: 55px;
  height: 55px;
  z-index: 1;
}

.idealcard-slider .slick-prev:before,
.idealcard-slider .slick-next:before {
  font-size: 55px;
}

.idealcard-slider .slick-prev {
  left: 10px;
}

.idealcard-slider .slick-next {
  right: 10px;
}

.idealcard-slider .slick-prev:before {
  content: url('/img/bn-arrow-prev.png');
}

.idealcard-slider .slick-next:before {
  content: url('/img/bn-arrow-next.png');
}

.font-red-bold{
  font-weight: bold;
  color: #FF1948!important;
}
