body {
	margin: 0;
	padding: 0;
	font-family: arial;
	color: #444;
	font-size: 90%;
}

.png { behavior:url(/css/iepngfix.htc); }
a { color:#C00; }
a .gray { color:#666; }
.left { float:left;	}
.right { float:right; }
img { border:0; }
.toggle-window { color:#C00; border-bottom:1px dashed; cursor:pointer; text-decoration:none; }
.nomargin { margin:0; }

.error { color:#C00; }
.clickable { cursor:pointer; }
body .btn-red { background:url(/i/btn/red-bg.gif) 0 0 repeat-y #B70000; border:0; color:White; padding:0.2em 0.5em; cursor:pointer; }
.z-wnd .btn-red { background-image:none; background-color:White; color:#B70000; }

.first { margin-top:0; }
h1 { font-weight:normal; }
h1, h2, h3, h4, .title, .subtitle { font-family:sans serif; }
video { color:#C00; border:1px solid; background-color:#FCC; }

#zDebug {
	color:Red; width:14em; background-color:#FFF0F0; opacity:0.4;
	position:absolute; top:0; left:1em; z-index:1818;
}

#zDebug:hover { opacity:1; }

.z-switcher { border-bottom:1px dashed; text-decoration:none; cursor:pointer; }
.hidden { display:none; }

input.text, textarea.text { border:1px solid #A5ACB2; }
.form-row { margin-bottom:0.2em; }
.form-row input { margin-right:1em; }

.zhelezona { color:#666; }
.zhelezona span { color:#C00; }

.author {
	font-style: italic;
}

/* Хедер страницы */
#header {
	padding: 2em;
}

#header .inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

#header .logo {
	display: block;
	background: url(/i/logo.png) 0 0 no-repeat;
	width: 62px;
	height: 62px;
	float: left;
	cursor: pointer;
}

#header .site-name {
	display: block;
	background: url(/i/zhelezona.png) 0 0 no-repeat;
	width: 242px;
	margin-top: 10px;
	margin-left: 25px;
	float: left;
	text-decoration: none;
	color: #666;
}

#header .slogan {
	text-decoration: none;
	color: #666;
}

#header .ads {
	margin-left:350px;
}


/* Меню пользователя */
#userMenu {
	background: url(/i/user-menu/bg.gif) 0 0 repeat-x;
	padding: 0 2em;
}

#userMenu .inner {
	height: 30px;
	line-height: 30px;
	vertical-align: middle;
	width: 100%;
}

#goHome {
	background: url(/i/ico/home.gif) 0 0 no-repeat;
	display: block;
	text-decoration: none;
	width: 11px;
	height: 10px;
}

#goContacts {
	background: url(/i/ico/contacts.gif) 0 0 no-repeat;
	display: block;
	text-decoration: none;
	width: 13px;
	height: 9px;
}

#userMenu #goHome, #userMenu #goContacts {
	float: left;
	margin-right: 1.5em;
}

#userMenu #goHome {
	margin-top: 10px;
}

#userMenu #goContacts {
	margin-top: 11px;
}

#userMenu a.left {
	 margin-left:1em;
}

#userMenu a.selected {
	 font-weight:bold;
}


#userMenu a.right {
	 margin-right:1em;
}

#userMenu .login-btn {
	display:block;
	padding: 0 2em;
	margin-top: -1px;
	height: 32px;
	cursor: pointer;
	float: right;
}

/* Контент */
#content {
	padding: 2em;
}

#content .layout {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

#content .layout .c-left { width:16em; }
#content .layout .c-right { width: 16em; }
#content .c-main .c-main-inner { margin: 0 1.5em; }

#content .c-left .menu {
	width: 100%;
	position: relative;
	margin-bottom: 1.5em;
}

#content .c-left .menu-top {
	background: url(/i/ico/logo1.png) 0 0 no-repeat	;
	border-bottom: 2px solid #C30;
	font-size: 1px;
}

#content .c-left .menu-top div {
	background: url(/i/ico/logo2.png) 100% 0 no-repeat;
	height: 4px;
	width: 100%;
}

#content .c-left .menu-bottom {
	background: url(/i/ico/logo4.png) 0 0 no-repeat;
	border-top: 2px solid #C30;
	font-size: 1px;
}

#content .c-left .menu-bottom div {
	background: url(/i/ico/logo3.png) 100% 0 no-repeat;
	height: 4px;
	width: 100%;
}

#content .c-left .menu .item {
	background:url(/i/btn/red-bg.gif) 0 0 repeat-y #B70000;
	padding: 0.4em 0.8em;
	border-bottom: 1px solid #B80000;
}

#content .c-left .menu .item a {
	color: White;
	text-decoration: none;
}

#content .c-left .submenu {
	background: url(/i/submenu-bg.gif) 0 0 repeat #E7D4D4;
	width: auto;
	margin: 0 1px;
}

#content .c-left .submenu .item {
	position: relative;
	background: none;
	padding: 0.2em 0.8em;
	border-bottom: 0;
}

#content .c-left .submenu .item a {
	color: #C30;
	text-decoration: underline;
}

#content .block {
	margin-bottom: 1.5em;
}

#content .block .content {
	margin-top: 0.5em;
}

#content .block .title {
	color: #333;
	font-size: 1.5em;
}

#content .block .subtitle {
	color: #666;
	font-size: 1.3em;
}

#content .block .desc {
	font-size:0.9em;
}

.c-left .block .desc {
	text-align:center;
}

/* Футер */
#footer {
	background: url(/i/user-menu/bg.gif) 0 0 repeat-x;
	padding: 0 2em;
}

#footer .inner {
	height: 30px;
	line-height: 30px;
	vertical-align: middle;
	width: 100%;
}

#footer .right {
	margin-left: 1em;
}

#footer .left {
	margin-right:1em;
}

.tag1 { font-size:0.8em; }
.tag2 { font-size:1em; }
.tag3 { font-size:1.2em; }
.tag4 { font-size:1.4em; }
.tag5 { font-size:1.6em; }
.tag6 { font-size:1.7em; }
.tag7 { font-size:1.8em; }
.tag8 { font-size:1.9em; }

/* Пост */
.post { margin-bottom:1em; padding-bottom:1em; background:url(/i/border/dashed.gif) 0 100% repeat-x; }
.post h1 { font-size:1.6em; font-weight:normal; margin:0; font-family:sans serif; }
.post .post-head { width:100%; overflow:hidden; }
.post .post-head .left { width:65%; }
.post .post-head .right { text-align:right; padding-top: 0.6em; width:30%; }
.post .post-foot { width:100%; overflow:hidden; font-size: 0.9em; }
.post .post-foot div.separator { padding:0 0.6em; }
.post .post-foot td { white-space:nowrap; }
.post-foot .link-to-service { margin-right:1em; }
.post table.post-foot td.separator { width:100%; }

.post img { max-width:100%; }

.pages a.p { background-color:#F5E2E2; border:1px solid #E9B2B2; padding:0.2em 0.5em; }
.pages span.p { background-color:White; border:1px solid #E9B2B2; padding:0.2em 0.5em; }

/* Форма регистрации */
form.register td input { border:1px solid #A5ACB2; }
form.register th { font-weight:normal; text-align:left; }

ul.errorlist { list-style-image:none; margin:0; padding:0; }
ul.errorlist li { list-style:none; color: #C00; margin:0; padding:0; }

/* Комментарии */
.comment { padding:0.5em 0.2em; }
.comment-even { background-color:#FFF4F6; }

.live h2 { margin-bottom:0.3em; }
.live-item { margin-bottom:0.3em; }

/* Добавление поста */
.post-form ul { list-style:none; padding:0; margin:0; }
.post-form li { list-style:none; margin-bottom:1.5em; }
.post-form input, .post-form textarea { width:100%; }
.post-form .button { width:auto; }

/* Рейтинг */
.rate { background:url(/i/rate/all.gif) 0 0 no-repeat; width:56px; height:18px; cursor:pointer; }
.rate1 { background-position: 0 -18px; }
.rate2 { background-position: 0 -36px; }
.rate3 { background-position: 0 -54px; }
.rate4 { background-position: 0 -72px; }
.rate5 { background-position: 0 -90px; }

/* Голоса */
.rating { font-size:1.6em; }
.rating .score { color:#C00; padding:0 2px; }
.rating-negative .score { color: #444; }
.rating img { width:13px; height:16px; background-image:url(/i/rate/arrows.gif); background-repeat:no-repeat; }
.rating .up { background-position:0 0; }
.rating .down { background-position:-26px 0; }
.rating1, .rating-1 { cursor:default; }
.rating-hover-up .up, body .rating1 .up { background-position:-13px 0; }
.rating-hover-down .down, body .rating-1 .down { background-position:-39px 0; }


/* Окна */
.z-wnd { position:absolute; z-index:200; }
table.z-wnd, .z-wnd table.z-wnd-tbl { border-collapse:collapse; border-spacing:0; }
.z-wnd td { padding:0; }
.z-wnd .z-wnd-t  { position:relative; }
.z-wnd td.z-wnd-b img, .z-wnd td.z-wnd-t img { display:none; }
.progress1 .z-wnd-body { background:url(/i/progress.gif) center center no-repeat; }

.z-wnd-zh td.z-wnd-tl div { background: url(/i/wnd/zh/tl.png) 0 0 no-repeat!important; background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/wnd/zh/tl.png'); width: 7px; height: 4px}
.z-wnd-zh td.z-wnd-t { width: auto; height: 4px}
.z-wnd-zh td.z-wnd-tr { background: url(/i/wnd/zh/tr.png) 0 0 no-repeat!important; background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/wnd/zh/tr.png'); width: 7px; height: 4px}
.z-wnd-zh td.z-wnd-l { background-color:#c73300; width: 7px; height: auto}
.z-wnd-zh td.z-wnd-r { background-color:#c73300; width: 8px; height: auto}
.z-wnd-zh td.z-wnd-bl {background: url(/i/wnd/zh/bl.png) 0 0 no-repeat!important; background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/wnd/zh/bl.png'); width: 7px; height: 4px}
.z-wnd-zh td.z-wnd-b {width: auto; height: 4px}
.z-wnd-zh td.z-wnd-br { background: url(/i/wnd/zh/br.png) 0 0 no-repeat!important; background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/wnd/zh/br.png'); width: 8px; height: 4px}
.z-wnd-zh .z-wnd-c { background-color:#c73300; padding:0.5em; position:relative; width:280px; }
.z-wnd-zh, .z-wnd-zh a { color:White; }

/* Формы */
form dl { margin:0; padding:0; }
form dt { margin:1em 0 0.2em 0; padding:0; }
form dd { margin:0; padding:0; }
form input { border:1px solid #A5ACB2; }

form ul { margin:0; padding:0; }
form li { margin:1em 0 0 0; padding:0; list-style:none; list-style-image:none; }
form li label { display:block; }

.post-form label { color:#B70000; font-weight:bold; font-size:1em; }
.post-form li { color:#999999; }

.add-to-blog label { font-weight:bold; }
.add-to-blog input { width:300px; }
.add-to-blog textarea { width:300px; height:4em; }

.tag-description { background-color:#fff0f0; padding:0.1em 0.4em; margin:0.5em 0 1em; }
