body {
	margin: 0px;
	background-color: #FFFFFF;  /* #F5F5F5 */
	font-family: Helvetica; /* MS Sans Serif */
	font-size: 10pt;
	}
body.Dialog {
	margin: 0px;
	padding: 2px;
	background-color: #F9F9F9; font-family: Helvetica; font-size: 8pt;
}

button, input, select, checkbox {
	margin: 1px;
	font-family: Helvetica;
	font-size: 8pt;
}
textarea {
	margin: 1px;
	font-family: Helvetica;
	font-size: 10pt;
}

h1, h2, h3 {font-family : Arial, geneva, helvetica; font-weight:bold;}
h1  {font-size: 130%; }
h2  {font-size: 120%; }
h3  {font-size: 110%; }

.money {font-family:monospace;font-size:8pt;}
td.tdlabel  {
		padding-right: 1px;
		text-align:right;
		vertical-align:middle;
		font-size: 8pt;
		font-weight: bold;
}
td.tdfield  {
	padding-left: 1px;
	vertical-align:middle;
	font-size: 9pt;
	text-align: left;
}

fieldset {padding: 3px;}

.errormessage {color:red;
	font-family:Arial, Geneva, Helvetica; font-size:10pt;font-weight:bold;text-align:center;}
.goodmessage {color:blue;
	font-family:Arial, Geneva, Helvetica; font-size:10pt;font-weight:bold;text-align:center;}

div.DialogHeader {
	background-color: #eeeeFF;
	border: 1px solid #808080;
	font-family: Tahoma;
	font-size: 10pt;
	margin: 5px 2px 0px 2px;
	padding: 1px 4px 1px 4px;
}
div.DialogBody {
	background-color: white;
	border-top-width: 0px;
	border: 1px solid #808080;
	margin: 0px 2px 12px 2px;
	padding: 4px 4px 4px 4px;
	font-size: 9pt;
}
.DialogHeader img {
	margin: 1px 6px 0px 0px;
}


.B {  font-weight: bold !important; }
.calendar {font-size:8pt;font-weight:normal;}
.calendar:hover {color:#FF0000; }
.calendar:link {color:#0000AA; }
.calendar:visited {color:#0000AA; }
.g,.g2 {background-color: #D5DAD6;}
.g0 {background-color: #ECEFED;}
.g1 {background-color: #E6E9E7;}
.g3 {background-color: #BBC3BD;}
.memo {color:#556677; font-size:8pt;}
.s10 { font-size: 10pt;}
.s11 { font-size: 11pt;}
.s12 { font-size: 12pt;}
.s14 { font-size: 14pt;} 
.s7  { font-size: 7pt; }
.s8  { font-size: 8pt; }
.s9  { font-size: 9pt; }
.s70 { font-size: 70%; }
.s80 { font-size: 80%; }
.s90 { font-size: 90%; }
.w100 { width: 100%; }
.w99  { width: 99%; }
.w90  { width: 90%; }
.smallbold {font-size : 8pt;font-weight : bold; font-family : "MS sans serif", arial, geneva, helvetica;}
.smallfont {font-size : 8pt; font-family : "MS sans serif", arial, geneva, helvetica;}
.smallred  {font-size : 8pt;color:#FF0000;}
.pointer {cursor: pointer;}
a {text-decoration : none;}
a img { border-width: 0px; }
a:hover  {color : #FF5555;}
a:link, a:visited  {color : #0000AA;}
.red,   .red:hover,   .red:link,	 .red:visited {color:#FF5555;}
.green, .green:hover, .green:link, .green:visited {color:#22aa22;}
.black, .black:hover, .black:link, .black:visited {color:#000000;}
.white, .white:hover, .white:link, .white:visited {color:#FeFeFe;}
.blue,  blue:hover,   .blue:link,  .blue:visited {color:#0000FF;}
p  {margin-left : 2pt;  -webkit-margin-before: 0.3em; -webkit-margin-after: 0.3em;}
td { vertical-align:top; padding: 1px; }
td.top { vertical-align:top !important; }
td.bottom { vertical-align: bottom !important; }
td.middle { vertical-align: middle !important; }
table.fixed { table-layout: fixed; }
table.t0 { width:100%; border:0; border-collapse:collapse;}
table.t1 { width:100%; border:1px solid #889999; border-collapse:collapse;}
table.t1 td,  table.t1 th { border:1px solid #889999;  }
th {text-align:center; }
tr { vertical-align: top; }
ul,ol { margin: 4px 3px 4px 3px; padding-left: 13px;}

menu { margin: 4px 2px 4px 14px;}
menu li  { margin: 2px 2px 3px 2px;  padding: 0px;}
menu img { margin: 0px 6px 0px 3px; }

form { margin: 0px; }
div.Spacer      { height: 8px; overflow: hidden; }
div.SmallSpacer { height: 3px; overflow: hidden; }
span.Spacer     { height: 2px; overflow: hidden; width: 10px; }
.no-display { display: none; }

/* usernamefield */
input.checked { text-decoration:underline;}


/* подпись внизу экрана */
.copyright, .copyright:link, .copyright:visited,.copyright.hover  {
	color: #889999;
	font-family: Sans Serif;
	font-size: 8pt;
	margin: 0px 6px 6px 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
}
hr.copyright { margin: 4px 0px 0px 0px; width:100%; }

/* Панель навигатора */
div.navigator {
	font-size: 8pt; /* 70% */
	padding: 3px 0px 3px 0px;
	background-color: #FFEEEE;
}




/* HTMLList object() */
table.List {
	font-size: 9pt; /* 80%; */
	table-layout: fixed;
}
td.List  {
	font-size: 9pt; /* 80%; */
	vertical-align:top;
	padding: 1px;
}
.ListHeader {
	padding: 2px;
	font-size: 9pt; /* 80%; */
	background-color: #cdcdcd;
	border-color: #cdcdcd;
}
.list_header {font-size: 66.6%; background: #cdcdcd; font-family : "MS sans serif";}
.listheader {font-size: 66.6%; font-family:"MS sans serif",arial,helvetica;}


.ExcelText {mso-number-format:"\@";}
.b2bt {border-bottom:2px solid black;}
.b0ltr {border-left:0 none; border-top:0 none; border-right:0 none;}
.b2b   {border-bottom: solid 2px black;}


/* CSS for treeview and common for all modules */
	table.treeview { table-layout: fixed; width:100%;
		border:1px solid #f0f0f0; cursor: pointer;
		border-collapse:collapse; }
	td.treeview { padding:0; }
	td.treeimage { width: 16px; }
	td.treeplusminus { width: 10px; }
	.hover {background-color: #f0f0f0;}
	.selected {background-color: #e0e0e0;}

/* CSS for label-value tables */
/* CSS for label-value tables */
	table.grid { width:100%; border: 2px solid white; border-collapse: collapse;
		background-color: #f8f8f8; font-size: 9pt;}
	table.grid tr td {background-color: #f0f0f0;border: 2px solid white;
			vertical-align: middle; padding: 4px; }
	table.grid tr th {background-color: #f8f8f8; border: 2px solid white;
			vertical-align: middle; font-weight: bold; padding: 4px; text-align:left;}
	table.grid tr td.normal {background-color: #f8f8f8; }
/*
	table.grid { width:100%; border: 2px solid white; border-collapse: collapse;
		background-color: #f8f8f8; font-size: 9pt;}
	td.grid {background-color: #f8f8f8; border: 2px solid white;
			vertical-align: top; padding: 4px;}
	td.label {background-color: #f8f8f8; border: 2px solid white;
			vertical-align: top; font-weight: bold; padding: 4px;}
	td.field {background-color: #f0f0f0;border: 2px solid white;
			vertical-align: top; padding: 4px;}
*/
/* jquery.notify.js */
.notifyBox {
display: none; z-index: 10; border: 1px solid black; padding: 2px;
background-color: yellow; /*#99CCFF;*/  color: Black;
margin: 2px; width: 300px; font-size: 12px;
font-family: "Trebuchet MS" , "Helvetica" , "Arial" , "Verdana" , "sans-serif";
}

.usprav_invalid {background-color: #fff0f0; }
.yscroll {overflow: scroll; overflow-x: hidden; overflow-y: scroll;}