/* Aleksey Skubaev

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

body {
	padding: 0;
	margin: 0;
	background: #fafafa;
	text-align: center;
	font: 12px Arial;
	color: #373737;
}

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


img {
	border: none;
}

.relative {
	position: relative;
}

.head-block {
	background: url(../images/head-block.jpg) left top repeat-x;
	height: 129px;
	border-bottom: 2px #fff solid;
}

	.main-center-block {
		width: 1000px;
		margin: 0 auto;
		text-align: left;
	}
	
		.logo {
			background: url(../images/logo.png) left top no-repeat;
			display: block;
			width: 206px;
			height: 67px;
			left: 0;
			top: 60px;
			position: absolute;
		}
		
		.top-menu {
			padding: 74px 0 0 302px;
			margin: 0;
			font-family: 'PT Sans', sans-serif;
			font-size: 15px;
		}
		
		.head-block2 {
			background: url(../images/head-block.jpg) left bottom repeat-x;
			height: auto !important;
			min-height: 80px !important;
		}
		
			.head-block2 .main-center-block {
				padding: 20px;
			}
		
			.head-block2 .logo {
				left: 20px;
				top: 20px;
			}
			
			.head-block2 .top-menu {
				padding: 5px 0 0 220px;
			}
		
			.top-menu li {
				padding: 0;
				margin: 0;
				list-style-type: none;
				float: left;
				margin: 0 5px 0 0;
				position: relative;
			}
			
				.top-menu-link {
					float: left;
					padding: 19px 15px 19px 15px;
					color: #2d2d2d;
					text-decoration: none;
				}
				
					.top-menu-link:hover {
						background: #96d3d4;
					}
					
				.podmenupresent .top-menu-link {
					background: url(../images/podmenupresent.png) right -97px no-repeat;
					padding-right: 28px;
				}
				
				.podmenupresent .top-menu-link:hover {
					background: #96d3d4 url(../images/podmenupresent.png) right 25px no-repeat;
				}
				
				.menuactive .top-menu-link {
					background: #96d3d4 url(../images/podmenupresent.png) right 25px no-repeat !important;
				}
					
				.hidden-menu {
					display: none;
					position: absolute;
					background: #e4e4e4;
					width: 211px;
					top: 57px;
					left: 0;
					z-index: 99999;
				}
				
					.hidden-menu a {
						padding: 10px 19px 10px 45px;
						border-bottom: 1px #e4e4e4 solid;
						display: block;
						position: relative;
						font-size: 14px;
						color: #414141;
						text-decoration: none;
					}
					
						.hidden-menu a span {
							position: absolute;
							left: 19px;
							top: 10px;
							display: block;
							color: #127274;
						}
						
						.hidden-menu a:hover {
							background: #96d3d4;
							border-bottom: 1px #63a9aa solid;
						}
						
.slider-block {
	position: relative;
	font-size: 12px;
}

	.slider {
		overflow: hidden;
		width: 100%;
	}	
	
		.slider-item {
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			text-align: center;
			display: none;
			overflow: hidden;
			height: 100%;
		}
		
			.slider-item img {
				width: 100%;
			}
		
			.slider-item-content {
				width: 90%;
				position: absolute;
				margin: 0 auto;
				text-align: left;
				height: 100%;
			}
			
				.slider-item-content h3 {
					position: absolute;
					z-index: 9999;
					font-size: 4em;
					color: #fff;
					opacity: 0;
					background: url(../images/h3.png);
					padding: 5px 15px;
					font-weight: normal;
				}
				
				.slider-text {
					position: absolute;
					font-size: 14px;
					line-height: 19px;
					width: 530px;
					opacity: 0;
				}
				
		.next {
			background: url(../images/slider-controls.png) right top no-repeat;
			width: 66px;
			height: 68px;
			cursor: pointer;
			position: absolute;
			right: 1%;
			z-index: 99999;
			opacity: 0.3;
			margin: -34px 0 0 0;
			top: 50%;
		}
		
			.next:hover {
				opacity: 1;
			}
			
		.prev {
			background: url(../images/slider-controls.png) left top no-repeat;
			width: 66px;
			height: 68px;
			cursor: pointer;
			position: absolute;
			left: 1%;
			z-index: 99999;
			opacity: 0.3;
			margin: -34px 0 0 0;
			top: 50%;
		}
		
			.prev:hover {
				opacity: 1;
			}
			
.more-link {
	color: #96d3d4;
	font-size: 16px;
	display: inline-block;
	background: #fff;
	color: #000;
	opacity: 0.5;
	padding: 5px 10px;
	margin: 5px 0 0 0;
}

	.more-link:hover {
		opacity: 1;
	}
	
.fixw {
	clear:both;
	width: 80%;
	margin: 0 auto;
}

.nblock {
	display: none;
}

@media only screen and (max-width:700px){

   .slider-item-content {
	display: none;
   }

}
			
.hello-line {
	clear: both;
	background: #f5f5f7;
	border-bottom: 1px #e0e0e0 solid;
	border-top: 2px #fff solid;
	padding: 27px 0 30px 0;
}

	.hello-block {
		float: left;
		background: url(../images/hello-block.png) left 25px no-repeat;
		padding: 23px 0 0 70px;
		width: 552px;
		margin: 0 59px 0 0;
	}
	
		.hello-block-title {
			font-size: 24px;
			font-family: 'PT Sans', sans-serif;
			color: #44bbbd;
			line-height: 24px;
			padding: 0 0 23px 0;
		}
		
		.hello-block-content {
			font-size: 14px;
			line-height: 23px;
			color: #414141;
			font-family: 'PT Sans', sans-serif;
			margin: 0 0 15px 0;
		}
		
			.hello-block-content a {
				color: #44bbbd;
			}
			
				.hello-block-content a:hover {
					color: #000;
				}
				
		.hello-more {
			background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f5f5f5));
			background:-moz-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
			background:-webkit-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
			background:-o-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
			background:-ms-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
			background:linear-gradient(to bottom, #ffffff 5%, #f5f5f5 100%);
			filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0);			
			background-color:#ffffff;		
			-moz-border-radius:15px;
			-webkit-border-radius:15px;
			border-radius:15px;		
			border:1px solid #d5d5d5;	
			display:inline-block;
			padding: 7px 23px;
			color: #414141;
			text-decoration: none;
		}
		
			.hello-more:hover {
				background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f5f5f5), color-stop(1, #ffffff));
				background:-moz-linear-gradient(top, #f5f5f5 5%, #ffffff 100%);
				background:-webkit-linear-gradient(top, #f5f5f5 5%, #ffffff 100%);
				background:-o-linear-gradient(top, #f5f5f5 5%, #ffffff 100%);
				background:-ms-linear-gradient(top, #f5f5f5 5%, #ffffff 100%);
				background:linear-gradient(to bottom, #f5f5f5 5%, #ffffff 100%);
				filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#ffffff',GradientType=0);			
				background-color:#f5f5f5;
				color: #000;
			}
				
.login-block {
	float: left;
	width: 246px;
	background: #ededed;
	padding: 20px 32px 22px 32px;
	-moz-box-shadow:inset 0px 0px 5px -1px #ccc;
    -webkit-box-shadow:inset 0px 0px 5px -1px #ccc;
    box-shadow:inset 0px 0px 5px -1px #ccc;
	-moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
	font-family: 'PT Sans', sans-serif;
}

	.login-block-title {
		background: url(../images/login-block.png) left 4px no-repeat;
		padding: 0 0 27px 46px;
		color: #2d2d2e;
		font-size: 24px;
	}
	
	.login-text {
		color: #login-text;
		font-size: 14px;
		padding: 0 0 5px 10px;
	}
	
	.login-input-text {
		-moz-border-radius:15px;
		-webkit-border-radius:15px;
		border-radius:15px;
		background: #fff;
		border: 1px #e0e0e0 solid;
		padding: 7px 15px;
		width: 190px;
		margin: 0 0 10px 5px;
	}
	
	 .enter {
        -moz-box-shadow:inset 0px 1px 0px 0px #ffe0b5;
        -webkit-box-shadow:inset 0px 1px 0px 0px #ffe0b5;
        box-shadow:inset 0px 1px 0px 0px #ffe0b5;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fbb450), color-stop(1, #f89306));
        background:-moz-linear-gradient(top, #fbb450 5%, #f89306 100%);
        background:-webkit-linear-gradient(top, #fbb450 5%, #f89306 100%);
        background:-o-linear-gradient(top, #fbb450 5%, #f89306 100%);
        background:-ms-linear-gradient(top, #fbb450 5%, #f89306 100%);
        background:linear-gradient(to bottom, #fbb450 5%, #f89306 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89306',GradientType=0);
        background-color:#fbb450;
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        border-radius:8px;
        border:1px solid #c97e1c;
        display:inline-block;
        color:#333;
        font-size:13px;
        padding:6px 15px;
        text-decoration:none;
        text-shadow:0px 1px 0px #8f7f24;
        cursor: pointer;
		margin: 0 30px 0 10px;
		float: left;
    }
	
		.enter:hover {
			background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f89306), color-stop(1, #fbb450));
			background:-moz-linear-gradient(top, #f89306 5%, #fbb450 100%);
			background:-webkit-linear-gradient(top, #f89306 5%, #fbb450 100%);
			background:-o-linear-gradient(top, #f89306 5%, #fbb450 100%);
			background:-ms-linear-gradient(top, #f89306 5%, #fbb450 100%);
			background:linear-gradient(to bottom, #f89306 5%, #fbb450 100%);
			filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f89306', endColorstr='#fbb450',GradientType=0);
			background-color:#f89306;
		}
		
		.enter:active {
			position:relative;
			top:1px;
		}
		
		.reg-link {
			float: left;
			width: 100px;
		}
		
			.reg-link a {
				color: #414141;
				text-decoration: none;
			}
			
				.reg-link a:hover {
					color: #000;
				}
				
	.login-ava {
		float: left;
		width: 124px;
		height: 119px;
		overflow: hidden;
		margin: 0 20px 0 0;
	}
	
		.login-ava img {
			width: 124px;
		}
		
	.l-link {
		float: left;
		width: 101px;
		padding: 15px 0 0 0;
	}
	
		.l-link a {
			color: #414141;
			text-decoration: none;
			display: block;
			padding: 0 0 5px 0;
			font-size: 18px;
		}
		
			.l-link a:hover {
				color: #000;
				text-decoration: underline;
			}
			
.best-line {
	font-family: 'PT Sans', sans-serif;
	padding: 45px 0 75px 0;
}

	.best-line-title {
		font-size: 30px;
		color: #000;
		text-align: center;
		padding: 0 0 24px 0;
	}
	
	.best-line-title2 {
		color: #929292;
		font-size: 18px;
		padding: 0 0 28px 0;
		border-bottom: 1px #eeeeee solid;
		text-align: center;
		margin: 0 0 50px 0;
	}
	
		.best-line-title2 a {
			color: #6ac6c8;
			text-decoration: none;
		}
		
			.best-line-title2 a:hover {
				color: #000;
				text-decoration: underline;
			}
			
	.best-block {
		float: left;
		width: 214px;
		position: relative;
		padding: 0 0 25px 62px;
		font-family: 'PT Sans', sans-serif;
		background: url(../images/best-block.png) left bottom repeat-x;
		margin: 0 0 0 85px;
		min-height: 111px;
	}
	
		.best-block img {
			position: absolute;
			left: 0;
			top: 0;
		}
	
		.best-block-title {
			font-size: 19px;
			color: #5ea500;
			padding: 0 0 15px 0;
		}
		
		.best-block-content {
			color: #353535;
			font-size: 13px;
			line-height: 18px;
		}
		
			.best-block-content a {
				
			}
			
				.best-block-content a:hover {
					
				}
				
.news-block {
	background: #f5fafc;
	border-top: 1px #bfd9d9 solid;
	border-bottom: 1px #bfd9d9 solid;
	padding: 43px 0;
}

	.news-block-title {
		font-size: 32px;
		font-family: 'Ubuntu Condensed', sans-serif;
		position: absolute;
		left: 0;
		top: -75px;
		color: #bfd9d9;
	}
	
	.news-block-content {
		float: left;
		width: 576px;
		margin: 0 95px 0 0;
	}
	
		.news-block-item {
			padding: 0 0 25px 0;
			margin: 0 0 25px 0;
		}
		
		.news-block-item:first-child {
			background: url(../images/news-block.jpg) left bottom repeat-x;
		}
		
			.news-block-item-title {
				font-size: 24px;
				color: #305a5f;
				font-family: 'Ubuntu Condensed', sans-serif;
				padding: 0 0 7px 0;
			}
			
				.news-block-item-title a {
					color: #305a5f;
					text-decoration: none;
				}
				
					.news-block-item-title a:hover {
						color: #000;
					}
					
			.news-block-item-date {
				font-size: 14px;
				color: #bac3c5;
				font-family: 'Ubuntu Condensed', sans-serif;
				font-style: italic;
				padding: 0 0 10px 0;
			}
			
				.news-block-item-date span {
					color: #56d2cb;
					text-decoration: none;
				}
					
			.news-block-item-content {
				line-height: 19px;
				font-size: 12px;
				color: #3a3a3a;
				font-family: Arial;
			}
			
				.news-block-item-content a {
					color: #305a5f;
					font-style: italic;
					text-decoration: none;
					margin-left: 5px;
					font-family: 'Ubuntu Condensed', sans-serif;
					font-size: 13px;
				}
				
					.news-block-item-content a:hover {
						color: #000;
					}
					
	.news-block-banner {
		float: left;
		width: 300px;
	}
	
	.right-col .news-block-banner {
		float: none;
	}
	
		.news-block-banner img {
			max-width: 300px;
		}
		
.last-updates {
	padding: 60px 0;
	font-family: 'PT Sans', sans-serif;
}

	.last-updates-title {
		padding: 0 0 7px 0;
		text-align: center;
		color: #000;
		font-size: 30px;
	}
	
	.last-updates-title2 {
		text-align: center;
		padding: 0 0 35px 0;
		font-size: 16px;
		color: #1d1d1d;
	}
	
	.last-updates-title3 {
		text-align: center;
		padding: 0 0 35px 0;
		border-bottom: 1px #eeeeee solid;
		margin: 0 0 12px 0;
		font-size: 14px;
		line-height: 24px;
		color: #686868;
	}
	
	.last-updates-item {
		float: left;
		width: 217px;
		margin: 0 0 0 44px;
		text-align: center;
	}
	
	.last-updates-item:first-child {
		margin-left: 0;
	}
	
		.last-updates-image {
			width: 217px;
			height: 148px;
			overflow: hidden;
			margin: 0 0 12px 0;
		}
		
			.last-updates-image img {
				width: 217px;
				min-height: 148px;
			}
			
		.last-updates-item-title {
			line-height: 23px;
			font-size: 18px;
			color: #000;
			height: 46px;
			overflow: hidden;
			margin: 0 0 12px 0;
		}
		
			.last-updates-item-title a {
				color: #000;
				text-decoration: none;
			}
			
				.last-updates-item-title a:hover {
					color: #6ac6c8;
				}
				
		.last-updates-item-content {
			font-size: 13px;
			line-height: 16px;
			height: 47px;
			overflow: hidden;
			color: #818181;
		}
		
			.last-updates-item-content a {
				color: #000;
			}
			
				.last-updates-item-content a:hover {
					color: #6ac6c8;
				}
				
		.last-updates-more {
			background: url(../images/last-updates-more.png) center bottom no-repeat;
			height: 57px;
			padding: 15px 0 0 0;
		}
		
			.last-updates-more a {
				font-size: 13px;
				text-decoration: underline;
				color: #6ac6c8;
			}
			
				.last-updates-more a:hover {
					color: #000;
				}
				
.footer-block {
	background: #e9e9e9 url(../images/footer.jpg) left top repeat-x;
	padding: 21px 0 40px 0;
	border-top: 1px #d0d0d0 solid;
	border-bottom: 1px #bfbfbf solid;
	font-family: 'PT Sans', sans-serif;
}

	.footer-left {
		float: left;
		background: url(../images/footer-left.png) right center no-repeat;
		width: 275px;
		margin: 0 75px 0 0;
	}
	
		.footer-title {
			font-size: 18px;
			font-weight: bold;
			color: #000;
			padding: 0 0 30px 0;
		}
		
		.footer-left-adress {
			position: relative;
			padding: 0 0 0 63px;
			min-height: 58px;
			font-size: 12px;
			line-height: 18px;
			color: #585858;
			font-family: Arial;
			margin: 0 0 45px 0;
		}
		
			.footer-left-adress img {
				position: absolute;
				left: 0;
				top: 0;
			}
			
		.logo2 {
			background: url(../images/logo.png) left top no-repeat;
			display: block;
			width: 206px;
			height: 67px;
		}
		
	.footer-center {
		float: left;
		background: url(../images/footer-left.png) right center no-repeat;
		width: 280px;
		color: #585858;
		font-size: 12px;
		font-family: Arial;
		margin: 0 25px 0 0;
	}
	
		.social1, .social2, .social3, .social4, .social5, .social6 {
			width: 52px;
			height: 51px;
			float: left;
			margin: 0 23px 23px 0;
			opacity: 0.7;
		}
		
		.social1:hover, .social2:hover, .social3:hover, .social4:hover, .social5:hover, .social6:hover {
			opacity: 1;
		}
		
		.social1 {
			background: url(../images/social1.png) left top no-repeat;
		}
		.social2 {
			background: url(../images/social2.png) left top no-repeat;
		}
		.social3 {
			background: url(../images/social3.png) left top no-repeat;
		}
		.social4 {
			background: url(../images/social4.png) left top no-repeat;
		}
		.social5 {
			background: url(../images/social5.png) left top no-repeat;
		}
		.social6 {
			background: url(../images/social6.png) left top no-repeat;
		}
		
	.footer-right {
		width: 295px;
		float: left;
		margin: 0 0 0 50px;
	}
	
		.search-block {
			position: relative;
			height: 32px;
			margin: 0 0 30px 0;
		}
		
			.form-text {
				-moz-box-shadow:inset 0px 0px 5px 1px #cccccc;
				-webkit-box-shadow:inset 0px 0px 5px 1px #cccccc;
				box-shadow:inset 0px 0px 5px 1px #cccccc;
				-moz-border-radius:5px;
				-webkit-border-radius:5px;
				border-radius:5px;
				background: #fff;
				border: 0;
				height: 32px;
				line-height: 32px;
				padding: 0 35px 0 20px;
				width: 235px;
				color: #777;
			}
			
			.form-search {
				position: absolute;
				left: 260px;
				top: 5px;
				width: 17px;
				height: 20px;
				margin: 0;
				border: 0;
			}
			
		.footer-menu {
			padding: 0 110px 0 3px;
			font-size: 15px;
			line-height: 27px;
			position: relative;
		}
		
			.footer-menu a {
				display: block;
				color: #636466;
			}
			
				.footer-menu a:hover {
					color: #000;
				}
				
			.footer-up {
				background: url(../images/up.png) left top no-repeat;
				width: 85px;
				height: 85px;
				position: absolute;
				right: 0;
				bottom: 0;
				cursor: pointer;
				opacity: 0.7;
			}
			
				.footer-up:hover {
					opacity: 1;
				}
				
.footer-line {
	border-top: 1px #fff solid;
	background: #e7e7e7 url(../images/footer-line.jpg) left top repeat-x;
	min-height: 65px;
	position: relative;
	font-family: Aria;
	font-size: 12px;
	color: #7e7e7e;
}

	.copyright {
		padding: 25px 312px 0 0;
		position: relative;
	}
	
		.copyright a {
			color: #000;
			text-decoration: none;
		}
		
			.copyright a:hover {
				text-decoration: underline;
			}
			
		.counts {
			position: absolute;
			right: 0px;
			top: 16px;
		}
		
			.counts img {
				float: right;
				margin: 0 0 0 5px;
			}
			
.left-col {
	float: left;
	width: 643px;
	border-right: 1px #e6e6e6 solid;
	margin: 0 23px 0 0;
	padding: 0 23px 0 0;
}

	.speedbar {
		font-size: 12px;
		color: #7e7e7e;
		font-style: italic;
		padding: 0 0 20px 0;
	}
	
		.speedbar a {
			color: #7e7e7e;
		}
		
			.speedbar a:hover {
				color: #000;
			}

	.full-news {
		
	}
	
		.full-news h1 {
			line-height: 46px;
			font-size: 36px;
			color: #000;
			font-family: 'PT Sans', sans-serif;
			font-weight: normal;
			padding: 0 0 37px 0;
			margin: 0;
		}
		
		.full-news-content {
			line-height: 21px;
			font-size: 14px;
			color: #7e7e7e;
			font-family: 'PT Sans', sans-serif;
			padding: 0 0 20px 0;
			margin: 0 0 20px 0;
			border-bottom: 1px #e6e6e6 solid;
		}
		
			.full-news-content img {
				max-width: 643px;
				margin: 0 0 20px 0;
			}
			
			.full-news-content a {
				color: #96d3d4;
			}
			
				.full-news-content a:hover {
					color: #000;
				}
			
		.related-block {
			padding: 0 0 20px 0;
			margin: 0 0 20px 0;
			border-bottom: 1px #e6e6e6 solid;
			clear: both;
		}
		
			.related-block .last-updates-item, .shortstory {
				width: 205px;
				margin-left: 14px;
			}
			.related-block .last-updates-image, .shortstory .last-updates-image {
				width: 205px;
				height: 130px;
			}
			.related-block .last-updates-image img, .shortstory .last-updates-image img {
				width: 205px;
				min-height: 130px;
			}
		
.right-col {
	float: left;
	width: 310px;
}

	.right-col .news-block-banner {
		padding: 0 0 45px 0;
	}
	
	.right-block {
		margin: 0 0 10px 0;
	}
	
		.right-block-title {
			font-size: 32px;
			font-family: 'Ubuntu Condensed', sans-serif;
			color: #96d3d4;
			padding: 0 0 10px 0;
			margin: 0 0 10px 0;
			border-bottom: 1px #e6e6e6 solid;
		}
		
		.right-block-content {
			
		}
		
			.right-block-content .news-block-item {
				background: none !important;
				border-bottom: 1px #e6e6e6 solid;
			}
			
			#allow_subscribe {
				padding: 3px !important;
			}
		
		.right-block-content .login-block {
			float: none;
			width: 246px;
			background: #ededed;
			padding: 20px 32px 22px 32px;
			-moz-box-shadow:inset 0px 0px 5px -1px #ccc;
			-webkit-box-shadow:inset 0px 0px 5px -1px #ccc;
			box-shadow:inset 0px 0px 5px -1px #ccc;
			-moz-border-radius:3px;
			-webkit-border-radius:3px;
			border-radius:3px;
			font-family: 'PT Sans', sans-serif;
		}


/* Фреймверк
Автор - Скубаев Алексей
Test-Templates.com
*/

/* Статика и стандартные элементы */

.ttmpl-static {
	
}

	.ttmpl-static-title, .ttmpl-static h1, .ttmpl-static h2 {
		line-height: 46px;
		font-size: 36px;
		color: #000;
		font-family: 'PT Sans', sans-serif;
		font-weight: normal;
		padding: 0 0 37px 0;
		margin: 0;
	}
	
	.ttmpl-static-content {
		color: #333;
		font-size: 12px;
		line-height: 16px;
	}
	
		.ttmpl-static-content a {
			color: #000;
		}
		
			.ttmpl-static-content a:hover {
				color: #ccc;
			}
			
		.ttmpl-static-content input, .bbcodes, .ttmpl-input-classic {
			background: -webkit-gradient(linear, left top, right top, from(#f6f6f6), to(#fbfbfb));
			background: -webkit-linear-gradient(top, #f6f6f6, #fbfbfb);
			background: -moz-linear-gradient(top, #f6f6f6, #fbfbfb);
			background: -o-linear-gradient(top, #f6f6f6, #fbfbfb);
			background: -ms-linear-gradient(top, #f6f6f6, #fbfbfb);
			background: linear-gradient(top, #f6f6f6, #fbfbfb);
			background-color: #f6f6f6;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			-o-border-radius: 3px;
			-ms-border-radius: 3px;
			border-radius: 3px;
			padding: 5px 10px 5px 10px;
			border: 1px #e3e3e3 solid;
			color: #333;
		}
				
			.ttmpl-static-content input:hover, .bbcodes:hover, .ttmpl-input-classic {
				background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9));
				background:-moz-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
				background:-webkit-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
				background:-o-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
				background:-ms-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
				background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
				filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9',GradientType=0);
				background-color:#e9e9e9;
			}
			
		.bbcodes {
			cursor: pointer;
		}
		
/* Регистрация */
.ttmpl-regstr-left {
	float: left;
	width: 300px;
}

	.ttmpl-regstr-clear {
		clear: both;
		border-bottom: 1px #ccc dotted;
		padding: 15px 0 0 0;
		margin: 0 0 15px 0;
	}

	.regcheck {
		background: url(../images/refresh.png) center center no-repeat !important;
		cursor: pointer;
	}
	
	#result-registration {
		font-size: 11px;
	}
	
	.ttmpl-regstr-block {
		padding: 0 0 15px 0;
	}
	
		.ttmpl-regstr-left-title {
			padding: 0 0 5px 0;
		}
		
	.ttmpl-regstr-block textarea {
		padding: 10px;
		width: 350px;
		background: #f4f4f4;
		border: 1px #e3e3e3 solid;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-o-border-radius: 3px;
		-ms-border-radius: 3px;
		border-radius: 3px;
		height: 150px;
	}
				
		.ttmpl-regstr-block textarea:hover {
			background: #fbf8ed;
		}
	
    .ttmpl-button-ok {
        -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
        -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9));
        background:-moz-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-webkit-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-o-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0);
        background-color:#f9f9f9;
        -moz-border-radius:6px;
        -webkit-border-radius:6px;
        border-radius:6px;
        border:1px solid #dcdcdc;
        display:inline-block;
        color:#666666;
        font-family:arial;
        font-size:15px;
        font-weight:bold;
        padding:6px 24px;
        text-decoration:none;
        text-shadow:0px 1px 0px #ffffff;
        cursor: pointer;
    }
	
    .ttmpl-button-ok:hover {
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9));
        background:-moz-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
        background:-webkit-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
        background:-o-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
        background:-ms-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
        background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9',GradientType=0);
        background-color:#e9e9e9;
    }
	
    .ttmpl-button-ok:active {
        position:relative;
        top:1px;
    }

	
/* Инфо */
.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;
	}
	
	
	
	
/* 
*****************************
Юзер инфа */
	
.ttmpl-tabs {
	padding: 30px 0 0 0;
}

	.ttmpl-tabs .index-tabs {
		width: 120px;
		float: left;
		padding: 15px 0 0 0;
	}
	
		.ttmpl-tabs .index-tabs span {
			display: block;
			background: #efefef;
			padding: 10px;
			color: #000;
			margin: 0 0 10px 0;
			cursor: pointer;
		}
	
	.ttmpl-tabs .index-panel {
		width: 460px;
		float: left;
		 -moz-box-shadow: 0px 0px 12px 2px #e2e2e2;
        -webkit-box-shadow: 0px 0px 12px 2px #e2e2e2;
        box-shadow: 0px 0px 12px 2px #e2e2e2;
		background: #fff;
		padding: 20px;
		border: 1px #d0d0d0 solid;
	}
	
		.ttmpl-tabs .index-panel .tt-panel {
			display: none;
			min-height: 300px;
		}
		
		.active-ttab {
			background: #d0d0d0 !important;
		}
		
		.ttmpl-tabs-menu {
			padding: 70px 0 0 0;
		}
		
			.ttmpl-tabs-menu a {
				background: url(../images/ttmpl-tabs-menu2.png) center top no-repeat;
				border-left: 1px #e9e9e9 solid;
				float: left;
				width: 95px;
				height: 60px;
				padding: 100px 25px 0 25px;
				color: #000;
				font-weight: bold;
				text-decoration: none;
				margin: 0 2px 0 2px;
				text-align: center;
			}
			
				.ttmpl-tabs-menu a:first-child {
					background: url(../images/ttmpl-tabs-menu.png) center top no-repeat !important;
					border: 0;
				}
				
				.ttmpl-tabs-menu a:nth-child(3) {
					background: url(../images/ttmpl-tabs-menu3.png) center top no-repeat !important;
				}
				
		.ttmpl-tabs-line {
			border-bottom: 1px #ccc dotted;
			padding: 10px 0 10px 0;
			margin: 0 0 10px 0;
			color: #888;
		}
		
			.ttmpl-tabs-line span {
				color: #000;
			}



	
/* Юзер-панель */


			
.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;
}

/* класс 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: #ccc;
	display: block;
	text-align: center;
}

	
    .attachment a {
        -moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
        -webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
        box-shadow:inset 0px 1px 0px 0px #a4e271;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809));
        background:-moz-linear-gradient(top, #89c403 5%, #77a809 100%);
        background:-webkit-linear-gradient(top, #89c403 5%, #77a809 100%);
        background:-o-linear-gradient(top, #89c403 5%, #77a809 100%);
        background:-ms-linear-gradient(top, #89c403 5%, #77a809 100%);
        background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809',GradientType=0);
        background-color:#89c403;
        -moz-border-radius:6px;
        -webkit-border-radius:6px;
        border-radius:6px;
        border:1px solid #74b807;
        display:block;
        color:#ffffff;
        font-family:arial;
        font-size:15px;
        font-weight:bold;
        padding:6px 24px;
        text-decoration:none;
        text-shadow:0px 1px 0px #528009;
		max-width: 300px;
		margin: 0 auto;
    }
    .attachment a:hover {
        
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403));
        background:-moz-linear-gradient(top, #77a809 5%, #89c403 100%);
        background:-webkit-linear-gradient(top, #77a809 5%, #89c403 100%);
        background:-o-linear-gradient(top, #77a809 5%, #89c403 100%);
        background:-ms-linear-gradient(top, #77a809 5%, #89c403 100%);
        background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403',GradientType=0);
        
        background-color:#77a809;
    }
    .attachment a:active {
        position:relative;
        top:1px;
    }
	
	.attachment span {
		display: none;
	}

	
/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии (*) */
.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  {
	color: #323232;
	font: 18px 'PT Sans', sans-serif;
	font-weight: normal;
	overflow: hidden;
	display: block;
	margin: 7px 0 12px 0;
	padding: 20px 0 20px 40px;
	border-bottom: 1px dashed #6c6c6c;
	background: url(../images/slider-title.png) 10px center no-repeat;
}

	.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;
		}
		


/* Полная новость */


.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;
	position: relative;
	padding: 5px 5px 5px 100px;
	min-height: 90px;
	border-bottom: 1px #ccc dotted;
}

	.comment-block-left {
		width: 80px;
		height: 80px;
		position: absolute;
		left: 5px;
		top: 5px;
		background: url(../images/bg-comment-left.png) 0 0 no-repeat;
	}
	
		.comment-block-left img {
			width: 80px;
			
		}
		
	
	.comment-block-right {
		position: relative;
		
	}
	
		.comment-block-right2 {
			
		}
		
		
			.comment-text {
				color: #6c6c6c;
				line-height: 17px;
				font-size: 11px;
			}
			
				.comment-text a {
					color: #000;
				}
				
					.comment-text a:hover {
						text-decoration: none;
					}
			
				.comment-text-title {
					margin: 0 0 5px 0;
					color: #b3b3b3;
				}
				
					.comment-text-title a {
						color: #e1454f;
						font-size: 12px;
						font-weight: normal;
					}
					
						.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;
	}
		
/* Добавление комментария */
		


/* Статистика */
.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;
}

/* Результаты поиска и форма поика на главной */
	#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;
	}

.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 {
	clear: both;
	padding: 20px 0 0 0;
}

	.navigation a {
		min-height: 20px;
		line-height: 20px;
		padding: 0 8px 0 8px;
		text-decoration: none;
		color: #6c6c6c;
		margin: 0 5px 0 0;
		font-size: 18px;
	}
	
		.navigation a:hover {
			color: #96d3d4;
		}
	
	.navigation span {
		height: 20px;
		line-height: 20px;
		padding: 0 8px 0 8px;
		text-decoration: none;
		color: #96d3d4;
		margin: 0 5px 0 0;
		font-size: 18px;
	}

.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:#96d3d4; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #96d3d4; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#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:#ffffff; }
#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, .ui-dialog {
	background: #fcfdfd 50% bottom repeat-x;
	border: 1px solid #b81c2c;
	color: #222222;
	text-align: left;
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
        -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
        box-shadow:inset 0px 1px 0px 0px #ffffff;
        
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9));
        background:-moz-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-webkit-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-o-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:-ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
        background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0);
        
        background-color:#f9f9f9;
        
        -moz-border-radius:25px;
        -webkit-border-radius:25px;
        border-radius:25px;
        
        border:1px solid #ccc;
		padding: 0px !important;
		-moz-box-shadow: 0px 1px 19px 0px #8a8a8a;
        -webkit-box-shadow: 0px 1px 19px 0px #8a8a8a;
        box-shadow: 0px 1px 19px 0px #8a8a8a;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: tahoma, Arial, sans-serif;
	font-size: 11px;
}
.ui-widget-content {
	
}
.ui-widget-content a {
	color: #222222;
}
.ui-widget-header {
	color: #000;
        
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f0f0f0), color-stop(1, #e4e4e4));
        background:-moz-linear-gradient(top, #f0f0f0 5%, #e4e4e4 100%);
        background:-webkit-linear-gradient(top, #f0f0f0 5%, #e4e4e4 100%);
        background:-o-linear-gradient(top, #f0f0f0 5%, #e4e4e4 100%);
        background:-ms-linear-gradient(top, #f0f0f0 5%, #e4e4e4 100%);
        background:linear-gradient(to bottom, #f0f0f0 5%, #e4e4e4 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#e4e4e4',GradientType=0);
        
        background-color:#f0f0f0;
        
        -moz-border-radius:25px 25px 0 0;
        -webkit-border-radius:25px 25px 0 0;
        border-radius:25px 25px 0 0;
        border: 0;
        border-bottom:1px solid #d6d6d6;
		padding: 10px 10px 10px 20px !important;
		font-family: 'Ubuntu Condensed', sans-serif;
		font-size: 20px;
		
}
.ui-widget-header a {
	color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #b81c2c;
	border: 1px solid #b81c2c;
	color: #fff;
	font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #fff;
	text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	/*background: #db0319;
	border: 1px solid #db0319;
	color: #fff;
	font-weight: bold;*/
}
.ui-state-hover a, .ui-state-hover a:hover {
	color: #fff;
	text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
	background: #db0319;
	border: 1px solid #db0319;
	color: #fff;
	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: url(../images/window_close.png) left top no-repeat !important;
	height: 24px;
	width: 24px;
}
.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: 24px;
	margin: -10px 0 0 -20px;
	padding: 1px;
	position: absolute;
	right: .9em;
	top: 50%;
	width: 24px;
}
.ui-dialog .ui-dialog-titlebar-close span {
	display: block;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
	
}
.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;
}

	.ui-dialog-buttonset button {
		-moz-box-shadow:inset 0px 1px 0px 0px #ffffff !important;
        -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff !important;
        box-shadow:inset 0px 1px 0px 0px #ffffff !important;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9)) !important;
        background:-moz-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%) !important;
        background:-webkit-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%) !important;
        background:-o-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%) !important;
        background:-ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%) !important;
        background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%) !important;
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0) !important;
        background-color:#f9f9f9 !important;
        -moz-border-radius:6px !important;
        -webkit-border-radius:6px !important;
        border-radius:6px !important;
        border:1px solid #dcdcdc !important;
        display:inline-block !important;
        color:#666666 !important;
        font-family:arial !important;
        font-size:12px !important;
        padding:5px 10px !important;
        text-decoration:none !important;
        text-shadow:0px 1px 0px #ffffff !important;
	}
	
		.ui-dialog-buttonset button:hover {
			background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9)) !important;
			background:-moz-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%) !important;
			background:-webkit-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%) !important;
			background:-o-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%) !important;
			background:-ms-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%) !important;
			background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%) !important;
			filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9',GradientType=0) !important;
			background-color:#e9e9e9 !important;
		}

	.ui-dialog-buttonset button span {
		margin: 0 !important;
		padding: 0 !important;
	}

/*  */


.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,[encoded data, 13304 characters]) format('truetype'),
         url(data:application/font-woff;charset=utf-8;base64,[encoded data, 13404 characters]) 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 {
    display: inline-block;
    width: 115px;
    height: 160px;
    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: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    cursor: -webkit-grabbing;
}

.sortable-ghost {
    opacity: 0.4;
}

.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;
}

nav select {
	display: none;
}

@media only screen and (max-width: 1000px) {
	
	.head-block {
		background: url(../images/head-block.jpg) left bottom repeat-x;
		height: auto;
		min-height: 80px;
	}

		.main-center-block {
			width:auto;
			margin: 0;
			padding: 20px;
		}
		
			.logo {
				left: 20px;
				top: 20px;
				float: left;
				position: static;
			}
			
			.top-menu {
				padding: 5px 0 0 220px;
			}
			
	.hello-block {
		float: none;
		width: auto;
		margin: 0 20px 50px 10px;
	}
	
	.best-block {
		width: 20%;
		margin: 0 0 0 30px;
	}
	
	.copyright {
		padding: 15px 0 0 0;
		position: relative;
	}
			
		.counts {
			position: relative;
			padding: 15px 0 0 0;
			left: auto;
			top: auto;
		}
		
			.counts img {
				float: left;
			}
			
	.news-block-title {
		left: 20px;
	}
	
	.news-block-content {
		float: none;
		width: auto;
		margin: 0 0 50px 0;
	}
	
	.last-updates-item {
		float: left;
		width: 40%;
		margin: 0 5% 50px 5% !important;
		text-align: center;
	}
	
		.last-updates-image {
			height: 148px;
			overflow: hidden;
			margin: 0 0 12px 0;
			width: 100%;
		}
		
			.last-updates-image img {
				width: 100%;
				min-height: 148px;
			}
			
	.footer-left {
		float: left;
		background: url(../images/footer-left.png) right center no-repeat;
		width: 40%;
		margin: 0 5% 0 5%;
	}
	
	.footer-center {
		float: left;
		background: none;
		width: 40%;
		color: #585858;
		font-size: 12px;
		font-family: Arial;
		margin: 0 5% 0 5%;
	}
	
	.footer-right {
		width: auto;
		float: none;
		margin: 0;
		padding: 50px 0 0 0;
		clear: both;
	}
	
	.main-center-block2 {
		padding: 60px 20px 20px 20px !important;
	}
	
	.left-col {
		float: none;
		width: auto;
		border: 0;
		margin: 0 0 30px 0;
	}
	
	.right-col {
		float: none;
		width: auto;
		margin: 0 0 30px 0;
		
	}
	
	.top-menu {
		display: none;
	}
			
	nav select {
		display: block;
		float: left;
		margin: 15px 0 0 50px;
		background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f5f5f5));
		background:-moz-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-webkit-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-o-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-ms-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:linear-gradient(to bottom, #ffffff 5%, #f5f5f5 100%);
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0);			
		background-color:#ffffff;			
		border:1px solid #d5d5d5;	
		display:inline-block;
		padding: 10px 23px;
		color: #414141;
		text-decoration: none;
		overflow: hidden;	
		width: auto;
	}
	
	.full-news-content img {
		max-width: 100%;
	}
	
			.related-block .last-updates-item {
				width: 29%;
				margin: 0 2% 50px 2% !important;
			}
		
		
		
}

@media only screen and (max-width: 740px) {

	.head-block {
		background: url(../images/head-block.jpg) left bottom repeat-x;
		height: auto;
		min-height: 80px;
	}

		.main-center-block {
			width:auto;
			margin: 0;
			padding: 20px;
		}
		
			.logo {
				float: left;
				position: static;
			}
			
	.top-menu {
		display: none;
	}
			
	nav select {
		display: block;
		float: left;
		margin: 15px 0 0 50px;
		background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f5f5f5));
		background:-moz-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-webkit-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-o-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:-ms-linear-gradient(top, #ffffff 5%, #f5f5f5 100%);
		background:linear-gradient(to bottom, #ffffff 5%, #f5f5f5 100%);
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0);			
		background-color:#ffffff;			
		border:1px solid #d5d5d5;	
		display:inline-block;
		padding: 10px 23px;
		color: #414141;
		text-decoration: none;
		overflow: hidden;	
		width: auto;
	}

			
	.hello-block {
		float: none;
		width: auto;
		margin: 0 20px 50px 10px;
	}
	
	.login-block {
		float: none;
		width: 246px;
		background: #ededed;
		padding: 20px 32px 22px 32px;
		-moz-box-shadow:inset 0px 0px 5px -1px #ccc;
		-webkit-box-shadow:inset 0px 0px 5px -1px #ccc;
		box-shadow:inset 0px 0px 5px -1px #ccc;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		border-radius:3px;
		font-family: 'PT Sans', sans-serif;
		margin: 0 auto;
	}
	
	.best-block {
		width: auto;
		margin: 0 0 30px 0 !important;
		float: none;
	}
	
	.copyright {
		padding: 15px 0 0 0;
		position: relative;
	}
			
		.counts {
			position: relative;
			padding: 15px 0 0 0;
			left: auto;
			top: auto;
		}
		
			.counts img {
				float: left;
			}
			
	.news-block-title {
		left: 20px;
	}
	
	.news-block-content {
		float: none;
		width: auto;
		margin: 0 0 50px 0;
	}
	
	.related-block {
		text-align: center;
	}
	
	.last-updates-item {
		float: none;
		width: 100% !important;
		margin: 0 auto 50px auto !important;
		text-align: center;
	}
	
		.last-updates-image {
			height: auto !important;
			overflow: hidden;
			margin: 0 0 12px 0;
			width: 100% !important;
		}
		
			.last-updates-image img {
				width: 100% !important;
				min-height: auto !important;
			}
			
	.footer-left {
		float: none;
		background: none;
		width: 80%;
		margin: 0 auto 20px auto;
	}
	
	.footer-center {
		float: none;
		background: none;
		width: 80%;
		color: #585858;
		font-size: 12px;
		font-family: Arial;
		margin: 0 auto 20px auto;
	}
	
	.footer-right {
		width: 80%;
		float: none;
		margin: 0 auto 20px auto;
		padding: 50px 0 0 0;
		clear: both;
	}

}

.searchtable .shortstory {
	margin: 0 !important;
}

.findrelated {
	width:99%;
	background: #ffc;border:1px solid #9E9E9E;
	padding: 5px;margin-top: 7px;
	margin-right: 10px;
}
.ratingzero {
  color: #6c838e;
}

.ratingtypeplusminus {
  padding: 0px 5px;
}

.ratingtypeplus {
  color: #6c838e;
  padding: 0px 0px 0px 5px;
}

.ratingplus {
  color: green;
}

.ratingminus {
  color: red;
}
.ratebox2 {
  float: right;
}

.ratebox3 {
  float: right;
}

.ratebox ul, .ratebox ul li {
  float: left;
}

.ratebox2 ul, .ratebox2 ul li {
  float: left;
}

.ratebox3 ul, .ratebox3 ul li {
  float: left;
}

/* Настройка стандартной капчи при ответах на комментарии */
.dle-captcha { position: relative; }
.dle-captcha:after { clear: both; display: block; content: ""; }
.dle-captcha > a { float: left; margin-right: 5px; }
.dle-captcha img {
  position: relative;
  display: block;
  width: 130px; height: 46px;
  -webkit-transition: all ease .2s; transition: all ease .2s;
}
.dle-captcha > input { float: left; width: 130px; }


/* Настройка подсказки для доп. полей */
.xfieldsnote {
  color: #838383;
  font-size: .9em;
}

.instagram-media, .twitter-tweet {display: inline-block !important;}

