#showLogForm, #showRegForm{
    display: none;
}
#login, #forgot, #changePWD, #registration, #registration_info{
    position: absolute;
    top: -600px;
    right: -30px;
    z-index: 200;
    background: white;
    padding: 2px;
    -moz-box-shadow: 0 5px 10px -6px #000;
    -webkit-box-shadow: 0 5px 10px -6px #000; 
    box-shadow: 0 5px 10px -6px #000;
    width: 230px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    text-align: left;
    behavior: url("https://deputat.openrepublic.ru/bitrix/templates/zakon/css/pie.htc");
}
#login_form, #forgot_form, #changePWD_form, #reg_form, #regInfo_container{
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    border: 2px solid #1389bd;
    padding: 5px 7px 10px 20px;
    behavior: url("https://deputat.openrepublic.ru/bitrix/templates/zakon/css/pie.htc");
}
#login h3, #forgot h3, #changePWD h3, #registration h3, #registration_info h3{
    margin: 0 0 10px 0;
}
#login_form .form-text, #forgot_form .form-text, #changePWD_form .form-text, #registration .form-text, #registration_info .form-text{
    width: 160px;
    margin-bottom: 7px;
}
#registration, #registration_info{
    width: 350px;
}
.logregFormClose{
    float: right;
}
#authError{
    color: red;
}
#reg_info{
    color: #0d668d;
    font-size: 8pt;
    margin-top: 5px;
}
#top-panel #formBottomInfo:link, #top-panel #formBottomInfo:visited{
    color: #0d668d;
    margin-left: 10px;
}
#top-panel #formBottomInfo:hover{
    color: #1c92c3;
}
#registration #reg_captcha_input{
    width: 140px;
}
.captcha-refresh{
    cursor: pointer;
}
#regInfo_container p{
    color: #2f3436;
}
#regInfo_container font a:link, #regInfo_container font a:visited{
    color: #0d668d;
}
#regInfo_container font a:hover{
    color: #1c92c3;
}
#auth-socserv{
    margin: 10px 0 0 5px;
}
#auth-socserv a i{
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
}
#auth-mail{background-position: 0px -49px;}
a:hover #auth-mail{background-position: 0px -426px;}
#auth-yandex{background-position: 0px 0px;}
a:hover #auth-yandex{background-position: 0px -377px;}
#auth-vkontakte{background-position: 0px -80px;}
a:hover #auth-vkontakte{background-position: 0px -457px;}
#auth-google{background-position: 0px -112px;}
a:hover #auth-google{background-position: 0px -489px;}
#auth-facebook{background-position: 0px -32px;}
a:hover #auth-facebook{background-position: 0px -409px;}
#auth-twitter{background-position: 0px -96px;}
a:hover #auth-twitter{background-position: 0px -473px;}
#auth-livejournal{background-position: 0px -16px;}
a:hover #auth-livejournal{background-position: 0px -393px;}
#reg-soc-serv{
    margin-right: 10px;
    text-align: center;
    float: right;
    font-size: 10pt;
    color: #0d668d;
}
#reg-soc-serv a i{
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(../images/reg-soc-icons.png);
    background-repeat: no-repeat;
    margin: 1px;
}
#reg-mail{background-position: -32px -32px;}
#reg-soc-serv a:hover #reg-mail{background-position: 0 -32px;}
#reg-yandex{background-position: -32px 0;}
#reg-soc-serv a:hover #reg-yandex{background-position: 0 0;}
#reg-vkontakte{background-position: -32px -128px;}
#reg-soc-serv a:hover #reg-vkontakte{background-position: 0 -128px;}
#reg-facebook{background-position: -32px -160px;}
#reg-soc-serv a:hover #reg-facebook{background-position: 0 -160px;}
#reg-twitter{background-position: -32px -192px;}
#reg-soc-serv a:hover #reg-twitter{background-position: 0 -192px;}
#reg-livejournal{background-position: -32px -96px;}
#reg-soc-serv a:hover #reg-livejournal{background-position: 0 -96px;}
#reg-google{background-position: -32px -64px;}
#reg-soc-serv a:hover #reg-google{background-position: 0 -64px;}
#bx_auth_serv_formVKontakte a{
    background: url(../images/icons.png) 0px -645px no-repeat;
    vertical-align: text-top;
}
#bx_auth_serv_formGoogleOAuth a{
    background: url(../images/icons.png) 0px -689px no-repeat;
    vertical-align: text-top;
}
#bx_auth_serv_formFacebook a{
    background: url(../images/icons.png) 0px -601px no-repeat;
    vertical-align: text-top;
}
#bx_auth_serv_formTwitter a{
    background: url(../images/icons.png) 0px -667px no-repeat;
    vertical-align: text-top;
}
