html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
li {
	display: list-item
}
body {
	font-family: Arial, Helvetica, sans-serif;
	background: #f8f8f8 url("../img/body.jpg") repeat-x;
	color: #000;
	font-size: x-small;
	text-align: center;
	min-width: 770px;
	line-height: 1.5;
	padding: 0 20px;
}
html>body {
	font-size: small;
}
html,body {
	height: 100%;
}
hr {
	display: none;
}
.end {
	clear: both;
	height: 1px;
	line-height: 1px;
	font-size: 1px;
}
#foot {
	padding: 1em 1em 1em 5em;
	font-size: 90%;
	text-align: right;
	line-height: 2em;
}
/* layout */
#max {
	max-width: 1024px;
	min-height: 100%;
	border-right: 10px solid #cecece;
	border-left: 10px solid #cecece;
	background: #fff url("../img/form1.gif") no-repeat left bottom;
	margin: 0 auto;
}
#back {
	text-align: left;
	min-width: 770px;
	padding: 2em 0 2em 2em;
	background:  url("../img/form.gif") no-repeat right top;
}
#content {
	margin-right: 250px;
	padding-bottom: 100px;
}
#in {width:100%;}
#nav {
	width: 230px;
	float: right;
	padding-top: 3.6em;
}
h1 {
	font-size: 200%;
	padding: 0 0 0.3em 0;
	margin-bottom: 1em;
	color: #194a75;
	border-bottom: 5px solid #ececec;
}
h1 a:link, h1 a:visited {
	color: #194a75;
}
h1 a:hover {
	color: #c00000;
}
h2 {
	color: #16483c;
	padding: 0.2em 0 0.2em 1.5em;
	margin: 0 0 0.3em 1.2em;
	font-size: 150%;
	background:  url("../img/h2.gif") no-repeat left center;
}
em {
	font-style:normal;
}
#content h3, h4 {
	font-size: 130%;
	padding: 0 0 0.5em 1.2em;
	color: #c00000;
}
#content h3 {
	background:  url("../img/h3.gif") no-repeat left center;
	padding: 0.3em 0 0.3em 1em;
	margin: 0 0 0 1.4em;
}
#nav h3 {
	color: #fff;
	font-size: 110%;
	padding: 0.5em 0.5em 0.5em 35px;
	background: #194a75 url("../img/h2n.gif") no-repeat left center;
}
#content .form h3 {
	padding-left: 0;
	margin-left: 0;
	color: #000;
	background: none;
}
h4 {
	font-size: 110%;
	color: #000;
	padding-left: 1.5em;
}
#nav ul {
	background: #ededed;
	margin-bottom: 2em;
	width:100%
}

#nav li {
	list-style: none;
	border-bottom: 1px solid #fff;
	display:block;
	width:100%
}

#nav a, #nav strong {
	display: block;
	padding: 0.5em;
	font-weight: bold;
	text-decoration: none;
}
#nav strong {
	background: #f8f8f8 url("../img/arrow1.gif") no-repeat right center;
	color: #1187b4;
}
#nav a:link, #nav a:visited {
	color: #417c6e;
	background: url("../img/arrow.gif") no-repeat right center;
}
#nav a:hover {
	color: #fff;
	background: #417c6e url("../img/arrow.gif") no-repeat right center
}
p {
	padding: 0 0 0.7em 1.7em;
}
p.comment {
	border-left: 5px solid #ececec;
	color: #565656;
	margin-left: 1.7em;
	padding-left: 0.7em;
	padding-bottom: 0;
	margin-bottom: 0.7em;
}
#content ul, #content ol {
	padding: 0 0 0.5em 4em;
}
#content ul li {
	list-style: square;
}
cite {
	padding: 0.5em;
	display: block;
	margin: 0.3em 0;
	background: #edf3f2;
	border: 1px solid #bdd3ce;
	font-size: 100%;
}
#content li ul {
	padding: 0.1em 0 0.1em 2em;
}
#next {
	border-top: 1px solid #cecece;
	margin-top: 2em;
}
p.next, p.prev {
	padding: 2em 0;
	width: 49%;
	float: right;
	text-align: right;
}
p.prev {
	float: left;
	text-align: left;
}
xmp {
	padding: 1em;
	margin: 0.2em 0 0.2em 1.7em;
	font-size: 100%;
	font-weight: normal;
	background: #ffffe1;
	border: 1px solid #fffe9d;
	display:block
}
.sample {
	width: 100%;
	overflow:hidden;
	text-overflow: ellipsis;
	margin-bottom: 0.5em;
}
p.img {
	text-align: center;
	border-bottom: 1px solid #cecece;
	margin-bottom: 0.5em;
	color: 00489c;
}
p.img img {
	margin-bottom: 0.1em;

}
dl {
	padding: 0 0 0.7em 1.7em;
}
dl.view dd {
	padding-left: 3em;
}
dl.orig dt {
	width: 120px;
	float: left;
}
dl.orig dd {
	margin-left: 120px;
}
dl.orig label, dl.orig input, dl.orig textarea {
	margin: 0 0 0.7em 0;
}


.form {
	padding: 0.5em 0.5em 0.7em 1.7em;
}
table	{border-collapse: collapse; font-size: 100%;}
td, th {
	padding: 5px;
}
th {
	width: 120px;
	font-weight:normal;
	text-align:left
}
th.comment {vertical-align: top}
input, textarea {width: 280px}
fieldset {border: 1px solid #cecece;
	padding: 10px;
}
.form1 fieldset  {
	width: 300px;
	border-color: #1187b4;
}
.form2 {
	width: 300px;
}
.form2 fieldset, .form3 fieldset {
	border-color: #1187b4;
}
.form1 legend, .form2 legend, .form3 legend {
	font-weight: bold;
	padding: 5px;
	color: #1187b4;
}
.form2 select {
	margin-bottom: 0.2em;
}

.form3 input, .form3 textarea, .form3 select, .form4 input, .form4 textara, .form4 select {
	margin: 0 0 5px 0;
}
input.check, .form4 input.check  {
	width: 25px;
	margin-left: -5px;
}
.form4 input.check {
	margin: 0 0 0 -5px;
}
.form3 fieldset.clear{
	clear: left;
}
.form3 fieldset.left {
	width: 190px;
	float: left;
	margin-right: 1em;
}
.form3 fieldset.left input {
	width: 25px;
	margin: 0;
	vertical-align:middle;
}
.form3 label {
	vertical-align: middle;
}
.form3 textarea {
	width: 100%;
}
form p {
	padding: 0;
}
form p input, .form4 p.submit input {
	width: 100px;
}
form p.submit, .form3 form p.submit, .form4 form p.submit {
	padding: 0;
	text-align: center;
}
form p.submit input, .form3 form p.submit input, .form4 form p.submit input {
	margin: 10px 0;
}
.form .form3  p.submit {
	width: 100%;
	clear: both;
	text-align: right;
}

input.small {
	width: 150px;
}
input.smallest {
	width: 80px;
}
.float-l {
	width: 45%;
	float: left;
}
.float-r {
	width: 45%;
	float: right;
}
.form3 form p.submit {
	clear:left;
}
/* form 4*/
.form4 {
	width: 360px;
}
.form4 fieldset {
	border: 3px double #aadcfe;
	color: #565656;
}
.form4 legend {
	color: #a60000;
	border: 1px solid #aadcfe;
	width: 80px;
	text-align:center;
	font-weight:bold;
	margin-bottom: 0.5em;
}
.form4 input, .form4 textarea {
	width: 200px;
}
fieldset#matka {
	background: url("../img/woman.gif") no-repeat right bottom;
}
fieldset#otec {
	background: url("../img/man.gif") no-repeat right bottom;
}
/* form 4 */
a:link, a:visited {
	text-decoration: underline;
	color: #1187b4;
}
a:hover {
	color: #c00000;
}
a.print{
	background:  url("../img/print.gif") no-repeat left center;
	padding-left: 20px;
}
a.fav{
	background:  url("../img/fav.gif") no-repeat left center;
	padding-left: 20px;
}
#foot a:link, #foot a:visited {
	color: #000;
}
#foot a:hover {
	color: #565656;
}
option {padding-right: 0.5em;}
