html, body {
	margin: 0; 
	padding: 0;
	height: 100%;
}

* html {
	overflow: hidden;
}
* html body {
	height: 100%;
	overflow: auto;
}


html, body, p, td, th {
	font-family: "Trebuchet MS", Tahoma, sans-serif;

}
body {
	color: #333333;
	background: #F0F0F0 url(images/top.gif) 0 0 repeat-x;
}

a {
	text-decoration: none;
	border-bottom: 1px dotted;
	white-space: nowrap;
	color: #000099;
}

a:hover {
	border-bottom: 1px solid;
	background: #FFFF99;
}

h1, h2, h3, h4, h5 {
	font-family: Georgia,"Times New Roman", serif;
	font-weight: normal;

}
h1 a, h2 a, h3 a {
	text-decoration: none;
	color: #303030;
	border-bottom: 0;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	background: transparent;
	border-bottom: 0;
}

h1 {
	font-weight: normal;
	letter-spacing:	-1.6px;
}

p {
	text-align: justify;
}

#wrap {
	width: 600px; 
	margin: 0 auto 0 auto;
	background: #F9F9F9;
}
#head {
	text-align: center;
	height: 64px;
	background: #666666;
}
#head h1 {
	margin: 0; padding: 0; line-height: 64px;
	color: #FFFF33;
	font-variant: small-caps;
	color: #FFFFFF;
}
#head h1 a {
	color: #FFFFFF;
}
#content {
	padding: 16px;
}
#footer {
	background: transparent url(images/shadow.gif) 0 100% repeat-x;
	padding: 0 16px 16px 16px;
	border-top: 1px dashed #D0D0D0;
	clear: both;
}
#footer p {
	text-align: center
}

.ill {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #D0D0D0;
	background: #FFFFFF;
	height: 1%;
	font-size: 90%;
}

html>body .ill {
	height: auto
}

.ill img {
	display: block;
	float: left;
	padding: 0 10px 10px 0;
}

.ill p {
	text-align: left;
}

.ill h4 {
	text-align: right;
}

.ill:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.ill ol, .ill ul {
	list-style-position: inside;
}

html>body .ill ol, html>body .ill ul {
	list-style-position: outside;
}

#nav {
	width: 75%;
	margin: 10px auto;
	padding: 10px;
	border: 1px solid #D0D0D0;
	background: #FFFFFF;
	text-align: center;
}
#menu {
	position: fixed;
	width: 15%;
	top: 64px;
	left: 0;
	background: #F0F0F0;
}

* html #menu {
	position: absolute;
}

#menu ul {
	list-style: none;
	margin: 0; 
	padding: 0 0 0 8px;
}
#menu li {
	margin: 0; 
	padding: 0 0 6px 0;
}
#menu a, #menu p, #contacts p {
	display: block;
	margin: 0;
	padding: 2px 0 2px 4px;
	white-space: normal;
	border: 8px solid #E4E4E4;
	border-width: 0 0 0 8px;
}
#menu a:hover {
	border-color: #CCCC33;
	border-color: #E3C53C;
}
#menu p, #contacts p {
	font-weight: bold;
	border-color: #333333;
}

.tb {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #D0D0D0;
	background: #FFFFFF;
	height: 1%;
	font-size: 90%;
	border-collapse: collapse;
}
.tb td, .tb th {
	border: 1px solid #D0D0D0;
	padding: 2px 4px;
}
.tb caption {
	font-size: 110%;
	text-align: right;
}

#adv {
	position: absolute;
	width: 15%;
	top: 400px;
	left: 0;
	padding: 10px;
	font-size: 8pt;
}

* html #adv {
	position: absolute;
}

#adv2 {
	position: absolute;
	width: 15%;
	top: 550px;
	left: 0;
	padding: 10px;
	font-size: 8pt;
}

* html #adv {
	position: absolute;
}

#adv3 {
	position: absolute;
	width: 15%;
	top: 700px;
	left: 0;
	padding: 10px;
	font-size: 8pt;
}

* html #adv {
	position: absolute;
}

#contacts {
	position: fixed;
	width: 110px;
	top: 54px;
	left: 80%;
	margin: 10px;
	font-size: 12pt;
	background: #F0F0F0;
}

* html #contacts {
	position: absolute;
}

div#adv2 p {text-align:left;}
div#adv3 p {text-align:left;}