body {
  background: white url(img/top-slice.jpg) repeat-x;
  color: #383838;
  text-align: center;
  padding: 0;
  margin: 0;
  font: 10px Verdana, Arial, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  border-style: none;
}
div.wrap {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  color: #436EEE;
}

/*-------------------FOR THE TOP------------------------*/
div#top {
  text-align: left;
  padding: 25px 0 10px 0;
  position: relative;
}
div#top a#logo {
  display: block;
  width: 246px;
  height: 61px;
  background: transparent url(img/logo.jpg) top right no-repeat;
  margin-bottom: 15px;
}
div#top div#flags {
  padding: 10px 0 10px 45px;
  position: absolute;
  top: 38px;
  right: 0;
}
div#top div#flags a {
  display: block;
  width: 28px;
  height: 17px;
  margin-left: 25px;
}
a#polski {
  background: transparent url(img/flag-pl.gif) top right no-repeat;
  float: left;
}
a#english {
  background: transparent url(img/flag-en.gif) top right no-repeat;
  float: left;
}
a#deutsch {
  background: transparent url(img/flag-de.gif) top right no-repeat;
  float: left;
}
div#top a#logo span, div#top div#flags a span {
  display: block;
  height: 0;
  width: 0;
  color: white;
  font-size: 1px;
  overflow: hidden;
}
div#header {
  width: 800px;
  height: 259px;
  background: white url(img/header.jpg) top center no-repeat;
  text-align: left;
  border-bottom: 1px solid #c2c2c2;
  position: relative;
}
/*-------------------for rotator------------------------*/
#rotator {
	border: 0;
	overflow: hidden;
	position: absolute;
	width: 600px;
	height: 240px;
    left: 200px;
    top: 1px;
}
#rotator img {
	border: 0;
	width: 600px;
	height: 240px;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}
#rotator2 {
	border: 0;
	overflow: hidden;
	position: relative;
	width: 270px;
	height: 162px;
}
#rotator2 img {
	border: 0;
	width: 270px;
	height: 162px;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}
/*-------------------for topmenu------------------------*/
div#topmenu {
  font-size: 1.2em;
  color: #c2c2c2;
  font-weight: bold;
  text-align: left;
  width: 200px;
  padding-top: 4px;
}
div#topmenu a {
  display: block;
  padding: 6px 0 9px 35px;
  color: black;
  background: transparent url(img/menu-arrowb.gif) center left no-repeat;
}
div#topmenu p {
  padding: 6px 0 9px 35px;
}
div#topmenu a {
  display: block;
  padding: 6px 0 9px 35px;
  color: black;
}
div#topmenu p#selected {
  background: transparent url(img/menu-arrow.gif) center right no-repeat;
}
div#topmenu a:hover {
  color: #4682B4;
}
a.underlined, p.underlined {
  border-bottom: 1px solid #c2c2c2;
}

/*-------------------FOR CONTENT------------------------*/
/*-------------------for leftside------------------------*/
div#content {
  text-align: left;
}
div#leftside {
  font-size: 1.1em;
  line-height: 1.5em;
  width: 200px;
  float: left;
  background: white url(img/leftshadow.jpg) top center no-repeat;
  padding: 0 0 40px 0;
}
div#leftside p {
  padding: 15px 0 30px 20px;
  color: #36648B;
  border-bottom: 1px solid #c2c2c2;
  background: white url(img/left-bg.jpg) top right no-repeat;
}
a.button1, a.button2 {
  display: block;
  height: 22px;
  padding: 1px 0 0 26px;
  margin-top: 12px;
}
a.button1 {
  background: white url(img/button1.gif) top left no-repeat;
  width: 83px;
}
a.button2 {
  background: white url(img/button2.gif) top left no-repeat;
  width: 73px;
}
/*-------------------for rightside------------------------*/
div#rightside {
  background: white url(img/rightshadow.jpg) top right no-repeat;
  margin-left: 200px;
  border-left: 1px solid #c2c2c2;
  padding: 18px 0 15px 30px;
}
div#rightside p, div#rightside ul {
  font-size: 1.3em;
  line-height: 1.5em;
  margin-bottom: 25px;
  text-align: justify;
}
div#rightside ul {
  margin-bottom: 35px;
}	
div#rightside h2 {
  font-size: 1.3em;
  font-weight: bold;
  color: #36648B;
  margin-bottom: 5px;
}
.pic {
  float: left;
  margin: 0 18px 8px 0;
}
div#rightside p.unseparated {
  margin-bottom: 15px;
}
div#rightside ul {
  text-align: left;
}
div#rightside ul li {
  margin-bottom: 10px;
  list-style-type: none;
  padding-left: 20px;
  background: transparent url(img/bullet-gray.gif) top left no-repeat;
}
/*-------------------for lists------------------------*/

/*-------------------for gallery------------------------*/
div.line {
  padding-top: 5px;
  padding-bottom: 22px;
}
img.middleitem {
  margin: 0 28px;
}
/*-------------------for h1------------------------*/
h1 {
  margin-bottom: 20px;
  height: 24px;
}
h1#promot {
  width: 404px;
  background: transparent url(img/h1/promot-h1.gif) top left no-repeat;
}
h1#projekty {
  width: 155px;
  background: transparent url(img/h1/projekty-h1.gif) top left no-repeat;
}
h1#kuznia {
  width: 69px;
  background: transparent url(img/h1/kuznia-h1.gif) top left no-repeat;
}
h1#obrobka {
  width: 235px;
  background: transparent url(img/h1/obrobka-h1.gif) top left no-repeat;
}
h1#laboratorium {
  width: 142px;
  background: transparent url(img/h1/laboratorium-h1.gif) top left no-repeat;
}
h1#produkty {
  width: 93px;
  background: transparent url(img/h1/produkty-h1.gif) top left no-repeat;
}
h1#kontakt {
  width: 79px;
  background: transparent url(img/h1/kontakt-h1.gif) top left no-repeat;
}
/*----------------for h1 - en-----------------*/
h1#o_nas-en {
  width: 98px;
  background: transparent url(img/h1/o_nas-h1-en.gif) top left no-repeat;
}
h1#projekty-en {
  width: 117px;
  background: transparent url(img/h1/projekty-h1-en.gif) top left no-repeat;
}
h1#kuznia-en {
  width: 78px;
  background: transparent url(img/h1/kuznia-h1-en.gif) top left no-repeat;
}
h1#obrobka-en {
  width: 112px;
  background: transparent url(img/h1/obrobka-h1-en.gif) top left no-repeat;
}
h1#laboratorium-en {
  width: 117px;
  background: transparent url(img/h1/laboratorium-h1-en.gif) top left no-repeat;
}
h1#produkty-en {
  width: 93px;
  background: transparent url(img/h1/produkty-h1-en.gif) top left no-repeat;
}
h1#kontakt-en {
  width: 84px;
  background: transparent url(img/h1/kontakt-h1-en.gif) top left no-repeat;
}
/*----------------for h1 - de-----------------*/
h1#o_nas-de {
  width: 94px;
  background: transparent url(img/h1/o_nas-h1-de.gif) top left no-repeat;
}
h1#projekty-de {
  width: 120px;
  background: transparent url(img/h1/projekty-h1-de.gif) top left no-repeat;
}
h1#kuznia-de {
  width: 106px;
  background: transparent url(img/h1/kuznia-h1-de.gif) top left no-repeat;
}
h1#obrobka-de {
  width: 129px;
  background: transparent url(img/h1/obrobka-h1-de.gif) top left no-repeat;
}
h1#laboratorium-de {
  width: 60px;
  background: transparent url(img/h1/laboratorium-h1-de.gif) top left no-repeat;
}
h1#produkty-de {
  width: 93px;
  background: transparent url(img/h1/produkty-h1-de.gif) top left no-repeat;
}

h1 span {
  display: block;
  height: 0;
  width: 0;
  color: white;
  font-size: 1px;
  overflow: hidden;
}

/*-------------------FOR FOOTER------------------------*/
div#footer {
  font-size: 1.1em;
  color: #ADADAD;
  border-top: 1px solid #c2c2c2;
  margin: 20px 0;
}
div#footer ul {
  padding: 6px 0 10px 0;
  background: #ededed url(img/footer-bg.jpg) repeat-x;
}
div#footer li {
  display: inline;
  padding: 0 12px;
}
div#footer p {
  margin-top: 3px;
  padding-top: 5px;
  border-top: 1px solid #c2c2c2;
}