#auth{
    position: relative;
    z-index: 100;
}
#showRegForm, #showLogForm{
    display: none;
}
#login, #registration, #registration_info, #forgot_form, #changePWD{
    z-index: 100;
    position: absolute;
    top: -700px;
    right: 0px;
    z-index: 101;
    background: white;
    padding: 0 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: 5px 5px 10px -4px #000;
    color: #3c3c3c;
    width: 220px;
    font-size: 0.8em;
    line-height: 1.2em;
}
    #login .formClose, #registration .formClose, #registration_info .formClose, #forgot_form .formClose, #changePWD .formClose{
        float: right;
        display: inline-block;
        width: 12px;
        height: 12px;
        background: url("../images/formClose.png") 0 0;
        padding: 0;
        margin-top: 12px;
    }
    #login h3, #registration h3, #registration_info h3, #forgot_form h3, #changePWD h3{
        margin: 10px 0 5px 0;
        font-size: 1em;
        text-transform: uppercase;
    }
    #login h3, #changePWD h3{
        margin-bottom: 1px;
    }
    #login label, #registration label, #registration_info label, #forgot_form label, #changePWD label{
        color: #999;
    }
    #login .button, #registration_info .button, #forgot_form .button, #changePWD .button{
        margin-top: 5px;
    }
    #registration .button{
        margin-top: 10px;
    }
    #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: 188px;
        margin-bottom: 5px;
    }
    a#forgot_link{
        color: #2b2b2b;
    }
    #forgot_form a.auth_link{
        color: #2b2b2b;
    }
    #registration #reg_info{
        font-size: 8pt;
        height: 28px;
        margin-bottom: 10px;
    }
    #registration .captcha_link{
        margin-bottom: 5px;
        display: inline-block;
    }
    #registration #reg_captcha_input{
        margin-bottom: 0px;
    }
    #auth .authError{
        color: red;
        font-size: 8pt;
        min-height: 16px;
    }
    #registration_info #regInfo_countdown{
        color: #7e7e7e;
        font-size: 9pt;
        margin-top: 10px;
    }
.auth-socserv{
    margin-top: 10px;
}
.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;}
