/*
Design by RVBest Design
http://design-rvbest.ru/
*/

* {
	margin: 0;
	padding: 0;
}

body {
	background: #F5F5F5 url(images/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: #ff903a;
}

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: 2em;
}

h2 {
	letter-spacing: -1px;
	font-size: 1.7em;
}

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: #3e667e;
}

a:hover {
	background: #CEE7F5;
	text-decoration: underline;
	color: #549DC7;
}

/* Header */

#header {
	width: 980px;
	height: 90px;
	margin: 0 auto;
}

/* 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(images/img02.gif) repeat-y;
}

/* Sidebars */

.sidebar {
	float: left;
	width: 200px;
	padding-top: 20px;
}

.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(images/img03.gif) no-repeat;
}

#sidebar1 h2 {
	text-align: right;
	background: url(images/img05.gif) no-repeat;
}

#sidebar1 li li {
	padding-right: 20px;
	text-align: right;
}

/* Sidebar2 */

#sidebar2 {
	background: url(images/img04.gif) no-repeat;
	}

#sidebar2 h2 {
	background: url(images/img06.gif) no-repeat;
}

/* Search */

#search {
}

#search form {
	text-align: center;
}

#search #s {
	width: 80%;
	margin-bottom: 10px;
}

#search h2 {
	background-image: url(images/img07.gif);
}


/* Recent Posts */

#recent-posts {
}

#recent-posts h2 {
	background-image: url(images/img08.gif);
}

.sidebar #recent-posts ul {
	padding: 0 20px;
}

/* Content */

#content {
	float: left;
	width: 580px;
}

.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(images/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(images/img09.gif) no-repeat;
}

#footer p {
	margin: 0;
	padding: 0;
	font-size: smaller;
	line-height: normal;
}

/* my css*/
p img {margin:5px 10px 2px 0;_margin:0;}
p {
	text-align:justify; 
}

.clear
{
	clear: both;
}

#calendar {
   background-color:silver;
   border:none;
   margin:0 auto 5px;
   text-align:center;
   text-decoration:none;
   width:174px;
}
.month {background:url(../i/1.png) repeat-x #DEE3F7;color:purple;font:bold italic 12px georgia;padding:3px;}
.ct {background:url(../i/1.png) repeat-x #DEE3F7;color:purple;padding:2px 0 3px;}
.cb {background:url(../i/e.gif) no-repeat #FFFBCE;padding:4px 3px;width:16px;}
.cv {background:url(../i/e.gif) no-repeat #FFDFFF;color:#000;padding:4px 3px;width:15px;}
.cs {background:url(../i/e.gif) no-repeat yellow;color:red;}
.cp {background:url(../i/e.gif) no-repeat #D6F3FF;}
#cp {background:url(../i/e.gif) no-repeat #D6F3FF;color:blue;display:block;padding:5px 3px;}
#cp:hover {background:url(../i/e.gif) no-repeat yellow;color:red;}
.cn {background:#efefef;}
#cn {color:#aaa;}

.righter {font-weight:normal;margin:5px 25px;text-align:right;}
#center {float:left;width:708px;}
/* Референт */
.gr_news a {text-decoration:none;}
.gr_news {width:500px;}
.gr_date {color:silver;margin:10px 10px 0;text-align:right;}
.gr_desc td {text-align:justify;}
.gr_title {background-color:#D3E3FE;border:#A7C8FD 1px dotted;
   padding:2px 2px 2px 9px;color:navy;}
.gr_returnlink {margin-top:5px;}
.gr_visiblelink,.gr_returnlink a {color:#008000;font:11px arial,sans-serif;}
.gr_date,.gr_title,.gr_desc td {font:11px/1.18 airal,verdana,helvetica,sans-serif;}
.gr_clear {clear:both;}
/* конец референта */

/* style comment */
.comment_list {margin:20px auto;width:500px;}
.comment {background-color:#fff;margin:0 5px 2px;padding:0 5px 2px;text-align:justify;}
.comment span,.comma span {color:#a00;font-weight:normal;}
.comment_title {
	background-color:#eee;
	border:silver 1px dotted;
	color:navy;
	font-weight:bold;
	margin:0 0 5px;
	position:relative; 
	padding:2px 2px 2px 5px;
}
.facsimile {color:#000;margin:3px 5px 0;text-align:right;}
.autor {color:#a33;margin:0 10px;}
/* end style comment */

/* statistic */
.point{background-color:#fff;border:1px #ccc solid;margin:5px auto;padding:0;width:500px;}
.sttit{background-color:#ff9;border:#ff9900 1px solid;margin:1px;padding:2px;}
.point .graf{margin:5px 2px 0;padding:0 0 0 2px;width:492px;height:330px;}
.point .desc{margin:0 0 5px 20px;padding:0;}
.tbl{width:502px;border:1px silver solid;margin:5px 0 5px 4px;}
.sttit,.desc{text-align:left;}
.serf,.rss{color:#1e90ff;}
.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 */

.hide {z-index:1;left:0; visibility:hidden;position:absolute;top:0;}
.laser {background-color:#ff9;border:#7b9ebd 1px solid;padding:10px;}
.note {border-bottom:blue 1px dotted;color:blue;}
.contents .first {color:red;margin:5px 0 10px 20px;}
.contents .second {color:red;margin:20px 0 20px 10px;}
.contents span {color:red;}
.contents ol {color:#A396F3;padding-left:10px;}
.select {color:red;}
.categories {margin:8px 0;padding:0 0 0 10px;}
.categories li {color:#A396F3;}
.categories .selected {color:red;}
.postlink {margin:5px 25px;text-align:right;}
.postdate {color:#656565;margin:5px 1px;text-align:right;}
.postbody {margin:0 0 10px;padding:2px 0 0;}
.postbody span {color:#a00;}
.copyright {border-left:silver 1px solid;color:#333;margin:20px 0 10px 5px;padding:0 0 0 10px;}

/* form docedit */
#form_docedit div {color:blue;margin:10px 5px;padding:8px 5px 3px;height:17px;}
#form_docedit div p {border-left:0;margin:-5px 0 0 -11px;padding:5px 2px 0 0;height:16px;}
#form_docedit .docedit {border-right:0;color:red;margin:-5px 0 0;padding:0;text-align:right;width:150px;height:21px;}
#form_docedit .submit {margin:1px 5px 2px 0;width:488px;height:21px;}
/* end form docedit */

/* form post */
#form_post label {font:12px/1 arial;margin:0 10px;padding:7px 0 0 7px;}
#form_post .tema {margin:0 5px 2px 0;padding:1px 0 3px 3px;width:484px;height:16px;}
#form_post .date {color:#a66;margin:0 5px 0 0;padding:1px 0 3px 7px;width:130px;height:16px;}
#form_post textarea {margin:2px 5px 3px 0;padding:5px;width:477px;height:335px;}
#form_post select {font:12px arial,sans-serif;margin:0 0 2px 4px;padding:0;width:295px;height:18px;}
#form_post .submit {margin:0 4px 2px 0;width:185px;height:20px;}
/* end form post */

/* form edit */
#form_edit textarea {margin:2px 5px 3px 0;padding:0;width:486px;height:405px;}
#form_edit .submit {margin:1px 5px 3px 0;width:488px;height:21px;}
#form_edit .editcom {font:12px arial,sans-serif;margin:1px 5px 1px 0;padding:1px 0 2px 6px;width:480px;height:15px;}
/* end form edit */

#form_html label {color:#656565;margin:10px 5px 5px 10px;;}
#form_html textarea {margin:2px 5px 3px 0;padding:0;overflow:auto;width:486px;height:270px;}
#form_html .submit {margin:1px 5px 3px 0;width:488px;height:21px;}

/* comment form */
#form_comm label {color:#a66;font:12px/1 arial,sans-serif;padding:7px 0 0 30px;}
#form_comm .tema,#form_comm .name,#form_comm .email,#form_comm .cod,
#form_comm textarea,#form_comm .submit {margin:0 5px 2px 0;padding:1px 0 2px 3px;width:380px;height:17px;}
#form_comm .email {padding:1px 0 2px 22px;width:361px;}
#form_comm .cod {padding:1px 0 2px 22px;width:235px;}
#form_comm textarea {margin:2px 5px 2px 0;padding:10px 0 0 22px;width:465px;height:165px;}
#form_comm .submit {margin:0 5px 2px 0;width:489px;height:22px;}
/* end form comment*/

/* form email */
#form_email p {margin:0 0 2px;padding:0;}
#form_email label {font:12px/1 arial,sans-serif;padding:7px 0 0 25px;margin:2px 0 0;}
#form_email .tema,#form_email .name,#form_email .email,#form_email .cod,
#form_email textarea {margin:0 5px 2px 0;padding:1px 0 2px 22px;width:345px;height:17px;}
#form_email .cod {width:215px;}
#form_email textarea {margin:0 5px 2px 0;padding:10px 0 0 22px;width:465px;height:165px;}
#form_email .submit {margin:0 5px 2px 0;width:489px;height:22px;}
/* end form email*/

/* form friend */
#form_friend label {padding:7px 0 0 20px;}
#form_friend span {color:#000;padding:10px 0 0 5px;text-align:left;}
#form_friend .tema,#form_friend .name,#form_friend .email,#form_friend .cod,
#form_friend textarea {margin:0 5px 2px 5px;padding:1px 0 2px 22px;width:330px;height:17px;}
#form_friend .cod {width:200px;}
#form_friend textarea {margin:2px 5px 2px 0;padding:10px 0 2px 22px;width:330px;height:165px;}
#form_friend .submit {margin:0 5px 2px;width:354px;height:22px;}
/* end form friend */

/* form select */
#form_select .month,#form_select .god,#form_select .submit {background-color:#fff;color:blue;font:12px/1 arial,sans-serif;}
#form_select {margin:0 0 10px 13px;padding:2px 0;height:19px;}
#form_select .month {margin:0 1px 0 0;padding:0;width:70px;height:18px;}
#form_select .god {margin:0 1px 0 0;padding:1px 0 0 2px;width:52px;height:18px;}
#form_select .submit {padding:0 0 2px;margin:0 0 2px;width:24px;height:20px;}
#form_select .option {background-color:#fff;border:0;color:blue;padding:0 0 0 3px;}
/* end form select */

/* form searsh menu */
.form {margin:2px 0;}
.form .search,.form .submit {border:silver 1px solid;color:#656565;margin:0;}
.form .search {padding:1px 0 0;text-align:left;width:153px;height:17px;}
.form .submit {padding:0 0 4px;width:30px;height:20px;}
/* end form searsh menu */

/* form search */
#form_search .search,#form_google .search {padding:1px 3px;height:19px;}
#form_search .submit,#form_google .submit {color:#656565;height:23px;}
#form_search .submit,#form_google .submit {width:90px;}
#form_google .search {width:305px;}
#form_search .search {margin:10px 0 10px 5px;width:385px;}
#form_google .search,#form_google .submit {margin:14px 0 5px 5px;}
#form_search .submit {margin:10px 5px 5px 0;}
#form_google a {margin:10px 0 5px 5px;}
#form_google img {float:left;border:none;width:75px;height:32px;}
#form_google input {float:left;margin:2px;}
#form_google label {float:left;margin:4px;}
/* end form search */

legend {color:#a66;padding:0 5px 5px;margin:0 0 0 10px;}
legend span {color:red;}
select,input {height:19px;}
option {padding:0 0 0 5px;height:15px;}
#form_docedit,#form_post,#form_edit,#form_html,#form_comm,#form_email,
#form_friend,#form_search,#form_google {margin:10px auto;width:500px;}
.submit {background-color:#fff;color:#000;cursor:hand;font:12px arial,sans-serif;}

#form_docedit div,#form_docedit div p,#form_friend textarea,#form_email textarea,
#form_comm textarea,#form_html textarea,#form_edit textarea,#form_post textarea,#form_select .month,
#form_post select,.editcom,.docedit,.search,.god,.tema,.name,.email,.cod,.date,.submit{border:#7b9ebd 1px solid;}

#form_select .month,#form_select .god,#form_select .submit,#form_google .search,#form_google .submit,
#form_google div,#form_google a,#form_search .search,#form_friend span,#form_post select,label {float:left;}

#form_docedit div span,#form_docedit div p,.docedit,#form_docedit .submit,.tema,.name,.email,.cod,.date,
.editcom,#form_friend textarea,#form_html textarea,#form_html .submit,#form_comm textarea,#form_comm .submit,
#form_edit textarea,#form_edit .submit,#form_post textarea,#form_post .submit,#form_email textarea,
#form_friend .submit,#form_email .submit,#form_search .submit {float:right;}

.email,.cod,#form_comm textarea,#form_friend .tema,#form_friend .name,#form_friend textarea,
#form_email .tema,#form_email .name,#form_email textarea {background:url(../i/pencil.png) 2px 1px no-repeat #fff;}

#form_friend img,#form_email img,#form_comm img {border:none;float:right;margin:2px 2px 2px 0;width:120px;height:19px;}

legend {$margin:0 0 -7px;$position:relative;$top:-9px;$left:3px;}
#form_select .month {$WIDTH:82px;$HEIGHT:20px;}
#form_select .god {$WIDTH:64px;$HEIGHT:20px;}
#form_select .submit {$padding:0;$HEIGHT:20px;}
#form_post .tema,#form_post .date,
#form_post textarea,#form_post .submit,
#form_edit .editcom,#form_edit textarea,#form_edit .submit {$margin:0 5px 2px 0;}
#form_search,#form_google {$margin:10px auto 20px;}
#form_post .tema {$padding:3px 0 1px 3px;$height:16px;}
#form_post .date {$padding:3px 0 1px 7px;$height:15px;}
#form_post select {$margin:0 0 2px 5px;$height:20px;}
#form_post textarea {$width:476px;}
#form_post .submit {$height:19px;}
#form_edit .editcom {$padding:3px 0 0 6px;$height:16px;}
#form_edit textarea {width:486px;}
#form_comm .tema,#form_comm .name {$padding:3px 0 0px 3px;}
#form_comm .email,#form_comm .cod,
#form_email .tema,#form_email .name,#form_email .email,#form_email .cod,
#form_friend .tema,#form_friend .name,#form_friend .email,#form_friend .cod {$padding:3px 0 0px 22px;}
#form_docedit div {$margin:10px 5px;$padding:9px 5px 3px;$height:17px;}
#form_docedit div p {$margin:-6px 0 0 -11px;$padding:4px 2px 0 0;$height:17px;}
#form_docedit .docedit {$margin:-6px 0 0;$padding:4px 0 2px;$height:15px;}
#form_search .search,#form_google .search {$padding:4px 3px 0;$height:17px;}
#form_docedit .submit {$margin:0 5px -8px 0;}
*html #form_select .submit {height:21px;}
*html #form_post .submit {height:20px;}
*html #cp {padding:5px 2px 1px 3px;height:15px;}
*html .cb {padding:3px;height:15px;}

html:root #form_post .tema {padding:3px 0 0 3px;}
html:root #form_post .date {padding:3px 0 0 7px;}
html:root #form_post textarea {width:477px;}
html:root #form_post .submit {margin:0 5px 2px 0;}
html:root #form_search .submit,html:root #form_google .submit {padding:0 0 2px;}
html:root #form_search .search,html:root #form_google .search {padding:3px 3px 0;height:18px;}
html:root #form_select .month {width:82px;}
html:root #form_select .god {width:64px;}
html:root #form_friend label {padding:9px 0 0 20px;}
html:root #form_friend span {padding:22px 0 0 10px;}
html:root #form_friend .tema,html:root #form_friend .name,
html:root #form_friend .email,html:root #form_friend .cod,
html:root #form_email .tema,html:root #form_email .name,
html:root #form_email .email,html:root #form_email .cod,
html:root #form_comm .email,html:root #form_comm .cod {padding:3px 0 0 22px;}
html:root #form_comm .tema,html:root #form_comm .name {padding:3px 0 0 3px;}
html:root #form_edit textarea {width:486px;}
html:root #form_docedit .docedit {padding:4px 0 1px 3px;height:16px;}
html:root #form_docedit div p {margin:-5px 0 0 -15px;}
html:root .form .search {padding:2px 0 0;text-align:left;}
html:root .form .submit {padding:0 0 4px;width:30px;height:21px;}

.small {color:#aaa;font-size:11px;}


.panel2 {background:#F8F8FF;border:#A396F3 1px dotted; padding:2px 2px 2px 7px;color:navy;}

.image {
	border: blue;
	border-bottom-style: dotted;
	border-bottom-color: blue;
}

fieldset {
	margin: 0;
	padding: 0;
	}
