﻿label {
    font-weight: unset;
}

fieldset {
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
    min-inline-size: min-content;
    border-width: 2px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
}

#testTable th {
    text-align: center;
}

.subTitle {
    background-color: #E7E8F0;
    font-size: 0.7em;
    color: #16206E;
    text-align: left;
    padding: 10px;
}

.hiddenCheckBox {
    display: none;
}

#footer {
    background-color: #eeeeee;
    color: #959595;
}

#contact {
    color: #000000;
    text-align: center;
    width: 100%;
}

.circle2 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    color: #9b7952;
    background-color: #dcdcdc;
    line-height: 50px;
    margin: 10px;
    text-algin: center;
}

.clientValidateInput {
    width: 70%;
    margin: 0 auto;
}

@media (max-width: 737px) {
    .clientValidateInput {
        width: 95%;
    }

    #resend_button, #sign_in_button_otp {
        width: 95% !important;
    }

    #login_form {
        padding-bottom: 0px !important;
    }

    #login_form .field_container > br {
        display: none;
    }

    .sv_prev_btn, .sv_next_btn, #lbIdCardInfo, #lbAddressInfo, #lbBankStmt {
        font-size: 10pt !important;
    }

    .reminder_info {
        width: 100% !important;
        border-radius: 10px !important;
    }

	.reminder_info legend, #lbIdCard, #lbResidentialProof {
		font-size: 14px !important;
	}

	.reminder_info table td {
		padding: 5px !important;
		line-height: 1.5 !important;
	}

    #captcha {
        width: 100% !important;
    }

    .tab input[type="checkbox"] + label {
        padding: 5px 40px 5px 5px !important;
        line-height: 2 !important;
        font-size: 14px !important;
    }

    .tab label::after {
        position: absolute !important;
        right: 10px !important;
        top: 5px !important;
        width: 2em !important;
        height: 2em !important;
        line-height: 2 !important;
    }
	
	p > input[type="radio"] + label {
		margin-bottom: 1%;
	}
}

label.errorLabel {
    background-color: inherit !important;
    box-shadow: inherit !important;
    border: none !important;
    color: red !important;
    width: 100% !important;
}

legend {
    display: none
}

.circle2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    background-color: #cbb580;
    line-height: 40px;
    margin: 10px;
    text-algin: center;
    position: absolute;
    top: -20px;
}
/****************************************/

@media screen and (min-width:481px) {
    #lbDMStateMethod_1, #lbDMStateMethod_2 {
        width: 40%;
    }

    #DMStateMethod_1, #DMStateMethod_2 {
        left: 0px;
        top: 0px
    }

    #lbToEmail {
        margin-left: 10px;
    }

    .reposition {
        margin-left: 7px;
    }
}

#custom-titles {
    display: none
}
/**  ----------------  */
hr {
    border-top: 1px dotted #8c8b8b;
}

.errsign {
    color: red
}

/* Chrome, Firefox, Opera, Safari 10.1+ */
::placeholder {
    color: #c7c7c7;
    opacity: 1;
    font-size: 1em;
    font-family: monospace; /* Firefox */
}
/* Internet Explorer 10-11 */
:-ms-input-placeholder {
    color: #c7c7c7;
    font-size: 1em;
    font-family: monospace;
}

/* Microsoft Edge */
::-ms-input-placeholder {
    color: #c7c7c7;
    font-size: 1em;
    font-family: monospace;
}

@media screen and (max-width: 480px) {
    #lbDMStateMethod_2 {
        width: 50%;
    }

    .title-left {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
}

input[type="radio"] {
    display: none;
}

/**  ----------------  */
body, .button-submit {
    font-size: 18pt;
}

.fname:after {
    content: "*";
    color: red;
}

@media (max-width: 737px) {
    body, span, label, a, div, input, .button-submit, #client_info{
        font-size: 10pt !important;
    }

    #client_info .btn {
        white-space: normal;
    }

    .fname {
        width: 50%;
    }

    .fname:after {
        content: "*";
        color: red;
        white-space: nowrap;
    }

    #disButton {
        width: 250px;
    }


    label, #noteMsg {
        width: 100% !important;
        box-sizing: border-box;
    }

    .step {
        padding: 5px;
    }

    legend + p {
        margin: 0px;
    }

    ul + br {
        display: none;
    }

    .uploadAddressIframe {
        height: unset !important;
    }

    .uploadIdIframe {
        height: 500px !important;
    }

    #upload_address {
        width: 200px !important;
    }

    #upload_id_frame {
        width: 300px !important;
    }

    input, select, .formDate {
        /*width: 100% !important;*/
    }

    #submit {
        height: 41px !important;
        width: 50% !important;
    }

    .circle2 {
        width: 30px !important;
        height: 25px !important;
        font-size: 14px !important;
        line-height: 22px !important;
        margin: 10px !important;
        position: absolute !important;
        top: -15px !important;
    }

    #c_Eng {
        right: 50px !important;
    }

    #c_Big5 {
        right: 20px !important;
    }

    #c_Gb {
        right: -10px !important;
    }

    .sv_q_checkbox_other, .sv_q_radiogroup_other {
        margin-left: 5px !important;
    }

    textarea.sv_q_checkbox_other, textarea.sv_q_radiogroup_other {
        margin-left: 2px !important;
        margin-bottom: 0px !important;
    }

    .clientValidateInput {
        width: 95%;
    }

    #resend_button {
        width: 95% !important;
    }

    .otp {
        width: calc(95% - 2px) !important;
    }

    #login_form {
        padding-bottom: 0px !important;
    }

    .sv_prev_btn, .sv_next_btn {
        font-size: 10pt !important;
    }

    .datetimepickerwithdropdown .preMonth {
        margin-right: 10px !important;
    }

    .datetimepickerwithdropdown .nextMonth {
        margin-left: 10px !important;
    }
}

.title-left {
    min-width: 25%;
    max-width: 25%;
}

@media (min-width: 738px) {
    #disButton {
        width: 400px;
    }


    .sv-q-col-1, .sv-q-col-2, .sv-q-col-3, .sv-q-col-4,
    .sv-q-column-1, .sv-q-column-2, .sv-q-column-3, .sv-q-column-4 {
        min-width: 200px !important;
        max-width: 300px !important;
    }

    .sv-q-col-5,
    .sv-q-column-5 {
        width: auto;
        min-width: 30% !important;
    }

    .sv-q-col-5,
    .sv-q-column-5 {
        width: 15% !important;
    }

    .sv-q-col-1, .sv-q-col-2,
    .sv-q-column-1, .sv-q-column-2 {
        width: calc(50% - 20px) !important;
        width: -webkit-calc(50% - 20px) !important;
        width: -moz-calc(50% - 20px) !important;
        width: -o-calc(50% - 20px) !important;
    }

    .sv-q-col-3,
    .sv-q-column-3 {
        width: calc(33% - 30px) !important;
        width: -webkit-calc(33% - 60px) !important;
        width: -moz-calc(33% - 60px) !important;
        width: -o-calc(33% - 60px) !important;
    }

    .sv-q-col-4,
    .sv-q-column-4 {
        width: 20% !important;
    }

    h5 > span {
        font-size: 24px;
    }

    .btn {
        font-size: 18pt !important;
    }

    .form-control {
        font-size: 12pt !important;
    }

    .progress-bar {
        font-size: 15px;
        display: table;
    }

    .progress {
        height: 30px;
    }

    .progress-bar > span {
        display: table-cell;
        vertical-align: middle;
        white-space: nowrap;
    }
	
	p > input[type="radio"] + label {
		margin-right: 1%;
	}
}

label {
    margin-bottom: 0px;
}

.sv-q-col- label, .sv-q-col-1 label, .sv-q-col-2 label, .sv-q-col-3 label, .sv-q-col-4 label, .sv-q-col-5 label,
.sv-q-column-1 label, .sv-q-column-2 label, .sv-q-column-3 label, .sv-q-column-4 label, .sv-q-column-5 label {
    width: 100%;
    padding: 10px !important;
    vertical-align: top;
}

.sv-q-col-1, .sv-q-col-2, .sv-q-col-3, .sv-q-col-4, .sv-q-col-5,
.radioItem, .checkBoxItem {
    border-radius: 5px;
    background-color: #5A5046;
    margin-right: 0.75em !important;
    margin-bottom: 0.75em !important;
    color: #ffffff;
}

.sv-q-column-1, .sv-q-column-2, .sv-q-column-3, .sv-q-column-4, .sv-q-column-5 {
    padding-right: 0px !important;
}


.ui-checkboxradio-radio-label .ui-icon-background {
    display: none
}

button, .btn {
    border-radius: 5px;
    color: #ffffff;
    padding: 10px;
    text-decoration: none;
    border: none;
    font-size: 18px;
    min-width: 120px;
}

button[id^='resetBtn'] {
    margin-right: 1%
}

.tab-content {
    background-color: #E7E8F0;
}

#header {
    background-color: #c3a55b;
    color: #ffffff;
}

.radio-label {
    background-color: #16206E;
    color: #ffffff;
    border-radius: 10px;
    font-size: 1em;
}

.ui-state-active {
    background-color: #FF9F35
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #D77C2F;
    background: #FF9F35;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 1px solid #D77C2F;
    background: #FF9F35;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button {
    background-color: #16206E;
    color: #ffffff;
}

select {
    margin: 0
}

.errsign {
    display: inline-block;
    display: none
}

#accstatement {
    height: 40px;
    float: left;
    margin-top: 0px
}

#male, #female {
    width: 20%;
}

#investexp {
    height: 45px;
}

@media screen and (max-width: 490px) {

    #accstatement {
        width: 100%;
        margin-top: 10px
    }

    #investexp, .fname {
        width: 100%;
    }

    #investexp {
        height: auto;
    }
    /*.custom-buttons{padding-bottom:200px;}*/
    #accstatement {
        padding-bottom: 15px;
    }

    .sq-q-col-1, .sv-q-column-2, .sv-q-column-3, .sv-q-column-4, .sv-q-column-5, .sv-q-column-6 {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .sv_qstn .content-left-new {
        overflow: unset !important;
    }
}

.info select {
    width: 32%;
    margin: 5px 0px;
    box-sizing: border-box;
}

.info {
    width: 100%;
}

/* lang style */
.lang {
    text-decoration: none;
}

.exit {
    text-decoration: none;
    color: white;
}

.uploadIDIframe {
    height: 100%;
}

.formDate {
    width: 50%;
}

a:visited {
    text-decoration: none;
}

a,
a:hover,
a:focus {
    color: white;
    text-decoration: none;
}

#langSwitch > a,
#langSwitch > a:hover,
#langSwitch > a:focus {
    color: black;
    text-decoration: none;
}

.disclaimerDiv a,
.disclaimerDiv a:hover,
.disclaimerDiv a:focus {
    color: #005089;
}

.disclaimerDiv a:hover,
.disclaimerDiv a:focus {
	text-decoration: underline;
}

.disclaimerDiv a[linkclicked="true"] {
	color: rgb(85, 26, 139);
}

.noTitleStuff .ui-dialog-titlebar {
    display: none;
}

.dialog_btn_text {
    font-size: 11pt !important;
    background-color: #d9d9d9 !important;
    color: #000000 !important;
    width: auto !important;
}

.ui-widget-overlay {
    opacity: 0.3;
}

.ui-dialog .ui-dialog-buttonpane {
    padding: 0px;
}


.hiddenRadioBtn {
    display: none;
}

.radio, .radioLbl {
    width: 30%;
}

.sv_qstn {
    padding: 0.3em 0.5em !important;
    border-bottom: 0.5px dashed grey;
}

h5 {
    /* min-width: 300px; */
}

label {
    font-size: 18pt;
}

button {
    min-width: 100px;
}

.panel-footer {
    display: flow-root;
}

.sv_next_btn, .sv_complete_btn {
    float: right;
}

.sv_p_container {
    background-color: rgb(255,245,235);
}

.sv_q_checkbox_other, .sv_q_radiogroup_other {
    width: 96% !important;
    margin-left: 2%;
    margin-bottom: 10px;
}

.checkBoxItem .form-group, .radioItem .form-group {
    width: 100%;
    padding-bottom: 2px;
    margin-bottom: 0px !important;
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: 0px;
}

/** Acordeon styles **/
.tab {
    position: relative;
    margin-bottom: 1px;
    width: 100%;
    color: #000000;
}

.tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.tab input[type="checkbox"] + label {
	position: relative;
	padding: 10px 100px 10px 10px;
	font-weight: bold;
	line-height: 3;
	cursor: pointer;
}

.tab-content {
    max-height: 215px;
    overflow: auto;
    background: #e4e4e4;
    -webkit-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
}

.tab-content p {
	margin: 1em;
}

/** :checked **/
.tab input:checked ~ .tab-content {
    max-height: 500px;
}

/** Icon **/
/*
.tab label::after {
    position: absolute;
    right: 24px;
    top: 10px;
    display: block;
    width: 3em;
    height: 3em;
    line-height: 3;
    text-align: center;
    -webkit-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s;
}

.tab input[type=checkbox] + label::after {
    content: "+";
}

.tab input[type=checkbox]:checked + label::after {
    transform: rotate(315deg);
}
*/
input.submitBtnNoPdf {
    opacity: 1 !important;
    z-index: 1 !important;
}

h4 {
    background-color: #E7E8F0;
    font-size: 30px;
    color: #16206E;
    text-align: left;
    padding: 10px;
}

.requiredClass {
    color: red;
}

.button-next, .finish {
    float: right;
    min-width: 120px;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.button-back {
    float: left;
    min-width: 120px;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

#custom label {
    display: inline-block;
    margin: 10px 0 3px 7px;
    width: 35%;
}

fieldset {
    border: 1px solid #DDD;
}

#address, #time {
    display: inline-block;
    width: 50%;
}

.widget-datetimepicker[readonly] {
    background-color: white;
}

#uploadSignatureBtn {
    padding-top: 2px;
    padding-bottom: 2px;
    vertical-align: middle;
}

#lbSign span {
    vertical-align: middle;
}

.imgContainer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid black;
    min-height: 300px;
}

.imgContainerWrapper {
    display: flex;
    flex-direction: column;
}

#sign_prev {
    max-width: 100%;
    height: auto;
    min-height: 1px;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 80%;
        top: 10px;
    }

    .close {
        top: 0px;
        right: 5px;
        font-size: 30px !important;
    }
}

.close {
    color: white;
    opacity: 1;
}

.pdf-form {
    border: none;
    border-radius: 5px;
    width: 100%;
    min-height: 54px;
    color: white;
    white-space: normal;
}

.id_icon, .address_icon, .bank_stmt_icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

.reminder_info table td {
    padding: 15px;
    vertical-align: middle !important;
    color: #666;
    text-align: left;
}

.reminder_info {
    max-width: 500px;
    border-radius: 30px;
    border: 2px solid #CCC;
    margin: 20px auto;
}

.reminder_info legend {
	display: block;
	font-weight: bold;
}

#lbIdCard, #lbResidentialProof, #lbBankStmtProof {
    font-weight: bold;
    font-size: 17px;
}

#lbIdCardInfo, #lbAddressInfo, #lbBankStmt {
    font-size: 16px;
}

.id_icon {
    background-image: url("../../images/id_icon.png");
    background-color: #2575B2;
}

.address_icon {
    background-image: url("../../images/address_icon.png");
    background-color: #2575B2;
}

.bank_stmt_icon {
    background-image: url("../../images/bank_stmt_icon.png");
    background-color: #2575B2;
}

body::after {
    content: '';
    display: block;
    height: 60px; /* set this height to larger than footer height*/
}

body {
    min-height: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
}

html {
    height: 100%
}

textarea.sv_q_radiogroup_other, textarea.sv_q_checkbox_other {
    resize: none;
}

.sv_q_required_text {
    color: red;
}

.alert {
    margin-bottom: 0px;
}

@media screen and (max-width: 490px) {
    .sv_q_matrix {
        border: 0;
    }

    .question {
        font-weight: bold;
    }

    .option {
        text-align: left;
    }

    .sv_q_matrix caption {
        font-size: 1.3em;
    }

    .sv_q_matrix thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .sv_q_matrix tr {
        border: 1px solid #ddd !important;
        display: block;
        margin-bottom: .625em;
    }

    .sv_q_matrix td {
        border-bottom: 0;
        display: block;
        text-align: left;
    }

	.sv_q_matrix td::after {
		/*
		* aria-label has no advantage, it won't be read inside a table
		content: attr(aria-label);
		*/
		content: attr(title);
	}

	.sv_q_matrix td:last-child {
		border-bottom: 0;
	}

	.sv_q_matrix td:first-child {
		background-color: #ddd;
		border-bottom: 1px solid #ddd;
	}

    .matrix-vert {
        display: inline;
    }
}

.progress {
    width: 100% !important;
}

.rpqResult td {
    padding: 5px;
}

.sv_qstn_tel {
    overflow: unset !important;
}

.flex-container {
    display: flex;
}

.flex-container .content-left-new {
	flex: auto;
	overflow: initial !important;
}

@media screen and (max-width: 600px) {
    .flex-container {
        display: initial !important;
    }
}

.sv_p_title {
    padding: 10px !important;
}

.zoomOut {
    display: none;
    position: absolute;
    bottom: 50px;
    right: 30px;
    min-width: 50px;
}

.zoomIn {
    display: none;
    position: absolute;
    bottom: 110px;
    right: 30px;
    min-width: 50px;
}

.imgContent img {
    padding: 10px;
    width: 100%;
}

.client_validate_note {
    text-align: left;
    padding-top: 10px;
}

@media (max-width: 737px) {
    span.disclaimerTitleRemark {
        font-size: 10px !important;
    }
    #address, .formDate {
        width: 100%;
    }
}

.sv_qstn_tel, .sv_qstn_tel .content-left-new {
    overflow: visible !important;
}

/*.sv_main span {
    word-break: keep-all !important;
}*/

#isUATHeader {
    display: none;
    background-color: yellow;
    text-align: center;
}

#signature, div[id^='signatureImgContainerWrapper'] {
    display: table;
}
/* For Disclaimer5 */
.audioButton {
    cursor: pointer;
    margin-right: 1em;
    padding: 0.5em;
    border: 1px solid;
    border-radius: 20px
}
.audioButton:hover, .audioButton.active {
    color: #005089;
    border-color: #005089;
}
/* MOBILTRAPP-1414 */
.datetimepickerwithdropdown .getyear {
    display: inline-block;
}
/* MOBILTRAPP-1423 */
.datetimepicker table tr td span {
    word-break: keep-all;
}
/* MOBILTRAPP-1406 */
.progress-bar {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 2px;
    padding-right: 2px;
}
/* MOBILTRAPP-1404 */
.progress-bar span {
    word-break: keep-all;
}
/* MOBILTRAPP-1385 */
input[type="radio"]:not(:checked):disabled + label, button[disabled] {
    opacity: 0.3;
}

/* For video guideline Start */
#videoGuideline {
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#videoGuideline .header-container {
    background-color: #f1f3f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
#videoGuideline .header-text {
    font-size: 32px !important;
    font-weight: 600;
    padding: 30px 20px 20px 20px;
    text-align: center;
    color: #03b3ae;
}
#videoGuideline .content {
    width: 100%;
    padding-bottom: 30px;
}
#videoGuideline .steps-container {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 0 20px;
}
#videoGuideline .step-img-container {
    background-color: #ececec;
    border-radius: 12px 12px 0 0;
}
#videoGuideline .step-statement-container {
    background-color: #f1f3f4;
    border-radius: 0 0 12px 12px;
}
#videoGuideline .step-content {
    margin: auto;
    display: flex;
    align-items: flex-start;
    max-width: 390px;
    padding: 12px 0 11px 16px
}
#videoGuideline .step-text {
    margin-left: 10px;
    font-size: 17px !important;
    line-height: 1.29;
}
#videoGuideline .confirm-btn {
    margin-top: 10px;
}
.video-img {
    margin: auto;
    max-width: 390px;
    max-height: 220px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    height: 56vw;
}
.video-header-img {
    background-image: url("../../images/landing_2x.png");
    max-width: 430px;
    max-height: 274px;
    width: 100%;
    height: 64vw;
}
.video-step1-img.big5 {
    background-image: url("../../images/video_secs_tc_2x.png");
}
.video-step1-img.eng {
    background-image: url("../../images/video_secs_en_2x.png");
}
.video-step1-img.gb {
    background-image: url("../../images/video_secs_sc_2x.png");
}
.video-step2-img {
    background-image: url("../../images/selfie_glasses_2x.png");
}
.video-step3-img {
    background-image: url("../../images/selfie_shadow_2x.png");
}
.video-step4-img {
    background-image: url("../../images/selfie_2ppl_2x.png");
}
.video-step5-img {
    background-image: url("../../images/selfie_motion_2x.png");
}
.video-info-img {
    background-image: url("../../images/icon_info_2x.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 22px;
    min-width: 22px;
}
.video-fault-img {
    background-image: url("../../images/icon_fault_2x.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 22px;
    min-width: 22px;
}
#videoGuideConfirmDiv {
    width: 100%;
    position: fixed;
    bottom: 0;
    border: 20px solid transparent;
    box-sizing: border-box;
    z-index: 1;
    background-color: white;
    text-align: center;
}
#btnVideoGuideConfirm {
    width: 100%;
    max-width: 390px;
    padding: 14px 0;
    border-radius: 25px;
    background-color: #03b3ae;
    font-size: 17px;
    color: #fff;
}
#surveyContainer + #videoGuideline + #footer {
    display: none;
}
/* For video guideline End */