/*  
Theme Name: MRP
Theme URI: http://mosrp.ru/
Description: Ссылки на основные страницы сразу под заголовком
Version: 1.1
Author: superuser.su

	This theme was designed and built by superuser.su
	
	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/
#may9{
	position: absolute;;
	top:0;
	left:0;
	width:77px;
	height:47px;
	background: url(img/0905_corner.gif) top left no-repeat;
}

body {
	font-size: 12px;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	background: #4d5847;
	color: #CACACA;
	padding: 0;
	border: 0px;
	border-collapse: collapse;
	margin: 0;
	background: #FFFFFF url(img/bg.jpg);
}
a {
	color: #3366CC;
	text-decoration: underline;
}

#top {
	height: 26px;
	width: 830px;
	background-image: url(img/top_redbg.gif);
	background-repeat: repeat-x;
	margin: 0 auto;
	clear: both;
	border-left:#000000 1px solid;
	border-right:#000000 1px solid;
}

#header {
	height: 225px;
	width: 830px;
	background-image: url(img/mosrp01_1.jpg);
	background-repeat: no-repeat;
	margin: 0 auto;
	clear: both;
	background-position: left;
	border-left:#000000 1px solid;
	border-right:#000000 1px solid;
}
#pages {
	height: 46px;
	width: 830px;
	margin: 0 auto;
	background-repeat: repeat-x;
	background-image: url(img/but_bg.gif);
	background-color:#FFFFFF;
	border-top:#0078ff 2px solid;
	padding: 0;
	overflow: hidden;
	border-left:#000000 1px solid;
	border-right:#000000 1px solid;
}

#corner {
	height: 46px;
	background-position: left;
	background-image: url(img/sidebar_header.gif);
	background-repeat: no-repeat;
	width: 260px;
	float:left;
	margin-right:10px;
}

#search {
	padding-top: 3px;
}

#pages a {
	color: #FFFFFF;
	font-family: Arial, Verdana, Tahoma, Sans-Serif;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
	margin: auto 0px auto 0px;
}
#pages a:hover {
	color: #cccccc;/*#cbf2b5*/
}
#pages a:after {
	content: "|";
	color: #FFFFFF;
	font-weight: normal;
	margin-left: 5px;
}
#pages ul {
	margin: 0px 5px;
	padding: 8px 0px;
	list-style-type: none;
}
#pages ul li {
	display: inline;
	margin: 0px 0px;
}
#pages ul li ul li, #pages ul li ul {
	display: none;
	margin: 0px 5px;
}
#title{
	margin: 0 0 0 0;
	padding: 5px 0 0 10px;
	text-align: left;
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
}
#title h1 {
	font-weight: bold;
	margin: 0;
	padding: 0;
	font-size: 12px;
	text-decoration: none;
	float:left;
}
#title a {
	text-decoration: none;
	color:#FFFFFF;
	cursor: pointer;
}
#main {
	margin: 0 auto;
	width: 830px;
	background-color: #FFFFFF;
	background-position: left;
	background-image: url(img/side_bg_260.gif);
	background-repeat: repeat-y;
	padding: 0;
	text-align: left;
	border-left:#000000 1px solid;
	border-right:#000000 1px solid;

}

#content {
	clear:left;
	width: 535px;
	margin: 0;
	padding: 0 20px;
	float: right;
	color: #000;
	/*display: table;*/
}
#sidebar {	
	margin: 0;
	color: #000;
	padding: 0;
	width: 254px;
	background-color:#EFEFEF;
	float:left;
}

#sidebar a{
	color:#333;
	font-weight: bold;
	}

#sidebar ul {
	margin: 0;
	padding: 0;
	padding-top:1px;
}
#sidebar ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display:block;
	height:auto;
}
#sidebar ul li h2 {
	font-size: 12px;
	margin: 0;
	padding: 0;
	padding-top:12px;
}
#sidebar ul li ul {
	margin: 0;
	padding: 0;
	padding-bottom:10px;
	
}
#sidebar ul li ul li{
	margin: 0;
	padding: 10px;
	border-bottom:#000000 1px solid;
}
#sidebar ul li ul li ul{
	margin: 0;
	padding: 0;
}
#footer {
	display:block;
	text-align: left;
	margin: 0;
	clear: both;
	margin: 0 auto;
	width: 830px;
	height:45px;
	background:#FFFFFF url(img/bottom_bg.gif) repeat-x;
}

#footer p{
	margin-top: 18px;
	color:#FFFFFF;
	display:block;
	float:left;
}

#footer #footer_sidebar {
	float:left;
	width:260px;
	height:45px;
	background:url(img/bottom_corner.gif) right top no-repeat;
	margin-right: 30px;
}

#footer ul{
	list-style-type:none;
	display:block;
	margin-top:18px;
	margin-right:40px;
	float:right;
	}
#footer ul li{
	display:inline;
	}
#footer ul li a{
	color: #ccc;
	font-size:10px;
	padding:15px 10px 5px 10px;
	}

.title-post {
	line-height: 20px;
	color: #2f669d;
	overflow: visible;
	padding: 0;
}
.title-post span {
	background-color: #2f669d;
	color: #fff;
	padding: 5px 10px;	
}
.title-post a {
	text-decoration: underline;
	color: #fff;
	margin: 0;
	font-size: 10px;
	white-space: nowrap;
}
.title-post strong a{
	text-decoration: none;
}
.post {
	margin: 20px 0px 40px 0px;
	clear:left;
}
.entry {
	text-align: justify;
}
.edit {
	background-image: url(img/edit.gif);
	background-position: center left;
	background-repeat: no-repeat;
	line-height: 24px;
	height: 24px;
	padding: 6px 0px 6px 27px;
	text-decoration: none;
}
.comments {
	background-image: url(images/icon_comments.gif);
	background-position: center left;
	background-repeat: no-repeat;
	line-height: 24px;
	height: 24px;
	padding: 6px 0px 6px 27px;
}
.pagetitle {
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	margin: 0;
	padding: 0;
}
form {
	margin: 30px;
}
form input{
	font-size: 10px;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
}
form textarea {
	border: 1px solid #000;
	font-size: 10px;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;	
}
#searchform input{
	font-size: 10px;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	vertical-align: middle;
	border: 1px solid #000;
}
#searchform {
	display: inline;
	margin: 0px 20px 20px 20px;
}
#searchform #searchsubmit {
	background-image: url(images/search.png);
	border: none;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

#searchform label{
color:#FFFFFF;
font-weight:bold;
}

#searchbutton {
	margin: 0;
	padding: 0;
	margin-left:10px;
	vertical-align: bottom;
}

#s {
	border: #ccc solid 1px;
	color: #000000;
	padding: 3px;
	margin: 0;
}
#content h3{
	margin: 0;
	padding: 0;
	font-size: 10px;
}
.center {
	text-align: center;
}
.alignleft {
	text-align: left;
	margin: 15px 0px 5px 0px;
}
.alignright {
	text-align: right;
	margin: 5px 0px;
}

.postmetadata{
	display:none;
	}

.postmetadata a{
	text-decoration: none;
}
#line {
	height: 10px;
	clear: both;
}
.entry img {
margin: 0 10px 10px 0;
float:left;
border:#000000 1px solid;
}
#content h2{
font-size: 14px;
}

.linkcat {
	width:254px;
	height:45px;
	background:url(img/bottom_bg.gif) repeat-x;
	}
.linkcat h2{
	font-weight:bold;
	color:#FFFFFF;
	display:block;
	height:40px;
	text-align:center;
	}
#ad{
	text-align:center;
	padding:20px;
	border:none;
}

#sale{
clear:left;
}
#sale table{
border-collapse:collapse;
font-size:10px;
}
#sale td
{
border:#CCCCCC 1px solid;
padding:3px;
}
#sale th
{
border:#666666 1px solid;
padding:1px;
}
.services ul li {
    list-style-image: url(img/arrow.gif);
}
#about{
	background:url(img/about.jpg) top left no-repeat;
	height:175px;
	width:450px;
}
#about ul{
	padding:20px 5px 5px 300px;
}

#counters{
	float:right;
	padding:12px 3px 2px 10px;
}
#structure a {                     color: #000;                     text-decoration: underline;;                 } 				#structure{ 					font-size:12px; 				} 				#structure td{ 					text-align:center; 					padding:5px; 				} 

#serpuhov table{
border-collapse:collapse;
border:#000 1px solid;
}

#serpuhov table td{
border:#000 1px solid;
padding:5px;
}
#serpuhov table th{
text-transform:lowercase;
border:#000 1px solid;
padding:5px;
}   