app-register {
    height: 100%;
}

app-register app-fields-section > div {
    flex-direction: column;
}

app-register app-fields-section > div {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: end;

}

app-register .generic-form {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
}

app-register app-fields-page form > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 20px;
}

app-register app-fields-page form > div > div {
    width: 100%;
    order: 2
}

app-register app-fields-section div {
    display: flex;
}

app-register .form-element-error-wrapper {
    width: 100%;
}

app-register app-fields-section > div > div {
    width: 100%;
}

app-fields-section > div > div.fld-postcode, app-fields-section > div > div.fld-stateorprovince, #mainDiv:not(.mobile) app-fields-section > div > div.fld-documentselect, #mainDiv:not(.mobile) app-fields-section > div > div.fld-idcardnumber, app-fields-section > div > div.fld-country, app-fields-section > div > div.fld-nationality {
    width: calc(50% - 14px)
/*     padding-right: 14px; */
}
app-fields-section > div > div.fld-postcode, #mainDiv:not(.mobile) app-fields-section > div > div.fld-idcardnumber, app-fields-section > div > div.fld-country{ 
    margin-right: 28px
}

app-fields-page app-text-field, app-fields-page .form-label, app-fields-page .form-element-wrapper, app-fields-page app-select-field, app-fields-page app-checkbox-field, app-fields-page app-phone-field, app-fields-page app-date-field, app-fields-page app-password-field {
    width: 100%;
}
#root #forgotpass .form-label {
    font-size: 1rem;
    text-align: left;
    color:  var(--c-f-s);
    padding-bottom: 4px;
} 

app-fields-page .form-row:not(.checkbox-wrapper) {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#root app-register form .form-row > label {
    min-width: 50px;
    width: unset;
    white-space: nowrap;
    padding: unset;
    color: var(--c-black);
    display: none;
}

#root .generic-form .form-row .form-element-wrapper {
    width: 100%;
    position: relative;
    display: inline-flex;
}

#root .generic-form app-select-field .form-row .form-element-wrapper::after {
    font: var(--icon-font);
    content: " ar-dropdown";
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 3px;
    pointer-events: none;
}

#root .generic-form app-select-field .form-row.disabled-field .form-element-wrapper::after {
    color: var(--c-o2)
}

app-register app-fields-section input,app-register app-fields-section select {
    height: 30px;
}

#root .generic-form .form-row .form-element-wrapper .icon-container, #root .generic-form .form-row tel-input .icon-container {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -23px;
    top: 6px;
    background-size: 20px;
    border-radius: 50%;
    z-index: 5
}


#root app-register .generic-form .form-row:not(.register-form-errors) .form-element-wrapper .form-element-error, #root .change-password-wrapper .generic-form .form-row:not(.register-form-errors) .form-element-wrapper .form-element-error {
    left: 0px;
    font-size: 12px;
    pointer-events: none;
    white-space: normal;
    width: unset;
    line-height: 1;
    display: flex;
    align-items: center;
    min-height: 19px;
    padding: 0 5px;
    color: var(--o-red-a);
    z-index: 10;
    border-radius: 5px;
}

#root app-register .generic-form .form-row:not(.register-form-errors) .form-element-wrapper .form-element-error {
    position: relative;
    transform: none;
    text-align: left;
    padding: 7px 0px;
}

#root app-register .generic-form .form-row:not(.register-form-errors) .form-element-wrapper .form-element-error::before, #root .change-password-wrapper .generic-form .form-row:not(.register-form-errors) .form-element-wrapper .form-element-error::before {
    width: 8px;
    height: 8px;
    display: flex;
    background-color: var(--o-red-b);
    position: absolute;
    top: -4px;
    left: 10px;
    transform: rotate( 45deg );
    z-index: 9;
}

#mainDiv:not(.mobile) app-fields-section div#addressline1 > div:first-child, #mainDiv:not(.mobile) app-fields-section div#country > div:first-child, #mainDiv:not(.mobile) app-fields-section div#dob > div:last-child {
    width: 30%;
}

#mainDiv:not(.mobile) app-fields-section div#addressline1 > div:last-child, #mainDiv:not(.mobile) app-fields-section div#country > div:last-child, #mainDiv:not(.mobile) app-fields-section div#emailandteam > div:first-child, #mainDiv:not(.mobile) app-fields-section div#dob > div:first-child {
    width: 70%;
}

#mainDiv:not(.mobile) app-fields-section div#addressline2 > div, #mainDiv:not(.mobile) app-fields-section div#username > div, #mainDiv:not(.mobile) app-fields-section div#marketing > div, #mainDiv:not(.mobile) app-fields-section div#terms > div {
    width: 100%;
}

#mainDiv:not(.mobile) app-fields-section div#marketing {
    flex-direction: column;
    padding-top: 10px;
}

app-fields-section div#marketing app-checkbox-field .checkbox-wrapper, #mainDiv:not(.mobile) app-fields-section div#terms app-checkbox-field .checkbox-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#mainDiv:not(.mobile) app-fields-section div app-checkbox-field .checkbox-wrapper p-checkbox {
    margin-right: 10px;
}

app-fields-section app-checkbox-field .field-label {
    flex: 1;
}

#root app-fields-section app-checkbox-field .field-label a {
    color: var(--o-blue-b);
    display: inline-block
}

#mainDiv:not(.mobile) app-fields-section app-checkbox-field .required {
    margin: unset;
}

#root .generic-form .field-hint {
    font-style: italic;
    background-color: var(--o-primary-c);
    color: var(--c-f);
    z-index: 100;
    top: -1px;
    min-height: 36px;
    display: none;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 10px;
    text-align: left;
    right: 0px;
    top: 32px;
    border-radius: 3px;
}

#root .generic-form .show-hint .field-hint {
    display: flex;
    position: absolute;
    pointer-events: none;
}

#root .register-popup app-register .generic-form #password .field-hint {
    width: 100%;
    height: unset;
    white-space: normal;
    padding: 5px;
    text-align: left;
    top: -6px;
    display: none
}

#root .register-popup app-register .generic-form #password input:focus ~ .field-hint {
    display: flex;
}

#root .mobile app-register .generic-form .field-hint {
    justify-content: center;
    color: var(--c-s-white);
    background-color: var(--o-blue-b);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-weight: 500;
    line-height: 19px;
    font-size: 14px;
}

#root .register-popup app-register .generic-form #name .field-hint::before {
    content: "";
    position: absolute;
    left: 0px;
    height: 100%;
    width: 2px;
    top: 1px;
    background-color: var(--c-shade-b);
}

#root .register-popup app-register .generic-form #registration input:focus ~ div .form-element-error, #root .register-popup app-register .generic-form #registration tel-input:focus ~ div .form-element-error {
    display: none;
}

#root app-register .generic-form .form-row .form-label.addressLine1 +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_address.svg);
}

#root app-register .generic-form .form-row .form-label.username +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_user.svg);
}

#root app-register .generic-form .form-row .form-label.password +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_password.svg);
}

#root app-register .generic-form .form-row .form-label.verifyPassword +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_password.svg);
}

#root app-register .generic-form .form-row .form-label.telephone +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_phone.svg);
}

#root app-register .generic-form .form-row .form-label.email +div.form-element-wrapper:before {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/register_email.svg);
}

#root app-register .generic-form .form-row tel-input::after {
    width: 20px;
    height: 20px;
    position: absolute;
    min-width: unset;
    right: -5px;
    top: 24px;
    background-size: 20px;
    border-radius: 50%;
    z-index: 15;
}

#root app-register .generic-form .form-row tel-input.ng-valid::after,
#root app-register .generic-form .form-row tel-input::after{
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    right: -24px;
    top: 6px;
    background-size: 20px;
    border-radius: 50%;
    z-index: 15;
    background-image: url(/v1.162/r/images/site/icons/inputvalid.svg)
}

#root app-register .generic-form .form-row tel-input.ng-invalid:not(.ng-pristine)::after {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/inputinvalid.svg)
}

#root app-register .generic-form .form-row input.ng-valid:not(.ng-pristine) + .icon-container {
    content: "";
    background-image: url(/v1.162/r/images/site/icons/inputvalid.svg)
}

#root app-register .generic-form .form-row input.ng-invalid:not(.ng-pristine) + .icon-container {
    background-image: url(/v1.162/r/images/site/icons/inputinvalid.svg);
}

#root app-register .generic-form .form-row input[name="password"], #root app-register .generic-form .form-row input[name="email"],#root app-register .generic-form .form-row input[name="verifyPassword"] {
    padding-right: 65px;
}

#root app-register input {
    border-radius: 8px;
    min-height: 35px;
}

#root app-register input:focus-visible {
    outline: none;
}

#root app-register select {
    border-radius: 8px;
}

#root .register-fields-wrapper .form-row tel-input input {
    height: 32px;
}

#root .register-block form tel-input label {
    display: flex;
    align-items: center;
    height: 32px;
    color: transparent;
    text-indent: 0px;
}

#root app-fields-section div#marketing div:not(:first-child) .checkbox-wrapper, #root #mainDiv .fld-contactsms .checkbox-wrapper, #root #mainDiv .fld-contactemail .checkbox-wrapper, #root #mainDiv .fld-contacttelephone .checkbox-wrapper, #root #mainDiv .fld-contactmessage .checkbox-wrapper {
    padding: 8px 0;
    flex-wrap: nowrap;
}

#root #mainDiv .fld-contactsms , #root #mainDiv .fld-contactemail , #root #mainDiv .fld-contacttelephone, #root #mainDiv .fld-contactmessage {
    width: 50%;
}
 #root #mainDiv .fld-contactmessage {
     /* display:none; */
 }
#root #mainDiv div[class*="fld-contact"]:last-child {
    margin-right:auto;
}
#root app-register .generic-form .reset-next-buttons-wrapper {
    justify-content: center;
    height: 32px;
    margin-left: auto;
    margin-right: 30px;
    z-index: 3
}

#root app-register .generic-form .reset-next-buttons-wrapper ui-button[type="submit"] {
    display: block;
    margin: 0 auto;
    height: 32px;
    width: 80px;
}

#root app-register .generic-form .reset-next-buttons-wrapper ui-button[type="reset"] {
    grid-area: 1 / 11 /1 /14;
    display: none;
}

#root app-register .generic-form .reset-next-buttons-wrapper button.button-submit-register {
    background: var(--o-green-b);
    order: -1;
    box-shadow: var(--x-button-m-n);
    border-radius: var(--r-d2);
    height: 100%;
    color:  var(--c-s-white);
}

#root #mainDiv tel-input .ui-dropdown-trigger {
    display: none;
}

#root tel-input .ui-dropdown {
    border: 0;
    width: 100%;
    top: unset;
    left: unset;
    background-color: unset;
}

#root app-register h2 {
    order: 0;
    width: 100%;
}

#root tel-input .ui-dropdown .ui-dropdown-label-container {
    height: 100%;
}

#root tel-input .ui-dropdown .ui-dropdown-label {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 0;
    box-shadow: unset;
    color: var(--c-f)!important
}

#root app-register tel-input p-dropdown:not(.ui-inputwrapper-filled) .ui-dropdown .ui-dropdown-label {
    color: transparent
}

#root app-register tel-input p-dropdown:not(.ui-inputwrapper-filled) .ui-dropdown .ui-dropdown-label::before {
    content: "-";
    color: var(--c-white)
}

#root app-register tel-input p-dropdown:not(.ui-inputwrapper-filled) {
    width: 20px
}

#root app-register .register-form-wrapper .form-pages {
    display: flex;
    justify-content: space-between;
    margin: 10px 36px;
    position: relative;
    color: var(--c-black);
}

#root app-register .register-form-wrapper .form-pages::before {
    position: absolute;
    width: calc(100% - 4px);
    height: 1px;
    box-shadow: var(--x-d-t);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 0;
    content: "";
}

#root app-register .register-form-wrapper .form-pages .form-page {
    margin-right: 1px;
}

#root app-register .register-form-wrapper .form-pages .form-page > div {
    width: 25px;
    height: 25px;
    background-color: var(--o-primary);
    color: var(--c-f);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--x-surface);
    line-height: 25px;
    position: relative;
    background-color: var(--o-primary-b);
    z-index: 1;
    cursor: pointer;
}

#root app-register .register-form-wrapper .form-pages .form-page .step-label {
    display: none;
}

#root app-register .register-form-wrapper .form-pages .form-page > div.active {
    font-size: 0.9em;
    background-color: var(--aw-emphasis);
    color: var(--c-s-white);
}

#root app-register form > div button {
    height: 32px;
    order: 3;
    /* box-shadow: var(--x-button-m2-n); */
    background-color: unset;
    border: 1px solid var(--aw-emphasis);
    position: absolute;
    bottom: 0px;
    left: 30px;
    max-width: 80px;
    width: 100%;
    z-index: 2;
    border-radius: var(--r-d2);
    color: var(--c-f);
}

#root app-register form > div .button-next {
    right: 30px;
    left: unset;
    background-color: var(--aw-button-primary);
    color:  var(--c-s-white);
}

#root app-register .button-next {
    margin-left: 5px;
}

#root app-register app-fields-page > form {
    display: flex;
    width: 100%;
}

#root .content.register {
    background-color: var(--c-white-e);
    color: var(--c-black)
}

#root .content.register .page-header div {
    color: var(--c-black)
}

#root.forgot-password .login-instead, #root.expireduser.active-login-popup .login-instead {
    display: none
}

.login-instead {
    justify-content: center;
    margin: 8px 0px;
    margin-bottom: 0px;
    padding-top: 21px;
    order: 2;
    border-top: 1px solid var(--c-f-x);
}

.age-restriction {
    margin-bottom: 24px;
}

.register-form-wrapper {
    margin: 30px 0;
}

.login-instead .text div {
    padding: 5px 0px;
}

.login-instead .link {
    color: var(--o-blue-a);
    text-decoration: underline;
}

.login-instead .link div {
    padding: 5px 3px;
}

.register-form-wrapper {
    position: relative;
}

.fld-email .icon-hint-container, .fld-password .icon-hint-container, .fld-username .icon-hint-container {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 6px;
    top: 4px;
    cursor: pointer;
}

.icon-hint-container i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.icon-hint-container i::before {
    content: " ba-help";
    font: var(--icon-font);
    display: inline-block;
    font-style: normal;
    color: var(--c-f-d);
}

.show-hint .icon-hint-container i::before {
    content: " ba-close";
    color: var(--c-f);
}

.icon-show-pass-container {
    display: block;
    width: 24px;
    height: 24px;
    color: var(--c-f);
    position: absolute;
    right: 38px;
    top: 3px
}

app-login-form .icon-show-pass-container {
    top: 50%;
    transform: translate(0%, -50%);
    right: 5px;
}

.icon-show-pass-container i {
    font-size: 0px;
    display: block;
    width: 100%;
    height: 100%;
    font-style: normal;
}

.icon-show-pass-container i::before {
    content: " sc-eye-show-b";
    font-family: BIF;
    color: var(--c-f-s);
    font-size: 24px;
    pointer-events: none;
    line-height: 24px;
    /* background-color: var(--c-f-x); */
    border-radius: 25%;
}

input[type="text"] ~ .icon-show-pass-container i::before {
    content: " sc-eye-hide-b";
}

#root #forgotpass .icon-hint-container {
    display: none;
}

#root .button-submit-forgot-password {
    width: calc(100% - 20px);
}

.forgot-password-form .generic-form {
    text-align: center;
}

#root p-checkbox {
    width: 24px;
    height: 24px;
}

#root p-checkbox .ui-chkbox-box {
    max-width: 24px;
    max-height: 24px;
    width: 100%;
    height: 100%;
    border-radius: var(--r-d2);
    background-color: var(--c-o3i);
    box-shadow: var(--x-surface-i);
    border: 0;
    color: inherit;
}

body .ui-chkbox {
    width: 100%;
    height: 100%;
}

body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
    width: 100%;
    height: 100%;
}

.ui-chkbox .ui-chkbox-box .pi-check:before {
    font: var(--icon-font);
    font-size: 24px;
    content: " ba-tick";
    display: inline-block;
}

body .mobile .ui-dialog.register-popup .ui-dialog-content {
    position: unset;
    background-color: var(--o-primary);
}

.view-page-register .login-instead {
    display: none;
}

.view-page-register .content .login-form, .view-page-register .register-form {
    max-width: 500px;
    width: 100%;
    margin: 15px auto;
    display: flex;
    ; padding: 15px;
    border: 1px solid var(--c-o3i);
    background-color: var(--o-primary-b);
    box-shadow: var(--x-surface-b);
    border-radius: var(--r);
    margin-top: 0px;
}

.register-content .heading {
    margin: 15px 0px;
    font-size: 1.5em;
    font-weight: bold
}

.forgot-password-title {
    text-align: center;
    margin-bottom: 12px;
    font-weight: bold;
}

.forgot-password-info {
    align-items: center;
    justify-content: center;
    order: -1;
}

.forgot-password-info-text {
    margin-left: 5px;
    text-align: center;
    justify-content: center;
}

#root .forgot-password-form .button-change-password {
    background-color: var(--o-primary-b);
    margin-bottom: 10px;
    outline: none;
}

#root .forgot-password-form .button-submit-forgot-password {
    background-color: var(--o-green-b);
    margin-bottom: 10px;
    box-shadow: var(--x-surface-b);
    border-radius:  var(--r-d2);
    color: var(--c-s-white);

}

.forgot-password-form .form-row {
    display: flex;
}

app-register .change-password-wrapper label {
    display: none;
}

.register-fields-wrapper .form-row {
    flex-wrap: wrap;
}
.otprequest .beto-register  {
    display:flex;
    flex-direction:column;
}
.otprequest .beto-register .button-otp-request-submit:not(:disabled) {
    background-color:var(--o-green-b)
}
app-otp-request {
    display:none;
}
.marketing-banner img {
    width:100%;
}
.marketing-banner-added .registration-banner {
    display:none; 
}