/***********************************************/
/***         Общая разметка страницы         ***/
/***********************************************/
body, html { height: 100% !important; padding: 0;}
body { padding: 9px 8px; }
#header, #navtop, #main, #footer, #ddnavbottom { clear:both; }

/** Общий контейнер во всю высоту окна **/
#body {
	position:relative !important;
	min-height:100%; 
	height: auto !important;
	min-width: 980px; 
	text-align:left;
	margin: 0 auto;
	
	
}
  
* html #body { height:100% !important; }

/** Контейнер в #body (внизу оставляем место для #footer) **/
#page { 
	padding:0 0 115px 0; 
	background:url(../images/design/top-bg.jpg) 0 0 repeat-x;
}

/** Шапка **/
#header { 
	position:relative; 
	height:134px;
	background:url(../images/design/top-right-bg.jpg) right 0 no-repeat;
}

#subheader {
	clear:both;
	height:29px;
	text-align:right;
}

/**  Центральная часть с тремя колонками  **/
#main { padding:12px 0 0 0; }

/** Левая колонка (200px) **/
#left { float: left; width:175px }

/** Правая колонка (200px) **/
#right { float:right; width: 175px }

/**  Центральная колонка (вся свобoдная ширина) **/
#center { width:auto; margin: 0 175px 0 175px; }

/****  Добавляет отступы к центральной колонке при наличии боковых  ****/
body.rm-left  #center { margin-left:0; }
body.rm-right #center { margin-right:0; }
body.rm-both  #center { margin:0; }

/**  Контент в колонках **/
#mc-content, #mc-content #content { overflow:hidden; }
#mc-content   { text-align:justify; padding:0 15px;  }
#left, #right { font-size:100%;  }

.page-title {  
	margin-bottom:12px; 
	padding:0 0 0 12px; 
	background:url(../images/design/arrow-top-left.gif) 0 3px no-repeat;
}
.page-title a { 
	color:#00467f; 
	font-weight:bold;
	font-size:9px;
	text-transform:uppercase;
	
}
.page-title-pane {  }

#el-content { padding-bottom:1em; }
#el-content img[align] { margin:3px 7px;}
/*****  Низ страницы  *****/
#footer {
    position:relative !important;
    min-width: 980px;
	height:115px;
    margin: -115px auto 0;
    padding: 0;
	background:url(../images/design/bottom.png) 0 25px repeat-x;
}

#footer, #footer a { color:#00467f; }

#footer-content {
	padding:0;
	background:url(../images/design/bottom.png) 0 -95px no-repeat;

}

#footer-wrapper1 {
	height:63px;
	background:url(../images/design/bottom.png) right -257px no-repeat;
	font-size:11px;
}

#copyright {
	float:left;
        width:270px;
	height:90px;
        margin:25px 0 0 17px;
/*	border:1px solid #222;*/
}

#developers {
	float:right;
	text-align:right;
	width:230px;
	height:90px;
        margin:10px 17px 0 0;
}
#owner-contacts {
	margin: 0 230px 0 270px ;
	padding-top:25px;
	text-align:center;
}

#ahtung {
	display:block;
	text-align:center;
	font-size:11px;
	padding:5px 0;
}

/***********************************************/
/**                 Навигация                 **/
/***********************************************/


/************** Верхняя панель ****************/
#top-panel {
	position:absolute;
	left:20px;
	top:145px;
}

#top-panel ul {
	list-style:none;
	padding:0;
	margin:0;
	margin-left:-5px;
	display:block;
}

#top-panel ul li {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	margin: 0 4px 0 0;
	zoom: 1;
	*display: inline;
	padding:5px;
	height:20px;
}
#top-panel a.icons { border:none;}
/************** Иконки печати, юзера, поиска ****************/
#print-icon,  #search-icon, #auth-top-icon {
	display:block;
	width:20px;
	height:20px;
	background:url(../images/icons2.png) 0 0 no-repeat;
}

#print-icon {
	background-position:-5px -1505px;
}

#search-icon {
	background-position:-3px -1455px;
}

#auth-top-icon {
	background-position:-3px -1406px;
}

#user-top .logout {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	margin: 1px;
	zoom: 1;
	*display: inline;
	border:none;
	margin-top:-1px;
}

#user-top-name {
	background:url(../images/icons2.png) -3px -1408px no-repeat;
	padding:2px 0 0 23px;
}

/*  поиск сверху */
#search-top {
	float:right;
	margin:5px 12px 0 0;
}

#search-top-label {
	font-size:91.6667%;
	font-weight:bold;
	color:#00467f;
	padding:0 7px 0 12px;
	background:url(../images/design/arrow-top-left.gif) 0 center no-repeat;
}


/************** Верхнее доп меню ****************/
#addnav-top ul {
	list-style:none;
	margin:0;
	padding:0;
}

#addnav-top ul li {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	margin: 0 0 0 0;
	zoom: 1;
	*display: inline;
	border:1px solid red;
}

/************** Нижнее доп меню  ****************/
ul#addnav-bottom {
	list-style:none;
	padding:0;
	margin:0;
	height:25px;
	text-align:center;
}
ul#addnav-bottom li {
	display:inline;
	padding:0 15px;
	border-right:1px solid #777;
	margin:0;
}

#addnav-bottom li.last {
	border:none;
}
#addnav-bottom a { color:#00467f; }




/************** Верхнее меню  ****************/
#navtop { padding:0; }
#navtop table {
	margin:0;
	height:50px;
	background:url(../images/design/nav-top.png) 0 0 repeat-x;
}

#navtop a {
	color:#fff;
	font-size:12px;
	line-height:11px;
	font-weight:bold;
}

.navtop-item, .navtop-item-first, .navtop-item-last, .navtop-item-selected, .navtop-item-selected-first, .navtop-item-selected-last {
	padding:0 2px;
	text-align:center;
	vertical-align:middle;
}

.navtop-item-left, .navtop-item-last-left  {
	width:2px;
	padding:0;
	background:url(../images/design/nav-top.png) 0 -285px no-repeat;
}

.navtop-item-first-left {
	width:13px;
	background:url(../images/design/nav-top.png) 0 -117px no-repeat;
}


.navtop-item-right, .navtop-item-first-right {
	width:2px;
	padding:0;
	background:url(../images/design/nav-top.png) right -285px no-repeat;
}

.navtop-item-last-right {
	width:13px;
	background:url(../images/design/nav-top.png) right -117px no-repeat;
}

.navtop-item-selected, .navtop-item-selected-first, .navtop-item-selected-last {
	background:url(../images/design/nav-top.png) 0 -63px repeat-x;
}

.navtop-item-selected-left, .navtop-item-selected-last-left {
	width:2px;
	padding:0;
	background:url(../images/design/nav-top.png) 0 -339px no-repeat;
}

.navtop-item-selected-right, .navtop-item-selected-first-right {
	width:2px;
	padding:0;
	background:url(../images/design/nav-top.png) right -339px no-repeat;
}

.navtop-item-selected-first-left {
	width:13px;
	background:url(../images/design/nav-top.png) 0 -172px no-repeat;
}

.navtop-item-selected-last-right {
	width:13px;
	background:url(../images/design/nav-top.png) right -228px no-repeat;
} 


/*#navtop-submenu {}*/

/************** Боковые меню  ****************/

ul.navleft, ul.navleft-sidemenu, ul.navleft-catmenu,
ul.navright, ul.navright-sidemenu, ul.navright-catmenu {
	list-style:none;
	margin:0 3px 0 5px;
	padding:0;
	font-weight:bold;
/*	border:1px solid #111;*/
}

ul.navleft li, ul.navleft-sidemenu li, ul.navleft-catmenu li,
ul.navright li, ul.navright-sidemenu li, ul.navright-catmenu li {
	margin:0;
	padding: 5px 0;
	text-align:left;
}

ul.navleft a, ul.navleft-sidemenu a, ul.navleft-catmenu a {
/*	border:1px solid #ccc;*/
	vertical-align:bottom;
/*	font-size: 11px;*/
	font-size:95%;
	line-height:13px;
	/*color:#00467f;*/
	padding-left:17px;
	display:block;
	background:url(../images/design/sprite.png) 0 2px no-repeat;
}

ul.navleft .item-selected a, ul.navleft-sidemenu .item-selected a, ul.navleft-catmenu .item-selected a {
	background-position:0 -48px;
}

/*ul.navleft li.level1 ul.navleft li.level2, ul.navleft li.level3 {}*/

/* верхнее меню каталогов (select) */
.cat-nav-top {
	padding:7px 12px;
}
.cat-nav-top span {
	padding-right:12px;
}
/***********************************************/
/**             Результаты поиска             **/
/***********************************************/
#search-result  { border:1px solid #ccc; padding:.5em 1em; }
#search-result .close {
	display:inline;
	float:right;
	cursor:pointer;
	background:url(../images/icons2.png) -5px -1480px no-repeat;
	width:16px;
	height:16px;
	zoom:1;
}
#search-result li { list-style:none; margin-bottom:.5em; }

/***********************************************/
/***                    Форма                ***/
/***********************************************/
table.form-tb thead th { 
	background: url('../images/design/arrow-top-left.gif') 0 center no-repeat; 
	padding-left:12px; 
	color:#00467f;
}
table.form-tb tfoot td { border-top:1px solid #eee; }
table.form-tb td.form-label {
	width:35%;
	text-align:right;
	font-weight:bold;
}
table.form-tb tfoot td input, .form-submit { 
	padding:.2em;
	margin:.1em;
	background:#9fbaca; 
	color:#fff; 
	border:1px solid #649fc2; 
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
table.form-tb tfoot td input:hover,  
.form-submit:hover    { background:#649fc2; color:#f9f9f9; }
.form-tb-sub  { background: #f2f2f2; padding:.5em; }
input[type $='text'], input[type $='password'], textarea { border:1px solid #ccc; padding:1px; outline:none;}

/*.strip-odd { background: #dee7ed;}*/






/******************************************************************/
/***  ссылки на следующие страницы в каталогах, новостях и тд ***/
/*****************************************************************/
.pager { margin:.5em;}
.pager a { border:1px solid #668396; padding:.1em .5em; display:inline-block; font-weight:bold; margin:0 .25em; line-height:1.3em; }
.pager a.back, .pager a.forward { border:none; }
.pager a.current { background:#f6f6f6; }
.pager a.page:hover { text-decoration:none; background:#f6f6f6; }

/******************************************************************/
/***                      popup окно                            ***/
/*****************************************************************/
#popup-body { padding:1em; }
#popup-body .close { float:right; display:inline; margin:.3em .5em; padding-right:23px; background:url(../images/icons2.png) right -1480px no-repeat;}

/***************************************/
/*** Дефолтное оформление каталогов  ***/
/***************************************/

/* Классы для раскрашивания рядов в зебру */
.strip-ev {  }
.strip-odd { background:#f6f6f6; }

/* Уровни вложености категорий */
.cat-level-1, .cat-level-1 strong { font-weight:bold; line-height:2.3em; padding-left:16px; background:url(../images/design/arrow-gold.gif) 0 3px no-repeat; }
.cat-level-2, .cat-level-2 strong { font-weight:bold; }
.cat-level-3, .cat-level-3 strong { font-weight:normal; }

/* Категории в одну и в две колонки  */
ul.cats-onecol, ul.cats-twocol ul       { margin:0; padding:0; list-style:none; }

ul.cats-onecol li, ul.cats-twocol ul li { margin:0;  padding: .3em 0; }
.cats-twocol ul { list-style:none; }

/* Ссылка - название категории */
a.cat-title { display: block; line-height:1.5em; margin-bottom:.3em; font-weight:bold; padding-left:16px; background:url(../images/design/arrow-gold.gif) 0 4px no-repeat; } 

/* Описание текущей категории */
.current-cat-descrip { margin:0.5em 0 0 0; padding:0; clear:both; }

/* Список документов в одну и в две колонки  */
ul.items-onecol      { margin:0; padding:0; list-style:none; }
ul.items-onecol li   { margin:0; padding:1em .5em;  }
ul.items-onecol li p { text-align: justify;}
/*.items-twocol {}*/

/* плавающие картинки в описании категории и документа */
.cats-onecol img[align], .cats-twocol img[align], .items-onecol img[align], .items-twocol img[align] { margin:.3em .5em; }

/* Один документ  */
/*.item, .item p { text-align:justify; } */

/* Список связанных объектов */
.crosslinks-group       { margin:0.5em 0; border:1px solid #ccc; }
.crosslinks-group div   { padding:0.7em; background-color:#eee; font-weight:bold; position:relative; }
.crosslinks-group ul    { margin:0; }
.crosslinks-group ul li {  padding:.3em 0; list-style:none;}

/** Общее классы плагинов **/
.plugins 				{ font-size: 90%; margin: 0;  position:relative; }
.plugins .admin-icons   { position:absolute; top:1px; right:1px; }
.plugins-title 			{ 
	color:#00467f; 
	font-weight:bold;
	font-size:11px;
	padding:0 0 0 14px; 
	background:url(../images/design/arrow-top-left.gif) 0 3px no-repeat;
}
.plugins-title h5		{ text-transform: uppercase; padding: 0; margin: 0 0 7px 0; }
.plugins-title a		{ text-decoration: none;  }
.plugins-topic-title 	{ font-size: 1.29em; }
/*.plugins-content 		{}*/

/**************** Сетка *******************/
.grid-25-contentcol-last{
	padding:.5em;
	width:95%;
	margin-left:.5em;	
}
 
.grid-25-content { 
	padding:.5em;
	float:left;
	width:95%;
	margin-right:-100%;
	position:relative;
	left:-101%;
}
.grid-25-content .col-content ul li {
	display: block;
}

.grid-25-contentcol-last .col-content ul li  {
	display: block;
}

.clear {
	clear:both;
	font-size:0;
	overflow:hidden; /* тройной презерватив для IE */
}

.nicegrid-50 {
	width:49.4%;
	/*border:1px solid #d0e2f0;*/
	border:0;
	margin-bottom:1%;
	position:relative;
}

.nicegrid-51 {
	width:100%;
	margin-right:-100%; /* чтобы IE6 не раздвигал контейнер */
	position:relative;
	left: 102%;
	/*border:1px solid #d0e2f0;*/
	border:0;
	margin:-1px;
}

.nicegrid-50 div.invisible {
	border:none;
	background:transparent;
}

/***************************************/
/***          Разное                 ***/
/***************************************/

a, h1, h2, h3, h4, h5, h6 { color:#1A5399; }
a:hover {text-decoration:underline;}
.print, .hide { display:none; }

#logo {position:absolute; left:0; }
/* fix jquery ui */
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
.ui-datepicker { width: 17em; padding: 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:0 0 .1em; border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; border-style:none none solid; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.6em; }
.ui-datepicker th { padding: .3em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-dialog { position: relative; padding: 0; width: 300px; }
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; -moz-border-radius:4px 4px 0 0; border-radius:4px 4px 0 0; border-style:none none solid; padding:0.2em 0.3em 0.1em 0.6em; }
.ui-dialog .ui-dialog-content { border: 0; padding: .5em .6em; background: none; overflow: auto; zoom: 1; }
.ui-tabs { padding: 0; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; -moz-border-radius:4px 4px 0 0; border-radius:4px 4px 0 0; border-style:none none solid; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .2em 1em; }
.ui-tabs .ui-tabs-panel { padding: 1em 1.2em; display: block; border-width: 0; background: none; }

.rounded-wrap, .rounded-wrap-sidemenu, .rounded-wrap-grey {
	border:1px solid #d0e2f0;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px; 
	border-radius: 3px;
	position:relative;
	margin-bottom:7px;
	padding:7px;
}
.rounded-wrap-sidemenu, .rounded-wrap-grey {
	background-color:#f6f6f6;
}


.lt, .lb, .rt, .rb {
	display:none;
}

#auth-left {
	padding:2px 0;
}
#auth-left input {
	margin-bottom:5px;
}
#auth-left .link { font-weight:bold;}
#auth-left .rounded-wrap {
	margin-top:3px;
}

