/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

*,
::after,
::before {
    box-sizing: border-box;
}
@font-face {
    font-family: 'SVN-Product Sans Bold';
    src: url('../fonts/SVN-ProductSansBold.eot');
    src: url('../fonts/SVN-ProductSansBold.eot?#iefix') format('embedded-opentype'), url('../fonts/SVN-ProductSansBold.woff2') format('woff2'), url('../fonts/SVN-ProductSansBold.woff') format('woff'), url('../fonts/SVN-ProductSansBold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'SVN-Product Sans';
    src: url('../fonts/SVN-ProductSans.eot');
    src: url('../fonts/SVN-ProductSans.eot?#iefix') format('embedded-opentype'), url('../fonts/SVN-ProductSans.woff2') format('woff2'), url('../fonts/SVN-ProductSans.woff') format('woff'), url('../fonts/SVN-ProductSans.ttf') format('truetype');
    font-weight: normal;
}
strong {
    font-family: 'SVN-Product Sans Bold';
}
body {
    font-family: 'SVN-Product Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    color: #333;
    /* background: url('../images/bg.svg') no-repeat bottom center / cover; */
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

body.bg-green {
    background: url('../images/bg_green.jpg') no-repeat bottom center / cover, #49AD4C;
    min-height: 100vh;
}

body.bg-default {
    min-height: 100vh;
}

.bg-white {
    background-color: #fff;
}

main {
    max-width: 440px;
    background: #FFFFFF;
    /* Below / Medium */
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.17);
    border-radius: 14px;
    padding: 2rem;
    margin: 8rem auto;
}

.accept_linked {
    border: 14px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}
.page-title {
    color: #1E903E;
    font-family: 'SVN-Product Sans Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}
.page-subtitle {
    color: #1E903E;
    font-family: 'SVN-Product Sans Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.accept_linked_icon {
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 35px 20px;
}
.bg-gray {
    background: #f6f6f6;
}
.bg-black {
    background: #000;
}
.bg-light-green {
    background: #DAF0E3;
}

.text-white {
    color: #fff;
}

.ic {
    width: 48px;
    height: 48px;
    display: inline-flex;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.ic-bank {
    background: url('../images/ic-bank.svg') no-repeat center center/44px;
}

.ic-appota-pay {
    background: url('../images/appotapay_logo.svg') no-repeat center center/44px;
}

.text-gray {
    color: #757575;
}
.linked_rule {
    margin-top: 24px;
}
.item-list {
    margin: 10px 0 20px;
}
.item-rule {
    display: flex;
    align-items: center;

}
.ic-check {
    flex: 1 100%;
    max-width: 24px;
    width: 24px;
    height: 24px;
    background: url('../images/ic-checkmark.svg') no-repeat center center/24px;
    margin-right: 0.5rem;
}
.item-text {
    padding: 10px 0;
    border-bottom: 1px solid #E5E7E8;
    width: 100%;
}

.linked_policy {
    text-align: center;
}
.linked_policy a {
    color: #6FA2FF;
    text-decoration: none;
}

.btn-green {
    /* All / Green 400 */

    background: #1E903E;
    border-radius: 8px;

    /* Inside Auto Layout */

    flex: none;
    order: 3;
    flex-grow: 0;
    margin: 16px 0 0;
    padding: 1rem;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
}


.text-14 {
    font-size: 14px;
}
.text-16 {
    font-size: 16px;
}
.text-underline {
    text-decoration: underline;
}

.linked_success {
    text-align: center;
    justify-content: center;
    padding-top: 30vh;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.linked_success .circle {
    margin-left: auto;
    margin-right: auto;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
.animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    animation-delay: 0.2s;
    animation-duration: 0.5s;
}

.p-0 {
    padding: 0 !important;
}

.add_method_block {
    margin: 80px auto;
    max-width: 590px;
    text-align: center;
    min-width: 300px;
}

.add_method_block h3 {
    font-size: 18px;
    font-family: 'SVN-Product Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 20px auto;
    color: #000;
    line-height: 24px;
}
.add_method_block .circle {
    width: 88px;
    height: 70px;
    border-radius: 50px;
    margin: 0 auto;
}

.add_method_block .ic-appota-pay {
    background-size: 70px;
    width: 70px;
    height: 70px;
}

.text-12 {
    font-size: 12px;
}
.method_form {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.d-none {
    display: none !important;
}

.no-bg {
    background: none !important;
    box-shadow: none !important;
}
.method_form .nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    border-bottom: 1px solid #e2e2e2;
}

.method_form .choice-login-tab {
    justify-content: space-around;
}

.method_form .choice-login-tab .nav-item {
    width: 50%;
}
.method_form .choice-login-tab .nav-item .nav-link {
    width: 100%;
    justify-content: center;
}
.method_form .choice-login-tab .nav-item .nav-link.active {
    border-bottom: 1px solid #449D47;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    font-size: 14px;
    color: #CBCBCB;
    text-transform: uppercase;
    padding: 0.625rem 1.5rem;
    display: inline-flex;
    text-decoration: none;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #1E903E;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #afafaf;
}

.tab-pane {
    padding: 20px;
}
.login_qrcode {
    text-align: center;
}

.qrcode-step {
    display: flex;
    margin-top: 12px;
}
.qrcode-step .step {
    flex: auto;
    text-align: center;
    position: relative;
}
.step .step_num {
    width: 24px;
    height: 24px;
    background: #449D47;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    color: #fff;
    line-height: 24px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.step .step_text svg {
    margin-left: 4px;
    margin-top: 3px;
}

.step-1:after {
    display: block;
    content: "";
    height: 0;
    border: 1px dashed #afafaf;
    width: calc(100% - 12px);
    position: absolute;
    left: 50%;
    top: 12px;
}
.step-2:after {
    display: block;
    content: "";
    height: 0;
    border: 1px dashed #afafaf;
    width: calc(100% - 12px);
    position: absolute;
    left: 50%;
    top: 12px;
}

.tab-pane {
    display: none;
}
.tab-pane.show {
    display: block;
}
.policy {
    text-align: center;
    padding-bottom: 1rem;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    bottom: 0.6rem;
}

.policy a {
    color: #fff;
    text-decoration: none;
    padding-right: 10px;
}
.policy > div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}
.policy svg {
    float: left;
    margin: 0 5px;
}
.text-register {
    /* margin: 1rem 0; */
    /* color: #fff; */
}
.text-18 {
    font-size: 18px !important;
}
.text-yellow {
    color: yellow;
    text-decoration-line: underline;
}
.text-green {
    color: #1E903E;
    text-decoration-line: underline;
}

.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.form-group .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f6f6f6;
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #f6f6f6;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control::placeholder {
    color: #757575;
}
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-transform: none;
    font-family: 'SVN-Product Sans Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.btn-green {
    background: #1E903E;
    color: #fff;
}

.m-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}

.confirm-btn, .forget-btn {
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 1;
}

.btn-block {
    width: 100%;
}

.btn-outline {
    border: 1px solid #AFAFAF;
    color: #AFAFAF;
}

.btn-outline:hover {
    background: #AFAFAF;
    color: #fff;
}
.continue_with_appota a {
    display: flex;
    color: #FF7A1A;
    text-decoration: none;
    justify-content: center;
    font-size: 16px;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

.or_login_method {
    font-size: 16px;
    color: #000;
    margin-top: 1rem;
}
.or_login_method a {
    color: #1E903E;
    text-decoration: underline;
}


.countdown_otp {
    text-align: left;
    display: flex;
    align-items: center;
}
.countdown {
    display: flex;
    align-items: center;
    padding-left: 8px;
}
.ic-countdown {
    padding-right: 5px;
    padding-top: 3px;
}

.text-green {
    color: #1E903E;
}

.install_button {
    text-align: center;
    max-width: 175px;
    margin: 1rem auto;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}
.pt-2 {
    padding-top: 1.5rem;
}

h1 {
    font-size: 24px;
    font-family: 'SVN-Product Sans Bold';
    margin-bottom: 1.5rem;
}
.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
.form-action {
    padding: 16px;
    background: #fff;
    filter: drop-shadow(0px -4px 16px rgba(0, 0, 0, 0.12));
}
.ipt-password {
    position: relative;
}
.ipt-password .show_pass {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 12px;
    width: 21px;
    height: 21px;
    background: url('../images/ic-close-eye.svg') no-repeat center center/100%;
    border: none;
    padding: 0;
}
/* Base Alert Style */
.alert {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: left;
}

/* Error */
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* Success */
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.float-left {
    float:left;
}

.h-100p{
    height: 100%;
}

.header {
    height: 36px;
    padding: 8px 0;
    border-bottom: 1px solid #DFE4EF;
}

.header .dropdown .dropdown-menu{
    top: calc(100% + 26px);
    left: -76px;
    min-width: auto;
}
.header .header-items {
    justify-content: end;
    display: flex;
}

.header .language-icon {
    margin-right: 10px;
    line-height: 18px;
}
.header .header-items .tel{
    margin-right: 15px;
}

.header-mobile {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.header-mobile .sub-header-mobile {
    height: 36px;
    background-color: #F3F3F3;
    width: 100%;
    margin: 0;
}
.header-mobile .sub-header-mobile .header-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #DFE4EF;
}
.header-mobile .sub-header-mobile .header-items a {
    color: #000;
}
.header-mobile .sub-header-title {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    /* identical to box height, or 133% */

    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-bottom: 15px;
    padding-top: 15px;
    box-shadow: 0px 0.5px 0px #E2E2E2;
}

.header-mobile .sub-header-title .back_link {
    left: 15px;
    position: absolute;
    font-size: 25px;
}
.header-mobile .sub-header-title .back_link a {
    color: #000;
}
.header-mobile .sub-header-content {
    height: 36px;
    background-color: #F6F6FA;
    padding: 8px 0;
    border-bottom: 1px solid #DFE4EF;
}
.login_account .method_form {
    box-shadow: none;
}
.login_account .method_form .tab-pane {
    padding-left: 0;
    padding-right: 0;
}

.login_view, .register_view, .forget_password {
    max-width: 590px;
}

.login_view .method_form, .register_view .method_form, .forget_password .method_form{
    max-width: 590px;
    width: 590px;
}
.login_view .method_form #login_by_account {
    padding: 32px;
}
.login_view .method_form #login_by_account label {
    font-size: 15px;
}

.config-placehoder::placeholder {
    font-family: 'SVN-Product Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "FontAwesome";
    font-size: 15px;
}

.forget_password .registered {
    margin-top: 32px;
    margin-bottom: 32px;
}

.register_view .method_form .tab-pane {
    padding: 32px;
}

.forget_password .method_form .tab-pane{
    padding: 32px 32px 0 32px;
}

.footer {
    border-top: 1px solid #DFE4EF;
    padding-top: 40px;
}

.footer a, .header a{ 
    color: #000;
    text-decoration: none;
}

.footer .company-info {
    border-right: 1px solid #DFE4EF;
}

.footer .company-info .company-info-content .company_name{
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin-bottom: 24px;
}

.footer .company-info .company-info-content .tel{
    margin-bottom: 12px;
}
.footer .company-info .company-info-content .address {
    margin-bottom: 12px;
}
.footer .company-info .company-info-content .email {
    margin-bottom: 12px;
}

.footer .footer-content .company-items {
    padding-left: 18px;
}
.footer .footer-content .company-items .link_title {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin-bottom: 24px;
}

.footer .footer-content .company-items .links {
    margin-bottom: 15px;
}

.footer .footer-content .company-items .items {
    padding: 15px 30px;
    border: 1px solid #CAD2E3;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.footer .footer-content .company-items .items img:not(:last-child){
    margin-right: 30px;
}

.footer .footer-content .social {
    margin-top: 40px;
    margin-bottom: 20px;
}

.footer .footer-content .social .social-icons {
    display: flex;
    justify-content: space-between;
}

.footer-extra {
    padding: 10px 0px;
}

.only-web {
    display: block;
}

.only-mobile {
    display: none;
}

@media(max-width:320px) {
    .continue_with_appota a {
        font-size: 14px;
    }

    .add_method_block {
        min-width: unset;
    }

    .header-mobile .sub-header-mobile .header-items {
        font-size: 13px;
    }

    .register_view div.method_form {
        max-width: 320px !important;
        width: 290px !important;
    }

    .register_view .method_form .tab-pane {
        padding: 15px;
    }
}

@media(max-width: 576px) {
    body {
        min-height: 100vh;
        /* background: url('../images/bg_mob.jpg') no-repeat bottom center/100%, #fff; */
        background: #fff;
    }
    main {
        border-radius: 0;
        padding: 1rem;
        margin: 0;
        background: transparent;
        box-shadow: none;
    }
    .linked_button {
        position: fixed;
        bottom: 0;
        background: #fff;
        padding: 1rem;
        left: 0;
        right: 0;
        box-shadow: 0 8px 36px rgba(0, 0, 0, 0.17);
    }
    .linked_button .btn-green {
        margin-top: 0;
    }

    body.bg-green {
        background: url('../images/bg_green_mob.jpg') no-repeat bottom center/100%, #49AD4C;
    }
    body.bg-green main {
        max-width: 80vw;
        margin: 0 auto;
    }
    .add_method_block {
        margin-top: 40vw;
        margin-bottom: 10vw;
    }
    .register_view .add_method_block {
        margin-top: 20vw;
    }
    .add_method_block .circle {
        width: 58px;
        height: 58px;
    }
    .add_method_block .ic-appota-pay {
        width: 45px;
        height: 45px;
        background-size: 45px;
    }
    .add_method_block h3 {
        font-size: 14px;
        margin-top: 0.5rem;
        margin-left: 50px;
        margin-right: 50px;
    }

    .policty_contact {
        position: absolute;
        top: 1rem;
        width: 100%;
        font-size: 0.7rem;
    }

    .policty_contact a:last-child {
        padding-right: 0;
    }
    .policy_cert {
        bottom: 0.6rem;
        font-size: 0.8rem;
        max-width: 80vw;
    }
    .text-16 {
        font-size: 16px;
    }


    .text-register {
        margin-top: 20vh;
    }
    .m-15 {
        margin-top: 15vw;
    }
    .mt-1 {
        margin-top: 1rem !important;
    }
    .no-position {
        position: relative;
        bottom: 0;
    }
    .pos-b {
        position: absolute;
        bottom: 20vw;
        width: 100%;
        left: 0;
    }
    body.whiteback {
        min-height: 100vh;
        background: url('../images/bg_mob.jpg') no-repeat bottom center/100%, #fff;
    }
}

@media (min-width: 321px) and (max-width:391px) {
    .register_view div.method_form {
        max-width: 390px !important;
        width: 320px !important;
    }
}
@media(max-width:799px) {
    #myTab {
        display: none;
    }
    #login_by_qrcode {
        display: none;
    }
    #login_by_account {
        display: block;
    }
    .footer {
        display: none;
    }
    .only-web {
        display: none;
    }

    main.p-0 {
        padding: 15px !important;
    }

    .add_method_block .continue_with_appota {
        background: #449D47;
    }

    .add_method_block .continue_with_appota a {
        color: #fff;
    }
    body {
        background: #fff;
        height: 100vh;
    }

    .register_view .method_form {
        max-width: 400px;
        width: 400px;
    }
    .only-mobile {
        display: block;
    }
    .text-register {
        margin-top: 20vh;
    }
}

@media(min-width:1024px) and (max-width:1280px) and (max-height:720px) {
    .add_method_block {
        margin: 20px auto;
    }
    .add_method_block .circle {
        width: 50px;
        height: 50px;
        border-radius: 100%;
    }
    .add_method_block .ic-appota-pay {
        width: 40px;
        height: 40px;
    }
    .add_method_block h3 {
        font-size: 1em;
        margin: 10px auto;
    }
    .nav-tabs .nav-link {
        font-size: 13px;
    }
    .form-group .form-control {
        padding: 0.5rem 1rem;
    }
    .img-fluid {
        height: 11rem;
    }
}
