* {
  margin: 0;
  padding: 0;
  border-style: none;
}
body {
  background-color: #bac9cf;
  text-align: center;
  color: #1E1E1E;
  font: 10px Verdana, Arial, sans-serif;
  padding-bottom: 20px;
}

div.wrap {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background-color: white;
}
a {
  color: #ed5959;
  text-decoration: none;
}
a:hover {
  color: silver;
}
/*-------------------FOR TOP------------------------*/
div#top {
  padding: 18px 0 16px 45px;
   background: transparent url(img/top.jpg) bottom center no-repeat;
   height: 360px;
}
p#slogan {
  width: 250px;
  height: 17px;
  background: transparent url(img/slogan.gif) top left no-repeat;
  float: left;
}
div#top p span, h1 span, h2 span, a span {
  display: block;
  height: 0;
  width: 0;
  color: white;
  font-size: 1px;
  overflow: hidden;
}
/*-------------------for menu------------------------*/
ul.menu {
  color: #bababa;
  list-style-type: none;
  font: 1.3em Arial, Verdana, sans-serif;
  font-weight:  bold;
  padding-top: 3px;
  margin-left: 280px; 
}
ul.menu li {
  display: inline;
  padding: 0 7px;
  border-left: 2px solid #dbdbdb;
}
ul.menu li.firstlink {
  border-style: none;
}

/*-------------------for content------------------------*/
div.content {
  padding: 0 20px;
}
div.rightside p, div.leftside p {
  font-size: 1.2em;
  line-height: 1.5em;
  padding-bottom: 15px;
}
div.leftside {
  width: 280px;
  float: left;
  background: transparent url(img/left-bg.jpg) top left no-repeat;
  padding-top: 35px;
}
div.leftside p, div.leftside h2, div.leftside h3 {
  margin: 0 15px 5px 50px;
}
div.leftside p {
  margin-bottom: 10px;
}
div.rightside {
  margin-left: 310px;
  padding-top: 25px;
}
div.rightside img {
  float: right;
  margin: 0 0 5px 5px;
  clear: right;
}
div.rightside img.left-img {
  margin: 15px 0 20px 0;
  float: none;
}
.separated {
  margin-bottom: 40px;
}
.unseparated {
  margin-bottom: -5px;
  padding-bottom: 0;
}
a.pobierz, a.pobierz-last {
  display: block;
  font-size: 1.2em;
  line-height: 1.5em;
  background: transparent url(img/icon-pobr.gif) center left no-repeat;
  padding: 3px 0 5px 26px;
  margin-bottom: 3px;
}
a.pobierz-last {
  margin-bottom: 25px;
}
a.nextpage-link {
  display: block;
  font: 1.5em Arial, Verdana, sans-serif;
  font-weight: bold;
  line-height: 1.4em;
  background: #F0F8FF url(img/link-bg.jpg) center left no-repeat;
  border: 2px solid #dbdbdb;
  padding: 16px 0 20px 54px;
  margin-top: 15px; 
  color: #1273b0;
  margin-right: 100px;
}
a.nextpage-link:hover {
  color: #ed5959;
}
a.top-linked {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -20;
}
a.link-to-top {
   display: block;
   font-size: 12px;
   background: transparent url(img/button-up.gif) center left no-repeat;
   padding: 6px 3px 6px 26px;
   margin: 10px 0;
   float: right;
}
a.link-back, a.link-back2 {
   display: block;
   font-size: 12px;
   background: transparent url(img/button-back.gif) center left no-repeat;
   padding: 6px 3px 6px 26px;
   margin: 10px 0;
}
a.link-back2 {
   float: left;
}
/*-------------------for news item on main page------------------------*/
div.news-frame {
  padding: 10px 12px 12px 5px;
  margin: 0 0 10px 0;
  background: transparent url(img/news-frame-bg.jpg) bottom right no-repeat;
  color: #1273b0;
  text-align: center;
}
div.news-frame div {
  padding: 5px 5px 12px 5px;
  background-color: #F0F8FF;
}
div.news-frame h2 {
  font-size: 24px;
  font-style: italic;
  color: #3CB371;
  margin-bottom: 3px;
}
div.news-frame p {
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
}
/*-------------------for h1------------------------*/
h1 {
  margin: 0 0 15px 0;
  color: #1273b0;
  font: 3.4em Arial, Verdana, sans-serif;
}
/*-------------------for h2------------------------*/
h2 {
  font: 1.8em Arial, Verdana, sans-serif;
  color: #1273b0;
  margin-bottom: 8px;
  font-weight: normal;
  clear: right;
}
.underlined {
  padding-bottom: 5px;
  border-bottom: 2px solid #dbdbdb; 
  margin-bottom: 25px;
}
/*-------------------for h3------------------------*/
h3 {
  font: 1.4em Arial, Verdana, sans-serif;
  color: #1273b0;
  margin-bottom: 5px;
  font-weight: bold;
  clear: right;
}
/*-------------------for h4------------------------*/
h4 {
  font: 1.4em Arial, Verdana, sans-serif;
  color: #1273b0;
  padding-bottom: 10px;
  font-weight: bold;
  clear: right;
}
/*-------------------for h5------------------------*/
h5 {
  font-size: 1.2em;
  padding-bottom: 5px;
  font-weight: bold;
}
/*-------------------for lists------------------------*/
div.content ul {
  list-style-type: none;
  font-size: 1.2em;
  line-height: 1.5em;
  padding-bottom: 15px;
}
div.content li {
  padding: 0 0 5px 16px;
  background: transparent url(img/bullet.gif) top left no-repeat;
}
div.content ul li ul{
  list-style-type: disc;
  list-style-position: inside;
  font-size: 1em;
  line-height: 1em;
  padding: 5px 0 5px 0;
}
div.content ul li ul li {
  padding: 0 0 5px 16px;
  background-image: none;
}
/*-------------------for tables------------------------*/
table {
  line-height: 1.3em;
  text-align: left;
  font-size: 12px;
  margin: 5px 0 25px 0;
  border-bottom: 1px solid #dbdbdb;
  border-left: 1px solid #dbdbdb;
  border-top: 1px solid #dbdbdb;
  border-collapse: collapse;
}
th {
  padding: 5px 3px 7px 10px;
  border-bottom: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
  background-color: #F0F0F0;
}
td {
  padding: 5px 3px 7px 12px;
  border-bottom: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
}
/*-------------------for forms------------------------*/
div.rightside p.before-form {
  padding-bottom: 0;
}
p.before-form span {
  color: #3CB371;
}
form {
  font-size: 1.2em;
}
form p {
  font-size: 1em;
}
.inputbox {
  border: 1px solid #D6D6D6;
  background-color: #F7F7F7;
  margin: 1px 0 16px 0;
}
#kontakt_zgoda,
#kontakt_kopia {
  margin-right: 5px;
}

/*-------------------for gallery------------------------*/
div.rightside div.gallery-line {
  float: left;
  padding-bottom: 25px;
}
div.rightside div.gallery-line img {
  float: left;
  margin: 0 25px 0 0;
}
div.rightside div.gallery-line-last {
  float: none;
  padding-bottom: 25px;
  clear: both;
}
div.rightside div.gallery-line-last img {
  margin: 0 25px 0 0;
  float: none;
}
/*-------------------for footer------------------------*/
div#footer {
  padding: 10px 0 0 0; 
  background: transparent url(img/bottom-bg.jpg) top center no-repeat;
  text-align: center;
  margin-top: 30px;
  clear: both;
  padding-bottom: 20px;
}
div#footer p {
  font-size: 1em;
  color: silver;
}
