.top-panel-auth{
    position: relative;
}
#showRegForm, #showLogForm{
    display: none;
}
#login, #registration, #registration_info, #forgot_form, #changePWD{
    position: absolute;
    top: -700px;
    right: 0px;
    z-index: 101;
    background: white;
    padding: 10px 20px 10px 20px;
    border: 1px solid #c6bfbf;
    -moz-box-shadow: 0 5px 10px -6px #000;
    -webkit-box-shadow: 0 5px 10px -6px #000; 
    box-shadow: 0 5px 10px -6px #000;
    color: #373737;
}
#login, #forgot_form, #changePWD{
    width: 250px;
}
#registration, #registration_info{
    width: 270px;
}
    #login .formClose, #registration .formClose, #registration_info .formClose, #forgot_form .formClose, #changePWD .formClose{
        float: right;
        display: inline-block;
        width: 12px;
        height: 12px;
        background: url("https://health.openrepublic.ru/bitrix/templates/gov_standart_1/images/icons.png") 0 -498px;
        padding: 0;
        margin-top: 5px;
    }
    #login h3, #registration h3, #registration_info h3, #forgot_form h3, #changePWD h3{
        margin-bottom: 10px;
        font-size: 1.25em;
    }
    #login .button-color, #registration .button-color, #registration_info .button-color, #forgot_form .button-color, #changePWD .button-color{
        margin: 10px 0 0 0;
    }
    #login input[type=text], #login input[type=password], #registration input[type=text], #registration input[type=password], #forgot_form input[type=text], #changePWD input[type=password], #confirmPage_authForm input[type=text], #confirmPage_authForm input[type=password]{
        width: 214px;
        margin: 0 0 5px 0;
    }
    #registration #reg_info{
        font-size: 8pt;
        height: 28px;
        margin-bottom: 10px;
    }
    #registration .auth-socserv{
        float: right;
        width: 30px;
    }
    #registration .captcha_container{
        margin-bottom: 5px; 
    }
        #registration .captcha_container a{
            display: inline-block;
            width: 13px;
            height: 16px;
            background: url("https://health.openrepublic.ru/bitrix/templates/gov_standart_1/images/icons.png") 0 -510px;
            margin: 0 0 12px 10px;
        }
    #login h3, #changePWD h3{
        margin-bottom: 1px;
    }
    .top-panel-auth .authError{
        color: red;
        font-size: 8pt;
        min-height: 14px;
    }
    #registration_info #regInfo_countdown{
        color: #7e7e7e;
        font-size: 9pt;
        margin-top: 10px;
    }
#registration .auth-socserv{
    margin-top: 25px;
}
#login .auth-socserv{
    margin-top: 10px;
}
    .auth-socserv a i{
        display: inline-block;
        margin-bottom: 5px;
        width: 32px;
        height: 32px;
        background-image: url("https://health.openrepublic.ru/bitrix/templates/gov_standart_1/images/icons-social.png");
    }
    .auth-socserv a i.auth-vkontakte{background-position: 0 -32px;}
    .auth-socserv a i.auth-facebook{background-position: 0 -64px;}
    .auth-socserv a i.auth-twitter{background-position: 0 -96px;}
    .auth-socserv a i.auth-livejournal{background-position: 0 -160px;}
    .auth-socserv a i.auth-yandex{background-position: 0 -192px;}
    .auth-socserv a i.auth-google{background-position: 0 -128px;}
