* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
}

body {
	background: #FCFCFC url('images/body.jpg');
	font: normal 13px Verdana,sans-serif;
	color: #345;
	padding-bottom: 1em;
}

a {color: #3C4A55;}
a:hover {color: #036;}

p {padding: 0.1em 0 0.8em;}

h1 {font: normal 1.8em Georgia,Tahoma,sans-serif;}
h2 {font: normal 1.5em Georgia,sans-serif;}
h3 {font: bold 1em Tahoma,sans-serif;}

blockquote {
	background: #FFF url('images/quote.gif') no-repeat;
	border: 1px solid #EAEAEA;
	color: #555;
	display: block;
	font: normal 1em sans-serif;
	margin-bottom: 1em;
	padding: 10px 1em 0.2em 42px;
}

code {
	display: block;
	background: #FAFFFF;
	color: #335;
	border: 1px solid #E8E8D5;
	padding: 5px 10px;
	overflow: auto;
	margin: 1em 0;
	font-size: 0.9em;
	line-height: 1.5em;
}

ul,ol {margin: 0 0 1em 1.6em;}
ul ul, ol ol {margin: 0.3em 0 0.3em 1em;}
li {margin: 0 0 0.3em 1em;}

img {border: none; margin: 0.3em;}
img.bordered {background: #FFF; padding: 5px; border: 1px solid #DDD;}
img.left {margin-right: 1em;}
img.right {margin-left: 1em;}

small,.small {font-size: 0.8em;}
big,.big {font-size: 1.2em;}


/* ----------------------------------------
  Forms
------------------------------------------- */

/* Inputs */
input#s, textarea, input.styled {
	border: 1px solid #BBB;
	padding: 3px;
	width: 160px;
	font: normal 1em Verdana,sans-serif;
}
textarea {width: 440px;}
#searchsubmit {
	border: 1px solid #BBB;
	background: #EEE;
	font: normal 0.9em Verdana,sans-serif;
	padding: 2px 3px;
}

/* Seachform */
table.search {
	width: 100%;
	border-collapse: collapse;
}
.search td {vertical-align: center;}


/* ----------------------------------------
   Layout
------------------------------------------- */

/* Main */
#layout_wrapper {
	margin: 40px auto 0;
	width: 1024px;	
}
#layout_container {
	background: #FFF;
	padding: 0 5px;
}
#layout_edgetop, #layout_edgebottom {
	background: url('images/layout_edges.gif') no-repeat left top;
	display: block;
	height: 10px;	
	font-size: 0;
	line-height: 0;
}
#layout_edgebottom {background-position: left bottom;}

/* Site Title */
#site_title {
	background: #C5DEF0 url('images/site_title.jpg') repeat-x left top;
	padding: 6px 18px;
}
#site_title h1 {
	font: normal 2.4em sans-serif;
	letter-spacing: -1px;
}
#site_title h1,#site_title h1 a {color: #3C4A55;}
#site_title h1 a {text-decoration: none;}
#site_title h1 a:hover {color: #305A7A}
#site_title h2 {
	padding-top: 1.4em;
	font: normal 1.1em sans-serif;
	color: #679;
}

#top_separator {
	background: url('images/top_separator.gif') repeat-x left top;
	display: block;
	font-size: 0;
	height: 3px;
	line-height: 0;
}

/* Navigation */
#navigation {
	background: #A99D83 url('images/navigation.jpg') no-repeat left bottom;
	padding: 82px 10px 0;
}

/* Tabs */
#tabs ul {
	margin: 0;
	padding: 0;
}
#tabs li {
	display:inline;
	list-style:none;
}
#tabs a {
	background: url("images/tableftC.gif") no-repeat left top;
	float: left;
	font: bold 0.9em sans-serif;
	margin-right: 3px;
	padding-left: 4px;
	text-decoration: none;
}
#tabs a span {
	float: left;
	display: block;
	background: url("images/tabrightC.gif") no-repeat right top;
	padding: 5px 10px 5px 6px;
	color: #3C4A55;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float: none;}
/* End IE5-Mac hack */

#tabs a:hover span {color: #3C4A55;}
#tabs a:hover {background-position: 0% -42px;}
#tabs a:hover span {background-position:100% -42px;}

#tabs li.current_page_item a {color: #47A; background-position: 0% -42px;}
#tabs li.current_page_item a span {background-position:100% -42px;}

/* Main Layout */
#main_left {width: 780px;}
#main_right {width: 220px;}

/* Footer */
#footer {
	background: #DBD2B5 url('images/footer.gif') no-repeat left top;
	padding: 8px 12px 2px;
	font-size: 0.85em;
	color: #FAFCFF;
}
#footer .right {color: #FAFCFF;}
#footer .right a {
	color: #80745A;
	text-decoration: none;
}
#footer .right a:hover {
	color: #FFE;
	text-decoration: underline;
}


/* ----------------------------------------
   Miscellaneous
------------------------------------------- */

/* Images */
img.bordered {
	border: 1px solid #DDD;
	background: #FFF;
	padding: 5px;
}

/* Text */
.bold {font-weight: bold;}
.tright {text-align: right;}
.tcenter {text-align: center;}
.tright {text-align: right;}

/* Floats */
.left {float: left;}
.right {float: right;}

/* Clear */
.clear,.clearer {clear: both;}
.clearer,.spacer {
	display: block;
	font-size: 0;
	line-height: 0;
}

/* Icons */
span.comment {
	background: url('images/icon_comment.gif') no-repeat left center;
	padding-left: 18px;
}


/* ----------------------------------------
   Post, page
------------------------------------------- */

.post {
	margin-bottom: 5px;
	color: #444;
}
.post_title {
	background: #EBEBDD url('images/post/title.gif') no-repeat left top;
	padding: 6px 12px 5px;
}
.post_title h1 {font: bold 0.9em Verdana,sans-serif;}
.post_title h1 a {color: #444;}
.post_title h1 a:hover {
	color: #469;
	text-decoration: underline;
}
.post_title h1.left {width: 380px}
.post_date {
	color: #999;
	padding-top: 1px;
	font-size: 0.85em;
}
.post_metadata {
	margin-top: 5px;
	padding: 0 5px;
	background: #F5F5F5;
}
.post_metadata .content {
	border-top: 1px solid #E5E5E5;
	padding: 8px 5px 6px;
	font-size: 0.8em;
	color: #666;
}
.post_metadata .content a {color: #567;}
.post_metadata .content a:hover {color: #002;}

.post_body {
	background: #FFFFF1 url('images/post/body.gif') repeat-x left top;
	padding: 10px 10px 1px;
}
.post_body img {
	border: 1px solid #CCC;
	background: #FFF;
	padding: 3px;
}
.post_bottom {
	background: url('images/post/bottom.gif') no-repeat left top;
	display: block;
	height: 5px;
	font-size: 0;
	line-height: 0;
}
.post_search_text {
	font-size: 0.85em;
	padding: 2px 0;
}


/* ----------------------------------------
   Sidebar box
------------------------------------------- */

.box {margin-bottom: 5px;}
.box_title {
	background: #A89C82 url('images/box/title.gif') no-repeat left top;
	padding: 6px 10px 5px;
	font-weight: bold;
	font-size: 0.9em;
	color: #3C4A55;
}
.box_body {
	background: #DBD2B5 url('images/box/body.gif') repeat-x left top;
	padding: 8px 10px 1px;
	font-size: 0.9em;
}
.box_bottom {
	background: url('images/box/bottom.gif') no-repeat left top;
	display: block;
	height: 5px;
	font-size: 0;
	line-height: 0;
}

.box ul {
	margin-left: 0;
	border-bottom: 1px solid #D6D3C8;
}
.box li:first-child {border-top: none;}
.box ul li {
	list-style: none;
	padding: 4px;
	border-top: 1px solid #D6D3C8;
	border-bottom: 1px solid #EFECE1;
}
.box ul a {text-decoration: none;}
.box ul a:hover {text-decoration: underline;}

/* ----------------------------------------
   Widget
------------------------------------------- */

.widg {margin-bottom: 5px;width: 375px;}
.widg_title {
	background: #A89C82 url('images/widg/title.gif') no-repeat left top;
	padding: 6px 10px 5px;
	font-weight: bold;
	font-size: 0.9em;
	color: #3C4A55;
}
.widg_body {
	background: #DBD2B5 url('images/widg/body.gif') repeat-x left top;
	padding: 8px 10px 1px;
	font-size: 0.9em;
}
.widg_bottom {
	background: url('images/widg/bottom.gif') no-repeat left top;
	display: block;
	height: 5px;
	font-size: 0;
	line-height: 0;
}

.widg ul {
	margin-left: 0;
	border-bottom: 1px solid #D6D3C8;
}
.widg li:first-child {border-top: none;}
.widg ul li {
	list-style: none;
	padding: 4px;
	border-top: 1px solid #D6D3C8;
	border-bottom: 1px solid #EFECE1;
}
.widg ul a {text-decoration: none;}
.widg ul a:hover {text-decoration: underline;}


/* ----------------------------------------
   Widget Long
------------------------------------------- */

.widgl {margin-bottom: 5px;width: 760px;}
.widgl_title {
	background: #A89C82 url('images/widgl/title.gif') no-repeat left top;
	padding: 6px 10px 5px;
	font-weight: bold;
	font-size: 0.9em;
	color: #3C4A55;
}
.widgl_body {
	background: #DBD2B5 url('images/widgl/body.gif') repeat-x left top;
	padding: 8px 10px 1px;
	font-size: 0.9em;
}
.widgl_bottom {
	background: url('images/widgl/bottom.gif') no-repeat left top;
	display: block;
	height: 5px;
	font-size: 0;
	line-height: 0;
}

.widgl ul {
	margin-left: 0;
	border-bottom: 1px solid #D6D3C8;
}
.widgl li:first-child {border-top: none;}
.widgl ul li {
	list-style: none;
	padding: 4px;
	border-top: 1px solid #D6D3C8;
	border-bottom: 1px solid #EFECE1;
}
.widgl ul a {text-decoration: none;}
.widgl ul a:hover {text-decoration: underline;}

/* ----------------------------------------
   Lists
------------------------------------------- */

.nicelist {
	padding: 1px 0 0;
}
.nicelist ol {margin: 0;}
.nicelist ol li {
	list-style: none;
	padding: 8px 10px 1px;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #CCC;
}
.nicelist li.alt {background: #EED;}
.nicelist .body {padding-top: 5px;}
.nicelist .date {
	color: #888;
	padding-top: 4px;
	font-size: 0.85em;
}
.nicelist .date a {
	color: #567;
	text-decoration: none;
}
.nicelist .date a:hover {
	color: #002;
	text-decoration: underline;
}


/* ----------------------------------------
   Archives
------------------------------------------- */

.archive_title {font: normal 1.4em sans-serif;}
.archive_title a {text-decoration: none;}
.archive_title a:hover {text-decoration: underline;}
.archive_postinfo {
	font: normal 1em sans-serif;
	padding-bottom: 6px;
}
.archive_postinfo h2 {
font-size: 18px;
font-weight: 100;
padding: 35px 0 6px 0;
color: #3C4A55;
}


/* ----------------------------------------
   Comments
------------------------------------------- */

.comment_gravatar {width: 48px;}
.comment_gravatar img {padding: 2px;}
.comment_author {padding-top: 2px;}


/* ----------------------------------------
   Pagination
------------------------------------------- */

.pagenavigation {
	background: #DBD2B5 url('images/pagenav_top.gif') no-repeat;
	margin-bottom: 5px;
}
.pagenav_bottom {
	display: block;
	font-size: 0;
	line-height: 0;
	height: 5px;
	background: url('images/pagenav_bottom.gif') no-repeat;
}
.pagenav {
	font-size: 0.85em;
	padding: 5px 8px 0;
}
.pagenav a {
	color: #3C4A55;
	text-decoration: none;
}
.pagenav a:hover {
	color: #002;
	text-decoration: underline;
}


/* ----------------------------------------
   Width, height, margin, padding
------------------------------------------- */

.h5 {height: 5px;}
.p5 {padding: 5px;}
.p10 {padding: 10px;}
/***** посление новости на главной *****/
.last-news-date {
   padding: 3px 3px;
 float: right;
  font-style: italic;
  color: #959595;
  font-size: 80%;
}
.last-news-title {
  font-weight: bold;
  clear: both;
}
.last-news-mess {
  padding: 3px 3px;
}
/***** guestbook & feedback *****/
.error {
  border: 1px solid #F1008B;
  background-color: #FFDFF1;
  color: #FF3366;
  padding: 3px 10px;
}
.info{
  border: 1px solid #66CC00;
  background-color: #F0FFC4;
  color: #66CC00;
  padding: 3px 10px;
}
/****** форма обратной связи ******/
.feedback{
    border:0;
    width:100%;
}
.feedback td{ width:32%;}
.feedback input,.feedback textarea {
    width:100%;
    border: 1px solid #969696;
    color: #3E3E3E;
}
.feedback input:hover,.feedback textarea:hover{
    border-color: #000;
    color: #000;
}
/****** оформление гоствой ******/
#captcha{
  background-color: #FFFFFF;
  border: 1px solid #969696;
  display: inline;
  cursor: pointer;
}
#guestbook #captcha { margin: 0 0 -5px 0 !important; }
.error {
  border: 1px solid #F1008B;
  background-color: #FFDFF1;
  color: #FF3366;
  padding: 3px 10px;
}
.info{
  border: 1px solid #66CC00;
  background-color: #F0FFC4;
  color: #66CC00;
  padding: 3px 10px;
}
.guestbook{
  border-collapse: collapse;
  width:100%;
}
.guestbook TD{
  padding: 3px;
}
.guestbook input,.guestbook textarea {
    width:100%;
    border: 1px solid #969696;
    color: #3E3E3E;
}
.guestbook input:hover,.guestbook textarea:hover {
    border-color: #000;
    color: #000;
}
.gb_post{
  background-color: #EAEAEA;
  border: 1px solid #D3D3D3;
  padding: 3px;
  margin:5px 0;
  position: relative;
}
.gb_subj{
  font-weight: bold;
  border-bottom: 1px dashed #D3D3D3;
}
.gb_date{
  font-style: italic;
  color: #7F7F7F;
  padding-left: 5px;
  font-weight: normal;
  float: right;
  font-size: 80%;
}
.gb_author {
  color: #FF3366;
  padding-left: 20px;
  line-height: 20px;
  background-image: url(images/mail.png);
  background-repeat: no-repeat;
}
.gb_message{
  clear: both;
}
.gb_comment_link{
  background-image: url(images/comments.png);
  background-repeat: no-repeat;
  color: #FF3366;
  padding-left: 20px;
  line-height: 20px;
  margin-left: 10px;
}
.gb_comment{
  background-color: transparent;
  border: 1px dashed #D3D3D3;
  padding: 3px;
  margin:5px 0 5px 20px;
  position: relative;
}
.gb_nav a{
  border:1px solid #D3D3D3;
  background-color: #E8E8E8;
  text-decoration: none;
  padding:1px;
  margin: 1px;
  color: #000000;
}
.gb_nav a:hover{
  color: #F1008B;
  border-color: #F1008B;
}
.gb_nav a.current{
  font-weight: bold;
  color: #F1008B;
  border-color: #F1008B;
}