html {
  height:100%;
  width:100%;
}
body {
	background:#c0c4e7;
  	position: relative; /* для задания "стакана" */
  	margin: 0 40px;
  	font-family:Tahoma;
	font-size:12px;
	line-height:15px;
	min-width:1024px;
}
p {
  padding:5px 0px;
  margin:0px;
  text-indent:20px;
  text-align:justify;
}
hr {
 border: none; 
 color: #bababa; /* Цвет линии для браузера Internet Explorer */
 background-color: #bababa; /* Цвет линии для браузера Firefox и Opera */
 height: 1px; 
 margin:0px 10px 0px 10px;
}
a {
	color: #3f68cd;
	text-decoration:none;
	font-weight:bold;
}
a:hover {
	text-decoration:underline;
	color:#d30505;
}
img {
	float:left;
	padding:5px;
  	margin:10px 10px 10px 20px;
  	border:#DA611D solid 1px;
}
#header img {
	border:0;
	margin:5px;
}
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: 99px; 
  border:#3f68cd solid 1px;
  background-color:#fff;
}
#header a:hover {
	text-decoration:none;
}
#main {
	background:#fafafa;
 	float:left;
 	width: 100%;
    margin-top: 120px; /* место для #title */
    position: relative;
	overflow:hidden;
	border:#3f68cd solid 1px;
}
* html #main {
	float:none;
}
#left {
  float:left;
  width:55%;
  position: relative;
}
#middle {
  background:#d3d3d3;
  width:24%;
  float:left;
  padding-bottom:32767px;
  margin-bottom:-32767px;
  border-left:#3f68cd solid 1px;
  border-right:#3f68cd solid 1px;
}
#right {
  width:20%;
  float:left;
}
#right p {
  padding-right:5px;
}
#footer {
	background:#f3f3f3;
	float:left;
 	width: 100%;
	margin-top:0px;
	border:#3f68cd solid 1px;
}
/* Внутренности главных блоков */
#header h1 {
  line-height: 80px;
  color: #DA611D;
  margin: 0; padding: 0 20px;
  	font-size:24px;
}
#left h1 {
  padding:10px 10px 20px 20px;
  margin:0;
  font-size:24px;
  color:#3f68cd;
  font-weight:normal;
  line-height:26px;
}
#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;
}
.title {
	position:relative;
	width:100%;
}
.com {
	color: #888;
  	margin: 10px 0px 30px 40px;
  	font-family:Tahoma;
	font-size:11px;
	line-height:14px;
	display:block;
}
.clear{
	clear:both;
}
#middle h2 {
    color:#d30505; 
    font-size:12px;
    font-weight:bold; 
    text-transform:uppercase;
    padding:5px 0px 0px 0px;
}
.div {
	padding:5px 20px 15px 20px;
}
#right h2 {
    color:#383838;
    font-size:12px;
    font-weight:bold; 
    text-transform:uppercase;
    padding:5px 0px 0px 0px;
}
#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:#3f68cd solid 1px; 
	font-size:11px;
	padding:1px 30px;
}

.find {
	background:#FFDF61;
}

.voteimg {
	padding:0px;
	border:0px;
	display:block;
}
.login-in { 
	width:200px;
	font-size:11px;
	margin:1px 0px 2px 0px;
	border:#3f68cd solid 1px; 
}

.addform input { 
	width:200px;
	font-size:11px;
	margin:1px 0px 2px 0px;
	border:#aaa solid 1px; 
}
.addform input.check,.addform input.subcheck  {
	width:15px;
}
.addform input.subcheck  {
	margin:2px 0 2px 14px;
}
.addform input.logcheck  {
	width:20px;
	border:0;
}

input.ok{
	border:#3f68cd solid 1px;
	border-right:#3f68cd solid 5px; 
}
.logform .submit {
	margin:1px 0px 2px 2px;
}
.logform textarea {
	width:100%;
	height:200px;
	border:#3f68cd solid 1px; 
}
.addform b {
	color:#3f68cd;
	margin:12px 0 0 0;
	display:block;
}

a.auth {
	color:#383838; 
	text-decoration:underline; 
	font-weight:normal;

}
a.auth:hover {
	text-decoration:none; 
}

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

#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;
}

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

#counters {
	text-align:center;
	padding:10px;
}

#regform {
	display:none;
	margin:0 0 10px 0;
}

#orderform {
	margin:10px 0;
}

#menu {
	width:100%;
	padding:5px 0 10px 0;
}

#menu a{
	display:inline;
	padding:5px 15px;
}
#menu a:hover, #menu a.active {
	border-bottom:3px solid #d30505;
	text-decoration:none;
	color:#d30505;
}
#catmenu {
	margin:0;
	padding:0;
}
#catmenu li {
	padding:0;
}
#catmenu a {
	cursor:pointer;
}

#orders .action {
	margin:0 0 10px 0;
}
#orders .date {
	color: #black;
  	padding: 5px 0px 5px 10px;
  	margin: 5px 0px 5px 0px;
	font-size:11px;
	font-weight:bold;
	line-height:14px;
	background-color:#c0c4e7;
	border:1px solid #aaaaaa;
}
#orders .text {
	margin:0 0 10px 0;
}
#orders .cost {
	color:#888;
}
#orders .cost b {
	color:#d30505;
}
#orders .region {

}
.pay {
	padding:20px 0;
	color:#d30505;
	font-weight:bold;
}
.pay form {
	text-align:center;
}

.pay input {
	margin:10px 0;
	color:#383838; 
	background:#f3f3f3;
	border:#3f68cd solid 1px; 
	font-size:14px;
	padding:1px 30px;
}
.customer {
	padding:10px 0;
}

#orders table	{
	width:100%;
	border-right:1px solid #aaaaaa;
	border-bottom:1px solid #aaaaaa;
}
#orders table th {
	font-weight:bold;
	text-align:center;
	background-color:#c0c4e7;
}
#orders table td, #orders table th{
	border-left:1px solid #aaaaaa;
	border-top:1px solid #aaaaaa;
	padding:3px;
}
.chimg {
	border:0;
	margin:4px 5px 1px 1px;
	padding:0;
}

#headmenu {
	text-align:right;
	padding:15px 10px;
}

#headmenu a{
	display:inline;
	padding:5px 15px;
}
#headmenu a:hover, #headmenu a.active {
	border-bottom:3px solid #d30505;
	text-decoration:none;
	color:#d30505;
}
#footer img {
	border:0;
	margin:0;
	padding:0 10px;
	float:none;
}


.company input {
	width:250px;
}

.company textarea {
	width:250px;
	height:200px;
}