/* Aleksey Skubaev

askubaev@gmail.com
icq - 322253350
Разработка шаблонов для DLE и кроссбраузерная верстка
------------------
Главные стили. Внешний вид шаблона.
*/

body {
	padding: 0;
	margin: 0;
	background: #fff url(../images/bg.jpg) 0 top repeat-x;
	text-align: center;
	font: 12px Arial;
	color: #373737;
}

h1, h2, h3, h4 {
	padding: 0;
	margin: 0;
	font-size: 12px;
}

a {
	text-decoration: none;
}
img {
	border: none;
}

.main{
	width: 1000px;
	margin: 0 auto;
	text-align: left;
}
	
	.header{
		height: 165px;
		position: relative;
		z-index: 99;
	}
		
		.logo{
			background: url(../images/logo.png) 0 0 no-repeat;
			width: 217px;
			height: 44px;
			position: absolute;
			top: 45px;
			left: 10px;
			display: block;
		}
		
		.seo-text{
			width: 400px;
			height: 34px;
			position: absolute;
			top: 52px;
			left: 255px;
			font-size: 11px;
			color: #878787;
			line-height: 17px;
			overflow: hidden;
		}
		
		.login{
			width: 150px;
			height: 31px;
			cursor: pointer;
			background: url(../images/login.png) 0 top no-repeat;
			overflow: hidden;
			position: absolute;
			top: 55px;
			right: 10px;
			font-size: 12px;
			color: #000;
			text-align: center;
			line-height: 31px;
		}
			
			.login:hover{
				background: url(../images/login.png) 0 bottom no-repeat;
			}
		
				.close{
					position: absolute;
					top: -10px;
					right: 0px;
					width: 53px;
					height: 53px;
					cursor: pointer;
					background: url(../images/close.png) 0 0 no-repeat;
				}
				
				.login-block-hidden{
					background: url(../images/login-block-hidden.png) 0 0 no-repeat;
					display: none;
					width: 440px;
					height: 340px;
					position: fixed;
					top: 50%;
					left: 50%;
					margin: -170px 0 0 -220px; 
					z-index: 99999;
				}
					
								
				.login-block-hidden-dark{
					background: url(../images/dark.png);
					position: fixed;
					top: 0px;
					left: 0px;
					width: 100%;
					height: 100%;
					display: none;
					z-index: 88888;
				}
	
		.top-menu-block{
			height: 44px;
			z-index: 99;
			top: 115px;
			position: relative;
			background: url(../images/top-menu-block.png) 0 0 no-repeat;
		}	
				
				
			.menu-link{
				display: block;
				font-size: 12px;
				color: #414141;
				height: 44px;
				position: relative;
				z-index: 99;
				padding: 0 17px;
				line-height: 45px;
				float: left;
				margin: 0 2px;
			}
			
				.top-menu-block li:first-child .menu-link{
					border-radius: 5px 0 0 5px;
				}
				
				.menu-link:hover{
					background: url(../images/menu-link.png) 0 center repeat-x;
				}
				
				.activ{
					background: url(../images/menu-link.png) 0 center repeat-x !important;
				}
				
				.top-menu-block ul{
					margin: 0;
					padding: 0;
					position: relative;
					z-index: 99;
				}
				
					.top-menu-block li{
						list-style-type: none;
						float: left;
						height: 45px;
						display: block;
						position: relative;
						z-index: 99;
						background: url(../images/menu-line.png) left center no-repeat;
					}
						
						.top-menu-block li:first-child{
							background: none;
						}
				
						
				
				.hidden-menu-block{
					display: none;
					position: absolute;
					left: 0px;
					top: 44px;
					min-height: 37px;
					z-index: 99;
					padding: 0 0 25px 0;
					width: 203px;
					overflow: hidden;
					border: 1px solid #dedede;
					background: #fff;
					border-radius: 0 0 7px 7px;	
						-moz-border-radius: 0 0 7px 7px;
						-webkit-border-radius: 0 0 7px 7px;
					
				}
					
					.hidden-menu-image{
						width: 203px;
						overflow: hidden;
						background: url(../images/menu-strelka.png) 0 bottom no-repeat;
						padding: 0 0 7px 0;
						margin: 0 0 10px 0;
					}
						
						.hidden-menu-image img{
							width: 203px;
						}
					
					.hidden-menu-link{
						display: block;
						float: left;
						font-size: 12px;
						color: #414141;
						margin: 0 0 4px 10px;
						width: 90px;
						text-decoration: underline;
					}
						
						.hidden-menu-link:hover{
							color: #00c7ff;
						}
		
		
	.left-col{
		width: 760px;
		float: left;
		margin: 0 5px 0 0;
	}
		
		.left-big-news{
			float: left;
			width: 415px;
			margin: 0 10px 0 0;
		}
		
			.main-news-big{
				position: relative;
				width: 415px;
			}
				
				.main-news-big-image{
					width: 415px;
					height: 285px;
					overflow: hidden;
				}
					
					.main-news-big-image img{
						width: 415px;
						min-height: 285px;
					}
				
				.main-news-big h2 a{
					display: block;
					background: url(../images/main-news-big.png);
					font: 19px PT Sans;
					color: #000;
					padding: 5px;
					width: 375px;
					text-decoration: underline;
					position: absolute;
					bottom: 12px;
					left: 15px;
				}
					
					.main-news-big h2 a:hover{
						text-decoration: none;
					}
				
		.left-small-news{
			float: left;
			width: 320px;
		}
		
			.main-news-small{
				background: url(../images/right-item-title.png) 0 top repeat-x;
				padding: 10px 0 0 0;
				margin: 0 0 5px 0;
			}
				
				.main-news-small:first-child{
					background: none;
					padding: 0px;
				}
			
				.main-news-small-image{
					width: 170px;
					height: 95px;
					float: left;
					overflow: hidden;
					margin: 0 8px 0 0;
				}
					
					.main-news-small-image img{
						width: 170px;
						min-height: 95px;
					}
				
				.main-news-small-right{
					float: left;
					width: 135px;
				}
					
					.main-news-small-right h2 a{
						font-size: 12px;
						color: #5a8dbd;
						text-decoration: underline;
						display: block;
						line-height: 15px;
						height: 45px;
						overflow: hidden;
						margin: 0 0 5px 0;
					}
					 
						.main-news-small-right h2 a:hover{
							text-decoration: none;
						}
						
					.main-news-small-preview{
						background: #5a8dbd;
						font-size: 11px;
						color: #fff;
						height: 19px;
						padding: 0 10px;
						line-height: 19px;
						cursor: pointer;
						margin: 0 0 10px 0;
						display: inline-block;
						position: relative;
					}
						
						.main-news-small-preview:hover{
							background: #c54040;
						}
						
						.preview-block{
							background: url(../images/preview-block.png) 0 0 no-repeat;
							width: 380px;
							height: 255px;
							position: absolute;
							top: -35px;
							left: -545px;
							padding: 0 170px 0 0;
							display: none;
						}
							
								
							.preview-block-all{
								position: relative;
								width: 335px;
								height: 217px;
								margin: 15px 30px 15px 15px;
								overflow: hidden;
							}
							
							.preview-block-image{
								width: 228px;
								height: 120px;
								border: 1px solid #b0b0b0;
								overflow: hidden;
								float: right;
								margin: 0 0 10px 10px;
							}
								
								.preview-block-image img{
									width: 228px;
									min-height: 120px;
								}
							
							.preview-block-content{
								font-size: 11px;
								color: #484848;
								line-height: 17px;
							}
					
					.main-news-small-date{
						background: url(../images/date.png) left center no-repeat;
						padding: 0 0 0 20px;
						margin: 0 0 5px 0;
						font-size: 11px;
						color: #a2a2a2;
					}
				
				.main-news-small-content{
					font-size: 11px;
					color: #2b2b2b;
					line-height: 15px;
					overflow: hidden;
					height: 30px;
				}
					
					.main-news-small-content img, .main-news-small-content br{
						display: none;	
					}
			
		.left-item{
			float: left;
			width: 350px;
			margin: 0 30px 20px 0;
		}
			
			.left-item-title{
				margin: 0 0 10px 0;
			}
				
				.left-title{
					background: url(../images/left-title1.png) 0 0 no-repeat;
					height: 45px;
				}
					
					.left-title span{
						font-size: 12px;
						color: #000;
						text-align: center;
						width: 125px;
						display: block;
						height: 40px;
						line-height: 40px;
						font-weight: bold;
					}
				
				.left-title2.left-title{
					background: url(../images/left-title2.png) 0 0 no-repeat;
				}
				
				.left-title3.left-title{
					background: url(../images/left-title3.png) 0 0 no-repeat;
				}
				
				.left-title4.left-title{
					background: url(../images/left-title4.png) 0 0 no-repeat;
				}
				
				.left-title5.left-title{
					background: url(../images/left-title5.png) 0 0 no-repeat;
				}
				
				.left-title6.left-title{
					background: url(../images/left-title6.png) 0 0 no-repeat;
				}
				
			.big-news{
				background: url(../images/right-item-title.png) 0 bottom repeat-x;
				margin: 0 30px 10px 0;
				padding: 0 0 15px 0;
				width: 350px;
				float: left;
			}
				
				.big-news-left{
					width: 125px;
					float: left;
					margin: 0 13px 0 0;
				}
					
					.big-news-image{
						width: 125px;
						height: 95px;
						overflow: hidden;
						margin: 0 0 10px 0;
					}
						
						.big-news-image img{
							min-width: 125px;
							height: 95px;
						}
					
					.big-news-com{
						background: url(../images/big-com.png) left center no-repeat;
						padding: 0 0 0 20px;
						display: inline;
						font-size: 12px;
						color: #5a8dbd;
					}	
						
						.big-news-com a{
							color: #5a8dbd;
						}
							
							.big-news-com a:hover{
								text-decoration: underline;
							}
							
					.big-news-views{
						font-size: 12px;
						color: #5e5e5e;
						background: url(../images/big-views.png) left center no-repeat;
						padding: 0 0 0 20px;
						display: inline;
						margin: 0 0 0 15px;
					}
						
				.big-news-right{
					float: left;
					width: 210px;
				}
					
					.big-news-right h2 a{
						font: 14px PT Sans;
						color: #5a8dbd;
						line-height: 15px;
						overflow: hidden;
						display: block;
						height: 30px;
						margin: 0 0 5px 0;
					}
						
						.big-news-right h2 a:hover{
							text-decoration: underline;
						}
					
					.big-news-date{
						font-size: 12px;
						color: #afafaf;
						margin: 0 0 5px 0;
					}
					
					.main-news-content{
						font-size: 12px;
						color: #454545;
						line-height: 17px;
						overflow: hidden;
						height: 68px;
					}
					
						
			.small-news{
				margin: 0 0 14px 0;
			}
				
				.small-news-image{
					width: 45px;
					height: 35px;
					float: left;
					margin: 0 20px 0 0;
				}
					
					.small-news-image img{
						width: 45px;
						min-height: 35px;
					}	
					
				.small-news h2 a{
					font-size: 12px;
					color: #5a8dbd;
					display: block;
					height: 30px;
					line-height: 15px;
					overflow: hidden;
				}
					
					.small-news h2 a:hover{
						text-decoration: underline;
					}
		
		.foto-block{
			width: 702px;
			height: 158px;
			padding: 7px 0 0 34px;
			position: relative;
			background: url(../images/foto-block.png) 0 0 no-repeat;
			margin: 0 0 20px 0;
		}
			
			.foto-slaider-news{
				width: 225px;
				height: 150px;
				float: left;
				overflow: hidden;
				margin: 0 4px;
			}
				
				.foto-slaider-news img{
					width: 225px;
					height: 150px;
				}
				
/* слайдер с кнопками назад и далее */
#foo1{
	margin: 0 !important;
	padding: 0 !important;
}
			
	.prev1{
		background: url(../images/prev-next1.png) left top no-repeat;
		width: 50px;
		height: 50px;
		display: block;
		position: absolute;
		top: 55px;
		left: 55px;
	}

		.prev1:hover{
			background: url(../images/prev-next1.png) left bottom no-repeat;
		}
	
	.next1{
		background: url(../images/prev-next1.png) right top no-repeat;
		width: 50px;
		height: 50px;
		display: block;
		position: absolute;
		top: 55px;
		right: 25px;
	}
				
		.next1:hover{
			background: url(../images/prev-next1.png) right bottom no-repeat;
		}
		
	.right-col{
		width: 235px;
		float: left;
	}
		
		.right-item{
			border: 1px solid #e0e0e0;
			border-radius: 3px;
				-moz-border-radius: 3px;
				-webkit-border-radius: 3px;
			margin: 0 0 20px 0;
			padding: 5px;
			position: relative;
		}
			
			.right-item-title{
				font: 19px PT Sans;
				color: #000;
				text-transform: uppercase;
				padding: 10px 0 10px 0;
				margin: 0 0 10px 0;
				background: url(../images/right-item-title.png) 0 bottom repeat-x;
				text-align: center;
			}
			
			.right-item-content{
				padding: 10px 0;
			}
		
		.foto-news{
			padding: 4px;
		}
			
			.foto-news-image{
				width: 218px;
				height: 225px;
				overflow: hidden;
				margin: 0 0 10px 0;
			}
				
				.foto-news-image img{
					min-width: 218px;
					height: 255px;
				}
			
			.foto-news h2 a{
				font-size: 12px;
				color: #000;
			}
			
				.foto-news h2 a:hover{
					text-decoration: underline;
				}
		
		.foto-label{
			width: 114px;
			height: 29px;
			background: url(../images/foto-label.png) 0 0 no-repeat;
			position: absolute;
			top: 20px;
			left: 60px;
		}
				
		.soc-block{
			padding: 0 12px;
		}
			
			.soc-block a{
				margin: 0 4px;
			}
			
		.banner{
			width: 200px;
			text-align: center;
			overflow: hidden;
			margin: 0 auto;
			padding: 5px 0;
		}
			
			.banner img{
				max-width: 200px;
			}
		
		.title-news{
			padding: 20px 0 0 0;
			background: url(../images/title-news.png) center top no-repeat;	
			margin: 0 0 20px 0;
		}
		
		.title-news a{
			font-size: 12px;
			color: #000;
			display: block;
			text-align:center;
			text-decoration: underline;
		}
			
			.title-news a:hover{
				color: #5a8dbd;
			}

.footer-block{
	border-top: 1px solid #212b36;
	background: #4c5763;
}
	
	.footer{
		padding: 25px 240px 25px 0;
		font-size: 11px;
		color: #b5b5b5;
		position: relative;
	}
		
		.footer a{
			color: #fff;
		}
			
			.footer a:hover{
				text-decoration: underline;
			}
		
		.counts{
			position: absolute;
			top: 15px;
			right: 0px;
		}
			
			.counts a{
				margin: 0 5px;
			}
			
/* Юзер-панель */

.left-block{
	margin: 50px 0 0 100px;
	text-align: center;
	width: 250px;
}

	
	.left-block-title{
		font: 19px PT Sans;
		color: #000;
		text-shadow: #fff 1px 1px 0px;
		margin: 0 0 25px 0;
	}
	
	.login-pass{
		font: bold 12px Tahoma;
		color: #525252;
		text-align: left;
		margin: 0 0 5px 0;
	}
	
		
	.login-line {
		position: relative;
		background: url(../images/login-line.png) 0 0 no-repeat;
		width: 200px;
		height: 52px;
		margin: 0 auto 10px;
		text-align: left;
	}

	.login-link {
		padding: 10px 0 10px 15px;
	}
	
		.login-link a {
			color: #6a6a6a;
		}
	
	.login-input-text {
		border: 0;
		margin: 0;
		position: absolute;
		left: 70px;
		top: 20px;
		background: none;
		padding: 0;
		width: 115px;
		font-size: 12px;
		color: #000;
	}
	
		.ava-cab{
			width: 100px;
			height: 100px;
			overflow: hidden;
			float: left;
			margin: 0 20px 0 0;
		}	
		
			.ava-cab img{
				max-width: 100px;
				min-height: 100px;
			}

		
	.l-link {
		float: left;
		font: 14px PT Sans;
		color: #000;
		width: 130px;
	}	
	
		.l-link a {
			display: block;
			color: #000;
			text-align: left;
			background: none;
			margin: 0 0 5px 0;
			line-height: 20px;
			font-weight: bold;
		}
		
			.l-link a:hover {
				color: #5a8dbd;
			}
			
			.nblock  {
				display: none;
		}
	
	.enter {
		
	}
	
	.lost-input-text {
		border: 1px #9e9e9e dotted;
		width: 200px;
		padding: 5px;
		color: #644217;
	}
	
	.reg-link {
		font-size: 12px;
		color: #000;
		text-align: center;
		padding: 15px 0 0 0;
	}
	
		.reg-link a {
			color: #000;
			text-decoration: underline;
		}
		
			.reg-link a:hover {
				text-decoration: none;
			}
			
.s-block-content input {
	background: #fff url(../images/form-text.gif) left top repeat-x;
	margin: 5px 20px 0 0;
	color: #2e2e2e;
	border: 1px #d0d0d0 solid;
}

.s-block-content {
	padding: 10px;
}
/* ==================== Календарь */
.calend {

}

.weekday-active-v {
	color: #535353;
}
.day-active-v {
	color: #535353;
	font-weight: bold;
}
.calendar {

text-align: center;
}
	
	.calendar a {
		text-decoration: underline;
	 }
.calendar td, th {
	 text-decoration: none;
	 padding: 3px;
}
.weekday {
	
	font-weight: bold !important;
	
}
.weekday-active {
	color: #000;
	font-weight: bold;
	
}
.day-active {
	color: #535353;
}
.monthlink {
	color: #535353;
	text-decoration: none;
}
.day-current {
	background:#ffd8b5;
	border:1px dotted #000;
	color: #000;
}

	.day-current a {
		color: #000;
	}

/* ==================== Облако тегов */
.tags-block {
	padding: 5px;
	color: #424242;
}

.clouds_xsmall {
	font-size: 12px;
	color: #424242 !important;
	text-decoration: none;
}
.clouds_small {
	font-size: 15px;
	color: #424242 !important;
	text-decoration: none;
}
.clouds_medium {
	font-size: 20px;
	color: #424242 !important;
	text-decoration: none;
}
.clouds_large {
	font-size: 25px;
	color: #ff8b02 !important;
	text-decoration: none;
}
.clouds_xlarge {
	font-size: 30px;
	color: #ff8b02!important;
	text-decoration: none;
}



/* Опрос */
.vote-buttom {
	width: 221px;
	height: 29px;
	color: #fff;
	border: 0;
	background: url(../images/bg-vote-buttom.png) left top repeat-x;
	margin: 3px;
	font-size: 14px;
	cursor: pointer;
}

	.vote-buttom:hover{
		background: url(../images/bg-vote-buttom.png) left bottom repeat-x;
	}

/* ==================== Рейтинг статьи */

.rating {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	width: 85px;
	height: 16px;
}
.unit-rating {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 85px;
	height: 16px;
	position: relative;
	background-image: url(../dleimages/rating.png);
	background-position: top left;
	background-repeat: repeat-x;
}
.unit-rating li {
	text-indent: -90000px;
	padding: 0px;
	margin: 0px;
	float: left;
}
.unit-rating li a {
	display: block;
	width: 17px;
	height: 16px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 17;
	position: absolute;
	padding: 0px;
}
.unit-rating li a:hover {
	background-image: url(../dleimages/rating.png);
	background-position: left center;
	z-index: 2;
	left: 0px;
}
.unit-rating a.r1-unit { left: 0px; }
.unit-rating a.r1-unit:hover { width: 17px; }
.unit-rating a.r2-unit { left: 17px; }
.unit-rating a.r2-unit:hover { width: 34px; }
.unit-rating a.r3-unit { left: 34px; }
.unit-rating a.r3-unit:hover { width: 51px; }
.unit-rating a.r4-unit { left: 51px; }	
.unit-rating a.r4-unit:hover { width: 68px; }
.unit-rating a.r5-unit { left: 68px; }
.unit-rating a.r5-unit:hover { width: 85px; }
.unit-rating li.current-rating {
	background-image: url(../dleimages/rating.png);
	background-position: left bottom;
	position: absolute;
	height: 16px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}


/* ==================== BB коды */
 
.bbcodes {
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	color: #ffffff;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	/*  width: 120px;  */
	height: 20px;
	background-image: url(../images/dlet_bttn_bbcodes.gif);
	background-repeat: repeat-x;
	font-weight: bold;
}

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */

.bbcodes_poll {
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	color: #ffffff;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	width: 120px;
	height: 20px;
	background-image: url(../images/dlet_bttn_bbcodes.gif);
	background-repeat: repeat-x;
	font-weight: bold;
}


/* ==================== Выпадающее меню */

#dropmenudiv {
	border: 1px solid #ffffff;
	border-bottom-width: 0;
	font: normal 10px Verdana;
	background-color: #6497ca;
	line-height: 20px;
	margin: 2px;
	opacity: 0.92;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=95, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
}

#dropmenudiv a {
	display: block;
	text-indent: 3px;
	text-decoration:none;
	color: #ffffff;
	background:#6497ca;
	border: 1px solid #ffffff;
	padding: 1px 0;
	margin: 1px;
	font-weight: bold;
}

#dropmenudiv a:hover {
	background-color:#fdd08b;
	color:#000000;
}

/* ==================== Уведомление о получении новых PM */

#newpm {
	width: 400px;
	padding: 4px;
	background-color: #fdfdfd;
	border: 1px solid #bbbbbb;
	font-family: verdana;
	line-height: 135%;
}
#newpmheader {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	height: 20px;
	color: #636363;
	font-weight: bold;
	background-color: #b2c7f1;
	font-family: verdana;
	cursor: move;
}
#newpm a {
	background: transparent;
	color: #4b73d4;
	text-decoration: none;
}
#newpm a:hover {
	background: transparent;
	color: #4b73d4;
	text-decoration: underline;
}

/* ==================== Ссылка на скачивание прикрепленного файла */

.attachment {
	color: #f37c64;
}

/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии (oiy) */
.highslide-wrapper, .highslide-outline {
	background: #FFFFFF;
	z-index: 100000;
}
.highslide-image {
	border: 2px solid #FFFFFF;
	z-index: 100000;
}
.highslide-active-anchor {
   visibility: hidden;
   z-index: 100000;
} 
.highslide-active-anchor img {
	visibility: hidden;
	z-index: 100000;
}
.highslide-dimming {
	background: black;
	z-index: 100000;
}
.highslide-html {
	background-color: white;
	z-index: 100000;
}
.highslide-html-content {
	display: none;
	z-index: 100000;
}
.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid white;
    background-color: black;
	z-index: 100000;
}
a.highslide-full-expand {
	background: url(../dleimages/fullexpand.gif) no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px;
	height: 34px;
	z-index: 100000;
}
.highslide-footer {
	height: 11px;
	z-index: 100000;
}
.highslide-footer .highslide-resize {
	float: right;
	height: 12px;
	width: 11px;
	background: url(../dleimages/resize.gif);
	z-index: 100000;
}
.highslide-resize {
    cursor: nw-resize;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

.highslide-caption {
	display: none;
	padding: 5px;
	background: white;
}

.highslide-controls {
    width: 195px;
    height: 40px;
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.highslide-controls ul {
	position: relative;
	left: 15px;
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) right -90px no-repeat;
}
.highslide-controls li {
    float: left;
    padding: 5px 0;
}
.highslide-controls a {
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif);
    display: block;
    float: left;
    height: 30px;
    width: 30px;
    outline: none;
}
.highslide-controls a.disabled {
    cursor: default;
}
.highslide-controls a span {
    /* hide the text for these graphic buttons */
    display: none;
}
 
/* The CSS sprites for the controlbar */
.highslide-controls .highslide-previous a {
    background-position: 0 0;
}
.highslide-controls .highslide-previous a:hover {
    background-position: 0 -30px;
}
.highslide-controls .highslide-previous a.disabled {
    background-position: 0 -60px !important;
}
.highslide-controls .highslide-play a {
    background-position: -30px 0;
}
.highslide-controls .highslide-play a:hover {
    background-position: -30px -30px;
}
.highslide-controls .highslide-play a.disabled {
	background-position: -30px -60px !important;
}
.highslide-controls .highslide-pause a {
    background-position: -60px 0;
}
.highslide-controls .highslide-pause a:hover {
    background-position: -60px -30px;
}
.highslide-controls .highslide-next a {
    background-position: -90px 0;
}
.highslide-controls .highslide-next a:hover {
    background-position: -90px -30px;
}
.highslide-controls .highslide-next a.disabled {
    background-position: -90px -60px !important;
}
.highslide-controls .highslide-move a {
    background-position: -120px 0;
}
.highslide-controls .highslide-move a:hover {
    background-position: -120px -30px;
}
.highslide-controls .highslide-full-expand a {
    background-position: -150px 0;
}
.highslide-controls .highslide-full-expand a:hover {
    background-position: -150px -30px;
}
.highslide-controls .highslide-full-expand a.disabled {
    background-position: -150px -60px !important;
}
.highslide-controls .highslide-close a {
    background-position: -180px 0;
}
.highslide-controls .highslide-close a:hover {
    background-position: -180px -30px;
}
	
.title-block  {
	font: 19px PT Sans;
	color: #000;
	margin: 0 0 10px 0;
	font-weight: normal;
}

	.title-block  a {
		
	}
					
		.title-block a:hover {
			
		}
		
		.shot-text2 img {
			margin: 0 10px 5px 0;
			border: 0;
			max-width: 500px;
		}
		
		.shot-text input {
			margin: 5px 20px 0 0;
			background: #343434;
			color: #fff;
			font-size: 9px;
		}
		.shot-text2 input {
			margin: 5px 20px 0 0;
			background: #343434;
			color: #fff;
			font-size: 9px;
		}
		
		.mass_comments_action input {
			margin: 5px 20px 0 0;
			background: #454545;
			color: #fff;
			font-size: 9px;
		}
	
		.shot-text .editor_button img {
			padding: 0 !important;
			border: 0 !important;
			margin: 0;
		}
		.shot-text2 .editor_button img {
			padding: 0 !important;
			border: 0 !important;
			margin: 0;
		}
		
		.editor_button img {
			padding: 0 !important;
			border: 0 !important;
			margin: 0 !important;
		}
		
		.shot-text .editbclose img {
			padding: 0;
			border: 0;
			margin: 0;
		}
		.shot-text2 .editbclose img {
			padding: 0;
			border: 0;
			margin: 0;
		}
		
		.editor_button_brk img {
			padding: 0 !important;
			margin: 0 !important;
			border: 0 !important;
		}
		


/* Полная новость */
.speedbar{
	background: #464646;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 5px 240px 5px 5px;
	margin: 0 0 18px 0;
}
	.speedbar a{
		color: #fff;
	}
		
		.speedbar a:hover{
			text-decoration: underline;
		}
	
.public-news{
	width: 210px;
	position: absolute;
	right: 5px;
	top: 42px;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	background: url(../images/icon-date.png) left 0 no-repeat;
	padding: 0 0 0 20px;
}
		
.full-news {
	margin: 0 30px 0 0;
}	

	.full-news h1 {
		font: 19px PT Sans;
		color: #000;
		margin: 0 0 10px 0;
		font-weight: normal;
	}
	
	.full-line{
		background: url(../images/right-item-title.png) 0 bottom repeat-x;
		height: 1px;
	}
	
	.full-news-content {
		color: #333333;
		line-height: 17px;
		font-size: 12px;
	}
	
		.full-news-content img {
			margin: 10px 0;
			max-width: 730px;
		}
		
		.full-news-content a {
			color: #000;
			font-weight: bold;
		}
		
			.full-news-content a:hover {
				text-decoration: underline;
			}
			
	.rel-news-block {
		padding: 15px 0 0 0;
		border-top: 1px solid #eeeeee;
	}	
	
		.rel-news-block h4 {
			font: 14px PT Sans;
			color: #000;
			text-transform: uppercase;
			margin: 0 0 20px 0;
			font-weight: bold;
		}
		
		.rel-news{
			float: left;
			width: 215px;
			position: relative;
			padding: 0 0 0 135px;
			margin: 0 10px 25px 5px;
		}
			
			.rel-news-image{
				width: 125px;
				height: 95px;
				overflow: hidden;
				position: absolute;
				top: 0px;
				left: 0px;
			}
				
				.rel-news-image img{
					width: 125px;
					min-height: 95px;
				}
				
			.rel-news h2 a{
				font: 14px PT Sans;
				color: #5a8dbd;
				line-height: 15px;
				overflow: hidden;
				height: 30px;
				display: block;
				margin: 0 0 5px 0;
			}
				
				.rel-news h2 a:hover{
					text-decoration: underline;
				}
			
			.rel-news-content{
				font-size: 12px;
				color: #454545;
				line-height: 17px;
				height: 68px;
				overflow: hidden;
			}
		
	
	
.registr-please {
	color: #7791af;
	padding: 10px;
	margin: 5px;
}

.title_spoiler {
	position: relative;
	padding: 0;
	margin: 0;
}

	.title_spoiler a {
		background: url(../images/title_spoiler.jpg) left top repeat-x;
		display: block;
		line-height: 24px;
		padding: 0 10px 0 30px;
		text-decoration: none;
		color: #3b3b3b;
		font-weight: bold;
		border-radius:5px; 
		-webkit-border-radius:5px; 
		-moz-border-radius:5px;
		height: 24px
	}
	
	.title_spoiler img {
		position: absolute;
		left: 5px;
		top: 25px;
	}
	
.text_spoiler {
	border: 1px #ececec solid;
	padding: 10px;
	border-radius:5px; 
	-webkit-border-radius:5px; 
	-moz-border-radius:5px;
	margin: -5px 0 0 0;
	
}
	
	.text_spoiler a {
		
	}
	
		.text_spoiler a:hover {
			
		}
		
/* Вид комментария */
.comment-block {
	clear: both;
	margin: 0 5px 10px 5px;
	position: relative;
	padding: 5px 5px 20px 110px;
	min-height: 100px;
	background: url(../images/right-item-title.png) 0 bottom repeat-x;
}

	.comment-block-left {
		width: 100px;
		height: 100px;
		position: absolute;
		left: 0px;
		top: 0px;
		background: url(../images/bg-comment-left.png) 0 0 no-repeat;
	}
		
		.comment-block-left  img {
			width: 100px;
			min-height: 100px;
			
		}
		
	
	.comment-block-right {
		margin: 0 0 0 10px;
		position: relative;
		padding: 0px 0 0 0;
	}
	
		.comment-block-right2 {
			
		}
		
		
			.comment-text {
				color: #000;
				line-height: 17px;
				font-size: 12px;
			}
			
				.comment-text a {
					color: #000;
				}
				
					.comment-text a:hover {
						text-decoration: none;
					}
			
				.comment-text-title {
					padding: 0 0 5px 0;
					margin: 0 0 5px 0;
					color: #333;
				}
				
					.comment-text-title a {
						color: #000;
						font: 19px PT Sans;
						font-weight: bold;
					}
					
						.comment-text-title a:hover {
							text-decoration: underline;
						}
						
				.comment-text-more {
					padding: 3px 0 0 0;
					font-size: 11px;
					color: #ccc;
					border-top: 1px #ebebeb dotted;
				}
				
					.comment-text-more a {
						color: #a0a0a0;
					}
					
						.comment-text-more a:hover {
							color: #000;
						}

.comment-block .bbcodes, .mass_comments_action .bbcodes, .news-item-content .editor input, .news-item-content input {
	background: #fff;
	border: 1px #ccc solid;
	color: #333;
	border-radius:3px; 
	-webkit-border-radius:3px; 
	-moz-border-radius:3px;
	margin: 0;
	cursor: pointer;
}						


/* -------- */
.quote {
	background: #efead4;
	padding: 8px;
	color: #6f6f6f;
	clear: both;
	border-radius:3px; 
	-webkit-border-radius:3px; 
	-moz-border-radius:3px;
	margin: 0 0 5px 0;
	font-size: 11px;
}

	.quote a {
		color: #000;
	}
		
/* Добавление комментария */

#dle_recaptcha{
	margin: 0 0 15px 0;
}

.hidden-comment {
	padding: 10px 0 0 0;
}

	.hidden-comment h3 {
		width: 150px;
		height: 31px;
		cursor: pointer;
		background: url(../images/login.png) 0 top no-repeat;
		overflow: hidden;
		font-size: 12px;
		color: #000;
		text-align: center;
		line-height: 31px;
	}
		
		.hidden-comment h3:hover{
			background: url(../images/login.png) 0 bottom no-repeat;
		}
	
	.hidden-comment2 {
		background: url(../images/hidden-comment.jpg) left bottom repeat-x !important;
	}
	
	.hidden-comment-form {
		display: none;
		clear: both;
	}

.add-coment-buttom {
	width: 100px;
	height: 30px;
	margin-right: 3px;
	color: #fff;
	border: 1px #2b2b2b solid;
}

.add-comment {
	clear: both;
	padding: 10px 10px 10px 0;
	border-radius: 0 0 3px 3px; 
	-webkit-border-radius: 0 0 3px 3px; 
	-moz-border-radius: 0 0 3px 3px;
	
}

	.add-comment a {
		color: #2b80c1;
	}
	
	.login-close {
		background: url(../images/login-close.png);
		width: 36px;
		height: 35px;
		cursor: pointer;
		position: absolute;
		right: 5px;
		top: 5px;
	}

.add-coment-buttom {
	width: 100px;
	height: 30px;
	margin-right: 3px;
	color: #fff;
	border: 1px #2b2b2b solid;
}

.add-comment {
	clear: both;
	padding: 10px;
	border-radius: 0 0 3px 3px; 
	-webkit-border-radius: 0 0 3px 3px; 
	-moz-border-radius: 0 0 3px 3px;
	
}

	.add-comment a {
		color: #2b80c1;
	}
	
		.add-comment a:hover {
			
		}

	.add-comment-line {
		clear: both;
	}
	
		.add-comment-line-left {
			float: left;
			width: 90px;
			padding: 0 0 5px 0;
			height: 27px;
			line-height: 27px;
		}
		
		.add-comment-line-right {
			float: left;
			width: 500px;
			padding: 0 0 5px 0;
		}
		
			.add-comment-line-right input {
				border-radius:3px; 
				-webkit-border-radius:3px; 
				-moz-border-radius:3px;
				background: #fff;
				height: auto !important;
				padding: 5px 10px 5px 10px;
				border: 1px #e8e8e8 solid;
			}
.s-block .add-comment-line-left {
	width: 150px !important;
}

.s-block .add-comment-line-right {
	width: 400px !important;
}

.s-block .add-comment-line {
	padding: 0 0 10px 0;
}

.s-block .add-comment-line textarea {
	border-radius:3px; 
	-webkit-border-radius:3px; 
	-moz-border-radius:3px;
	background: #fff;
	height: auto !important;
	padding: 5px 10px 5px 10px;
	border: 1px #e8e8e8 solid;
	height: 200px !important;
}

/* 
*****************************
Юзер инфа */
.user-info-table {
	width: 90%; 
	margin: 0 00px 0 20px;

}

	.user-info-table td {
		padding: 5px 5px 20px 5px;
		text-align: left;
	}
	
		.user-info-table td small {
			font-size: 14px;
			color: #af86522;
			font-weight: bold;
		}
		
		.user-info-table td a {
			color: #ff863d;
		}
		
		.user-info-table td i {
			color: #bfbfbf;
		}
		
		.buttom-add-news {
			margin: 5px 20px 5px 0;
			background: #777777;
			color: #fff;
			border: 1px #2b2b2b solid;
		}
		
		.user-info-table input {
			background: url(../images/form-text.gif);
			color: #2e2e2e;
			border: 1px #d0d0d0 solid;
		}

		
/* Инфо */
.error {
	padding: 10px;
	padding-bottom: 150px;
	background: url(../images/error.png) center bottom no-repeat;
	text-align: center;
}

	.error p {
		font-size: 15px;
		font-weight: bold;
	}
	
	.error a {
		color: #7cad37;
	}

/* Статистика */
.lost-pass {
	width: 400px;
	background: #fef2e4; 
	margin-bottom: 20px;
	border-top: 5px #9d7038 solid;
	margin-top: 10px;
}


	.lost-pass td {
		background: #fef2e4; 
		padding: 5px;
		color: #4b2e12;
		text-align: left;
	}
		
		.lost-pass td a {
			color: #c89539;
		}
		
.ststs-title {
	padding: 5px 5px 5px 20px;
	color: #60360c;
	text-align: left;
	font-weight: bold;
}

/* Статические страницы */	
.ststststs {
	text-align: left;
	margin: 0 30px 0 30px;
}

	.ststststs-t {
		height: 40px;
		line-height: 35px;
		color: #fffdcc;
		margin: 0 30px 0 10px;
	}
	
		.ststststs-t h1 {
			margin: 0;
			padding: 0 0 0 50px;
			font-size: 14px;
		}
	
	.ststststs-c {
		padding: 20px;
	}
		
		.ststststs-c img {
			padding: 0 10px 10px 0;
			background: url(../images/shadow.gif) right bottom;
			border: 0;
			margin: 10px 10px 10px 0;
		}
		
		.ststststs-c input {
			margin: 5px 20px 0 0;
			background: url(../images/form-text.gif);
			color: #2e2e2e;
			border: 1px #d0d0d0 solid;
		}
	
	.ststststs-s {
		padding: 5px;
	}
		.ststststs-s a {
			color: #60360c;
		}
		
.s-block-content {
	padding: 10px;
	
}

#dle-content {
}

	.s-block-content a {
		color: #871012;
	}
	
/* добавление новости */
.add-news-title {
	padding: 5px 5px 0 50px;
	font-weight: bold;
	text-align: left;
	color: #2d7cff;
}

/* ПМ */
.imp {
	text-align: left;
	margin: 0 30px 0 30px;
}

	.imp input {
		margin: 5px 20px 0 0;
		background: url(../images/form-text.gif);
		color: #2e2e2e;
		border: 1px #d0d0d0 solid;
	}
	
.pm-tititittile {
	padding: 10px 10px 10px 5px;
	font-weight: bold;
}

.new-PM {
	padding: 3px;
}
	
	.new-PM input {
		width: 250px;
		background: url(../images/form-text.gif);
		color: #2e2e2e;
		border: 1px #d0d0d0 solid;
	}
	
	.new-PM span {
		width: 150px;
		margin-right: 20px;
		display: block;
	}
	
.pm-block {
	height: 30px;
	padding-left: 60px;
	line-height: 30px;
	font-weight: bold;
}

.pm-content {
	padding: 10px 5px 15px 5px;
}

	.pm-content a {
		color: #666666;
		font-weight: bold;
	}

.pm-block-menu {
	height: 50px;
	margin-bottom: 20px;
	line-height: 50px;
	padding-left: 0px;
	font-size: 12px;
}

	.pm-block-menu a {
		color: #ff863d;
		font-weight: bold;
	}

.a-mess {
	border-top: 5px #fff solid;
	padding: 5px;
	color: #777777;
}	

	.a-mess a {
		color: #4a4a4a;
		font-weight: bold;
	}
	
.theme-mess {
	background: #c6c6c6;
	padding: 5px;
	border-top: 5px #fff solid;
	color: #666666;
	font-weight: bold;
}

/* Результаты поиска и форма поика на главной */
.search-block {
	width: 224px;
	height: 25px;
	position: absolute;
	top: 10px;
	right: 10px;
	background: url(../images/search-block.png) left top no-repeat;
}
	
	#tt_social a {
		width: 24px;
		height: 24px;
		margin: 0 2px 2px 0;
		display: block;
		float: left;
	}
	
	.ttfav {
		float: left;
		padding: 10px 0 0 0;
	}
			
	.ttfav-title {
		padding: 5px 0 5px 3px;
		font-weight: bold;
		color: #bbbbbb;
	}
	
		.form-text {
			color: #9a9a9a;
			font-size: 11px;
			border: 0;
			margin: 0;
			padding: 0;
			background: none;
			position: absolute;
			left: 10px;
			top: 5px;
			width: 185px;
		}
		
		.form-search {
			position: absolute;
			right: 0px;
			top: 0px;
		}

.search-rez {
	text-align: left;
	margin: 0 30px 0 30px;

}

.search-title {
	padding: 10px;
	color: #fdffcd;
	font-weight: bold;
	border-left: 2px #ffddb5 solid;
	border-right: 2px #ffddb5 solid;
	margin: 10px;
	background: #262626;
}

.search-rez input {
	
		background: url(../images/form-text.gif);
		color: #2e2e2e;
		border: 1px #d0d0d0 solid;
}	

/* Навигация по страницам */
.navigation {
	padding: 10px;
	clear: both;
}

	.navigation a {
		border-radius: 5px; 
		-webkit-border-radius: 5px; 
		-moz-border-radius: 5px;
		background: url(../images/navigation.jpg) left top repeat-x;
		height: 20px;
		line-height: 20px;
		float: left;
		padding: 0 9px 0 9px;
		font-weight: bold;
		text-decoration: none;
		color: #828282;
		margin: 0 5px 0 0;
		font-size: 11px;
	}
	
		.navigation a:hover {
			background: url(../images/navigation.jpg) left bottom repeat-x;
			color: #fff;
		}
	
	.navigation span {
		border-radius: 5px; 
		-webkit-border-radius: 5px; 
		-moz-border-radius: 5px;
		background: url(../images/navigation.jpg) left bottom repeat-x;
		height: 20px;
		line-height: 20px;
		float: left;
		padding: 0 9px 0 9px;
		font-weight: bold;
		text-decoration: none;
		color: #fff;
		margin: 0 5px 0 0;
		font-size: 11px;
	}

.vote-pool {
	margin: 20px 0 0 100px;
	background: #dbf6ff;
	width: 400px;
	padding: 10px;
}

	.vote-pool img {
		border: 0;
		padding: 0;
	}

	.vote-pool h5 {
		color: red;
		font-size: 13px;
		margin: 0;
	}
	
	.vote-pool h6 {
		margin: 0;
		font-size: 12px;
	}
	
	.vote-pool input {
		margin: 5px 20px 0 0;
		background: url(../images/form-text.gif);
		color: #2e2e2e;
		border: 1px #d0d0d0 solid;
	}
	
.statss {
	width: 100%;
}

	.statss  td {
		padding: 5px;
		font-size: 12px;
		color: #757575;
	}
	
	.statss a {
		color: #ff873e;
	}
	
.statss-title {
	font-size: 13px;
	font-weight: bold;
	color: #239aff;
	border-bottom: 1px #8e8e8e dotted;
	margin-bottom: 10px;
}


	
.form-input-stand {
	background: url(../images/form-text.gif);
	color: #2e2e2e;
	border: 0;
}

.shot-title {
	color: #61a0ff;
	padding: 5px;
}

	.shot-title h1 {
		font-size: 18px;
		padding-left: 10px;
	}
	
		.shot-title h1 i {
			
		}
		
.img-top-link {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.fix-bb {
	margin-right: 2%; 
	background: url(../bbcodes/bg.gif); 
	height: 75px;
	margin-left: -10px;
	border: 1px solid #bbb;
	border-bottom: 0;
}

	.fix-bb div {
		border: 0 !important;
	}
	
@-moz-document url-prefix()
{
    
}

	
/* DLE 8.5 */

/* Вид изображения: с прямыми краями и тенью */
.wide-border {
	background: white;
}
.wide-border .highslide-image {
	border-width: 10px;
}
.wide-border .highslide-caption {
	padding: 0 10px 10px 10px;
}

/* Вид изображения: только тень */
.borderless .highslide-image {
	border: none;
}
.borderless .highslide-caption {
	border-bottom: 1px solid white;
	border-top: 1px solid white;
	background: white;
}

/* Вид изображения: только рамка без тени */
.less .highslide-image {
	border: 1px solid #000000;
}
.less .highslide-caption {
	border: 1px solid #000000;
	background: white;
}


/* DLE 9.0 */

/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {
	display:none;
	font-family: Verdana;font-size: 11px;
	background:#000;padding:10px;
	text-align:center;
	border:1px solid #000;
	color: #FFF;
	border-radius: 5px;
	-webkit-border-radius: 5px; 
    -moz-border-radius: 5px;
}

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#dddddd; font-size:10px; line-height:14px; position: relative;
z-index: 100;}
#searchsuggestions a { padding:5px;display:block; background-color:#fff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#f2f2f2; color:#000; }
#searchsuggestions a span.searchheading { background: #dddddd; display:block; font-weight:bold; padding:5px; color:#000; }
#searchsuggestions a:hover span.searchheading { color:#000; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#000; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.ui-helper-clearfix {
	display: inline-block;
}
* html .ui-helper-clearfix {
	height: 1%;
}
.ui-helper-clearfix {
	display: block;
}
.ui-icon {
	background-repeat: no-repeat;
	display: block;
	overflow: hidden;
	text-indent: -99999px;
}
.ui-widget {
	font-family: Tahoma, Lucida Sans, Arial, sans-serif;
	font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: tahoma, Arial, sans-serif;
	font-size: 11px;
}
.ui-widget-content {
	background: #fcfdfd 50% bottom repeat-x;
	border: 1px solid #eeeeee;
	color: #222222;
	text-align: left;
}
.ui-widget-content a {
	color: #222222;
}
.ui-widget-header {
	background: #dedede;
	border: 1px solid #eeeeee;
	color: #000;
	font-weight: bold;
}
.ui-widget-header a {
	color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #f6f6f6;
	border: 1px solid #eeeeee;
	color: #2e6e9e;
	font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #2e6e9e;
	text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background: #dedede;
	border: 1px solid #eeeeee;
	color: #1d5987;
	font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover {
	color: #1d5987;
	text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
	background: #f6f6f6;
	border: 1px solid #eeeeee;
	color: #e17009;
	font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
	color: #e17009;
	text-decoration: none;
}
.ui-widget :active {
	outline: none;
}
.ui-state-error {
	background: #fef1ec 50% 50% repeat-x;
	border: 1px solid #cd0a0a;
	color: #cd0a0a;
}
.ui-widget-header .ui-icon {
	background-image: url(../images/ui-icons.png);
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
	background-image: url(../images/ui-icons_h.png);
}
.ui-icon-close {
	background-position: -80px -128px;
}
.ui-icon-closethick {
	background-position: -96px -128px;
}
.ui-button .ui-button-text {
	display: block;
	line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
	padding: .4em .8em;
}
input.ui-button {
	padding: .4em 1em;
}
.ui-button-set {
	margin-right: 7px;
}
.ui-button-set .ui-button {
	margin-left: 0;
	margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.ui-dialog {
	overflow: hidden;
	padding: .2em;
	position: absolute;
	width: 300px;
	text-align: left;
}
.ui-dialog .ui-dialog-titlebar {
	padding: .5em 1em .3em;
	position: relative;
}
.ui-dialog .ui-dialog-title {
	float: left;
	margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
	height: 18px;
	margin: -10px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
	display: block;
	margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
	padding: 0;
}
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: .5em 1em;
	position: relative;
	zoom: 1;
	text-align: left;
}
.ui-dialog .ui-dialog-buttonpane {
	background-image: none;
	border-width: 1px 0 0 0;
	margin: .5em 0 0 0;
	padding: .3em 1em .5em .4em;
	text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	float: right;
	line-height: 1.4em;
	margin: .5em .4em .5em 0;
	overflow: visible;
	padding: .2em .6em .3em .6em;
	width: auto;
}
.ui-dialog .ui-resizable-se {
	bottom: 3px;
	height: 14px;
	right: 3px;
	width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
	cursor: move;
}

.commentS-td2 #b_left, .commentS-td2  #b_center, .commentS-td2  #b_right, .commentS-td2 #b_spoiler {
		display: none;
	}
	
.nono #b_left, .nono  #b_center, .nono  #b_right, .nono #b_spoiler {
		display: none;
	}
	
#searchtable input{
	max-width: 150px !important;
} 

/* ДЛЕ 9.2 */
.editor input[type="text"] { padding: 2px; background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2; }

/* ==================== Автозаполнение облака тегов */
.ui-autocomplete { position: absolute; cursor: default; }

* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
	background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
	border: 1px solid #a7a7a7;
	color: #4e4e4e;
	font-weight: bold;
}

.full-news-custom-content p, .r-custom-text p {
	margin: 0;
	padding: 0;
}

/*  */


.sp_search {
	
	width:486px;
	margin: 0 0 15px 0;
	border: 2px #fff solid;
}

.sp_search_head {
	height:37px;
	padding:5px;
	color:#888;
	font:bold 17px Arial;
	line-height:40px;
	text-transform:uppercase;
	background:#fff;
	border-bottom: 1px #ccc solid;
}

.sp_search_head img {float:left;margin-right:7px;}

.sp_search_table {
	font:11px Tahoma;
	color:#080808;
	width:100%;
	text-align:left;
	background:#d5f3ff ;
}

.sp_search_table .sp_s1 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s2 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s3 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s4 {color:#1e81ba;text-decoration:underline;font-weight:bold;}

.sp_search_table td.sp_name {
	padding:6px 10px 8px 0;
	vertical-align:top;
	font:12px Tahoma;
	color:#080808;
}

.sp_search_table a.sp_lnk {
	font:12px Tahoma;
	color:#080808;
	text-decoration:underline;
}
.sp_search_table a.sp_lnk b {
	font-weight:bold;
}

.sp_search_table a.sp_lnk:hover, .sp_search_table a.sp_lnk:hover span {text-decoration:none;}

.sp_search_table td.sp_count {
	padding:6px 24px 8px 0;
	vertical-align:top;
	text-align:right;
}

.sp_search_table td.sp_count span.sp_count_sp {
	color:#000;
	font-weight:bold;
}

.sp_search_table td.sp_count span.sp_count_sp2 {
	color:#1e81ba;
	font-weight:bold;
}

.sp_search_table td.sp_name .sp_im_bl {
	float:left;
	margin:-4px 0 0 0;
	width:44px;
}
.sp_search_table td.sp_name .sp_im_bl img {
	display:block;
	margin:0 auto;
}

/*---Подсветка кода в теге [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa; 
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}

/*---прогресс бар заполненности персональных сообщений---*/
.pm_progress_bar {
	border: 1px solid #d8d8d8;
	padding: 1px;
	margin: 0 5px;
}

.pm_progress_bar span {
	background: #000000;
	font-size: 0em;
	text-indent: -2000em;
	height: 10px;
	display: block;
	overflow: hidden;

}

.pm_status {
	float:left;
	border: 1px solid #d8d8d8;
	padding: 0;
	background-color: #fff;
	width: 100%;
	height: 150px;
	margin-right: 10px;
}
.pm_status_content{
	padding: 0 10px 0 10px;
}

.pm_status_head {
	border-bottom: 1px solid #d8d8d8;
	background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
	font: 12px Tahoma;
	padding: 10px;
	margin: 0;
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	color: #4e4e4e;
}


/*---Вывод результатов голосования на сайте---*/
.voteprogress {
  overflow: hidden;
  height: 15px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.voteprogress span {
  color: #ffffff;
  text-align: center;
  text-indent: -2000em;
  height: 15px;
  display: block;
  overflow: hidden;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.voteprogress .vote2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.voteprogress .vote3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.voteprogress .vote4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.voteprogress .vote5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}

/*---Вывод результатов опросов в новостях---*/
.pollprogress {
  overflow: hidden;
  height: 18px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.pollprogress span {
  color: #ffffff;
  height: 18px;
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.pollprogress .poll2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.pollprogress .poll3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.pollprogress .poll4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.pollprogress .poll5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}





/*---BB Редактор---*/

.bb-pane {
  height: 1%; overflow: hidden;
  padding-bottom: 5px;
  padding-left: 5px;
  margin: 0;
  height: auto !important;
  text-decoration:none;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#FBFBFB), to(#EAEAEA));
  background-image: -webkit-linear-gradient(top, #FBFBFB, 0%, #EAEAEA, 100%);
  background-image: -moz-linear-gradient(top, #FBFBFB 0%, #EAEAEA 100%);
  background-image: linear-gradient(to bottom, #FBFBFB 0%, #EAEAEA 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FBFBFB', endColorstr='#EAEAEA', GradientType=0);
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius-bottomright: 0px;
  -webkit-border-bottom-right-radius: 0px;
  -khtml-border-bottom-right-radius: 0px; 
  border-bottom-right-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -khtml-border-bottom-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top:1px solid #d7d7d7;
  border-left:1px solid #d7d7d7;
  border-right:1px solid #d7d7d7;
  box-shadow: none !important;
}

.bb-pane>b {
    margin-top: 5px;
    margin-left: 0;
  vertical-align: middle;
}
.bb-pane .bb-btn + .bb-btn,.bb-pane .bb-btn + .bb-pane,.bb-pane .bb-pane + .bb-btn,.bb-pane .bb-pane + .bb-pane {
    margin-left:-1px;
}
.bb-btn {
  display: inline-block; overflow: hidden; float: left;
  padding: 4px 10px;
    border: 1px solid #d4d4d4;
    -webkit-box-shadow: inset 0 1px 2px white;
    -moz-box-shadow: inset 0 1px 2px white;
    box-shadow: inset 0 1px 2px white;
    background-repeat: repeat-x;
    background-image: -webkit-gradient(linear, left 0%, left 100%, color-stop(0%, #fdfdfd), color-stop(100%, #e9e9e9));
    background-image: -webkit-linear-gradient(top, #fdfdfd, 0%, #e9e9e9, 100%);
    background-image: -moz-linear-gradient(top, #fdfdfd, 0%, #e9e9e9, 100%);
    background-image: linear-gradient(to bottom, #fdfdfd 0%, #e9e9e9  100%);

}
 

.bb-btn:hover {
      background: #e6e6e6;
      background-repeat: repeat-x;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfdfd), color-stop(100%, #e6e6e6));
      background-image: -webkit-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -moz-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -o-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: linear-gradient(to bottom, #fdfdfd 0%, #e6e6e6 100%);
      -webkit-transition: box-shadow 0.05s ease-in-out;
      -moz-transition: box-shadow 0.05s ease-in-out;
      -o-transition: box-shadow 0.05s ease-in-out;
      transition: box-shadow 0.05s ease-in-out;
}
    
.bb-btn:active {
      background: #f3f3f3;
      border-color: #cfcfcf;
      -webkit-box-shadow: 0 0 5px #f3f3f3 inset;
      -moz-box-shadow: 0 0 5px #f3f3f3 inset;
      box-shadow: 0 0 5px #f3f3f3 inset;
}

@font-face {
    font-family: 'bb-editor-font';
    src: url(data:application/x-font-ttf;charset=utf-8;base64, ) format('truetype'),
         url(data:application/font-woff;charset=utf-8;base64, ) format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="bb-btn"], [class*=" bb-btn"] {
    font-family: 'bb-editor-font';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 12px;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.bb-sel { float: left; padding: 2px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { display: inline-block; float: left; width: 1px; padding: 2px; }
.bb-btn { cursor: pointer;  outline: 0; }

#b_font select { padding: 0px;}
#b_size select { padding: 0px;}

#b_b:before { content: "\f032";}
#b_i:before { content: "\f033";}
#b_u:before { content: "\f0cd";}
#b_s:before { content: "\f0cc";}
#b_img:before { content: "\f03e"; }
#b_up:before { content: "\e930"; }
#b_emo:before { content: "\f118"; }
#b_url:before { content: "\f0c1"; }
#b_leech:before { content: "\e98d"; }
#b_mail:before { content: "\f003"; }
#b_video:before { content: "\e913"; }
#b_audio:before { content: "\e911"; }
#b_hide:before { content: "\e9d1"; }
#b_quote:before { content: "\e977"; }
#b_code:before { content: "\f121"; }
#b_left:before { content: "\f036"; }
#b_center:before { content: "\f037"; }
#b_right:before { content: "\f038"; }
#b_color:before { content: "\e601"; }
#b_spoiler:before { content: "\e600"; }
#b_fla:before { content: "\ea8d"; }
#b_yt:before { content: "\f166"; }
#b_tf:before { content: "\ea61"; }
#b_list:before { content: "\f0ca"; }
#b_ol:before { content: "\f0cb"; }
#b_tnl:before { content: "\ea61"; }
#b_br:before { content: "\ea68"; }
#b_pl:before { content: "\ea72"; }
#b_size:before { content: "\f034"; }
#b_font:before { content: "\f031"; }
#b_header:before { content: "\f1dc"; }
#b_sub:before { content: "\f12c"; }
#b_sup:before { content: "\f12b"; }
#b_justify:before { content: "\f039"; }

.bb-pane h1 {
    font-size:36px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h2 {
    font-size:30px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h3 {
    font-size:24px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h4 {
    font-size:18px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h5 {
    font-size:14px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h6 {
    font-size:12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bb-pane-dropdown {
    position:absolute;
    top:100%;
    left:0;
    z-index:1000;
    display:none;
    float:left;
    min-width:180px;
    padding:5px 0;
    margin:2px 0 0;
    list-style:none;
    font-size:11px;
    border:1px solid rgba(0, 0, 0, 0.15);
    border-radius:4px;
  background: white;
  -webkit-box-shadow: 0 1px 2px #dadada;
  -moz-box-shadow: 0 1px 2px #dadada;
  box-shadow: 0 1px 2px #dadada;
}

 .bb-pane-dropdown > li > a {
    display:block;
    padding:3px 10px;
    clear:both;
    font-weight:normal;
    line-height:1.42857;
    color:#333333;
    white-space:nowrap;
}
.bb-pane-dropdown > li > a:hover, .bb-pane-dropdown > li > a:focus {
    text-decoration:none;
    color:#262626;
    background-color:whitesmoke;
}

.bb-pane-dropdown .color-palette div .color-btn {
    width: 17px;
    height: 17px;
    padding: 0;
    margin: 0;
    border: 1px solid #fff;
  cursor: pointer;
}
.bb-pane-dropdown .color-palette{
    padding: 0px 5px;
}

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #d7d7d7; width: 100%; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin-top: -1px;
}
.editorcomm .bb-editor { width: 565px;}
.editorcomm .bb-editor textarea { height: 200px; }

.clr {
    clear: both;
}

/*---Поля быстрого редактирования публикаций на сайте---*/
.quick-edit-text {
    padding: .4em;
  width: 350px;
}

.quick-edit-textarea {
  height: 250px;
  box-sizing: border-box;
    padding: 2px;
  border: 1px solid #d7d7d7;
  width: 100%;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}


/*---Смайлы---*/

.emoji {
    border: none;
    vertical-align: middle;
    width: 22px;
    height: 22px;
}

/* --- Сортировка статей --- */
.sort { list-style: none; padding: 0; margin: 0; }
  .sort > li, .sort { display: inline; }
  .sort > li { margin: 0 0 0 3%; }
  .sort > li a { color: #353535; }
  .sort > li.asc a, .sort > li.desc a { color: #3394e6; }
  .sort > li.asc a:after, .sort > li.desc a:after {
    content: "";
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAsBAMAAACj90TiAAAAG1BMVEUAAAAzlOYzlOYzlOYzlOYzlOYzlOYzlOYzlOar6gzlAAAACHRSTlMAjesv90eHRuQt1XUAAABSSURBVBjTzdCxDQAhDENRSyzAEFdQ0zDB9axEgzw2DokEI1A9/S4OyAxADEcpPGlpFKWoSpEKp0Dlb6SvG2jY4Fka4tw4PqbEsDNTcb8gn/d4LPQHQDdjhblbAAAAAElFTkSuQmCC);
    display: inline-block;
    vertical-align: middle;
    margin: -1px 0 0 .4em;
    width: 6px; height: 11px;
    -webkit-background-size: 6px auto; background-size: 6px auto;
}
.sort > li.asc a:after { background-position: 0 -11px; }

/*---Дополнительные поля---*/
.xfieldsrow {
  padding-top:5px;
  clear: both;
}
.xfieldscolleft {
  float: left;
  width: 30%;
}
.xfieldscolright {
  float: left;
  width: 70%;
}
.file-box {
  width: 95%;
  max-width: 437px;
  border:1px solid #B3B3B3;
  -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
  background-color: #F5F5F5;
  padding: 10px;
  margin-top: 10px;
}

.qq-uploader { position:relative; width: 100%;}

.qq-upload-button {
  display:inline-block;
  padding:4px 10px 4px 10px;
  margin-top:5px;
  font: bold 11px/1.5em Verdana;color:#000000;
  border:1px solid #CACACA;
  cursor:pointer;
}
.qq-upload-drop-area {
  position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
  max-width: 437px;
  background:#FF9797; text-align:center; 
}
.qq-upload-drop-area span {
    display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}

.qq-upload-drop-area-active {background:#FF7171;}
.uploadedfile {
    width: 115px;
    height: 130px;
    margin: 10px 5px 5px 5px;
    border:1px solid #B3B3B3;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    background:#ffffff;

}

.uploadedfile .uploadimage {
    margin-top: 5px;
    width: 115px;
    height: 90px;
    display: table-cell;
    text-align: center;
    vertical-align:middle;
}

.uploadedfile .info {
    text-align: left;
    white-space: nowrap;
    margin: 0px 5px 0px 5px;
    overflow: hidden;
}

.progress {
    overflow:hidden;
    margin-top:10px;
  margin-bottom:10px;
    background-color:whitesmoke;
    height:10px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    background:#eee;
    -webkit-box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
 .progress .progress-bar {
    float:left;
    width:0%;
    font-size:12px;
    line-height:20px;
    color:white;
    text-align:center;
    background-color:#428bca;
    -webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition:width 0.6s ease;
    transition:width 0.6s ease;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    -webkit-box-shadow:none;
    box-shadow:none;
    height:8px;
}
.progress-bar span{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    border:0;
}
.progress-blue {
    background-image:-webkit-gradient(linear, left 0%, left 100%, from(#9bcff5), to(#6db9f0));
    background-image:-webkit-linear-gradient(top, #9bcff5, 0%, #6db9f0, 100%);
    background-image:-moz-linear-gradient(top, #9bcff5 0%, #6db9f0 100%);
    background-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);
    background-repeat:repeat-x;
    border:1px solid #55aeee;
}
      

/*---Выделение текста и всплывающее окно (поделиться ссылкой)---*/
#marker-bar,
#txtselect_marker {
	display: block;
	visibility: hidden;
    position: absolute;
    z-index: 1200;
    opacity: 0;
    -webkit-transition: opacity .4s, visibility .1s linear .4s;
    -moz-transition: opacity .4s, visibility .1s linear .4s;
    -o-transition: opacity .4s, visibility .1s linear .4s;
    transition: opacity .4s, visibility .1s linear .4s;
}
#txtselect_marker {
    cursor: pointer;
    background:url(../dleimages/marker.png) -0px -0px no-repeat;
}

#txtselect_marker:hover {
        background-position: -0px -32px;
}

#marker-bar{
    border: 1px solid #ccc;
    border-radius: 15px;
    background: #fff;
    padding: 5px 10px;
    cursor: default;
    box-shadow: 0px 0px 4px #ccc;
}

#marker-bar.show {
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
	visibility: visible;
}

#txtselect_marker.show {
        /* XXX make a common css fadeIn/fadeOut classes */
	visibility: visible;
	width: 32px;
	height: 32px;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
}

#marker-bar .masha-social,
#marker-bar .masha-marker{
	cursor: pointer;
	display: block;
	margin: 0 5px;
	float: left;
}

#marker-bar .masha-marker{
	line-height: 1em;
	color: #aaa;
	border-bottom: 1px dotted #aaa;
	margin-right: 10px;
}

#marker-bar .masha-marker:hover {
	color: #ea3e26;
	border-color: #ea3e26;
}

.user_selection, .user_selection_true {
	background: #c4f47d;
	padding: 2px 0;
}
.user_selection a.txtsel_close, .user_selection_true a.txtsel_close {
	display:none;
}
.user_selection .closewrap, .user_selection_true .closewrap {
	position: relative;
}
.user_selection.hover a.txtsel_close, .user_selection_true.hover a.txtsel_close {
	display: inline-block;
	position: absolute;
	top: -7px;
	left: -5px;
	width: 33px;
	height: 33px;
	background: url(../dleimages/closemarker.png) -0px -0px no-repeat;
}

.user_selection.hover a.txtsel_close:hover, .user_selection_true.hover a.txtsel_close:hover {
	background-position: -0px -33px;
}


#share-popup {
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	position: absolute;
	width: 414px;
	display:none;
	z-index: 100;
	padding: 10px 0;
	opacity: 0;
	-webkit-transition: opacity .4s, visibility .1s linear .4s;
	-moz-transition: opacity .4s, visibility .1s linear .4s;
	-o-transition: opacity .4s, visibility .1s linear .4s;
	transition: opacity .4s, visibility .1s linear .4s;
}

#share-popup.show {
	display:block;
	opacity: 1;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
}

#share-popup .social {
	padding: 0 0 10px 17px;
	height: 40px;
}

#share-popup .social p {
	padding-bottom: 10px;
	margin: 0;
	font-weight: bold;
}

#share-popup .social ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#share-popup .social ul li {
	float: left;
	margin-right: 20px;
	padding-top: 2px;
	position: relative;
}

#share-popup .social ul a {
	text-decoration: none;
	font-size: 11px;
	display: inline-block;
	color: #aaa;
	padding-left: 25px;
}

#share-popup .social ul a:hover {
	text-decoration: underline;
	color: #ea3e26;
}

#share-popup .social a span{
	cursor: pointer;
	width: 20px;
	height: 20px;
	background: url(../dleimages/social-icons.png) 20px 20px no-repeat;
	position: absolute;
	left: 0;
	top: 0;
}

#share-popup .social .tw span{
	background-position: 0 -20px;
}

#share-popup .social .tw:hover span{
	background-position: 0 0;
}

#share-popup .social .fb span{
	background-position: -20px -20px;
}

#share-popup .social .fb:hover span {
	background-position: -20px 0;
}

#share-popup .social .vk span{
	background-position: -40px -20px;
}

#share-popup .social .vk:hover span {
	background-position: -40px 0;
}

#share-popup .social .gp span{
	background-position: -60px -20px;
}

#share-popup .social .gp:hover span {
	background-position: -60px 0;
}

#share-popup .link {
	clear: both;
	border-top: 1px solid #d9d9d9;
	padding: 10px 5px 0 10px;
	line-height: 1.2;
	overflow: hidden;
	margin: 0 7px;
}

#share-popup .link p {
	font-weight: bold;
	padding: 0 0 3px 0;
	margin: 0;
}

#share-popup .link span {
	color: #999;
	font-size: 10px;
	display: block;
	padding-top: 3px;
}

#share-popup .link a {
	display: block;
}

.full-news-content img{padding:10px}
.news-video-container {margin:10px}

/*---Найденные похожие новости при добавлении новостей на сайте---*/
.findrelated {
	width:99%;
	background: #ffc;border:1px solid #9E9E9E;
	padding: 5px;margin-top: 7px;
	margin-right: 10px;
}

/*---Показ древовидных комментариев---*/
.comments-tree-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-tree-list .comments-tree-list {
  padding-left: 30px;
}

.comments-tree-item {
  display: block;
  margin: 0;
  padding: 0;
}

/*---Форма быстрого ответа на комментарий---*/

#dlefastreplycomments {
  padding:5px;
  background: #e4ecf0;
  margin: 5px 5px 5px 30px;
}

.commentsreplyname {
 padding: 2px; border: 1px solid #bcc0c2;
 width: 200px;
 background: #fff url("../images/fields.png") repeat-x;
}

/*---Вывод результатов голосования на сайте---*/
.pollallvotes {
  text-align: center;
  margin-top: 10px;
}