/* =========== © 2016 Centroarts.com =========== */
@import url(../../templates/Green/fonts/font.css);

/* Сброс */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block } body { line-height: 1 } ol, ul { list-style: none } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none } table { border-collapse: collapse; border-spacing: 0 }
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary { display: block; }

html, html a { -webkit-font-smoothing: antialiased; }

/* Настройка основной типографии */
body, select, input, textarea, button {
	font: normal 14px/1.5 "GothaPro", Arial, Helvetica, sans-serif;
	letter-spacing: 0.012em;
	color: #1a1a1a;
	outline: none;
}
	a { 
		outline: none;
		color: #4e8cda;
		text-decoration: none;
	}
	a:hover { text-decoration: underline; }

	a img { border: 0 none; }
	a > img { vertical-align: bottom; }

	/* Заголовки H1-6 */
	h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5 {
		margin: 2em 0 .8em 0;
		letter-spacing: -0.01em;
		line-height: normal;
		font-weight: bold;
		text-rendering: optimizeLegibility;
	}
	h1, .h1 { font-size: 1.9em; }
	h2, .h2 { font-size: 1.8em; }
	h3, .h3 { font-size: 1.4em; }
	h4, .h4 { font-size: 1.2em; }
	h5, .h5 { font-size: 1.1em; }

/* Частые стили */
.strike { text-decoration: line-through; }
.nobr { white-space: nowrap; }
.hide { display: none; }
.title_hide { left: -9999px; position: absolute; top: -9999px; overflow: hidden; width: 0; height: 0; }
.uline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.justify { text-align: justify; }
.center { text-align: center; }
.left { float: left; }
.right { float: right; }
	fieldset { border: 1px solid rgba(0,0,0,0.1); padding: 15px; margin-bottom: 1.5em; }
	fieldset legend { font-weight: bold; }

	.grey { color: #999; }
	.grey a { color: inherit; }
	.grey a:hover { color: #1a1a1a; }

	.green { color: #95c00e; }

sup { vertical-align: super; font-size: smaller; } 
.over { display: inline-block; vertical-align: middle; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
a .over { cursor: pointer; }

.cover { background-position: 50% 50%; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; }

/* Настройка других элементов */
ul { padding-left: 25px; list-style: disc outside; }
ol { padding-left: 25px; list-style: decimal outside; }

p,dl,dd,pre,ul,ol,blockquote,table,fieldset { margin-bottom: 1.5em; }
	strong, b { font-weight: bold }
	em, cite, i { font-style: italic }
	caption { text-align: left }
	th, td { vertical-align: middle }
	small, .small { font-size: .9em; }
	hr { height: 0; border: 0; border-top: 2px solid #eeeeef; -moz-box-sizing: content-box; box-sizing: content-box; margin: 20px 0; }

	.clr { clear: both }
	.clrfix:after { clear: both; content: ""; display: table; }

/* --- Layout --- */
body { background: #ededed; }

/* --- Настройка кнопок --- */
.btn, .bbcodes, .ui-button {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	height: 40px;
	border-radius: 20px;
	line-height: 21px;
	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-button { padding: 4px 12px; height: 30px; font-size: 11px; margin: 2px; }

	.btn:hover, .bbcodes:hover, .ui-button:hover {
		background-color: #a8cd3e;
		background-image: -webkit-linear-gradient(top, #abd047 0%, #a4ca35 100%);
		background-image: -moz-linear-gradient(top, #abd047 0%, #a4ca35 100%);
		background-image: -o-linear-gradient(top, #abd047 0%, #a4ca35 100%);
		background-image: linear-gradient(top, #abd047 0%, #a4ca35 100%);
	}
	.btn:active, .bbcodes:active, .ui-button:active {
		background: #a4ca35;
		box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.14); -webkit-box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.14);
	}
	.btn > .icon { fill: #fff; }

/* --- Новости --- */
.story {
	position: relative;
	background-color: #fff;
	max-width: 840px;
	padding: 50px;
}
.story .title { margin: -.1em 0 .8em 0; }
	.story .title > a {
		color: inherit;
		text-decoration: none !important;
		-webkit-transition: color ease .2s; transition: color ease .2s;
	}
	.story .title > a:hover { color: #95c00e; }

	.story_top { margin-bottom: 1.5em; margin-top: -.8em; }
	.story_top .date { font-weight: bold; font-size: .86em; }

	.story > .text:after { content: ""; display: block; clear: both; }
	.story > .text > img[style*="left"], .story > .text > .highslide img[style*="left"] { margin: 4px 20px 20px 0; }
	.story > .text > img[style*="right"], .story > .text > .highslide img[style*="right"] { margin: 4px 0 20px 20px; }
	.story > .text img { max-width: 100%; }

	.story > .category, .editdate { margin: 1.5em 0; }
	.story > .category > .icon { width: 17px; height: 9px; margin: -2px 8px 0 0; fill: #95c00e; }

	/* Кнопка "Редактировать" */
	.edit_btn > a { position: relative; overflow: hidden; }
		.edit_btn > a > i, .edit_btn > a:after, .edit_btn > a:before { 
			padding-top: 3px;
			width: 19px; height: 0;
			background-color: #1a1a1a;
			overflow: hidden;
			display: block;
			border-radius: 2px;
			margin: 3px 0 0 6px;
			opacity: .4;
			-webkit-transition: all ease .2s; transition: all ease .2s;
		}
		.edit_btn > a:before { margin-top: 2px; }
		.edit_btn > a:after, .edit_btn > a:before { content: ""; }
		.edit_btn > a:hover > i, .edit_btn > a:hover:after, .edit_btn > a:hover:before {
			opacity: 1;
		}
		.edit_btn > a:hover > i { margin-left: 0; }

	/* Вложения */
	.attachment > a { color: inherit; display: block; margin: .4em 0; }
	.attachment > a > .icon { fill: #95c00e; width: 16px; height: 17px; margin: -.2em .6em 0 0; }

	/* Нижняя часть новости */
	.story_tools { margin-top: 1.5em; position: relative; font-size: .9em; }
		.story_tools_in { float: left; }
		.story_tools_in:before {
			content: "";
			position: absolute;
			left: 0; top: 0; right: 0;
			border-radius: 20px;
			height: 38px;
			border: 1px solid #eaeaea;
			z-index: 0;
		}
		.story_tools:after { content: ""; display: block; clear: both; }

		.story_tools_in > .btn, .story_tools_in > .rate { position: relative; z-index: 1; float: left; }
		.story_tools_in > .btn { float: left; }

		/* Иконки Плюс и Минус */
		.plus_icon, .plus_icon > span { width: 15px; height: 15px; }
		.plus_icon { border: 4px solid transparent; display: inline-block; vertical-align: middle; position: relative; }
		.plus_icon > span, .plus_icon > span:before, .plus_icon > span:after {
			overflow: hidden;
			text-indent: -9999px;
			white-space: nowrap;
			position: absolute;
			border-radius: 2px;
		}
		.plus_icon > span:before, .plus_icon > span:after { background-color: #1a1a1a; content: ""; }
		.plus_icon > span { left: 0; top: 0; }
		.plus_icon > span:after {
			left: 0; top: 0;
			width: 100%; height: 3px;
			margin-top: 6px;
		}
		.plus_icon > span:before {
			left: 0; top: 0; 
			width: 3px; height: 100%;
			margin-left: 6px;
		}
		.plus_icon.minus > span:before { display: none; }

		/* Иконка подробнее */
		.more_icon { height: 5px; width: 21px; margin-top: 8px; display: flex; justify-content: space-between; }
			.more_icon > i {
				float: left;
				width: 5px; height: 5px;
				border-radius: 50%;
				background-color: #fff;
			}

		/* Статистика новости */
		.story_tools > .meta {
			margin: 11px 18px 0 0;
			float: right;
			position: relative;
			z-index: 1;
		}
		.meta:after { clear: both; display: table; content: ""; }
		.meta { list-style: none; padding: 0; margin: 0; }
		.meta > li { display: inline; margin-left: 25px; }
		.meta > li:first-child { margin-left: 0; }
		.meta > li .icon { margin: -3px 8px 0 0; }
.emoji {
    border: none;
    vertical-align: middle;
    width: 22px;
    height: 22px;
}

/*--- Цитаты, Спойлеры, Код  ---*/
.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 }
/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.xfieldimagegallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  clear: both;
}

.xfieldimagegallery li {
	list-style: none;
	margin: 0;
	padding: 0;  
}

.xfieldimagegallery li img {
  float: left;
  margin-right: 5px;
  border: 5px solid #fff;
  width: 100px;
  height: 100px;
  transition: box-shadow 0.5s ease;
}

.xfieldimagegallery li img:hover {
  box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}

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

/*---Подсветка кода в теге [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 { padding: 0; margin: 0; border:none; box-shadow: none; background-color: inherit; 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;font-size: 1.08em !important;  }
	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; }
	pre .comment:hover {background-color: inherit;box-shadow: none;}
	