:root #site-main a {
    text-decoration: none;
}

/*
    header
 */
.select-wrapper > a.active ~ .select-wrapper-popup {
    min-width: 150px;
}

.select-wrapper-options > option, .select-wrapper-options > div {
    padding: 20px 10px 20px 26px !important;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-prudential-gray) !important;
}

.mobile-lang-btn.active > span, .mobile-lang-btn.active > span > span {
    color: var(--primary-red) !important;
    cursor: pointer;
}

.lang-select-text {
    font-size: 15px;
    font-weight: 600;
}

.lang-select-text:lang(zh) {
    font-weight: 500;
}

.otp-title {
    margin-bottom: 40px;
}

.success-title {
    margin-bottom: 40px;
}

.content-wrapper .otp-container #error-msg,
.content-wrapper .inner-container #error-msg{
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    padding: 20px 18px;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 40px;
}
.content-wrapper .otp-container #error-msg div,
.content-wrapper .otp-container #error-msg span,
.content-wrapper .inner-container #error-msg div,
.content-wrapper .inner-container #error-msg span{
    color: var(--primary-red) !important;
}

.form-group {
    margin-bottom: 20px;
}

.customSelect {
	height: 70px;
    border-radius: 6px;
    background: white;
    position: relative;
    box-shadow: 0px 26px 30px rgba(0, 0, 0, 0.05);
}

.customSelect.disabled {
    background-color: var(--secondary-gainsboro);
    pointer-events: none;
}

.customSelect::before {
	content: "";
	display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/uiuxRevamp/chevron-down-outline.svg) calc(100% - 24px) 22px no-repeat transparent;
}

.customSelect.active::before {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.customSelect .dropdown-header {
    text-align: left;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: flex;
    padding: 9px 24px 0 24px;
    margin-bottom: 2px;
    font-style: normal;
    color: var(--primary-black);
}

.customSelect .display,
.customSelect.active .dropdown-header {
    height: unset;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: flex;
    padding: 0 24px 9px 24px;
    margin-bottom: 0;
    font-style: normal;
    color: var(--primary-black);
}

.customSelect.active .dropdown-header {
    height: 70px;
    padding: 21px 24px;
}

.customSelect.active .dropdown-header {
    align-items: center;
    font-weight: 300;
}

.customSelect.active .display {
    display: none;
}

.customSelect.disabled .display {
    color: var(--secondary-spanish-gray);
}

@media only screen and (max-width:992px) {
    .customSelect {
        height: 64px;
    }

    .customSelect .dropdown-header {
        padding: 6px 24px 0 24px;
        margin-bottom: 0px;
    }

    .customSelect .display,
    .customSelect.active .dropdown-header {
        padding: 0 24px 6px 24px;
    }

    .customSelect.active .dropdown-header {
        height: 64px;
        padding: 6px 24px;
    }
}

.listContainer {
	border: none;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.listContainer ul {
    margin: 0;
    padding-left: 0;
}

.listContainer ul li {
    display: flex;
    padding: 12px 24px;
    align-items: center;
    border-top: 1px solid var(--primary-blue-gray);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    color: var(--secondary-prudential-gray);
}

.listContainer ul li:hover {
    color: var(--secondary-prudential-gray);
    background-color: var(--primary-blue-gray);
}

/* override global.css */
.customSelect .listContainer ul li:first-child {
    display: flex;
}

.form-group.form-group--lg .input-wrapper .mt-form .form-control~label {
    line-height: 28px !important;
    top: 20px;
}

.form-group.form-group--lg .mt-form.mt-form--notempty .form-control ~ label,
.form-group.form-group--lg .mt-form.mt-form--notempty .form-control ~ label *,
.form-group.form-group--lg .mt-form.mt-form--labelfixed .form-control ~ label,
.form-group.form-group--lg .mt-form.mt-form--labelfixed .form-control ~ label *,
.form-group.form-group--lg .mt-form .form-control:focus:not(:disabled) ~ label,
.form-group.form-group--lg .mt-form .form-control:focus:not(:disabled) ~ label *,
.form-group.form-group--lg .mt-form select.form-control ~ label,
.form-group.form-group--lg .mt-form select.form-control ~ label *{
    font-size: 14px;
    line-height: 22px !important;
    font-weight: 300;
    transform: translate(0px, -1.25rem);
    -webkit-transform: translate(0, -1.25rem);
}

.form-group.form-group--lg .input-wrapper .mt-form :disabled.form-control ~ label{
    color: var(--secondary-spanish-gray);
}

.form-group.form-group--lg .mt-form.mt-form--notempty :disabled.form-control,
.form-group.form-group--lg .mt-form.mt-form--notempty :disabled.form-control ~ label{
    pointer-events: none;
}

.input-wrapper.disabled > div:first-child > div:first-child,
.input-wrapper .mt-form input:disabled{
    background-color: var(--secondary-gainsboro);
}

.label-dob2{
	font-size: 16px;
}	

@media only screen and (min-width: 992px) {
	.label-dob2{
		font-size: 18px;
	}	
}

/* otp input */
input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active {
    border: unset;
}

.form-control:focus {
    box-shadow: none;
}

/* change password */
.password-format-error > *{
    color: var(--primary-black);
}

.password-format-error > .invalid{
    color: var(--primary-red);
}

.moon-icon-Info-Circle:before {
    color: var(--primary-red);
}

.moon-icon-Checkmark:before  {
    color: #0F9E5E;
}

/* success */

.msg-container {
    background: var(--primary-white);
    padding: 52px 40px 52px 40px;
    text-align: center;
}

.msg-container > div {
    margin-bottom: 10px;
}

.msg-container .img-container {
    margin-bottom: 20px;
}

.select-otp-desc {
    padding-top: 40px;
	color: var(--secondary-prudential-gray, #68737A) !important;
}

:root .select-otp-desc a {
    font-size: inherit;
    line-height: inherit;
}

.submit-btn {
    width: 100%;
}

.success-submit-btn {
    margin-bottom: 28px;
    min-width: 200px;
}

.parsley-errors-list {
    color: var(--primary-red) !important;
}

.mainContent {
	padding-left: 0;
	padding-right: 0;
}

.otp-container {
    max-width: 347px;
}

@media only screen and (min-width: 992px) {
    .otp-container, .inner-container {
        max-width: 568px;
    }

    .submit-btn {
        width: unset;
    }

    .content-wrapper .otp-container #error-msg,
    .content-wrapper .inner-container #error-msg{
        font-size: 14px;
        line-height: 22px;
    }
}

a.back-button,
a.cancel-button {
    text-decoration: underline !important;
}

.cancelOverlay button,
#send-btn {
    width: 240px;
    margin: auto;
}

.submit-btn {
    margin-bottom: 20px;
}

@media only screen and (max-width: 992px) {
    .cancelOverlay button,
    #send-btn {
        width: 100%;
    }

    .success-title {
        margin-bottom: 20px;
    }
}

.input-wrapper .mt-form input {
    font-weight: 600;
    height: 28px !important;
    font-size: 18px !important;
    line-height: 28px !important;
    color: var(--primary-black);
}

/* for masked info */
.input-wrapper .mt-form input[type='password'] {
    font-weight: 300;
    font-size: 20px !important;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--primary-black) !important;
    color: var(--primary-black) !important;
}

.otp-title-2 {
    padding: unset;
    padding-bottom: 20px;
}

.icon-circle-tick {
    display: block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background: url(../images/uiuxRevamp/circle-tick-gray.svg) no-repeat;
}

#username-input .input-wrapper .input-tips,
#password-input .input-wrapper .input-tips,
.icon-circle-tick.mt-form__iconbtn {
    display: none;
}

#username-input .input-wrapper .input-tips.active,
#password-input .input-wrapper .input-tips.active,
.icon-circle-tick.mt-form__iconbtn.valid {
    display: block;
}

.input-format-error {
    display: unset;
}

.input-format-error>div {
    display: flex;
    align-items: center;
    padding-top: 10px;
    color: var(--secondary-spanish-gray) !important;
}

.input-format-error>.invalid {
    color: var(--secondary-spanish-gray) !important;
}

.input-format-error>.valid {
    color: var(--secondary-teal-green) !important;
}

.input-format-error>.valid>.icon-circle-tick {
    background: url(../images/uiuxRevamp/circle-tick-green.svg) no-repeat;
}

.icon-circle-tick.mt-form__iconbtn {
    position: absolute;
    bottom: 25px;
    right: 30px;
    cursor: unset;
    background: url(../images/uiuxRevamp/circle-tick-green.svg) no-repeat;
    transition: -webkit-transform .6s ease-in-out;
    transition: transform .6s ease-in-out;
    transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out;
}

.form-group.form-group--lg .mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn {
    width: 24px;
}

.input-wrapper .input-tips:nth-child(2) {
    margin-top: 0;
}

#personal-input .input-wrapper .input-tips:nth-child(2),
#corporate-input .input-wrapper .input-tips:nth-child(2){
    margin-top: 10px;
}

.icon-success-reg {
    width: 60px;
    height: 60px;
}

.success-header {
    padding-bottom: unset;
    margin-bottom: unset;
}

#site-nav{
    background-color: white;
}

.ml-2.text-dark-blue{
    font-size: 15px;
    font-weight: 500;
    margin-top: 4px;
    height: 15px;
    width: 15px;
    line-height: 15px;
}

@media only screen and (max-width: 992px) {
    .ml-2.text-dark-blue {
        margin-top: 0;
    }
}

:lang(en) .ml-2.text-dark-blue{
    font-style: italic;
    font-weight: 600;
}

:lang(en) .moon-icon-World:before{
    font-weight: normal;
}

/*
    cancel popup
 */
.cancelOverlay {
    top: 40%;
    left: auto;
}

.cancelOverlay .overlaycontent {
    width: 100%;
    background-color: var(--primary-white, #FFF);
    padding: 24px;
    border-radius: 8px;
    box-shadow: unset;
    margin-top: unset;
}

.cancelOverlay .btn-wrapper {
    flex-direction: column-reverse;
    margin-top: 24px;
    gap: 10px;
}

.cancelOverlay .btn-wrapper .submit-btn {
    margin-bottom: 0;
}

@media only screen and (min-width: 992px) {
    .cancelOverlay {
        width: 60%;
        max-width: 766px;
    }

    .cancelOverlay .overlaycontent {
        padding: 36px;
        text-align: center;
    }

    .cancelOverlay .btn-wrapper {
        flex-direction: row;
        justify-content: center;
    }
}

/*
    fix
 */
a.cancel-button {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.otpInput input {
    color: var(--primary-black);
    font-weight: 700;
}

@media only screen and (max-width:992px) {
    .primary_button {
        font-size: 16px;
        line-height: 24px;
    }

    .input-wrapper .input-tips {
        font-size: 12px;
        line-height: 18px;
    }

    .input-wrapper .input-tips.input-format-error {
        font-size: 14px;
        line-height: 22px;
    }
}

@media only screen and (min-width: 992px) {
    a.cancel-button {
        font-size: 18px;
        line-height: 24px;
    }
}