/* Окно подключения приложений */

#apps-list{
	padding: 1em 1.4em;
}

#apps-list a:hover{
	color: #fff;
}

#apps-list #apps-carousel li{
	display: block;
	float: left;
	background-color: #fff;
	border: solid thin;
	border-color: #C6C2C2;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	margin: 0px 20px 20px 0px;
	width: 250px;
	height: 80px;
}

#apps-list #apps-carousel li img{
	width: 50px;
	display: block;
	float: left;
	margin-right: 10px;
}

#apps-list #apps-carousel li.can-add:hover{
	border-color: #000;
}

#apps-list #apps_navbar{
	position: absolute;
	top: 5px;
	right: 55px;
}

#apps-list .app-item{
	margin: 10px;
}

#apps-list .app-item:hover{
	background: #92D0FC;
	cursor: pointer;
}

#apps-list .app-item span{
	font-size: 8pt;
	color: #939393;
	display: block;
}

#apps-list .app-item .description, .app-item .developer{
	display: none;
}

#apps-list .added-app{
	margin: 10px;
}

#apps-list .added-app span{
	font-size: 8pt;
	color: #939393;
	display: block;
}

#apps-list .added-app .addedoverlay{
	background: url(/img/icons/app-added.png);
	width: 20px;
	height: 20px;
	top: -5px;
	right: 0px;
	margin-top: -10px;
	float: right;
}

#apps-list .social-descr{
	display: none;
	font-size: 10pt;
	color: #000;
	width: 100%;
	height: 100%;
	background: #BED9F4;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	cursor: pointer;
}

#apps-list .social-descr span{
	display: block;
	padding: 10px;
}

/* Окно просмотра данных из приложения, открывается щелчком по иконке приложения на profile */
#social{
	display: none;
}

/* Панель корешков социальных сетей. */

	#social_services_list{
		font-size:0;
		margin: 7px 30px 0 10px;
	}
		#social_services_list .more-apps.opened{
			color: #fff;
		}

		#social_services_list>.app-tab{
			display:inline-block;
			height:16px;
			margin-right:10px;
			line-height:16px;
			font-size:13px;
			color:grey;/* Sasha? */
			cursor:pointer;
		}
		.vk-wall { display: none;}
		#social_services_list>li:hover,
		#social_services_list .current{
			color:white;
		}
		.social_dialog .more-apps{
			position:relative;
			padding-right:11px;
		}
			.social_dialog .more-apps:after{
				content:"";
				position:absolute;
				top:0;
				right:0;
				width:7px;
				height:16px;
				background-image:url(/img/icons/icons_sprite.png);
				background-repeat:no-repeat;
				background-position:-30px -948px;
			}

/**/


#social-tabs div{
	display: none;
}
#social-tabs > div {border: 0;}

#social-tabs div:first-of-type:not(.preloader) {
	display: block;
}

#social-tabs iframe{
	vertical-align: middle;
	border: 0;
}

#social-tabs > .load{
	position: relative;
	min-height: 300px;
	height:100%;
}
#social-tabs > .preloader { display:none; }
#social-tabs > .load > .preloader {
	position: absolute;
	display: block;
	width: 40px;
	height: 40px;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
}

#social-tabs > .load > .preloader i:before {
	font-size: 48px;
	color:hsl(204, 70%, 53%);
}

.social_dialog{
	top: 50px !important;
}
@media(max-width: 600px){
	.social_dialog {
		top: 0 !important;
	}
}
#apps-list{
	padding-left:20px;
	padding-top:20px;
	padding-bottom:20px;
	font-size:0;
}
	#apps-list>h1{
		margin-bottom:20px;
		font-size:15px;
		font-weight:bold;
	}

	.apps-item{
		display:inline-block;
		position:relative;
		width:270px;
		height:70px;
		margin-right:20px;
		margin-bottom:20px;
		padding-left:80px;
		padding-right:10px;
		border:1px solid #c6c2c2;
		border-radius:4px;
		background-repeat:no-repeat;
		background-size:50px;
		background-position:10px;
		vertical-align:top;
		line-height:16.6px;
		line-height:calc(50px / 3);
		font-size:12px;
		font-family:"Open Sans";
		color:#2b2a29;
		cursor:pointer;
		overflow:hidden;
		transition:border-color .2s ease-out;
		-webkit-hyphens:auto;
		-moz-hyphens:auto;
		-ms-hyphens:auto;
		-o-hyphens:auto;
		hyphens:auto;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
	}
		.apps-item:before{
			content:attr(data-caption);
			display:block;
			height:68px;
			line-height:68px;
			font-size:16px;
			transition:margin-top .2s ease-out;
			white-space: nowrap;
		}
		.apps-item:after{
			content:"";
			position:absolute;
			left:6px;
			top:6px;
			width:50px;
			height:50px;
			border:4px solid white;
			border-radius:8px;
		}
	.apps-item:hover{
		border-color:#2b2a29;
		transition-timing-function:ease-in;
	}
		.apps-item:hover:before{
			margin-top:-58px;
			transition-timing-function:ease-in;
		}

.social_dialog .loading{
	position: absolute;
	display: none;
	top: 40px;
	left: 260px;
	width: 40px;
	height: 40px;
}

.social_dialog .more-apps-list{
	position: absolute;
	z-index: 1000;
	background-color: #333;
	padding: 10px;
	border-radius: 4px;
	top: 30px;
	display: none;

	-webkit-filter:drop-shadow(0 0 5px black);
	-moz-filter:drop-shadow(0 0 5px black);
	-ms-filter:drop-shadow(0 0 5px black);
	filter:drop-shadow(0 0 5px black);
}
	.social_dialog .more-apps-list:before{
		content:"";
		position:absolute;
		top:-12px;
		left:16px;
		border:6px solid transparent;
		border-bottom-color:#333;
	}
.social_dialog .more-apps-list.visible{
	display: block;
}

.social_dialog .more-apps-list li{
	line-height:20px;
	color:grey;
	cursor:pointer;
}

.social_dialog .more-apps-list li:hover{
	color: #fff;
}

.app-list-container .apps-item {
	float: left;
}

.app-list-container {
	width: 2000px;
}

#apps-list-mobile{width:100%; background: white; position: absolute; top:48px; left:0; z-index:90 !important; font-family: 'Open Sans', Arial; display:none;}
#apps-list-mobile .container{width:100%; max-width:640px; min-width:320px; margin-left: auto; margin-right:auto}
#apps-list-mobile .inner_container{margin:0; padding:35px 10px 60px 10px;}
#apps-list-mobile .app_close{position:absolute; top:38px; right:20px; background: url('/img/app_close.png') top left no-repeat; width:15px; height:15px; cursor:pointer}
#apps-list-mobile .container h1{text-transform:uppercase; color:#333333; padding-left:14px; font-size:16px; padding-bottom:25px; font-weight:700}
@media(max-width: 500px){
	#apps-list-mobile .container h1{font-size:14px;}
}
#apps-list-mobile .container .italic_subheader{font-style: italic; color: #707070; padding:0 0 25px 14px; max-width:285px; font-size:12px;}
#apps-list-mobile .container .app_table{width:100%;}
#apps-list-mobile .container .app_table td{vertical-align:middle; padding:7px 0 8px 14px; border-bottom: 1px solid #dcdcdc; color:#adadad; font-weight: 600}
#apps-list-mobile .container .app_table .active td{color:#333333}
@media(max-width: 500px){
	#apps-list-mobile .container .app_table td{font-size:12px;}
}

#apps-list-mobile td.right_block:empty:after{ content: attr(data-empty); }

#apps-list-mobile td.net_icon span {background-size:cover;display:block;height:36px;width:36px;}

#apps-list-mobile .container .app_table td .close{ width:32px; height:32px; display:block;  background: url('/img/green_close.png') center center no-repeat; cursor:pointer}

#apps-list-mobile .container .app_table .active .close{background:url('/img/btn_close.png') center center no-repeat;border-radius:3px;border:1px solid #dcdcdc;height:30px;display:block;width:30px;}
#apps-list-mobile .container .app_table td .checkbox{  width:32px; height:32px; display:block;   background: url('/img/checkbox2.png') top right no-repeat; background-position: 0 0; float:right}
#apps-list-mobile .container .app_table td .checked{background-position: 0 -32px;}
#apps-list-mobile .container .app_table td .add_text{float:left; display:block; color:red}
#apps-list-mobile .container .app_table .net_icon{width:36px; }
#apps-list-mobile .container .app_table         .net_icon span{opacity: 0.4;filter: alpha(Opacity=40) }
#apps-list-mobile .container .app_table .active .net_icon span{opacity: 1;  filter: alpha(Opacity=100)}
#apps-list-mobile .container .app_table .right_block{padding:0 10px 0 2px; width:32px; text-align:right; font-size:12px; font-weight:normal; color:#707070 }
@media(max-width: 500px){
	#apps-list-mobile .container .app_table .right_block{font-size:11px;}
}

#alOverlay {
	position: fixed;
	display: block;
	left: 0;
	right: 0;
	top: 48px;
	bottom: 0;
	background-color: rgba(89,159,32,.5);
	z-index: 300;
}
#alContainer {
	position: fixed;
	display: block;
	width: 100%;
	max-width: 500px;
	height: auto;
	background-color: #fff;
	margin: 5% auto;
	padding: 40px 30px;
	z-index: 300;
	left: 0;
	right: 0;
	top: 48px;
	box-sizing: border-box;
}
@media(max-height: 750px){
	#alContainer {
		position: fixed;
		display: block;
		width: 100%;
		max-width: 500px;
		height: 100%;
		background-color: #fff;
		margin: 0 auto;
		padding: 40px 30px 80px;
		z-index: 9000000;
		left: 0px;
		right: 0;
		top: 48px;
		bottom: 48px;
		box-sizing: border-box;
		overflow-y: auto;
	}
}
#alContainer .app_close {
	position:absolute;
	top:40px; right:40px;
	background: url('/img/app_close.png') top left no-repeat;
	width:15px;
	height:15px;
	cursor:pointer;
}
#alContainer .break-apps-link {
	color: #df2f28;
}
#alContainer h1 {
	color:#333333;
	padding-left:14px;
	padding-bottom:25px;
	line-height: 20px;
	font-size: 20px;
	color: #2B2E33;
}
@media(max-width: 500px){
	#alContainer {
		margin-top: 0;
		position: absolute;
	}
}
#alContainer .italic_subheader {
	font-style: italic;
	color: #707070;
	padding:0 0 25px 14px;
	max-width:285px;
	font-size:12px;
}
#alContainer .app_table {
	width:100%;
}
#alContainer .app_table td {
	vertical-align:middle;
	padding:7px 0 8px 14px;
	border-bottom: 1px solid #dcdcdc;
	color:#adadad;
	font-weight: 600;
}
#alContainer .app_table .active td {color:#333333}
@media(max-width: 500px){
	#alContainer .app_table td {font-size:12px;}
}

#alContainer td.right_block:empty:after {
	content: attr(data-empty);
}

#alContainer td.net_icon span {
	background-size:cover;
	display:block;
	height:36px;
	width:36px;
}

#alContainer .app_table td .close {
	width: 32px;
	height: 32px;
	display: block;
	background: #22C065 url('/img/plus_icon.svg') center center no-repeat;
	cursor: pointer;
	background-size: 45%;
	border-radius: 2px;
}
/*
#alContainer .app_table td .close:before {
	content: '\f067';
	font-family: 'FontAwesome';
	background-color: #22C065;
	color: #fff;
	display: block;
	width: 100%;
	height: 100%;
	font-size: 22px;
	text-align: center;
	line-height: 34px;
	border-radius: 1px;
} */
#alContainer .app_table .active .close {
	width: 32px;
	height: 32px;
	display: block;
	background: #D34843;
	cursor: pointer;
	background-size: 45%;
	border-radius: 2px;
}
#alContainer .app_table .active .close:before {
	content: '';
	background: url('/img/plus_icon.svg') center center no-repeat;
	background-size: 45%;
	display: block;
	width: 100%;
	height: 100%;
	-webkit-transform: rotate(45deg);
	    -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	    -o-transform: rotate(45deg);
	    transform: rotate(45deg);
}
/*f00d*/
#alContainer .app_table td .checkbox {
	width:32px;
	height:32px;
	display:block;
	background: url('/img/checkbox2.png') top right no-repeat;
	background-position: 0 0;
	float:right;
	cursor: pointer;
}
#alContainer .app_table td .checked {
	background-position: 0 -32px;
}
#alContainer .app_table td .add_text {
	float:left;
	display:block;
	color:red;
}
#alContainer .app_table .net_icon{width:36px; }
#alContainer .app_table         .net_icon span {
	opacity: 0.4;
	filter: alpha(Opacity=40);
}
#alContainer .app_table .active .net_icon span {
	opacity: 1;
	filter: alpha(Opacity=100);
}
#alContainer .app_table .right_block {
	padding:0 10px 0 2px;
	width:32px;
	text-align:right;
	font-size:12px;
	font-weight:normal;
	color:#707070;
}
.blackFog {
	position: fixed;
	display: block;
	background-color: rgba(0,0,0,.7);
	left: 0;
	right: 0;
	bottom: 0;
	top: 48px;
}
