body, html{
    font-family: Kanit, sans-serif !important;
    height: 100%;
}

span.mistake { color: #ff0000; }
p.form-label { color: #19A9F7; font-weight: bold; font-size: 0.9em; margin-bottom: 5px; }
span.form-label { color: #19A9F7; font-weight: bold; font-size: 0.9em; margin-bottom: 0; }
p.validate-text { margin-bottom: 0; }


input[type=text], input[type=password], input[type=email] {
    width: 100%;
    height: 40px;
    border: 1px solid #A4BACC;
    border-radius: 5px;
    padding-left: 10px;
    /* margin-bottom: 20px !important;  */
    outline: none;
}

[id*="validate-"] {
    color: #ff0000;
    font-size: 13px;
    margin-top: 5px;
    height: 20px;
    margin-bottom: 10px;
}

select {
    width: 100%;
    height: 40px;
    border: 1px solid #A4BACC;
    color: #A4BACC;
    border-radius: 5px;
    padding-left: 10px;
    margin-bottom: 20px !important; 
    outline: none;
    font-size: 0.9em !important;
}

textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #A4BACC;
    color: #000000;
    border-radius: 5px;
    padding-left: 10px;
    margin-bottom: 0px !important; 
    outline: none;
}

body#bg_register {
    background: url('../images/Master/main_bg@2x.png') no-repeat;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-color: #F8FCFF;
}

.header-nav { padding: 10px 0 0 0; border-bottom: 1px solid #D1DCE5; }
.header-nav img { width: 120px; height: auto; margin-bottom: 15px; }

.header-title { padding: 25px 0 5px 0; }
.header-title p.title, .header-title p.title-payment { 
    color: #0C568B;
    font-size: 3vw;
    font-weight: bold; 
    text-align: center;
    margin-bottom: 5px;
}

.header-title p.title span {
    color: #22AEEF !important;
}

.header-title p.title-payment span {
    color: #02CCB8 !important;
}

.header-title p.sub-title { 
    color: #323B41;
    font-size: 1.5vw;
    font-weight: bold; 
    text-align: center;
    margin-bottom: 5px;
}

.header-title p.sub-title-remark { 
    color: #323B41;
    font-size: 0.75em;
    text-align: center;
    margin-bottom: 5px;
}

.header-title p.recommend-text {
    color: #323B41;
    font-size: 14px;
    font-weight: bold; 
    text-align: center;
    margin-bottom: 5px;
}

.header-title p.recommend-text span {
    color: #22AEEF !important;
}

.header-title p.sub-title a {
    color: #22AEEF !important;
}

.header-title p.title-form { 
    color: #323B41;
    font-size: 1.5em;
    font-weight: bold; 
    text-align: center;
    margin-bottom: 5px;
}

.header-title div.form-email { 
    width: 100%;
    max-width: 650px;
    height: auto;
    background-color: #EFF8FF;
    margin: 0 auto;
    border-radius: 10px;
    padding: 25px 15px 25px 15px;
}

.header-title div.form-email p.form-label { color: #19A9F7; font-weight: bold; }
.header-title div.form-email input {
    width: 100%;
    height: 40px;
    border: 1px solid #A4BACC;
    border-radius: 5px;
    padding-left: 10px;
}

.header-title div.form-email button.btnserch{ 
    width: 245px !important;
    height: 40px !important;
    margin: 0 auto;
    margin-top: 0;
} 

.header-title div.form-email p.validate-text {
    margin-bottom: 0;
    height: 25px;
    color: #ff0000;
    font-size: 0.8em;
    text-align: left;
    margin-top: 2px;
}


/* Register form */
.register-form div.relative { 
    position: relative;
}
.register-form p.title-form { 
    color: #323B41;
    font-size: 1.5em;
    font-weight: bold; 
    text-align: left;
    margin-bottom: 15px;
}

.register-form div.relative p.validate-text { 
    color: #323B41;
    margin-bottom: 0;
    font-size: 12px;
    position: absolute;
    top: 5px;
    right: 15px;
    /* font-weight: bold; */
}

/* Style Channel */
.form-channel {
    width: 100%;
    height: auto;
    background-color: #EFF8FF;
    padding: 20px 10px 20px 10px;
    border-radius: 5px;
    opacity: 1;
}

.form-channel .form-channel-label {
    color: #323B41;
    font-weight: bold;
    font-size: 1em;
}

.form-channel .form-channel-label span {
    color: #5F87A7;
    font-weight: bold;
    font-size: 0.8em;
}

#channel_other { margin-bottom: 0; width: 265px; }
#verify_code { width: 350px !important; margin-top: 20px; }

/************** Style For Buy **************/
.form-package {
    width: 100%;
    height: auto;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 5px;
    opacity: 1;
    margin-bottom: 20px;
}

.form-package .form-package-label {
    color: #323B41;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}

.form-package .form-package-label span {
    color: #5F87A7;
    font-weight: bold;
    font-size: 0.8em;
}

.form-package label {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 5px;
}

#form-checkemail-buy {
    background-color: #ffffff;
}

.warp-text-banner { 
    position: absolute;
    right: 20px;
    bottom: 0;
}

#form-checkemail-buy img.logo-on-banner {
    width: 80%;
    position: absolute;
    top: 120px;
    left: 40px;
    right: 0;
    margin: auto;
    max-width: 580px;
}

.warp-text-banner p {
    text-align: right;
    color: #ffffff;
    font-size: 0.9vw;
}

.warp-text-banner p.title-banner {
    font-size: 35px;
    line-height: 45px;
}

.warp-user-limit {
    display: flex;
    justify-content: start;
    align-items: center;
}

.warp-user-limit input { margin-bottom: 0 !important; border-radius: 0; border-left: 0; border-right: 0; }

.warp-user-limit button {
    background-color: #EFF8FF;
    border: 1px solid #A4BACC;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.warp-user-limit button img { width: 15px; }

#user_limit { width: 90px; }

#payment_type, #payment_remark {
    color: #000000;
    font-weight: bold;
}

#payment-detail div.row div.text-label { 
    color: #19A9F7; 
    font-weight: bold; 
}

#payment-detail div.row div.text-left { text-align: left; font-weight: bold; }
#payment-detail div.row div.text-right { text-align: right; font-weight: bold; }

.show-qr-payment { 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 250px; 
    border: 1px solid #19A9F7; 
    border-radius: 8px;
    background-color: #FFFFFF;
    position: relative;
}

.show-qr-payment img#pay_qr_code {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
}

#btnSaveQrCode {
    width: 45px;
    height: 45px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

#btnSaveQrCode i { 
    font-size: 25px;
    color: #19A9F7;
    transition: all 0.3s ease-in-out;
}

/* #btnSaveQrCode i:hover {
    color: #ffffff;
} */

#temp_customer_type { color: #000000; }

#show-password {
    position: absolute;
    top: 35px;
    right: 25px;
}
#show-confirm-password {
    position: absolute;
    top: 35px;
    right: 25px;
}


/************** Placeholder style **************/
input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #A4BACC;
    font-size: 0.9em;
    opacity: 1; /* Firefox */
}
  
input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #A4BACC;
    font-size: 0.9em;
}

input::-ms-input-placeholder { /* Microsoft Edge */
    color: #A4BACC;
    font-size: 0.9em;
}

textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #A4BACC;
    font-size: 0.9em;
    opacity: 1; /* Firefox */
}
  
textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #A4BACC;
    font-size: 0.9em;
}

textarea::-ms-input-placeholder { /* Microsoft Edge */
    color: #A4BACC;
    font-size: 0.9em;
}

/* Css media query */
@media screen and (min-width: 1600px) {
    .header-title p.title, .header-title p.title-payment { 
        font-size: 2em;
    }
    
    .header-title p.sub-title {
        font-size: 1em;
    }
}
#btn-new-register:disabled,
#btn-new-register[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .fontTopiclist{font-size: 3vw;}
    #validate-Username { right: 15px; }
    #validate-Password { right: 15px; }
    #validate-Confirm_password { right: 15px; }
    .header-title p.sub-title { font-size: 3.5vw; }
    .header-title p.title, .header-title p.title-payment { font-size: 6.5vw; }
    #user_limit { width: 90%; }

    #btn-new-register { width: 100% !important; }
    #btn-have-register { width: 100% !important; }
    #btn-edit-register { width: 100% !important; }

    .show-qr-payment img#pay_qr_code { width: 100%; }

}
.img-info{
   
    position: relative;
    width: 30px;
    height: 30px;
    object-fit: none;
    margin-top: 0px;
    top: 4px;
}
  
.title-remark{
    font-size: 0.75em;
    text-align: center;
}
.tooltip-inner {
    max-width: 300px !important; 
    font-size: 12px;
}