* { font-size: 100.01%; }

input,
select,
button,
* html textarea
{ font-size: 1em; }

body
{
margin: 0; padding: 0;
background-color: white; color: black;
height: 100%;
behavior: url('vlalek00.htc');
}

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

/* common html elements */
h1, h2, h3, h4, h5, h6
{ margin: 0 0 0.5em 0; padding: 0; font-weight: normal; }
h1     { font-size: 1.5em; }
h2     { font-size: 1.3em; margin-top: 1.65em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName == 'H1' ? 0 : '1.65em' ); }
h3     { font-size: 1.2em; margin-top: 1.75em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName.match( /^H\d$/ ) ? 0 : '1.75em' ); }
h4, h5 { font-size: 1.1em; margin-top: 1.85em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName.match( /^H\d$/ ) ? 0 : '1.85em' ); }
h6     { font-size: 1em; }
h2, h4, h6 { font-weight: bold; }
h4, h5, h6 { color: #666666; }

@media all {
	p, table, ul, ol, dl, address, blockquote
	{ margin: 1em 0; padding: 0; margin-top: expression( this.previousSibling && this.previousSibling.nodeName.match( /^H\d$/ ) ? 0 : '1em' ); }
	ul,	ol
	{ padding-left: 2em; }
	li { 
		margin: 0 0 0.5em 0;
		padding: 0;
	}

	ul { list-style-type: none; }
	ul li, ol li ul li { padding-left: 20px; background: url('li000000.gif') no-repeat 0 0.6em; }
	ol li, ul ol li { padding-left: 0; background: none; }
	li ul, li ol { margin-top: 0.5em; margin-bottom: 0; }

	dt { margin: 0; }
	dd { margin: 0.5em 0 0.5em 2em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName == 'DT' ? 0 : '0.5em' ); }

	blockquote { margin-left: 3em; }

	img { margin: 0; padding: 0; border-width: 0; }

	code { font-size: 1.1em; //font-size: 1em; }

	form { margin: 0; padding: 0; }
	label[disabled="true"] { opacity: 0.4; }

	hr { border: 0 hidden; border-top: 1px solid gray; height: 0; }

	/* tables */

	table, td, th
	{ //border-collapse: collapse; border-spacing: 0; border: 0 hidden black; }
	table.data
	{
	font-size: 100.01%;
	border-top-width:  1px; border-top-style:  solid;
	border-left-width: 1px; border-left-style: solid;
	empty-cells: show;
	}
	table.data td, table.data th
	{
	padding: 0.5em 1em;
	border-right-width:  1px; border-right-style:  solid;
	border-bottom-width: 1px; border-bottom-style: solid;
	}

	/* layout & navigation tables */

	table.layout, td.layout, th.layout,
	table.navigation, table.navigation td
	{
	margin: 0;
	text-align: left; vertical-align: top;
	border-width: 0; border-style: hidden;
	font-weight: normal;
	}
	table.layout, td.layout, th.layout
	{ padding: 0; }

	ul li{
		background:url('marker-b.gif') no-repeat 0.1em 0.3em;
	}
}

h1+h2, h1+h3, h2+h3, h1+h4, h2+h4, h3+h4, h1+h5, h2+h5, h3+h5, h4+h5,
h1+p, h2+p, h3+p, h4+p, h5+p, h6+p,
h1+table, h2+table, h3+table, h4+table, h5+table, h6+table,
h1+ul, h2+ul, h3+ul h4+ul, h5+ul, h6+ul,
h1+ol, h2+ol, h3+ol, h4+ol, h5+ol, h6+ol,
h1+dl, h2+dl, h3+dl, h4+dl, h5+dl, h6+dl,
dt+dd,
dd p:first-child, td p:first-child
{ margin-top: 0; }

/* main layout */

div#layout, div#content { position: relative; }

#layout
{
	margin: 0; padding: 0;
	width: expression('100%');
	height: expression('100%');
/*width: expression(
	(
		document.getElementById('measurer')
		// min-width in em * 0.8 
		&& document.getElementById('measurer').clientWidth < document.getElementById('measurer').clientHeight * 40
	)
	?	document.getElementById('measurer').clientHeight * 40 + 'px'
	:	(
			document.getElementById('measurer')
			// max-width in em * 0.8 
			&& document.getElementById('measurer').clientWidth < document.getElementById('measurer').clientHeight * 80
		)
		?	'100%'
		:	( document.getElementById('measurer') )
			?	document.getElementById('measurer').clientHeight * 80 + 'px'
			:	'auto'
);*/
/*min-width: 50em; max-width: 100em;*/
min-height: 100%;
}

/*div#layout { height: auto; //height: 100%; }
#measurer
{
position: absolute;
left: 0;
top: -1em;
visibility: hidden; 
width: 100%; height: 1em;
line-height: 1em;
background: white;
}*/

/* common classes */

.png { //background-image: none ! important; behavior: url('vlalek00.htc'); }

.nowrap, .phone { white-space: nowrap; }
.small { font-size: 0.89em; }
.clear { clear: both; }

.navigation a:link, .navigation a:visited { color: black; }

ul.navigation,
ul.navigation li
{
	padding-left: 0;
	background-image: url(image/marker-a.gif);
	behavior: none;
	text-indent: 0;
}
ul.navigation li:before { content: ''; }
ul.navigation ul { margin-left: 2em; }

/* other medias */

@media screen, handheld, projection {
	.for_media_print { display: none; }
}

@media print {
	.not_for_media_print { display: none; }
}

@media print, handheld {
	#layout { width: 100% ! important; height: auto ! important; min-width: 0 ! important; }
}

@media handheld {
	body,
	table.layout tr.layout,
	table.layout td.layout,
	table.layout th.layout,
	table.navigation tr,
	table.navigation td
	{ height: auto; display: block; width: 100%; empty-cells: hide; }
	#content img { width: 100%; height: auto; }
}
