/* Height hack for float wrappers */
.auth-icon.paypal {
	display: block;
	width: 36px;
	height: 36px;
	background: url("../images/paypal.png") no-repeat;
}
.services {
	overflow: visible;
}

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

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

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

.auth-icon.ebay {
	display: block;
	width: 36px;
	height: 36px;
}

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

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

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

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

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

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

.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-icon.wargaming {
    background-position: 0 -503px;
}

.auth-icon.eve {
    background-position: 0 -538px;
}


.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-service:hover .auth-icon,
.auth-service:focus-within .auth-icon {
	transform: scale(1.1);
}

.auth-services {
	margin: 0 0 1em;
	list-style: none;
	/* Height hack for float wrappers */
	overflow: visible;
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.auth-service {
	float: left;
	margin: 0 1em 0 0;
	transform-origin: center center;
	transition: transform 0.2s ease;
}

.auth-services .auth-service .auth-link {
	display: block;
	width: 58px;
	padding: 4px 0;
	box-sizing: border-box;
	/*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;
}
