.yandex {
	background: #ebebeb url("./images/yandex_mini.png") no-repeat;
}
.vkontakte {
	background: #336699 url("./images/vkontakte_mini.png") no-repeat;
}
.mailru {
	background: #003399 url("./images/mailru_mini.png") no-repeat;
}
.okru {
	background: #ff9933 url("./images/okru_mini.png") no-repeat;
}
.facebook {
	background: #003366 url("./images/facebook_mini.png") no-repeat;
}
.google {
	background: #DA4835 url("./images/google_mini.png") no-repeat;
}

.yandex , .vkontakte, .mailru,
.okru, .facebook, .google {
	/*border: 1px solid #eee;*/
	line-height: 1.2em;
	display: inline-block;
	vertical-align: middle;
	margin: 1px 0;
	padding: 1px;
	overflow: hidden;
	height: 15px;
	width: 15px;
}

.popup_link {
	margin-top: 2px;
	width: 100%;
	text-align: center;
	overflow: hidden;
}

.popup_link  .yandex {
	background: #CC0000 url("./images/yandex.png") no-repeat;
}
.popup_link .vkontakte {
	background: #336699 url("./images/vkontakte.png") no-repeat;
}
.popup_link .mailru {
	background: #0066cc url("./images/mailru.png") no-repeat;
}
.popup_link .okru {
	background: #ff9933 url("./images/okru.png") no-repeat;
}
.popup_link .facebook {
	background: #003366 url("./images/facebook.png") no-repeat;
}
.popup_link  .google {
	background: #DA4835 url("./images/google.png") no-repeat;
}

.popup_link  .yandex ,
.popup_link .vkontakte,
.popup_link .mailru,
.popup_link .okru,
.popup_link .facebook,
.popup_link .google {
	height: 88px;
	width: 88px;
}
.popup_link a,
.socbuttons a {
	opacity: 0.9;
	-moz-opacity: 0.9;
	-khtml-opacity: 0.9;
}
.popup_link a:hover,
.socbuttons a:hover {
	opacity: 1;
	-moz-opacity: 1;
	-khtml-opacity: 1;
}
.popup_link span, 
.socbuttons span { 
	display: none;
}

#overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	background: #000;
	opacity: 0.8;
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
}

@media ( max-width: 800px )
{
	.popup_wrap {
		left: 1%!important;
		margin-left: 0px!important;
		position: absolute!important;
		width: 98%;
		margin: 2px auto;
	}
}
