/* -----------------------------------------------------------------------
	i-deal CSS Framework v.1.0
	Copyright (c) 2008-2011
----------------------------------------------------------------------- */

/* -----------------------------------------------------------------------
	z-index диапазоны
	[   0.. 999] статические элементы дизайна
	[1000..1999] статические и простые динамические элементы системы
	[2000..2999] динамические элементы дизайна
	[3000..3999] динамические интерактивные элементы системы
----------------------------------------------------------------------- */

@media screen, projection, print {
	/* reset.css */
	html {
		margin: 0;
		padding: 0;
		border: 0;
	}
	body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline;
	}
	h1{
		font-size: 2em;
		line-height: 1.1em;
		margin: 25px 0 20px 0;
	}
	h2{
		font-size: 1.8em;
		line-height: 1.1em;
		margin: 20px 0 15px 0;
	}

	h3{
		font-size:1.6em;
		line-height: 1.1em;
		margin: 14px 0 8px 0;
	}
	h4{
		font-size: 1.4em;
		line-height: 1.1em;
		margin: 14px 0 8px 0;
	}
	h5{
		font-size: 1.25em;
		line-height: 1.1em;
		margin: 14px 0 8px 0;
	}
	h6{
		font-size: 1.1em;
		margin: 14px 0 8px 0;
	}
	article, aside, details, figcaption, figure, dialog, footer, header, hgroup, menu, nav, section {
		display: block;
	}
	body {
	}
	table {
		border-spacing: 0;
	}
	caption, th, td {
		font-weight: normal;
		float: none !important;
	}
	caption{
		text-align: left;
	}
	table, td, th {
		vertical-align: middle;
	}
	blockquote:before, blockquote:after, q:before, q:after {
		content: "";
	}
	blockquote, q {
		quotes: "" "";
	}
	a img {
		border: none;
	}
	:focus {
		outline: 0;
	}
	h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
		margin: 0;
	}
}
.clear {
	float: none !important;
	clear: both;
	height: 0 !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0;
}

/* links */
a.dash, legend.dash {
	text-decoration: none;
	border-bottom: dashed 1px;
	cursor: pointer;
}
a.dash:focus, a.dash:hover {
	text-decoration: none;
}

/* defaults */
blockquote {
	margin: 1.5em;
	border: 1px solid #dedede;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	font-style: italic;
	background: #efefef;
	text-indent: 0;
}
strong {
	font-weight: bold;
}
em, dfn {
	font-style: italic;
}
dfn {
	font-weight: bold;
}
sup, sub {
	line-height: 0;
}
abbr, acronym {
	color: #c00;
	border-bottom: #c00 dotted 1px;
}
address {
	margin: 0 0 1.5em;
	font-style: italic;
}
del {
	color: #666;
}
pre, code {
	line-height: normal;
}
code {
	margin: 1.5em 0;
    white-space: pre;
}
pre, code, tt {
	font-family: "andale mono", "lucida console", monospace;
}

code{
	font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
	font-size: 0.9em;
	border: 1px solid lightblue;
	padding: 3px;
	color: #518BAB;
}

pre{
white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
margin: 0px 0px 0px 0px;
padding:5px 5px 3px 5px;
background:#fff;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-webkit-box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
-moz-box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
padding:10px;
margin:0 0 20px 0;
border:1px solid #ddd;
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
font-size:0.9em;
}

li ul,
li ol {
	margin: 0 1.5em;
}
ul, ol {}
ul {
	list-style-type: disc;
}
ol {
	list-style-type: decimal;
}
dl {
	margin: 0 0 1.5em 0;
}
dl dt {
	font-weight: bold;
}
dd {
	margin-left: 1.5em;
}
p {}
p img {
	margin: 0 1.5em 1.5em 1.5em;
	padding: 0;
}
p img.left {
	float: left;
	margin: 1.5em 1.5em 1.5em 0;
}
p img.right {
	float: right;
	margin: 1.5em 0 1.5em 1.5em;
}
img.spacing {
	margin: 8px;
}
tfoot {
	font-style: italic;
}
caption {
	text-align: right;
	font-style: italic;
	color: #999;
	font-size: 0.7em;
	padding: 5px 15px;
}
tr.even td {
	background: #e5ecf9;
}
tr.odd td {
	background: #f9f9f9;
}
.quiet {
	color: #666;
}
.loud {
	color: #000;
}
.highlight {
	background: #ff0;
}
.note {
	font-size: 0.8em;
	color: #888;
}
.lh1 {
	line-height: 1em;
}
.lh2 {
	line-height: 2em;
}

/* common styles */
tr.left td {
	text-align: left;
}
tr.center td {
	text-align: center;
}
tr.right td {
	text-align: right;
}
tr.top td {
	vertical-align: top;
}
tr.bottom td {
	vertical-align: bottom;
}
tr td.left {
	text-align: left;
}
tr td.center {
	text-align: center;
}
tr td.right {
	text-align: right;
}
tr td.top {
	vertical-align: top;
}
tr td.bottom {
	vertical-align: bottom;
}
tr.href,
th.href,
td.href {
	cursor: pointer;
}
img.i8,
input.i8 {
	width: 8px;
	height: 8px;
	border: 0;
}
img.i16,
input.i16 {
	width: 16px;
	height: 16px;
	border: 0;
}

.message,
.error, .notice, .success {
	padding: 0.8em;
	margin: 1em;
	border: #ddd solid 1px;
	border-radius: 5px;
	position: relative;
}

.message > .body {
	margin-left: 53px;
}

.message > .icon {
	position: absolute;
	top: 50%;
	margin-top: -14px;
	margin-left: 2px;
}

.message a.icon {
	top: 0px;
	right: 2px;
	left: auto;
	margin: 0;
}
.message > a.close {
	position: absolute;
	right: 2px;
	top: 2px;
	left: auto;
	bottom: auto;
	display: inline-block;
	text-decoration: none;
}

.message.notice > .icon,
.message.warning > .icon {
	color: #FFD324;
}

.message.success > .icon {
	color: #80e080;
}

.message.info > .icon {
	color: #24B3FF;
}

.message.help > .icon {
	color: #24B3FF;
}

.message.error > .icon {
	color: #fbc2c4;
}

.message.icon-loading > .icon {
	background: url('/lib/img/loading.gif') no-repeat center center;
}

.message.icon-loading2 > .icon {
	background: url('/lib/img/loading2.gif') no-repeat center center;
}

.message.pos-fixed {
	position: fixed;
	top: 0;
    left:0;
    right:0;
    margin-left: auto;
    margin-right:auto;
	max-width: 900px;
}

.error {
	background: #fbe3e4;
	color: #8a1f11;
	border-color: #fbc2c4;
}

.error a {
	color: #8a1f11;
}

.notice,
.message.warning {
	background: #fff6bf;
	color: #514721;
	border-color: #ffd324;
}
.notice a,
.message.warning a {
	color: #514721;
}
.message.info,
.message.help {
	background: #D5F3FF;
	color: #213F51;
	border-color: #91D8FF;
}

.success {
	background: #e0ffe0;
	color: #264409;
	border-color: #80e080;
}
.success a {
	color: #264409;
}
.message p,
.error p, .notice p, .success p {
	color: inherit;
}
.border {
	border: #ccc solid 2px;
}
.err {
	color: #f00;
}
.ok, .succ {
	color: #080;
}
.error > h2:first-child, .notice > h2:first-child, .success > h2:first-child,
.error > h3:first-child, .notice > h3:first-child, .success > h3:first-child,
.error > h4:first-child, .notice > h4:first-child, .success > h4:first-child,
.error > h5:first-child, .notice > h5:first-child, .success > h5:first-child,
.error > h6:first-child, .notice > h6:first-child, .success > h6:first-child {
	margin-top: 0;
}
.message .body > p:last-child,
.error > p:last-child,
.notice > p:last-child,
.success > p:last-child {
	margin-bottom: 0;
}

/* content from editor */
.maintext .hide {
	display: none;
}
.maintext p[align=left] {
	text-align: left;
}
.maintext p[align=center] {
	text-align: center;
}
.maintext p[align=right] {
	text-align: right;
}
.maintext table[width] {
	width: auto;
}
.maintext p,
.fck-editing-area p {}
ul,
ol,
.maintext ul,
.maintext ol,
.fck-editing-area ul,
.fck-editing-area ol {
	margin: 0 0 20px 3em;
}
ul li,
ol li,
.maintext ul li,
.maintext ol li,
.fck-editing-area ul li,
.fck-editing-area ol li{
	margin: 0 0 3px;
}
.maintext p.noindent,
.maintext p.note, .fck-editing-area p.noindent {
	text-indent: 0;
}
.maintext img, .fck-editing-area img {
	margin: 5px;
}
.maintext .catalog-item-show img {
	margin: 0;
}
.maintext table {
	padding: 0;
}
.maintext table th, table th {
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	padding: 6px 5px;
	border: #ddd solid 1px;
}
.maintext table th p {
	text-align: center;
}
.maintext table td , table td{
	border: #ddd solid 1px;
	padding: 5px 5px;
}
.maintext table p {
	margin: 0;
	text-indent: 0;
	text-align: left;
}
.maintext table.transp,
.maintext table.transp tr,
.maintext table.transp tr td,
.maintext table.transp tr th {
	border: 0;
	padding: 0;
	background: transparent;
}
#YMapsID table {
	margin: 0;
	padding: 0;
}
#YMapsID table td {
	border: none;
	padding: 0;
}

/* inside editor */
p, h1, h2, h3, h4, h5, h6 {
	width: auto !important;
	height: auto !important;
}
div.import,
span.import {
	border: #ccc dotted 1px;
	padding: 5px 10px 5px 65px;
	margin: 5px 15px;
}
span.import {
	display: inline-block;
}
div.import#form,
span.import#form {
	background: #fee url('/lib/img/editor_form.gif') top left no-repeat;
}
div.import#include,
span.import#include {
	background: #eef url('/lib/img/editor_file.gif') top left no-repeat;
}
div.import#module,
span.import#module {
	background: #efe url('/lib/img/editor_module.png') top left no-repeat;
}
div.import#menu,
span.import#menu {
	background: #fed url('/lib/img/editor_menu.png') top left no-repeat;
}
div.expands {
	border: #999 solid 1px;
	background: #eee url('/lib/img/listbul_plus.gif') 4px center no-repeat;
}
.cke_editable div.expands {
	margin: 0.5em 0;
	padding: 0 0 0 10px;
}
.cke_panel_list div.expands {
	padding: 0.5em 0.5em 0.5em 1.2em;
}

/* forms.css */
legend {
	font-weight: bold;
	font-size: 1.2em;
}
fieldset {
	padding: 0.5em;
	margin: 1em 0 1em 0;
	border: #ccc solid 1px;
}
fieldset.hidden {
	padding: 0.5em 0;
	margin: 0;
	border: 0;
}
input.text,
input.textsel,
input.password,
input.title,
input.file,
textarea {
	width: 99%;
}
input.submit {
	min-width: 96px;
}
input.title {
	font-size: 1.5em;
}
input.date,
input.datetime {
	width: 15em;
}
input.number {
	width: 10em;
	margin-right: 0.5em;
}
input.err {
	color: #f00;
}
span.number {
	font-size: 0.8em;
}
select.select,
select.multiple {
	width: 100%;
}
textarea,
select.multiple {
	height: 150px;
}
textarea.dump {
	min-height: 30em;
}
div.checkbox,
div.radio {
	display: inline-block;
	white-space: nowrap;
	margin-right: 0.5em;
}
div.checkbox input,
div.radio input {
	vertical-align: middle;
}
input.text.short {
	width: 2.5em;
	text-align: center;
}
input.text.price {
	width: 5em;
	text-align: right;
}
.captcha img.captcha {
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
}
div.dirlist > span {
	display: inline-block;
	cursor: default;
}
div.dirlist > span.none {
	color: #999;
}
div.dirlist > span > em {
	display: inline-block;
	padding: 0 2px;
}
div.dirlist > span > em:before {
	display: inline-block;
	padding: 0 2px;
	content: "→";
	color: #666;
}
div.dirlist > input[type=button] {
	margin: 0 4px;
}

/* profile/cart menus */
ul.null, ul.null li, 
.my_menu ul, .my_menu ul li,
ul.internal, ul.internal li{
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-type: none;
	text-align: left;
}
.my_menu,
ul.internal{
	margin: 0 0 20px;
}
.my_menu ul li,
ul.internal li{
	display: inline-block;
	vertical-align: top;
	margin: 0 26px 10px 0;
}
.my_menu ul li a,
.my_menu ul li span,
ul.internal li a,
ul.internal li span{
	display: block;
	border: 1px solid #ddd;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	color: #666666;
    padding: 2px 12px;
    text-decoration: none;
}
ul.internal li.current,
.my_menu ul li.current{
	padding: 2px 12px;
	border: 1px solid #ddd;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
}
ul.internal li.current.act,
.my_menu ul li.current.act{
	padding: 0;
	border: none;
}
.my_menu ul li a,
ul.internal li a{
	background: #efefef;
}
.my_menu ul li a:hover,
.my_menu ul li.current,
.my_menu ul li.act a,
ul.internal li span,
ul.internal li a:hover,
ul.internal li.current{
	background: #e4e4e4;
}
.my_menu ul li.current,
.my_menu ul li.act a,
ul.internal li span{
	color: #666666;
	font-weight: bold;
}

/* form Fields */
.fgroup {
	margin-bottom: 20px;
}
fieldset > .fgroup {
	margin-bottom: 0;
}
.fgroup .field {
	margin-bottom: 1em;
}
.fs_but_sumbit {
	vertical-align: top;
	width: 64px;
	padding: 0 0 0 0.2em;
}
.fgroup .d {
	float: left;
	width: 24%;
}
.fgroup .field .dw {
	width: auto;
	float: none;
}
.fgroup .c {
	width: 75%;
	float: right;
}
fieldset > .ghelp,
.fgroup .field .h {
	font-size: 0.9em;
	color: #888;
	line-height: 1.1em;
}
fieldset > .gerror,
.fgroup .field .e {
	font-size: 0.9em;
	color: #f00;
	line-height: 1.1em;
}
fieldset > .gerror ul,
.fgroup .field .e ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
fieldset > .gerror li,
.fgroup .field .e li {
	margin: 0.1em 0;
	padding: 0;
}
.sub .fgroup {
	margin-top: 0.5em;
	margin-bottom: 0;
	border: #ccc solid 1px;
	padding: 0.5em 0.5em 0;
}
.sub .fgroup .field .d {
	float: none;
	width: auto;
}
.fctl {
	border-top: #999 solid 1px;
	padding-top: 1em;
}
.fctl .c {
	margin-left: 25%;
}
.fctl .c input.submit[type="reset"]{
	margin: 0 0 0 1px;
}
.fctl .h {
	margin-bottom: 0.5em;
}
.fctl .btn {
}

/* pagelist */
.pagelist {
	padding: 3px;
	margin: 3px;
	text-align: center;
	color: #ccc;
}
.pagelist a,
.pagelist span {
	display: inline-block;
	white-space: nowrap;
}
.pagelist a {
	border: #ddd solid 1px;
	padding: 2px 5px;
	color: #aaa;
	margin: 0 2px;
	text-decoration: none;
}
.pagelist a:hover,
.pagelist a:active {
	border-color: #aaa;
}
.pagelist span {
	border: 0;
	padding: 3px 6px;
	margin: 0 2px;
	color: #aaa;
}
.pagelist span.cur {
	border: #e0e0e0 solid 1px;
	padding: 2px 5px;
	font-weight: bold;
	color: #666;
	background-color: #f0f0f0;
}

/* ask */
.ask {
	border: #ccc solid 1px;
	margin: 0;
	padding: 1em 1em 0;
}
.ask .msg,
.ask .btn {
	margin-bottom: 1em;
}
.ask .btn {
	text-align: center;
}

/* service links */
a.icon_action {
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
}
a.icon_action b {
	margin: 0 10px 0 2px;
}
a.icon_action span {
	display: inline-block !important;
	float: none !important;
	width: 16px !important;
	height: 16px !important;
	vertical-align: middle !important;
	margin: 0 2px 0 0 !important;
	padding: 0 !important;
	background: url('/lib/img/i.png') no-repeat;
}
a.icon_action span.add {
	background-position: -16px 0;
}
a.icon_action span.edit {
	background-position: -32px 0;
}
a.icon_action span.del {
	background-position: -48px 0;
}
a.icon_action span.act {
	background-position: -64px 0;
}
a.icon_action span.deact {
	background-position: -80px 0;
}
a.icon_action span.print {
	background-position: -96px 0;
}
a.icon_action span.calendar {
	background-position: -112px 0;
	border: none;
}
a.icon_action span.picadd {
	background-position: -128px 0;
}
a.icon_action span.banner {
	background-position: -144px 0;
}
a.icon_action span.gradd {
	background-position: -160px 0;
}
a.icon_action span.unpack {
	background-position: -176px 0;
}
a.icon_action span.plus {
	background-position: -192px 0;
}
a.icon_action span.search {
	background-position: 0 0;
}
a.icon_action span.search-off {
	background-position: 0 0;
}
a.icon_action span.hidden {
	background-position: -64px 0;
}
a.icon_action span.cover {
	background-position: -512px 0;
}

td a.icon_action b {
	display: none;
}

/* arrows like in sitemap */
span.arrows a,
span.arrows u {
	display: inline-block;
	text-decoration: none;
}
span.arrows u {
	font-size: 10pt;
	margin: 0;
	margin-right: 1px;
	padding: 2px;
}
span.arrows u.a {
	color: #00c;
	background-color: #ccf;
}
span.arrows u.p {
	color: #999;
}
span.arrows u.a2 {
	color: #c00;
	background-color: #fcc;
}
span.arrows u.p2 {
	color: #999;
}
span.arrows u.t {
	text-decoration: overline;
}
span.arrows u.e {
	text-decoration: underline;
}

/* search */
#search table tr td{
	vertical-align: middle;
}
#search .fs_but_sumbit{
	width: 200px;
	padding: 0 0 0 15px;
}
#search .fgroup,
#search .fgroup .field{
	margin: 0;
}
#search .fgroup{
	display: inline-block;
    width: 100%;
}
#search .fgroup .d{
	text-align: center;
	padding: 3px 0 0;
}

/* files */
.fs_delete_all {
	margin: 5px 0;
	display: block;
}
.flist {
	margin: 0;
	padding: 0;
	font-size: 85%;
	list-style-type: none;
	/*overflow: hidden;*/
}
.flist > li {
	width: 46%;
	margin: 0 3% 15px 0;
	display: block;
	float: left;
	height: 80px;
	position: relative;
	border: 0;
	padding: 11px 1px 1px 1px;
}
.flist .servicelinks {
	display: none;
	position: absolute;
	top: -1px;
	right: -1px;
	padding: 5px;
	margin: 0;
	border-radius: 0 0 0 5px;
	-moz-border-radius: 0 0 0 5px;
	-webkit-border-radius: 0 0 0 5px;
	-khtml-border-radius: 0 0 0 5px;
}
.flist .servicelinks a.button{
	padding: 3px 4px;
    text-align: center;
	width: 28px;
}
.flist .servicelinks a i{
	margin: 0;
	font-size: 14px;
	color: #2F3F5C;
}
.flist .servicelinks a i.red{
	color: #CA2200;
}
.flist .status-icons {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	padding: 3px 5px;
}
.flist li.admin_border:hover {
	outline: #20283B dashed 1px;
}
.flist li:hover .servicelinks {
	display: block;
}
.flist a.ficon {
	display: block;
	float: left;
	width: 64px;
	height: 60px;
	padding: 4px 0 0 0;
	margin: 0 10px 0 0;
	color: #fff;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	font-size: 13px;
	background: url('/lib/img/filetypes64.png') no-repeat 0 0;
}
.flist a.icon_action b {
	display: none;
}
.flist .fdesc {
	padding: 6px 0 0 0;
}
.flist .fdesc a {
	font-weight: bold;
}
.flist .fdesc p {
	text-indent: 0em;
}
.flist p {
	color: #aaa;
	font-size: .8em;
}
.flist a.dzip,
.flist a.d7z {
	background-position: 0 -64px;
}
.flist a.drar {
	background-position: 0 -128px;
}
.flist a.dgif {
	background-position: 0 -192px;
}
.flist a.djpg,
.flist a.djpeg {
	background-position: 0 -256px;
}
.flist a.dmp3,
.flist a.dwav {
	background-position: 0 -320px;
}
.flist a.davi,
.flist a.dmpg,
.flist a.ddivx,
.flist a.dflv {
	background-position: 0 -384px;
}
.flist a.dpdf {
	background-position: 0 -448px;
}
.flist a.ddoc,
.flist a.ddocx,
.flist a.drtf {
	background-position: 0 -512px;
}
.flist a.dxls,
.flist a.dxlsx {
	background-position: 0 -576px;
}
.flist a.dppt,
.flist a.dpptx {
	background-position: 0 -640px;
}
.flist a.dtxt {
	background-position: 0 -704px;
}
.flist a.dxsl {
	background-position: 0 -768px;
}
.flist a.dchm {
	background-position: 0 -832px;
}

/* comments */

.comment_item {
	margin: 8px 0;
}
/*.maintext .comment_item .comment-body .hover .deact,
.maintext .comment_item .comment-body .hover .act,
.maintext .comment_item .comment-body .hover .act-tree,
.maintext .comment_item .comment-body .hover .deact-tree{
	display: none;
}*/
.maintext .comment_item .comment-body .reply_button.hover,
.maintext .comment_item .comment-body .hover.actions,
.maintext .comment_item .comment-body .hover .del,
.maintext .comment_item .comment-body .hover .edit,
.comment_item .comment-body:hover .hover{
	display: inline-block;
}
.comment_item .info {
	position: relative;
}
.comment_item .pre-moderation-notice {
	margin: 2px 5px 0 0;
	padding: 0.2em 0.5em;
}
.comment_item .reply_button {
	margin: 0 5px 0 0;
	cursor: pointer;
}
#content .comment_item .reply_button.inset{
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
#content .comment_item .usr .reply_button{
	border-bottom: 1px dashed;
}
#content .comment_item .usr .actions a,
#content .comment_item .usr .reply_button{
	text-decoration: none;
}
#content .comment_item .usr .actions a{
	border-bottom: 1px solid;
}
#content .comment_item .usr .actions a:hover,
#content .comment_item .usr .reply_button:hover{
	border: none;
	padding: 0 0 1px;
}
.comment_item .links .hover{
	vertical-align: middle;
}
.comment_item .button-bar a.alink b {
	display: none;
}
.comment_item .comment-body {
	background: none;
	border: none;
	border-top: 1px solid #444;
}
.comment_item .comment-body .last-mod{
	font-size: 0.75em;
	padding: 0.5em 6px 0.1em 6px;
	color: #666;
}
#content .comment_item .comment-body{
	padding: 0 1px 1px 1px;
}
#content .comment_item .comment-body .links{
	padding: 5px;
	top: 0;
	/* height: 25px; */
	border-radius: 0 0 0 5px;
	-moz-border-radius: 0 0 0 5px;
	-webkit-border-radius: 0 0 0 5px;
	-khtml-border-radius: 0 0 0 5px;
	float: right;
	margin: -1px -1px 0 0;
}
#content .comment_item .comment-body .links input[type="checkbox"]{
	margin: 0;
	vertical-align: middle;
}
#content .comment_item .comment-body .links.adm{
	background: url("/tpl/img/controlbar.jpg") repeat-x scroll 0 0 #20283B;
}
#content .comment_item .comment-body .links i{
	margin: 0 4px 0 0;
}
#content .comment_item .comment-body .actions .button [class^="icon-"]{
    font-size: 14px;
    margin: 0;
}
#content .comment_item .comment-body .button,
#content .comment_item .comment-body .links a{
	color: #2F3F5C;
}
#content .comment_item .comment-body .button{
	padding: 3px 4px;
    text-align: center;
}
#content .comment_item .comment-body .actions .button{
	width: 28px;
}
#content .comment_item .comment-body.adm:hover{
	outline: 1px dashed #20283B;
}
.comment_item .reply_comments .comment-body {
	border: none;
	border-top: 1px solid #ccc;
}

.comment_item .reply_comments {
	margin-left: 40px;
}

.comment_item .reply_comments .no-margin {
	margin-left: 0;
}

.comment_item .comment-body.blocked {
	font-size: 0.9em;
	color: #666;
}

.comment_item .comment-body.blocked img {
	vertical-align: middle;
}

.comment_item .comment-body .add-date {
	color: #888;
	font-size: 0.8em;
}

.comment_item .comment-body .author_head img,
.comment_item .comment-body.blocked img {
	border: 1px #ddd solid;
	padding: 1px;
}

.comment_item .comment-body .author_head >* {
	vertical-align: middle;
}

.comment_item .comment-body > .text {
	padding: 0 6px 4px 6px;
}

.comment_item .comment-body > .text p {
	text-indent: 0;
}

.comments_block .comment_form button {
	margin: 4px;
}

.comments_block .comment_form {
	border-top: #ddd 1px dashed;
	padding: 5px 15px 10px;
	background: #EEE;
}

.comments_block .comment_form .fgroup .c,
.comments_block .comment_form .fgroup .d {
	float: none;
	width: auto;
}

.comments_block .comment_form .fgroup .field {
	margin-bottom: 6px;
}

.comments_block .comment_form textarea {
	height: 80px;
}

.comment-body.blocked .notice.pre-moderation-notice.part{
	display: block;
	float: right;
}
.comments_block .border{
	border: none;
	border-top: 1px solid #444;
	padding:10px 4px 4px 4px;
	margin:4px 0px 4px 0px;
}

/* login block */

#login {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
	z-index: 3000;
	font-family: Tahoma, sans-serif;
}
#login .in,
#login .in2 {
	display: inline-block;
	width: 16px;
	height: 16px;
}
#login .in2 {
	background: url('/lib/img/i.png') no-repeat -416px 0;
}
#login_form {
	display: block;
	position: absolute;
	z-index: 3001;
	right: 10px;
	top: 40px;
	width: 350px;
	height: auto;
}
#login_form table {
	width: 100% !important;
}
#login_form table input.text {
	border: #ccc solid 1px;
	margin: 0;
	padding: 2px;
	width: 100%;
}
#login_form table input:focus.text {
	border-color: #888;
}
#login_form table td.i {
	padding-right: 6px;
}
#login_form p {
	margin: 0 !important;
}
#login #sysmenu {
	display: inline-block;
	vertical-align: bottom;
	position: relative;
}
#login .guest,
#sysmenu a.opt,
#login .out,
#login a{
	text-decoration: none;
}
#login .guest{
	color: #A3A5AB;
}
#login .homepage,
#login .smap,
#login .guest,
#sysmenu .opt span,
#login .out span {
	display: inline-block;
	width: auto;
	height: 16px;
	vertical-align: middle;
	margin-right: 2px;
}
#login .smap, #login .homepage {
	margin-right: 20px;
}
#login .out,
#sysmenu,
#login .guest {
	margin: 0 2px;
}
#login_form,
#settings_menu {
	border: #ccc solid 1px;
	border-right-color: #666;
	border-bottom-color: #666;
	background: #fff;
	padding: 8px;
	text-align: left;
}
#settings_menu {
	display: none;
	position: absolute;
	z-index: 3001;
	margin-top: -1px;
	right: -40px;
}
#settings_menu ul {
	list-style: none;
	border: 0;
	margin: 0;
	padding: 0;
}
#settings_menu li {
	display: block;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
#settings_menu li [class^="icon-"],
#settings_menu li [class*=" icon-"] {
	margin-right: 14px;
	font-size: 14px;
}

#settings_menu li [class^="icon-"],
#settings_menu li [class*=" icon-"],
#settings_menu li a {
	color: #777;
	text-decoration: none;
}
#settings_menu li a.act,
#settings_menu li span {
	color: #000;
}
#settings_menu li a:hover {
	text-decoration: underline;
}
#sysmenu.hover #settings_menu,
#sysmenu:hover #settings_menu {
	display: block;
}
#sysmenu.hover a,
#sysmenu:hover a {
	text-decoration: none;
}

/* expandable block */
.maintext div.expands,
.icut-block {
	border: #999 solid 1px;
}
.icut-block > .icut-title {
	display: block;
	padding-left: 15px;
	background: #eee url('/lib/img/listbul_plus.gif') 4px center no-repeat;
	cursor: pointer;
}
.icut-block > .icut-title .t {
	text-decoration: none;
}
.maintext div.expands:before {
	background: #eee;
	content: attr(title);
	display: block;
	padding: 2px;
	border-bottom: #999 solid 1px;
}
.icut-block > .icut-body {
	padding: 0.5em 0.5em 0;
}
.icut-block > .icut-body {
	display: none;
	border-top: #999 solid 1px;
	margin: 0 0 0.5em;
}
.icut-block.open > .icut-title {
	background-image: url('/lib/img/listbul_minus.gif');
}
.icut-block.open > .icut-body {
	display: block;
}

/* iBlurHint */
.i-blur-hint {
	position: relative;
	border: #aaa solid 1px;
	padding: 2px;
	background: #fff;
}
.i-blur-hint label {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 2px;
	color: #aaa;
	cursor: text;
}
.i-blur-hint input,
.i-blur-hint textarea {
	display: block;
	position: relative;
	margin: 0;
	border: 0;
	padding: 0;
	background: transparent;
	width: 100%;
	outline: 0;
}
.i-blur-hint label,
.i-blur-hint input,
.i-blur-hint textarea {
	font: normal 100%/normal Verdana, Tahome, sans-serif;
}
.i-blur-hint.i-blur-hint-title {
	padding-right: 18px;
}
.i-blur-hint.i-blur-hint-title span.i-blur-hint-title {
	display: inline-block;
	width: 16px;
	height: 16px;
	position: absolute;
	right: 1px;
	top: 50%;
	margin-top: -8px;
	cursor: help;
	background: url('/lib/img/i.png') no-repeat -336px 0;
}

.inplace_form button {
	margin-top: 5px;
}

#domains-form {
	background: white;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #95A0AD;
	margin: 10px 0;
}

.ui-slider-handle .tooltip {
	position: absolute;
	top: -25px;
	left: -7px;
	width: 35px;
	height: 20px;
	text-align: center;
	font: 10pt Tahoma, Arial, sans-serif ;
	border-radius: 3px;
	border: 1px solid #333;
	box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, .3);
	box-sizing: border-box;
	background: linear-gradient(top, rgba(69,72,77,0.5) 0%,rgba(0,0,0,0.5) 100%);
}

#debug-page-render-time {
	position: absolute;
	left: 5px;
	top: 2px;
	font-size: 10px;
}
