header {
    background: #fff;
    border-bottom: 5px solid #28a7e1;
    width: 100%;
}

.mainLogo {
    width: 120px;
    height: auto;
    display: block;
}

.dropdown-menu {
    padding: 0;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: #ade9ff;
}

.navbar-nav li.active a {
    color: #0f87be !important;
    font-weight: bold
}

.nav-item:not(:first-child) a::before {
    content: '--';
    transform: rotate(-90deg);
    display: inline-block;
    font-weight: bold;
    color: #1eba8a
}

.nav-item a:hover {
    text-decoration: underline;
    color: #28a7e1 !important
}

.nav-item {
    font-size: 0.9rem
}

#langBar{
    margin-top: 1rem;
}
#langDropdown .btn {
    padding: 0;
    width: 58px;

}

#langDropdown .btn-secondary {
    background: rgba(255, 255, 255, 0);
    color: gray;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    padding: 113px 0px 31px;
    overflow: hidden;
    height: 100%;
}

#topImage {
    width: 100%;
    max-height: 465px;
    position: relative;
    overflow: hidden;
    background: #fff url(../img/headimageBG.png) center center no-repeat;
    background-size: cover;
    padding-top: 52px;
}

#topImage video {
    opacity: 1;

}

#what {
    background: #fff url(../img/smartpay.png) 0 bottom/contain no-repeat;
    padding-bottom: 48%
}

html[lang="en"] #what {
    background: #fff url(../img/smartpay_en.png) 0 bottom/contain no-repeat;
}

html[lang="cn"] #what {
    background: #fff url(../img/smartpay_cn.png) 0 bottom/contain no-repeat;
}

#newAccount {
    background: #21c440;
    margin-right: 10px;
    border-radius: 5px;
    width: 200px;
    height: 43px
}

#newAccount a:hover {
    text-decoration: none;
    background: #0aa327;
}

.loginBTN {
    background: #ffa700;
    margin-right: 10px;
    border-radius: 5px;
    width: 130px;
    height: 43px
}

#newAccount a,
.loginBTN a {
    color: #fff;
    font-weight: bold;
    display: block;
    padding: 0 8px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
    line-height: 2.6rem
}

.loginBTN a:hover {
    text-decoration: none;
    background: #e5910b;

}

#bizBTN {
    margin-right: 10px;
}

#bizBTN a {
    padding: 8px 15px;
}

.topImageWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.67) 93%, rgba(204, 204, 204, 0.65) 99%, rgba(204, 204, 204, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.67) 93%, rgba(204, 204, 204, 0.65) 99%, rgba(204, 204, 204, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.16) 65.7%, rgba(204, 204, 204, 0.54) 100%, rgba(204, 204, 204, 0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#a6cccccc', GradientType=0);*/
    min-height: 400px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;

}

.hero_text {
    color: #097ef4;
    font-weight: bold;
    font-size: 2.6rem;
    line-height: 3rem;
    text-shadow: 2px 2px 1px #ffffff,
        -2px 2px 1px #ffffff,
        2px -2px 1px #ffffff,
        -2px -2px 1px #ffffff,
        2px 0px 1px #ffffff,
        0px 2px 1px #ffffff,
        -2px 0px 1px #ffffff,
        0px -2px 1px #ffffff;
}

.caption_text {
    color: #e82805;
    font-size: 2rem;
    font-weight: bold;
    line-height: 3rem;
    text-shadow: 2px 2px 1px #ffffff,
        -2px 2px 1px #ffffff,
        2px -2px 1px #ffffff,
        -2px -2px 1px #ffffff,
        2px 0px 1px #ffffff,
        0px 2px 1px #ffffff,
        -2px 0px 1px #ffffff,
        0px -2px 1px #ffffff;
}

#topImageWrap {
    align-items: center !important
}

#topImage p {
    /*  width: 50%;*/
    /*padding: 5%;*/
    text-align: center;
    max-width: 500px;
    margin: 0;
    padding-bottom: 15%
}

#topImage p.catch {
    width: 70%;
    margin: 0 auto;
}

#topImage p.catch.caption_text > span:first-child {
    text-indent: -5rem;
    display: inline-block
}

#topImage p.catch.caption_text > span:last-child {
    text-indent: 5rem;
    display: inline-block
}

#topImage p.smartpay,
#topImage p.image {
    padding-bottom: 20%;
    height: 50%;
    width: 50%;
}

#topImage p.smartpay {
    text-align: left;
    padding-left: 5%;
    margin-left: 30px
}

#topImage p.image {
    text-align: right;
    padding-top: 20px;
    padding-right: 5%;
    margin-right: 30px
}

#topImage p.smartpay img {
    width: 18vw;
    max-width: 250px;
    /*margin-right: 200px;
    margin-top: 50px*/
}

#topImage p.image img {
    width: 22vw;
    max-width: 320px;
}

/*#topImage img {
    width: 80%;
    height: auto;
}*/

h2 {
    margin-bottom: 20px;
    color: #288ce1;
    font-weight: bold;
    font-size: 2.5rem;
}

h2 {
    text-align: center;
    margin-top: 30px
}

h3 {
    font-size: 1.4rem;
    color: #28a7e1;
}

h4 {}

h5{
    color: #288ce1;
}
article {
    padding: 5vw;
}

article img {
    width: 100%;
}

.registWrap {
    text-align: center;
}

.registBtn {
    border-radius: 20px;
    margin: 0 auto;
}

.useCard > div {
    padding: 10px;
    max-width: 98%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    margin-bottom: 80px;
}

.useCard > div .useCardWrap {
    border: 1px solid #000;
    border-radius: 10px;
    border-top-left-radius: initial;
    justify-content: space-around;
    text-align: center;
    padding: 5px;
}

.useCard > div .useCardWrap div {
    max-width: 950px;
    margin: 0 auto;
}

.useCard > div .useCardWrap div div {
    font-size: 2rem;
    min-width: 200px;
    margin-top: 40px;
    width: 80%;
}

.useCard > div .useCardWrap div div + p {}

.useCard > div img {
    display: block;
    margin: 0 auto;
}

.useCard > div h3 {
    font-size: 2.1rem;
    text-align: center;
    font-weight: bold;
}

.useCard > div h3 + p {
    font-size: 1rem;
}

.useCard span {
    position: absolute;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    background: #28a7e1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    border: #1986b7 2px solid;
    line-height: 1.5rem;
    z-index: 10;
    padding: 10px 10px 19px 15px;
    display: block;
    top: -47px;
    width: 200px;
    text-align: left;
}

.why_wrap {
    margin: 0 6%;
}

.why_caption p {
    width: 90%;
    margin: 0 auto;
}

#faq dt {
    border-left: 3px solid #28a7e1;
    padding-left: 5px;
    margin-bottom: 5px;
}

footer {
    position: fixed;
    bottom: 0;
    font-size: 11px;
    text-align: center;
    width: 100%;
    background: #adb5bd;
    height: 31px;
    padding-top: 7px;
    z-index: 2000;
}

.br {
    display: none;
}

.who + p {
    margin-bottom: 50px;
}

.who_innerWrap {
    max-width: 1080px;
    margin: 0 auto;
}

.who_innerWrap > div {
    margin-bottom: 20px
}

.who_innerWrap h3 {
    position: relative;
    padding: 0.5em 0.75em;
    border: solid 1px #27acd9;
    border-left: solid 3em #27acd9;
}

.who_innerWrap h3:before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    padding: 0;
    left: -1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem
}

.who_innerWrap h3.i1:before {
    content: "\f4c0";
}

.who_innerWrap h3.i2:before {
    content: "\f09d";
}

.who_innerWrap h3.i3:before {
    content: "\f3cd";
    left: -1.3em;
}

.who_innerWrap h3.i4:before {
    content: "\f0ac";
}

.who_innerWrap h3.i5:before {
    content: "\f501";
    left: -1.4em;
}

.who_innerWrap h3.i6:before {
    content: "\f4c4";
    left: -1.6em;
}

.who_innerWrap h3.i7:before {
    content: "\f201";
}

.useCard {
    max-width: 1130px;
    margin: 0 auto;
}

.footer_nav {
    font-size: 0.9rem
}

#about {
    width: 50%;
}

#about dt {
    color: #6a6a6a
}

#about dd {
    font-size: 0.8rem;
    color: #999
}

#about dd a::after {
    content: "\f35d";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    font-size: 0.6rem
}

#inquiry .container {
    padding: 0;
    margin: 0;
}

#inquiry button {
    width: calc(100% - 16px);
}

.input-group {
    justify-content: space-between;

}

.input-group-prepend {
    background: #e9ecef;
    border: 1px solid #ced4da;
}

.input-group-text {
    border: none;
}

@media (min-width: 992px) {
    #topImage {
        max-height: 680px
    }

    #topImage p {
        width: 30%;
    }
}

@media (max-width: 1200px) {
    h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    #topImage p {
        padding: 0;
        padding-bottom: 10%
    }


}


@media (max-width: 992px) {
    h3 {
        font-size: 1.4rem;
    }


}


@media (max-width: 768px) {
    .swiper {
        height: 30vh !important;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {}

    #what {
        background-size: 160%;
        background-position: bottom right;
        padding-bottom: 480px
    }

    .useCard span {
        font-size: 1.6rem;
        padding: 2px 10px 11px 15px;
        top: -30px;
    }

    .useCard > div h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .useCard > div h3 + p {
        font-size: 1.3rem;
    }

    .who_innerWrap h3 {
        font-size: 1.3rem
    }

    .who_innerWrap h3 span {
        font-size: 2.3rem
    }

    #topImage p {
        padding-right: 0px;
    }

    #topImage p.smartpay,
    #topImage p.image {

        height: 50%;
        width: 50%;
    }

    #topImage p.smartpay img {}

    #topImage p.image img {}

}



@media (max-width: 576px) {

    #newAccount {
        width: 112px;
    }

    .loginBTN {
        width: 70px
    }

    #newAccount a,
    .loginBTN a {
        padding: 0px
    }

    #bizBTN {
        margin-top: 10px;
        width: 192px
    }

    #bizBTN a {
        /*padding: 5px 15px;*/
    }

    main {
        padding: 113px 0px 50px;

    }

    #topImage p.image {
        padding-top: 0px;
        padding-bottom: 10%;
        padding: 0px;
    }

    #topImage p.image,
    #topImage p.smartpay {
        padding-bottom: 170px
    }

    #topImage p.catch {
        padding-bottom: 188px;
        margin: 0 auto;
        width: 300px;
        line-height: 2rem
    }

    article {
        padding: 5vw;
    }

    .useCard > div img {
        /*width: 50%;*/

    }

    footer {
        font-size: 2vw;
        height: 45px;
    }

    .br {
        display: block;
    }

    .mainLogo {
        width: 75px;
    }

    #what {
        background-size: 190%;
        background-position: bottom right;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        /*font-size: 1.6rem;*/
    }

    h4 {
        font-size: 1rem;
    }

    .useCard span {
        font-size: 1.3rem;
        width: 120px;
        padding: 2%;
        top: -32px
    }

    .useCard > div h3 {
        font-size: 55%;
    }

    .useCard > div h3 + p {
        font-size: .8rem;
    }

    .useCard > div .useCardWrap div div {
        width: 100%;
        margin-top: -25px;
    }

    .useCard > div h3 {
        font-size: 1.2rem;
    }

    .useCard > div h3 + p {
        font-size: 0.8rem
    }

    .useCard > div .useCardWrap {
        flex-flow: column-reverse;
    }

    #topImage {
        padding-top: 15px;
        height: 55vh;
        overflow: visible;
        max-height: 280px
    }

    .topImageWrap {}

    .hero_text {
        font-size: 2rem;
        line-height: 2.3rem;
        text-align: center
    }

    .caption_text {
        font-size: 1.2rem;

    }


    .useCard > div .useCardWrap div div {
        margin-top: 15px;
    }

    .modal-dialog {
        margin-bottom: 100px;
    }



    #about {
        width: 100%;
    }



}
@media (max-width: 380px) {
     #newAccount {
        width: 103px;
    }
    
    
}

@media (max-width: 375px) {
    
 #bizBTN {
        width: 183px;
    }
    
    #bizBTN a{
       /* padding-left: 13px;
        padding-right: 13px;*/
    }
}

@media (min-width: 576px) {
    #inquiry .container {
        max-width: 100%;
    }
    
    
}
