/* FIRST */

* { padding: 0; margin: 0; }
html, body { margin: 0; padding: 0; }
body { font: 62.5% Verdana, Tahoma, Arial, sans-serif; }

p { margin: 3px 0px 7px 0px;}
p.info {margin: 7px 0px 15px 0px; font-style: italic;}


ul, ol {margin-left: 30px;}



a { color: #10330F; text-decoration: none;}
a:hover { color: green; text-decoration: underline; }
a:active { color: green; }

a img { border: none; text-decoration: none;} /* ie fix*/
a img, a:visited img, a:hover img, a img:hover, img+a, img+a:hover { border: none; text-decoration: none;}


/* H */
h1 {font-size: 14pt; font-weight: normal; margin: 0 0 5px 0;}
div.admin-header h1 {font-size: 16pt; margin: 0; font-weight: normal;}
h1.content {background: #D7E7C8; padding: 5px; color: green;}
h2 {font-size: 11pt; margin: 5px 0;}
h3 {font-size: 10pt; margin: 5px 0;}
h4 {font-size: 9pt; margin: 3px 0;}
h5 {font-size: 8pt; margin: 3px 0;}
h6 {font-size: 7pt; margin: 3px 0;}


/* STRUCTURE */

#container {font-size: 9pt; width: 100%;}
#mc {float: left; width: 100%;  background: url(images/bg-menu.gif) repeat-y;}

div.admin-header {background: #10330F url(images/bg-header.jpg) repeat-x; color: white; padding: 10px; border-bottom: 1px #668D61 solid;}
div.admin-header a {color: white;}

div.admin-content {min-heig1ht: 250px; margin: 0 0 0 250px; padding: 10px; border-left: 2px #235826 solid; }

div.admin-menu {width: 250px; background: #D7E7C8; color: #10330F; float: left; border-right: 2px #235826 solid;}
div.admin-menu div.r { padding: 10px 0 10px 0;}

div.admin-footer {clear: both; background: #10330F url(images/maxsitelogo-green.png) no-repeat right 3px; padding: 15px 0 10px 10px; color: white; text-align: center;}
div.admin-footer a {color: white;}


div.admin-widget {margin: 0; border: 2px solid #10330F; padding: 20px; text-align: center; color: #10330F; -moz-border-radius: 10px; background: #F9FFEE;}

ul.admin-menu {margin: 0 0 0 10px;}
ul.admin-menu li {padding-top: 3px;  font-size: 10pt; }
ul.admin-submenu {list-style-type: square;}
ul.admin-menu li.admin-menu-top { font-size: 14pt; list-style-type: none; padding-top: 10px;}

li.admin-menu-selected a {text-decoration: underline;}

ul.widgets-allow {line-height: 2.1em;}
ul.widgets-allow b {font-size: 10pt;}

div.admin-h-menu {padding: 5px; background: #10330F; color: white; margin-bottom: 10px; }
div.admin-h-menu a {color: white;}
div.admin-h-menu a.select {text-decoration: underline;}

table.page td {padding: 3px;}
table.page td.alt {}
table.page th {padding: 3px;  background: #D7E7C8; color: #10330F;}
table.page tr {background: #FEFEFB;}
table.page tr.alt {background: #D7E7C8;}

input.f_header {width: 99%; margin: 5px auto 5px auto; color: #333399; padding: 2px; font-size: 18pt;}


div.update {padding: 10px; background: #D0FFD0; margin-bottom: 10px;}
div.error {padding: 10px; background: #FFD0D0; margin-bottom: 10px;}

.gray {color: gray;}
.gray a {color: gray;}

div.block_page {background: #D7E7C8; border: #94A972 1px solid; margin: 0 0 10px 0; padding: 5px 10px 10px 10px; -moz-border-radius: 10px;}
div.block_page h3 {border-bottom: #94A972 1px solid; margin: 0 0 10px 0; color: #10330F;}
div.block_page p {margin: 0;}

div.page_meta {background: #D7E7C8; border-color: #235826; -moz-border-radius: 0px;}
div.page_meta h3 {border: none; color: #404040; margin: 0 0 3px 0;}
div.page_meta div {background: #FEFEFB; margin: 10px 0 10px 0; border: #235826 1px solid; padding: 5px 10px; -moz-border-radius: 10px;}
div.page_meta p {font-style: italic;}

div.page_files {}

div.page_files div.frame {height: 470px; width: auto; overflow: auto;}
*html div.page_files div.frame {overflow: scroll;}
*+html div.page_files div.frame {overflow: scroll;}

div.page_files div.frame table {backgro1und: #F0F0F0;}
div.page_files div.frame table td {backg1round: #E0E0E0;}
*html div.page_files div.frame table {width: 96%;}
*+html div.page_files div.frame table {width: 96%;}

div.page_files div.frame input {width: 99%;}
*html div.page_files div.frame input {width: 500px;}
*+html div.page_files div.frame input {width: 500px;}

div.page_files div.frame input.check_files {width: auto;}
div.page_files div.frame #gallerycodeclick {width: auto;}

div.cat_page ul {list-style-type: none; margin-left: 0px;}
div.cat_page ul ul {margin-left: 20px;}

div.admin-edit-widgets {margin-bottom: 30px; padding: 5px 10px 10px 10px; background: #D7E7C8; -moz-border-radius: 10px;}
div.admin-edit-widgets-form {border: #94A972 1px solid; margin: 10px 0 10px 0; padding: 1px 10px 10px 10px; background: white; -moz-border-radius: 10px; border-bottom: #807070 2px solid; border-right: #807070 2px solid;}
div.admin-edit-widgets-form h3 {color: #0D419B;}
div.admin-edit-widgets-form input {width: 500px; font: 10pt Courier New, mono;}
div.admin-edit-widgets-form textarea {width: 500px;}
div.admin-edit-widgets-form select {width: 500px;}


div.t150, div.t200, div.t250 {width: 150px; text-align: right; float: left; margin: 0 5px; font-weight: bold;}
div.t200 {width: 200px;}
div.t250 {width: 200px;}

div.admin_plugin_options {border: 1px gray solid; background: #E0E0E0; padding: 5px; margin: 0 0 15px 0; line-height: 1.5em;}
div.admin_plugin_options strong {}
div.admin_plugin_options input {width: 99%;}
div.admin_plugin_options input.checkbox { width: auto;}
div.admin_plugin_options textarea { width: 99%;}
div.admin_plugin_options select { width: 99%;}

label {cursor: pointer;}
input[type='checkbox'] {cursor: pointer;}

/* It written nicothin */
textarea {width:99%}
table input[type=text] {width:99%}
input[type='checkbox'] {vertical-align:middle}
select {max-width:99%}
td select  {width:99%}
th {text-align:left}
table.new_or_edit {width: 99%; border: none; line-height: 1.4em;} /* создать/редактировать страницу */
	td.editor_and_meta {padding: 0 10px 0;vertical-align: top;} /* редактор */
	td.page_info {width: 250px;vertical-align: top;} /* рубрика, метки, ссылка и пр. */
#wysiwyg {width: 100%} /* редактор */
td.editor_and_meta > div {margin-bottom: 10px} /* блоки под редактором */
td.editor_and_meta > div > p label {margin-right: 10px}
#pagetable {width: 99%; margin: 10px 0} /* список всех страниц */
#pagetable + form {margin:10px 0}
#comments_content {width: 99%; height: 150px;}
.template {float: left; margin: 5px 5px 10px 5px; border: 1px silver solid; border-right: 3px gray solid; border-bottom: 3px #676767 solid; padding: 0px 10px; width: 280px; height: 340px; text-align: center; position: relative;}
.template_noimage {margin: 0 auto; width: 250px; height: 200px; background: #f0f0f0; border: 1px solid silver;}
.cats {width: 100%; border-collapse: collapse;}
.cats colgroup {padding: 0 4px;}
.cats td {text-align: center; vertical-align:top}
	td sub {color: gray}
.plugin_on {color: green}
.new_cat_upload {margin: 20px 0; padding: 5px 10px 5px 10px; border: 1px solid gray;}
.upload_file {margin: 20px 0; padding: 5px 10px 15px 10px; border: 1px solid gray;}
.description_file {width: 380px}
.cornerz {float: left; margin: 5px 5px 10px 5px; border: 1px #808080 solid; padding: 10px 5px; width: 230px; min-height: 230px; text-align: center; position: relative;}
.edit_descr {width:220px; margin:5px auto}
.edit_descr textarea {height:4em; margin-bottom:.5em}
.cornerz label {font-weight:bold}
.file_img {max-width: 100px; margin: 5px auto; display: block;}
/* toolbox */
.item {margin:20px 0 10px}
.item h2 {padding:0 0 10px}
.item p.input strong, .item p.textarea strong {display:inline-block; width:7em; vertical-align:middle}
.item p.textarea strong {vertical-align:top; padding-top:.2em}
.item p.input input[type='text'], .item p.input input[type='password'], .item textarea {width:350px}
.item select {max-width:350px}
.item p.short input[type='text'] {width:100px}
.item p.checkbox {padding-left:7em}
.item p.wleft strong {margin-left:-7em}
.item p.input_submit {margin:0 0 0 7em}
.item.usergroup p.input strong {width:11em}
.item.usergroup p.input_submit {margin:0 0 0 11em}
.item.usergroup p.checkbox {padding-left:11em}
.item.usergroup p.wleft strong {margin-left:-11em}
.br, .item p.br {margin-top:1.5em}
.red {color:red}
.float-parent {width:100%; overflow:hidden}
/* plugins */
.ushki {border: 1px solid #C3DAF9; padding: 10px; margin: 10px 0; background: #C3DAF9;}