#wrap.ng_device_mobile #ng_win_auth_block
{
    width: 70%;
    height: 100%;
}
#wrap.ng_device_mobile #ng_win_auth_scroll_body
{
    padding: 0 4.1428em;
}
#wrap.ng_device_mobile #ng_win_auth #ng_auth_password
{
    margin-bottom: 5.5em;
}

#wrap.ng_device_mobile #ng_win_auth_block .ng_label
{
    margin-bottom: 0.457em;
}
#wrap.ng_device_mobile .ng_label:first-letter
{
    text-transform: uppercase;
}

#wrap.ng_device_mobile #ng_auth_btn_recovery,
#wrap.ng_device_mobile #ng_auth_btn_registration
{
    position: absolute;
    margin-bottom: 0;
    text-decoration: underline;
    font-weight: bold;
    left: 0;
    right: 0;
}
#wrap.ng_device_mobile #ng_auth_btn_recovery
{
    color:#54c909;
    top: 16em;
}
#wrap.ng_device_mobile #ng_auth_btn_registration
{
    color: #ffa900;
    top: 19.7em;
}

#wrap.ng_device_mobile #ng_auth_btn_recovery [data-lang],
#wrap.ng_device_mobile #ng_auth_btn_registration [data-lang]
{
    font-size: 1.3em;
    line-height: 1em;
}

#wrap.ng_device_mobile #ng_auth_btn [data-lang]
{
    font-size: 1.5em;
}

#wrap.ng_device_mobile #ng_win_auth_title
{
    visibility: hidden;
}

/*Кнопки перехода к полям*/
#wrap.ng_device_mobile #ng_auth_btn_next_1,
#wrap.ng_device_mobile #ng_auth_btn_next_2
{
    display: inline-block;
}

#wrap.ng_device_mobile #ng_auth_login,
#wrap.ng_device_mobile #ng_auth_password
{
    width: -webkit-calc(100% - 2.8132em - 1em);
    width: calc(100% - 2.8132em - 1em);
    margin-right: 1em;
    vertical-align: middle;
}



#wrap[data-orientation|="portrait"].ng_device_mobile.ng_ui_win_auth
{
    background-image: url('../images/ui/ng_content/ng_mobile/ng_start.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#wrap[data-orientation|="portrait"].ng_device_mobile.ng_ui_win_auth #ng_win_auth,
#wrap[data-orientation|="portrait"].ng_device_mobile.ng_ui_win_auth #ng_win_auth > .ng_win_fog
{
    display: block;
}
#wrap[data-orientation|="portrait"][lang].ng_inited.ng_device_mobile.ng_ui_win_auth #ng_body
{
    width: 100%;
    height: 100%;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_auth_block
{
    font-size: 2em;
    width: 100%;
    height: 100%;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_auth_scroll_body
{
    overflow-y: auto;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_auth_btn_next_1,
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_auth_btn_next_2
{
    display: none;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_auth_login,
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_auth_password
{
    margin-right: 0;
    width: 100%;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_auth_block_content
{
    height: -webkit-calc(100% - 3.4521em);
    height: calc(100% - 3.4521em);
}