/* Start of CMSMS style sheet 'lps' */
/* ----------------------- ogólne ----------------------- */

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  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 {
  margin-bottom: 1em;
  font-weight: bold;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 14px;
  /*margin-top: 3px;*/
}

h3 {
  font-size: 12px;
}

p {
  margin: 0;
  padding-bottom: 1em;
  text-align: justify;
}

ol {
  padding-bottom: 10px;
}

li {
  /*margin-top: 2px;*/
}

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 ----------------------- */

div#header {
  width: 100%;
  height: 64px;
  background-color: #f8f5d2;
  border-bottom:3px solid #00457E;
}

div#logo {
  width: 250px;
  float: left;
}

div#slogan {
  width: 300px;
  float: right;
  margin-top: 15px;
}

/* ----------------------- main div ----------------------- */

div#wrapper {
  position: relative;
  width: 980px;
  min-height: 100%;
  margin: 0 auto;
  background: url("/uploads/images/css/bg.gif") repeat-y #fcfefc;
}

/* ----------------------- main menu ----------------------- */

div#menu {
  float: left;
  width: 240px;
  padding-top: 25px;
}

div#menu a {
  font-size: 1.2em;
  font-weight: bold;
  display: block;
  width: 229px;
  height: 25px;
  padding: 9px 0 0 10px;
}

div#menu ul {
  list-style: none outside none;
  padding-left: 0;
}

div#menu li {
  background-image: url("/uploads/images/css/menu_bg.gif");
  width: 239px;
  height: 34px;
  margin-bottom: 7px;
}

div#menu li.separator {
  background-image: none;
  height: 10px;
}

div#menu li.currentpage {
  background-image: url("/uploads/images/css/amenu_bg.gif");
  color: white;
  background-color: #5683c8;
}

div#menu li.currentpage a {
  color: white;
}

div#menu li h3 {
  font-size: 1em;
}

/* ----------------------- content ----------------------- */

div#middle {
  margin-left: 266px;
  width: 714px;
  padding-top: 15px;
}

div.boxframe {
  height: 15px;
}

div#boxtop {
  background-image: url("/uploads/images/css/box_top.gif");
}

div#boxbottom {
  background-image: url("/uploads/images/css/box_bottom.gif");
}

div#subboxtop {
  height: 47px;
  background-image: url("/uploads/images/css/subbox_top.gif");
}

div#subboxbottom {
  height: 22px;
  background-image: url("/uploads/images/css/subbox_bottom.gif");
}

div#content {
  background-color: #f8f5d2;
  border-right: 3px solid #fcfefc;
  padding: 0 13px 0 32px;
  margin-right: 20px;
}

div#content img,
div#subcontent img {
  float: right;
  margin-left: 10px;
}

/* ----------------------- subcontent and submenu ----------------------- */

ul.submenu {
  list-style: disc outside url("/uploads/images/css/list.gif");
  padding-left: 8px;
  margin-top: 15px;
}

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 {
  height: 18px;
}

ul.submenu li span {
  vertical-align: top;
}

div#connector {
  position: absolute;
  left: -25px;
  width: 48px;
  height: 22px;
  background: url("/uploads/images/css/child_connect.gif") no-repeat transparent;
}

div#subcontent {
  position: relative;
  background-color: #fcfaf0;
  border-right: 3px solid #fcfefc;
  padding: 0 13px 0 25px;
  margin: 0 20px 0 25px;
}

div#subcontent h3 {
  padding-top: 2px;
}

/* ----------------------- style do edytora ----------------------- */

.Bez-odstepu-po-wierszu {
  padding-bottom: 0;
}

._bibliografia {
}

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 ----------------------- */

div.calendar-event {
  font-weight: bold;
}

div.calendar-event div {
  margin-bottom: 10px;
}

/* ----------------------- contact form ----------------------- */

fieldset div {
  margin-top: 10px;
}

div.contactform textarea {
  width: 625px;
}

div.contactform label {
  width: 80px;
  display: block;
  float: left;
}

div.submit {
  margin-top: 10px;
}

/* ----------------------- newsy ----------------------- */

div.NewsSummary {
  padding-top: 5px;
  margin-bottom: 15px;
}

div.NewsSummaryMorelink {
  margin-top: 3px;
}

div#NewsPostDetailContent ul li span {
  display: inline-block;
  width: 203px;
  vertical-align: top;
}

div#NewsPostDetailReturnLink {
  border-top: 1px solid #00457E;
  margin-top: 15px;
}

div.page-selector span {
  border: 1px solid #00457E;
  text-align: center;
}

div.page-selector span a {
  display: inline-block;
  height: 15px;
  width: 15px;
}

div.page-selector span.current-page {
  background-color: #00457E;
  color: #f8f5d2;
  display: inline-block;
  height: 14px;
  width: 15px;
}

/* ----------------------- footer ----------------------- */

div#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 ----------------------- */
div#content div.simpleformat img,
div#subcontent div.simpleformat img {
  float: none;
}
/* End of 'lps' */

