/* Start of CMSMS style sheet 'andweb' */
* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%; /* Required */
}

body {
  background: url(images/bg_container-head.png) repeat-x top center; /* Maciej Drożdżyński */
  font-family: Arial, Helvetica, sans-serif; /* Maciej Drożdżyński */
  color: #0f0902; /* Maciej Drożdżyński */
  font-size: 62.5%; /* Maciej Drożdżyński */
  #font-size: 55%; /* Komentarz */
  line-height: 1.7em; /* Komentarz */
  text-align: center; /* Komentarz */
}

.clear {
  height: 0;
  clear: both;
  visibility: hidden;
}

h1, h2 {
  font-family: times new roman, sans-serif;
  text-transform: lowercase;
  font-weight: normal;
}

h1 {
}

h2 {
  padding-bottom: .2em;
  font-size: 2.6em;
}

p {
  margin: 1.1em 0;
  font-size: 1.2em;
}

blockquote p {
  color: #7a7571;
  font-style: italic;
}

a {
  color:#7a7571;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

blockquote {
  width: 75%;
  float: right;
}

#container-page {
  width: 100%;
  /* Maciej Drożdżyński - background: #DDD; */
  text-align: left;
  position: relative;
  min-height: 100%; /* For Modern Browsers */
  height: auto !important; /* For Modern Browsers */
  height: 100%; /* For IE */
}

#container-head {
  height: 117px;
}

#head {
  /* padding: 1em; */
}

#head h1 a {
  margin: 0;
  padding: 0;
  background: url(images/logo.png) no-repeat; 
  display: block;
  height: 117px;
  text-indent: -999em;
  text-decoration:none;
}

#container-content {
  padding-bottom: 164px; /* <- Maciej Drożdżyński 164px było 40px */ 2em;
}

#container-content:after {
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

#content-pri {
  width: 80%;
  float: right;
}

#content-sec {
  padding: 1em 0;
  width: 20%;
  float: left;
}

#content-sec ul,#content-sec ul li {
  list-style: none none;
}

#container-foot {
  width: 100%;
  background: url(images/bg_container-foot.png) repeat-x bottom center; /* Maciej Drożdżyński */
  position: absolute;
  bottom: 0 !important;
  bottom: -1px; /* For Certain IE widths */
  height: 164px; /* <- Maciej Drożdżyński 164px było 40px */
}

/* Maciej Drożdżyński - START */
#head, #container-content, #container-blockquote, #container-nav, #foot {
  margin: 0 auto;
  width: 760px;
}
/* Maciej Drożdżyński - END */

#foot {
  background: url(images/bg_foot.png) no-repeat right bottom; /* Maciej Drożdżyński */
  height: 50px; /* Maciej Drożdżyński */
  margin-top: 114px; /* Maciej Drożdżyński */
  padding: 0 1em;
  line-height: .9em;
}

#foot ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#foot li {
  margin: 0;
  padding: 0;
  display: inline;
}

#foot li, #foot p {
  font-size: 1em;
}

#foot li a {
  color: #0f0903;
  padding-right: .6em;
}

#foot p {
  color: #7a7571;
}

#foot li {
}
/* End of 'andweb' */

