* {
	margin:0px;
	padding:0px;
	border:none;
}

html,body {
	min-width:850px;
	margin:0px; padding:0px;
	font-size:12px; font-family:Verdana, Arial, sans-serif; color:#333;
	background:#53240B url(/pic/u58/body_bg_rp2.png) top left;
}
p.debugger {font-size:11px; border:1px solid gray; margin:2px; padding:2px;}
p.error {font-size:12px; color:red; border:0px solid red; margin:2px; padding:2px;}
p.message {font-size:12px; color:black; background:#ffc; border:1px solid gray; margin:2px; padding:2px;}

a {	color: black; }
/*a:visited { color: black; }
a:hover { color:#FF7F03; }*/

button {
	padding: 1px 4px 1px 4px;
	background:#eee url(/pic/bt_bg.png) top left repeat-x;
	height:18px;
	line-height:15px; font-size:11px;
	border-top:1px solid #919191;
	border-right:1px solid #797979;
	border-bottom:1px solid #797979;
	border-left:1px solid #919191;
}

/* каркас */

/* верхнее меню */

table.container {
	border-collapse:collapse;
	position:absolute; top:0px; left:0px;
	width:100%; max-width:990px; min-height:600px;
	background:url(/pic/u58/bg_left_rp.jpg) top left repeat-y;
	border:0px solid brown;
}

td.lefty {
	vertical-align:top;
	width:253px; height:900px;
	
	background:url(/pic/u58/bg_leftmenu.jpg) top left no-repeat;
}
a.logo {
	display:block;
	width:100px; height:100px;
	margin:50px 0px 0px 70px;
	border:0px solid red;
}
td.lefty div.mainmenu {
	width:245px; height:220px;
	margin:10px 0px 0px 0px;
	border:0px solid red;
}

td.lefty div.mainmenu a {
	display:block;
	margin-left:10px;
	text-decoration:none; font-size:16px; font-weight:bold; color:#210A00;
}

td.main {
	width: auto; min-height:900px; min-width:600px; max-width:900px;
	padding:0px;
	vertical-align:top;
	background:url(/pic/u58/main_bg_rp.png) top left repeat-y;
	border:0px solid red;
}
div.main2 {
	margin:0px; padding:0px;
	width: auto; min-height:900px; min-width:600px; max-width:900px;
	background:url(/pic/u58/main_bg_rp2.png) top right repeat-y;
	border:0px solid red;
}
div.top {
	width:100%; margin:0px;
	height:auto;
	line-height:22px;
	background:url(/pic/u58/head_left5.png) top left repeat-y;
	border:0px solid red;
}
div.top div {
	width:100%; margin:0px;
	height:auto;
	text-align:center;
	background: transparent url(/pic/u58/head_right5.png) top right repeat-y;
}
div.top div.top_bl {
	width:auto; margin:0px 8px 0px 0px;
	height:10px;
	background: transparent url(/pic/u58/head_bl.png) top left no-repeat;
}
div.top h1 {
	width:100%;
	padding-top:4px;
	color:white; font-size:22px; font-weight:normal; line-height:22px;
	background:url(/pic/u58/top_lc.png) top left no-repeat;
}
div.top h1 img {
	position:relative; top:4px;
	display:inline; line-height:22px;
}
h1.head {
	text-align:center;
	width:95%;
	margin:10px 2.5% 10px 2.5%;
	color:#F6C76F; font-size:16px; font-weight:normal;
	background:#613010;
	border:1px solid #DBA358;
}
h1.head a {
	margin:0px 0px 0px 20px;
	font-size:12px; color:#F6C76F; line-height:12px;
}
table.topmenu {
	border-collapse:separate;
	width:95%;
	margin:10px 2.5% 10px 2.5%;
}
table.topmenu td {
	padding:4px 0px 6px 0px;
	background:#53230C url(/pic/u58/topmenu_bg.jpg) top left no-repeat;
	border:1px solid #DBA358;
}
table.topmenu td.empty{
	width:6px;
	background:transparent;
	border:none;
}
table.topmenu td a {
	display:block;
	margin:2px 6px 2px 14px;
	padding: 3px;
	color:#F6C76F; font-weight:normal; text-decoration:none;
	
}
table.topmenu a.selected {
	color:white; font-weight:bold;
}
table.topmenu a:hover {
	text-decoration:underline;
	color:white;
}
div.separator {
	 height:15px;
	width:95%;
	margin:10px 2.5% 10px 2.5%;
	background:#613010;
	border:1px solid #DBA358;
}

div.copy {
	clear:both;
	margin:10px 0px 0px 0px;
	width:100%; height:72px;
	background:url(/pic/u58/main_bg_bottom_left.jpg) top left no-repeat;
}
div.copy div {
	width:100%; height:72px;
	text-align:center;
	background:url(/pic/u58/main_bg_bottom_right.png) top right no-repeat;
}

/* БЛОКИ */
/* ТЕКСТ - БОКС */
div.b_box_text {

}
div.b_box_text h2 {
	font-weight:bold; font-size:16px; line-height:18px;
}
div.b_box_text table {
	border-collapse:collapse;
}
td.pic {
	width:80px;
}
div.b_box_text span.date {
	display:block; clear:both;
	font-weight:bold; font-size:12px;
}
/* ТЕКСТ - ПОЛНЫЙ */
table.b_full_text {
	border-collapse:collapse;
	width:95%;
	margin:10px 2.5% 10px 2.5%;
	border:1px solid #DBA358;
}
table.b_full_text tr td.bl {
	width:50px; vertical-align:top;
	background: #884B1B url(/pic/u58/bg_bl.gif) top left;
	border:0px solid red;
}
table.b_full_text td.bm {
	vertical-align:top;
	color:white;
	background:#965621 url(/pic/u58/bg_bm_bottom.png) bottom left repeat-x ;
}
table.b_full_text td.bm div.head {
	width:100%; height:6px;
	background:#965621 url(/pic/u58/bg_bm_top.png) top left repeat-x ;
}
table.b_full_text td.bm h1 {
	width:100%; min-height:6px;
	margin:6px 6px 6px 6px; padding:0px;
	color:white; font-size:16px;
}
table.b_full_text td.bm div.cont {
	margin:6px; 
}
table.b_full_text td.br {
	width:103px; vertical-align:bottom;
	background:#6A2506 url(/pic/u58/bg_br2.png) bottom left repeat-y;
}
/* КАТАЛОГ */
table.b_box_catalog {
	width:95%;
	margin:2.4%;
}
table.b_box_catalog td {
	vertical-align:top;
	color:white;
}
table.b_box_catalog td.pic {
	width:135px;
	text-align:center;
}
table.b_box_catalog td a {
	color:white; text-decoration:none;
}
table.b_box_catalog td a span {
	text-decoration:underline;
}

table.b_full_catalog {
	width:95%;
	margin:2.4%;
}
table.b_full_catalog td {
	vertical-align:top;
	color:white;
}
table.b_full_catalog td.pic {
	padding-right:10px;
}

/* ГРУППА ОБЪЕКТОВ */
table.group {
	width:95%;
	min-height:450px;
	border-collapse:collapse;
	margin:4px 14px 4px 20px;
	background: black url(/pic/u58/bg_gr_bottom.png) bottom right no-repeat;
	border:1px solid #DBA358;
}
table.group tr td.gl {
	width:50px; vertical-align:top;
	background:#301909 url(/pic/u58/bg_gl.png) top left;
	border:0px solid red;
}
table.group td.gm {
	vertical-align:top;
	color:white;
	background:#965621 url(/pic/u58/bg_bm_bottom.png) bottom left repeat-x ;
}
table.group td.gm div.head {
	width:100%; height:6px;
	background:#965621 url(/pic/u58/bg_bm_top.png) top left repeat-x ;
}
table.group td.gm h1.head {
	width:100%; min-height:6px;
	margin:6px; padding:0px;
	color:white; font-size:16px;
}
table.group td.gm div.cont {
	margin:6px; 
}
table.group td.gr {
	width:102px;
	vertical-align:top;
	/*background:#311401 url(/pic/u58/bg_br.jpg) top left no-repeat;*/
	background:transparent url(/pic/u58/bg_gr.gif) top left repeat-y;
}

table.box_container {
	border-collapse:collapse;
	margin:4px 0px 4px 20px;
	width:95%;
	border:1px solid #DBA358;
}
table.box_container tr td.bl {
	width:50px; vertical-align:top;
	background: #884B1B url(/pic/u58/bg_bl.gif) top left;
	border:0px solid red;
}
table.box_container td.bm {
	vertical-align:top;
	color:white;
	background:#965621 url(/pic/u58/bg_bm_bottom.png) bottom left repeat-x ;
}
table.box_container td.bm div.head {
	width:100%; height:6px;
	background:#965621 url(/pic/u58/bg_bm_top.png) top left repeat-x ;
}
table.box_container td.bm h1.head {
	width:100%; min-height:6px;
	margin:6px 6px 6px 6px; padding:0px;
	color:white; font-size:16px;
}
table.box_container td.bm div.cont {
	margin:6px; 
}
table.box_container td.br {
	width:103px; vertical-align:bottom;
	background:#6A2506 url(/pic/u58/bg_br2.png) bottom left repeat-y;
}


/* КАТАЛОГ - БОКС */

/* АТТАЧМЕНТЫ */
div.attach {
	float:left; clear:none;
	width:125px; margin:10px;
}



#userland {
	position:fixed; z-index:300;
	left:0px; bottom:0px;
	width:100%;
	text-align:center;
	background:transparent;
	border:0px solid gray;
}
#userland div {
	position:static;
	width:750px; height:30px;
	margin:0px auto;
	border:0px solid gray;
}

/* ГЛАВНОЕ МЕНЮ */
#menu {
	margin:-10px 0px 0px 0px;
}
#menu li {
	list-style-type:disc; line-height:16px;
	margin:0px 0px 0px 0px;
}
#menu li.m_one {
	list-style-type:none; line-height:16px;
	margin:10px 0px 0px 0px;
	
}
#menu li.m_one a.head {
	display:block; width:200px; height:24px;
	color:white; line-height:24px; text-align:center;
	background:#1E7BA5;
}
#menu li a {
	color:#333; font-size:14px; text-decoration:none; font-weight:bold; font-family:Arial Narrow;
}
#menu li.m_one a.sel {
	color:white;
}
#menu li ul li {
	list-style-type:none;
	margin:0px 0px 0px 10px;
}
#menu li ul li a {
	color:#333; font-size:12px; text-decoration:none; font-weight:normal; font-family:Arial;
}
#menu li ul li a.sel,#menu li.m_one ul li a.sel {
	color:#1E7BA5; font-weight:bold;
}
/* ФОРМА ЛОГИНА */
div.login {
	margin:320px 0px 0px 0px;
}
#loginlink {
	display:block;
	width:60px; height:16px;
	border:0px solid green;
}
#registerlink {
	display:block; float:left; clear:none;
	width:200px; height:18px;
	margin:50px 0px 10px 10px;
	border:0px solid green;
}
#registerlink button {
	width:200px;
	margin:0px 0px 0px 12px;
	color:black; font-weight:normal; text-align:center; text-decoration:none;
	background:transparent;
	border:0px solid #FF7F03;
	border-bottom:1px solid black;
}
#form_login {
	display:block;
	width:235px; height:auto;
	margin:10px 0px 0px 10px;
	padding-left:0px;
	border:0px solid green;
}
#form_login label {
	display:block; float:left; clear:left;
	width:60px; height:16px; line-height:18px;
	margin:4px 0px 4px 0px;
	color:black; font-weight:normal; text-align:right;
	border:0px solid white;
}
#form_login input {
	display:block; float:left; clear:none;
	width:150px; height:16px; color:black;
	margin:4px 0px 4px 4px;
	background:#F4B663;
	border:1px solid brown;
}
#loginbutton {
	display:block; clear:both;
	width:60px; height:18px;
	margin:20px 0px 4px 66px;
	color:white; font-weight:bold; text-align:center; line-height:16px;
	background:brown;
	border:1px solid brown;
}
#loginform_error {
	margin:10px; color:red;
}
#form_logout {
	margin:50px 0px 10px 10px;
}
#form_logout label {
	display:block;
	width:220px; height:18px;
	margin:4px;
	color:black; font-weight:bold; text-align:center; line-height:20px;
}
#form_logout button {
	display:block;
	width:220px;
	margin:4px;
}
.spacer { clear:both;}
.nerg a{ color:#007; font-weight:bold; text-decoration:none;}
.myobj button {
	display:block;
	text-decoration:none;
	background:red;
	border:none;
}



/*кнопка добавления объекта*/
form.bt_obj_add {
	display:block; clear:both;
	width:auto; 
	margin:6px 6px 6px 6px;
}
form.bt_obj_add button {
	display:block; clear:both;
	width:auto;

/*кнопка редактирования объекта*/
form.bt_obj_edit {
	display:block; float:left; clear:none;
	width:80px; height:20px;
}

/*кнопка удаления объекта*/
form.bt_obj_delete {
	display:block; float:left; clear:none;
	margin:0px 0px 6px 20px;
}

form.logout button {
	display:block;
	width:100px; height:20px; margin:15px 0px 0px 50px;
	color:#333; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:#eee;
	border:1px solid #ddd;
}



#illustration {margin-bottom:12px; }

form#mailto {
	clear:both;
}

form#mailto label {
	display:block; clear:both;
	height:16px; margin:8px 0px 0px 0px;
	color:rgb(70,70,70); font-weight:bold;

}
form#mailto input[type=text] {
	display:block; clear:both;
	width:400px; height:18px;
	border-top:2px inset rgb(100,100,100);
	border-right:2px outset rgb(100,100,100);
	border-bottom:2px outset rgb(100,100,100);
	border-left:2px inset rgb(100,100,100);
}
form#mailto textarea {
	display:block; clear:both;
	width:400px; height:200px;
	border-top:2px inset rgb(100,100,100);
	border-right:2px outset rgb(100,100,100);
	border-bottom:2px outset rgb(100,100,100);
	border-left:2px inset rgb(100,100,100);
}

form#mailto button{
	display:block; clear:both;
	width:100px; 
	margin-top:10px;
}

span.req { color:rgb(201,72,72); font-weight:bold; }
div.pages { clear:both; }
div.pages b { color:#1E7BA5; } 




.bumper { clear:both; }


