/******************************************************/
/*            структурный макет страницы              */
/*                   не изменять                      */
/******************************************************/

html, body, table.root
{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

html, body
{
   margin: 0;
   padding: 0;
   background-color: #fff;
}

td { vertical-align: top; }





/* разное */

.filler { width: 100%; height: 100%; }
.wide { width: 100%; }

table.clps { border-collapse: collapse; }		/* таблица без отступов */
table.clps td { padding: 0; }





/* основная структура страницы */

table.root tr.root_bar					/* бары сверху (дата, карта сайта, справка) и снизу (счетчики) */
{
   background-color: #001f77;
}

table.root tr.root_bar td,				/* высота баров минимальна, определяется контентом */
table.root tr.root_top td
{
   height: 1px;
}

table.root td.root_column				/* ширина колонок справа и слева */
{
   width: 20%;
}

table.root tr.root_top					/* фон шапки (логотип, поисковая форма, форма авторизации) */
{
   background: url('/-template/image/grad1.gif') repeat-x top;
}

table.root td.root_logo					/* место логотипа */
{
   vertical-align: bottom;
   padding: 5px 5px 1.5em 10px;
}

table.root td.root_search				/* место формы поиска */
{
   vertical-align: bottom;
   padding: 5px 50px 1.5em 10px;
}

table.root td.root_auth					/* место формы авторизации */
{
   padding: 3px 5px 0 5px;
}

table.root td.root_center				/* отступы основного контента и копирайта */
{
   padding: 0 10px 5px 10px;
}

table.root td.root_bottom				/* место формы авторизации */
{
   text-align: center;
   padding: 2px;
}





div.block							/* структурные блоки в левой и правой колонках */
{
   position: relative;
   border: 1px solid #b2c7db;
   padding: 1px;
   margin-top: 5px;
}

div.block div.head					/* заголовок блока */
{
   background-color: #fff9d8;
   padding: 1px;
}

div.block div.data					/* данные */
{
   padding: 5px;
}







div.cur_date						/* текущая дата. Не переносится на новую строку при уменьшении ширины ячейки и не влияет на ширину ячейки */
{
   position: absolute;
   top: 2px;
   left: 10px;
}

.pic_lang							/* иконка другого языка */
{
   margin-right: 1px;
   margin-left: 1px;
}

table.form_search						/* поисковая форма */
{
   width: 100%;
   background: url('/-template/image/img_magnifying_glass_glow.jpg') no-repeat top left;
}

table.form_search td.input				/* тут поле ввода */
{
   padding: 2px 0 0.4em 32px;
}

table.form_search td.button				/* тут кнопка */
{
   width: 1px;
   padding-top: 2px;
   padding-right: 5px;
}

table.form_search input
{
   width: 100%;
   padding-left: 15px;					/* чтобы не перекрывалось картинкой */
   float: right;						/* fix для Opera */
}

img.png_search						/* картинка формы поиска */
{
   position: absolute;
   top: -11px;
   left: -32px;
   float: left;
   behavior: url('/-template/css/pngbehavior.htc');	/* прозрачность png для IE */
}

table.form_auth,						/* форма авторизации */
table.form_auth input
{
   width: 100%;
}

table.form_auth td.l
{
   text-align: right;
   vertical-align: middle;
   width: 20%;
}

img.png_lock						/* картинка формы авторизации */
{
   position: absolute;
   top: 0;
   left: -34px;
}


/* деревья */

* html body div.ie_fix { width: 100%; }		/* fix для IE */

table.tree td.pm						/* ячейка для картинок свернуть/развернуть */
{
   width: 16px;
   padding-top: 2px;
   text-align: left;
   font-size: 9px;
}

table.tree td.pad-left { padding-left: 5px; }


/* меню */

table.menu td
{
   padding-top: 0.3em;
   padding-bottom: 0.3em;
}

table.menu td.pm
{
   padding-top: 0.5em;
}




/*
 для борьбы с ошибкой IE7 при использовании конструкции "иконка+ссылка"
(при изменении масштаба страницы некорректно позиционируются изображения по отношению к тексту)
 ссылку class="p_*" помещаем в данную таблицу
*/

table.ie7lf { display: inline; }
table.ie7lf td { padding-left: 0.7em; }


/******************************************************/
/*   окончание блока структурного макета страницы     */
/******************************************************/