html,body {
	margin:0;
	padding:0;
	height:100%
}

body {
	background-color: #c0c0c0;
}

#dpage {
	position:relative;
	height:auto !important;
	height:100%;
	min-height:100%;
	width:990px;
	margin:0px auto;
	padding:0px 0px;
	padding:0px 0px;
	text-align:left;
	background-image: url('../images/bodybgd.jpg');
	background-repeat: repeat-y;
}

#page {
	position:relative;
	height:auto !important;
	height:100%;
	min-height:100%;
	width:990px;
	margin:0px auto;
	padding: 0px;
	text-align:left;
	background-image: url('../images/header.jpg');
	background-repeat: no-repeat;
}

#pagemain {
	position:relative;
	height:auto !important;
	height:100%;
	min-height:100%;
	width:990px;
	margin:0px auto;
	padding: 0px;
	text-align:left;
	background-image: url('../images/header.jpg');
	background-repeat: no-repeat;
}

#maininfo {
	margin-top: 0px;
	margin-left: 40px;
	margin-right: 40px;
	margin-bottom: 4px;
	padding: 8px;
}

#headerspc {
	width:20px;
	height: 140px;
	margin: 0px;
	padding: 0px;
}

#menuspc {
	width:20px;
	height: 98px;
	margin: 0px;
	padding: 0px;
}

#dhead {
	display:none;
	margin-bottom: 12px;
}

#dhead TD {
	font-weight: bold;
	font-size: 24px;
}

#dfoot {
	position:absolute;
	bottom:0px;
	width:990px;
	height:61px;
	text-align: center;
	color: silver;
	font-size: 10px;
	background-image: url('../images/footer.jpg');
	background-repeat: no-repeat;
}

#foottext {
	position:relative;
	right:54px;
	top:38px;
	text-align: right;
	color: silver;
	font-size: 10px;
}

#footspacer {
	width:20px;
	height:60px;
}

.errortext {
	color: red;
}

#change {
	width: 300px;
	float: right;
	border: 1px solid #000;
	margin-left: 8px;
}

#change h4 {
	background-color: #c0c0c0;
	padding: 6px;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
}

#change label {
  float:left;
  width:50px;
  margin-right:0.5em;
  padding-top:0.2em;
  text-align:right;
  font-weight:bold;
}

#changein {
	padding: 8px;
}

fieldset {
	padding: 20px;
	padding-top: 10px;
}

legend {
	font-weight:bold;
	padding: 4px 8px;
	border: 1px solid gray;
}

label {
  float:left;
  width:180px;
  margin-right:0.5em;
  padding-top:0.2em;
  text-align:right;
  font-weight:bold;
}

body, p, td {
	font: normal 12px Arial, Verdana, Helvetica;
	color: black;
}

a:link, a:visited, a:hover, a:active {color:navy;}

input, select {
	background-color: white;
}

.error {
	color: red;
	visibility: hidden;
	padding-left: 8px;
	font-weight: bold;
}

h5 {
	margin-top: 8px;
	margin-bottom: 4px;
}





#rform label {
width: 130px;
float: left;
text-align: right;
margin-right: 5px;
display: block;
}

#rform .submit input {
margin-left: 135px;
}

#rform input.reqfield {
	background-color: #e0e0ff;
}




#error {
	width: 100%;
	border: 4px solid red;
	text-align: left;
	padding: 6px;
	margin-bottom: 8px;
}

#error P {
	color: red;
	font-weight: bold;
}

#status, #location {
	width: 100%;
	background-color: #000080;
	color: #FFD700;
	text-align: right;
	padding: 6px;
	font-weight: bold;
	margin-bottom: 8px;
}

#location {
	text-align: left;
}

#iprev {
	text-align: center;
	background-color: #f5f5f5;
	width: 180px;
	height: 150px;
}

#tform {
	width: 340px;
	background-color: #dddddd;
	float: left;
	padding: 4px;
}

.tedit TD {padding-left:12px;}
.tedit TD.label {
	padding-left:0px;
	padding-top:10px;
	border-bottom: 1px solid silver;
}

#tform TR {
	vertical-align: top;
}

#tform A.help {
	font-weight: bold;
	color: #000080;
	text-decoration: none;
}

#cform {
	width: 100%;
	background-color: #dddddd;
	padding: 4px;
}

#cform TR {
	vertical-align: top;
}

#cform A.help {
	font-weight: bold;
	color: navy;
	text-decoration: none;
}

#infos {
	width: 340px;
	height: 500px;
	background-color: white;
	float: left;
	padding: 4px;
	text-align: justify;
}

#infos A {
	font-weight: bold;
	color: navy;
	text-decoration: none;
}

#infos A:hover {
	color: red;
}

#infos TABLE {
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 12px;
}

#infos TR {
	vertical-align: top;
	background-color: #dddddd;
}

#infos TD {
	text-align: left;
	padding: 4px;
	font-weight: bold;
}

#infos TH {
	width: 120px;
	text-align: right;
	padding: 4px;
	font-weight: normal;
}

#info {
	width: 100%;
	margin-bottom: 4px;
}

#contact {
	width: 100%;
	margin-bottom: 4px;
}

.note {
	font-style: italic;
	color: gray;
}

.povinne {
	color: #C05A56;
	color: red;
}

#menu {
	margin-bottom: 16px;
	margin-left:16px;
	border-left: 1px solid silver;
}

#menu a {
	display: inline-block;
	width: 160px;
	color: #808080;
	padding: 3px;
	background-color: #e0e0e0;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	border-top: 1px solid silver;
	border-right: 1px solid silver;
	border-bottom: 1px solid silver;
}

#menu span.active {
	display: inline-block;
	width: 160px;
	padding: 3px;
	background-color: #fff;
	color: #003241;
	font-weight: bold;
	text-align: center;
	border-top: 1px solid silver;
	border-right: 1px solid silver;
	border-bottom: 1px solid white;
	border-left: 1px solid silver;
}

#menu a:hover {
	color: #003241;
	background-color: #f5f5f5;
}
