*{
  margin:0px;
  padding:0px;
}
html,body {font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; margin:0px; padding:0px; background:white url(/pic/isc/bg_first.gif); }
p.debugger {font-size:11px; border:1px solid gray; margin:2px; padding:2px;}
p.error {font-size:12px; color:red; border:1px solid red; margin:2px; padding:2px;}
p.message {font-size:12px; color:black; background:#ffc; border:1px solid gray; margin:2px; padding:2px;}
a { text-decoration:none; color:#006; }
a:hover { text-decoration:underline; color:brown; }
a:visited {color:#208;}
a:active {color:Red;}
a:hover {color:#900; text-decoration:underline;}

#header {
	position:static;
	width:100%; height:63px;
	margin:0px; padding:0px;
	background:url(/pic/isc/head_bg.gif) repeat-x;
}
#header a img {margin:0px; padding:0px; border:none;}
#head_righty {
	position:absolute;
	right:0px; top:-1px; clear:none;
	width:200px;
	color:white; font-size:11px; line-height:12px; text-align:right;
}
#head_righty a {color:blue; font-weight:bold;}

#headmenu { position:static; clear:both;
	height:25px;
}
#headmenu a {
	display:block; float:left; clear:right;
	width:14.1%; height:23px;
	margin-top:2px;
	font-weight:bold; text-align:center; line-height:23px;
	background:transparent;
}
#headmenu a.sel {
	color:white;
	background:#007;
}

#main { width:100%; border-collapse:separate; margin:0px; padding:0px; border:none; }
#main td { margin:5px; padding:0px; border:1px solid #003; vertical-align:top; }
td#lefty { width:168px; background: white url(/pic/isc/line_left_1.jpg) repeat-y;}
td#muddle { background: white; }
td#righty { width:168px; background: white url(/pic/isc/line_right_1.jpg) top right repeat-y; }
span.head { display:block; width:100%; height:20px; color:white; text-align:center; font-weight:bold; line-height:20px; background:#06c;}

a.menulink_top, #lefty a {
	display:block; clear:both;
	margin:4px;
	text-align:left; font-weight:bold; color:#006; text-decoration:none;
	border-top:1px solid #007;
}
#lefty a.sel {
	color:white;
	background:#007;
}



#form_search_linear {
	width:140px; height:30px;
	margin:10px;
}
#form_search_linear button {
	display:block; float:left;
	width:42px; height:20px; 
	font-size:10px; background:#007; color:white;
	border:1px solid #006;
}
#form_search_linear input[type=text] {
	display:block; float:left;
	width:92px; height:18px; border:1px solid #006;line-height:14px;
}


#content {
	position:static;
	border:0px solid gray;
}
#telo {margin:8px;}
p#authors{text-align:right; color:#007; font-weight:bold; }
h1.head { display:block; width:100%; color:white; text-align:center; font-weight:bold; font-size:16px; line-height:20px; background:#06c;}
#content h2, #content h3, #content h4 {margin:10px;}
#content a { color:#36f; }
#content a.link_lang { display:block; margin:10px; font-weight:bold; color:#339;}
#content p { margin:10px; }
#content p.flb:first-letter {font-weight: bold;}
#content p.line { border-left: 2px solid #CD853F; margin-left: 20px; padding-left:7px; }
#content ul,#content dl,#content ol { margin:10px; }
#content li {list-style-position: outside; margin-left:18px;}
#content ol {list-style-position: outside; margin:10px 10px 10px 18px;}
/* ПРАВАВЯ КОЛОНКА */
#mininews a { color:#36f; }
#mininews a.link_allnews {display:block; text-align:center; margin:6px;}




#content div.b_box_text {
	margin:20px 30px 20px 30px; padding:0px;
	border:0px dotted gray;
	border-left:3px double #36f;
}

span.date {display:block; margin-left:10px; color:#007; font-weight:bold; text-decoration:none;}

#content div.b_box_text h2 {
	margin:4px 0px 8px 10px; padding:0px;
	color:#007;
	font-size:14px;
}
#content div.b_box_text p {
	clear:both;
	margin:4px 1px 8px 10px; padding:0px;
}
#content div.b_box_text p img {
	float:left; clear:none;
	margin:0px 6px 2px 0px; padding:0px;
}
#content > div.b_box_text > p > a.podrobnee {
	color:#000;
}

#content div.b_box_text .t_box_events {
	border-collapse:collapse;
	width:90%; margin-left:10px;
}
#content div.b_box_text .t_box_events td {
	padding:2px;
	border:none;
	border-bottom:1px solid gray;
}

#content div.b_box_catalog {
	margin:20px 30px 20px 30px; padding:0px;
	border:0px dotted gray;
}

span.date {display:block; margin-left:10px; color:#007; font-weight:bold; text-decoration:none;}

#content div.b_box_catalog h2 {
	margin:4px 0px 8px 10px; padding:0px;
	color:#007;
	font-size:14px;
}
#content div.b_box_catalog table {
	clear:both; border-collapse:collapse;
	margin:0px; padding:0px; width:100%;
}
#content div.b_box_catalog table td {
	padding:4px;
	background:#ccc;
	border:1px solid white;
}
#content div.b_box_catalog table th {
	padding:4px;
	background:#88e; color:white;
	border:1px solid white;
}




#copylefts {
	clear:both;
	width:100%; height:14px;
	margin:0px 0px 35px 0px; padding:0px;
	text-align:center; color:white; font-weight:bold;
	background: #006 url(/pic/isc/line_top_1.gif) top left repeat-x;
	border:0px solid blue;
}

#text_bottom { width:100%; text-align:center; }


div.b_string_text { margin:4px; }
/*ссылки на страницы*/
div.pages { margin: 10px 30px 10px 30px; }

span.source {
	font-weight:bold; color:#007; text-indent:10px;
}
span.auth1 {
	font-weight:bold; color:#007;
}

/* ФОРМА ЛОГИНА */
#registerlink button {
	display:block; clear:both;
	width:140px; height:20px;
	margin:20px 10px 10px 10px;
	line-height:18px; color:white;
	background:#337;
	border:1px solid #007;
}
#form_login {
	display:block; float:left; clear:none;
	width:140px; margin-left:10px;
	border:0px solid green;
}
#form_login label {
	display:block; float:left; clear:both;
	width:55px; height:16px;
	border:0px solid green;
}
#form_login input {
	width:140px; height:16px;
	border:1px solid #007;
}
#loginbutton {
	display:block;
	width:140px; height:20px;
	margin:10px 0px 0px 0px;
	line-height:18px; color:white;
	background:#337;
	border:1px solid #007;
}
.spacer { clear:both;}

/*меню с выпадающими подменюшками*/
#mainmenu { clear:both; }
ul#nav { margin:0px; padding:0px; list-style-type:none;  z-index:254;}
/*ширина фиксирована, иначе глюки в ИЕ*/
#nav li {
	position:relative; float:left; top:0px; left:0px; z-index:254;
	margin:5px 0px 5px 0px;
	width:168px;
	text-align:center;
		 background:url(/pic/isc/ok_3.gif) no-repeat right top; z-index:90;
	border:0px solid red;
}
#nav li.m_one {
	position:relative; float:left; top:0px; left:0px;
	margin:4px;	
	text-align:left; font-weight:bold; color:white; text-decoration:none;
	background:#007;
}
#nav li.sbm { 
	background:white;
}

#nav li a {
	display:block; width:150px; /*height:20px;*/
	margin:0px 0px 0px 4px;
	font-size:10px; font-weight:bold; text-decoration:none; color:#55f; text-align:left; text-indent:0px;
	background:transparent;
	border:0px solid red;
}
#nav li.m_one a {
	padding:2px;
	color:white;
	background:#007;
}
	 
#nav li.sbm a { display:block; text-decoration:none; color:black; 
	 font-weight:bold;
	 border:none;  background:url(/pic/ok_3.gif) no-repeat right center;
}
	/*first level*/
	#nav li ul {
		position:absolute; left:168px; top:0px; display:none; margin:0px; padding:0px; list-style-type: none;
		width:220px; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 1px solid #ccc;
		z-index:180;
	}
	#nav li ul li,#nav li.sbm ul li {
		display:block; z-index:254;
		/*list-style:none inside;*/
		width:219px; height:14px;
		margin:0px; padding:0px; text-indent:0px;
		background:#cef;
	}
	#nav li ul li a,#nav li.sbm ul li a {
		width:220px; height:16px;  z-index:254;
		padding:0px; margin:0px;
		color:black;  text-indent:0px; text-align:left; line-height:16px;
		background:#cef url(/pic/isc/ok_2.gif) left center no-repeat;
		border-top: 1px solid #ccc;
	}



#nav li ul li ul {
	position:absolute; left:219px; top:0px; display:none; margin:0px; padding:0px; list-style-type: none;
	width:220px; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 1px solid #ccc;
	z-index:200;
}


#nav li.sbm ul li ul li {
	display:list-item; float:none; width:180px; height:14px; z-index:254;
	margin:0px;  padding:0px;
	background:#cef;
}
#nav li.m_one ul li a {
	width:220px; height:16px;  z-index:254;
	padding:0px; margin:0px;
	color:black;  text-indent:0px; text-align:left; line-height:16px;
	background:#cef url(/pic/isc/ok_2.gif) left center no-repeat;
	border-top: 1px solid #ccc;
}

#nav li:hover ul, #nav li.over ul { display: block;  z-index:254;}
#nav li:hover ul li ul, #nav li.over ul li ul{ display: none;} /*это не даёт всплыть меню след. уровня раньше времени*/

#nav li ul li:hover ul, #nav li ul li.over ul { display: block;  z-index:254;}

#nav ul li a:hover,#nav ul li.sbm a:hover {border-bottom:none; border-top: 1px solid #ccc; color:#c00;}
/* расширяем  nobr в меню */
#nav li a nobr,#nav li.sbm a nobr {margin:0px;}

/* Fix IE. Hide from IE Mac \*/ * html ul#nav li { float: left; height: 1%; } * html ul#nav li a { height: 1%; } /* End */
/* Fix IE. Hide from IE Mac \*/ * html ul#nav li ul li { float: left; height: 1%; } * html ul#nav li ul li a { height: 1%; } /* End */

#addkeymenu table {
	width:100%; border-collapse:collapse; vertical-align:top;
}
#addkeymenu td {
	vertical-align:top; text-align:left;
}
#addkeymenu td a {
	display:block; width:140px; height:14px;
	margin:4px;
	text-align:center;
	background:#eff;
	border:1px dotted gray;
}
#addkeymenu div a.selected {
	background:#FFa;
}

.spacer { clear:both;}

#content h1 {
	text-align:center; font-size:16px;
}
#content p {
	margin:10px;
}
#content .boximg {
	margin:10px;
}

/* КОММЕНТАРИИ */
div#comments {
	clear:both; z-index:100;
	margin:30px 10px 10px 0px;
	border:0px solid red;
}
div#comments ul {
	margin-left:13px; 
}

div#comments ul ul {
	margin-left:10px;
}

div#comments ul li {
	margin-left:0px;
}
div#comments ul ul li {
	margin-left:10px;
}
div#comments ul li {
	list-style-type:none; color:rgb(61,61,61);
}
div.fb0 {
	background:rgb(234,234,234) url(/pic/isc/f_dotted.gif) bottom left repeat-x; 
}
div.fb1 {background:white url(/pic/sizo/first/f_dotted.gif) bottom left repeat-x;}
span.comment_date {
	display:block; margin:0px 0px 10px 6px; padding-top:6px;
	color:rgb(0,105,184);
}
div.co-te {
	margin:0px 6px 6px 10px; overflow:hidden;
}
div.co-l {
	height:20px; overflow:visible; z-index:180;  position:relative;
	margin:0px 10px 0px 10px; padding:0px;
	font-weight:bold;
	border:0px solid red;
}

form.co-f {
	z-index:200; position:relative; left:20px; top:-10px; z-index:30;
	width:460px;
	background:rgb(234,234,234);
	border:3px double rgb(172,188,203);
}
form.co-f label {
	display:block;
	margin:6px 0px 0px 30px; padding-top:10px;
	font-weight:bold;
}
form.co-f textarea {
	position:relative;
	height:200px; width:400px;
	margin: 10px 30px 10px 30px;
	border:1px solid rgb(172,188,203);
}
form.co-f button {
	display:block;clear:both;
	margin:0px 0px 10px 30px;
	border:1px solid rgb(172,188,203);
}
div#co_fantik {height:300px;}
span.comment_regonly {
	color:red; font-weight:bold;
}

/* WORK */
#work {
	width:700px;
	margin-left:40px;
}
#work h1 {
	font-size:16px;
}
/*кнопка добавления предложения*/
form.bt_obj_add_item {
	display:block; clear:both;
	width:160px; height:24px;
	margin:10px;
	color:white; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:transparent;
}
form.bt_obj_add_item button {
	display:block; clear:both;
	width:160px; height:24px;
	color:white; font-weight:bold; font-size:10px; text-decoration:underline; text-align:left;
	background:transparent;
	border:0px solid #ddd;
}
/*кнопка добавления объекта*/
form.bt_obj_add {
	display:block; clear:both;
	width:200px; height:24px;
	margin:6px;
	color:white; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:transparent;
}
form.bt_obj_add button {
	display:block; clear:both;
	width:200px; height:24px;
	color:#333; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:#eee;
	border:1px solid #ddd;
}
/*кнопка редактирования объекта*/
form.bt_obj_edit {
	display:block; float:left; clear:both;
	width:100px; height:20px;
	margin:6px;
	color:white; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:transparent;
}
form.bt_obj_edit button {
	display:block;
	width:100px; height:20px;
	color:#333; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:#eee;
	border:1px solid #ddd;
}
/*кнопка удаления объекта*/
form.bt_obj_delete {
	display:block; float:right; clear:none;
	width:60px; height:20px;
	margin:6px;
	color:white; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:transparent;
}
form.bt_obj_delete button {
	display:block;
	width:60px; height:20px;
	color:#333; font-weight:bold; font-size:10px; text-decoration:none; text-align:center;
	background:#eee;
	border:1px solid #ddd;
}


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;
}
/* Регистрация */
#f_registration {

}
#f_registration label {
	display:block; float:left; clear:left;
	width:300px; height:25px;
	margin:6px;
	border-bottom:1px solid #007;
}
#f_registration input {
	display:block; float:left; clear:right;
	width:150px; height:24px;
	margin:6px;
	border:1px solid #007;
}
#f_registration input.none {
	display:none;
}
#f_registration button {
	display:block; clear:both;
	width:150px; height:24px;
}


/*форма редактирования объекта*/
/*картинка*/
#w_edit_obj_img {
	float:left; clear:none;
	width:130px; height:150px;
	margin:6px;
	border:3px double gray;
}
#w_edit_obj_img img { margin:2px; }
/*основа*/
#w_obj_edit_main {
	float:left; clear:right;
	width:480px; height:150px;
	margin:6px;
	border:3px double gray;
}
#w_obj_edit_main label {
	display:block; float:left; clear:left;
	width:160px; height:19px;
	margin:4px;
	border:1px solid white;
}
#w_obj_edit_main input {
	display:block; float:left; clear:right;
	width:180px; height:19px;
	margin:4px;
	line-height:19px;
	border:1px solid gray;
}
#w_obj_edit_main select {
	display:block; float:left; clear:right;
	height:19px;
	margin:4px;
	line-height:19px;
	border:1px solid gray;
}

/* поле ввода даты */
#datefield {
	display:block; float:left; clear:both;
	width:450px;
}
#datefield label {
	display:inline; clear:none; width:30px; 
}
#datefield input {
	display:inline; clear:none; width:40px; 
}
#datefield select {
	display:inline; clear:none; width:90px; 
}


/*атрибуты*/
table#wf_edit_attr {
	clear:both;
	width:600px;
	margin:12px 6px 6px 6px;
	border-collapse:separate;
	border:none;
}
table#wf_edit_attr td { margin:4px; border:none; }
table#wf_edit_attr td input[type=text] {
	width:500px; height:19px;
	margin:4px;
	line-height:19px;
	border:1px solid gray;
}
.wf_atrr_td1 {width:100px; vertical-align:middle; }
.wf_field_text { height:500px; }

td.fck_frame iframe {
	height:500px; background:white;
}
#illustration {margin-bottom:12px; }

/* ключи */
table#w_f_obj_keys {
	border-collapse:separate;
}
table#w_f_obj_keys td {
	margin:4px;
}

table#w_f_obj_keys ul {
	list-style-type:none; margin:4px;
}
table#w_f_obj_keys ul li ul {
	margin-left:10px;
}

table#w_f_obj_keys h3 {
	height:30px;
	text-align:center; margin-bottom:4px;
}

/* форма редактирования МЕТА информации */
#w_f_keybundle {
	width:500px;
}
#w_f_keybundle input {
	width:450px;
	border:1px solid gray;
}
#w_f_keybundle iframe {
	height:500px;
}

/* кнопка "сохранить" */
#submit_obj_edit  {
	display:block;
	margin:20px; padding:6px;
	border:1px solid gray;
}



#debug { display:none;}




