/* common styles */
html,body,td,th {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
}
html,body {
    background-color:#DBDBDB;
    color:#333333;
    margin:0px;
    padding:0px;
    text-align:center;/*IE block centering, all's footer centering*/
}
a:link {color:#08466F; text-decoration: underline}
a:visited {color:#69694B; text-decoration: underline}
a:active,
a:hover {color:#990000; text-decoration: underline}

a.post_link_fixed:visited {
    color:#08466F; /* copied from unvisited, no color change */
}

a.nounder:link    {text-decoration: none}
a.nounder:visited {text-decoration: none}
a.nounder:active  {text-decoration: none}
a.nounder:hover   {text-decoration: none}

input,textarea,select,button {font-size: 13px}
input[type="text"], input[type="password"], select {
    padding:2px;
    border: solid #80a0e0 1px;
    margin: 0;
}
textarea {display:block; padding:2px; border: solid #80a0e0 1px; margin: 0;}
/* input and textarea padding+border compensator */
.icomp { padding-right:6px; }
.icomp input, .icomp textarea, .icomp select {width:100%}

fieldset {padding:9px; margin:6px 0; border: solid 1px #DBD8C4; background: #E9E7D7}
big   {font-size: 16px /*12pt */}
small, .small {font-size: 11px; /*~8pt*/ }
.sign {font-style: italic}
.new  {color: #F00000; font-style: italic}
.b, .read_more {font-weight:bold}
.center {text-align:center}
.w100 {width: 100%}
/* any title */
h1 {font-size:13pt;font-weight:bold;margin:0px}
h2 {font-size:10pt;font-weight:bold;margin:0px}
h6 {font-size:inherit;font-weight:bold;font-style:normal;margin:0;padding:0}
table {border-collapse:separate}
table.std, table.std_mid {
    border-collapse: separate;
    border-spacing: 1px;
    border: none;
}
table.std td, table.std th {
    padding: 3px;
    vertical-align:top;
}
table.std_mid td, table.std_mid th {
    padding: 3px;
    vertical-align:middle;
}
table.std td.icomp { padding-right:9px; }

td.f, td.l {
    vertical-align:top;
}

/* дефолтные стили для layout-таблиц */
table.dummy, table.dummy_top {
    border-collapse: collapse;
    border: none;
}
table.dummy td, table.dummy th {
    border: none;
    padding: 0px;
    vertical-align: middle;
}
table.dummy_top td, table.dummy_top th {
    border: none;
    padding: 0px;
    vertical-align: top;
}


/* font for img alt */
img {font-size: 10px;}

/* default no border */
a img {border:none}

/* form defaults override */
form {margin: 0px}
label.radio, label.bl {display:block}

/* общий класс для всех мест, где нужно привязать блок с position:absolute к текущей позиции */
div.rel_ph {
    position:relative;
    height:0;
    text-align:left;
    overflow:visible;
}

/* simple margins */
.p {margin-top: 1em; margin-bottom: 1em;}
.p2 {margin-top: 0.5em; margin-bottom: 0.5em;}

/* block with indent */
.indent {padding-left: 40px}

ul {
    margin:0;
    padding:0;
}
.article .page ul, .news ul {
    margin-top: 1em;
    margin-bottom: 1em;
}
ul li {
    list-style-image:url("i/li0.gif");
    margin-left: 27px;
}
ul li.more {
    list-style-image:none;
    list-style-type:none;
    margin-left:12px;
    font-size:11px;
}
ol li {
    list-style-image:none;
}

div.forum_view_switch { padding: 5px 5px 7px 5px; border-bottom: 1px solid #999999; }
div.forum_view_switch a:link, div.forum_view_switch a:visited { color:#08466F; text-decoration: underline; }
div.forum_view_switch a:active, div.forum_view_switch a:hover { color:#990000; text-decoration: underline; }

/* title of main cell, usually document name */
h1.mtwork {
    color:#284878;
    font-size: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin-bottom: 10px;
}
/* title of section */
h1.section_name {
    color: #996633;
    font-size: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #996633;
}

h1.section_name a, h1.section_name a:link, h1.section_name a:visited {
    color: #996633;
    text-decoration: none;
}

h1.section_name a:active, h1.section_name a:hover {
    color: #996633;
    text-decoration: none;
    border-bottom: 1px dashed #996633;
}


/* Old variant
h1.mtwork {
    color: #08466f;
    font-size:13pt;
    font-weight:bold;
    margin:5px 0px 1em 0px;
}
*/

/* title of next sections in main cell*/
h1.mtwork2 {
    font-size:13pt;
    font-weight:bold;
    margin: 1em 0px;
    color: #08466f;
}

h1.mtwork a, h1.mtwork a:link, h1.mtwork a:visited {
    color:#284878;
    text-decoration: none;
}

h1.mtwork a:active, h1.mtwork a:hover {
    color:#284878;
    text-decoration: none;
    border-bottom: 1px dashed #284878;
}


/* clearing element */
div.clr {clear:both;height:1px;margin: 0 0 -1px 0; padding:0;overflow:hidden}

.inline, .inline div, .inline p, .inline form {display:inline}
.inline input, .inline button {height:1.4em;border-width:1px;padding:0px;margin:0px}

/* mandatory field */
.mand {color:#f00000}

/* notices on wrong fields in forms */
.notice {color:#f00000}
.message {color:#00b000}


/* unimportant text */
.unimp {font-size: 11px; font-weight:normal; font-style: italic}

/* initially hidden block
In fact, style is created in HTML HEAD by JS block
to have those blocks to be initially hidden only if JavaScript is enabled.
Style added here in comment for ease of search.
*/
/* .inithid {display: none} */


/* --- main page layout --- */
/* -- head -- */
#head_bg {
    background: #036 url("i/new/hd_bg2.gif");
    width:100%;min-width:750px;height:69px;
}
#head {
    width:750px;
    margin-left:auto;
    margin-right:auto;
    height:69px;
    text-align:left;
    font-size:10px;
    color:#8091a1;
}

#head .counters {float:right;width:1px}

#big_logo {float:left}

.banner_top {
    text-align:center; margin: 0px auto;
}

/* -- main -- */

#content_bg {
    padding: 0;
    margin: 0;
    background-color:#ffffff;
    background-image: url("i/bgb.gif");
    background-repeat: repeat-y;
    background-position: center top;
    text-align:center;
}

/* table or div */ #content_layout {
    width:750px;
    margin: 0 auto;
    border-style:none;
}

table#content_layout {
    border-collapse:collapse;
    background:none;
}


/* default single column layout */
#content_layout /* div */ .singlecol {
    padding: 10px;
}

#content_layout td.mt_content {
    vertical-align:top;
    text-align:left;
    padding:9px;
}

#content_layout td.right {
    vertical-align:top;
    text-align:left;
    padding:9px;
    width:170px;
    background-color:#eae7d8;
    font-size:11px;
}

#content_layout td.right b {
    color: #534741;
}

#content_layout td.right hr {
    margin: 10px 0px 10px 0px;
    border-color: rgb(105, 105, 75);
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

#content_layout td.right h5 {
    margin: 10px 0px 8px 0px;
    padding: 3px 0px 5px 5px;
    background-color: #CAC6A3;
    font-weight: bold;
    font-size: 12px;
    color: #534741;
}

#content_layout td.right h5 a, #content_layout td.right h5 a:link, #content_layout td.right h5 a:visited {
    color: #534741;
    text-decoration: none;
}

#content_layout td.right h5 a:active, #content_layout td.right h5 a:hover {
    color: #534741;
    text-decoration: underline;
}

/* noscript buttons */
#content_layout td.right .moder_links input, #content_layout td.right .moder_links button {
    width:100%;
}

/* div under userpic */

#content_layout td.right div.friend {
    margin-top: 10px;
    padding-left: 28px;
    background-repeat: no-repeat;
    background-image: url("i/friends.gif");
    background-position: 0 2px;
}

#content_layout td.right div.ignore {
    margin-top: 10px;
    padding-left: 28px;
    background-repeat: no-repeat;
    background-image: url("i/ignore.gif");
    background-position: 0 3px;
}

/* lists */
#content_layout td.right li
{
    list-style-image: none;
    list-style-type: none;
    font-size: 11px;
    margin: 0 0 2px 4px;
    padding: 0 0 0 9px;
    list-style-position: outside;
    background-repeat: no-repeat;
    background-image: url("i/rli.gif");
    background-position: 0 5px;
}

#content_layout td.right li a,
#content_layout td.right li a:link,
#content_layout td.right li a:visited
{
    color:#08466F;
    text-decoration: underline;
}

#content_layout td.right li a:active,
#content_layout td.right li a:hover
{
    color:#990000;
    text-decoration: underline;
}

/* -- footer -- */
#foot_hr {
    background-color:#888;
    background-image:url("i/new/ft_line.gif");
    width:100%;height:7px;overflow:hidden;
}

#foot_menu_bg {
    background-color:#8092a0;
    width:100%
}
#foot_menu {
    background-color:#8092a0;
    width:750px;
    margin-left:auto;margin-right:auto;
    height:24px;
    line-height:22px;
    font-size:11px;
    color:#fff
}
#foot_menu a:link,#foot_menu a:visited {color:#fff;text-decoration:none}
#foot_menu a:active,#foot_menu a:hover {color:#fff;text-decoration: underline}

#splitter_content_container_and_copy {
    width:750px;
    margin: 0 auto;
    border-color: #cccccc;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

#copy {
    font-size:11px;
    color:#666666;
    margin:0px;
    padding: 15px 0 60px 0;
    text-align:center;
    background-image: url("i/bgf.gif");
    background-repeat: no-repeat;
    background-position: center bottom;
}
#copy p {margin-top:0;margin-bottom:0}

#copy a:link,
#copy a:visited {color:#08466F}
#copy a:active,
#copy a:hover {color:#900}

/* paid persons highlighting */
.paid, a.paid:link, a.paid:visited {font-weight:bold}
.msg_head .person .paid,
.msg_head .person a.paid:link,
.msg_head .person a.paid:hover,
.msg_head .person a.paid:visited,
.msg_head .person a.paid:active,
body.cv_ops .op_head .person .paid,
body.cv_ops .op_head .person a.paid:link,
body.cv_ops .op_head .person a.paid:hover,
body.cv_ops .op_head .person a.paid:visited,
body.cv_ops .op_head .person a.paid:active {
    color: #6f0833;
}

a.sort:link    {color: black}
a.sort:visited {color: black}
a.sort:active  {color: black}
a.sort:hover   {color: black}

tr.head a.sort:link, tr.head a.sort:visited, tr.head a.sort:active, tr.head a.sort:hover {color:black}
tr.head a.sel:link, tr.head a.sel:visited, tr.head a.sel:active, tr.head a.sel:hover {text-decoration: none}

/* table rows and cells */
tr.head, tr.head td, td.head, tr.foot, tr.foot td, td.foot
{
    background-color: #E0C0A0;
    font-weight: bold;
    font-size: 11px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    padding: 5px 3px;
    text-align: center;
}
tr.line1,td.line1 {background-color: #DBD8C4}
tr.line2,td.line2 {background-color: #E9E7D7}
/* private topic */
tr.linep1 {background-color: #DBD29B}
tr.linep2 {background-color: #E9E2B0}
/* private topic, admin access */
tr.line_adm {background-color: #cccccc}
/* disabled, unavailable, etc */
tr.line_dis {background-color: #cccccc}
/* cell with unread message count */
td.unread  {background-color: #CAD9BA}
/* ignored topic */
tr.line_ign {background-color: #cccccc}
tr.line_ign td, tr.line_ign *.new {color: #666666}
tr.line_ign td.unread {background-color: #cccccc}

tr.line_ign a:link,
tr.line_ign a:visited,
tr.line_ign a:active,
tr.line_ign a:hover {color:#69694B; text-decoration: none}

.foot a:link,
.foot a:visited {color:black; text-decoration: none}
.foot a:active,
.foot a:hover {color:black; text-decoration: underline}

.panel {background-color: #e0c0a0; font-weight: bold; padding:3px;}
div.panel {margin-left:1px; margin-right:1px;}
.panel h6 {font:inherit;}
.panel .notice {font-weight: normal}

table.itemform {border:none; border-collapse:separate; border-spacing:1px; margin-top:0.5em; margin-bottom:0.5em; background-color: #ffffff}
table.itemform label {font-weight: bold}
table.itemform td {border:none; padding:3px; vertical-align:top}
/* title */
table.itemform td.h {font-weight: bold}
/* left side label */
table.itemform td.l {font-weight: bold; text-align:right; background-color: #E0C0A0;}
table.itemform label small, table.itemform label .small,
table.itemform td.l small, table.itemform td.l .small {font-weight:normal}
/* field */
table.itemform td.f {text-align:left;background-color: #E9E7D7}
/* radio, checkbox list labels */
table.itemform td.f label {font-weight:normal}
table.itemform td.f label.b {font-weight:bold}
/* textarea */
table.itemform td.t {text-align:center;background-color: #E9E7D7;}
table.itemform td.t textarea {display:block;margin-left:auto;margin-right:auto;}
/* submit */
table.itemform td.s {text-align:center;background-color: #E9E7D7}
.itemform .img label {display:block}
.itemform .img img {display:block;float:right}

img.captcha {width:120px; height:60px; vertical-align:top; margin-right:3px;}
input.captcha {display:block; width:114px;}

table.info {border:none; border-collapse:separate; border-spacing:1px}
table.info td {border:none; padding:3px; vertical-align:top}
table.info td.l {text-align:right;background-color: #E0C0A0; font-weight: bold}
table.info td.f {text-align:left;background-color: #E9E7D7}

/* any list */
table.list {
    clear: both; /* for top-banners */
    border: none;
    border-collapse: separate;
    border-spacing: 1px;
    width:100%;
}
table.list td { padding:3px }

/* .line1, .line2 should be moved here */
table.list .line_past { background: #dde0dd}


/* search result */
span.hlw {color:#400000;background-color:#ffffa0;font-weight:bold}

/* other search results */
/*
.msg
.press
*/
.article span.hlw {font-size:120%}

/* begin head login form styles */
/* absolute positioning inside floater */
#login_form {float:right;position:relative;
    margin-top:26px;margin-bottom:0px;margin-right:6px;
    width:280px;
}
#login_form * {position:absolute;white-space:nowrap;}
#login_form label {font-size:10px; font-weight:bold;}
#login_form input.text {
    font-size:11px;
    height:13px;
    width:60px;
    color:#000;
    background-color:#8091a1;
    border-color:#c9c2a5;
    border-width:1px;
    border-style:inset;
}
#login_form_login_l {top:4px;left:0px}
#login_form_login {top:0px;left:34px}
#login_form_pass_l {top:4px;left:108px}
#login_form_pass {top:0px;left:162px}
#login_form_submit, #logout_form input.submit {
    background-color: #339933;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    height: 18px;
    color: #ffffff;
    text-shadow: #006633 0px 1px 0px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 3px;
    border: 1px solid #99CC99;
    border-right-color: #006633;
    border-bottom-color: #006633;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    display: inline-block;
    margin: 0px;
    cursor: pointer;
}
#login_form_submit {
    top: 1px; left:235px;
    vertical-align:middle;
}

#login_form a:link, #login_form a:visited {font-size:10px;color:#d0c0b0}
#login_form a:active, #login_form a:hover {font-size:10px;color:#e22}
#login_form_reg_link {top:24px;left:34px}
#login_form_rem_link {top:24px;left:162px}
/* end head login form styles */

/* begin head logout form styles */
#logout_form {
    float:right;
    height:40px;
    margin-top:29px; margin-right:6px;
    font-size:10px; font-weight:bold;
}

#logout_form a:link, #logout_form a:visited {color:#8091a1;text-decoration:none}
#logout_form a:active, #logout_form a:hover {color:#d0c0b0;text-decoration:underline}
#logout_form a.pm img {
    vertical-align: top;
    margin: -2px 4px -40px 4px;
}
#logout_form input.submit {
    /* inline-block, not line-level element */
    vertical-align: top;
    margin-top:-3px;
}

/* end head logout form styles */


/* begin articles */
/* there is align="justify" in HTML to allow HTML align in content */
div.article div.page {padding-bottom:1em; margin-bottom:0.5em;}
div.article div.date {text-align:right;color:#bbbbbb;font-size:11px;margin-top:1.5em}

#content_layout .singlecol div.article h1.title {font-size:20pt}


table.counters {border-collapse:collapse;border:solid black 1px}
table.counters td {border:solid black 1px;padding:4px}
table.counters tr.head td {text-align:center}
tr.counters td {text-align:right}
table.counters tr.counters td.title,table.counters tr.head td.title {text-align:left}

/* articles titles
TODO: use them for every article titles lists
*/
.article_title h1 {font-size:12pt;font-weight:bold;font-style:normal}
.article_title h2 {font-size:10pt;font-weight:normal;font-style:normal}

/* end articles */

/* publication edit form */
#publ_form div.image_preview {float:left;margin:5px}
#publ_form div.image_preview fieldset {float:left;padding:5px}
#publ_form.hide_images div.image_preview img {display:none}
#publ_form div.file_input {clear:both}
#publ_form div.file_input input {width:50%}

#publ_form table.files , #adv_form table.files , .upload table.files {
    margin-top:1em;margin-bottom:1em;
    border-collapse:collapse;border:solid 1px grey;
}
#publ_form table.files td , #adv_form table.files td , .upload table.files {
    margin:0;
    padding:3px;
    border:solid 1px grey;
}

#publ_form input[type="text"] {width:704px;}
#publ_form textarea {display:block; width:704px;}

#publ_form input.float_publ_del_button {float:right}

h2.abstract {font-size: 11pt;font-weight:normal;margin:0px}
h2.abstract span.comm {font-size: 10pt}

table.admin_info {border-collapse:collapse;border:solid black 1px;}
table.admin_info td {border:solid black 1px;background-color:#e0e0e0;padding:1px}

/* publication search panel */
div.publ_search {margin:1em 0; padding:1px /* 1px against margin merge */ 1px 0.5em 0.5em}
/* better could be CSS2 ">" selector  */
div.publ_search div {margin:0.5em 0.5em 0 0; position:relative;/* IE float disappear bug */}
div.publ_search div div {margin:0}
div.publ_search div.half {float:left; width:48%;}
div.publ_search div.left {clear:both}
div.publ_search div.right {clear:right}
div.publ_search div.clr {margin:0 0 -1px 0}

div.banner_list_top {float:right;margin:0 0 1em 1em}

/* images */
img.userpic {width:75px;height:100px}
img.userpic2 {width:38px;height:50px}
img.userpic3 {width:25px;height:33px}
img.userpic4 {width:45px;height:60px}
img.userpic5 {width:19px;height:25px}

/* status marks for userpic */
span.userpic {position: relative; display: inline-block;}

span.userpic span.new {
    display:block;
    background-color: #669966;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    position: absolute;
    top: 86px;
    left: 41px;
    width: 37px;
    height: 16px;
    padding-bottom: 1px;
    text-align: center;
    z-index: 100;
    cursor: default;
}

span.userpic span.new2 {
    display:block;
    background-color: #669966;
    color: #ffffff;
    font-size: 8px;
    font-weight: normal;
    position: absolute;
    top: 42px;
    left: 19px;
    width: 19px;
    height: 10px;
    z-index: 100;
    padding-left: 2px;
    cursor: default;
}

span.userpic span.ban {
    display:block;
    background-color: #CC3333;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    position: absolute;
    top: -3px;
    left: -3px;
    height: 16px;
    padding: 0 3px 1px 3px;
    z-index: 100;
    cursor: default;
}

span.userpic span.ban2 {
    display:block;
    background-color: #CC3333;
    color: #ffffff;
    font-size: 8px;
    font-weight: normal;
    position: absolute;
    top: -2px;
    left: -2px;
    height: 10px;
    padding: 0 2px;
    z-index: 100;
    cursor: default;
}

/* person opinions */
div.opinions {margin:0}
div.opinions fieldset {margin:10px 0}
div.opinions legend {font-weight:bold;margin:0;padding:0 5px;color:#736357}
div.opinions input.reason {width:300px}
div.opinions table.existing {width:100%;border-collapse:collapse; border: solid #DBD8C4 1px;background-color:#E9E7D7;}
div.opinions table.existing td {border:none;vertical-align:top;padding:5px}
div.opinions table.both td {width:50%}
div.opinions h6 {font-size:13px;color:#736357;font-weight:bold;text-align:center;}
div.opinions table.op {width:100%}
div.opinions table.op td {font-size: 11px;padding:2px}
div.opinions table.op td.logo {width:19px}
div.opinions table.op td.name {overflow:hidden;width:100%}
div.opinions div.pro {margin-top:5px;background-color:#C4DF9B}
div.opinions div.contra {margin-top:5px;background-color:#F5989D}

table.project_rating tr.sort td {font-size:11px;text-align:center}
table.project_rating td.percent {text-align:center}
table.project_ranks td.percent {text-align:right}
table.project_ranks tr.title td {font-weight:bold;font-size:12pt}
table.project_ranks td.rank {text-align:left}
table.project_ranks .edchoice {font-weight:bold;font-size:11px}

/* "private" icon ("lock") */
img.private {width:14px;height:15px}

/* forum navigation */
.forumnav {
    background-color: #DBD8C4;
    margin: 5px 0px; border:0px;
    font-size:12px;
}
div.forumnav {padding:3px; text-align:center}
table.forumnav {
    border: none;
    border-collapse: collapse;
    border-spacing: 0px;
    width:100%;
}
table.forumnav td { padding:5px; font-size: 11px; }
.forumnav a:link, .forumnav a:visited {text-decoration: none}
.forum_combo_top_nav a:link, .forum_combo_top_nav a:visited {text-decoration: none}
.forum_combo_top_nav {
    text-align: center;
    margin: 0px 0 10px 0;
    font-size:12px;
}

.pager {
    text-align:center;
    margin:5px 0;
    padding:3px 0;
    background-color: #DBD8C4;/*#d0ccc8;*/
}


td.combo_branch_link {
    width:1px;
    text-align:right;
}

div.group_top_nav
{
    white-space: nowrap;
    text-align: right;
    margin-bottom: 10px;
}

div.group_top_nav a:link,
div.group_top_nav a:visited,
div.group_top_nav a:active,
div.group_top_nav a:hover { color: #08466F; text-decoration: underline; }

table.forum_search {
    border: none;
    border-collapse: collapse;
    border-spacing: 0px;
    width:100%;
}
table.forum_search td {padding:3px;}

/* forum "mark" links */
form.mark a:link    {color: black}
form.mark a:visited {color: black}
form.mark a:active  {color: black}
form.mark a:hover   {color: black}

/* forum message header */
table.msg_head {
    border-spacing: 0px;
    border-collapse: collapse;
    border: 3px solid #DBD8C4;
    background-color: #DBD8C4;
    width:100%;
    margin: 0px;
}

table.msg_head td.icon { vertical-align: top; padding: 0px; }
table.msg_head td.name { vertical-align: middle; padding: 0 0 0 3px; width: 100%; }
table.msg_head td.menu { vertical-align: top; padding: 0 2px; border-right: 1px solid #999966; }
table.msg_head td.vote { vertical-align: top; padding: 0 0 0 3px; text-align: center; }
table.msg_head td.name div.person { margin-bottom: 5px; }
table.msg_head td.name a:link,
table.msg_head td.name a:visited,
table.msg_head td.name a:active { color:#08466F; text-decoration: none; }
table.msg_head td.name a:hover  { text-decoration: underline; }

/* .vote также используется в table.comm_obj_head div.vote и в портфолио */
.vote div.r {
    font-weight: bold;
    margin: 0 0 8px 0;
    background-color:#A8A272;
    color: #DBD8C4;
    width: 46px;
    padding: 1px 0 2px 0;
    padding-right: 0;
}
.vote div.p {
    background-color:#669966;
    color: #FFFFFF;
    width: 40px;
    padding-right: 6px;
}

.vote div.n {
    background-color:#CC3333;
    color: #FFFFFF;
    width: 40px;
    padding-right: 6px;
}

div.votewait {
    position:absolute;
    left:0;
    top:0;
    width:46px;
    height:46px;
    margin:0;
    padding:0;
    background: #DBD8C4 url("i/rwait.gif") 50% 50% no-repeat;
}
div.voteerr {
    position:absolute;
    z-index:1000;
    left:0;
    top:0;
    margin:0;
    padding:5px;
    border: solid #333333 1px;
    background-color: #FFFF99;
    font-size: 11px;
}
div.voteerr a.close {
    float:right;
}
div.voteerr h1 {
    color: #CC3333;
    font-size: 11px;
    font-weight: bold;
}
div.voteerr div.text {
}

.msg_head .gname {
    font-size: 12pt;
    font-weight:bold;
}
.msg_head h1 {
    font-size: 10pt;
    font-weight:bold;
    margin:0px;
}
.msg_head h1 small {font-weight:normal}
.msg_head .person a:link,
.msg_head .person a:visited {
    text-decoration: none;
}


.msg_ignored table.msg_head {background-color: #cccccc}
.msg_ignored table.msg_head td {font-size: 9pt; color:#69694B;}
.msg_ignored .msg_head .gname {font-size: 10pt;}
.msg_ignored .msg_head h1 {font-size: 9pt;}
.msg_ignored .msg_head h1 small {font-size: 10px;}

.msg_ignored table.msg_head a:link,
.msg_ignored table.msg_head a:visited,
.msg_ignored table.msg_head a:active,
.msg_ignored table.msg_head a:hover {color:#69694B; text-decoration: none}

.msg_ignored_full {
    color:#69694B;
    background-color: #cccccc;
    margin: 0.5em 0;
    padding: 3px;
    font-size: 10px;
}

.msg_ignored_brief {
    color:#69694B;
    background-color: #cccccc;
    margin: 3px 0;
    padding: 3px;
    font-size: 10px;
}

.msg_deleted_full {
    color:#69694B;
    background-color: #cccccc;
    margin: 0.5em 0;
    padding: 3px;
    font-size: 10px;
}

.msg_ignored_full a:link,
.msg_ignored_full a:visited,
.msg_ignored_brief a:link,
.msg_ignored_brief a:visited {
    color:#69694B;
    text-decoration: none;
}
.msg_ignored_full a:active,
.msg_ignored_full a:hover,
.msg_ignored_brief a:active,
.msg_ignored_brief a:hover {
    color:#69694B;
    text-decoration: underline;
}

/* container for all messages */
.msgs {
    /* чтобы в IE и Chrome работал overflow, нужна фиксированная ширина
    TODO: проверить IE6
    */
    width: 542px;
}

/* forum message */
.msg {
    font-size: 13px;
    overflow:auto;
    overflow-y:visible;
    margin:1em 0px;
    width: 100%;
    padding-bottom:expression((this.clientHeight!=this.offsetHeight)?'20px':0); /* padding for scrollbar in IE */
}

/* 1px margins are for FireFox, where selected link is outlined with 1px border, triggering scroll */
.msg .title {
    font-weight:bold;
    margin: 0px 0px 0.5em 0px;
}
.msg .annot {
    font-style:italic;
    margin: 0px 1px 0px 0px;
}
.msg .text {
    margin: 0px 1px 1px 0px;
    white-space: pre-wrap; /* doesn't work in IE */
}
.msg span.cite {color:#6d0d00}
.msg .file {
    margin: 0px 1px 3px 3px;
    float: right;
    font-style: italic;
}

/* контейнер для ссылок под сообщением */
div.msg_links {margin:1em 0;font-size:13px;font-family:Tahoma,Arial,Helvetica,sans-serif;}
/* контейнер открытых сообщений в комбо-режиме, кроме самого первого */
div.msg_shift {margin-top:1em;}
/* контейнер открытых сообщений в комбо-режиме, после которых свёрнутые */
div.msg_shift2 {
    margin-top:1em;
    margin-bottom:0.3em;
    border-bottom:solid 1px #DBD8C4;
}

/* brief message */
/*
div.msg_b {}
*/
/* first brief message after full */
div.msg_b_hr {padding-top:0.5em;margin-top:0.5em;border-top:solid 1px #DBD8C4;}
/* collapsed subtree */
div.msgs_c {margin:0px 0px 0px 16px;font-weight:bold}

#msgtree_c {
    width:540px;
    /* changed by script onload */
    max-height: 800px;
    overflow: auto;
}
#msgtree {
    margin: 1em auto;
    border-spacing: 0px;
    border-collapse: collapse;
    border: none;
    width:100%;
    background: white; /* overflow of default bg is possible */
    background-image:none;
}
#msgtree td {
    padding:0px;
    font-size:10px;
    vertical-align:middle;
}
/* tree images */
#msgtree table {
    border-spacing: 0px;
    border-collapse: collapse;
    border: none;
}
#msgtree table td {padding: 0 0 0 4px}
/* tree images */
#msgtree table td.tri {padding: 0}
/* needed for Chrome */
#msgtree table td.tri img {width:12px; height:21px}
#msgtree table td.tri img.n {width:9px}

#msgtree a:link, #msgtree a:visited {text-decoration: none}

#msgtree .msg_ignored,
#msgtree .msg_ignored a:link,
#msgtree .msg_ignored a:visited  {color: #69694B}
#msgtree .msg_ignored a:active,
#msgtree .msg_ignored a:hover  {color:#990000}

#msgtree .date {color: #888888}


/* group access rights in list */
table.forum_list td.grights {white-space:nowrap;text-align:center}

/* topic starter cell in topic list */
table.forum_list td.topic_author a:link,
table.forum_list td.topic_author a:visited,
table.forum_list td.topic_author a:hover,
table.forum_list td.topic_author a:active {
    text-decoration:none;
}

div.tabs {
    text-align: left;
    margin-bottom: 10px;
    border-bottom: 2px solid #627AAC;
}

div.tabs div.tab {
    display: inline-block;
    padding: 5px;
    font-size: 12px;
    background-color: #EAE7D8;
    margin-left: 2px;
}

div.tabs div.tab a, div.tabs div.tab a:link,
div.tabs div.tab a:visited { color: #666666; text-decoration: none; }
div.tabs div.tab a:hover, div.tabs div.tab a:active { color: #990000; text-decoration: none; }

div.tabs div.selected {
    display: inline-block;
    background-color: #627AAC;
    font-weight: bold;
    color: #ffffff;
    padding: 8px 5px 5px 5px;
    font-size: 12px;
    margin-left: 2px;
}

div.tabs div.selected a, div.tabs div.selected a:link,
div.tabs div.selected a:visited { color: #ffffff; text-decoration: none; }
div.tabs div.selected a:hover, div.tabs div.selected a:active { color: #ffffff; text-decoration: none; }

div.friends_list_item {
    float: left;
    width: 181px;
    height: 50px;
    overflow: hidden;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCCCCC;
    font-size: 12px;
}

div.friends_list_item a, div.friends_list_item a:link,
div.friends_list_item a:visited, div.friends_list_item a:hover,
div.friends_list_item a:active { text-decoration: none; }

/* clearing element */
div.friends_list_item_clr {
    clear: both;
    height: 1px;
    margin: 0 0 -1px 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    top: -11px;
}
div.audio_playlist_item_clr { top: -1px; }

div.friends_list_item table { border-collapse: collapse; border: none; width: 100%; }
div.friends_list_item td { border: none; padding: 0px; vertical-align: middle; font-size: 12px; }
div.friends_list_item td.userpic { vertical-align: top; padding-right: 5px; width: 1px; }
div.friends_list_item td.del { width: 1px; padding: 0 10px; vertical-align: top; }

div.friends_list_item td a, div.friends_list_item td a:link,
div.friends_list_item td a:visited { color:#08466F; text-decoration: none; }
div.friends_list_item td a:hover,
div.friends_list_item td a:active { color:#08466F; text-decoration: underline; }



div.forum_right_column_extra {
    font-size: 11px;
    text-align: center;
    border-top: 1px solid #999999;
    padding-top:5px;
}

div.forum_acl_item {
    float: left;
    width: 271px;
    height: 50px;
    overflow: hidden;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCCCCC;
    font-size: 12px;
}

/* clearing element */
div.forum_acl_item_clr {
    clear: both;
    height: 1px;
    margin: 0 0 -1px 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    top: -11px;
}

div.forum_acl_item table { border-collapse: collapse; border: none; width: 100%; }
div.forum_acl_item td { border: none; padding: 0px; vertical-align: middle; font-size: 12px; }
div.forum_acl_item td.userpic { vertical-align:top; padding-right:5px; width:1px; }
div.forum_acl_item td.del { width:1px; padding:0 10px; vertical-align:top; }
div.forum_acl_item div.name {
    padding-bottom: 5px;
    font-weight: bold;
    height: 14px;
    width: 192px;
    overflow: hidden;
    white-space: nowrap;
}
div.forum_acl_item div.link { white-space: nowrap; font-size: 11px; }

div.forum_acl_item a,
div.forum_acl_item a:link,
div.forum_acl_item a:visited,
div.forum_acl_item a:hover,
div.forum_acl_item a:active { text-decoration: none; }

div.forum_acl_item div.name a,
div.forum_acl_item div.name a:link,
div.forum_acl_item div.name a:visited { color:#08466F; text-decoration: none; }
div.forum_acl_item div.name a:hover,
div.forum_acl_item div.name a:active { color:#08466F; text-decoration: underline; }

div.forum_acl_item div.link a,
div.forum_acl_item div.link a:link,
div.forum_acl_item div.link a:visited { color:#08466F; text-decoration: none; }
div.forum_acl_item div.link a:hover,
div.forum_acl_item div.link a:active { color:#08466F; text-decoration: underline; }

#content_layout .news_left { /*td*/
    width:300px;
    padding: 10px 0px 0px 10px;
    text-align: left;
}

#content_layout .news_left .news_title {
    margin-bottom: 1em;
    background-color:#eae7d8;
    padding:10px;
}

#content_layout .news_left img.hot_news_logo {
    width:280px;
    float: left;
    margin:0px 0px 0.5em 0px;
}

#content_layout .news_left a:link,
#content_layout .news_left a:visited {text-decoration: none}
#content_layout .news_left a:active,
#content_layout .news_left a:hover {text-decoration: underline}

#content_layout .news_left .news_title h1 {font-size:12pt;font-weight:bold;margin:0px}
#content_layout .news_left .news_title h2.abstract {font-size:11pt;font-weight:normal;margin:0px}
#content_layout .news_left .news_title h2.abstract span.comm {font-size: 10pt}



#content_layout .news_right { /*td*/
    text-align: justify;
    padding: 10px 10px 0px 10px;
}

#content_layout .news_right .news_title h1 {font-weight:bold;margin:0px}


#content_layout .news_right .panel {
    padding:8px 3px;
    font-size:13px;
    font-weight:bold;
    white-space: nowrap;
    text-align:center; /* justify не работает при всего 1 строке */
}

#content_layout .news_right .panel input,
#content_layout .news_right .panel select {
    font-size:12px;
    vertical-align: middle;
}

#content_layout .news_right #news_search_panel input.text { width:170px; }

/*
rounded corners

вариант с абсолютным позиционированием фоновых div
в IE 5-6 нужен хак height:1px и в некоторых случаях - правые div надо сдвигать на 1px вправо,
вместо этого используется expression
IE7 работает сам
недостаток: для исходного div нужно устанавливать новый stacking context через position: relative
*/

/* общие стили для всех уголоков */
div.autoround_tl, div.autoround_tr, div.autoround_bl, div.autoround_br {
padding:0px; margin:0px; position: absolute;
font-size: 1px;
}

div.autoround_tl { top: 0px; left: 0px}
div.autoround_tr { top: 0px; right: 0px }
div.autoround_bl { bottom: 0px; left: 0px  }
div.autoround_br { bottom: 0px; right: 0px  }

.autoround_content, .autoround_content #tg_arc_cal {
position:relative;
}

/* хаки для IE  5-6 */
* html .autoround_content {height:1px;}

* html div.autoround_tr, * html div.autoround_br { right: auto; left: expression((this.offsetParent.clientWidth-parseInt(this.currentStyle.width))+'px')}
* html div.autoround_bl, * html div.autoround_br { bottom: auto; top: expression((this.offsetParent.clientHeight-parseInt(this.currentStyle.height))+'px')}


.news_title div.autoround_tl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tl.gif") transparent no-repeat top left;}
.news_title div.autoround_tr { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tr.gif") transparent no-repeat top right;}
.news_title div.autoround_bl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_bl.gif") transparent no-repeat bottom left;}
.news_title div.autoround_br { height: 7px; width:7px; background: url("i/new/rb_eae7d8_br.gif") transparent no-repeat bottom right;}

.panel div.autoround_tl { height: 7px; width:7px; background: url("i/new/rb_e0c0a0_tl.gif") transparent no-repeat top left;}
.panel div.autoround_tr { height: 7px; width:7px; background: url("i/new/rb_e0c0a0_tr.gif") transparent no-repeat top right;}
.panel div.autoround_bl { height: 7px; width:7px; background: url("i/new/rb_e0c0a0_bl.gif") transparent no-repeat bottom left;}
.panel div.autoround_br { height: 7px; width:7px; background: url("i/new/rb_e0c0a0_br.gif") transparent no-repeat bottom right;}

/* IE classic fix */
* html .autorounded {height: 1px}

/* news/hot news */
.news {}

.news .head {border: none;}

.news table.head, .news table.head table {border-collapse:collapse;border-spacing:0px}
.news .head tr.t td {vertical-align:top}
.news .head tr.t td td {vertical-align:middle}

.news .head td {
    padding:0px;
    background-color: #dbd8c4;
}

.news .head td.r {
    width: 14em;
    border-left: solid #F8F7F1 6px;
}

.news .head .titles_t, .news .head .links_t {
    padding: 6px 6px 0px 6px;
}

.news .head .titles_b, .news .head .links_b {
    height: 6px; font-size: 1px; overflow:hidden;
}

.news .head img.hot_news_logo {
    margin: 0px 5px 0px 0px;
    width:140px;
    }

/* TODO: proper color antialiased corners */
.news .head .titles_t div.autoround_tl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tl.gif") transparent no-repeat top left;}
.news .head .titles_t div.autoround_tr { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tr.gif") transparent no-repeat top right;}
.news .head .titles_b div.autoround_bl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_bl.gif") transparent no-repeat bottom left;}
.news .head .titles_b div.autoround_br { height: 7px; width:7px; background: url("i/new/rb_eae7d8_br.gif") transparent no-repeat bottom right;}

.news .head .links_t div.autoround_tl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tl.gif") transparent no-repeat top left;}
.news .head .links_t div.autoround_tr { height: 7px; width:7px; background: url("i/new/rb_eae7d8_tr.gif") transparent no-repeat top right;}
.news .head .links_b div.autoround_bl { height: 7px; width:7px; background: url("i/new/rb_eae7d8_bl.gif") transparent no-repeat bottom left;}
.news .head .links_b div.autoround_br { height: 7px; width:7px; background: url("i/new/rb_eae7d8_br.gif") transparent no-repeat bottom right;}


/* news titles (last and by serie) */
div.news_title h1 {font-size:10pt;font-weight:normal}

div.news_title h2 {font-size: 10pt}

div.serie_titles div.news_title {margin-bottom:1em}

/* last news titles list page */
div.last_news div.hot_news {
    background-color: #dee7ec;
    padding: 5px 0px 5px 5px;
    }
div.last_news div.hot_news h1, div.last_news div.hot_news h2 {margin:0px 5px;position:relative;}
div.last_news div.hot_news img.hot_news_logo {width:280px;}

div.news {/*margin-top:1em;*/margin-bottom:1em}
div.tags {margin-top:1em;margin-bottom:1em}

body.calendar h1.mtwork {
    margin-bottom:3px;
}

/* same as h1 */
body.calendar .title_date {
    float:right;
}

body.calendar div.title_arrows {
    text-align:center;
    clear:both;
    margin-bottom: 10px;
}
body.calendar div.title_arrows img.l {
    margin-right: 19px;
}

/* calendar events table */
#cal_table {
    clear: both; /* FF 1.5 tries to place table between floaters :( */
    width: 540px; /* 76*7 + 8*1 (cellspacing) = 540. (544 max) */
    border: solid #fff 1px;
    border-collapse:collapse;
    background: #fff;
    margin: 0px auto 0px auto;
}
#cal_table th, #cal_table td {
    vertical-align:top;
    width: 76px;
    height: 132px;
    border: solid #fff 1px;
    padding: 0px;
    background: #eae7d8;
    font-size: 11px;
}
#cal_table td.other_month {
    background: #efeee4;
    color: #444;
}
#cal_table td.today {
    border: solid #6b7e8c 1px;
}
/* top-right-bottom-left of today */
#cal_table td.totd {
    border-bottom: solid #6b7e8c 1px;
}
#cal_table td.botd {
    border-top: solid #6b7e8c 1px;
}
#cal_table td.lotd {
    border-right: solid #6b7e8c 1px;
}
#cal_table td.rotd {
    border-left: solid #6b7e8c 1px;
}

#cal_table th {
    height: 18px;
    vertical-align: middle;
    color: #fff;
    background: #8ab0b0 url("i/cal/th_bg_weekday.gif");
    text-align: left;
    padding-left: 6px;
    width: 70px; /* 76 - 6 */
    font-size: 12px;
    font-weight: bold;
}
#cal_table th.weekend {
    background: #d6b28f url("i/cal/th_bg_weekend.gif");
}

/* "whole cell" link */
#cal_table td a.abs_cell:link, #cal_table td a.abs_cell:visited,
#cal_table td a.abs_cell:hover, #cal_table td a.abs_cell:active {
    display:block;
    position:absolute;
    width:76px;
    height: 132px;
    margin:0;
    text-decoration:none;
}

#cal_table td div.day_events {
    clear:both;
    margin:0px;
    width:76px;
    height: 132px;
    overflow:auto;
    overflow-x:hidden;
}

#cal_table td div.day_events_c {
    clear:both;
    margin:0px;
    width:76px;
    overflow:hidden;
}

#cal_table td div.event {
    text-align:center;
    overflow:hidden;
}
#cal_table td div.day_events div.event {
    padding: 3px 0px;
    margin: 0px 0px 1em 0px;
}
#cal_table td div.day_events_c div.event {
    padding: 3px 2px;
    margin: 0px;
    width:72px; /* IE7 forgets to expand these divs to 100% after parent class change */
}

#cal_table td div.day_num {
    float:left;
    padding: 3px 0px 0px 0px;
    width:19px;
    height:18px;
    margin-bottom: 5px;
    text-align:center;
    background-color: #d6d3c4;
    color: #6b7e8c;
    font-size:11px;
    font-weight:bold;
}
#cal_table td.today div.day_num {
    background-color: #6b7e8c;
    color: #ffffff;
}
#cal_table td.other_month div.day_num {
    background-color: #e7e7db;
    color: #b0b9c0;
}
#cal_table td div.day_num a:link, #cal_table td div.day_num a:visited {
    color: #6b7e8c;
    text-decoration: none;
}
#cal_table td.today div.day_num a:link, #cal_table td.today div.day_num a:visited {
    color: #ffffff;
}
#cal_table td div.day_num a:hover, #cal_table td div.day_num a:active,
#cal_table td.today div.day_num a:hover, #cal_table td.today div.day_num a:active {
    color: #990000;
    text-decoration: none;
}


#cal_table td div.own, #cal_table td.own {
    background-color: #94bebe;
}
#cal_table td div.else, #cal_table td.else {
    background-color: #c6d8da;
}
#cal_table td div.global, #cal_table td.global {
    background-color: #e8dca4;
}
#cal_table td div.birthday, #cal_table td.birthday {
    background-color: #dfbe9e;
}
#cal_table td div.project, #cal_table td.project {
    background-color: #cac4db;
}


#cal_table td div.day_events div.event img,
#cal_table td div.day_events_c div.event img {
    display:block;
    margin: 0px auto 0px auto;
}

/* full structure of generated text link code see in cal.js */
#cal_table td div.event a.text {
    display: block;
}

#cal_table td div.day_events_c div.event div.text {
    width: 72px;
    height: 40px; /*empiric space left */
    overflow: hidden;
}

#cal_table td div.day_events_c div.event div.text table {
    border: none;
    border-collapse: collapse;
    table-layout:fixed;
    width: 72px;
    height: 40px;
}
#cal_table td div.day_events_c div.event div.text table td {
    padding: 0px;
    vertical-align: middle;
    text-align: center;
    width: 72px;
    height: 40px;
    overflow: hidden;
/* reset other definitions provided by
#cal_table th, #cal_table td
declaration
*/
    border: none;
    background: transparent;
}

#cal_table td div.day_events_c div.event div.text table td a {
    display: block;
    width: 72px;
    overflow: hidden;
}


#cal_table td.other_month div.day_events,
#cal_table td.other_month div.day_events_c {opacity:0.5}

#cal_table td div.day_events_c div.hide {display:none}

#cal_table td a.down:link, #cal_table td a.down:hover, #cal_table td a.down:active, #cal_table td a.down:visited {
    display:block;
    float:right;
    text-decoration:none;
    border: none;
    margin: 2px 2px 1px 0px;
}

#cal_table td div.counter {
    text-align:center;
    color: #990000;
    margin-top: 4px;
}


body.calendar .event_popup {
    position: absolute;
    visibility: hidden;
    display: block;
    width: 302px;
    height: 124px; /* 100 + 2*11 (visual padding) + 2 (shadow) */
    top: 0px;
    left: 0px;
    overflow:hidden;
    z-index:1
}
/* shadow */
body.calendar .event_popup .shadow {
    position: absolute;
    width: 302px;
    height: 124px;
    background: url("i/cal/info_shadow.gif");
    opacity: 0.25;
    filter:Alpha(style=0,opacity=25);
    top: 0px;
    left: 0px;
    z-index:-100;
}
/* rounded borders */
body.calendar .event_popup table.rb {
    width: 300px;
    height: 122px;
    border-collapse: collapse;
    border: none;
    margin: 0;
    table-layout:fixed;
    margin:0 2px 0 0;
}
body.calendar .event_popup table.rb td {
    border:none;
    padding:0;
    text-align:left;
}
body.calendar .event_popup .rb_tl {
    width:5px;
    height:5px;
    background: url("i/cal/info_rb_tl.gif");
}
body.calendar .event_popup .rb_t {
    width: 290px;
    background: url("i/cal/info_bg.gif");
}
body.calendar .event_popup .rb_tr {
    width:5px;
    background: url("i/cal/info_rb_tr.gif");
}
body.calendar .event_popup .rb_c {
    background: #ccd3b8 url("i/cal/info_bg.gif") repeat-x 0px -5px;
    height: 112px;
    overflow: hidden;
}
body.calendar .event_popup .rb_bl {
    width:5px;
    height:5px;
    background: url("i/cal/info_rb_bl.gif");
}
body.calendar .event_popup .rb_b {
    width: 290px;
    background: #ccd3b8;
}
body.calendar .event_popup .rb_br {
    width:5px;
    background: url("i/cal/info_rb_br.gif");
}

body.calendar .event_popup table.info {
    margin: 6px 11px;
    border-collapse: collapse; /* cellspacing = 0 */
    border: none;
    width: 278px;
}
body.calendar .event_popup table.info td.image {
    vertical-align: middle;
    text-align: left;
    padding-right:5px;
    max-width:150px;
}
body.calendar .event_popup table.info img {
    max-width:150px;
}
body.calendar .event_popup table.info td.name {
    vertical-align: middle;
    text-align: center;
    color: #900;
    font-weight:bold;
}


#cal_legend {
    margin: 0px;
}

#cal_legend div {
    padding: 2px 0px 0px 20px;
    height: 17px;
    margin-bottom: 5px;
}

#cal_legend div.own {
    background: url("i/cal/legend_own_bg.gif") no-repeat;
}
#cal_legend div.else {
    background: url("i/cal/legend_else_bg.gif") no-repeat;
}
#cal_legend div.global {
    background: url("i/cal/legend_global_bg.gif") no-repeat;
}
#cal_legend div.birthday {
    background: url("i/cal/legend_birthday_bg.gif") no-repeat;
}
#cal_legend div.project {
    background: url("i/cal/legend_project_bg.gif") no-repeat;
}


body.calendar form.search {
    clear:both;
    background: #efeee4 url("i/new/search_bg.gif") repeat-x;
    padding: 10px;
    margin: 0.5em 0px 1em 0px;
}
body.calendar form.search h6 {
    color:#08466f;
    margin: 0 auto 0.5em 0;
}
body.calendar form.search input.submit {
    margin-top: 0.5em;
}


/* table#gal_last */
#gal_last {
    border: none;
    border-collapse:collapse;
}
#gal_last td {
    padding: 3px 3px 6px 3px;
    width:182px; /* 182px*4 = 728px */
    vertical-align: top;
    text-align: center;
}

/* person list in 3 columns */
table.person3 {
    float: left;
    width:135px;
    height:33px;
    margin: 0 10px 10px 0;
    border-collapse: collapse;
    border: none;
}
table.person3 td {
    border: none;
    padding: 0px;
    vertical-align: middle;
}
table.person3 td.userpic {
    width:0px;
    padding-right:5px;
}
table.person3 td.name {
    width: 105px;
}
table.person3 td.name div {
    overflow: hidden;
    width: 105px; /* 135-25-5 */
    height: 33px;
}

table.info2i {
    width: 100%;
    border-collapse: collapse;
}

table.info2i td {
    vertical-align:top;
}
table.info2i td.logo {
    width: 1px;
    font-size: 10px;
}
table.info2i td.logo img {
    margin: 7px 10px 7px 0px;
}
table.info2i td.logo img.icon {
    margin: 0;
}

table.info2 {
    border: none;
    border-collapse: collapse;
    width:100%;
    margin: 0;
}

table.info2 td {
    vertical-align:middle;
    padding:0;
}
table.info2 td.l, table.info2 td.f {
    padding:3px 0 2px;
    border-top: solid #e9e7db 1px;
    border-bottom: solid #e9e7db 1px;
    height: 1px; /* squeeze to least possible */
}
table.info2 td.l {
    white-space: nowrap;
    padding-right: 8px;
    color: #9a6634;
    font-weight:bold;
    width:1px; /* squeeze to least possible */
}
table.info2 td.first, table.info2 tr.first td.l, table.info2 tr.first td.f {
    border-top: none;
    padding-top:4px;
}
table.info2 td.last, table.info2 tr.last td.l, table.info2 tr.last td.f {
    border-bottom: none;
    padding-bottom: 3px;
    height: auto;
}
table.info2 td.restricted {
    background-color:#ffffd0;
}

.iblock {
    margin: 1em 0;
}

/* highlighted background */
.iblockhl {
    background: #f0ede4 url("i/info_corn.gif") no-repeat top right;
    padding: 10px;
    margin: 10px 0;
}

.iblockhlt {
    background: #f0ede4 url("i/info_corn.gif") no-repeat top right;
    padding: 4px 16px 4px 10px;
    margin: 0.5em 0;
    overflow: hidden;
}

.iblock h2, .iblockhl h2 {
    color: #659b9b;
    font-size: inherit;
    font-weight: bolder;
    margin: 0 0 5px 0;
}

.iblock h2 a:link,
.iblock h2 a:visited,
.iblock h2 a:hover,
.iblock h2 a:active,
.iblockhl h2 a:link,
.iblockhl h2 a:visited,
.iblockhl h2 a:hover,
.iblockhl h2 a:active {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.iblock h2 a:link,
.iblock h2 a:visited,
.iblockhl h2 a:link,
.iblockhl h2 a:visited {
    text-decoration:none;
}

.iblock h2 a:hover,
.iblock h2 a:active,
.iblockhl h2 a:hover,
.iblockhl h2 a:active {
    text-decoration:underline;
}


.iblock h2 {
    margin: 5px 0;
}


.iblock h3, .iblock h4 {
    color: inherit;
    font-size: inherit;
    font-weight: bolder;
    margin: 5px 0;
}


.iblockhl li {
    margin-left: 17px;
}

.iblockhlt table.v {
    border-collapse:collapse;
    border: 0;
    width: 100%;
}

.iblockhlt table.v th {
    padding: 3px;
    color: #a8a272;
    border-bottom: solid #e9e7db 1px;
}

.iblockhlt table.v tr td {
    padding: 3px 3px 2px;
    border-top: solid #e9e7db 1px;
    border-bottom: solid #e9e7db 1px;
}
.iblockhlt table.v tr.first td {
    border-top: none;
    padding-top:4px;
}
.iblockhlt table.v tr.last td {
    border-bottom: none;
    padding-bottom: 3px;
    height:auto;
}

body.cv h2 {
    font-size: 12pt;
    font-weight: bolder;
    margin: 0.5em 0;
    color: #003366;
}

body.cv h2.cvc {
    color: #659b9b;
}

body.cv div.cvc {
    margin-bottom: 1em;
    background: #efeee4;
}
body.cv div.cvc_shift {
    margin: 0 15px 30px 0;
}

body.cv .cvc_head {
    background: #e8e0cf url("i/cvc_arr.gif") top left no-repeat;
    height: 35px;
    padding-left: 18px;
}

body.cv .cvc_head h2 {
    display: block;
    float: left;
    margin:0;
    padding: 8px 0 0 0;
    font-size: inherit;
    font-weight: bold;
    color: #9a6634;
}

body.cv .cvc_head div.search {
    display: block;
    float: right;
    margin: 0;
    padding: 8px 23px 4px 0;
    background: url("i/cvc_corn.gif") top right no-repeat;
}

body.cv .cvc_head div.search a {
    padding: 0 0 4px 20px;
    height: 17px;
    background: url("i/cvc_search.gif") top left no-repeat; /* 16*17 */
}

body.cv table.cvc {
    width: 100%;
    border-collapse:collapse;
    border:none;
}

body.cv table.cvc td.dates {
    padding: 3px;
    vertical-align:top;
}

body.cv table.cvc td.cvc_data td {
    padding: 0px 3px 2px 3px; /* bottom 2px needed for link background image */
}

body.cv table.cvc td.cvc_data td.l {
    font-weight: bold;
    color: #9a6634;
}

body.cv table.cvc td.f a.search {
    padding: 0 0 4px 20px;
    background: url("i/cvp_search.gif") no-repeat;
}

body.cv table.cvc div.cvp {
    background: #c8dcd1;
    margin: 0 -15px -15px 0;
}

body.cv table.cvc div.cvp_head {
    background: #b6cdc5 url("i/cvp_corn.gif") top right no-repeat;
    height: 27px;
    padding: 8px 15px 0px 12px; /* bad */
    color: #ffffff;
    font-weight: bold;
    position:relative; /* IE 6 hack */
}

body.cv table.cvc div.cvpt {
    background: #c8dcd1;
    padding: 0px 11px;
    position:relative; /* IE 6 hack */
    height: 100%; /* IE 6 hack */
}

body.cv table.cvp {
    width: 100%;
}

body.cv table.cvp td {
    padding: 0px 3px 3px 3px;  /* bottom 3px needed for link background image */
}

body.cv div.cvp table.nextproj {
    border-top: solid white 1px;
}

body.cv table.cvp {
    border-collapse:collapse;
    border:none;
}

body.cv table.cvp td.l {
    color: #4e7b7b;
    font-weight: bold;
    width: 50px;
}

body.cv table.cvp tr.first td {
    padding-top: 18px;
}
body.cv table.cvp tr.last td {
    padding-bottom: 18px;
}

body.cv table.cvp td.cvp_dates {
    vertical-align: top;
    padding-top: 18px;
    padding-bottom: 18px;
    width: 115px;
}

body.cv table.cvc a.op_ed, body.cv table.info2 a.op_ed {
    padding: 0 0 3px 20px;
    background: url("i/blog_add.gif") no-repeat;
}
body.cv span.edit {
    padding: 0 0 3px 20px;
    background: url("i/edit.gif") no-repeat;
}
body.cv span.op_ed {
    padding: 0 0 3px 20px;
    background: url("i/blog_add.gif") no-repeat;
}

body.cv_ops div.op_blockhl {
    background: #efeee4;
    padding-bottom: 1em;
    margin: 1em 0;
}

body.cv_ops table.op_head {
    border-spacing: 0px;
    border-collapse: collapse;
    border: none;
    background: #e8e0cf url("i/cvc_corn.gif") top right no-repeat;
    width:100%;
    margin: 0px;
}
body.cv_ops table.op_head td {
    vertical-align: top;
    padding: 3px;
}
body.cv_ops table.op_head td.right {
    padding-right: 18px; /* padding for corner */
}

body.cv_ops .op_head .person a:link,
body.cv_ops .op_head .person a:visited {
    text-decoration: none;
}

body.cv_ops div.op {
    margin: 1em 3px 0;
}



body.info a.edit {
    padding: 1px 0 2px 20px;
    background: url("i/edit.gif") no-repeat;
}
body.info a.gal_edit {
    padding: 4px 0 8px 28px;
    background: url("i/gallery.gif") no-repeat;
}
body.info a.gal {
    padding: 4px 0 4px 28px;
    background: url("i/gallery.gif") no-repeat;
}
body.info a.blog {
    font-size:11px;
    padding: 1px 0 2px 20px;
    background: url("i/blog.gif") no-repeat;
}
body.info a.blog_add {
    padding: 1px 0 2px 28px;
    background: url("i/blog_add.gif") no-repeat;
}
body.info .iblockhl a.blog {
    padding: 1px 0 2px 28px;
    background: url("i/blog_f0ede4.gif") no-repeat;
}
body.info a.orders {
    padding: 1px 0 2px 20px;
    background: url("i/orders.gif") no-repeat;
}
body.info a.pay {
    padding: 1px 0 2px 20px;
    background: url("i/pay.gif") no-repeat;
}
body.info .ignore, body.info .ignore_list {
    padding: 1px 0 2px 28px;
    background: url("i/ignore.gif") no-repeat;
}
body.info a.friends_list {
    padding: 1px 0 2px 28px;
    background: url("i/friends.gif") no-repeat;
}
body.info a.pm_send {
    padding: 1px 0 2px 28px;
    background: url("i/pm_send.gif") no-repeat;
}
body.info a.edit:visited, body.info a.gal_edit:visited,
body.info div.gal a:visited, body.info div.blog a:visited,
body.info a.pay:visited, body.info a.orders:visited,
body.info a.ignore:visited, body.info a.blog:visited {
    color:#08466F; /* copied from unvisited, no color change */
}


abbr.RM {background:#fb5f15}
abbr.HR {background:#c2c72c}
abbr.PR {background:#a1d5e2}
abbr.PM {background:#a4e2a1}

body.info .project_awards td {
    text-align:center;
}

/* avg ratings on project info page */
table.project_info_ratings {
    border:none;
    border-collapse:collapse;
}
table.project_info_ratings td {
    padding:0px;
    border:none;
    vertical-align:baseline;
}
table.project_info_ratings td.percent {
    font-weight:bold;
    font-size: 13pt;
    text-align:right;
    padding-left:12px;
}
table.project_info_ratings tr.r td.percent, table.project_info_ratings tr.ro td.percent {
    color: #9a0403;
}
table.project_info_ratings tr.f td.percent, table.project_info_ratings tr.fo td.percent,
table.project_info_ratings tr.gr td.percent {
    color: #99982e;
}

.all_ranks_link {
    float: right;
    margin-right: 5px;
}
.all_ranks_link a {
    padding-left: 20px;
    background: url("i/grade.gif") no-repeat;
}

/* cell with unfreeze date in the future */
.list_frozen .future  {background-color: #CAD9BA} /* color equal td.unread */

/* block with notices */
.no_publ_access {
    margin: 1em 0;
    font-style: italic;
}

table.pay_methods {
    margin-top: 1em;
}

table.pay_methods td {
    padding-bottom: 1em;
}

table.pay_methods td img {
    float:left;
    margin: 0 5px 3px 0;
}

/*
 * PORTFOLIO
 */

div.portfolio {padding-left: 10px}

/*
div.portfolio table.content {
    width: 730px;
    border: none;
    margin: 0px;
    border-collapse: separate;
    border-spacing: 0px;
}
*/
/*
div.portfolio table.content td.left {
    width: 512px;
    margin: 0px;
    padding: 0px 10px 0px 0px;
    vertical-align: top;
    color: #333333;
    font-size: 13px;
}
*/
/*
div.portfolio table.content td.left h1 {
    margin: 20px 0px 10px 0px;
    color: #9A6634;
    font-size: 13px;
    font-weight: bold;
}
*/
/*
div.portfolio table.content td.right {
    width: 208px;
    margin: 0px;
    padding: 10px;
    background-color: #eae7d8;
    vertical-align: top;
    color: #666666;
    font-size: 13px;
    font-family: Arial, Helvetica;
}
*/
div.portfolio div.header {
    color: #9a6634;
    margin: 0 auto;
    padding: 0px 0px 10px 0px;
    border-style: solid;
    border-width: 0px 0px 2px 0px;
    border-color: #9A6634;
    font-size: 20px;
    font-family: Arial, Helvetica;
}

div.portfolio div.title {
    width: 512px;
    margin: 10px 0px 10px 0px;
    padding: 0px;
    color: #333333;
}

div.portfolio div.warning {
    margin: 10px 0px 10px 0px;
    padding: 0px;
    color: #CC0000;
}

div.portfolio div.title1 {
    width: 402px;
    float: left;
    padding: 0px 10px 0px 0px;
    color: #333333;
}

div.portfolio div.title2 {
    width: 100px;
    float: left;
    padding: 0px;
    text-align: center;
    color: #666666;
    font-size: 11px;
    font-family: Arial, Helvetica;
}

div.portfolio div.title b {
    color: #659b9b;
    font-size: 12px;
    font-weight: bold;
}

div.portfolio div.title2 b {
    color: #666666;
}

div.portfolio div.title big {
    color: #9a6634;
    font-size: 20px;
    font-family: Arial, Helvetica;
}

div.portfolio div.folder {
    width: 240px;
    float: left;
    margin: 0px;
    padding: 1px 15px 15px 1px;
    border: none;
    font-size: 11px;
    background-repeat: no-repeat;
    background-image: url("i/pf/fb.gif");
    background-position: bottom right;
}


div.portfolio div.folder_sm {
    width: 180px;
    float: left;
    margin: 5px 13px 15px 13px;
    padding: 15px;
    border: none;
    font-size: 11px;
    background-color: #F0EDE4;
}
div.portfolio div.folder_sm img {margin-left:5px}

div.portfolio div.folder div.title {
    width: 220px;
    height: 30px;
    padding: 5px 10px 5px 10px;
    margin: 0px;
    font-size: 10pt;
    font-weight: bold;
    font-family: Arial, Helvetica;
    overflow: hidden;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #9A6634;
    background-color: #F0EDE4;
}


div.portfolio div.folder_sm div.title {
    width: 180px;
    height: 30px;
    padding: 5px 0px 5px 0px;
    margin: 0px;
    font-size: 10pt;
    font-weight: bold;
    font-family: Arial, Helvetica;
    overflow: hidden;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #9A6634;
    background-color: #F0EDE4;
}

div.portfolio div.folder div.info {
    width: 220px;
    padding: 5px 10px 5px 10px;
    margin: 0px;
    background-color: #F0EDE4;
}

div.portfolio div.folder_sm div.info {
    width: 180px;
    height: 15px;
    padding: 5px 0px 5px 0px;
    margin: 0px;
    background-color: #F0EDE4;
    overflow: hidden;
}

div.portfolio div.folder div.owner {
    width: 220px;
    padding: 5px 10px 5px 10px;
    margin: 0px;
    background-color: #DBD8C4;
}

div.portfolio div.folder div.title a:link,
div.portfolio div.folder div.title a:visited { color: #9a6634; text-decoration: none; }

div.portfolio div.folder div.title a:hover,
div.portfolio div.folder div.title a:active { color: #990000; text-decoration: none; }

div.portfolio table.fly {
    width: 513px;
    border: none;
    margin: 0px;
    border-collapse: separate;
    border-spacing: 0px;
}

div.portfolio table.fly td {
    margin: 0px;
    padding: 5px;
    border-collapse: separate;
    border-spacing: 0px;
    background-color: #f0f0f0;
    text-align: center;
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: #ffffff;
    font-size: 11px;
}
div.portfolio table.fly td.selected {
    background-color: #E9E7D7;
}

div.portfolio div.fly {
    /*
    width: 492px;
    */
    padding: 24px 10px;
    background-color: #E9E7D7;
}
div.portfolio div.fly a.close {
    float:right;
    margin-top: -24px;
    margin-right:-10px;
}

div.portfolio div.fly .vote img {
    vertical-align:middle;
}

div.portfolio div.fly div.votewait {
    width:400px;
    height:40px;
    background: #E9E7D7 url("i/wait.gif") 100px 5px no-repeat;
}

div.portfolio a.gray:link,
div.portfolio a.gray:visited {
    color: #CCCCCC;
    text-decoration: none;
}

div.portfolio a.gray:hover,
div.portfolio a.gray:active {
    color: #990000;
    text-decoration: underline;
}

div.portfolio table.msg {
    border-spacing: 0px;
    border-collapse: collapse;
    border: none;
    background-color: #F0EDE4;
    width:100%;
    margin: 0px;
}

div.portfolio table.msg td {
    vertical-align: top;
    padding: 3px;
}

div.portfolio div.msg {
    overflow: auto;
    overflow-y: visible;
    margin: 0px 0px 5px 0px;
    width: 100%;
    padding-bottom:expression((this.clientHeight!=this.offsetHeight)?'20px':0); /* padding for scrollbar in IE */
}

div.portfolio #player {
    background:black no-repeat;
    color: white;
    display:block;
    width:512px;
    text-align:center;
}
div.portfolio #player * {
    background: black;
    color: white;
}

div.portfolio table.audio_file {
    margin: 10px 0;
    width:100%;
    border-collapse: separate;
    border-spacing:0;
    padding:5px;
    border: solid #cccccc 1px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
div.portfolio table.audio_file td {
    padding:0;
}

div.portfolio .audio_file .player_ph {
    height:26px;
    width:100%;
}


div.portfolio .audio_playlist table.item {
    width:100%;
    border-top: 1px solid #cccccc;
    border-collapse: separate;
    padding:10px 0;
    border-spacing:0;
}
div.portfolio .audio_playlist table.first {
    border:none;
}
/* div.portfolio .audio_playlist table.item.selected */
div.portfolio .audio_playlist .selected {
    background-color: #edeff4;
}
div.portfolio .audio_playlist td.playbutton, div.portfolio .audio_file td.playbutton {
    vertical-align:top;
    padding:0;
    width:64px;
}
div.portfolio .audio_playlist td.playbutton img, div.portfolio .audio_file td.playbutton img {
    width:64px;
    height:64px;
    border:none;
}
div.portfolio .audio_playlist td.description {
    vertical-align:middle;
    padding:0;
}
div.portfolio .audio_playlist td.description a:link,
div.portfolio .audio_playlist td.description a:visited {
    color: #659b9b;
    font-weight:bold;
    text-decoration:none;
}
div.portfolio .audio_playlist td.description a:hover,
div.portfolio .audio_playlist td.description a:active {
    color: #990000;
    font-weight:bold;
    text-decoration:underline;
}
div.portfolio .audio_playlist td.description .duration {
    font-weight:normal;
    color: #888888;
}
div.portfolio .audio_playlist td.description .player_ph {
    height:26px;
    width:100%;
    margin-top:10px;
}

div.portfolio .video_playlist {
    width:535px;
    margin-top:10px;
    padding:0;
    overflow: auto;
    overflow-y: visible;
}

/* до трансформации */
div.portfolio .video_playlist .item {
    margin: 10px 0;
}
div.portfolio .video_playlist .selected {
    background-color: #e9e2b0;
}

/* после трансформации */
div.portfolio .video_playlist td .item {
    margin: 0;
    width:170px;
    overflow-x:hidden;
    text-align:center;
    font-size:11px;
}
div.portfolio .video_playlist table {
    border-collapse: separate;
    border:none;
    padding:0;
    border-spacing: 0px;
}
div.portfolio .video_playlist td {
    vertical-align:top;
    border:none;
    padding: 6px 4px;
}
div.portfolio .video_playlist td.selected {
    background-color: #e9e2b0;
}
/* fuck outline */
div.portfolio .video_playlist td * {
    outline:0;
}

div.portfolio div.video {
    background-color: #eae7d8;
    padding: 11px;
}

div.portfolio div.video div.ftitle {
    margin-bottom:10px;
}
div.portfolio div.video div.descr {
    margin-top:10px;
}
div.portfolio div.video div.ftitle a:link,
div.portfolio div.video div.ftitle a:visited {
    color: #659b9b;
    font-weight:bold;
    text-decoration:none;
}
div.portfolio div.video div.ftitle a:hover,
div.portfolio div.video div.ftitle a:active {
    color: #990000;
    font-weight:bold;
    text-decoration:underline;
}

/*
 * TOP
 */

table.top {width:100%;border:0;border-collapse:collapse;}
table.top td {vertical-align:middle;padding:3px;border-bottom:solid 1px #ffffff;}
table.top td.header { background-color: #E0C0A0; font-weight:bold; text-align:center; }
table.top td.pager {background-color: #E0C0A0;text-align:center;}
table.top td.rating {text-align:center;padding: 0 10px 0 0;color:#69694B;font-weight:bold;}
table.top td.rating small {font-weight:normal}
table.top td.number {text-align:right;font-weight:bold;padding:0 5px 0 10px;}
table.top td.place {
    font-size: 18px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #990000;
    padding: 0 10px 0 15px;
    text-align: right;
}
table.top div.title {margin-bottom: 5px;}
table.top div.title img.stat {margin:0 0 -3px 5px;}

/*
 * BUTTONS
 */
a.button, input.button, input.cite
{
    background-color: #A8A272;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    vertical-align:middle;
    color: #ffffff;
    text-shadow: #7E7950 0px 1px 0px;
    padding: 2px 6px 3px 6px;
    border: 1px solid #BEB996;
    border-right-color: #7E7950;
    border-bottom-color: #7E7950;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    display: inline-block;
    margin-right: 6px;
    cursor: pointer;
    height: auto;
}
a.button
{
    /* чтобы не зависеть от умолчания броузера, получить нужную высоту 20px, и сочетаться с ".plan .comm_links" */
    line-height:18px;
    padding: 0px 6px;
    white-space: nowrap;
}
a.button:link, a.button:hover, a.button:active, a.button:visited {color:#ffffff; text-decoration:none;}

input.cite {margin-right:0px;}

a.ok, input.ok, .comm_obj_c a.button
{
    border: 1px solid #8A9CC2;
    border-right-color: #3E5A88;
    border-bottom-color: #3E5A88;
    text-shadow: #3E5A88 0px 1px 0px;
    background-color: #627AAC;
    cursor: pointer;
}

a.button_gray, a.button_gray:link, a.button_gray:visited
{
    color: #666666;
    text-shadow: none;
    background: #F0F0F0 url("i/button.gif") left center repeat-x;
    cursor: pointer;
    border: 1px solid #999999;
}

a.button_gray:active, a.button_gray:hover
{
    color: #666666;
    text-shadow: none;
    background: #F0F0F0 url("i/button.gif") left center repeat-x;
    cursor: pointer;
    border: 1px solid #4A649B;
}

a.button_gray span.comm {
    color: #4A649B;
}

a.button_obj_menu_hide:link, a.button_obj_menu_hide:visited, a.button_obj_menu_hide:active, a.button_obj_menu_hide:hover
{
    border: 1px solid #4A649B;
    cursor: pointer;
    text-shadow: none;
    color: #666666;
    background: #F0F0F0 url("i/button_down.gif") right center no-repeat;
    padding-right: 21px;
    margin: 0px;
}

a.button_obj_menu_show:link, a.button_obj_menu_show:visited, a.button_obj_menu_show:active, a.button_obj_menu_show:hover
{
    border: 1px solid #999999;
    cursor: pointer;
    text-shadow: none;
    color: #666666;
    background: #F0F0F0 url("i/button_up.gif") right center no-repeat;
    padding-right: 21px;
    margin: 0px;
}

a.button_obj_menu_show:active, a.button_obj_menu_show:hover
{
    border: 1px solid #4A649B;
}

/* obj menu block */
div.obj_menu_c
{
    position: relative;
    float: right;
    font-size: 11px;
    line-height: 16px;
}

a.delmsg,
a.delthr,
a.edtmsg,
a.addfav,
a.remfav,
a.msglnk,
a.mode_flat,
a.mode_combo,
a.mode_tree,
a.privmsg,
a.profile,
a.addfrnd,
a.remfrnd,
a.addignor,
a.remignor,
a.bladd,
a.wladd,
a.blrem,
a.wlrem,
a.unchecked,
a.checked,
a.blog,
a.lock,
a.unlock,
a.comm,
a.delcomm
{
    color:#69694B;
    cursor: pointer;
    height: 16px;
    display: inline-block;
    padding: 0 0 0 20px;
    text-decoration: none;
    font-size: 11px;
    background-image: url("i/fn.gif");
    background-repeat: no-repeat;
}

a.delete,
a.close,
a.menu_show,
a.menu_hide,
a.groups,
a.topics,
a.add
{
    color:#69694B;
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;
    padding: 0;
    text-decoration: none;
    font-size: 11px;
    background-image: url("i/fn.gif");
    background-repeat: no-repeat;
}

a.check
{
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;
    padding: 0;
    background-repeat: no-repeat;
    background-image: url("i/fn.gif");
    background-position: 0 -336px;
}

a.check:link, a.check:visited
{
    background-image: url("i/fn.gif");
    background-position: 0 -336px;
}

a.check:active, a.check:hover
{
    background-image: url("i/fh.gif");
    background-position: 0 -352px;
}

a.check_head
{
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;
    padding: 0;
    background-repeat: no-repeat;
    background-image: url("i/check_head_off.gif");
}

a.check_head:link, a.check_head:visited
{
    background-image: url("i/check_head_off.gif");
}

a.check_head:active, a.check_head:hover
{
    background-image: url("i/check_head_on.gif");
}

a.delthr    { background-position: 0  -16px; }
a.edtmsg    { background-position: 0  -32px; }
a.addfav    { background-position: 0  -48px; }
a.remfav    { background-position: 0  -64px; }
a.msglnk    { background-position: 0  -80px; }
a.menu_show { background-position: 0  -96px; }
a.menu_hide { background-position: 0 -112px; }
a.mode_flat { background-position: 0 -128px; }
a.mode_combo{ background-position: 0 -144px; }
a.mode_tree { background-position: 0 -160px; }
a.privmsg   { background-position: 0 -176px; }
a.profile   { background-position: 0 -192px; }
a.addfrnd   { background-position: 0 -208px; }
a.remfrnd   { background-position: 0 -224px; }
a.addignor  { background-position: 0 -240px; }
a.remignor  { background-position: 0 -256px; }
a.bladd     { background-position: 0 -272px; }
a.wladd     { background-position: 0 -288px; }
a.blrem     { background-position: 0 -304px; }
a.wlrem     { background-position: 0 -320px; }
a.unchecked { background-position: 0 -336px; }
a.checked   { background-position: 0 -352px; }
a.blog      { background-position: 0 -368px; }
a.lock      { background-position: 0 -384px; }
a.unlock    { background-position: 0 -400px; }
a.comm      { background-position: 0 -416px; }
a.delcomm   { background-position: 0 -432px; }
a.groups    { background-position: 0 -448px; }
a.topics    { background-position: 0 -464px; }
a.add       { background-position: 0 -480px; }

a.close:link, a.close:visited,
a.delmsg:link, a.delmsg:visited,
a.delthr:link, a.delthr:visited,
a.edtmsg:link, a.edtmsg:visited,
a.addfav:link, a.addfav:visited,
a.remfav:link, a.remfav:visited,
a.msglnk:link, a.msglnk:visited,
a.mode_flat:link, a.mode_flat:visited,
a.mode_combo:link, a.mode_combo:visited,
a.mode_tree:link, a.mode_tree:visited,
a.privmsg:link, a.privmsg:visited,
a.profile:link, a.profile:visited,
a.addfrnd:link, a.addfrnd:visited,
a.remfrnd:link, a.remfrnd:visited,
a.addignor:link, a.addignor:visited,
a.remignor:link, a.remignor:visited,
a.bladd:link, a.bladd:visited,
a.wladd:link, a.wladd:visited,
a.blrem:link, a.blrem:visited,
a.wlrem:link, a.wlrem:visited,
a.delete:link, a.delete:visited,
a.menu_show:link, a.menu_show:visited,
a.menu_hide:link, a.menu_hide:visited,
a.unchecked:link, a.unchecked:visited,
a.checked:link, a.checked:visited,
a.blog:link, a.blog:visited,
a.lock:link, a.lock:visited,
a.unlock:link, a.unlock:visited,
a.comm:link, a.comm:visited,
a.delcomm:link, a.delcomm:visited,
a.groups:link, a.groups:visited,
a.topics:link, a.topics:visited,
a.add:link, a.add:visited
{
    color:#69694B;
    text-decoration: none;
    background-image: url("i/fn.gif");
}

a.delete:hover, a.delete:active,
a.close:hover, a.close:active,
a.delmsg:hover, a.delmsg:active,
a.delthr:hover, a.delthr:active,
a.edtmsg:hover, a.edtmsg:active,
a.addfav:hover, a.addfav:active,
a.remfav:hover, a.remfav:active,
a.msglnk:hover, a.msglnk:active,
a.menu_show:hover, a.menu_show:active,
a.menu_hide:hover, a.menu_hide:active,
a.mode_flat:hover, a.mode_flat:active,
a.mode_combo:hover, a.mode_combo:active,
a.mode_tree:hover, a.mode_tree:active,
a.privmsg:hover, a.privmsg:active,
a.profile:hover, a.profile:active,
a.addfrnd:hover, a.addfrnd:active,
a.remfrnd:hover, a.remfrnd:active,
a.addignor:hover, a.addignor:active,
a.remignor:hover, a.remignor:active,
a.bladd:hover, a.bladd:active,
a.wladd:hover, a.wladd:active,
a.blrem:hover, a.blrem:active,
a.wlrem:hover, a.wlrem:active,
a.unchecked:hover, a.unchecked:active,
a.checked:hover, a.checked:active,
a.blog:hover, a.blog:active,
a.lock:hover, a.lock:active,
a.unlock:hover, a.unlock:active,
a.comm:hover, a.comm:active,
a.delcomm:hover, a.delcomm:active,
a.groups:hover, a.groups:active,
a.topics:hover, a.topics:active,
a.add:hover, a.add:active
{
    color: #990000;
    text-decoration: underline;
    background-image: url("i/fh.gif");
}

/*
 * reply, quick_reply, comment form
 */

div.reply_form_c {
    background-color:#E9E7D7;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 6px; /* padding + 1px table cellspacing + 3px td padding = 10px */
}

div.reply_private {
    background-image:url('i/pvt_bg.gif');
}
div.reply_private table {
    background-color:#E9E7D7;
}

div.reply_complain {
    background-image:url('i/abuse_bg.gif');
}
div.reply_complain table {
    background-color:#E9E7D7;
}

div.portfolio div.fly div.reply_form_c {
    padding: 0px;
    margin: -4px; /* 10px padding -4px margin + 1px table cellspacing + 3px td padding = same 10px */
}

div.reply_form_c table {
    width:100%;
}

div.reply_form_c th {
    font-weight: bold;
    text-align: left;
}

div.reply_form_c td.userpic,
div.reply_form_c td.label,
div.reply_form_c td.close,
div.reply_form_c td.cite {
    width:1px; /*squeeze */
    text-align:right;
}

/*
div.reply_form_c td.close2 {
    text-align: right;
}
*/
div.reply_form_c a.close {
    /* block right-align */
    margin: 0 0 0 auto;
}

div.reply_form_c td.low {
    padding-top: 0px;
    padding-bottom: 0px;
}

div.reply_form_c td.subj {
    vertical-align:bottom;
}

div.reply_form_c td.subj input {
    width:100%;
}

div.reply_form_c textarea {
    width:100%;
}

div.reply_form_c img.wait {
    vertical-align:middle;
    margin-left:8px;
}

div.reply_form_c td.disabled_msg {
    vertical-align:middle;
}


/* модификаторы цвета  */
a.i2:link, a.i2:visited { color: #333333; background-image: url("i/fn2.gif"); }
a.i2:active, a.i2:hover { color: #4A649B; background-image: url("i/fh2.gif"); }

/*
 * COMMENT OBJ
 */
div.comm_obj_mf, div.comm_obj_blog, div.comm_obj_press, div.comm_obj_news, div.comm_obj_article
{
    margin-bottom: 10px;
}

table.comm_obj_head div.author {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}

table.comm_obj_head div.author a:link, table.comm_obj_head div.author a:visited {
    color: #333333;
    text-decoration: none;
}

table.comm_obj_head div.author a:hover, table.comm_obj_head div.author a:active {
    color: #333333;
    text-decoration: underline;
}

table.comm_obj_head span.date { color: #999999; margin-right: 5px; }

div.comm_obj_mf h1, div.comm_obj_blog h1, div.comm_obj_press h1, div.comm_obj_news h1, div.comm_obj_article h1 {
    color:#284878;
    font-size: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin-bottom: 10px;
}

div.comm_obj_blog .title h1 {
    width:395px;
    overflow:hidden;
}

div.comm_obj_mf h1 a:link, div.comm_obj_blog h1 a:link, div.comm_obj_press h1 a:link,
div.comm_obj_news h1 a:link, div.comm_obj_article h1 a:link,
div.comm_obj_mf h1 a:visited, div.comm_obj_blog h1 a:visited, div.comm_obj_press h1 a:visited,
div.comm_obj_news h1 a:visited, div.comm_obj_article h1 a:visited {
    color: #284878;
    text-decoration: none;
}

div.comm_obj_mf h1 a:active, div.comm_obj_blog h1 a:active, div.comm_obj_press h1 a:active,
div.comm_obj_news h1 a:active, div.comm_obj_article h1 a:active,
div.comm_obj_mf h1 a:hover, div.comm_obj_blog h1 a:hover, div.comm_obj_press h1 a:hover,
div.comm_obj_news h1 a:hover, div.comm_obj_article h1 a:hover {
    color: #284878;
    text-decoration: none;
    border-bottom: 1px dashed #284878;
}

div.comm_obj_mf h2, div.comm_obj_blog h2, div.comm_obj_press h2, div.comm_obj_news h2, div.comm_obj_article h2 {
    color: #996633;
    font-size: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #996633;
}

div.comm_obj_mf h2 a:link, div.comm_obj_blog h2 a:link, div.comm_obj_press h2 a:link,
div.comm_obj_news h2 a:link, div.comm_obj_article h2 a:link,
div.comm_obj_mf h2 a:visited, div.comm_obj_blog h2 a:visited, div.comm_obj_press h2 a:visited,
div.comm_obj_news h2 a:visited, div.comm_obj_article h2 a:visited {
    color: #996633;
    text-decoration: none;
}

div.comm_obj_mf h2 a:active, div.comm_obj_blog h2 a:active, div.comm_obj_press h2 a:active,
div.comm_obj_news h2 a:active, div.comm_obj_article h2 a:active,
div.comm_obj_mf h2 a:hover, div.comm_obj_blog h2 a:hover, div.comm_obj_press h2 a:hover,
div.comm_obj_news h2 a:hover, div.comm_obj_article h2 a:hover {
    color: #996633;
    text-decoration: none;
    border-bottom: 1px dashed #996633;
}

div.comm_obj_mf h3, div.comm_obj_blog h3, div.comm_obj_press h3, div.comm_obj_news h3, div.comm_obj_article h3 {
    font-size: 15px;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

div.comm_obj_blog .group a:link,
div.comm_obj_blog .group a:visited {
    text-decoration: none
}

div.comm_obj_blog div.name {
    margin-bottom: 10px;
}

div.comm_obj_blog img.stat { margin-left: 5px; }

div.comm_obj_blog div.content_c, div.comm_obj_press div.content_c {
    margin: 10px 0px;
    width: 542px;
    overflow:auto;
    overflow-y:visible;
    padding-bottom:expression((this.clientHeight!=this.offsetHeight)?'20px':0); /* padding for scrollbar in IE */
}

/* 1px margins are for FireFox, where selected link is outlined with 1px border, triggering scroll */
div.comm_obj_blog div.content_c .content, div.comm_obj_press div.content_c .content, div.comm_obj_news div.content_c .content {
    margin: 0px 1px 1px 0px;
}

div.comm_obj_c div.comm_links {
    border-bottom: solid 1px #DBD8C4;
    margin: 10px 0px;
    padding-bottom: 10px;
}

table.comm_obj_head {
    border-collapse: collapse;
    border: none;
    width:100%;
}
table.comm_obj_head td {
    border: none;
    padding: 0px;
    vertical-align: top;
}

table.comm_obj_head td.logo {
    width:1px;
    padding-right:10px;
}

table.comm_obj_head td.title {
    padding-right:10px;
}

table.comm_obj_head td.vote_c {
    width:1px;
}

table.comm_obj_head td.vote_c div.vote {
    padding:3px 3px 5px 3px;
    background-color: #DBD8C4;
    text-align: center;
}

div.plan div.comm_links {
    margin: 10px 0px;
}

div.plan div.group_name {
    margin: 0 0 10px 0;
    padding: 4px 5px;
    color:#ffffff;
    font-size:12px;
    background-color:#9F9073;
}
div.plan div.blog_name {background-color:#759d9d;}
div.plan div.group_name a:link, div.plan div.group_name a:visited { color: #ffffff; text-decoration: none; }
div.plan div.group_name a:hover, div.plan div.group_name a:active { color: #ffffff; text-decoration: underline; }

/*
 * Various SPECIAL IMAGES
 */

img.wait
{
    width: 64px;
    height: 16px;
    display: none;
}

/*
    POPUPS
*/

div.popup {
    background-color:#EAE7D8;
    border: solid 1px #990000;
    padding: 9px;
    z-index: 1000;
    position: absolute;
    display: none;
    top: -10px;
    left: -10px;
    white-space: nowrap;
    text-align: left;
}

div.popup_obj {
    background-color:#F0F0F0;
    border: solid 1px #4A649B;
    padding: 9px;
    z-index: 1000;
    position: absolute;
    display: none;
    top: auto;
    left: auto;
    right: 0;
    bottom: 19px;
    white-space: nowrap;
    text-align: left;
}

div.popup_right
{
    left: auto;
    top: auto;
    right: 0;
}

div.popup table {border:0;border-spacing:0;border-collapse:collapse}
div.popup table td {vertical-align:top;padding:0;border:0;text-align:left;white-space:nowrap;}
div.popup table td h1 {
    font-size: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #990000;
    margin-bottom: 10px;
}

div.popup hr {
    margin: 5px 0px 5px 0px;
    border-color: #990000;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

div.popup_obj hr {
    margin: 5px 0px 5px 0px;
    border-color: #4A649B;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

div.user_popup_c {
    position:relative;
}
div.user_popup_c a, div.user_popup_c a:link, div.user_popup_c a:visited,
div.user_popup_c a:hover, div.user_popup_c a:active {text-decoration:none}

/*
 * Buble spans for comments and other indicators in FB-style
 * For usage see tpl/ru/common/buble.html
 */

span.buble
{
    height: 14px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 0 0 7px;
    background-image: url("i/buble/beige.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    position: relative;
    top: -1px;
    display: inline-block;
    margin-left: 5px;
}

span.buble a, span.buble a:link, span.buble a:visited, span.buble a:hover, span.buble a:active
{text-decoration: none; color: #736357;}

span.buble span.center
{
    height: 14px;
    font-size: 11px;
    font-weight: normal;
    color: #736357;
    background-color: #EAE7D8;
    overflow: hidden;
    position: relative;
    top: -0px;
    padding-bottom: 1px;
    display: inline-block;
}

span.buble span.right
{
    height: 14px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 7px 0 0;
    background-image: url("i/buble/beige.png");
    background-position: right top;
    background-repeat: no-repeat;
    display: inline-block;
}

/* color modificators for buble */
span.bb_cyan, span.buble span.bb_cyan { background-image: url("i/buble/cyan.png"); }
span.buble span.bc_cyan { background-color: #99CCCC; color: #ffffff; }
span.bb_sand, span.buble span.bb_sand { background-image: url("i/buble/sand.png"); }
span.buble span.bc_sand { background-color: #CAC6A3; color: #534741; }

/* article and news voting */
.pvote {
    float: right;
    margin-top: 16px;
    background: #DBD8C4;
}
.pvote table {
    border:0;
    border-collapse:collapse;
}
.pvote td {
    border: 0;
    padding: 0;
}
.pvote .v {
    width: 32px;
}
.pvote .r {
    width:50px;
    text-align:center;
    font-weight:bold;
    color:#69694B;
}
.pvote .p {
    color:#006600;
    padding-right:6px;
}
.pvote .n {
    color:#990000;
    padding-right:6px;
}
.pvote .votewait {
    left: 10px;
    width:82px;
    height:32px;
    background: #DBD8C4 url("i/wait.gif") 50% 50% no-repeat;
}

/* blog form extra */

#plan_form table.files , .upload table.files {
    margin-bottom:1em;
    border-collapse:collapse;border:solid 1px grey;
}
#plan_form table.files td , .upload table.files {
    margin:0;
    padding:3px;
    border:solid 1px grey;
}

#plan_form .lj_xpost {
    border: solid #cccccc 1px;
    padding: 3px;
    margin: 1em 0;
}
#plan_form .lj_xpost span.lj_xpost_cb {
    float: left;
    margin: 0; padding: 0;
    width: 25px;
}
#plan_form .lj_xpost #lj_xpost_fields {
    padding-left: 25px;
}
#plan_form .lj_xpost table {
    margin: 12px 0 0 -3px;
}
#plan_form .lj_xpost table input /* username, password */ {
    width: 100px;
}
#plan_form .lj_xpost table tr td {
    vertical-align: baseline;
}

form.person_top_search div div {
    float:left;
    margin-right:12px;
}

/*
* DTF main dropdown menu styles
*/

#list_menu {text-align:left; list-style-type:none}

#drop_menu * {
    white-space: nowrap;
    font-size: 11px;
    color: #08466F;
    text-decoration: none;
    padding:0px;
}


#drop_menu {
    background-color:#c0bb88;
    background-image:url("i/new/m/m_bg.gif");
    font-size:11px;
    width:100%;min-width:750px;height:23px;
    text-align:center;
}

#drop_menu table {
    border: none;
    border-collapse:collapse;
    border-spacing:0px;
}

#drop_menu td {
    text-align:left;
    vertical-align:top;
}

#drop_menu table.DTFMenu
{
    cursor:     default;
    cursor:     pointer;
    cursor:     hand !important;

    margin-left:    auto;
    margin-right:   auto;
    background-color: #c0bb88;
    background-image:url("i/new/m/m_bg.gif");
}

#drop_menu td.DTFMainItem,
#drop_menu td.DTFMainItemHover,
#drop_menu td.DTFMainItemActive {
    height: 23px;
    line-height: 13px; /* fix non-IE */
    /*padding: 0px 3px;*/
}

#drop_menu td.DTFMainItemHover,
#drop_menu td.DTFMainItemActive {
    background:url("i/new/m/m_bg_h.gif");
}

#drop_menu td.DTFMainItem a,
#drop_menu td.DTFMainItemHover a,
#drop_menu td.DTFMainItemActive a {
    display:block;
    height: 19px;
    padding: 4px 3px 0px 11px;
}

#drop_menu td.DTFMainItem a {
    background:url("i/new/m/m_arr.gif") no-repeat 3px 0px;
}

#drop_menu td.DTFMainItemHover a,
#drop_menu td.DTFMainItemActive a {
    background:url("i/new/m/m_arr_h.gif") no-repeat 3px 0px;
}

#drop_menu td.DTFMainItem img,
#drop_menu td.DTFMainItemHover img,
#drop_menu td.DTFMainItemActive img {
    width:8px;
    height:23px;
    border:none;
    margin-bottom:-8px;
    vertical-align:baseline; /* -- default; */
    background:url("i/new/m/m_arr.gif") no-repeat;
}

#drop_menu td.DTFMainItemHover img,
#drop_menu td.DTFMainItemActive img {
    background:url("i/new/m/m_arr_h.gif") no-repeat;
}

#drop_menu td.DTFMainItemSep {
    width:  2px;
    height: 23px;
    background: url("i/new/m/m_sep.gif");
}

#drop_menu div.DTFSubMenu
{
    position:   absolute;
    display:    block;
    visibility: hidden;
    overflow:   hidden;
/*
    opacity:    0.9;
    filter:Alpha(style=0,opacity=90);
*/
}

/* shadow cells */
#drop_menu div.DTFSubMenu td {
    overflow:hidden;
    padding:0px;
    border: none;
}

#drop_menu div.DTFSubMenu table.DTFSubMenuTable td {
    /* restore from shadow cells */
    vertical-align:top;
    font-size:11px;
    overflow:visible;
}

#drop_menu div.DTFSubMenu table.DTFSubMenuTable {
    background: #dbd7c5 url("i/new/m/bg.gif") repeat-x;
    color: #08466f;
    }

#drop_menu div.DTFSubMenu table.DTFSubMenuTable tr.DTFMenuItem,
#drop_menu div.DTFSubMenu table.DTFSubMenuTable tr.DTFMenuItemHover,
#drop_menu div.DTFSubMenu table.DTFSubMenuTable tr.DTFMenuItemActive
{
    cursor:     default;
    cursor:     pointer;
    cursor:     hand !important;

    /*height: 23px;*/
}

#drop_menu div.DTFSubMenu table.DTFSubMenuTable /* tr.* */ td.DTFMenuItemText a {
    display: block;
    width: 100%;
    height: 18px;
    padding: 5px 10px 0px 12px;
    line-height: 13px;
    }


#drop_menu div.DTFSubMenu table.DTFSubMenuTable tr.DTFMenuItemHover td.DTFMenuItemText *,
#drop_menu div.DTFSubMenu table.DTFSubMenuTable tr.DTFMenuItemActive td.DTFMenuItemText * {
    background:#b3b9b6;
    color:#990000;
    }

/* design blocks */
#drop_menu div.DTFSubMenu div.DTFSubMenuBeforeTable {
    background:url("i/new/m/corn_r.gif") no-repeat top right;
    height:5px;
    font-size:1px;
}
#drop_menu div.DTFSubMenu div.DTFSubMenuBeforeTable div {
    background: #f1eee2;
    margin-right:5px;
    height:5px;
    font-size:1px;
}
#drop_menu div.DTFSubMenu div.DTFSubMenuAfterTable {
    background:url("i/new/m/corn_l.gif") no-repeat top left;
    height:5px;
    font-size:1px;
}
#drop_menu div.DTFSubMenu div.DTFSubMenuAfterTable div {
    background: #dbd7c5;
    margin-left:5px;
    height:5px;
    font-size:1px;
}

#drop_menu div.DTFSubMenu td.DTFSubMenuShadowRight {
    width:1px;
    /* вертикальная линия с отступом от верха */
    background:url("i/new/m/bpv.gif") no-repeat 0px 6px;
    font-size:1px;
}
#drop_menu div.DTFSubMenu td.DTFSubMenuShadowBottom div {
    height:1px;
    margin-left:6px;
    background:#000;
    font-size:1px;
}
#drop_menu div.DTFSubMenu td.DTFSubMenuShadowRight,
#drop_menu div.DTFSubMenu td.DTFSubMenuShadowBottom {
    opacity:0.2;
    filter:Alpha(style=0,opacity=20);
}

/*
 * vacancies
 */

div.vacancy_search_bg {
    background: #b6cdc5 /* url("i/cvp_corn.gif") top right no-repeat */;
    color: #000000;
    padding: 10px;
    margin: 10px 0;
}

div.vacancy_search_bg fieldset {
    padding: 10px;
    margin: 5px 0;
    border: 0;
    background: #C8DCD1;
}

div.vacancy_search_bg h2 { color: #ffffff; }


div.vacancy_search_bg a,
div.vacancy_search_bg a:link,
div.vacancy_search_bg a:visited { color:#08466F; text-decoration: underline }
div.vacancy_search_bg a:active,
div.vacancy_search_bg a:hover {color:#990000; text-decoration: underline}

div.vacancy_search_bg div.half {float:left; width:48%; padding:1px; }


table.vacancies {width:100%;border:0;border-collapse:collapse;}
table.vacancies td {vertical-align:middle;padding:3px;border-bottom:solid 1px #ffffff;}
table.vacancies tr.header td { background-color: #E0C0A0; font-weight:bold; text-align:center; }
table.vacancies tr.pager td { background-color: #E0C0A0;text-align:center;}
table.vacancies td.number { text-align:center;font-weight:bold;padding:0 10px;}
table.vacancies td.salary { text-align:right; padding-right: 5px;}
table.vacancies tr.header td.salary {text-align:right; padding-right: 5px;}

table.vacancies tr.line1paid td { background-color: #DBD29B; }
table.vacancies tr.line2paid td { background-color: #E9E2B0; }

table.vacancies tr.line1paid td.number { background: #DBD29B url("i/star_32.png") center no-repeat; }
table.vacancies tr.line2paid td.number { background: #E9E2B0 url("i/star_32.png") center no-repeat; }

table.vacancies tr.line1paid td.vacancy,
table.vacancies tr.line2paid td.vacancy { font-weight: bold; }

div.hot_vacancy_head {
    padding: 5px 5px 5px 130px;
    background: #DBD29B;
    position: relative;
    font-weight: bold;
    color: #534741;
}

div.hot_vacancy_logo {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 200;
}

div.hot_vacancy_body {
    padding: 15px 10px 10px 130px;
    background: #E9E2B0;
    height: 70px;
    margin-bottom: 10px;
    overflow: hidden;
}

div.hot_vacancy_body div.comp { margin-top: 10px; }
div.hot_vacancy_body div.prof { font-weight: bold; font-size: 14px; }

div.hot_vacancy_body div.prof a,
div.hot_vacancy_body div.prof a:link,
div.hot_vacancy_body div.prof a:visited { color:#534741; text-decoration: underline }
div.hot_vacancy_body div.prof a:active,
div.hot_vacancy_body div.prof a:hover {color:#990000; text-decoration: underline}


div.hot_vacancy_home_head {
    padding: 3px 3px 3px 60px;
    background: #DBD29B;
    position: relative;
    font-weight: bold;
    color: #534741;
}

div.hot_vacancy_home_logo {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 200;
}

div.hot_vacancy_home_body {
    padding: 4px 3px 3px 60px;
    background: #E9E2B0;
    height: 33px;
    margin-bottom: 10px;
    overflow: hidden;
}

div.hot_vacancy_home_body_inner {
    padding: 0px;
    height: 30px;
    overflow: hidden;
}

div.hot_employers {
    width: 170px;
    overflow: hidden;
    text-align: center;
    padding-top: 5px;
}

div.hot_employers div.company { margin-bottom: 20px; }
div.hot_employers div.company div.logo { margin-bottom: 5px; }
div.hot_employers div.company div.name { font-size: 13px; }
