/*
Design by RVBest Design
http://design-rvbest.ru/
*/

body {
     margin: 0;
     background: #ABA3A0 url(images/bg.jpg) top center repeat-y;
     text-align: center;
     font-family: verdana, arial, sans-serif;
     font-size: 75%;
     line-height: 1.7em;
     color: #2a2a2a;
}

p {
     margin: 0 0 1em 0;
     padding: 0;
     font-size: 1em;
     line-height: 1.7em;
     color: #2a2a2a;
}

#right_column p, #left_column p {
     margin: 0 0 1em 0;
     padding: 0;
     font-size: .9em;
     line-height: 1.6em;
     color: #2a2a2a;
}

/* Typography
------------------------------------------------------------------------------*/
#header h1 {
     margin: 0;
     padding: .7em 0 0 20px;
     font-size: 2.2em;
     line-height: 1.2em;     
     letter-spacing: -1px;
     color: #FFFFFF;
     background-color: transparent;
}

#header h2 {
     margin: 0 0 .5em 0;
     padding: 0 0 0 20px;
     font-size: 1.4em;
     line-height: 1em;     
     letter-spacing: -1px;
     color: #BFB1B2;
}

h1 {
     margin: 0 0 .5em 0;
     padding: 0;
     font-size: 1.5em;
     line-height: 1.2em;     
     letter-spacing: -1px;
     color: #000000;
}

h2 {
     margin: 0 0 .5em 0;
     padding: 0;
     font-size: 1.4em;
     line-height: 1.2em;     
     letter-spacing: -1px;
     color: #000000;
}

h3 {
     margin: 0 0 .4em 0;
     padding: 0;
     font-size: 1.3em;
     line-height: 1.2em;     
     letter-spacing: -1px;
     color: #000000;
}

h4 {
     margin: 0 0 .5em 0;
     padding: 0;
     font-size: 1.2em;
     line-height: 1.2em;
     letter-spacing: -1px;
     color: #000000;
}

h5 {
     margin: 0 0 .5em 0;
     padding: 0;
     font-size: 1.1em;
     line-height: 1em;
     letter-spacing: -1px;
     color: #000000;
}

/* Hyperlinks
------------------------------------------------------------------------------*/

a:link, a:visited, a:active { 
     background-color: transparent;
     color: #990000; 
     text-decoration: none;
}

a:hover { 
     background-color: transparent;
     color: #990000; 
     text-decoration: underline;
}

#header a:link, #header a:visited, #header a:active { 
     background-color: transparent;
     color: #FFFFFF; 
     text-decoration: none;
}

#header a:hover { 
     background-color: transparent;
     color: #FFFFFF; 
     text-decoration: underline;
}

#footer a:link, #footer a:visited, #footer a:active { 
     background-color: transparent;
     color: #FFFFFF; 
     text-decoration: none;
}

#footer a:hover { 
     background-color: transparent;
     color: #FFFFFF; 
     text-decoration: underline;
}


/* Ordered/Unordered Lists
------------------------------------------------------------------------------*/


#right_column ul, #left_column ul, #content_column ul  {
     margin: 0 0 10px 5px;
     padding-left: 0px;
     list-style-type:none

}

#right_column  ol, #left_column ol, #content_column  ol {
     margin: 0 0 10px 0;
     padding-left: 0;
 
}

#right_column  ol li, #left_column  ol li, #content_column  ol li  {
     margin-left: 5px;
     padding-left: 0px; 
     background: none; 
     list-style-type: decimal;
     list-style-position: inside; 
     font-size: .9em;
     line-height: 1.6em;
}

#right_column  li, #left_column  li, #content_column li {
     padding-left: 10px;
     background: transparent url(images/bullet.gif) 0 0.4em no-repeat;
     margin-bottom: .1em;
     font-size: .9em;
     line-height: 1.6em;
}

/* Blockquotes
------------------------------------------------------------------------------*/

blockquote
{
	background-image: url(images/quote.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	font-style: italic;
	padding-top: 1px;
	padding-right: 0;
	padding-bottom: 1px;
	padding-left: 30px;
	margin-top: 0;
	margin-right: 30px;
	margin-bottom: 0;
	margin-left: 10px;
    color: #444444;
}

blockquote p { margin: 0 0 1em 0; }


/* Horizontal Menu
------------------------------------------------------------------------------*/

ul#navlist {
     margin: 0;
     padding: 0;
     font-weight: bold;
     font-size: 1.2em;
     padding: .3em 0;
}

#navlist li {
     display: inline;
     list-style-type: none;
     margin: 0; padding: 0;
     line-height: 1.7em;
}

#navlist a { padding: .4em .6em; margin: 0;}

#navlist a:link, #navlist a:visited {
     color: #FFFFFF;
     margin: 1px;
     background-color: transparent;
     text-decoration: none;

}

#navlist a:hover {
     color: #000000;
     background-color: #FFFFFF;
     margin:0;
     border:1px solid #000000;
     text-decoration: none;
}

#navlist ul li a.selected
{
     color: #000000;
     background-color: #FFFFFF;
     margin:0;
     border:1px solid #000000;
     text-decoration: none;
}


/* Page Structure
------------------------------------------------------------------------------*/

#wrapper {
     width: 920px;
     margin: 0 auto;
     padding: 0;
     text-align: left;
}

#top {
     width: 920px;
     background: transparent url(images/top.jpg) bottom left no-repeat;
     margin: 0;
     padding: 0;
}

#top p {
     margin: 0;
     padding: 5px 0 10px 0;
     text-align: center;
     font-size: .9em;
     line-height: 1.4em;
     color: #111111;
}

#header {
     width: 920px;
     height: 140px;
     background: transparent url(images/header.jpg) top left no-repeat;
     margin: 0;
     padding: 0;
}

#header p {
    
}

#menu {
     width: 920px;
     background: transparent url(images/menu.jpg) top left repeat-y;
     margin: 0;
     padding: 0;
}

#content {
     width: 920px;
     background: transparent url(images/content.jpg) top left repeat-y;
     margin: 0;
     padding: 0;
}

#content_wrapper {
     float: left;
     width: 100%;
}

#content_column {
     width: 490px;
     padding-bottom: 7px;
}

#content_column_wide {
     width: 660px;
     padding-bottom: 7px;
}


#breadcrumb {
     padding-top: 5px; 
     padding-bottom: 15px; 
     margin-bottom: 15px; 
     border-bottom: 1px solid #dddddd;
}

#left_column {
     float: left;
     width: 160px; 
     margin-left: -343px; 
}

#right_column {
     float: left;
     width: 160px; /*Width of right column in pixels*/
     margin-left: -160px;
    
}

#footer {
     width: 920px;
     background: transparent url(images/footer.jpg) top left repeat-y;
     margin: 0;
     padding: 0;
}

#footer p {
     margin: 0;
     padding: 10px;
     text-align: center;
     font-size: 1em;
     line-height: 1.4em;
     background-color: transparent;
     color: #BFB1B2;
}

#bottom {
     width: 920px;
     background: transparent url(images/bottom.jpg) top left no-repeat;
     margin: 0;
     padding: 0;
}

#bottom p {
     margin: 0;
     padding: 10px 0 0 0;
     text-align: center;
     font-size: .9em;
     line-height: 1.4em;
     color: #111111;
}


.inner_padding {
     margin: 0 35px;
     padding: 10px 0 10px 0;
}

/* Other
------------------------------------------------------------------------------*/

.float_right {
     border: 0px;
     float: right;
     margin: 5px 0 0 10px;	
}

.float_left {
     border: 0px;
     float: left;
     margin: 5px 10px 0 0;	
}

.spacer { clear: both;  }

/* My css */
p img {margin:5px 10px 2px 0;_margin:0;}
p {
	text-align:justify;
}

/* RSS */

#rss {
	padding: 30px 39px 20px 0;
	text-align: right;
}

#rss a {
	padding: 0 0 3px 24px;
	background: url(images/img03.gif) no-repeat;
	text-decoration: none;
	font-weight: bold;
}

#rss a:hover {
	text-decoration: underline;
}
/* Search */

#search {
	float: right;
	width: 200px;
	height: 28px;
	background: #FFFFFF url(images/img02.gif) no-repeat;
}

#search #x {
	display: none;
}

#search #s {
	padding: 6px 5px 5px 35px;
	width: 160px;
	height: auto;
	background: none;
	border: none;
	font: normal 1em Arial, Helvetica, sans-serif;
	color: #000;
}

#search br {
	display: none;
}
/* Ads */
#ads {
	float: right;
	width: 160px;
	padding: 0 0 0px 0px;
}

/* my css*/
p img {margin:5px 10px 2px 0;_margin:0;}
p {
	text-align:justify;
}

.clear
{
	clear: both;
}

/* календарь */
#calendar {
	float: center;
	width: 140px;
	background: #F3F3F3;
	border: 1px solid #F3F3F3;
	text-align: center;
	margin-top: -4px;
	margin-left: -15px;
}
/* месяц */
.month {background:#FFBD00;color: White;font:bold italic 12px georgia;padding:3px;}
/* дни недели */
.ct {background: #BBBCFF;color: White;padding:2px 0 3px;          }
/* число в прошлом */
.cb {background:url(../i/e.gif) no-repeat #FFFBCE;padding:4px 3px;width:16px;border: 1px solid #D16E45;}
/* выходные дни */
.cv {background:url(../i/e.gif) no-repeat #FFDFFF;color:#000;padding:4px 3px;width:15px;border: 1px solid #D16E45;}
/* открытый день */
.cs {background:url(../i/e.gif) no-repeat yellow;color:red;border: 1px solid #D16E45;}
/* post */
.cp {background:url(../i/e.gif) no-repeat #D6F3FF;border: 1px solid #D16E45;}
/* post link */
#cp {background:url(../i/e.gif) no-repeat #D6F3FF;color:blue;display:block;padding:5px 3px;}
/* post hover */
#cp:hover {background:url(../i/e.gif) no-repeat yellow;color:red;}
/* пустые дни */
.cn {background: #FFEBCD;}
/* наступающие дни */
#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:50px;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;}


.panel {
     margin: 0 0 .4em 0;
     padding: 0;
     font-size: 1.3em;
     line-height: 1.2em;     
     letter-spacing: -1px;
     color: #000000;
}

.image {
	border: blue;
	border-bottom-style: dotted;
	border-bottom-color: blue;
}

fieldset {
	margin: 0;
	padding: 0;
	}
