/* -----------------------------------------------------------------------
   i-deal CSS Framework v.1.0
   Copyright (c) 2008-2009
----------------------------------------------------------------------- */

/* reset.css */
html, 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, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5em;}
table {border-collapse:collapse;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* 100 height */
html {height:100%;}
body {height:auto !important;height:100%;min-height:100%;}
html, body {margin: 0;padding: 0;border: 0;width: 100%;}
html {height: 100%;overflow: auto; /* Иначе у IE6 начинаются проблемки с вертикальной полосой прокрутки */}
* html body {height: 100%; /* IE 6 */}
body {min-width:1000px;}

img {behavior: url("/fckeditor/png.htc");}
p {margin:0 0 1.5em;}
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;}
table {margin-bottom:0;width:100%;}
td {padding:0;}
td.left {text-align: left;}
td.center {text-align: center;}
td.right {text-align: right;}
tr.small {font-size: 0.8em; line-height:1.5em;}
td.top {vertical-align:top !important;}
tfoot {font-style:italic;}
caption {text-align: right; font-style: italic; color: #999; font-size: 0.7em; padding: 5px 15px;}
div.import, span.import {border: #ccc dotted 1px; padding: 5px 10px 5px 65px; margin: 5px 15px;}
div.import#form, span.import#form {background: #fee url("/img/buttons/editor_form.gif") top left no-repeat;}
div.import#include, span.import#include {background: #eef url("/img/buttons/editor_file.gif") top left no-repeat;}
div.import#module, span.import#module {background: #efe url("/img/buttons/editor_module.gif") top left no-repeat;}
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:1px;margin:2em 0 1.45em 0;border:none;}
hr.space {background:#fff;color:#fff;}
.png{filter: expression(fixPNG(this));}
.error, .notice, .success {padding:0.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.error a {color:#8a1f11;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.notice a {color:#514721;}
.success {background:#E0FFE0;color:#264409;border-color:#80E080;}
.success a {color:#264409;}
.border {border:2px solid #CCC;}

/* forms.css */
label {font-weight:normal; white-space: nowrap}
legend {font-weight:bold}
fieldset {padding:0.5em 3% 0.5em 3%;margin:1em 0 1em 0; border:1px solid #CCC;}
fieldset.hidden {border: 0; padding: 0.5em 0; margin: 0}
input.text, input.textsel, input.password, input.title, input.file, textarea {width:98%; padding: 2px 1%}
input.submit {width:96px; height:24px;}
input.title {font-size:1.5em;}
input.date, input.datetime {width:15em;}
select.select, select.multiple {width: 100%}
textarea, select.multiple {height:50px;}
textarea, select, input {margin: 3px 0;}
textarea.large {height:500px;}
option.selected {}
div.checkbox, div.radio {display:inline; white-space:nowrap; margin-right:0.5em; font-size: .9em}
div.checkbox input, div.radio input {margin-right: 5px;}
input.text.short {width:2.5em; text-align:center;}
input.text.price {width:5em; text-align:right;}
/* dropdown list on ajax */
div.ajaxList {color:#000; width:auto !important; display:block; position:absolute; visibility:hidden;background:#fff;border:#ccc solid 1px; margin:0px !important;padding:0px !important; font-size:0.8em; font-family: Tahoma, Arial, Verdana, sans-serif;}
div.ajaxListContent {background:#fff; margin:0px !important;padding:2px !important;}
div.ajaxListControl {background:#eee; margin:0 !important;padding:0 !important; text-align:right !important;}
span.ajaxListButton {display:inline !important; line-height: normal !important; width:10pt !important; height:10pt !important; margin:0 !important; padding:0 !important; color:#000;font-family:Tahoma;font-weight:bold;font-size:8pt !important;cursor:pointer;}
.ajaxListItem {display:block !important; width:100% !important; line-height:normal;background:#fff; margin:0px !important; padding:0px !important;}
.ajaxListItem.selected {background:#fdd;}

/* Оформление форм */
.ft {width: 27%; float: left; clear: both; font-size: .8em}
.fi {width: 73%; float: left; margin-bottom: 8px}
.fh {font-size: .7em; color: #999; line-height: normal; clear: both;}
.subform {clear: both}

/* Список ссылок на страницы */
.pagelist {padding:3px; margin: 3px; text-align: center; color: #ccc}
.pagelist a {border: #ddd solid 1px; padding: 2px 5px; color: #aaa; margin: 0 2px; text-decoration: none}
.pagelist a:hover {border: #a0a0a0 solid 1px;}
.pagelist a:active {border: #a0a0a0 solid 1px;}
.pagelist span {border:#fff solid 1px; padding: 2px 5px; margin: 0 2px; color:#aaa;}
.pagelist span.cur {border-color: #e0e0e0; font-weight: bold; color: #666; background-color: #f0f0f0}

/* sitemap */
ul.smp {margin:0; padding:0;}
ul.smp li {list-style: none; font-size:12px; margin:0; padding:0;}
ul.smp li ul {margin: 0;}
ul.smp li ul div.h {margin-left:24px; font-size:8pt; color:#999;}
ul.smp li ul li {margin-left:24px;}
ul.smp li span {display: block; width:100%; vertical-align:middle; margin:0; padding:0;}
ul.smp li span.s {background:#eee;}
ul.smp li span:hover,
ul.smp li span.s:hover {background:#ddd;}
ul.smp li span a {text-decoration:none;}
ul.smp li span i {color:#999; font-style:normal; border:#ddd solid 1px; padding:0 0.2em; margin:0 0.2em;}
ul.smp li span label {clear:both; float:left; font-size:inherit; font-weight:normal; margin:0; padding:0;}
ul.smp li span label a {font-size:10pt;}
ul.smp li span label u {font-size:10pt; margin:0; margin-right:1px; padding:2px; text-decoration:none;}
ul.smp li span label u.a {color:#00c;background-color:#ccf;}
ul.smp li span label u.p {color:#999;}
ul.smp li span label u.a2 {color:#c00;background-color:#fcc;}
ul.smp li span label u.p2 {color:#999;}
ul.smp li span label u.t {text-decoration:overline;}
ul.smp li span label u.e {text-decoration:underline;}
ul.smp li span a.edit {display: block; float: left; width: 16px; height: 16px; background: url('/img/buttons/file_edit.gif') no-repeat;}
ul.smp li span a.del {display: block; float: left; width: 16px; height: 16px; background: url('/img/buttons/file_del.gif') no-repeat;}
ul.smp li span a.add {display: block; float: left; width: 16px; height: 16px; background: url('/img/buttons/file_add.gif') no-repeat;}
ul.smp li span a {font-size:14pt;}
ul.smp ul li span a {font-size:12pt;}
ul.smp ul ul li span a {font-size:10pt;}
ul.smp ul ul ul li span a {font-size:8pt;}

ul.tpl_list {list-style:none; margin:0; padding:0;}
ul.tpl_list li {margin:0; padding:0;}
ul.tpl_list li.even {background:#eee;}
ul.tpl_list li.grey,
ul.tpl_list li.grey a {color:#888;}
ul.tpl_list a {text-decoration:none;}
ul.tpl_list img {margin-right:0.2em; vertical-align:middle;}
ul.tpl_list span {display:inline-block; white-space:nowrap;}
ul.tpl_list span.t {width:20em;}
ul.tpl_list span.s {width:4em; font-size:0.8em; margin-left:1em; text-align:right;}
ul.tpl_list span.p {width:2em; font-size:0.8em; margin-left:1em;}

