@media screen, print {
	
html, body { height: 100%; background-color: #ffffff; margin: 0; padding: 0; min-width: 500px; }
	
a { color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; }
a:hover { color: #000000; text-decoration: none; } 
a:visited { color: #0056a2; text-decoration: none; }
	
/* разметка страницы */
.contracts a,.menu a {
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	text-decoration: none;
}
.contracts a:hover,.menu a:hover{color: #FF9900; text-decoration: none;}
.contracts a:visited,.menu a:visited{color: #000000; text-decoration: none;}

#all {position: relative; height: 100%;}
html>body #all {height: auto; min-height: 100%;}
	
div.header {
	padding-bottom: 10px;
	padding-left: 30px;
	padding-top: 12px;
}
div.logo {
	background:url(img/logo_televox.png) no-repeat;
	height: 120px;
}
div.title {
	border-bottom-style: solid;
	border-bottom-color: #F3A327;
	border-bottom-width: 1px;
	margin-bottom: 2px;
	padding-top: 10px;
	height: 23px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	background-color: #ffffff;
	padding-left: 30px;
	font-weight: bold;
}
div.contracts {
	background-color: #ffffff;
	padding-top: 10px;
	padding-left: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	height: 25px;
	margin-bottom: -1px;
}
div.contracts span {
	font-weight: bold;
}
div.contracts ul {
	padding-left: 10px;
	display: inline;
}
div.contracts li {
	padding-left: 10px;
	padding-right: 10px;
	display: inline;
	background: url(img/peregorodki.gif) no-repeat;
}
div.menu {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	background-color: #ffffff;
	float: left;
	width: 210px;
	margin-top: 15px;
}
div.menu p {
	font-weight: bold;
	padding-left: 20px;
	margin-top: 10px;
}
div.menu ul {
	margin-left: 0px;
	padding-left: 18px;
	background-color: #ffffff;
	border-top-color: orange;
	border-top-style: solid;
	border-top-width: 2px;
	border-bottom-color: white;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}
div.menu li {
	list-style-image: url(img/strelki.gif);
	background-color: #ffffff;
	border-bottom-color: black;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color: white;
	border-left-style: solid;
	border-left-width: 1px;
	padding: 2px;
	padding-left: 10px;
}
div.content {
	margin-top: 15px;
	margin-left: 235px; /* Отступ слева */
}
div.empty, div.footer {
	height: 40px;
}
div.empty {
	clear: both;
}
div.footer {
	width: 100%;
	position: absolute;
	bottom: 0;
	min-width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	background-color: #ffffff;
	border-top-style: solid;
	border-top-color: #ffffff;
	border-top-width: 1px;
	text-align: right;
}
div.footer p {
	padding: 2px;
}
div.line {
	clear: both;
	border-bottom-style: solid;
	border-bottom-color: #F3A327;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-top-color: #ffffff;
	border-top-width: 1px;
	margin-bottom: 1px;
	margin-top: 1px;
}
/* конец разметки страницы */

/* служебные страницы с ошибками авторизации, всплывающие окошки с ошибками */
body.popuphelp
{
	margin: 10px;
}
/* заголовки 1/2 уровня на служебных страницах, всплывающих окошках */
h1.titlePage, h2.titlePage
{
	text-align: center;
}
/*некий блочный элемент ссылки закрытия попап-окна*/
.popupClose
{
	text-align: center;	
}

/* рамки с текстом */
div.blackMessage,div.errorMessage,div.infoMessage
{
	padding: 10px;
	margin-bottom: 10px;
	border: 1px dashed black;
	color: black;
	text-align: center;
	background-color: #FFFFFF;
}	
div.errorMessage
{
	border: 1px dashed red;
	color: red;
	background-color: #FFEEEE;
}	
div.infoMessage
{
	border: 1px dashed blue;
	color: blue;
	background-color: #EEEEFF;
}
font.info
{
	color: gray;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
}

/*любые комментарии к таблицам/заполняемым формам*/
em.comment
{
	font-size: x-small;
	vertical-align: text-top;
	color: #a0a0a0;
}

/* формы */
form { margin: 0px;	padding: 0px; }

input
{
	padding-left: 2px;
	padding-right: 2px;
}
	
/*с картиночками инпуты логин/пароль*/
input.inputLogin
{
	width: 150px;
	background: url(img/ilogin.png) no-repeat;
	background-position: 0px 1px;
	padding-left: 18px;
}
input.inputPassword
{
	width: 150px;
	background: url(img/ipass.png) no-repeat;
	background-position: 0px 1px;
	padding-left: 18px;
}
	
.multiselect {
	width: 150px;
}

/* кнопка с градиентной закраской */
button.gradbtn {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	padding: .1em .5em .13em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.gradbtn:hover {
	text-decoration: none;
}

button.gradbtn:active {
	position: relative;
	top: 1px;
}

select.gradbtn:active {
}

/* синяя кнопка */
.blue {
	color: #dfebf6;
	border: solid 1px #0056A2;
	background: #0056A2;
	background: -webkit-gradient(linear, left top, left bottom, from(#298ebe), to(#0056a2));
	background: -moz-linear-gradient(top,  #298ebe,  #0056a2);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#298ebe', endColorstr='#0056a2');
	margin-left: 2px;
	margin-right: 2px;
}

.blue:hover {
	background: #5391CE;
	background: -webkit-gradient(linear, left top, left bottom, from(#298ebe), to(#5391CE));
	background: -moz-linear-gradient(top,  #298ebe,  #5391CE);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#298ebe', endColorstr='#5391CE');
}

.blue:active {
	color: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#0056a2), to(#298ebe));
	background: -moz-linear-gradient(top,  #0056a2,  #298ebe);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0056a2', endColorstr='#298ebe');
}


/* таблица используемая в формах для компоновки контролов в фильтрах перед таблицей,
   есть отступ снизу */
table.filter {
	margin-bottom: 10px;
	background-color: #ffffff;
	border-collapse: collapse;
}

/*блок контента страницы. этим id помечен <td>*/
.content {
	padding-right: 24px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	padding-left: 15px;
}
	
/*таблица для расположения кнопок листания страниц (в основном чтобы в @print убрать картинки)*/
/*возможно, стоит сделать единый стиль для неотображаемых при печати элементов из content*/
.content table.tablePagesBar td,
.content table.tablePagesBar th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
	background-color: #FFFFFF;
	font-weight: normal;
	white-space: nowrap;
	padding: 0px;
	margin: 0px;
}
	
.content table.tablePagesBar th {
	font-weight: bold;
}
	
/*таблицы с данными*/
table.table800
{
	width:100%;
	width:800px;
/*	background-color: #000000;*/
	background-color: #ffffff;
	text-align: center;
	border-spacing: 1px;	
	border-collapse: collapse; /* это+ border для td дублирует border-spacing: 1px; которого как всегда нету в IE*/
}
	
table.table800 tbody tr td,
table.table800 tfoot tr td,
table.table800 thead tr td
{
	padding: 5px;
	text-align: center;
	border: 1px solid #0056a2;
}
	
table.table800 tbody tr td,
table.table800 tfoot tr td
{
	background-color: #ffffff;
}
	
table.table800 thead tr td
{
	background-color: #ffffff;
	color: #000000;
}	
	
table.table800 tfoot tr td {
	font-weight: bold;
}

/*пароль белым текстом на белом фоне, чтобы был виден только при выделении*/ 
td.password {
	color: #FFFFFF ! important;
}
	
/*некие раскраски срок таблицы (в процессе, выполнено, выполнено с ошибкой)*/
tr.row_status_process td{
	background-color: #E8E8E8 ! important;
}
tr.row_status_ok td{
	background-color: #E8FFE8 ! important;
}
tr.row_status_fail td{
	background-color: #FFE8E8 ! important;
}
/*неактивная строка (серый шрифт)*/
tr.row_status_inactive td{
	color: #8e8e8e ! important;	
}
	
/*таблица для расположения форм ввода многоярусных с кнопкой в нижнем ряду*/
table.layout {
	border-collapse: collapse;
}
table.layout tr td {
	text-align: left;
	padding: 2px;
	margin:  0px;
}
table.layout tr.foot td {
	text-align: right;
}
}

/* стили, применяемые при печати, необходима проверка! */
@media print {
#idTdLeftPanel,
table.button,
#idTdSubContracts {
	display: none ! important;
}
table.filter {
	padding-bottom: 25px;
}
.content td {
	padding: 5px;
}
a {
	text-decoration: none;
	color: #000000;
}
td.line div {
	border-top-style: none ! important;
}
.header {
	border-bottom-color: #000000;
	margin-bottom: 10pt;
}
.header tr td {
	padding-left: 0px;
	color: #000000 ! important;
	background-color: #FFFFFF ! important;
}
.header th div {
	background:none ! important;
	height: auto ! important;
	width: 0px;
}
#idTableHeader.header {
	margin-bottom: 0px ! important;
}
#idTdLogo {
	padding-top: 0px ! important;
	padding-left: 10px ! important;
}
#idTdSubContractsLine div {
	height: 0px;
}
.content {
	padding-right: 0px;
	color: #000000;
	padding-left: 0px;
}
table.tablePagesBar img {
	display: none ! important;	
}
.comment {
	font-size: 8pt !important;
}
#idTdFooter {
	height: auto ! important;
}
#idTdFooterMargin {
	height: 0px ! important;
}
.content div div.report table thead tr td, 
.content div div.report table tbody tr th,
.content div div.report table tbody tr td {
	padding: 1px;
	font-size: 10pt;
}
}