/* Height hack for float wrappers */
.services {
    overflow: auto;
}

.auth-icon {
    display: block;
    width: 32px;
    height: 32px;
    background: url("../images/auth.png") no-repeat;
}

.auth-icon.google,
.auth-icon.google_oauth {
    background-position: 0 -34px;
}

.auth-icon.yandex,
.auth-icon.yandex_oauth {
    background-position: 0 -102px;
}

.auth-icon.vkontakte {
    background-position: 0 -136px;
}

.auth-icon.facebook {
    background-position: 0 -170px;
}

.auth-icon.odnoklassniki {
    background-position: 0 -272px;
}

.auth-icon.github {
    background-position: 0 -340px;
}

.auth-link:hover .auth-icon i,
.auth-link:focus .auth-icon i {
    display: block;
    width: 32px;
    height: 32px;
    background: url("../images/auth.png") 0 0 no-repeat;
}

.auth-services {
    margin: 0 0 1em;
    list-style: none;
    /* Height hack for float wrappers */
    overflow: auto;
}

.auth-service {
    float: left;
    margin: 0 1em 0 0;
}

.auth-services .auth-service .auth-link {
    display: block;
    width: 58px;
    /*padding: 0 0.4em;*/
}

.auth-service .auth-link .auth-icon {
    margin: 0 auto;
}

.auth-service .auth-link .auth-title {
    display: block;
    margin-top: 0.4em;
    text-align: center;
}