@charset "utf-8";

#REGISTRATION__flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}


#REGISTRATION__flex span,
#REGISTRATION__flex a,
#REGISTRATION__flex label {
    font-size: 16px;
}

#REGISTRATION__title {
    padding: 20px 20px 30px;
    display: flex;
    flex-flow: row;
}


#REGISTRATION__title p {
    font-size: 18px;
    font-weight: 500;
}

#REGISTRATION__container {
    background: #fff;
    margin: 20px;
    max-width: 600px;
}

.REGISTRATION__form {
    margin:0 20px;
}

.REGISTRATION__form td {
    width: 50%;
    padding: 10px;
}


#REGISTRATION__sub_info {
    border-top: 1px solid gray;
    margin-top: 20px;
    padding: 10px 20px 20px;
}

#REGISTRATION__sub_info span {    
    font-size: 12px;
}

.REGISTRATION__form .error {
    font-size: 13px;
    padding-top: 2px;
    color: darkred;
}

#REGISTRATION__result {
    padding-bottom: 3px;
    font-size: 13px;
}

.ps_text {
    font-size: 12px!important;
    color: #555!important;
}

#close_eye {display: block;}
#open_eye{display: none;}
/* Group legal registration fields without affecting the individual registration form. */
:is(#REGISTRATION__form, #REGISTRATION__form_yur) .REGISTRATION__section td {
    padding: 22px 10px 6px;
    width: auto;
}
:is(#REGISTRATION__form, #REGISTRATION__form_yur) .REGISTRATION__section h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}
:is(#REGISTRATION__form, #REGISTRATION__form_yur) #REGISTRATION__fill_requisites {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #c81226;
    text-align: left;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    font: 14px/1.4 Arial, sans-serif;
}
#REGISTRATION__fill_requisites:disabled {
    opacity: .6;
    cursor: wait;
}
#REGISTRATION__lookup_status,
#REGISTRATION__bank_lookup_status {
    max-width: 300px;
    margin-top: 6px;
    color: #555;
    font: 13px/1.4 Arial, sans-serif;
}
:is(#REGISTRATION__form, #REGISTRATION__form_yur) .FORMINPUT {
    box-sizing: border-box;
    max-width: 100%;
}
@media (max-width: 600px) {
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) {
        display: block;
        margin: 0 16px;
    }
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) tbody,
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) tr,
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) td {
        padding: 5px 0;
    }
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) .REGISTRATION__section td {
        padding: 20px 0 8px;
    }
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) .FORMINPUT {
        width: 100%;
    }
}

@media (min-width: 601px) {
    #REGISTRATION__container {
        max-width: 650px;
        width: 650px;
    }
    #REGISTRATION__container .REGISTRATION__form {
        width: calc(100% - 40px);
    }
    :is(#REGISTRATION__form, #REGISTRATION__form_yur) .FORMINPUT {
        width: 20em;
    }
    #REGISTRATION__container .MODAL_nav {
        margin: 0 15px;
        gap: 20px;
    }
    #REGISTRATION__container .MODAL__goback,
    #REGISTRATION__container .MODAL__switch_right {
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }
}
:is(#REGISTRATION__form, #REGISTRATION__form_yur) #REGISTRATION__fill_requisites {
    display: block;
    box-sizing: border-box;
    width: 20em;
    max-width: 100%;
    margin: 14px 0 0;
    white-space: normal;
    text-align: right;
}
:is(#REGISTRATION__form, #REGISTRATION__form_yur) .REGISTRATION__inn_row td {
    padding-bottom: 2px;
}
#REGISTRATION__lookup_status:empty,
#REGISTRATION__bank_lookup_status:empty {
    display: none;
}

#REGISTRATION__container .MODAL_nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0 30px;
}
#REGISTRATION__container .MODAL__goback {
    width: auto;
    padding: 20px 0 12px;
}
#REGISTRATION__container .MODAL__switch_right {
    width: auto;
    padding: 0 0 4px;
}
@media (max-width: 600px) {
    #REGISTRATION__container .MODAL_nav {
        padding: 0 16px;
    }
}

#REGISTRATION__form .REGISTRATION__password_wrap {
    position: relative;
    width: 280px;
    max-width: 100%;
}
@media (max-width: 600px) {
    #REGISTRATION__form .REGISTRATION__password_wrap {
        width: 100%;
    }
}

/* Keep both registration pages and their columns in the same horizontal positions. */
html {
    scrollbar-gutter: stable;
}
#REGISTRATION__container {
    min-width: 0;
}
@media (min-width: 601px) {
    #REGISTRATION__container {
        flex: 0 1 650px;
    }
    #REGISTRATION__container .REGISTRATION__form {
        table-layout: fixed;
    }
    #REGISTRATION__container .REGISTRATION__form td {
        overflow-wrap: anywhere;
    }
}
