/* ----------------------- General ----------------------- */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #00457E;
  background: url("/uploads/images/css/header_bg.gif") repeat-x #f8f6e7;
  overflow-y: scroll;
}

dfn { display: none; }

a {
  color: #00457E;
  text-decoration: none;
}
a:hover span { text-decoration: underline; }

img { border: 0; }

h1, h2, h3, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: bold; margin-bottom: 1em; }

h1 { font-size: 18px; }
h2 { font-size: 14px; }
h3 { font-size: 12px; }

p {
  margin: 0;
  padding-bottom: 1em;
  text-align: justify;
}

ol { padding-bottom: 10px; }

th, td {
  text-align: center;
}

th {
  font-weight: normal;
  border-bottom: 1px solid #00457E;
}

td {
  border-bottom: 1px dotted #00457E;
}

table { margin-bottom: 15px; }

table ul {
  padding-left: 0;
  list-style: none;
}

/* ----------------------- Header ----------------------- */

#header {
  width: 100%;
  height: 64px;
  background-color: #f8f5d2;
  border-bottom: 3px solid #00457E;
}

#logo {
  width: 250px;
  float: left;
}

#slogan {
  width: 300px;
  float: right;
  margin-top: 15px;
}

/* ----------------------- Wrapper ----------------------- */

#wrapper {
  position: relative;
  width: 980px;
  min-height: 100%;
  margin: 0 auto;
  background: url("/uploads/images/css/bg.gif") repeat-y #fcfefc;
}

/* ----------------------- Main Menu ----------------------- */

#menu {
  float: left;
  width: 240px;
  padding-top: 25px;
}

#menu ul {
  list-style: none;
  padding-left: 0;
}

#menu li {
  width: 239px;
  height: 34px;
  margin-bottom: 7px;
  background-image: url("/uploads/images/css/menu_bg.gif");
}

#menu li.separator {
  background-image: none;
  height: 10px;
}

#menu a {
  font-size: 1.2em;
  font-weight: bold;
  display: block;
  width: 229px;
  height: 25px;
  padding: 9px 0 0 10px;
}

#menu li.currentpage {
  background-image: url("/uploads/images/css/amenu_bg.gif");
  color: white;
  background-color: #5683c8;
}

#menu li.currentpage a { color: white; }

#menu li h3 { font-size: 1em; }

/* ----------------------- Content ----------------------- */

#middle {
  margin-left: 266px;
  width: 714px;
  padding-top: 15px;
}

.boxframe { height: 15px; }

#boxtop { background-image: url("/uploads/images/css/box_top.gif"); }
#boxbottom { background-image: url("/uploads/images/css/box_bottom.gif"); }

#subboxtop {
  height: 47px;
  background-image: url("/uploads/images/css/subbox_top.gif");
}

#subboxbottom {
  height: 22px;
  background-image: url("/uploads/images/css/subbox_bottom.gif");
}

#content {
  background-color: #f8f5d2;
  border-right: 3px solid #fcfefc;
  padding: 0 13px 0 32px;
  margin-right: 20px;
}

#content img,
#subcontent img {
  float: right;
  margin-left: 10px;
}

/* ----------------------- Subcontent & submenu ----------------------- */

ul.submenu {
  list-style: disc outside url("/uploads/images/css/list.gif");
  padding-left: 8px;
  margin-top: 15px;
}

ul.submenu li {
  height: 18px;
}

ul.submenu li.currentpage {
  list-style-image: url("/uploads/images/css/parent_connect.gif");
}

ul.submenu li.aftercurrent {
  list-style-image: url("/uploads/images/css/list_connect.gif");
}

ul.submenu li.sectionheader {
  list-style-image: none;
  list-style-type: none;
  font-weight: bold;
}

ul.submenu li.sectionheader.aftercurrent {
  list-style-image: url("/uploads/images/css/list_connect_section.gif");
}

ul.submenu li span {
  vertical-align: top;
}

#connector {
  position: absolute;
  left: -25px;
  width: 48px;
  height: 22px;
  background: url("/uploads/images/css/child_connect.gif") no-repeat transparent;
}

#subcontent {
  position: relative;
  background-color: #fcfaf0;
  border-right: 3px solid #fcfefc;
  padding: 0 13px 0 25px;
  margin: 0 20px 0 25px;
}

#subcontent h3 {
  padding-top: 2px;
}

/* ----------------------- Editor helpers ----------------------- */

.Bez-odstepu-po-wierszu {
  padding-bottom: 0;
}

ol._przypisy {
  list-style-type: none;
  counter-reset: odnosnik;
  padding-left: 20px;
}

ol._przypisy li {
  margin-left: 2em;
}

ol._przypisy li:before {
  counter-increment: odnosnik;
  content: "[" counter(odnosnik) "]";
  padding-right: 1em;
  margin-left: -2em;
}

/* ----------------------- Calendar ----------------------- */

.calendar-event { font-weight: bold; }
.calendar-event div { margin-bottom: 10px; }

/* ----------------------- Contact form ----------------------- */

fieldset div {
  margin-top: 10px;
}

.contactform textarea { width: 625px; }

.contactform label {
  width: 80px;
  display: block;
  float: left;
}

div.submit { margin-top: 10px; }

/* ----------------------- News ----------------------- */

.NewsSummary {
  padding-top: 5px;
  margin-bottom: 15px;
}

.NewsSummaryMorelink { margin-top: 3px; }

#NewsPostDetailContent ul li span {
  display: inline-block;
  width: 203px;
  vertical-align: top;
}

#NewsPostDetailReturnLink {
  border-top: 1px solid #00457E;
  margin-top: 15px;
}

.page-selector span {
  border: 1px solid #00457E;
  text-align: center;
}

.page-selector span a {
  display: inline-block;
  height: 15px;
  width: 15px;
}

.page-selector span.current-page {
  background-color: #00457E;
  color: #f8f5d2;
  display: inline-block;
  height: 14px;
  width: 15px;
}

/* ----------------------- Footer ----------------------- */

#footer {
  position: absolute;
  left: 0;
  bottom: 0;
}

p.nx, p.meander {
  color: grey;
  padding-bottom: 2px;
}

p.nx a, p.meander a {
  color: grey;
  text-decoration: none;
}

/* ----------------------- Simple-format ----------------------- */

#content .simpleformat img,
#subcontent .simpleformat img {
  float: none;
}

