html, body  {
	font-family: verdana, tahoma, arial, helvetica, sans-serif;
	font-size: 10px;
	margin:0px;
	padding:0px;
  color: #000; 
  background: #fff;
  line-height: 1.4; 
  width: 100%;
  height: 100%;
}

a img{
  border: none;
}

.middle
{
  display: table;
  width: 100%;
  height: 100%;
}

.wrapper{
  display: table-row;
  height: 100%;
}

.main
{
  display: table-cell;
  vertical-align: middle;
  height: 100%;
}

.maincontent{
  width: 780px;
  height: 600px;
  margin: 0px auto;
  background: url(styleimg/bg6.jpg) no-repeat bottom left #fff;
  overflow: hidden;
}

#top{
  height: 133px;
  width: 780px;
  overflow: hidden;
/*  background: url(styleimg/top.jpg) no-repeat top left #fff; */
}

#top ul{
  list-style-type: none;
  margin:103px 20px 0 305px;
  text-align: right;
}

#top ul li{
  display: inline;
  font-family: tahoma, arial, sans-serif;
  font-size: 18px;
}

#top ul li a{
  color: #666;
  text-decoration: none;
  padding: 0 12px;
}

#top ul li a:hover, #top ul li.actual a{
  color: #000;
}

#top ul li a img{
  vertical-align: top;
}
#content{
  margin:0 0 0 90px;
  height: 440px;
  text-align: justify; 
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 15px 0 0;
  font-size: 13px;
  font-weight: bold;
  font-style: italic;
  font-family: arial;
}
#content .inside{
  width: 645px;
}
#content p, #content h1,#content h2,#content h3,#content h4,#content ol,#content ul,#content blockquote,#content table{
  margin-top: 10px;
  margin-bottom: 10px;
}

#content h1{
  font-size: 19px;
  font-weight: normal;
  font-style: italic;
  font-family: arial;
}

#content h2{
  font-size: 17px;
  font-weight: normal;
  font-style: italic;
  font-family: arial;
}

#content h3{
  font-size: 13px;
  font-weight: normal;
  font-style: italic;
  font-family: arial;
}

#content a
{
	color: #555;
	text-decoration: none;
}

#content td{
  text-align: justify; 
}

#content a:hover{
	color: #DB931A;
	text-decoration: underline;
}

#content .galcont, #content .kontenersam{
  overflow: hidden;
  font-size:11px;
  font-weight: normal;
  font-style: normal;
}

#content .thumba{
  float: left;
  margin: 10px;
  text-align: center;
  width: 195px;
}

#content .thumba div a, #content .thumba div img{
  display: block;
  margin: 0 auto;
}

#content .thumba div img{
  border: solid 2px #fff;
}

#content .thumba div a:hover img{
  border: solid 2px #000;
}

#content .thumba p a, #content .pages1 a, #content .pages2 a{
  color: #000;
}

#content .thumba p a:hover, #content .pages1 a:hover, #content .pages2 a:hover{
  color: #000;
}

#content .pages2 a.invisible{
  display: none;
}

#content .pages1{
  text-align: center;
}

#content .pages2{
  text-align: right;
}

#content .pages2 .actual{
  font-weight: bold;
  text-decoration: underline;
}

#content .kontener{
  overflow: hidden;
}

#content .kontener .left{
  float:left;
  width: 200px;
  padding: 90px 0 0 10px;
}

#content .kontener .right{
  padding: 30px 0 0 0;
  float: right;
  width: 405px;
  text-align: center;
}

#thumbnails td{
  padding: 3px;
}

#nimage{
  min-height: 260px;
}

#nimage img{
  cursor: pointer;
  _cursor: hand;
}

#content .kontenersam{
  text-align: center;
  padding: 30px 0 0 0;
}

#content table.nomargin td{
  text-align: center;
}

#wordspage{
  overflow: hidden;
}

#wordspage .mainwords{
  float: left;
  width: 430px;
}

#wordspage .listwords{
  float: right;
  width: 205px;
  font-size: 13px;
}

#wordspage .listwords ul{
  margin: 10px 0;
  padding: 0;
  list-style-type: none;
}

#wordspage .listwords ul li{
  margin: 0;
  padding: 3px 0 3px 20px;
  background: url(/tpl/media/styleimg/words-li.gif) no-repeat top left;
}

#wordspage .listwords ul li.actual a, #wordspage .listwords ul li a:hover{
  color: #000;
}