/*--- Загрузчик AJAX ---*/
#loading-layer {
		display: block !important;
		background-color: #fff;
		background-color: rgba(255,255,255,0.9);
		z-index: 9999;
		position: fixed;
		top: 0; left: 0; right: 0; bottom: 0;
		width: 100%; height: 100%; text-indent: -9999px;
		overflow: hidden;
		white-space: nowrap;
	}
	#loading-layer:before, #loading-layer:after {
		content: "";
		border-radius: 50%;
		background-color: #95c00e;
		position: absolute;
		left: 50%; top: 50%;
	}
	#loading-layer:before {
		width: 100px; height: 100px;
		margin: -50px 0 0 -50px;
	}
	#loading-layer:after {
		width: 40px; height: 40px;
		background-color: #8663c4;
		margin: -20px 0 0 -20px;
	}

	#loading-layer:before {
		-webkit-animation: load1 1s infinite ease;
		animation: load1 1s infinite ease;
	}
	#loading-layer:after {
		-webkit-animation: load2 1s infinite -0.32s ease;
		animation: load2 1s infinite -0.32s ease;
	}
	@-webkit-keyframes load1 {
		0%, 80%, 100% { -webkit-transform: scale(1,1); }
		40% { -webkit-transform: scale(.6,.6); }
	}
	@keyframes load1 {
		0%, 80%, 100% { transform: scale(1,1); }
		40% { transform: scale(.6,.6); }
	}
	@-webkit-keyframes load2 {
		0%, 80%, 100% { -webkit-transform: scale(1,1); }
		40% { -webkit-transform: scale(.5,.5); }
	}
	@keyframes load2 {
		0%, 80%, 100% { transform: scale(1,1); }
		40% { transform: scale(.5,.5); }
	}

/*--- Цитаты, Спойлеры, Код  ---*/
.scriptcode, .title_quote,
	.title_spoiler, .text_spoiler { padding: 15px 20px; background: #fff; border: 1px solid #e7e7e7; }

	.title_quote { margin-top: 2px; font-weight: bold; }
	.quote, blockquote {
		padding: 2px 20px;
		margin: 1.5em 0;
		border-left: 3px solid #95c00e;
		font-family: Georgia, serif; font-style: italic;
		font-size: 1.2em;
		color: #999;
	}
	.title_spoiler { margin-top: 2px; }
	.text_spoiler { margin-bottom: 2px; }
	.title_spoiler img { vertical-align: middle; margin: -1px 0 0 !important }
	.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
	.title_spoiler { font-weight: normal; }
	.text_spoiler { border-top: 0; text-align: justify; }

	.hide { background-color: #f0f0f0; padding: 5px; color: #4c6d0f; margin: 0 0 1em 0 }
	.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }
	
/* --- Оформление календаря --- */
.calendar { width: 100%; text-align: center; }
.calendar tr td, .calendar tr th { padding: 3px; }
	.calendar tr td a { color: #95c00e; font-weight: bold; }
	.calendar tr td { padding: 5px 3px; }
	.calendar tr td.weekday, .calendar tr th.weekday { color: #7955c4; }
	.calendar tr th { background-color: #fff; font-weight: bold; text-transform: uppercase; }
	.calendar tr th.monthselect { background-color: transparent; padding-bottom: 15px; }
/*--- Рейтинг - Звездами ---*/

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

/*--- Таблица Персональных сообщений и лучших пользователей ---*/
.userstop td, .pm td.pm_list, .pm td.pm_head { border-bottom: 1px solid #efefef; padding: 12px 2px; }
	table.pm, table.userstop { width: 100%; margin-bottom: 0; }
	table.pm select { width: 150px; }
	.userstop thead td, .pm td.pm_head { border-bottom: 1px solid #efefef; font-weight: bold; }
	table.pm .navigation { border-top-width: 0; margin: 0; }

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
		padding: 10px 0;
		min-width: 140px;
		width: auto !important;
		opacity: 1 !important;
		display: none;
		font-size: .9em;
		border-radius: 6px;
		border: 1px solid #e6e6e6; border-color: rgba(0,0,0,0.1);
		box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3); -webkit-box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
		background-clip: padding-box;
	}
	#dropmenudiv { background-color: #fff; }
	#dropmenudiv a {
		text-decoration: none !important;
		color: inherit;
		display: block;
		padding: 5px 20px;
		border: 0 none;
		white-space: nowrap;
		color: inherit;
	}
	#dropmenudiv a:hover { background-color: #95c00e; color: #fff; }

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.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-color: 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) 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) no-repeat 0 -90px; 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) no-repeat 100% -90px }
	.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 { 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 }
	
/* --- Поля форм --- */
select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
	color:#777777 !important;
	display: inline-block;
	width: 300px; height: 40px;
	line-height: 22px;
	padding: 8px 15px !important;
	vertical-align: middle;
	/*border-radius: 4px;*/
	background: #EFEFEF;
	border: 1px solid #E5E5E5;
}
	textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
	textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus,
	input[type="file"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
	input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus,
	input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus,
	input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus,
	input[type="color"]:focus, .uneditable-input:focus {
		background-color: #E5E5E5;
	}
	input[type="radio"], input[type="checkbox"] { line-height: normal; margin: -2px 6px 0 0; vertical-align: middle; }
	input[type="file"], input[type="image"],
	input[type="submit"], input[type="reset"],
	input[type="button"], input[type="radio"],
	input[type="checkbox"] { width: auto; }
	input[type="search"] {
		-webkit-appearance: textfield;
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	input[type="search"]::-webkit-search-cancel-button,
	input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
	select[multiple], select[size], textarea { height: auto; }
	::-moz-placeholder, :-moz-placeholder, ::-webkit-input-placeholder { opacity: 0.6; }

	input:focus { outline: none; }
	input[type="file"], input[type="image"] {
		padding: 0;
		border-width: 0;
		background: none;
		box-shadow: none; -webkit-box-shadow: none;
	}
	.wide, .bb-editor textarea, .ui-dialog textarea, select#category, .timezoneselect, .quick-edit-text { width: 100% !important; }
	#searchuser, #searchinput { width: 100% !important; margin-bottom: 10px; }

	table.xfields input { width: 100%; }
	table.xfields tr > td:first-child { padding-right: 10px; }
	
	::-webkit-input-placeholder { /* WebKit browsers */
		color:    #A5A5A5;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
		color:    #A5A5A5;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
		color:    #A5A5A5;
	}
	:-ms-input-placeholder { /* Internet Explorer 10+ */
		color:    #A5A5A5;
	}
	
	/*Прикрепляемый файл*/
	.attach_form{
		flaot:left;
		outline:1px solid red;
		width:300px;
	}
	
	/* Настройка стандартной капчи */
	.form_submit .c-capcha { float: right; }
	.c-capcha { height:150px; width:300px; overflow:hidden; }
	.c-capcha:after { clear: both; display: block; content: ""; }
	.c-capcha > a { float: left; margin-right: 5px; }
	.c-capcha img {
		width: 300px; 
		height: 102px;
		z-index: 1;
		padding: 1px;
		float:left;
		-moz-box-shadow: 0px 0px 15px -1px #000;
		-webkit-box-shadow: 0px 0px 15px -1px #000;
		box-shadow: 0px 0px 15px -1px #000;
	}
	.c-capcha > input {float:left; width: 300px; }

	/* Настройка стандартной капчи при ответах на комментарии */
	.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; }
	
/* --- Настройка кнопок --- */
.send-btn{
	height:40px;
	overflow:hidden;
}

.send-button{
	width:100%;
	height:40px;
}

.search_button{
	border:none;
	width:150px;
	height:40px;
	background-color: #95c00e;
	background-image: -webkit-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
	background-image: -moz-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
	background-image: -o-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
	background-image: linear-gradient(top, #a2cb33 0%, #9bc520 100%);
}

@media (max-width: 720px) {
	.search_button{
		width:300px;
	}
}

.textin{
	border:1px solid #cecece !important;
	border-radius:0px !important;
	padding:5px 10px 5px 10px !important;
}
@media (max-width:767px){
	.textin{
		width:100% !important;
	}
}
@media (min-width:768px){
	.textin{
		width:350px !important;
	}
}

#dofullsearch {display:none !important;}


.search-btn{
	border:1px solid #cecece;
	margin:15px 0px 25px 0px;
	background-color:#F7F7F7;
	padding:5px 10px 5px 10px !important;
}

@media (max-width:767px){
	.search-btn{
		width:100% !important;
	}
}
@media (min-width:768px){
	.search-btn{
		width:120px !important;
	}
}

.alert{
	color:#cecece !important;
	font-weight:bold;
}

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-widget-overlay {
	background: #000;
	opacity: 0.5;
	-moz-opacity: 0.5 filter:alpha(opacity=5);
	left: 0; top: 0; right: 0; bottom: 0;
	position: fixed;
	}
	.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-dialog {
		text-align: left;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 420px;
		border-radius: 8px;
		box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
		border: 1px solid #e6e6e6; border-color: rgba(0,0,0,0.1);
		background-color: #fff;
		background-clip: padding-box;
	}
	.ui-dialog-titlebar { padding: 20px 20px; position: relative; border-bottom: 1px solid #eaeaea; }
	.ui-dialog-title { float: left; font-weight: bold; font-size: 1em; }
	.ui-dialog-titlebar-close {
		position: absolute;
		right: 10px; top: 50%;
		margin-top: -16px;
		height: 32px; width: 32px;
		border: 0 none !important;
	}
	.ui-dialog-titlebar-close .ui-icon {
		display: block;
		margin: 10px auto 0 auto;
		width: 14px; height: 14px;
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAQlBMVEUAAAAaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhpGvPVGAAAAFXRSTlMAfG+K6uT58t7WrKWel2hkWw3SEwl0oKIhAAAAgElEQVQoz73RSQ7CMBBE0bKxM49A3/+qgILUTr68TS37rVpfr6HtFmExt+Ouwb4LV3v8rpMaO5RmSckOpVmvxf4Ks00KrmeLUqEwaGHQwqCFUd2gMFcYFOb/+UcwKMwV5kqLwRV2U6NYb7Qq1Rt1auqNksZ6o1n7lJ+bsLXP8/sDE7sb2/eyAdwAAAAASUVORK5CYII=);
		-webkit-background-size: 14px auto; background-size: 14px auto;
		opacity: .5;
	}
	.ui-button {
		float: right;
		border: 0 none;
		display: inline-block;
		vertical-align: middle;
		cursor: pointer;
		height: 40px;
		border-radius: 20px;
		outline: none;
		color: #fff !important;
		padding: 9px 22px;
		font-weight: bold;
		text-transform: uppercase;
		text-decoration: none !important;
		box-shadow: 0 1px 2px 0 rgba(0,0,0,0.14); -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.14);

		background-color: #95c00e;
		background-image: -webkit-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
		background-image: -moz-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
		background-image: -o-linear-gradient(top, #a2cb33 0%, #9bc520 100%);
		background-image: linear-gradient(top, #a2cb33 0%, #9bc520 100%);

		-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	.ui-dialog-titlebar-close:hover .ui-icon { opacity: 1; }
	.ui-icon { overflow: hidden; text-indent: -9999px; }
	.ui-dialog label { color: #575757; }
	.ui-dialog-content { padding: 20px; border: 1px solid #fff; overflow: auto; position: relative; zoom: 1; }
	.loginbox.ui-dialog, .loginbox .ui-dialog-content { overflow: visible !important; }
	.ui-dialog-content h2 { display: inline; font-size: 1em; font-weight: bold }
	.ui-dialog .ui-dialog-buttonpane { padding: 20px; text-align: center; border-top: 1px solid #eaeaea; }
	.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
	.ui-draggable .ui-dialog-titlebar { cursor: move; }
	.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }
	.ui-button { margin: 0 3px; }
	.ui-helper-hidden-accessible{display: none;}