﻿@font-face {
    font-family: "BangkokBank-Regular";
    src: url(../fonts/bblsans-regular.eot);
    src: url(../fonts/bblsans-regular.woff) format("woff"),url(../fonts/bblsans-regular.woff2) format("woff2");
    font-style: normal
}

@font-face {
    font-family: "BangkokBank-Medium";
    src: url(../fonts/bblsans-medium.eot);
    src: url(../fonts/bblsans-medium.woff) format("woff"),url(../fonts/BBLSans-medium.woff2) format("woff2");
    font-style: normal
}

@font-face {
    font-family: "BangkokBank_Text-Regular";
    src: url(../fonts/bblsans_looped-regular.eot);
    src: url(../fonts/bblsans_looped-regular.woff) format("woff"),url(../fonts/bblsans_looped-regular.woff2) format("woff2");
    font-style: normal
}

@font-face {
    font-family: "BangkokBank_Text-Medium";
    src: url(../fonts/bblsans_looped-medium.eot);
    src: url(../fonts/bblsans_looped-medium.woff) format("woff"),url(../fonts/BBLSans_looped-medium.woff2) format("woff2");
    font-style: normal
}

@media Screen and (min-width:1px){
    .top-bar-left {
        width: 45%;
    }
    .top-bar-right {
        width: 55%;
    }
    #divMainLeft{
        width:0%;
    }
    #divMainRight{
        width:100%;
    }
    .logon-top-header {
        padding: 10px 20px 15px 20px;
    }
    .logon-image-ifund {
        display:none;
    }
    .imageLogoMaster{
        display:block;
    }
    .form-content {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .pad-left{
        padding-left:20px;
    }
    .form-group {
        width: 93%;
    }
    .logon-customer-group{
        width: 93%;
    }
    .checkbox-group {
        width: 93%;
    } 
    .register-section {
        width: 93%;
    }  
    .information-group {
        width: 93%;
    }
    .information-term-group{
        width: 93%;
    }
}
@media Screen and (min-width:768px){
    .top-bar-left {
        width: 64%;
    }

    .top-bar-right {
        width: 36%;
    }
    .container-left {
        height: 90vh;
    }
    #divMainLeft{
        width: 30%;
    }
    #divMainRight{
        width: 70%;
    }
    .div-image {
        background-position : right 40% bottom 0%;
    }
    .logon-top-header{
        padding: 18px 20px 18px 20px;
    }
    .logon-image-ifund {
        display:block;
        left: 10px;
        width: 215px;
    }
    .imageLogoMaster{
        display:none;
    }
    .form-group {
        width: 481px;
    }
    .checkbox-group {
        width: 481px;
    } 
    .register-section {
        width: 551px;
    } 
    .information-group {
        width: 562px;
    }
    .information-term-group{
        width: 93%;
        max-width:700px;
    }
}
@media Screen and (min-width:992px){
    .container-left {
        height: 92vh;
    }
    #divMainLeft{
        width: 45%;
    }
    #divMainRight{
        width: 55%;
    }
    .logon-customer-group{
        width: 330px;
    }
    .div-image {
        background-position : right 37% bottom 0%;
    }
    .logon-top-header{
        padding: 18px 84px 18px 84px;
    }
    .logon-image-ifund{
        left: 74px;
        width: 230px;
    }
    .form-content {
        padding-top: 40px;
        padding-bottom: 20px;
    }
}
@media Screen and (min-width:1024px){
    .container-left {
        height: 92vh;
    }
    #divMainLeft{
        width: 45%;
    }
    #divMainRight{
        width: 55%;
    }
    .pad-left{
        padding-left:25px;
    }
    .div-image {
        background-position : left 55% bottom 0%;
    }
    .logon-top-header{
        padding: 18px 84px 18px 84px;
    }
    .logon-image-ifund{
        left: 74px;
        width: 230px;
    }
}
@media Screen and (min-width:1400px) {
    .container-left {
        height: 92vh;
    }
    .pad-left{
        padding-left:35px;
    }
}
@media Screen and (min-width:1600px) {
    .container-left {
        height: 92vh;
    }
    .logon-customer-group{
        width: 400px;
    }
}

.top-bar-left {
    float: left;
}

.top-bar-right {
    float: left;
    text-align: right;
    padding-top:5px;
}

.container-left {
    float: left;
}
.container-right {
    float: left;
    /*padding-left: 3%;*/
}

body{
    margin:0;
    font-family:BangkokBank-Regular,Tahoma;
    overflow-y:scroll;
    overflow-x:hidden;
    letter-spacing: 0.3px;
}

div{
    padding:0;
    margin:0;
}

.imageLogoMaster{
    margin-top:10px;
    height:50px;
}

.logon-top-header{
    display: block;
    height: 33px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background:  #002850;
}
.div-image{
    /*background-repeat:no-repeat;*/
    background-size:cover;
    background-image: url(../images/logon/iFund-Background-Logon.jpg);
    color:#FFF;
    font-family:BangkokBank-Regular,Tahoma;
}
.logon-image-ifund{
    position: absolute;
    top: 85px;
}

/* footer */
.browser-note {
    margin-bottom: 5px;
    font-size: 14px;
    display: block;
}
.footer-link{
    font-family: "BangkokBank_Text-Medium";
    font-size: 12px;
    text-decoration:underline;
    color:#000;
}
.contact-info {
    font-family: BangkokBank_Text-Medium;
    font-size: 12px;
    display: block;
    margin-top: 20px;
    margin-bottom: 25px;
}
/* footer */

.divFooter {
    font-size: 14px;
    color: #000;
}

.form-content {
    width: 98%;
    min-height: 500px;
    max-height:max-content;
}

.footer1 {
    position: fixed;
    bottom: 0;
    font-size: 14px;
    color: #000;
}

.footer2 {
    position: relative;
    display:inline-block;
    font-size: 14px;
    color: #000;
    margin-top: 15px;
}

.footer3 {
    position: relative;
    display:inline-block;
    font-size: 14px;
    color: #000;
    margin-top: 15px;
}

.header {
    background-color: #003366;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}       
.header-logo {
    height: 30px;
}      
.language-selector {
    display: flex;
    gap: 10px;
}      
.language-option {
    color: white;
    text-decoration: none;
    font-size: 14px;
}     
.language-option.active {
    font-weight: bold;
}            
.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}
    .form-group label{
        padding-left: 10px;
    }
    .form-group span{
        padding-left: 10px;
    }

.customer-group{
    display: inline-grid;
    flex-direction: column;
    gap: 2px;
    min-width: 330px;
    max-width: 35%;
    margin-bottom: 10px;
    margin-right:10px;
}
    .customer-group label{
        padding-left: 10px;
    }
    .customer-group span{
        padding-left: 10px;
    }

.logon-customer-group{
    display: inline-grid;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
    margin-right:10px;
}
    .logon-customer-group label{
        padding-left: 10px;
    }
    .logon-customer-group span{
        padding-left: 10px;
    }

input { 
    outline: none;
}

.logon-textbox {
    font-family:BangkokBank-Regular, Tahoma;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size:16px;
    font-weight:700;
    color: #494949;
}
    .logon-textbox:focus {
        border: 1px solid #0064FF;
    } 
    .error {
        border: 1px solid #ff0000;
    } 
    .error:focus {
        border: 1px solid #ff0000 !important;
    } 

    input[type=password]:focus{
        border: 1px solid #0064FF;
    }


.label-textbox{
    color:#78787D;
    font-size:16px;
    font-weight:400;
}
.header-label {
    font-size: 30px;
    font-weight: 700;
    color: #000;
}
.sub-header-label {
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    display: block;
    margin-bottom: 5px;
}
.second-header-label {
    font-size: 16px;
    margin-top: 10px;
    display: block;
    margin-bottom: 15px;
}
.no-account-label {
    font-size: 30px;
    font-weight: 800;
}
.normal-label{
    font-size: 16px;
    line-height: 1px;
    letter-spacing: 0.2px;
    color: #000;
}
.extra-message {
    color: #0064FF;
    font-size: 12px !important;
}
.error-message{
    color: #ff0000;
    font-size: 12px !important;
}

.label-hint {
    text-decoration: underline;
    font-size: 16px;
    color: #0064FF;
    font-weight: 700;
}

.label-hint:hover {
    color: #0048B7;
}
.image-hint{
    transform: translateY(7px);
}

input[type=checkbox]{
    height: 20px;
    width: 20px;
    transform: translateY(5px);
    margin-right: 10px;
}

input[type=checkbox], input[type=checkbox]:checked:before{
    background: #0040ff;
    accent-color: #0040ff;
    -moz-appearance: auto!important;
    -ms-appearance: auto!important;
    -webkit-appearance: auto !important;
}

.forgot-password {
    float: right;
    font-size: 14px;
    color: #0064FF;
    text-decoration: underline;
    font-weight: 700;
}    
.forgot-password:hover {
    color:#0048B7;
}
.checkbox-group {
    display: block;
    margin-bottom: 15px;
}        
.login-btn {
    font-family: "BangkokBank-Regular";
    background-color: #E3E3E5;
    border: none;
    padding: 10px 16px 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    height: 44px;
    width: 120px;
    color: #939399;
}      
.register-section {
    margin-top: 30px;
}      
.register-section p {
    font-size: 14px;
    margin-bottom: 15px;
}      
.register-btn-white {
    font-family: "BangkokBank-Regular";
    cursor: pointer;
    background-color: white;
    border: 2px solid #0064FF;
    color: #0064FF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px 12px 16px;
    min-width: 120px;
    height: 44px;
    margin-top: 20px;
    margin-bottom: 10px
}
.register-btn-white:hover{
    background: #0064FF;
    color: #FFF;
}
.register-btn-white:disabled{
    background: unset;
    color:#939399;
    border: 2px solid  #E3E3E5;
    cursor:unset ;
}
/*.register-btn:hover {
    color:#fff;
    background-color: #0064FF;
}*/

.register-btn-blue{
    font-family: "BangkokBank-Regular";
    cursor: pointer;
    background-color: #0064FF;
    /*border: 2px solid #0064FF;*/
    border: none;
    color: #FFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px 12px 16px;
    min-width: 120px;
    height: 44px;
    margin-top: 20px;
    margin-bottom: 10px
}
.register-btn-blue:hover{
    background: #0048B7;
}
.register-btn-blue:disabled{
    background: #E3E3E5;
    color:#939399;
    border: 1px solid #E3E3E5;
    cursor:unset ;
}

.button-section {
    margin-top: 15px;
    min-width: 450px; 
    max-width: 98%;
} 

.hide{
    display:none;
}

.iFundsLink{
    font-family: "BangkokBank_Text-Medium";
}

section{
    margin:0;
    padding:0;
}

/* Term & Com */

.information-group {
    display: table;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.information-term-group {
    display: table;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.TermTitle
{
	/*color: White;
	font-weight: bold;
	font-size: 14pt;
	font-family: Angsana New;
	text-decoration: underline;*/
	color: #000;
	/*font-weight: bold;*/
	font-size: 14pt;
	font-family:"BangkokBank-Medium","MS Sans Serif";
	text-decoration: underline;
}
.TermNormal
{
	color: #000;
	/*font-family: Tahoma;
	font-size: 12pt;*/
	font-family: Bangkokbank-Regular;
    font-size: 14px;
}
.TermText
{
	/*font-size: 12pt;
	color: white;
	font-family: Tahoma;
	text-decoration: underline;*/
	color: #000;
	/*font-family: Tahoma;
	font-size: 12pt;*/
	 font-family: "BangkokBank-Regular","MS Sans Serif";
    font-size: 14px;
    text-decoration: underline;
}


.iframe-termcon{
    border:1px solid #ddd;
    border-radius:5px;
}

::-moz-selection{
    background:#ddd;
}

::selection{
    background:#ddd;
}

::-webkit-scrollbar {
    /*-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;*/
    width: 10px
}

::-webkit-scrollbar:vertical {
    width: 10px
}

::-webkit-scrollbar:horizontal {
    height: 5px
}

::-webkit-scrollbar-thumb {
    background: #c8c8cc;
    border-radius: 10px;
    border: 1px solid lightgrey;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #E3E3E5;
}