@charset "windows-1251";
* {font-size:100%}
body, div {font-family: arial; font-size: x-small; margin: 0 0 0 0;}
td {font-family: arial; font-size: x-small; vertical-align: top;}
a {font-family: arial; color: #1a61a9;}
li, p {font-family: arial; margin-bottom: 0.3em; margin-top: 0.3em;}
img {border:0px none;}
table {border-collapse: collapse; border-spacing: 0; margin-bottom: 0; margin-top: 0;}

tr.blue {color: #1a61a9;}
td.blue {color: #1a61a9;}
table table td {padding: 0.2em 0}
table table table td {padding-right: 1em}
p.redframe {border: 1px solid red; padding: 0.5em;}
.menu {font-size: 130%; margin-bottom: 1em;}
ol, form, div {margin-top:0; margin-bottom:0;}

h1 {font-family: arial; text-decoration: none; font-size: x-large; color: #1a61a9; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; font-weight: normal; white-space: nowrap;}
h2 {font-family: arial; text-decoration: none; font-size: large; color: #1a61a9; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; font-weight: normal; white-space: nowrap;}
h3 {font-family: arial; font-size: small; font-weight: bold; margin-top: 0.5em; margin-bottom: 0; white-space: nowrap;}
h4 {font-family: arial; font-size: x-small; font-weight: bold; margin-top: 0; margin-bottom: 5;}

input , textarea, .submit {font-family: arial}
.textarea_monotype {font-family: courier new}
select {z-index: 5; overflow: auto}

/*Серая подсказка*/
.hide {
	color: #666666;
	font-family: arial;
	font-size: 80%;
	white-space: nowrap;
	}
span.hide {white-space: normal;}

.pagination_prev  {color: #1a61a9;  width: 1.1em;  margin-right: 1em; }
.pagination_next {color: #1a61a9;  width: 1.1em;  margin-left: 1em}

#pagination_current {color: black; font-weight: bold;  width: 1.1em;font-size: 110%; }
.pagination_page {color: #1a61a9;  width: 1.1em;}

.pagination_last, .pagination_first {width: 1.1em;}


.inputtext  {width: 20em; } /*250px*/
.inputtext1 {width: 4em; }
.inputtext2 {width: 41em; } /*515px*/
.inputtext3 {width: 8em; } /*100px*/
.inputtext4 {width: 10em; } /*150px*/
.inputtext5 {width: 14em; }
.inputtext6 {width: 13em; }
.inputtext100 {width: 100%; } /*Во всю ширину*/

.selectinputtext  {font-family: arial; width: 20em; margin-top: 1; margin-bottom: 4;} /*250px*/
.selectinputtext2 {font-family: arial; width: 28em; margin-top: 1; margin-bottom: 4;} /*350px*/
.selectinputtext3 {font-family: arial; width: 8em;} /*100px*/
.selectinputtext4 {font-family: arial; width: 60em; margin-top: 1; margin-bottom: 4;} /*750px*/
.selectmonospace  {width: 41em; font-family: monospace;}
.selectmonospace2 {width: 65em; font-family: monospace;}

.array_tree {
	font-family: arial;
	font-size: x-small;
	}
.error_text {
	font-family: arial;
	font-size: x-small;
	color: red;
	}
code {font-family: arial; font-size: 12px;}
.hint {
	position: absolute;
	border: 1px solid #445c76;
	background: #ffffcc;
	visibility: hidden;
	width: 20%;
	top: 1px;
	left: 0%;
	z-index: 0;
	margin: 6px;
	padding: 5px
	}
.hintflat {
	position: absolute;
	border: 1px solid #445c76;
	background:white;
	visibility: hidden;
	width: 20%;
	top: 1px;
	left: 0%;
	z-index: 0;
	margin: 6px;
	padding: 5px
	}

.flydiv {display: none; position: absolute; border: 1px solid #d1dcee; background: #ffffff;}
.white {font-family: arial; color: #ffffff;}

div.tablecontainer {
	clear: both;
	border-color: #1a61a9;
	border-style: solid;
	border-width: 1px;
	height: 100%;
	overflow: auto;
	width: 100%;
	}
div.sortdiv {
	position: relative;
	overflow: auto;
  	border: 1px solid #cacfd3;
	/* border-left: 0px; */
	/* width: expression(Math.min(document.body.clientWidth-20,this.firstChild.clientWidth+20)); */
	/* width: expression((document.body.clientWidth)>(this.firstChild.clientWidth+40)? this.firstChild.clientWidth+20 : document.body.clientWidth-20); */
	/* width: expression(document.body.clientWidth-20); */
	}
table.quotasort td, table.sort td, table.amatable td, table.FlatTable td, table.flat td {
	border:1px solid #cacfd3;
    padding:0.2em 0.3em;
	}
table.normal td {padding:0.2em 0.3em;}
table.quotasort thead td, table.sort thead td {
	cursor:hand;
	text-decoration: underline;
	font-weight:bold;
	text-align:left;
	vertical-align:top;
	background-color:#ededf1;
	border-top: 0px;
	}
table.FlatTable thead td, table.flat thead td
{
	text-decoration: none;
	font-weight:bold;
	background-color:#ededf1;
	text-align:left;
	vertical-align:top;
	border-top: 0px;
}
thead td.curcol {
	text-decoration: underline;
	color:#1a61a9;
	}
table.amatable tr {height: 35px;}

/* ----------------- */
tr.SelectedRow {background-color:#ededf1;}

/*Строка кнопок вверху и внизу страницы*/
tr.buttonline, td.buttonline {background-color:#ededf1; white-space: nowrap;}

/*Строки с определённой высотой*/
tr.height2 {height: 2.6em;}
tr.height4 {height: 4.5em;}

.skin0 {background-color: menu;
	border-bottom: black 2px solid;
	border-left: black 2px solid;
	border-right: black 2px solid;
	border-top: black 2px solid;
	cursor: default;
	font-family: verdana;
	line-height: 20px;
	position: absolute;
	text-align: left;
	visibility: hidden;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 200px}

.skin1 {background-color: menu;
	padding-top: 3px;
	padding-bottom: 5px;
	border-bottom: buttonhighlight 3px outset;
	border-left: buttonhighlight 3px outset;
	border-right: buttonhighlight 3px outset;
	border-top: buttonhighlight 3px outset;
	cursor: default;
	font-family: arial, helvetica, sans-serif;
	font-size: 10pt;
	position: absolute;
	text-align: left;
	visibility: hidden;
	width: 444px;
	z-index: 2;}

.menuitems {padding: 0 5 0; margin: 1 5 1;}

/* Стиль шапки таблицы должен быть чисто экранным, иначе и печатается некорректно */
@media screen
{
table.quotasort thead tr, table.sort thead tr, thead.FlatTable tr {
	position: relative;
	top: expression(this.parentElement.parentElement.parentElement.scrollTop);
	}
}

/* Модифицированные стили для печати */
@media print
{
.buttonline, input.submit, .noprint, .foot, img, #FormSelect , .skin1, .skin0 {display: none;}	/* Это не печатать */
body table {height: auto; width: auto;}	/* Чтобы не печатался лишний пустой лист, но полные данные */
div.sortdiv {overflow: visible;}	/* Чтобы печатались полные данные таблиц */
}

