/*оформление поста*/
.post
{
margin-bottom: 15px;
}
.entry-title
{
background: url(../images/ds/line_2.png) no-repeat -150px bottom;
padding: 10px 0;
}

.entry-meta
{
background: url(../images/ds/line_2.png) no-repeat -150px bottom;
margin: 10px 0 0 0;
padding: 0 0 10px 0;
border: 0px solid red;
}

.entry-utility
{
background: url(../images/ds/line_2.png) no-repeat -150px top;
padding: 10px 0;
clear: both;
}

.entry-content, .entry-summary { 
padding: 12px 0;
border: 0px solid red;
}
/*оформление поста*/

/*боковые виджеты*/

/*облако тегов*/
.tagcloud
{
padding: 7px 0;
}

.xoxo
{
margin-bottom: 30px;
}
.xoxo,.xoxo li
{list-style:none;}

.xoxo li.widget-container
{
display: block;
margin: 20px 0 0 0;
}
	.xoxo ul li
	{
	display: block;
	margin-left: 3px;
	padding: 7px 0 7px 10px;
	background: url(../images/ds/li.png) no-repeat left 12px;
	text-shadow: 1px 1px 1px #fff;
	line-height: 1.3;
	}
/*боковые виджеты*/

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #ddd;
	padding: 6px;
}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #eee;
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #888;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}


/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
	margin-top: 20px;
}

#respond
{
margin: 20px 0;
text-shadow: 1px 1px 1px #fff;
clear:both;
background: url(../images/ds/line_2.png) no-repeat -150px top;
padding-top: 10px;
}

h3#comments-title,
h3#reply-title {
	margin-bottom: 0;
	padding:0;
	text-shadow: 1px 1px 1px #fff;
}

	h3#comments-title{color: #000;font: 24px Trebuchet MS, Arial, Helvetica;}
	h3#comments-title em{color: #525252;font: 18px Trebuchet MS, Arial, Helvetica;}
	h3#reply-title{color: #525252;font: 28px Trebuchet MS, Arial, Helvetica;}
	h3#reply-title a:link,h3#reply-title a:active,h3#reply-title a:visited,h3#reply-title a:hover{font-size: 22px;}



#respond label,.respond span
{
color: #525252;
font-size: 13px;
}

.comment-notes
{
color: #979797;
margin-top: 1px;
font-size: 12px;
padding-left: 2px;
}

.required
{
color: red;
text-shadow: 1px 1px 1px #fff;
}

.form-allowed-tags
{
color: #757575;
}

.form-allowed-tags code
{
color: #555;
}

#commentform input[type="text"] { 
	display:block;
	margin: 5px 0;
	padding: 7px;
	font-size: 12px;
	width: 40%;
	background: url(../images/ds/comment-inner-bg.png) repeat-x left top;
	border: 1px solid #fff;
	-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
	box-shadow: 1px 1px 0px 0px #ddd;
}

#commentform textarea { 
	display:block;
	margin: 5px 0;
	padding: 7px;
	font-size: 12px;
	width: 80%;
	height: 120px;
	background: #f6f5f5 url(../images/ds/comment-inner-bg.png) repeat-x left top;
	border: 1px solid #fff;
	-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
	box-shadow: 1px 1px 0px 0px #ddd;
}

#commentform input[type="submit"] { 
	display:block;
	margin: 5px 0;
	padding: 10px;
	font-size: 12px;
	cursor: pointer;
	background: url(../images/ds/comment-but-bg.png) repeat-x left center;
	border: 1px solid #fff;
	-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
	box-shadow: 1px 1px 0px 0px #ddd;
}

/*==========================================================*/
ol.commentlist
{
border: 0px solid green;
margin-top: 10px;
padding-right: 20px;
}

ol.commentlist li
{
margin: 15px 0;
text-shadow: 1px 1px 1px #fff;
}

	.comment-author
	{
	float: left;
	border: 0px solid blue;
	width: 60px;
	}
		.comment-author img
		{
		border: 1px solid #fff;
		padding: 5px;
		margin-top: 5px;
		}

		.comment-meta,.comment-meta a:link,.comment-meta a:hover,.comment-meta a:visited,.comment-meta a:active
		{
		font: italic 12px Georgia, "Times New Roman", Times, serif;
		}
		
	.comment-author a:link,.comment-author a:visited,.comment-author a:hover,.comment-author a:active
	{font-size: 11px;}

	
	.comment-meta{margin: 5px 0;}
		
		.fn,.fn a:link,.fn a:visited,.fn a:active,.says
		{
		font: 18px Trebuchet MS, Arial, Helvetica;
		color: #525252;
		text-decoration: none;
		font-style:normal;
		}
	
		.fn a:hover
		{
		color: #000;	
		}
	
		.comment-body p
		{
		color: #525252;
		line-height: 1.6;
		}
	
	.comment-arrow
	{
	margin-top: 10px;
	margin-left: -40px;
	width: 20px;
	height: 20px;
	position: absolute;
	border:0px solid red;
	background: url(../images/ds/comment-arrow.png) no-repeat right top;
	}
	
	.comment-body
	{
	width: 84%;
	padding: 10px 20px;
	float: right;
	background: #f6f5f5 url(../images/ds/comment-inner-bg.png) repeat-x left top;
	border: 1px solid #ddd;
	-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
	}
	
	.reply
	{
	float: right;
	}
	
ul.children
{
margin-left: 10%;
list-style:none;
}


ul.children li .comment-body{width: 82%;}
ul.children li ul.children li .comment-body{width: 80%;}
ul.children li ul.children li ul.children li .comment-body{width: 78%;}