/*
	RUS v2
	(c) 2003-2009 Nux s.r.o. <info(at)nux(dot)cz>
*/

body
{
	font-family: "Arial CE", Arial, sans-serif;
	text-align: center;
}

hr
{
	display: none;
}

a
{
	color: black;
	text-decoration: none;
}
a:hover
{
	color: red;
	text-decoration: underline;
}

abbr, .abbr, img
{
	border: none;
}

div#error, div#header, div#help, div#menu, div#navigation, div.shift
{
	display: none;
}

.hidden, .noprint
{
	display: none;
}

.occupied
{
	background: #FF9B69;
}

.reserved
{
	background: #FFCD69;
}

.service
{
	background: #CCCCCC;
}

/* page */
table#results_table
{
	width: 100%;
	table-layout: auto;
	border-collapse: collapse;
	border: 2px solid black;
	white-space: nowrap;
}

table#results_table tr
{
	line-height: 1em;
	white-space: nowrap;
}

table#results_table th
{
	line-height: 2em;
	font-size: 0.8em;
	font-weight: bold;
}
table#results_table th.apartment_disabled, table#results_table th.apartment_private
{
	font-weight: normal;
}
table#results_table th.apartment_disabled
{
	text-decoration: line-through;
}

table#results_table td
{
	border: 1px solid black;
	font-size: 0.8em;
}

div#results
{
	margin-top: -2em;
}

div#results_header
{
	display: none;
}

span.term
{
	float: left;
	margin-top: 0.25em;
	padding-left: 0.1em;
}

th.apartment
{
	min-width: 6em;
	width: 8em;
}

th.date
{
	width: 8em;
}

td.date
{
	padding-right: 0.5em;
	white-space: nowrap;
	text-align: right !important;
}

div#properties
{
	text-align: left;
}

/* bill, voucher */
div#bill, div#voucher
{
	height: 230mm;
	border: 2px solid black;
	text-align: left;
	-moz-border-radius: 0.5em;
	font-size: 0.8em;
}
div#voucher
{
	height: 100mm;
}

h1#bill_header, h1#voucher_header
{
	text-align: center;
	font-size: 1.2em;
	letter-spacing: 0.2em;
}
h1#voucher_header span.notice
{
	font-size: 0.5em;
	letter-spacing: 0;
}

div#bill h3, div#bill div#sign, div#voucher h3, div#voucher div#sign
{
	font-size: 0.8em;
}
div#bill h3#no_bill, div#bill h4, div#voucher h4
{
	font-size: 1em;
}

div#bill div#id
{
	float: right;
	width: 50%;
	padding: 0.5em;
	border-left: 1px solid black;
	_padding: 0.5em;
}

div#bill div#provider, div#voucher div#provider
{
	float: left;
	width: 45%;
	_width: auto;
	_margin-top: -5em;
	padding: 0 0.5em;
	line-height: 1.4em;
}

div#bill div#provider > img, div#voucher div#provider > img
{
	float: right;
	margin-top: -2.6em;
	margin-right: -0.5em;
}

div#bill div#maturity, div#bill div#recipient, div#voucher div#recipient
{
	float: right;
	width: 50%;
	padding: 0.5em;
	border-top: 1px solid black;
	border-left: 1px solid black;
}

div#voucher div#recipient
{
	height: 15em;
	border-top: none;
}

div#bill div#items, div#voucher div#items
{
	clear: both;
	position: relative;
	padding: 0.5em;
	border-top: 3px double black;
}

div#bill div#items table#items_table
{
	width: 100%;
	table-layout: auto;
	border-collapse: collapse;
	border: 1px solid black;
}

div#bill div#items table#items_table th
{
	border-bottom: 1px solid black;
	font-size: 0.8em;
}

div#bill div#items table#items_table td
{
	padding-top: 0.5em;
}

div#bill div#total, div#voucher div#total
{
	float: right;
	margin: 2em auto;
	padding: 0 1em;
}
div#voucher div#total
{
	margin-top: 0;
}

div#bill div#sign, div#voucher div#sign
{
	float: left;
	margin-top: 2em;
}
div#voucher div#sign
{
	margin-top: 0em;
}

div#sign img
{
	display: block;
	float: left;
}
div#voucher div#sign img
{
	margin-top: -90px;
	margin-left: 240px;
	z-index: -1;
}

div#bill div#total, div#voucher div#total
{
	width: 18em;
	border: 1px solid black;
	_padding: 1em;
	-moz-border-radius: 0.5em;
}

div#bill div#total p#sum, div#voucher div#total
{
	font-weight: bold;
}

div#bill_tail, div#voucher_tail, div#calendar_tail
{
	clear: both;
	text-align: center;
	font-size: 0.6em;
}

/* tail */
div#tail
{
	display: none;
}
