/***********************************************/
/***         Общая разметка страницы         ***/
/***********************************************/
body, html { height: 100% !important; padding: 0; }

#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;
	padding:0;
	background:#fff;
/*	background:#fffed5 url(../images/design/left-bg.jpg) 0 252px no-repeat;*/
/*	background:#fffed5  url(../images/design/main-bg-l.jpg) 0 252px repeat-x;*/
}
  
* html #body { height:100% !important; }
a { color: #990033; text-decoration:underline; }
a:hover { text-decoration: none;}

.important { border-color: #990033;}
.msg, .note {
	background-color:#fffed5;
	border:2px solid #999;
}

h1,h2,h3,h4,h5,h6 {
	color:#7a2222;
	font-family:times new roman, serif;
}
/** Контейнер в #body (внизу оставляем место для #footer) **/
#page { 
	padding:0 0 290px 0; 
	color:#7a2222;
/*	background:#fffed5 url(../images/design/left-bg.jpg) 0 252px no-repeat;*/
}

#top-dummy {
/*	position:relative;*/
/*	z-index:1;*/
	height:22px;
	background:url(../images/design/head2-bg.jpg);
}

/** Шапка **/
#header { 
	position:relative; 
	background-color:#DEE7ED;
	height:208px;
	overflow:hidden;
	background:#ffffcc url(../images/design/head-bg.jpg) 0 0 no-repeat;
}

#header-left {
	float:left;
	width:250px;
}

#header-center {
	height:208px;
	margin-left:250px;
}

#logo {
	display:block;
	height:163px;
	outline:0 solid;
	background:url(../images/design/logo.png) center bottom no-repeat;
}

#phones-top {
	width:250px;
	padding:10px 0;
	text-align:center;
	font:14px arial, sans-serif;
	color:#fff;
}

#phones-top span {
	font-size:18px;
}

#header-slider {
	width:735px;
	height:208px;
	float:right;
	position:relative;

}

#header-slider img {
	position:absolute;
    top:0px;
    left:0px;
    display:none;
}

#left-bg {
	position:absolute;
	left:0;
	top:0;
	width:235px;
	height:100%;
	background:#fffed5 url(../images/design/left-bg2.jpg) 0 252px no-repeat;
}

#right-bg {
	position:absolute;
	right:0;
	top:0;
	width:200px;
	height:100%;
	background:#fffed5;
}

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

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

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

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

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

body.rm-left #left-bg, body.rm-both #left-bg  { display:none; }
body.rm-right #right-bg, body.rm-both #right-bg { display:none; }

/**  Контент в колонках **/
#mc-content, #content { overflow:hidden; }
#mc-content textarea, #content textarea { overflow:auto;}

#mc-content   { text-align:justify; padding:16px 17px;  }
#left, #right { font-size:95%;  }

/*#rc-content { padding:0 9px; }*/

.page-title { 
	color:#ad335c;
	font:20px times new roman, serif;
	margin-bottom:.5em;
}
.page-title a {
	text-decoration:none;
}
.page-title-pane {  }

/*#el-content { padding-bottom:1em; }*/

/*****  Низ страницы  *****/
#footer {
    position:relative !important;
    min-width: 980px;
	height:286px;
    margin: -290px auto 0;
    padding: 0;
	background:#fff; 
	border-top:4px solid #990033;
}

#footer-content {
	padding: 0;
	height:286px;
	
}

#footer-ent {
	height:250px;

}

#footer-contacts div {
	padding-top:12px;
	font:12px arial, sans-serif;
}

#footer-contacts {
	height:36px;
	background:#990033;
	
}

#footer-contacts,
#footer-contacts a {
	color:#fff;	
}

#footer-contacts-left {
	float:left;
	width:320px;
	padding-left:20px;

}

#footer-contacts-right {
	float:right;
	width:150px;
	padding-right:20px;
	text-align:right;
	
}

#footer-contacts-center {
	margin:0 150px 0 320px;
	text-align:center;
}
/***********************************************/
/**                 Навигация                 **/
/***********************************************/

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

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

#top-panel ul li {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	margin: 0 0 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:-3px -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 {
	position:relative;
}

#search-form-top {
	position:absolute;
	right:2px;
	top:20px;
	z-index:100;
	width:180px;
    padding:9px 25px 9px 5px;
	background-color:#fff;
	border:1px solid #ccc;
}
div.searchProgress { 
	background-image: url(../images/loading.gif);
	background-position: right 50%;
	background-repeat: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;
}

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

#addnav-bottom li.last {
	border:none;
}

/************** Верхнее меню  ****************/
#navtop {
	position:relative;
	height:22px;
/*	border:1px solid #111;*/
	background:#990033;
	overflow:hidden;

}
ul.navtop-menu, 
ul.navtop-menu-catmenu { 
	margin:0 ; 
	padding:0; 
/*	font-size:110%; */
	font:1.15em arial, sans-serif;
	font-style:italic;
	list-style:none; 
	
}
ul.navtop-menu li, 
ul.navtop-menu-catmenu li { 
	height:22px;
	display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
	vertical-align: top;
	text-align:center;
	margin:0;
	padding:0;
}
ul.navtop-menu li a {  
	text-decoration:none;
	border-bottom:1px solid #cc8099;
	color:#fff;
}

li.navtop-item-selected, 
li.navtop-item-selected-first, 
li.navtop-item-selected-last {
	
	background:#fff;
}

ul.navtop-menu li.navtop-item-selected a, 
ul.navtop-menu li.navtop-item-selected-first a, 
ul.navtop-menu li.navtop-item-selected-last a {
	text-decoration:none;
	border:0 solid;
	color:#990033;
	
}

/*#navtop-submenu {}*/

/************** Боковые меню  ****************/
/*.left-block { background:url('../images/design/ib-left-bg.png'); }*/

#icart-left {
	background:url('../images/design/ib-left-bg.png');
}

#auth-form-left, .pl-info-left, .pl-rndimg-left, .pl-news-left, .pl-ishop-finder-l {
	background:url('../images/design/ib-left-bg.png');
	-moz-border-radius: 20px; 
	-webkit-border-radius: 20px; 
	border-radius: 20px;
	padding:9px;
}

ul.navleft, ul.navleft-sidemenu, ul.navleft-catmenu,
ul.navright, ul.navright-sidemenu, ul.navright-catmenu {
	list-style:none;
	margin:0 0 9px 0;
	padding:9px 0 9px 30px;
	zoom:1;
	background:url('../images/design/ib-left-bg.png');
}

ul.navleft {
	margin-bottom:0;
}

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: 9px 0;
	text-align:left;
	
	
}

ul.navleft a {
	font:14px arial, sans-serif;
	background:transparent;
	color:#990033;
	text-decoration:underline;
	font-style:italic;
}

ul.navleft a:hover {
	text-decoration:none;
}

/*ul.navleft li.level1 ul.navleft li.level2, ul.navleft li.level3 {}*/
li.navleft-item-selected a, 
li.navleft-item-selected-first a, 
li.navleft-item-selected-last a,
li.navright-item-selected a, 
li.navright-item-selected-first a, 
li.navright-item-selected-last a {
	text-decoration:none;
}

#icart-left {
	height:67px;
	padding:10px;
	margin-bottom:9px;
	-moz-border-radius-bottomleft:20px; 
	-moz-border-radius-bottomright:20px; 
	-webkit-border-bottom-left-radius: 20px;
	-webkit-border-bottom-right-radius: 20px; 
	border-bottom-left-radius: 20px; 
	border-bottom-right-radius: 20px;

}

#icart-left-inner {
/*	margin:10px;*/
/*	padding:20px 30px;*/
	height:60px;
	color:#990033;
	font:12px arial, sans-serif;
	font-style:italic;
/*	border:1px solid #111;*/
	background-color:#fffff0;
	opacity:.77;
	filter:Alpha(Opacity=77);
	-moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;
}

#icart-left-inner img {
	float:left;
	margin:5px;
}
#icart-left-content {
/*	border:1px solid #111;*/
	float:right;
	width:153px;
	height:60px;
/*	margin-top:9px;*/
}
#icart-left-empty {
	font:14px arial, sans-serif;
	font-style:italic;
/*	border:1px solid #111;*/
	margin-top:7px;
}

#icart-left-checkout {
	display:block;
	margin-top:9px;
}

#icart-left-wishlist {
	display:block;
}

#auth-form-left {
	margin:0 0 7px 0;
	padding:9px 12px;
	-moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px;
}

#auth-form-left table { width:100%; }
#auth-form-left th { border-bottom:1px solid #aaa; }
#auth-form-left table tbody input { border:1px solid #999;}
#auth-form-left div.user {
	float:left;
	margin:0 7px 0 0;
	border:none;
	width:20px;
	height:18px
}
/***********************************************/
/**             Результаты поиска             **/
/***********************************************/
#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: #990033; color:#fff; }
table.form-tb tfoot td { background: #990033; color:#fff; }
table.form-tb tfoot td input, .form-submit { 
	padding:.2em;
	margin:.1em;
	background:#eee; 
	color:#990033; 
	border:0px solid #649fc2; 
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
table.form-tb tfoot td input:hover,  
.form-submit:hover    { background:#ccc; }
/*.form-tb-sub  { background: #f2f2f2; padding:.5em; }*/
tr.form-tb-sub { background: #f2f2f2; }
tr.form-tb-sub td { padding:.5em; text-align:center; font-weight:bold;}
input[type $='text'], input[type $='password'] { border:1px solid #ccc; padding:1px;}
.strip-odd { background: #eee;}
.strip-ev { background: #ddd;}
.plugins-title { }
label.block-label { display:block; padding:5px; }
label.block-label input { margin:0 5px;}

a:hover {text-decoration:underline;}

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

/******************************************************************/
/***                      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:#eee; }

/* Уровни вложености категорий */
.cat-level-1, .cat-level-1 strong { font-weight:bold; text-transform:uppercase; line-height:2.3em; }
.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 { border-bottom:1px solid #eee; }
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;} 

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

/* Список документов в одну и в две колонки  */
ul.items-onecol      { margin:0; padding:0; list-style:none; }
ul.items-onecol li   { margin:0 0 .5em 0; padding:1em .5em;  border-bottom:1px solid #eee; }
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:1em 0;  }
.crosslinks-group-name  { font-weight:bold; border-bottom:1px solid #990033; padding:.5em .2em; }
.crosslinks-group-item  {
	display: -moz-inline-stack;
	display: inline-block;
	zoom: 1;
	*display: inline;
	padding:5px;
/*	border:1px solid #111;*/
}
.crosslinks-group-item-img {
	width:125px;
	height:125px;
	
	
}
.crosslinks-group-item-img-link {
	display:block;
	width:125px;
	margin:0 auto;
	padding:2px;
	border:1px solid #990033;
}
.crosslinks-group-item-img-link:hover {
	background-color:#fffed5;
}

.crosslinks-group-item-link {
	display:block;
	text-align:center;
	margin-top:7px;
	font:12px arial, sans-serif;
	font-weight:bold;
	text-decoration:none;
}

/*.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: 93%; margin: 0 0 .7em; position:relative; }
.plugins .admin-icons   { position:absolute; top:1px; right:1px; }
.plugins-title 			{ 
	text-transform: uppercase; 
	padding:.8em .5em; 
	zoom: 1; 
	font:12px arial sans-serif;
	text-align:center;
	font-weight:bold; 
}
.plugins-title h5		{ padding: 0; margin: 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 #ccc;
	margin-bottom:1%;
}

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

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

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

.print, .hide { display:none; }

.spinner {
	text-align:center;
	padding: 12px 0 25px 0;
	background:url(../images/spinner.gif) center bottom no-repeat;
}

.ui-dialog .grid-tb td {
	padding:2px;
}

/* linked  objects conf */
#lo_conf_sortable {
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
}
#lo_conf_sortable li { 
	white-space:nowrap;
	overflow:hidden;
	margin: 0 0 3px 0; 
	padding: .3em;
	padding-left: 1.5em; 
	cursor:default;
}
#lo_conf_sortable li span { position: absolute; margin-left: -1.3em; }

/* catalogs items linked objects select */

#lo-item-set {
/*	border:1px solid #ccc;*/
	position:relative;
/*	overflow:auto;*/
}

.lo-item-set-cats {
	margin:.5em 0;
	list-style:none;

}

.lo-item-set-cats .lo-item-set-cats {	border-left:2px solid #aaa; }

.lo-item-set-cats li {
/*	border:1px solid #ccc;*/
	padding:2px 0 2px;
/*	padding-left:20px;*/
}

.lo-item-set-cats a {
	margin-left:12px;
	text-decoration:none;
}

.lo-item-set-cats a.root {
	font-weight:bold;
}

.lo-item-set-cats span.ui-icon {
/*	border:1px solid #ccc;*/
	position:absolute;
	margin:1px 0 0 -7px;
}

.lo-item-set-cats span.loading {
	background:url(../images/spinner-mini.gif) center center no-repeat;
}

.lo-item-set-cats input { margin-right:3px; }

#lo-item-set-submit {
/*	text-align:center;*/
	padding:1em;
	border-top:1px solid #aaa;
}

label.lo-item-set-applyall {
	border-top:1px solid #ccc;
	padding-top:2px;
}

.item-linked-objs-group {
	margin-bottom:7px;
}

.item-linked-objs-group ul {
	margin:0;
	padding:0;
	list-style:none;
}

.item-linked-objs-group-name {
	font-weight:bold;
	border-bottom:1px solid #990033;
	margin-bottom:5px;
}

.item-linked-objs-group-item {
	float:left;
	width:125px;
	margin:0 2px;
	text-align:center;
	font-size:.9em;
}


.item-linked-objs-group-item-img {
	width:100px;
	height:100px;
}

.item-linked-objs-group-item-img-link {
	display:block;
	width:100px;
	height:100px;
	margin:0 auto;
	padding:2px;
	border:1px solid #990033;
}

.item-linked-objs-group-item-img-link:hover {
	background-color:#fffed5;
}

