html, body {height:100%}

body {
  margin: 0;
  padding: 0;
  background: #333;
  color: #000080;
  font: 12px Arial, sans-serif;
}

#wrap {
  position: relative;
  width: 1000px;
  margin: 0 auto;
  background: #fff url('../pics/prechod.jpg') 140px 140px repeat-x;
}

#outer{
	min-height: 100%;/*for mozilla as IE treats height as min-height anyway*/
	width: 1000px;
	margin-bottom: -35px;
}

* html #outer { height:100%; }

#header{
	position:absolute;
	top:0;
	left:0px;
	width:1000px;
	padding-top: 5px;
	height:135px;
	overflow:hidden;
  background-color: #001739;
}

#clearheader { height: 140px; }

#footer {
	width: 1000px;
	clear:both;
	height:35px;
	position:relative;
	padding: 0px 0px 0px 0px; 	
	background-color: transparent;
}

#clearfooter { clear: both; height: 35px; }

#main {
  float: left;
  width: 637px;
  padding: 10px 31px 10px 32px;
  overflow: hidden;
  background-color: #dcdcdc;
  min-height: 800px;
}

#leftbar {
  display: block;
  float: left;
  width: 150px;
  overflow: hidden;
}

#rightbar {
  float: right;
  width: 150px;
  overflow: hidden;
}

.nodisplay { display: none; }
.clear { clear: both; }
.center { text-align: center; }

.left-box h1 {
  margin: 0;
  color: #FFF;
  font: bold 14px Arial, sans-serif;
}
.left-box .body {
  border: 1px solid white;
  margin: 0 10px 10px 10px;
  padding: 10px;
  text-align: center;
  color: #FFF;
}
.left-box .boldbuttons {
  margin: 5px;
}
.left-box .boldbuttons a {
  padding: 3px 6px 3px 6px;
  background: #DDD;
  border: 1px solid #696969;
  text-decoration: none;
}
.left-box .boldbuttons a:hover {
  background: #CCC;
}
.left-box input {
  width: 90%;
}

.articlelist {
  background: #fff;
  padding: 2px;
  border: 1px solid #333;
}
.articlelistin {
  background: #AAAAFF;
  padding: 2px;
}
.articlelist h1 {
  float: left;
  font-size: 12px;
  text-align: left;
  overflow: hidden;
  padding: 2px;
  margin: 0;
  white-space: nowrap;
  width: 350px;
}
.articlelist h1 a.comments {
  font-weight: normal;
}
.articlelist .date {
  float: left;
  font-size: 12px;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  background: #AAAAFF;
  padding: 2px;
  width: 250px;
}
.articlelist h1 a {
  text-decoration: none;
  color: #2F0080;
  border: none;
}

.pages {
  text-align: center;
}
.pages a {
  text-decoration: none;
}
.pages current {
}

.gallery a {
  text-decoration: none;
}

a .image {
  border: 1px solid #333;
  padding: 2px;
  background: #fff;
  margin: 3px;
}