html{
    font-family: Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
}
html, body{
    padding: 0;
    margin: 0;
    height: 100%;
    background-color: #F5F7FB;
}
* {
    box-sizing: border-box;
}
a{
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
a:focus{
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

/* general */
.noscroll { 
    overflow: hidden;
}
img{
    display: block;
    border: 0;
}

.container{
    width: 100%;
    max-width: 400px;
    min-width: 320px;
    margin: auto;

    display: flex;
    flex-direction: column;
    min-height: 100%;
}

label{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #111111;
    display: flex;
    align-items: center;
}

.header_container{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 25px 4px 10px;
}
.subpage .header_container{
    padding-bottom: 35px;
}
.header_container .page_back_button{
    width: 22px;
}
.header_container, .body_container{
    margin: 0 16px;
}
.language_icon{
    width: 22px;
}
.footer_nav_container{
    height: 54px;
    box-shadow: 0px -4px 4px rgba(234, 241, 255, 0.4);
    justify-self: flex-end;
    margin-top: auto;
}
.footer_nav{
    width: 100%;
    height: 54px;
    position: fixed;
    bottom: 0;
    left: 0;
}
.textfield{
    margin-bottom: 20px;
}
.textfield_note{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #668CBB;
    margin-top: 6px;
    display: block;
}

.page_title{
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #111111;
}
.page_banner img{
    width: 100%;
}

.page_back_button path{
    fill: #243154;
}

.language_container{
    position: relative;
}
.language_dropdown{
    padding: 18px 16px;
    background: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: absolute;
    right: 0;
    top: 25px;
    z-index: 2;
    min-width: 180px;
    display: none;
}
.language_dropdown > .item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 11px;
    margin-bottom: 11px;
    border-bottom: 1px solid #EEEEEE;

    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #668CBB;
}
.language_dropdown > .item:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}
.language_dropdown > .item.active{
    color: #2541DF;
}
.language_dropdown > .item.active::after{
    background: url(../images/general/tick.svg) no-repeat top left;
    width: 13px;
    height: 9px;
    display: block;
    content: '';
}

/* button */
.button{
    border-radius: 20px;
    padding: 14px 16px;
    border: 0;
    color: #FFFFFF;
    white-space: nowrap;
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
}
.button:disabled{
    opacity: .4;
}
.primary_button{
    background: linear-gradient(215.23deg, #54D7FE -8.23%, #2B4BFF 70.03%);
}
.secondary_button{
    background: none;
    color: #2541DF;
}
.third_button{
    background: #FFFFFF;
    color: #2541DF;
}
.fourth_button{
    background: #FFFFFF;
    color: #2541DF;
    border: 1px solid #2B4BFF;
    border-radius: 20px;
    padding: 10px 18px;
}
.icon_button{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
}
.icon_button img{
    margin-left: 6px;
}
.app_download_button{
    background: #2B4BFF;
}

/* text box */
::-webkit-input-placeholder { /* Edge */
    color: #999999;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #999999;
}

::placeholder {
    color: #999999;
}
input[type=text], input[type=password], input[type=date], input[type=number], select, textarea{
    padding: 13px 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #111111;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    width: 100%;
    outline: none;
    -webkit-appearance: initial;
}
select{
    background: url(../images/general/down_arrow.svg) no-repeat right 13px center #FFFFFF;
    padding-right: 35px !important;
}
input:read-only, select.readonly, .readonly{
    background: rgba(102, 140, 187, 0.1);
    border: 1px solid #f0f1f2;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #999999;
}

/* checkbox */
.checkbox_container {
    line-height: 18px;
    display: block;
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background: transparent;
    border: 1px solid #BBBBBB;
    border-radius: 8px;
}
.checkbox_container:hover input ~ .checkmark {
    background-color: transparent;
}
.checkbox_container input:checked ~ .checkmark {
    background-color: #2B4BFF;
    border: 1px solid #2B4BFF;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox_container input:checked ~ .checkmark:after {
    display: block;
}
.checkbox_container .checkmark:after {
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* modal */
.modal_container{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}
.modal_content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: calc(100% - 20px);
    background: #FFFFFF;
    border-radius: 20px;
    padding: 27px 30px;

    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #111111;
}
.modal_inner_content{
    min-height: 200px;
    max-height: 60vh;
    overflow-y: auto;
    width: 100%;
}
.modal_close{
    position: absolute;
    bottom: -32px;
    left: 10px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal_permenant_close{
    color: #FFFFFF;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

/* modal bottom */
.modal_bottom_container{
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    transition: opacity .3s ease-out;
}
.modal_bottom_container.active{
    visibility: visible;
    opacity: 1;
}
.modal_bottom_content{
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    min-height: 250px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px 16px;
    background: #FFFFFF;
    border-radius: 20px 20px 0px 0px;
    transition: bottom .3s ease-out;
}
.modal_bottom_container.active .modal_bottom_content{
    bottom: 0;
}
.modal_bottom_title{
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    color: #111111;
    margin-bottom: 25px;
}

/* vip icon & label */
.vip_icon{
    background: url(../images/vip/vip_icon_bg.svg) no-repeat top left;
    background-size: 100% 100%;
    width: 46px;
    height: 24px;
    position: relative;
}
.vip_label{
    position: absolute;
    right: 7px;
    bottom: 3px;
    background: url(../images/vip/vip_level_label.svg) no-repeat left top;
    width: 8px;
    height: 7px;
    color: #CB7425;
    font-size: 8px;
    padding-left: 8px;
}

/* progress bar */
.progress_bar{
    background-color: rgba(102, 140, 187, 0.1);
    border-radius: 9px;
    height: 18px;
    position: relative;
}
.progress_bar .progress_bar_inner{
    background-color: rgba(102, 140, 187, 0.3);
    border-radius: 9px;
    height: 18px;
}
.progress_bar .progress_bar_value{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    text-align: right;
    color: #111111;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    text-align: center;
}
.progress_bar .progress_bar_two_value{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 13px;

    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
}
.progress_bar.disabled .progress_bar_value{
    color: #666666;
}

/* sub tabs */
.tab_container{
    margin-bottom: 18px;
}
.tab_container a{
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #668CBB;
    white-space: nowrap;
}
.tab_container a.active{
    color: #111111;
    position: relative;
}
.tab_container a.active::after{
    display: block;
    content: '';
    height: 2px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(270deg, #54D7FE 0%, #2B4BFF 97.43%);
}
.tab_content{
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-around;
}

/* alert box */
.alert_box{
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alert_box_content{
    padding: 25px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    width: calc(100% - 60px);
    min-height: 200px;
}
.alert_box_icon{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.alert_box_title{
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    color: #111111;
    text-align: center;
    margin-bottom: 20px;
}
.alert_box_html{
    margin-bottom: 20px;
}
.alert_box_close, .alert_box_save{
    display: flex;
    justify-content: center;
}
.alert_box_save button{
    width: 160px;
}

/* switch toggle button */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 32px;
    -webkit-tap-highlight-color: transparent;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #BFD2E9;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 32px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 1px;
    bottom: 1px;
    background-color: #FFFFFF;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2641E0;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2641E0;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* empty content */
.empty_content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.empty_content .text{
    margin-top: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #111111;
}

/* reward animation */
.reward_animation_container{
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.reward_animation_start{
    width: 470px;
    height: 337px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
}
.reward_body{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.reward_top{
    position: absolute;
    left: 40%;
    top: 16.2%;
}
.reward_congrat{
    position: absolute;
    left: 50%;
    top: 39%;
    transform: translateX(-50%);
}
.reward_bubble{
    width: 258px;
    height: 95px;
    position: absolute;
    left: 23%;
    top: 46%;
    background: url(../images/general/reward_bubble_box.png) no-repeat left top;
    opacity: 0;

    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: center;
    padding-top: 36px;
}
.reward_close{
    position: absolute;
    right: 19%;
    top: 42%;
    width: 34px;
    height: 34px;
    z-index: 1;
    cursor: pointer;
    opacity: 0;
}
.reward_animation_start.animation .reward_congrat{
    animation-name: rewardCongrat;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}
@keyframes rewardCongrat {
    0% {
        left: 50%;
        transform: translateX(-50%) scale(.2);
    }
    70% {
        transform: translateX(-50%) scale(1.2);
    }
    100% {
        left: 50%;
        transform: translateX(-50%) scale(1);
    }
}
.reward_animation_start.animation .reward_top{
    animation-name: rewardTop;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}
@keyframes rewardTop {
    0% {
        top: 40%;
        transform: scale(.2) rotate(-50deg);
    }
    70% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        top: 16.2%;
        transform: scale(1);
    }
}
.reward_animation_start.animation .reward_body{
    animation-name: rewardBody;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}
@keyframes rewardBody {
    from {
        transform: translate(-50%, -50%) scale(.2);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}
.reward_animation_start.animation .reward_bubble{
    animation: rewardBubble .25s ease-in-out 0.2s 1 normal forwards;
}
@keyframes rewardBubble {
    0% {
        opacity: 0;
        transform: scale(.2);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.reward_animation_start.animation .reward_close{
    animation: rewardClose .25s ease-in-out 0.2s 1 normal forwards;
}
@keyframes rewardClose {
    0% {
        opacity: 0;
        transform: scale(.2);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

input.search_input_light{
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  caret-color: #A7A7A7;
  color: #A7A7A7;
  background-image: url(../images/general/gt-yellow-search.svg);
  background-position: right 13px center;
  background-repeat: no-repeat;
  padding-right: 40px;
  padding-top: 12px;
  padding-bottom: 12px
}

.red-dot {
    position: absolute;
    top: 0px;
    right: -12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: red;
    display: block;
}


.fav-btn{
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fav-btn:after{
  content:'';
  display: block;
  position: absolute;
  top: -9px;
  right: -9px;
  bottom: -9px;
  left: -9px;
}
.fav-btn:before{
  content:'';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  opacity: 1;
  border-radius: 50%;
}
.fav-btn.fav-btn_active:before{
  opacity: 0;
}
.fav-btn__img{
  max-width: 100%;
  max-height: 100%;
}

[rel="img_container"]{
  position: relative;
}

[rel="img_container"] .fav-btn{
  position: absolute;
  top: 3px;
  right: 3px;
}

.ant-modal{
  background: rgba(0,0,0,0.85);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.ant-modal-content{
  background: #007aff;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  transition: .3s;
  transform: scale(0);
  color:#fff;
  font-size: 12px;
}

.ant-modal.active {
  opacity: 1;
  visibility: visible;
}

.ant-modal.active .ant-modal-content{
  transform: scale(1);
}

.ant-modal-body{
  width: 263px;
  max-width: 100%;
  margin: auto;
}

.ant-modal-title{
  text-align: center;
  color:#fff;
  font-size: 16px;
  padding: 0 20px;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 25px;
}

.ant-modal-close{
  position: absolute;
  top: 12px;
  right: 15px;
}

.ant-modal-intro-title{
  color: #A7A7A7;
  margin-bottom: 10px;
}

.ant-modal-intro-content{
  margin-bottom: 25px;
  padding-left: 1em;
}

.pwa-install-instruction-android .ant-modal-content{
  bottom: auto;
  top: 0;
  left: auto;
  border-radius: 0;
}

body:not(.logged-in) .fav-btn{
  display: none;
}

body.pwa-app .footer_nav_container{
  height: 64px;
}

body.pwa-app .footer_nav{
  height: 64px;
  background: #fff;
}
.pwa-prompt{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.pwa-prompt-content{
  width: 260px;
  max-width: calc(100% - 30px);
  position: absolute;
  padding: 6px 10px;
  background: #000;
  color:#fff;
  border-radius: 6px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid #fff;

  transition: .3s;
  transform: translateX(-50%) translateY(calc(50px + 100%));
  /* display: none; */
}
.pwa-prompt-content:after{
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #000;
  position: absolute;
  border: 1px solid #fff;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg) translateX(-4px) translateY(-4px);
  border-top-width: 0;
  border-left-width: 0;
}
.pwa-prompt-content-text{
  padding: 0 10px;
}
.pwa-prompt-vert-line{
  height: 20px;
  width: 1px;
  background: #fff;
  margin-right: 10px;
}
.pwa-prompt.active {
  opacity: 1;
  visibility: visible;
}
.pwa-prompt.active .pwa-prompt-content{
  transform: translateX(-50%) translateY(0);
}

/* msg_modal */
.msg_modal{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index:2000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.msg_modal.show{
  opacity: 1;
  visibility: visible;
}

.msg_modal__content{
  min-width: 315px;
  max-width: 100%;
  padding: 25px;
  border-radius: 20px;
  background: #fff;
}

.msg_modal__content .button{
  width: 212px;
  max-width: 100%;
}

.msg_modal__icon{
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.msg_modal_title{
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.msg_modal_content{
  text-align: center;
  margin-bottom: 20px;
  text-align: center;
} 

.msg_modal_button_container{
  display: flex;
  align-items: center;
  justify-content: center;
}
/* msg_modal/ */

/* sp_ipt */
.sp_ipt{
  position: relative;
  margin-bottom: 20px;
}
.sp_ipt .textfield{
  margin-bottom: 0;
}
.sp_ipt .sp_ipt_ion{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
}
/* sp_ipt / */