/****
	Colors:
	Red:	#f79637;
	Blue (Links sidebar): #88b070;

****/

/*
 General styles
*/

* {
	font-family: "Lucida Grande","Trebuchet MS", Tahoma, Verdana, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}

body {
	background: #e5e5e5 url(images/bg-top.gif) repeat-x;
	font: 0.77em/170% "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #333;
}

#wrap {
	width: 980px;
	overflow: hidden;
	position:relative;
	margin: 0 auto 0 auto;
	background: url(images/wrap.png) repeat-y center;
	padding: 0 10px 0 10px;

}


/* Links */
a, a:visited, a:hover, a:active { color: #f79637; font-weight: normal; text-decoration: none; }
a:hover { color: #f79637; text-decoration: underline; }
a:hover > img { text-decoration: none !important; }

.feed-leftalign { background: url(images/feed-icon-12x12-orange.png) no-repeat 0 50%; padding-left: 14px; }
a.trackback-leftalign { background: url(images/trackback-icon-12x12.png) no-repeat 0 50%; padding-left: 14px; }
/* Tags below the link of the comments feed */
.utwtags { background: url(images/tag-icon.gif) no-repeat 0 50%; padding-left: 14px; font-size:9pt; } 


/* Images */
/* align right, grey border */
a img { border:0; }
img.rb { border: 1px solid #aaa; float: right; margin: 0 0 5px 5px; padding: 4px; }


/* Header */
h1,h2,h3,h4 {
	font-weight: bold;
	font-family: "Trebuchet MS", "Lucida Grande", verdana, helvetica, arial, sans-serif;
}
h2 { font-size: 150%; }
h3 { font-size: 140%; }
h4 { font-size: 130%; }

/* Code, Blockquote etc. */
code {
	background-color: #eeeeee;
	padding: 5px;
	border: 1px solid #cccccc;
}

blockquote {
	border-left: 1px solid #aaaaaa;
	color: #666666;
	margin: 7px 10px 7px 10px;
	padding-left: 6px;
	font-style:italic;
}



/*
 Header
*/

#header {
	height: 100px;
	margin: 0; 
	padding: 0;
	background-image: url(images/top.png);
}

/* Header Logo */
#header #logo {
	height: 70px;
	width: 980px;
	margin: 0 auto 0 auto;
	font-size: 18px;
}

/* Uncomment text-ident and background for an logo image instead of the text */

	#header #logo h1 {
		height: 50px;
		margin: 0 0 0 0; padding: 20px 0 0 20px;
/*		text-indent: -77777px;*/ 
		line-height: 1em;
	}
	
	#header #logo h1 a {
/*		background: url(images/logo-205x36.gif) no-repeat 10px 50%;*/
		display: block;
		height: 100%; width: 100%;
		text-decoration: none;
		color: #fff;
	}
	
	#header #logo h1 a:hover {
		color: #ddd;
	}


/* Header Navigation */
#topnav {
	height: 29px;
	margin: 0px;
	width:970px;
	margin-left:auto;
	margin-right:auto;
	border-left: 1px solid #dbe8f7;
}

#topnav ul {
	padding: 0px;
	white-space: nowrap;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left:0px;
	
}

#topnav ul li {
	display: block;
	float:left;
	height: 29px;
	line-height: 29px;
	list-style-type: none;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	border-right: 1px solid #dbe8f7;
}

#topnav ul li.current_page_item a  {
	background-color:#88b070;
	border-top: 1px solid #dbe8f7;
}

#topnav ul li a {
	display: block;
	text-decoration: none;
	color:#fff;
	height: 29px;
	text-align: center;
	padding-left:20px;
	padding-right:20px;
}

#topnav ul li a:hover {
	color: #fff;
	background-color: #88b070;
	font-weight: bold;
}


/*
 Content
*/

#contentwrap {
	width: 565px;
	float: left;
	display:inline;
	margin: 15px 0 0 20px;	/* margin-top: same like #sidebar */
	padding: 0 15px 15px 0;
	border-right: 1px dotted #cdcdcd;
}

#contentwrap h1 {
	color: #4F4F4F;
	border-bottom: #FF8306 dashed 1px;
padding-bottom: 10px;
}
/* tag style */
.primary { padding-bottom:10px;}


/*
 Sidebar
*/

#sidebar {
	margin: 15px 0 0 0;	/* margin-top: same like #contentwrap */
	float: right;
	width: 365px;
}

#sidebar .sb-about {
	margin: 0 20px 10px 0;
	background-color: #f9f9f9;
	border: 1px solid #e5e5e5;
	padding: 10px;
	line-height: 1.4em;
}

#sidebar .sb-about p {
	margin-top: 5px;
	margin-bottom: 10px;
}

#sidebar1 {
	width: 190px; /*162*/
}

#sidebar2 {
	width: 130px; /*162*/
}


#sidebar1, #sidebar2 {
	float: right;
	line-height: 1.5em;
	margin: 3px 20px 0px 0px;
}

#sidebar #recentcomments {
	clear:both;
	margin: 10px 20px 0 0;
}

#sidebar #recentcomments ul li {
		font-size: 90%;
		list-style: none;
		border-bottom: 1px dotted #cdcdcd;
		line-height: 1.3em;
		padding: 5px 0 5px 0;
}

#sidebar #recentcomments ul li:hover, #sidebar #recentcomments ul li a {
		background-color: #f9f9f9;
		text-decoration: none !important;
}

#sidebar h2, #sidebar1 h2, #sidebar2 h2 {
	font-size: 130%;
	color: #88b070;
	font-weight: bold;
	margin: 0px;
	padding: 0 0 2px 0;
	border-bottom: 1px dotted #CDCDCD;
	list-style: none;
}

#sidebar1 p, #sidebar2 p {
	margin-bottom: 10px;
	margin-top: 10px;
}

#sidebar1 ul, #sidebar2 ul {
	list-style: none;
	margin: 0 0 0px 0;
	padding: 0;
}

#sidebar1 ul li, #sidebar2 ul li {
	display: inline;
}

#sidebar a { color: #88b070; }
#sidebar a:hover { color: #f79637; font-weight: bold; }

#sidebar1 ul li a, #sidebar2 ul li a {
	border-bottom: 1px dotted #d5d7d0;
	cursor: pointer;
	display: block;
	text-decoration: none !important;
	margin: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
	list-style: none;
}

#sidebar1 ul li a:hover, #sidebar2 ul li a:hover {
	background: #f9f9f9;
	border-bottom-color: #C3B9A2;
}

#sidebar1 ul#feed{
	margin: 0 0 12px 0;
	padding: 0px;
	list-style: none;
}
#sidebar1 ul#feed li{
	padding-top: 3px;
	padding-bottom: 3px;
	}

#sidebar1 #tcat_item{
	color: #FF8306;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 5px;
	display: block;
}


/*
 Footer
*/

#footer {
	clear: both;
	padding: 10px 0 10px 0;
	margin: 0 auto 0 auto;
	width: 900px; height: 50px;
	text-align: center;
	border-top: 1px solid #cccccc;
}

#footer p {
	color: #777;
	font-size: 0.8em;
}

#footer p a {
	color: #333;
}

#footer p a:hover {
	color: #88b070;
}

/* ОБЯЗАТЕЛЬНЫЕ */
#pimgb {
	background: #FFF;
	padding: 5px;
	margin-top: 9px;
	margin-bottom: 6px;
	width: 100%;
	overflow: auto;
}

#pimgb table {
	width: 100%;
        text-align: center;
}

#pimgb table td {
	padding: 9px;
	vertical-align: bottom;
}

.h {
	border-top: #FFF 4px solid;
	border-bottom: #AAAAAA 1.5px solid;
	font-size: 10pt;
	font-weight: bold;
	color: #FFFFFF;
	background: #88B070 url(images/pthbg.gif) bottom left repeat-x;
	height: 24px;
	text-align: center;
}

.p, .v {
	border-bottom: #AAAAAA 1px solid;
	font-size: 9pt;
	color: #666666;
	background: #F0F0F0;
	vertical-align: middle;
	width: 50%;
	height: 21px;
}

.p {
	border-left: #AAAAAA 1px dashed;
	font-weight: bold;
	text-align: right;
	padding-right: 1em;
}

.v {
	border-right: #AAAAAA 1px dashed;
	font-style: normal;
	text-align: left;
	padding-left: 1em;
}

.pptbl{
	width: 100%;
}

/* Стиль таблицы для главной */
#idxt, #cidxt {
	font: 14px "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, "Lucida Sans", "Lucida Sans Unicode", Helvetica, sans-serif;
	text-align: center;
	color: #000;
	width: 100%;
	font-weight: bold;
}

/* Стиль таблицы для категории */
#cidxt table td {
	padding: 18px;
	margin: 5px;
	padding-bottom: 9px;
}

#idxt table td {
	padding: 18px;
	margin: 5px;
	padding-bottom: 9px;
}

#idxt, #cidxt table {
	width: 100%;
        text-align: center;
}

#nBox {
	margin: 15px;
	padding-top: 9px;
}

#nItem h5 {
	font: 11px "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, "Lucida Sans", "Lucida Sans Unicode", Helvetica, sans-serif;
	color: #467AA7;
	margin: 5px;
	padding-bottom: 5px;
	font-weight: bold;
	border-bottom: 1px dashed #9B0000;
}

#nItem h5 a:hover {
	color: #F29450;
	background-color: #F8F8F8;
}

#mHead {
	cursor: pointer;
	cursor: hand;
	font-weight: bold;
	list-style-image: url(images/fold.gif);
}

#mHead ul li {
	display: inline;
}

#mList {
	list-style-image: url(images/list.gif);
	font-family: Verdana;
	font-size: 12px;
	padding-left: 9px;
	display: inline;
}

ul {
	margin-left:9px;
	padding-left:5px;
	display: inline;
}

li {
	margin-left:10px;
	padding-left:10px;
	display: inline;
}

.slx {
	border: 1px dashed #006699;
	padding: 3px;
	margin: 3px;
	background-color: #F5F4F3;
}