.container {width: 980px; padding: 0 20px 0 40px; }
.page {float: left; width: 620px; }
.main { clear: both; padding-left: 40px; padding-top: 20px; }

.banner-big img,
.banner-big object {
	margin: 20px; border: none; }

/* пользователь */

.user {}

.user a:link,
.user a:visited {
	font-size: 1.2em; color: #666; }

.user a:active,
.user a:hover {
	color: #c00; }

.user .profile-u- {
	position: relative;
	margin: 2px 3px -2px 0; border: none; }

.user .profile-c- {
	margin-right: 3px; border: none;  }

.content .user .profile-u-,
.content .user .profile-c- {
	top: 6px; }

.wrapper-navline .user a,
.wrapper-navline .user a {
	font-size: 1em; }

/* основное меню */

.menu {background:#daf0ff; width:100%; clear:both; margin:0 20px;}
.menu li {display:inline; margin: 0 20px; list-style:none; border-bottom:1px solid #808080;}

.menu li a:link,
.menu li a:visited,
.menu li.current- span {
	font-size: 1.8em; _font-size: 1.9em; color: #000; line-height:50px; }

.menu li a:active,
.menu li a:hover {
	color: #c00; }

.menu li a {color:#363636; text-decoration:none;}

.menu li.current- {
	background: #fff;
  padding: 15px 15px 17px; _padding: 8px 15px 16px; margin: 5px; border: none; }

/* подменю */

.submenu {
	overflow: hidden;
	width: 100%; height: 35px; margin-bottom: 20px;
	background: url(../images/menu-bg.gif) repeat-x 0 -50px; }

.submenu li {
	float: left;
	margin: 10px 30px 10px 10px;
	font-size: 1.4em;
	list-style: none; }

.submenu li a:link,
.submenu li a:visited {
	color: #0065a3; }

.submenu li a:hover,
.submenu li a:active {
	color: #c00; }


/* edit-in-place */
.edit-in-place { border:1px dashed #CCC; padding: 3px; margin: 5px 0; }
.edit-in-place .edit-in-place-link- { text-align: right; font-size: 11px; }
.edit-in-place .edit-in-place-link- a:link,
.edit-in-place .edit-in-place-link- a:visited { color: #CCC; }
.edit-in-place .edit-in-place-link- a:hover   { color: #c30; text-decoration: underline; }
.edit-in-place .edit-in-place-link- a:active  { color: #f00; }

/* edit-one-click */
.edit-one-click           { font-size: 11px; border: 1px #666 dashed; padding: 3px; margin: 5px; width: 1%; white-space: nowrap; }
.edit-one-click a:link,
.edit-one-click a:visited { color: #666; }
.edit-one-click a:hover   { color: #c30; text-decoration: underline; }
.edit-one-click a:active  { color: #f00; }

/* вспомогательный для отладки */
table.set td  { border:1px #aaa dashed; }
.set          { border:1px #000 dashed; }


/* типовые классы */
/* ICONS =========================================================================== */

img.broken     { width: 12px; height: 15px; border: none; display: none; }
img.foreign    { width: 30px; height: 15px; border: none; margin: 0 2px; }
img.foreignacc { width: 15px; height: 15px; border: none; }
img.account    { width: 15px; height: 15px; border: none; }
img.account0   { width: 11px; height: 12px; border: none; margin: 3px 2px 0; }
img.account1   { width: 18px; height: 20px; border: none; }
img.account2   { width: 18px; height: 18px; border: none; }
img.web        { width: 7px;  height: 7px;  border: none; margin: 2px 2px 0; vertical-align: middle; }
img.mail       { width: 10px; height: 7px;  border: none; margin: 2px 2px 0; vertical-align: middle; }

/* ACTIONS -- оформляются как прописано в теме, да? или в шкуре ??? ================ */

/* for include */
.include_title { text-align: right; font-size: 10px; }
.include_body { }
.include { background-color: #f8f8f8; padding: 8px; }
.include .include { background-color: #e8e8e8; }
.include .include .include { background-color: #d8d8d8; }


.nobr { white-space: nowrap; }


/* h2 */

h2 {font:normal 2.1em/1.2em Georgia, "Times New Roman", Times, serif;color:#363636;line-height:90%;}
h3 {font:normal 1.8em/1.2em Georgia, "Times New Roman", Times, serif;}



/* ФОРМ-ПРОЦЕССОР  ===============================================================   */
.alert { color: #CD3333; font-weight: bold; font-size: 11px; }
span.alert { font: bold .9em Tahoma, sans-serif; position: absolute; margin-left: .2em;}
ul.alert { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
.modified { border-color: #f66 }

/* интерфейс форм (уже НЕ новый) */

.user-settings {
	margin-top: 10px; border-collapse: collapse;
	font-size: 1.3em; }

.user-settings td {
	padding: 5px; border-bottom: 1px solid #999;
	text-align: center; }

.user-settings td.current- {
	border: solid #999; border-width: 1px 1px 0;
	font-weight: bold; }

.form-group {
	overflow: hidden;
	width: 100%; }
.form-group-title-current,
.form-group-title        { cursor: pointer; cursor: hand; padding: 3px 3px 3px 7px; background: #ccc; color: #666; font: 11px Tahoma, Arial, sans-serif; border: none; border-top: 4px solid #0085D7; }
.form-group-title-hidden-current,
.form-group-title-hidden { cursor:pointer; cursor:hand; margin-bottom:2px; padding:3px 3px 3px 7px; color:#fff; background: #0085D7; font: 11px Tahoma, Arial, sans-serif; }
.form-group-title-current        { background:#ffc; color: #69646A; }
.form-group-title-hidden-current { background:#ffc; color: #69646A; }
.form-group-body        { color:#444; }
.form-group-body-hidden { color: #444; display: none; }
.form-left  { color: #666; font-size: 13px!important; vertical-align: top; text-align: right; font-weight: bold; padding: 3px 1em 3px;}
.form-right { width: 479px; color: #666; font: 11px Tahoma, sans-serif!important; vertical-align: top; text-align: left; padding: 3px 0;}
.form-right .w99,
.form-right .w100 {
	width: 479px; }

/*.form-right in*/

.form-horiz { width: 33%; color: #666; font-size: 11px; vertical-align: top; text-align: left; }
.form-wide  { color:#666; font-size: 11px; vertical-align: top; text-align: left; }
.form-span-name { font-weight: bold; font-size: 100%; }
.form-border {}
.form-desc { margin: 2px 2px 25px 0; color: #888; font: 11px Tahoma, sans-serif; }
.form-right table { font-size:1em }
.form-right-t     { color: #666; vertical-align: middle; }
.form-wrapper-left { vertical-align: middle; padding: 1px 5px 1px 15px; }

.form-group-title-hidden a:link,
.form-group-title-hidden a:visited { color:#fff; }
.form-group-title-hidden a:active,
.form-group-title-hidden a:active  { color:#fde88b; }


/* added by kuso@npj 16.11.2004 */
.form-group .highlighted- { background:#ffc; }
.form-smaller { font-size: 60%; color: #999; }


/* конкретно формпроцессор для постов в сообщество */
.items-all- select { font-size: 11px; }
.items- select {  }

/* кнопки (уже новые) */
.form-buttons-top .form-left, .form-buttons .form-left { text-align: left; }
.form-buttons {
	width: 100%; padding: 20px 0 5px;
	font-weight: bold; }

.form-buttons .form-left,
.form-buttons .form-right {
	padding: 0; }

	
.DeleteBtn, .DeleteBtn-,
.InsertBtn, .InsertBtn-,
.InsertBtnBig, .InsertBtnBig-,
.UpdateBtn, .UpdateBtn-,
.CancelBtn, .CancelBtn- {
	width: 240px; height: 40px; margin-right: 20px;
	font-weight: bold; font-size: 14px; color:#000;
	cursor: pointer; }

.DeleteBtn, .DeleteBtn- {
	color: #900; }

.InsertBtn, .InsertBtn- {
	color: #090; }

.InsertBtnBig, .InsertBtnBig- {
	color: #090; }

.UpdateBtn, .UpdateBtn- {}

.CancelBtn, .CancelBtn- {}

.InsertBtnSmall, .InsertBtnSmall-,
.UpdateBtnSmall, .UpdateBtnSmall-,
.CancelBtnSmall, .CancelBtnSmall- {
	width: 120px; height: 20px;
	font-size: 11px; color: #000;
	cursor: pointer; }

.InsertBtnSmall, .InsertBtnSmall- {
	color: #090; }

.UpdateBtnSmall, .UpdateBtnSmall- {}

.CancelBtnSmall, .CancelBtnSmall-  { }

.LogoutBtn, .LogoutBtn- { color:#000000; cursor: pointer; cursor: hand; font-size: 10px; height: 20px; }



/* сообщения об ошибках (уже новые) */
.resultsok, .resultsbad, .resultsnone {font-size: 11px; font-weight: bold; padding: 5px;}
.resultsok   { color: #2b8f2b; border: 1px solid #2b8f2b; background: #dbffdb; }
.resultsbad  { color: #980d0d; border: 1px solid #980d0d; background: #ffebeb; }
.resultsnone { color: #666;    border: 1px solid #666;    background: #eee; }

.okBorder, .okSmall {font-size: xx-small; font-weight: bold;}
.okBorder       { background: #3c6; color: #fff;  }
.okSmall        { background: #efe; color: #3c6; }
.okBody         { font-size: 11px; font-weight: bold; color: #3c6; background: #efe; }
.disabledBorder { background: #999; }
.disabledBody   { font-size: 17px; font-weight: bold; color: #999; background: #eee; }

/* интерфейс для френдов */
/* __ means this block is in some other block */
.friends_checkbox,
.friends_checkboxCHECKED { text-align: center; padding: 2px 7px; }
.friends_checkboxCHECKED { background:#ccb; }
.friends_group_nameCHECKED { font-size: 80%; color:#222; background:#ccb; }
.friends_group_name      { font-size: 80%; color: #444; padding-left: 5px; }
.friends_group_all       { font-size: 100%; font-weight: bold; }
.friends_group_none      { color: #999; padding: 20px; font-size: 70%; }
.friends_text            { font-size: 90%; margin: 20px 50px; }
.friends__hint           { font-size: 90%; color: #999; margin-top: 7px; }
.friends_group_list      { width: 150px; background-color: #efefef; }
.friends_group_title     { font: bold 11px Tahoma, Arial, sans-serif; }
.friends_group_fieldset INPUT { margin: 5px; }
.friends_group_legend    { color: #666; font: 80% Georgia, Times, serif; }
.friends_selector        { margin-left: 10px; margin-bottom: 20px; }


table.friends_join td { font-size: 90%; color: #444; }
table.friends_grid {} /* и производные THEAD, TBODY, TGRID */
table.friends_grid thead td { padding: 3px 5px; background: #e0e0d0; font: bold 11px Tahoma, Arial, sans-serif; }
table.friends_grid thead td .friends_titles { width: 60px; text-align: center; font: bold 11px Tahoma, Arial, sans-serif; }
table.friends_grid tbody td { font-size: 80%; color:#444; }
table.friends_grid tfoot td { font-size: 70%; color:#444; }


/* интерфейс для юзерменю */
table.edit_usermenu thead td { font-size: 70%; font-weight: bold; color: #666; }
table.edit_usermenu tbody td { font-size: 75%; color: #666; }
table.edit_usermenu .hr_ { background-color: #ccc; }
table.edit_usermenu tfoot small { font-size: 75%; }


/* интерфейс логин/логаута */
td.login       { font-size: 90%; color: #444; }
div.login      { text-align: center; padding: 5px; font-size: 90%; font-weight: bold; color: #444; }
div.login2     { text-align: left; padding: 0 20px; width: 400px; font-size: 80%; color: #666; }
td.login-block { padding: 5px; text-align: center; }

/* vseedit toolbar */
.toolbar tr { background: ButtonFace; }
.toolbar .btn-,
.toolbar .btn-hover,
.toolbar .btn-active,
.toolbar .btn-pressed { background: ButtonFace; color: ButtonText; border: 1px solid ButtonFace; padding: 1px;  margin: 0; cursor: pointer; cursor: hand;}
.toolbar img { width: 20px; height: 20px; }
.toolbar .btn-hover { border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; }
.toolbar .btn-active,  .toolbar .btn-pressed { border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; }
.toolbar .btn-pressed { background: ButtonHighlight; }
.edname-w, .edname-r, .edname-s { font: bold 14px Arial; border: 3px solid #D4D0C8; padding: 0 7px; color: #fff; vertical-align: middle;}
.edname-w { background: #1E9905; }
.edname-r { background: #2A45D0; }
.edname-s { background: #D08C2A; }
.toolbar a:link,
.toolbar a:visited { color: #000; }
.toolbar a:hover,
.toolbar a:active  { color: #a00; }

/* tricky */
#formcommentsan {display: none;}


/* table data */

.table-tabs {
	width: 100%; margin: 10px 0; border-collapse: collapse; border-bottom: 1px solid #000;
	font-weight: bold; font-size: 1.2em; text-align: center; }

.table-tabs td {
	padding: 17px 10px 7px; }

.table-tabs td.current- {
	padding: 0; }

.table-tabs td.current- div {
	position: relative; top: 5px;
	padding: 7px 10px 8px; border: solid #000; border-width: 1px 1px 0;
	background: #eee; }

.table-data {
	width: 100%; margin-bottom: 10px; }

.table-data th {
	padding: 2px 10px 4px 0; border-bottom: 5px solid #000;
	font: bold 1.1em Tahoma; text-align: left; vertical-align: bottom; }

.table-data td {
	padding: 0 10px 4px 0;
	font-size: 1.2em; }


/* юзерпики */
.userpic-none { padding:5px; font-size: 1.3em; }
table.userpic .center- { text-align: center; }
table.userpic thead td {color: #666; font: bold 1.4em Tahoma, sans-serif; padding: 5px; }
table.userpic tfoot .hr- { padding: 0; }
table.userpic thead .hr- { padding: 0; }
table.userpic tbody .hr- { padding: 0; background: #efefef; }
table.userpic tbody td   {color:#666; font-size: 1.5em; padding: 5px; vertical-align: middle; }
table.userpic tbody img.icon- { height: 30px; width: 25px; }
table.userpic tfoot td { color:#666; font: 1.4em Tahoma, sans-serif; padding: 5px; }
table.userpic thead td.name1-,
table.userpic thead td.name2- { width: 35%; }

/* Панель редактирования */
.record-toolbar { margin: 5px 0; }
.record-toolbar .secure- { background-color: #FFE681; }
.record-toolbar .inside- { padding: 5px; border: 1px solid #CCC; font: 100% Arial, sans-serif; text-align: right; }



/* полифун-панель */
/* модерация */
.body-panel { margin: 10px 0 0; background:#e5e5e5; padding: 5px; color: #999; font-size: 1.3em; text-align:left; }
.body-panel-title {}
.body-panel-info-bottom { color: #666; }
.body-panel-info-bottom ul { padding: 0; margin: 0; }
.body-panel-info-bottom img.account2 { margin-right: 2px; }
.body-panel-info-bottom .need-mod- { background: #cd3333; padding: 5px 10px 10px 5px; margin: 3px 0; color:#fff; }
.body-panel-info-bottom .need-mod- strong { color: #fff; }
.body-panel-info-bottom .need-mod- form { padding-top: 5px; }
.body-panel-info-bottom .need-mod- input.confirm- { background: #aaffaa; cursor: pointer; cursor: hand; }
.body-panel-info-bottom .need-mod- input.decline- { cursor: pointer; cursor: hand; }
.body-panel-info-bottom ul,
.body-panel-info-bottom ul li { list-style-type: none; }
.body-panel-info-bottom ul li { margin: 5px 0; }


/* конфирмы */
h1.title-confirm { margin-bottom: 10px; font: bold 15px Arial, sans-serif; }


/* логин-логаут */
.login-table { font-size: 1em; margin-bottom: 30px; }
.login-table td { padding: 0 10px 10px 0; vertical-align: middle; }
.login-table .error- { font: bold 15px Arial, sans-serif; color: #f00; }
.login-table td.top- { vertical-align: top; }
.login-table .submit- { width: 150px; }