/*
=============================================================
This Skin for DataLife Engine Developed by DLETemplates.Com
Copyright © 2005—2011 DLETemplates.Com  All Rights Reserved.

File 'engine.css' — Cascading Style Sheet (CSS) Document
=============================================================
*/

/* DEFAULT STYLES OF DATALIFE ENGINE RELEASE 9.7 */

/* ==================== Вывод формы по умолчанию */

form {  
	padding: 0; margin: 0;
}

/* ==================== Информационное оконо загрузки AJAX */

#loading-layer {
	display: none;
	font-family: Verdana; font-size: 11px;
	background-color: #000; padding: 10px;
	text-align: center;
	border: 1px solid #000;
	color: #FFF;

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
			border-radius: 5px;

	text-shadow: none; /* убираем тень под текстом в загрузчике */
	
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

/* ==================== Вывод архива */

.archives {
	margin: 0 0 0 35px; line-height: 30px;
}
.archives a {
	color: #4f4f4f; font-size: 12px;
}
.archives li {
	background-image: url("../images/dlet-cube.gif")/*tpa=http://web-mir.com/templates/webmir/images/dlet-cube.gif*/; background-repeat: no-repeat; background-position: 0 12px; padding: 0 0 0 15px; border-bottom: 1px dotted #b2b7bc;
}

/* ссылка на вывод полного архива (Показать весь архив) */

#dle_news_archive_link {
	font-size: 11px;
}
#dle_news_archive_link a {
	font-weight: normal;
}
#dle_news_archive_link a:hover {
}

.title_quote {
	color: #222;
	background-color: #ffffe0;
	border: 1px dotted #b2b7bc; 
	border-bottom: 0;
	font-weight: bold;
	padding: 5px;
}
.quote {
	color: #222;
	background-color: #ffffe0;
	border: 1px dotted #b2b7bc;
	text-align: justify;
	padding: 5px;
}

/* ==================== Тег SPOILER */

.title_spoiler {
	color: #222;
	background-color: #f2f2f2;
	border: 1px dotted #b2b7bc; 
	font-weight: bold;
	padding: 5px;
}
.title_spoiler img {
	margin: 0; padding: 0;
}
.text_spoiler {
	color: #222;
	background-color: #f2f2f2;
	border: 1px dotted #b2b7bc;
	border-top: 0;
	text-align: justify;
	padding: 5px;
}

/* ==================== Tэг CODE */

.scriptcode {
	color: #222;
	background-color: #ffffe0; 
	border: 1px dotted #b2b7bc;
	text-align: left;
	padding: 5px;
}

/* ==================== Календарь */

.calendar {
	color: #222; font-family: tahoma; font-size: 12px; border-collapse: separate; border-spacing: 6px;
}

th.monthselect {
	height: 40px; border-bottom: 1px dotted #b2b7bc; text-transform: uppercase;
}
th.workday, th.weekday {
	height: 30px; text-align: center;
}

td.day, td.weekday, td.day-active, td.day-active-v, td.day-current {
	border: 1px solid #e6e6e6; padding: 7px 15px; margin: 3px; text-align: center;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

/* выделяем иным цветом границу ячейки ТОЛЬКО для ячеек со ссылками */

td.day-active:hover, td.day-active-v:hover {
	border: 1px solid #919191;
}

.weekday, .weekday-active, .day-active {
	color: #804040;
}

a.monthlink {
	text-decoration: none;
}

td.day-current {
	background-color: transparent; border: 1px solid #919191;
}

/* делаем небольшой трюк для центрирования блока по горизонтали */

#calendar-layer {
	margin: -15px auto 30px; width: 364px;
}

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

.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.gif")/*tpa=http://web-mir.com/templates/webmir/dleimages/rating.gif*/;
	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.gif")/*tpa=http://web-mir.com/templates/webmir/dleimages/rating.gif*/;
	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.gif")/*tpa=http://web-mir.com/templates/webmir/dleimages/rating.gif*/;
	background-position: left bottom;
	position: absolute;
	height: 16px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

/* ==================== BB коды */
 
/* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl)  и по умолчанию в модуле редактора сообщений*/

.bbcodes {
	background-color: #07A3E0; border: 1px solid #07A3E0;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
	
	color: #fff;
	font-size: 11px;		/* ! */
	font-family: tahoma;
/*  width: 120px;  */
	height: 32px;
	font-weight: bold;
}
.editor {
	width: 498px!important;
}
.editor textarea {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url("../images/dlet_field_o.gif")/*tpa=http://web-mir.com/templates/webmir/images/dlet_field_o.gif*/;
	background-repeat: repeat-x;
	background-color: #fff;
}

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl и в модифицированном поиске (search.php) */
/* требуется модифицированный файл search.php (engine/modules/) */

.bbcodes_poll {
	background-color: #07A3E0; border: 1px solid #07A3E0;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
	
	color: #fff;
	font-size: 11px;		/* ! */
	font-family: tahoma;
	width: 100px;
	height: 32px;
	font-weight: bold;
}

.editor input[type="text"] {font-size: 11px; font-family: tahoma; background: #fff url("../images/dlet_field_o.gif")/*tpa=http://web-mir.com/templates/webmir/images/dlet_field_o.gif*/ repeat-x; border: 1px solid #bcc0c2;}

.editor_button {
	float: left; cursor: pointer; padding: 0px 1px;
}
.editor_buttoncl {
	float: left;
	cursor: pointer;
	padding-left: 1px;
	padding-right: 1px;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
}
.editbclose {
	float: right; cursor: pointer;
}
.editor_button select {
	width: auto!important; /*05.2012*/ font-family: tahoma; font-size: 11px; height: 18px; border: 1px solid #D4D3E0; padding: 0; background-color: #fff!important; /*05.2012*/

	-webkit-border-radius: 0; /*05.2012*/
	   -moz-border-radius: 0; /*05.2012*/
	   		border-radius: 0; /*05.2012*/
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.editor_button img {margin: 0; padding: 0!important; border: 0 none!important;}
.editbclose img {margin: 0; padding: 0!important; border: 0 none!important;}
.editor_button_brk img {margin: 0; padding: 0!important; border: 0 none!important;}

/* ==================== Дополнительные поля новостей */

.xfields {
	padding-top: 5px;
}
.xfields textarea {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 98%; height: 150px; margin: 5px 0 10px;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.xfields input {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 300px;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.xfields select {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 300px;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

/* фиксируем размер левой колонки таблицы доп. полей, при добавлении новости с сайта */

td.addnews {
	width: 100px;
}

/* ==================== Дополнительные поля профиля пользователей */

.xprofile {
	/*padding-top: 5px;*/
}
.xprofile textarea {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 293px; height: 70px; margin: 5px 0 10px; float: right;
	
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.xprofile input {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 283px; height: 30px; padding: 0 5px; float: right;
	
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.xprofile select {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; width: 295px; height: 32px; padding: 5px; float: right;	
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

/* фиксируем размер ПРАВОЙ колонки таблицы доп. полей профиля */

td.xprofile {
	width: 414px;
}

/* ==================== Персональные сообщения */ 

.pm_head {
	font-size: 12px; font-family: tahoma; font-weight: bold; line-height: 30px;
}

/* ==================== Прогресс бар заполненности персональных сообщений */

.pm_progress_bar {
    border: 1px solid #d8d8d8; padding: 1px; margin: 10px 0;
}

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

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

#dropmenudiv {
	background-color: transparent; border-bottom-width: 0; font: normal 11px tahoma; line-height: 24px; margin: 2px;
}
#dropmenudiv a {
	background-color: #616C76; display: block; text-decoration: none; color: #fff; padding: 5px; margin: 1px; font-weight: bold; text-shadow: none;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
#dropmenudiv a:hover {
	background-color: #07A3E0; color: #fff;
}

/* ==================== Опрос пользователей */

#vote-layer {
	margin: 0 15px; width: 210px;
}
#vote-layer .question {
	color: #616c76; font-weight: bold; margin-bottom: 15px;
}
#vote-layer .question span {
	color: #222; font-size: 12px; line-height: 20px;
}
#vote-layer fieldset {
	border: 1px solid #c1c7cd; padding: 10px 15px; margin-bottom: 15px;

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
			border-radius: 5px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

#dle-vote {
	color: #222; text-align: left;
}
.vote {
	line-height: 18px; width: 178px; /*float: left;*/ padding: 3px 0;
}
.vote input[type="radio"] {
	float: left; margin: 4px 5px 0 0;
	-webkit-margin-before: 3px; /* трюк для браузеров семейства webkit */
}
.vote-bttn {
	background-color: #07A3E0; width: 90px; height: 28px; color: #fff; font-family: tahoma; font-weight: bold; cursor: pointer; font-size: 12px;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.vote-bttn:hover {
	background-color: #616c76;
}
.do-vote {
	float: left; margin: 0 10px 10px 10px;
}
.do-results {
	float: left;
}

/* очищаем концы строк с вопросами - для опросов внутри новостей */

#dle-poll-list div {
	margin: 0 0 15px; clear: both;
}

/* стилизируем картинки (полосы) для результатов опросов внутри новостей */

#dle-poll-list img {
	margin: 0 0 5px;
}

/* Вывод результатов голосования на сайте */

.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;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

/* Вывод результатов опросов в новостях */

.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;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

.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);
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}

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

.attachment {
	color: #808080;
}

/* ==================== Поиск по сайту и результаты поиска */

.search {
	color: #222;
	text-decoration: none;
	margin: 0 auto;
}
.search legend {
	padding: 0 2px;
}
.textin_input {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.textin_select {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.sresult  {
	text-align: justify;
	font-weight: normal;
	line-height: 16px;
	font-family: tahoma;
	font-size: 12px;
	color: #222;
}

/* хак для выравнивания радио-кнопок Статьи и Заголовки в расширенной поисковой форме */

label[for=rb_showposts_0], label[for=rb_showposts_1] {width: 80px; float: left;}

/* ==================== массовые действия для комментариев */

.mass_comments_action  {
	text-align: right; padding: 0 0 25px 0; font-size: 12px;
}
.mass_comments_action select {
	height: 32px; padding: 5px;
}
.mass_comments_action input {
	float: right;
}

/* CUSTOM STYLES FOR DLETEMPLATES.COM SKIN - START */

/* ==================== Рамка расширенной формы поиска по сайту */

fieldset {
	border: 1px solid #e0e0e0;
	padding: 5px;
}

/* упорядочиваем отображение функции подписки в форме добавления комментария */

input#allow_subscribe {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}

/* упорядочиваем отображение функции сохранения в "Отправленных" в форме отправки ПС */

input#outboxcopy {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}

/* упорядочиваем отображение функции отказа от подписки в форме редактирования профиля */

input#subscribe, .checki input[type="checkbox"] {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}

/* упорядочиваем отображение функции удаления фото в форме редактирования профиля */

input#del_foto {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}

/* упорядочиваем отображение админ-функций при добавлении новостей с сайта */

input#approve + label {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}
input#allow_rating + label {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}
input#news_fixed + label {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}
input#allow_comm + label {
	float: left; margin: 0 5px 0 0; 		/*05.2012*/
}
input#allow_main {
	float: right; margin: 3px 100px 0 0; 	/*05.2012*/
}
label[for=allow_main] {
	float: right; width: 140px; 			/*05.2012*/
}

/* принудительно устанавливаем ширину для поля формы добавления комментария */

textarea#comments {
	width: 498px!important;  				/*05.2012*/
}

/* принудительно устанавливаем ширину для {category} формы добавления новостей */

select#category {
	width: 295px!important; 				/*05.2012*/
}

/* принудительно выравниваем radio-кнопки во встроенных опросах к новостям на сайте */

input[type="radio"] {
	float: left; margin: 1px 5px 0 0; 		/*05.2012*/
}
	
/* CUSTOM STYLES FOR DLETEMPLATES.COM SKIN - END */

/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии */

.highslide-wrapper, .highslide-outline {
	background: #fff;
}
.highslide-image {
	border: 2px solid #fff;
}
.highslide-active-anchor {
   visibility: hidden;
} 
.highslide-active-anchor img {
	visibility: hidden;
}
.highslide-dimming {
	background: black;
}
.highslide-html {
	background-color: white;
}
.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid white;
    background-color: black;
}
a.highslide-full-expand {
	background: url("../dleimages/fullexpand.gif")/*tpa=http://web-mir.com/templates/webmir/dleimages/fullexpand.gif*/ no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px;
	height: 34px;
}
.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")/*tpa=http://web-mir.com/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")/*tpa=http://web-mir.com/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")/*tpa=http://web-mir.com/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;
}

/* Вид изображения: с прямыми краями и тенью */
.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;
}

/* ==================== Облако тегов */

.clouds_xsmall {
	font-size: x-small;
}
.clouds_small {
	font-size: small;
}
.clouds_medium {
	font-size: medium;
}
.clouds_large {
	font-size: large;
}
.clouds_xlarge {
	font-size: x-large;
}

/* ==================== Быстрый поиск на сайте */

#searchsuggestions {
	border: 1px solid #919191; /* правим рамку окна быстрого поиска */
	width: 300px;
	background-color: #5c9ccc; /* правим цветные полосы внутри окна быстрого поиска 1 */
	font-size: 10px;
	line-height: 14px;
}
#searchsuggestions a { padding: 5px; display: block; background-color: #fff; clear: left; height: 75px; text-decoration: none; }
#searchsuggestions a:hover {
	background-color: #fdd08b; /* правим цветовой фон при наведении курсора */
	color: #fff;
}
#searchsuggestions a span.searchheading {
	background-color: #5c9ccc; /* правим цветные полосы внутри окна быстрого поиска 2 */
	display: block;
	font-weight: bold;
	padding: 5px;
	color: #fff;
}
#searchsuggestions a:hover span.searchheading { color: #fff; }
#searchsuggestions a span {color: #555555; }
#searchsuggestions a:hover span { color: #000000; }
#searchsuggestions span.seperator { float: right; padding-right: 15px; margin-right: 5px;}
#searchsuggestions span.seperator a { background-color: transparent; display: block; height: auto; color: #fff; }
#searchsuggestions span.notfound {  padding: 5px; background-color: #fff; display: block; height: auto; color: #000000; }

/* ==================== Диалоговые и всплывающие окна jQuery UI */

/* added by dletemplates - start */
#dlepopup {
	margin: 10px;
}
input.ui-widget-content, select.ui-widget-content, textarea.ui-widget-content {
	color: #222; font-size: 11px; font-family: tahoma; background-color: #fff; background-image: none;
	border: 1px solid #fff; border-top: 1px solid #DBE1E7;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
input.ui-widget-content[type="text"] {
	height: 21px; line-height: 30px; padding: 0 5px;
}
select.ui-widget-content {
	height: 32px; padding: 5px;
}

/* added by dletemplates - end */

.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;
	font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: tahoma;
	font-size: 11px;
}
.ui-widget-content {
	/*background: #fff 50% bottom repeat-x;*/ background-image: url("../images/dlet-bg.gif")/*tpa=http://web-mir.com/templates/webmir/images/dlet-bg.gif*/;
	border: 1px solid #dbe1e7; border-top: 1px solid #fff; /* правим цвет рамок встроенных поп-апов (смайлы, юзер ... ) */

	-webkit-border-radius: 8px;
	   -moz-border-radius: 8px;
			border-radius: 8px;
	
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
	
	color: #222;
}
.ui-widget-content a {
	/*color: #222;*/
}
.ui-widget-header {
	background-color: transparent /* убираем в ж... картинки url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x*/;
	border-bottom: 1px dotted #b2b7bc; /* правим цвет рамок заголовков встроенных поп-апов (смайлы, юзер ... ) */
	line-height: 20px;
	color: #222; text-shadow: none;
	font-weight: bold; font-size: 12px;
}
.ui-widget-header a {
	color: #fff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	background-color: #ECECEC /* убираем в ж... картинки url(../images/ui-bg_glass_85.png) 50% 50% repeat-x*/;
	border: 1px solid #BBC5D0; /* правим цвет рамок неактивных кнопок встроенных поп-апов (смайлы, юзер ... ) */
	color: #222; /* правим цвет текста неактивных кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 1 */
	font-weight: bold;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #222; /* правим цвет текста неактивных кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 2 */
	text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background-color: #E2E4E7 /* убираем в ж... картинки url(../images/ui-bg_glass_75.png) 50% 50% repeat-x*/;
	border: 1px solid #BBC5D0; /* правим цвет рамок активных кнопок встроенных поп-апов (смайлы, юзер ... ) */
	color: #222; /* правим цвет текста активных кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 1 */
	font-weight: bold;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.ui-state-hover a, .ui-state-hover a:hover {
	color: #222; /* правим цвет текста активных кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 2 */
	text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
	background-color: #07A3E0 /* что за унылое г.... 50% 50% repeat-x*/;
	border: 1px solid #07A3E0; /* правим цвет рамок нажатых кнопок встроенных поп-апов (смайлы, юзер ... ) */
	color: #fff; /* правим цвет текста нажатых кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 1 */
	font-weight: bold;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
			
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
	color: #fff; /* правим цвет текста нажатых кнопок встроенных поп-апов (смайлы, юзер ... ) фрагмент 2 */
	text-decoration: 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")/*tpa=http://web-mir.com/templates/webmir/images/ui-icons.png*/;
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
	background-image: url("../images/ui-icons_h.png")/*tpa=http://web-mir.com/templates/webmir/images/ui-icons_h.png*/;
}
.ui-icon-close {
	background-position: -80px -128px;
}
.ui-icon-closethick {
	background-position: -96px -128px;
}
.ui-button .ui-button-text {
	display: block;
	line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
	padding: .4em .8em;
}
input.ui-button {
	padding: .4em 1em;
}
.ui-button-set {
	margin-right: 7px;
}
.ui-button-set .ui-button {
	margin-left: 0;
	margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.ui-dialog {
	overflow: hidden;
	padding: .2em;
	position: absolute;
	width: 300px;

	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	   -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
			box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	
	behavior: url("PIE.htc")/*tpa=http://web-mir.com/templates/webmir/css/PIE.htc*/;
}
.ui-dialog .ui-dialog-titlebar {
	padding: .5em 1em .3em;
	position: relative;
}
.ui-dialog .ui-dialog-title {
	float: left;
	margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
	height: 18px;
	margin: -10px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
	display: block;
	margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
	padding: 0;
}
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: .5em 1em;
	position: relative;
	zoom: 1;
}
.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;
}

/* ==================== Автозаполнение облака тегов */

.ui-autocomplete {
	position: absolute; cursor: default;
}
/* without this, the menu expands to 100% in IE6 */	
* html .ui-autocomplete {
	width: 1px;
}	
.ui-menu {
	list-style: none; padding: 2px; margin: 0; display: block; float: left;
}
.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;
}

/*---подсветка текста в теге [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;
}


@media only screen
and (min-width: 761px)
and (max-width: 1015px) {

.editor {
	width: 438px!important;
}
textarea#comments {
	width: 438px!important;
}
textarea#message {
	width: 432px!important;
}

}

@media only screen
and (min-width: 480px)
and (max-width: 760px) {

.editor {
	width: 438px!important;
}
textarea#comments {
	width: 438px!important;
}
textarea#message {
	width: 432px!important;
}

}

@media only screen
and (min-device-width: 480px)
and (max-device-width: 768px) {

.editor {
	width: 438px!important;
}
textarea#comments {
	width: 438px!important;
}
textarea#message {
	width: 432px!important;
}

}