body {
  margin: 0; 
  padding: 0; 
  font: 10pt/17pt "Trebuchet MS", Verdana, Tahoma, Arial, sans-serif;
  color: #333; 
  text-align: center; 
  background: #ddd; 
  min-height: 100%;
}

a {
  color: #333;
  text-decoration: none;
}
#container {
  width: 800px;
  min-height: 90%;
  padding: 0;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/* pierwsza strona */

#header {
  background: #5B8ACD url("/img/head_start_1.jpg") top center no-repeat;
  position: relative;
	padding: 0;
  height: 147px;
  margin: 0;
}

#header h1 {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  font-size: 2px;
  background: url("/img/head_start_0.jpg") no-repeat;
  height: 147px;
  z-index: 100; /* above the UL */
}

#header h1 a {
  display: block;
  margin: 0;
  padding: 0;
  width: 147px;
  height: 147px;
  background: transparent url("/img/head_start_0.jpg") no-repeat;
  text-indent: -700em;
  text-decoration: none;
} 

#header ul {
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0 15px 0 0;
  list-style: none;
  z-index: 90; /* below the H1 */
}
#header li {
  float: right;
  background: transparent url("/img/head_start_btn_bg.gif") 100% top no-repeat;
	padding: 0 6px 0 0;
	margin: 0 1px 0 0;
	border-top: 1px solid #9BB6DF;
}

#header li.act {
  border-top: 1px solid #f00;
}

#header li:hover {
  border-top: 1px solid #FFC600;
}

#header ul a {
  float: left;
  display: block;
  padding: 0px 4px 4px 10px;
  background: transparent url("/img/head_start_btn_bg.gif") 0% top no-repeat;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
  	
#subheader {
  background: #5B8ACD url("/img/head_start_2.jpg") top center no-repeat;
	padding: 0;
  height: 264px;
  margin: 0;
  margin-bottom: 10px;
  text-align: left;
}
#submenu {
  padding-top: 10px;
  padding-left: 15px;
}
#subheader ul {
  width: 170px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 90; /* below the H1 */
}

#subheader li {
  background: transparent url("/img/submenu_start_bg.png");
  text-align: left;
  color: #000;
}
#subheader li div {
  margin-left: 15px;
  margin-right: 10px;
  border-top: 1px solid #B6C7E8;
  border-bottom: 1px solid #fff;
}
#subheader li div.p {
  border-top: none;
}
#subheader li div.o {
  border-bottom: none;
}

#subheader li a {
  text-align: left;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  font-family: Tahoma, Arial, sans-serif;
}
#subheader li a:hover {
  color: #f00;
}
#submenu .submenustart {
  width: 170px;
  height: 10px;
  background: transparent url("/img/submenu_start_st.png") top left no-repeat;
  font-size: 2px;
}

#submenu .submenuend {
  width: 170px;
  height: 10px;
  background: transparent url("/img/submenu_start_ed.png") top left no-repeat;
  font-size: 2px;
}

.panel1,.panel3 {
  float:left;
  width: 267px;
  margin: 0;
  padding: 0;
}
.panel2 {
  float:left;
  width: 266px;
  margin: 0;
  padding: 0;
}
.panel {
  height: 110px;
  position: relative;
  background: transparent url("/img/panel_bg.gif") top center repeat-y;
  margin: 0;
  padding: 0;
}

.panstart {
  background: transparent url("/img/panel_top_bg.gif") top center no-repeat;
  height: 11px;
}
.panend {
  background: #DDDDDD url("/img/panel_bottom_bg.gif") top center no-repeat;
  height: 10px;
}

.paneladv {
  width: 267px;
  float:left;
  height: 110px;
}

.subpan {
  margin: 0;
  margin-right: 12px;
  margin-left: 13px;
  text-align: left;
  font-weight: bold;
  font-family: Tahoma, Arial, sans-serif;
}
.more {
  position: absolute;
  bottom: 0;
  right: 10px;
  text-align: right;
  color: #d80000;
}

.more a {
  color: #d80000;
  text-decoration: none;
}

.adv {

}
/* pod strony */
#headersub {
  background: #5B8ACD url("/img/head.jpg") top center no-repeat;
  position: relative;
	padding: 0;
  height: 147px;
  margin: 0;
}

#headersub h1 {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  font-size: 2px;
  background: url("/img/head_logo.jpg") no-repeat;
  height: 110px;
  z-index: 100; /* above the UL */
}

#headersub h1 a {
  display: block;
  margin: 0;
  padding: 0;
  width: 110px;
  height: 110px;
  background: transparent url("/img/head_logo.jpg") no-repeat;
  text-indent: -700em;
  text-decoration: none;
} 

#headersub ul {
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0 15px 0 0;
  list-style: none;
  z-index: 90; /* below the H1 */
}
#headersub li {
  float: right;
  background: transparent url("/img/head_btn_bg.gif") 100% top no-repeat;
	padding: 0 6px 0 0;
	margin: 0 1px 0 0;
	border-top: 1px solid #9BB6DF;
}

#headersub li.act {
  border-top: 1px solid #f00;
}

#headersub li:hover {
  border-top: 1px solid #FFC600;
}

#headersub ul a {
  float: left;
  display: block;
  padding: 0px 4px 4px 10px;
  background: transparent url("/img/head_btn_bg.gif") 0% top no-repeat;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

#content {
  text-align: left;
  background: #E0E7F5; 
  margin: 0;
  padding: 10px;
}
#content h2 {
	font-size: 16px;
	font-weight: bold;
	color: #D80000;
	border-bottom: 1px solid #D80000;
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Verdana, Tahoma, Arial, sans-serif;
}

#content h3 {
	font-size: 14px;
	font-weight: bold;
	color: #D80000;
	border-bottom: 1px solid #D80000;
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Verdana, Tahoma, Arial, sans-serif;
}

#content h4 {
	font-size: 12px;
	font-weight: bold;
	color: #D80000;
	border-bottom: 1px solid #D80000;
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Verdana, Tahoma, Arial, sans-serif;
}

#content p {
  text-align: justify;
}
#menusub {
  width: 187px;
  float: left;
  text-align: left;
  background: #E0E7F5;
}

#menusub ul {
  width: 170px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 80; /* below the H1 */
}

#menusub li {
  background: #C7D1E8;
  text-align: left;
  color: #000;
}
#menusub li div {
  margin-left: 15px;
  margin-right: 10px;
  border-top: 1px solid #B6C7E8;
  border-bottom: 1px solid #fff;
}
#menusub li div.p {
  border-top: none;
}
#menusub li div.o {
  border-bottom: none;
}

#menusub li a {
  text-align: left;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  font-family: Tahoma, Arial, sans-serif;
}
#menusub li a:hover {
  color: #f00;
}
#menusub .menusubstart {
  width: 170px;
  height: 10px;
  background: transparent url("/img/submenu_st.gif") top left no-repeat;
  font-size: 2px;
}

#menusub .menusubend {
  width: 170px;
  height: 10px;
  background: transparent url("/img/submenu_ed.gif") top left no-repeat;
  font-size: 2px;
}

.newsTit {
  margin: 5px;
  text-align: left;
  font-weight: bold;
}

.newsDate {
  color: #7F7F7F;
  float: right;
  text-align: right;
  font-size: 10px;
  width: 75px;
}

.newsMore {
  background: url("/img/more_bg.gif") bottom left repeat-x;
  padding: 3px;
  text-align: right;
  border-bottom: 1px solid #888;
  margin-bottom: 5px;
}


.maintext {
  width: 593px;
  float: left;
  font-family: Tahoma, Arial, sans-serif;
}

