body { width:100%;}
.input_def_border {border:1px solid #4D98CC;}
.input_ten {width:100px;}
.input_twenty {width:200px;}
.input_huge {width:400px;}
.input_def {width:150px;}
.select_short {width:75px}
.select_med {width:100px}
.select_huge {width:150px}
.select_def {width:100px}
.textarea_def {width:400px;height:100px;}
.textarea_rule {width:600px;height:150px;}
.textarea_def_border {border:1px solid #4D98CC;}
/* header */
.header_box { width:100%;height:138px;overflow:hidden;}
.header { width:100%;height:100px;overflow:hidden;}
.header_logo { padding:8px 0px 0px 27px; width:222px;height:100px;overflow:hidden;}
.header_main {width:718px;height:100px;padding:0px 50px;}
.header_main_top {display:block;height:90px;width:650px;overflow:hidden;}
/*.header_add {display:block; float:left;width:243px;margin:25px 0px 0px 0px;}*/
.header_reg {display:block;float:left;margin:10px 0px 0px 0px ;padding:0px 0px 0px 64px;height:79px;}
.header_reg table{margin:0px 0px 0px 0px;}
.region_change img{display:inline;margin:3px 1px 3px 135px;}
.header_reg td {vertical-align:top;width:153px;height:69px;}
.region p a {font:normal 12px Arial, sans-serif;}
.header_reg a {font:12px Arial, sans-serif;}
.region p:first-child {font:12px Arial, sans-serif;}
.region a.regname {font:normal 12px Arial, sans-serif;padding:3px 2px 3px 0px;}
.region a.regname_last{font:bold 12px Arial, sans-serif;color:#B3476B;}
.header_main_list{display:block; float:left; width:390px;margin:10px 0px 0px 30px;}
.header_main_list ul { width:130px;display:block;float:left;}
.header_main_list ul li:first-child a {font:bold 12px Arial, sans-serif;}
.header_main_list ul li a {font:normal 12px Arial, sans-serif;}
.header_main_list ul li a:hover {text-decoration:underline;}
.header_search_line {width:578px;display:block;margin:10px 0px 0px 0px;}
.header_search_line table {width:100%;height:38px;margin-left:20px;}
.header_search_line table td {vertical-align:middle;}
.header_search_line table td:last-child a {font:normal 11px Arial, sans-serif;}
.header_search_line table td:first-child input{width:320px;height:15px;font-size:12px;}
.header_search_line table td select{width:120px;height:18px;font-size:11px;}
/* end header */

/* middle */
.middle_top {clear:both;display:block;margin:10px 0px;padding:0px 20px;}
.middle_top a{font:normal 12px Arial, sans-serif; text-decoration:none;}
.middle {width:95%;}
/* end middle */

/* left col */
.left_col {width:290px;display:block;float:left;}
/* end left col */
.left_add {width:160px;}

/* login block */
.login_block {width:220px;height:192px;margin:0px 20px 0px 20px;}
.login_block table.login_table {width:100%;padding:10px 10px;}
.login_block table.login_table td {padding:5px 0px 0px 10px;}
.login_block table.login_table th {padding:15px 0px 0px 10px;}
.enter_user {font:bold 14px Arial, sans-serif;}
.us_pd_log {font:normal 12px Arial, sans-serif;}
.us_pd_log a{font:normal 11px Arial, sans-serif;}
.us_pd_log b a{font:bold 12px Arial, sans-serif;}
.login_input {width:120px;}
.login_block table td {vertical-align:bottom;}
/* end login block */

/* block */
.block {display:block;margin:10px 0px 0px 20px ;padding:5px 0px 0px 64px;width:220px;height:79px;}
.block td {vertical-align:middle;height:69px;}
.block:last-child {display:block;margin:10px 0px 0px 20px ;padding:5px 0px 0px 64px;width:220px;height:79px;}
.block a {font:bold 13px Arial, sans-serif;}
/* end block */

/* right col */

.right_col {width:90%;padding-top:10px;}
.right_col table#rubricator_id td {width:33%;}
.right_col table#rubricator_id {width:100%;}
.right_col h2 {font:normal 18px Arial, sans-serif;color:#000;padding:0px 30px;height:35px;}
.right_col h2 a{font:normal 18px Arial, sans-serif;color:#000;}
.right_col table.categories {width:100%;min-width:738px;}
.right_col table.categories td {width:33%;}
.right_col table.msglist td {padding:0px 0px 0px 0px; }
td.clip_add {width:35px; }
.right_col table.msglist h2 {height:auto;padding:0px;}
.right_col table.msglist h2 a{color:#0050A6; font:normal 12px Arial, sans-serif;}
.right_col table.msglist h3 {color:#898989; font:normal 12px Arial, sans-serif;}
.right_col table.msglist span {color:#575757; font:normal 11px Tahoma;}
.right_col table.msglist p {color:#000; font:normal 12px Arial, sans-serif;}
.right_col div.msglist {border-bottom:dashed 1px #000;min-width:638px;width:90%;padding:0px 0px 2px 0px;}
.right_col table.msglist td img{margin:0px 0px 0px 0px;max-height:100px;max-width:100px;}
.right_col table.msglist td.disabled {background-color:#FAC;}
.right_col table.msglist td.small_pic {width:100px;padding:3px;overflow:hidden;}
.right_col table.cabinet td{padding:2px 10px;border:solid 1px #676767;}
.right_col ul {padding:0px 0px 20px 0px; line-height:1.5;}
.right_col ul li a {font:normal 12px Arial, sans-serif; padding:0px 0px 0px 0px;}
.right_col ul li a {padding-left:30px;}
.right_col div.profile {width:564px;padding:12px;}
.right_col div.profile tr {height:34px;}
.right_col div.profile td:first-child {width:15%;}
.right_col div.profile td:last-child {width:60%;}
.right_col div.profile input {font:normal 12px Arial, sans-serif;}
.right_col div.profile input.submit {width:58px;}
.right_col div.private_msg {width:564px;padding:12px;}
.right_col div.private_msg tr {height:34px;padding:5px 0px;}
.right_col div.private_msg td:first-child {width:15%;}
.right_col div.private_msg td:last-child {width:60%;}
.right_col div.private_msg input {width:417px;font:normal 12px Arial, sans-serif;}
.right_col div.private_msg input.submit {width:58px;}
.paginator {margin-top:4px;}
.paginator span {color:#898989;line-height:2.0;}
.paginator ul {padding:0px 0px 0px 0px;}
.paginator ul li {display:inline; margin:1px;padding:2px 2px 2px 8px;}
.paginator ul li a {padding-left:0px;}
.view_msg h1 {color:#0050A6;padding:1px 1px; font:bold 14px Arial, Helvetica, sans-serif;}
.view_msg h1 span{color:#B3476B;font:bold 14px Arial, Helvetica, sans-serif;}
.view_msg p {padding:12px 1px;text-align:left;margin:0px 10px 0px 0px;}
.view_msg *{font:normal 12px Arial, sans-serif;}
div.view_msg table {margin:0px 0px;}
div.view_msg table.comments {margin:0px 0px}
div.view_msg table.comments {padding:5px 5px;}
div.view_msg table.comments td {padding:5px 0px;}
div.view_msg table.comments span {font:bold 12px Arial, sans-serif;}
div.capcha {height:90px;}
table.bg_list input.sbm_btn {width:110px;}
.field_name {font:bold 11px Tahoma;color:#575757;}
.field_name_val {font:normal 11px Tahoma;color:#575757; text-align: center;}
#group_field_id th {padding:12px 1px 1px;}
#group_field_id td {padding:1px 1px 1px 12px;}
/* end rigth col */

/* forgot_password */

/* end forgot_password */

.mid_col {padding-top:10px;padding-right:15px;}

/* messege block */
.message_text {width:60%;}
.message_text div {width: 380px;clear:both;display:block;}
.message_text div.small_pics {width:60px;float:none;display:inline;}
/*.message_text div {width:200px;}*/
.message_groups {width:40%;}
div#cat_selectors.odd {padding:20px;}
div#selected_cats.odd {padding:20px;}
div#selected_cats.nodd {padding:20px;}
#cat_selectors p {color:#A80112;font:bold 14px Arial, sans-serif;padding:0px 0px 0px 20px; background: transparent url('/static/stolbik/images/bul_im.gif') no-repeat 0% 50%;}
#selected_cats p {color:#A80112;font:bold 14px Arial, sans-serif;padding:0px 0px 0px 20px; background: transparent url('/static/stolbik/images/bul_im.gif') no-repeat 0% 50%;}
#cat_selectors {color:#000;font:normal 12px Arial, sans-serif;}
#cat_selectors_id select{margin: 5px;}
#selectors_td_id select{margin: 5px;}
#selected_cats {color:#000;font:normal 12px Arial, sans-serif;}
div.msg_block p {color:#A80112;font:bold 14px Arial, sans-serif;padding:0px 0px 0px 20px; background: transparent url('/static/stolbik/images/bul_im.gif') no-repeat 0% 50%;}
div.msg_block {color:#000;font:normal 12px Arial, sans-serif;}
div.msg_block span {color:#999999;font:normal 11px Arial, sans-serif;}
div.msg_block span a{font:normal 11px Arial, sans-serif;}
div.msg_block span.needed {color:#f00;font:normal 12px Arial, sans-serif;}
/*div#msg_block input {border:1px solid #4D98CC;*//*width:200px;*//*}*/
div.msg_block textarea {border:1px solid #4D98CC;}
div.msg_block {padding:0px 0px 0px 20px;}
/*div#msg_block table {padding:12px 0px;}*/
div.msg_block table th {font:bold 12px Arial, sans-serif;color:#111;}
/*div#msg_block table td{padding:5px 0px 0px 0px;}*/
div.msg_block td.needed span{color:#f00;font:normal 12px Arial, sans-serif;}
label.needed{color:#f00;font:normal 12px Arial, sans-serif;display:block;}
/*#msg_block select {width:100px;}*/
/*#msg_block option {width:150px;}*/
td.needed span {color:#f00;font:normal 12px Arial, sans-serif;}
/*.needed {color:#f00;}*/
/*.group_id {border:1px solid #f00;}*/
/*.group_id td:first-child {width:200px;}*/
#add_im_id{ background: url('/static/stolbik/images/add_icon.gif') no-repeat left 3px;padding-lefT: 16px;line-height:2.0;}
#rem_im_id{ background: url('/static/stolbik/images/add_icon.gif') no-repeat left 3px;padding-lefT: 16px;line-height:2.0;}
#pri_av{background: url('/static/stolbik/images/pri_icon.gif') no-repeat left 3px;padding-lefT: 16px;line-height:2.0;}
#kor_av{background: url('/static/stolbik/images/poj_icon.gif') no-repeat left 3px;padding-lefT: 16px;line-height:2.0;}
#mess_pics img{ cursor:pointer;}

#med_pic_id {max-height: 300px; max-width: 380px;}

.two_cols table td:first-child {width:160px;}
div.msg_block table.two_cols {padding: 0px 0px 0px 0px;}
/*div.msg_block table.two_cols table {padding: 0px 20px 0px 0px;}*/
div.msg_block table.two_cols table.second_table td:first-child label{/*padding-left:60px;*/padding-right:10px;}
.message_fields_td_id {width:160px;padding-left:10px;padding-right:10px;}
message_fields .message_fields_td_id {padding-left:60px;}

#message_fields_id td {padding-top:4px; padding-bottom:4px;}
#selectors_td_id a {padding:0px 2px;}
.top_border {border-top:dashed 1px #000;}
.top_border textarea {border:1px solid #4D98CC;}
.div_back {padding:12px;}
/* end message block*/

/* footer */

.footer {display:block;clear:both;width:100%;margin:40px 0px 0px 0px;/*min-width:1067px;*/}
.footer ul {padding:10px 0px 0px 20px;}
.footer li {display:inline;padding:0px 20px 0px 0px;}
.footer li a {font:normal 11px Arial, sans-serif;}
.footer table {width:100%;}
.footer_about {display:block; padding:10px 20px; font:normal 11px Arial, sans-serif;line-height:1.5;}
.footer_about a {text-decoration:none;}
.footer_counters {width:384px; height:82px;vertical-align:middle;}

/* end footer */

/* Input elements for message create/edit form */
/*div#msg_block input.checkbox {width: 16px; height: 16px;}*/
div.msg_block input.add_btn {width: 25px; height: 25px;}

#two_cols {padding: 0 0 0 0;}

#curr_ctl {display:inline;}
#dict_control {display:inline;}
#dic_ctl {display:inline;}
#file_ctl {display:inline;}
/*
#curr_ctl a {margin-top:20px;}
#file_ctl a {margin-top:20px;}
*/
div.domain {float: left; width: 220px;}

.bold {display:inline; font-weight:bold;}
.highlight {color: #990011;}
.default {font: 12px Arial, sans-serif;text-decoration:none;}
body {font: 12px Arial, sans-serif;text-decoration:none;}
a.bold {font-weight:bold;}
a.default {font: 12px Arial, sans-serif;text-decoration:none; color: #0050A6;}
a {font: 12px Arial, sans-serif;text-decoration:none; color: #0050A6;cursor:pointer;}
a:hover {text-decoration: underline;}

.txt_10 {font: 10px Arial, sans-serif;}
.txt_10b {font: 5px Arial, sans-serif;font-weight:bold;}


.us_pd_log a.highlight {color: #990011;}

ol.tos, li.tos {clear: both; padding-left: 40px; list-style-type: decimal;}
ul.tos, li.tos {clear: both; padding-left: 40px; list-style-type: disc;}

#preview{ position:absolute; border:1px solid #ccc; background:#333; padding: 0 5px 5px 0; display:none; color:#fff;	}
#preview img{ margin: 5px 0 0 5px;}

.hidden {
    display: none !important;
}

div.dict_ctl
{
	padding: 2px 4px 2px 0px;
	float: left;
}

div.region_chooser, div.filter_chooser
{
	width: 285px;
	position: absolute;
	top: 90px;
	left: 600px;
	z-index: 100;
	overflow: auto;
	padding: 2px 0 2px 4px;
}
div.filter_chooser
{
	max-height: 400px;
}
div.region_chooser div
{
	padding: 2px 4px 2px 0px;
	float: left;
}
li.rc_caption, p.fc_caption
{
	padding-left: 8px;
}

.region_ctl select
{
	font: 12px Arial, sans-serif;
}

.filters 
{
	font:normal 10px Arial, sans-serif;
	padding-top: 2px;
	padding-bottom: 2px;
}

div.filter 
{
	float: left;
	padding: 2px 2px 2px 2px;
	vertical-align:middle;
}

div.filter2
{
	float: left;
	padding: 2px 2px 2px 2px;
	vertical-align:middle;
	min-width: 640px;
}

div.ftitle
{
	padding: 2px 2px 2px 2px;
	float: left;
	width: 100px;
}

.filters select 
{
	font:normal 12px Arial, sans-serif;
	width:100px;
}

a.rf-links {
    display: block;
    float: left;
    font-weight: bold;
    margin-top: 5px;
    max-width: 50%;
    text-align: center;
    width: 250px;
}
/* "AJAX-style" link */
a.ajax {text-decoration:none;border-bottom:1px dashed}
