/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

* {
	margin: 0;
	padding: 0;
}

body {
	background: #F5F5F5 url(../i/img01.gif) repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #8A7F7F;
}

h1, h2, h3 {
	margin-bottom: 1em;
	text-transform: lowercase;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #549DC7;
}

h1 a, h2 a, h3 a {
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	text-decoration: underline;
}

h1 {
	letter-spacing: -2px;
	font-size: 2.0em;
}

h2 {
	letter-spacing: 0px;
	font-size: 1em;
}

h3 {
	font-size: 1em;
}

p, ul, ol {
	margin-bottom: 1.5em;
	line-height: 180%;
}

ul, ol {
	margin-left: 3em;
}

blockquote {
	margin-left: 3em;
	margin-right: 3em;
}

a {
	text-decoration: none;
	color: #E58C43;
}

a:hover {
	background: #CEE7F5;
	text-decoration: underline;
	color: #549DC7;
}

/* Header */

#header {
	width: 980px;
	height: 90px;
	margin: 0 auto;
}

img.kartinka {
  float: left;
  width: 150px;
  padding: 10px;
  max-width: 250px;
  clear: both;
}

/* Logo */

#logo {
	float: left;
}

#logo h1, #logo h2 {
	float: left;
	margin: 0;
	padding: 0;
}

#logo h1 {
	padding-top: 30px;
}

#logo h1 a:hover {
	text-decoration: none;
	background: none;
}

#logo h2 {
	padding: 45px 0 0 7px;
	letter-spacing: normal;
	font-size: 1.4em;
}

/* Menu */

#menu {
	float: right;
}

#menu ul {
	margin: 0;
	padding: 50px 0 0 0;
	list-style: none;
	line-height: normal;
}

#menu li {
	display: inline;
	padding-left: 20px;
}

#menu a {
	text-transform: lowercase;
	text-decoration: none;
	font-weight: bold;
}

#menu a:hover {
	text-decoration: underline;
}

/* Page */

#page {
	width: 980px;
	margin: 0 auto;
	background: url(../i/img02.gif) repeat-y;
}

/* Sidebars */

.sidebar {
	float: left;
	width: 200px;
	padding-top: 20px;
}

.nav a.selected {
  font-weight: bold;
  font-size: 14px;
  background: #CEE7F5;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	padding-bottom: 30px;
}

.sidebar li ul {
}

.sidebar li li {
	padding: 0;
}

.sidebar h2 {
	height: 40px;
	margin: 0;
	padding: 5px 10px;
	letter-spacing: normal;
	font-size: 1.4em;
}

/* Sidebar1 */

#sidebar1 {
	background: url(../i/img03.gif) no-repeat;
}

#sidebar1 h2 {
	text-align: right;
	background: url(../i/img05.gif) no-repeat;
}

#sidebar1 li li {
	padding-right: 20px;
	text-align: right;
}

/* Sidebar2 */

#sidebar2 {
	background: url(../i/img04.gif) no-repeat;
}

#sidebar2 h2 {
	background: url(../i/img06.gif) no-repeat;
}

/* Search */

#search {
}

#search form {
	text-align: center;
}

#search #s {
	width: 80%;
	margin-bottom: 10px;
}

#search h2 {
	background-image: url(../i/img07.gif);
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 0 20px;
}

#calendar caption {
	padding-bottom: 5px;
	font-size: 1.2em;
	font-weight: bold;
}

#calendar table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	border: 1px solid #CCCC99;
}

#calendar thead th {
	padding: 5px 0;
	background: #F9F3DF;
	border-bottom: 1px solid #CCCC99;
	color: #CCCC99;
}

#calendar tbody td {
	padding: 5px 0;
	border-right: 1px dotted #CCCCCC;
	border-bottom: 1px dotted #CCCCCC;
}

#calendar tfoot td {
	padding: 5px;
	border-top: 1px solid #CCCC99;
}

#calendar tfoot a {
	border: none;
	font-weight: bold;
}

#calendar #next {
	text-align: right;
}

#calendar #prev {
	text-align: left;
}

/* Recent Posts */

#recent-posts {
}

#recent-posts h2 {
	background-image: url(../i/img08.gif);
}

.sidebar #recent-posts ul {
	padding: 0 20px;
}

/* Content */

#content {
	float: left;
	width: 580px;
  overflow:hidden;
  text-align:left;
}

.post {
	padding: 30px 10px 10px 10px;
}

.post .title {
	margin: 0;
	padding: 0 20px;
}

.post .meta {
	margin: 0;
	padding: 0 20px 20px 20px;
	line-height: normal;
}

.post .entry {
	padding: 20px;
	background: url(../i/img10.gif) repeat-x;
}

.post .tags, .post .links {
	margin: 0;
	line-height: normal;
	font-size: smaller;
	text-align: center;
}

.post .tags {
	padding-top: 10px;
	border-top: 1px solid #EAEAEA;
}

/* Footer */

#footer {
	width: 980px;
	margin: 0 auto;
	padding: 30px 0;
	text-align: center;
	background: url(../i/img09.gif) no-repeat;
}

#footer p {
	margin: 0;
	padding: 0;
	font-size: smaller;
	line-height: normal;
}

/* statistic */
.point{background-color:white;border:1px #ccc solid;margin:5px auto;padding:0;width:500px;}
.sttit{border:#аа9900 1px solid;background-color:#ffe;margin:1px;padding:2px;}
.point .graf{margin:5px 0 0;padding:0 1px;height:330px;}
.point .desc{margin:0 0 5px 20px;padding:0;}
.tbl{background-color:white;width:502px;border:1px silver solid;margin:5px 0 5px 4px;}
.sttit,.desc{text-align:left;}
.serf,.rss{color:#1e90ff;}
.post1{color:red;}
.nopost,.friend{color:blue;}
.tbl td,.tbl pre,.value pre,.numb pre {color:#000;font:11px verdana,arial,sans-serif;margin:2px;padding:0;}
.hr{position:relative;text-align:left;overflow:hidden;width:495px;}
.hr .anonce{color:#777;margin:2px 100px 0 44px;padding:2px;}
.hr .numb{position:absolute;text-align:right;overflow:hidden;width:40px;}
.hr .value{left:43px;position:relative;text-align:left;overflow:hidden;width:450px;}
.sep {width:480px;overflow:hidden;}
/* end statistic */


/* form connect */
#connect {margin:10px auto;width:500px}
#connect p {margin:0 0 2px;padding:0;}
#connect label {float:left;font:12px/1 arial,sans-serif;padding:7px 0 0 25px;margin:2px 0 0;}
#connect .tema,
#connect .name,
#connect .email,
#connect .cod {
  background:url(../i/pencil.png) 2px 1px no-repeat #fff;
  border:#777 1px solid;
  float:right;
  margin:0 5px 2px 0;
  padding:0 0 4px 22px;
  width:345px;
  height:15px;
}
#connect .cod {width:215px;}
#connect textarea {
  background:url(../i/pencil.png) 2px 1px no-repeat #fff;
  border:1px #777 solid;
  float:right;
  margin:0 5px 2px 0;
  padding:10px 0 0 22px;
  width:465px;
  height:165px;
}
#connect img {border:none;float:right;margin:1px 2px 2px 0;width:120px;height:19px;}
#connect .submit {
  background:#fff;
  border:#777 1px solid;
  color:#777;
  float:right;
  font:13px/1 arial,sans-serif;
  margin:0 5px 2px 0;
  width:489px;
  height:22px;
}
html:root #connect .tema,
html:root #connect .name,
html:root #connect .email,
html:root #connect .cod {padding:1px 0 0 22px;height:18px;}
/* end */
/* form comment */
#comment {margin:10px auto;width:500px}
#comment label {float:left;font:12px/1 arial,sans-serif;padding:7px 0 0 30px;}
#comment .tema,
#comment .name,
#comment .email,
#comment .cod {
  border:#777 1px solid;
  float:right;
  margin:0 5px 2px 0;
  padding:0 0 3px 22px;
  width:361px;
  height:15px;
}
#comment .tema,
#comment .name,
#comment .email,
#comment .cod,
#comment textarea {background:url(../i/pencil.png) 2px 1px no-repeat #fff;}
#comment .cod {width:235px;}
#comment textarea {
  border:#777 1px solid;
  float:right;
  margin:2px 5px 2px 0;
  padding:10px 0 0 22px;
  width:465px;
  height:165px;
}
#comment img {border:none;float:right;margin:1px 2px 2px 0;width:120px;height:19px;}
#comment .submit {
  background:#fff;
  border:#777 1px solid;
  color:#777;
  float:right;
  font:13px/1 arial,sans-serif;
  margin:0 5px 2px 0;
  width:489px;
  height:22px;
}
html:root #comment .tema,
html:root #comment .name,
html:root #comment .email,
html:root #comment .cod {padding:2px 0 0 22px;height:16px;}
/* end */
/* form admin */
#admin {margin:0 auto;width:500px;}
#admin label {float:left;margin-left:5px;}
#admin .url {
   float:right;
   width:430px;
   height:21px;
   background:white;
   border:1px #777 solid;
   margin:1px 5px;
   padding:0;
}
#admin textarea {
   float:right;
   width:430px;
   height:300px;
   background:white;
   border:1px #777 solid;
   margin:1px 5px;
   padding:0;
}
#admin .sign {height:100px;}
#admin select {float:right;margin:2px 1px;padding:0;width:290px;height:21px;}
#admin .submit {
   float:right;
   width:140px;
   height:21px;#height:19px;
   background:white;
   border:#777 1px solid;
   color:#777;
   font:13px/1 arial,sans-serif;
   margin:2px 5px 2px 1px;
   padding:-5px;
}
html:root #admin .docedit {padding:4px 0 1px 3px;height:16px;}
html:root #admin div p {margin:-5px 0 0 -15px;padding:5px 2px 1px 3px;height:15px;}
html:root #admin select {height:19px;}
/* end */
/* form fast edit */
#post_edit {display:block;float:right;margin:5px auto;width:500px;}
#post_edit .submit {
   width:88px;
   height:21px;
   background:white;
   border:#777 1px solid;
   color:#777;
   font:13px/1 arial,sans-serif;
   margin:0;
   padding: -5px;
}
/* end */
/* form search */
#search {margin:0 auto;padding-bottom:20px;width:500px;}
#search label {float:left;margin:5px;}
#search .request {border:1px #777 solid;margin:0 1px 10px 0;width:320px;height:21px;}
#search .submit {
  background:white;
  border:1px #777 solid;
  color:#777;
  font:13px/1 arial,sans-serif;
  width:100px;
  margin:0 1px 10px 0;
  height:23px;
}
html:root #search .submit {padding:0 0 2px;margin-bottom:6px;}

a.sba,a.sba:link,a.sba:visited,a.sba:active {color:#555;text-decoration:none;font-weight:bold;}
a.sba:hover {color:#777;}
a.sbb,a.sbb:link,a.sbb:visited,a.sbb:active {color:#777;text-decoration:none;}
a.sbb:hover {color:#777;text-decoration:underline;}
.sb h3 {margin:10px 0 15px 0;}
/* end */
img {margin-right:10px;#margin-right:0;#margin-left:0;}
.greklam {margin:0 auto;}
.greklam img {border:1px silver dotted;margin:5px;}



.righter {font-weight:normal;margin:5px 25px;text-align:right;}

.linktocat {color:#555;font-weight:bold;margin:5px 20px;text-align:left; margin-bottom: -1.5em;}
.linktocat a,
.linktocat a:link,
.linktocat a:visited,
.linktocat a:active {font:bold 14px Georgia;color:#549DC7;text-decoration:none;}

/* Заголовки и ссылки названий статей*/
.part,.part a,.last {
  margin-bottom: 0.1em;
  margin-top: 1em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #E58C43;}
.part a,
.part a:link,
.part a:visited,
.part a:active {text-decoration:none;letter-spacing: -0px; font-size: 18px;}
.part a:hover {color:#549DC7;}
/* end */

/*Всплывающие подсказки */
a.tt {position:relative;cursor:hand;border-bottom:blue 1px dotted;}
a.tt span {display:none;}
a.tt:hover span {float:left;display:block;background:Lightcyan;border:silver 2px outset;color:black;position:absolute;left:10px;top:10px;width:200px;padding:3px;}
/* end */

.greklam {margin:0 auto;}
.greklam img {border:1px silver dotted;margin:5px;}
.gr_title {letter-spacing: 0px;}



.gr_news a {text-decoration:none;}

.gr_date {color:silver;margin:10px 10px 0 0;text-align:right;}
.gr_title {background-color:#f7f6f4;border:#CCC 1px dotted;padding:2px 2px 2px 9px;color:navy;}
.gr_title a {font: bold 13px Arial, Helvetica, san-serif;}
.gr_desc {text-align:justify;padding:0 10px;}
.gr_returnlink {margin-top:5px;padding:0 10px 20px 10px;}
.gr_returnlink a {color:#008000;font:11px arial,sans-serif;}
.gr_date,.gr_title,.gr_desc {font:11px/1.18 airal,verdana,helvetica,sans-serif;}
.gr_clear {clear:both;}
.gr_image {float:left;margin:5px 10px 2px 10px;}

.ssilka {
  font-size: 10px;
  margin-top: 10px;
}


