html {
  height:100%;
  width:100%;
}

body {
	background:#FEEDDD;
  	position: relative; /* для задания "стакана" */
  	margin: 0 40px;
  	font-family:Tahoma;
	font-size:12px;
	line-height:15px;
	min-width:900px;
}

p {
  padding:5px 10px 5px 10px;
  margin:0px 10px 0px 10px;
  text-indent:0px;
  text-align:justify;
}

hr {
 border: none; 
 color: #bababa; /* Цвет линии для браузера Internet Explorer */
 background-color: #bababa; /* Цвет линии для браузера Firefox и Opera */
 height: 1px; 
 margin:0px 20px 0px 20px;
}

a {
	color: #DA611D;
	text-decoration:none;
	font-weight:bold;
}
a:hover {
	text-decoration:underline;
}

img {
	float:left;
	padding:5px;
  	margin:10px 10px 10px 20px;
  	border:#DA611D solid 1px;
}

ul { 
    margin-top:0px;
    margin-left:-20px;
	list-style:none;
}

* html ul {
	margin-left:20px;
}
/* Главные блоки страницы */ 


#header {
  width: 100%;
  position: absolute;
  left: 0; top: 20px; 
  height: 80px; 
  border:#aaa solid 1px;
  background: url(/img/header.jpg) no-repeat right bottom #fff;
}

#header a:hover {
	text-decoration:none;
}

#main {
	background:#fafafa;
 	float:left;
 	width: 100%;
    margin-top: 120px; /* место для #title */
    position: relative;
	overflow:hidden;
	border:#aaa solid 1px;
}

* html #main {
	float:none;
}

#left {
  float:left;
  width:55%;
  position: relative;
}

#middle {
  background:#f3f3f3;
  width:24%;
  float:left;
  padding-bottom:32767px;
  margin-bottom:-32767px;
  border-left:#aaa solid 1px;
  border-right:#aaa solid 1px;
}

#right {
  width:20%;
  float:left;
}

#right p {
  padding-right:5px;
}

#footer {
	background:#f3f3f3;
	float:left;
 	width: 100%;
	margin-top:20px;
	border:#aaa solid 1px;
	height:25px;
}

/* Внутренности главных блоков */
#header h1 {
  line-height: 80px;
  color: #DA611D;
  margin: 0; padding: 0 20px;
  	font-size:24px;
}

#left h1 {
  padding:5px 10px 5px 30px;
  margin:10px 10px 0px 10px;
  font-size:16px;
}

#left h1 a{
  color:#000;
}


#left h3 {
  padding:5px 5px 5px 30px;
  margin:5px 10px 5px 10px;
  font-size:13px;
}

.aut {
	color:#888;
  	margin: 0px 0px 10px 40px;
  	
  	font-family:Tahoma;
	font-size:11px;
	line-height:14px;
	float:left;
}
* html .aut {
	margin: 0px 0px 10px 20px;
}

.date {
	color: #888;
  	margin: 0px 20px 10px 0px;
  	
  	font-family:Tahoma;
	font-size:11px;
	line-height:14px;
	float:right;
}

* html .date {
	margin: 0px 10px 10px 0px;
}

.title {
	position:relative;
	width:100%;
}

.com {
	color: #888;
  	margin: 10px 0px 30px 40px;
  	font-family:Tahoma;
	font-size:11px;
	line-height:14px;
	display:block;
}

#comments {
	 margin: 10px 0px 10px 40px;
  	font-family:Tahoma;
	font-size:12px;
	font-weight:bold;
	float:left;
}
#comments-r {
	margin: 10px 40px 10px 0px;
  	font-family:Tahoma;
	font-size:12px;
	font-weight:bold;
	float:right;
}
#comments-r a {
	cursor:hand;
}

.comment {
 border: none; 
 color: #ddd; /* Цвет линии для браузера Internet Explorer */
 background-color: #ddd; /* Цвет линии для браузера Firefox и Opera */
 height: 1px; 
 margin:0px 120px 0px 120px;
}

.details {
	color: #DA611D;
  	margin: 0px 0px 10px 40px;
  	font-family:Tahoma;
	font-size:11px;
	line-height:14px;
	display:block;
}

.cat {
	color:#888;
  	margin: 2px 0px 3px 40px;
  	font-family:Tahoma;
	font-size:12px;
	clear:both;
	font-weight:bold;
}
.clear{
	clear:both;
}

#middle h2 {
    color:#da611d; 
    font-size:12px;
    font-weight:bold; 
    text-transform:uppercase;
    padding:5px 0px 0px 20px;
}

#right h2 {
    color:#383838;
    font-size:12px;
    font-weight:bold; 
    text-transform:uppercase;
    padding:5px 0px 0px 20px;
}

#middle li,#left li { 
	line-height:20px; 
	color:#383838; 
	background:url(/img/pimp1000.gif) no-repeat 0px 8px; 
	padding-left:16px;}
#middle li a {
	color:#383838; 
	text-decoration:underline; 
	font-weight:normal;}
#middle li a:hover { 
	text-decoration:none;
	}

#right li { 
	line-height:20px; 
	color:#383838; 
	background:url(/img/pimp1000.gif) no-repeat 0px 8px; 
	padding-left:16px;
	
}

#vote li {
	background:none; 
	padding-left:0px;
}

#quest {
	color:#da611d; 
	padding:5px 10px 5px 10px;
  	margin:0px 10px 0px 10px;
}

#vote-submit {
	margin:0px 0px 0px 20px;
	color:#383838; 
	background:#f3f3f3;
	border:#aaa solid 1px; 
	font-size:11px;
	padding:1px 10px;
}

#search-field { 
	width:100px;
	font-size:11px;
	margin-left:20px;
	border:#aaa solid 1px; 
}

.submit {
	margin:0px;
	color:#383838; 
	background:#f3f3f3;
	border:#aaa solid 1px; 
	font-size:11px;
	padding:1px 10px;
}

.find {
	background:#FFDF61;
}

.voteimg {
	padding:0px;
	border:0px;
	display:block;
}

.login-in { 
	width:100px;
	font-size:11px;
	margin:1px 0px 2px 20px;
	border:#aaa solid 1px; 
}
#login .submit {
	margin:1px 0px 2px 2px;
}

a.auth {
	margin:0px 0px 5px 20px;
	color:#383838; 
	text-decoration:underline; 
	font-weight:normal;
	display:block;
	width:50%;
}
a.auth:hover {
	text-decoration:none; 
}

#login {
	margin-bottom:5px;
}
.login {
	text-indent:0px;
	text-align:left;
}

#add-comment {
	margin:10px 40px 10px 40px;
	text-align:center;
}

#add-comment textarea {
	margin:10px 0px 10px 0px;
	width:80%;
	height:100px;
}

#addpost {
	text-align:center;
}

.post-input, #addpost select {
	width:300px;
	font-size:11px;
	margin:5px;
	border:#aaa solid 1px; 
	height:16px;
}

#post-text {
	margin:10px 0px 10px 0px;
	width:80%;
	height:400px;
}

#post-about {
	margin:10px 0px 10px 0px;
	width:80%;
	height:200px;
}

.post-comment {
	margin:0px 20px 0px 20px;
}
#regmessage {
	color:red;
	margin-bottom:10px;
}

#nextpage {
	color: #888;
  	margin: 10px 40px 30px 0px;
	display:block;
	float:right;
}
#prevpage {
	color: #888;
  	margin: 10px 0px 30px 40px;
	display:block;
	float:left;
}

#author {
	color: #888;
  	margin: 0px 0px 10px 40px;
	display:block;
	float:left;
}
#source {
	color: #888;
  	margin: 0px 40px 10px 0px;
	display:block;
	float:right;
}

#add-buttons {
	margin: 0px 0px 20px 0px;
}

#rate {
	margin:0px 0px 10px 0px;
	text-align:center;
}

#ratep {
	width:50px;
	font-size:11px;
	margin:0px 0px 0px 5px;
	border:#aaa solid 1px; 
}

#passinfo {
	color:#f00
}

.noborder {
	border:0px;
	float:none;
}

#counters {
	width:90%;
	margin-top:30px;
	text-align:center;
}