/* Height hack for float wrappers */
.services {

    display: inline-block;
}

.services.auth {
    /* margin-top: 40px;*/
    margin-bottom: 0px;
}

.services.registration {
    margin-bottom: 0px;
}

.socials-list {
    display: inline-block;
}

.socials-list.vertical {
    width: 100px;
}

.auth-icon {
    display: block;
    width: 44px;
    height: 42px;
    background: url("../images/auth.png") no-repeat;
}
.auth-icon_v2 {
    display: block;
    width: 120px;
    height: 29px;
    line-height: 29px;
    padding: 5px;
    font-size: 21px;
    color: #fff;
    text-decoration: none;
    background-color: #919191;
    border-radius: 4px;
    opacity: 0.85;
}
.auth-icon_v2:hover {
    opacity: 1;
}
.auth-icon_v2.facebook {
    background-color: #4E69A2;
}
.auth-icon_v2.facebook:hover {
    background-color: #4E69A2;
}
.auth-icon_v2.twitter {
    background-color: #55acee;
}
.auth-icon_v2.twitter:hover {
    background-color: #55acee;
}
.auth-icon_v2.google {
    background-color: #dd4b39;
}
.auth-icon_v2.google:hover {
    background-color: #dd4b39;
}
.auth-icon_v2.vkontakte {
    background-color: #4E729A;
}
.auth-icon_v2.vkontakte:hover {
    background-color: #2b587a;
}

h2.heading {
    text-align: center;
    margin-bottom: 20px;
}

.auth-icon.google.passive,
.auth-icon.google.active:hover,
.auth-icon.google.active:focus {
    background-position: -271px 0px;
}

.auth-icon.google.active,
.auth-icon.google.passive:hover,
.auth-icon.google.passive:focus {
    background-position: -271px -52px;
}

.auth-icon.google_oauth {
    background-position: -271px 0px;
}

.auth-icon.google_oauth:hover,
.auth-icon.google_oauth:focus {
    background-position: -271px -52px;
}

.auth-icon.twitter.passive,
.auth-icon.twitter.active:hover,
.auth-icon.twitter.active:focus {
    background-position: -136px 0px;
}

.auth-icon.twitter.active,
.auth-icon.twitter.passive:hover,
.auth-icon.twitter.passive:focus {
    background-position: -136px -52px;
}

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

.auth-icon.vkontakte.passive,
.auth-icon.vkontakte.active:hover,
.auth-icon.vkontakte.active:focus {
    background-position: 0px 0px;
}

.auth-icon.vkontakte.active,
.auth-icon.vkontakte.passive:hover,
.auth-icon.vkontakte.passive:focus {
    background-position: 0px -52px;
}

.auth-icon.facebook.passive,
.auth-icon.facebook.active:hover,
.auth-icon.facebook.active:focus {
    background-position: -68px 0px;
}

.auth-icon.facebook.active,
.auth-icon.facebook.passive:hover,
.auth-icon.facebook.passive:focus {
    background-position: -68px -52px;
}

.auth-icon.mailru {
    background-position: 0 -204px;
}

.auth-icon.moikrug {
    background-position: 0 -238px;
}

.auth-icon.odnoklassniki.passive,
.auth-icon.odnoklassniki.active:hover,
.auth-icon.odnoklassniki.active:focus {
    background-position: -203px 0px;
}

.auth-icon.odnoklassniki.active,
.auth-icon.odnoklassniki.passive:hover,
.auth-icon.odnoklassniki.passive:focus {
    background-position: -203px -52px;
}

.auth-icon.linkedin {
    background-position: 0 -306px;
}

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

.auth-icon.live {
    background-position: 0 -372px;
}

.auth-icon.yahoo {
    background-position: 0 -406px;
}

.auth-icon.steam {
    background-position: 0 -440px;
}

.auth-icon.dropbox {
    background-position: 0 -472px;
}

.auth-link:hover .auth-icon i,
.auth-link:focus .auth-icon i {
    /*display: block;*/
    /*width: 44px;*/
    /*height: 44px;*/
    /*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-ajax,
.auth-service {
    float: left;
    margin: 0 1em 0 0;
}
.auth-service_v2 {
    float: left;
    margin: 0 20px 20px 0;
}

.auth-services .auth-service .auth-link {
    display: block;
    width: 44px;

    /*padding: 0 0.4em;*/
}
.auth-services .auth-service_v2 .auth-link_v2 {
    text-decoration: none;
}

.icon-holder {
    height: 60px;

    /*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;
}


