td.pass_right .show_pass,
td.pass_right .show_text
{
    margin-bottom: 3px;
}

.show_pass, .user_show_pass, .user_show_pass2 {
    display:none;
}
.green_reg {
    margin-bottom:10px;
    color:#08ad00;
}
.red_reg {
    margin-bottom:10px;
    color:#de3a46;
}

.a_reg{
    margin-left: -84px !important;
    float: right;
    margin-top: 25px;
}
#login-form-window
{
    display: none;
    border: 1px solid #cccc;
    background: white;
    z-index: 10000;
    position: absolute;
    top: 25px;
    left: -217px;
    width: 280px;
    height: 355px;
    padding: 25px 30px 13px;
    box-shadow: 0 1px 1px #cccc;
}
#login-form-window .close-btn{
    float: right;
    margin-top: -26px;
    margin-right: -25px;
    color: #393f45;
    font-weight: 400;
    padding: 5px;
}
#reg_form .close-btn{
    float: right;
    margin-top: -11px;
    margin-right: -25px;
    color: #393f45;
    font-weight: 400;
    padding: 5px;
}
#reg_form
{
    display: none;
    border: 1px solid #efefef;
    background: #F5F5ED;
    z-index: 10000;
    position: absolute;
    top: 25px;
    left: -217px;
    width: 280px;
    padding: 12px 30px 13px;
    background-color: white;
}

#login-form-window form, #reg_form form {
    position:relative;
}
.reg_submit {
    width:100%;
    margin-bottom: 4px;
}
#form_register td div.error {
    display:none;
    color:#de3a46;
    font-size:1em;
    margin-bottom:9px;
}
#form_register td.error div.error {
    display:block;
}

.block_link{
    float: left;
    text-align: center;
    margin-top: 10px;
    margin-left: 125px;
}
.user_auth_block{
    float: left;
    margin-top: 13px;
    margin-right: 10px;
    margin-left:0;
}
.link_login {
    color:#b9bfce;
    font-size:1.1em;
}
.a_auth {
    color: white;
    text-decoration:none;
}
.a_auth:hover {
    color: white;
}
.login_2_row {
    padding:8px 0 22px;
}

#login label {
    font-size:0.9em;
    color:#5f5f5f;
}
#login form a {
    text-decoration: none;
    font-size: 1em;
    margin-left: 0px;
    color: #999;
}
#login form a:hover {
    transition: all .3s;
}
#login {
    position:relative;
}
.active_log {
    color: white !important;
}
.active_log_bg {
    background-position:0 -136px;
}

.user_name_prof {
    font-size: 12px;
    color: white;
    text-transform: uppercase;
}
.user_name_prof a{
    color: white;
}
.user_name_prof a:hover{
    transition: all .3s;
}
<!--No background-color on autofill-->
    input {outline: none;}
input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #fff !important;
    -webkit-text-fill-color: #999 !important;
    color: #999 !important;
}
#form_logout a {
    display: inline-block;
}

#login input[type='text'], #login input[type='password'] {
    border: 1px solid #cccc;
    height: 40px;
    line-height: 30px;
    padding: 0 8px;
    color: #666f86;
    margin-bottom: 5px;
}
#login .error input[type='text'], #login .error input[type='password'] {
    border:1px solid #de3a46;
    color: #de3a46;
    margin-bottom: 3px !important;
}
.form-header{
    display: flex;
}
.spains{
    color: #428bca;
    width: 90px;
    border-top: 1px solid #428bca;
}
#login input[type='submit'] {
    border: none;
    background-color: #428bca;
    height: 36px;
    line-height: 30px;
    color: #fff;
    padding: 0 17px;
    cursor: pointer;
    margin: 15px 0;
    text-transform: uppercase;
}

.cssforgetpas {
    vertical-align: top;
    padding-top: 25px;
    float: left;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 680px) {
    .block_link{
        float: right;
        text-align: unset;
        margin-top: 10px;
        margin-right: 20px;
        margin-left:0;
    }
  .block-link .link_login, .block-link .user_auth_block{
      float:right;
  }
}


.sms-block h3 {color: #428bca;}
.sms-block input { width:300px; padding:10px; margin-bottom:10px; }
.sms-block button { width:300px; padding:10px; color: #428bca;}
.sms-message { margin-top:10px; color:#333; }
.sms-auth-links {margin-top:40px;}
.sms-auth-links p {margin-bottom:0}
.sms-auth-links a {
color: #428bca;
transition:all 0.3s ease-in-out
}
.sms-auth-links a:hover {
color: #428bca;opacity:0.8;
}