.hidden, .mainhidden {display: none;}
.disabled {color: #666;}
img {behavior: url('/gov/glowna/img/iepngfix.htc');}
/* Layout */
#content-wrapper {width: 800px; margin: 0 auto; margin-top: 25px;}
#content {
  padding-left: 200px;   /* LC width */
  padding-right: 150px;  /* RC width */
  overflow: hidden;
}
#content, x:-moz-any-link {min-height: 100em;} /* Unelegant workaround */
#middle, .menu {
  position: relative;
  float: left;
}
#middle {
  width: 100%;
}
#leftMenu {
  width: 200px;          /* LC width */
  right: 200px;          /* LC width */
  margin-left: -450px;
}
#rightMenu {
  width: 150px;          /* RC width */
  margin-right: -150px;  /* RC width */
}
#footer {
  clear: both;
}
/* Design */
body {
  font-family: sans-serif;
  font-size: 10pt;
}
body, #footer-wrapper {
  background: #F6F4EF;
}
body, h1 {
  margin: 0;
  padding: 0;
}
#content-wrapper {
  background: url('../img/content_bg.png');
}
#middle-content {
  padding: 0 10px;
}
/* Header */
#header {
  background: url('../img/top_bg.png');
  height: 143px;
  margin: 0 auto;
}
#header-wrapper {
  width: 800px;
  margin: 0 auto;
  position: relative;
}
#header h1 a {
  display: block;
  width: 800px;
  height: 98px;
  margin: 0 auto;
  background: url('../img/top.png');
  text-decoration: none;
}
#header h1 a span {
  visibility: hidden;
}
#header ul {
  font-size: 8pt;
  width: 800px;
  height: 42px;
  line-height: 42px;
  margin: 0 auto;
  padding: 0;
  background: url('../img/top_menu_bg.png');
}
#header ul li {
  display: inline;
  list-style: none;
  padding: 0 21px;
}
#header ul li a {
  color: white;
  text-decoration: none;
}
#header ul li a:hover {
  text-decoration: underline;
}
#header form {
  position: absolute;
  bottom: 40px;
  right: 22px;
  margin: 12px 0;
}
#header form p {
  text-align: right;
  margin: 0;
  font-size: 8pt;
  color: white;
}
#header form input {
  background: white;
  color: #919191;
  border: solid 1px #E3E3DA;
  padding: 4px 8px;
  height: 10px;
  font-size: 7pt;
}
#header form button {
  width: 22px;
  height: 21px;
  border: none;
}
#header form button span {
  visibility: hidden;
}
#header form button.login {
  background: url('../img/b_plus.jpg');
}
#header form button.logout {
  background: url('../img/b_minus.jpg');
}
/* Menu */
.menu {
  font-size: 8pt;
}
.menu h3, .menu ul, #middle h2 {
  margin: 0;
  padding: 0;
}
.menu h3, .menu h4, #middle h2 {
  font-size: 1em;
}
.menu h3, #middle h2 {
  height: 40px;
  padding: 0 10px;
  line-height: 40px;
  vertical-align: bottom;
}
.menu h3, .menu h3 a, #middle h2 {
  color: white;
}
#leftMenu h3 {
  background: url('../img/h3_bg_1.png') no-repeat right;
}
#middle h2 {
  background: url('../img/h3_bg_1.png') no-repeat left;
}
#rightMenu h3 {
  background: url('../img/h3_bg_2.png') no-repeat right;
}
.menu h4, .menu p, .menu li, .menu hr {
  list-style: none;
  margin: 5px 10px;
}
#rightMenu li {
  margin: 0;
  padding: 3px 10px;
}
.menu .news span {
  font-weight: bold;
}
.menu h4 a {
  font-weight: normal;
}
.menu ul a {
  text-decoration: none;
}
.menu ul a:hover {
  text-decoration: underline;
}
#leftMenu, #leftMenu h4 a, #leftMenu ul a {
  color: #666;
}
#rightMenu {
  color: #aaa;
}
#rightMenu ul a {
  color: #fff;
}
.menu ul.info li {
  margin-left: 2.5em;
}
.menu ul.wandea li {
  margin-left: 2.5em;
  list-style-type: square;
  color: #c00;
}
#leftMenu ul.info a:visited,
#leftMenu ul.wandea a:visited {
  color: #A0A0A0;
}
.newsmarker {
  display: block;
  float: left;
  margin-left: -1.5em;
  font-weight: bold;
  color: #C90103;
}
/* Footer */
#footer {
  border-top: solid 5px #C90103;
  font-size: 8pt;
  color: #A4906C;
}
#footer hr {display: none;}
#footer address {
  margin: 5px;
  margin-left: 200px;
}
/* Links */
a {color: #c00;}
a.notExist {color: #d66; text-decoration: line-through;}
/* Tables */
table {
  border-spacing: 0;
  border-collapse: collapse;
  max-width: 420px;
  margin: 1em 0;
}
table, table td, table th {
  border: none;
}
table td, table th {
  margin: 0;
  font-size: 8pt;
}
table th {
  padding: 0 10px;
}
table thead tr {
  background: url('../img/h3_bg_1.png') no-repeat left #800;
  color: white;
}
table thead th {
  line-height: 40px;
}
table tbody, * html table {
  border-bottom: solid 2px #C90103;
}
table tbody th, table tbody td {
  border-bottom: dashed 1px #999;
}
td.leftBorder {
  border-left: dashed 1px #999;
}
table tbody td, table tbody th {
  background: #EFECDD;
  padding: 5px;
}
table.datatable tbody, * html table.datatable {
  border-top: solid 5px #C90103;
}
table.datatable tbody th {
  text-align: left;
}
table.datatable thead {
  display: none;
}
table.plain {
  border-spacing: 0;
  border-collapse: separate;
  margin: 0;
}
table.plain th {
  padding: 2px;
}
table.plain thead tr {
  background: white;
  color: black;
}
table.plain thead th {
  line-height: normal;
}
table.plain tbody, * html table.plain {
  border-bottom: none;
}
table.plain tbody th, table.plain tbody td {
  border-bottom: none;
  background: white;
  padding: 2px;
}
/* Other */
p.helplink {
  line-height: 48px;
  padding-right: 55px;
  background: url('../img/help.png') right no-repeat;
}
/* IE hacks */
* html #footer-wrapper {
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 10005px;
  margin-bottom: -10000px;
}
* html .newsmarker {
  margin-left: -0.7em;
  margin-right: 0.3em;
}
* html #editbutt {
  margin-left: -8px;
  background: url('../img/h3_bg_1.png') no-repeat 0px 0px;
}
/* forms */
input[type="text"], input[type="password"], textarea, select, fieldset {
  color: black;
  background: #EFECDD;
  border: none;
  border-bottom: solid 2px #C90103;
}
table input[type="text"], table input[type="password"], table textarea, table select {
  background: white;
}
input[type="button"], input[type="submit"] {
  background: url('../img/h3_bg_1.png') no-repeat left #800;
  color: white;
  border: none;
  font-size: 8pt;
  padding: 4pt;
}
input[type="button"]:active, input[type="submit"]:active {
  background: url('../img/h3_bg_2.png') no-repeat left #800;
}
legend {
  background: url('../img/h3_bg_1.png') no-repeat left #800;
  color: white;
  line-height: 40px;
  height: 40px;
  padding: 0 10px;
  font-weight: bold;
}

/* Edit buttons */
#editbutt {
  float: right;
  margin: 0;
  padding: 8px;
}
#editbutt img {
  border: none;
  width: 24px;
  height: 24px;
}
/* Icon list */
.iconlist {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  line-height: 32px;
  vertical-align: middle;
}
.iconlist li {
  margin: 5px 0;
  padding-left: 40px;
  background-position: top left;
  background-repeat: no-repeat;
}