 /* 
	Theme Name: Grey Magic
	Theme URL: http://www.goodwinpress.ru
	Description: Бесплатная тема для WordPress от Гудвина. Другие мои шаблоны - на <a href="http://www.goodwinpress.ru">GoodwinPress.ru</a>. 
	Author: Goodwin
	Author URI: http://www.wpbot.ru
	Version: 1.1 
		*/


/* с богом!*/
html, body, wrap, div, span, p, applet, object, iframe, h1, h3, h4, h5, h6, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-family: Tahoma, Arial, Verdana;
	line-height: 21px;
}

/*контейнер, фон */
body {
	background: #333333 url(images/bg.jpg);
	color: #000000;
	font-size: 12px;
	margin: 0px auto 0px;
	padding: 0px;
}
#wrap {
	width: 960px;
	margin: 10px auto 10px;
	padding: 0px;
	background: #ffffff url(images/vertical.gif)  top center repeat-y;
	border: double #e2e2e2;
}

/*форматирование и стиль*/
img {
	border-style: none;
}
a img {
	border: 0;
}
a {
	color: #000;
	text-decoration: none;
}
a:hover, a:active {
	color: #CC0000;
	text-decoration: underline;
}
a:visited {
	color: #888888;
	text-decoration: none;
}
p {
	padding: 0;
	margin: 0 0 10px 0;
	text-indent: 0px;
}
p a {
	color: #cc0000;
	text-decoration: underline;
}
p a:hover, p a:active {
	color: #888888;
	text-decoration: underline;
}
p a:visited {
	color: #ff9966;
	text-decoration: underline;
}
pre {
	margin: -10px 0 0 0;
	font-family: Tahoma, Arial, Verdana;
}
code {
	font: 12px 'Courier New', Courier, Fixed;
	background: #ececec;
}
blockquote {
	margin: 5px 0px 15px 20px;
	padding: 5px 20px 5px 20px;
	font-style: italic;
	border-left: 10px solid #960202;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
img.alignleft {
	margin: 5px 15px 7px 0;
}
.alignright {
	float: right;
}
img.alignright {
	margin: 5px 0 7px 15px;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	padding: 10px 4px 0px 4px;
	background: #f7f7f7 none;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-text {
	font-size: 10px;
	line-height: 17px;
	padding: 7px 5px;
	margin: 0;
}

/*шапка*/
#topbar {
	width: 960px;
	margin: 0px auto 0px;
	padding: 0;
	height: 35px;
	background: #fcecce url(images/top.gif) top center repeat-x;
}
.date {
	text-transform: uppercase;
	font-weight: bold;
	font-family: Arial, Tahoma, Trebuchet MS;
	text-shadow: 0 1px 0 #000;
	font-size: 10px;
	color: #000000;
	margin: 5px 0 0 10px;
	padding: 0px 0 0 0;
	float: left;
	width: 350px;
}
#header {
	width: 960px;
	margin: 0px auto 0px;
	padding: 0;
	background: #ffffff;
}
.logo {
	width: 960px;
	height: 120px;
	float: left;
	padding: 0px 0 0 0px;
	margin: 0px 0 0 0px;
	background: none;
}

/*навигация*/
#nav {
	width: 960px;
	height: 55px;
	margin: 0 auto 0;
	padding: 0;
}
#MainMenu {
	width: 960px;
	height: 38px;
	margin: 0 auto 0;
	padding: 0;
	font-weight: bold;
	float: left;
	font-family: Arial, Tahoma, Trebuchet MS;
	font-size: 14px;
	background: #cc0000 url(images/cat.gif) repeat-x;
	text-transform: uppercase;
}
#tab {
	margin: 0;
	top: 0;
}
#tab ul {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
#tab li {
	display: inline;
	float: left;
	margin: 0;
	padding: 0;
}
#tab a {
	color: #111;
	display: block;
	margin: 0px;
	padding: 10px 15px 15px 15px;
	text-decoration: none;
}
#tab a:hover {
	background-position: right bottom;
	color: #555555;
}
#SubMenu {
	height: 10px;
	margin: 0 auto 0;
	padding: 0;
	background: #fcecce url(images/top.gif) top center repeat-x;
}
#tab {
	line-height: 1.0;
	position: relative;
}
#tab ul {
	float: left;
	width:	100%;
	position: relative;
}
#tab li {
	float: left;
	list-style: none;
	z-index: 999;
}
#tab li.current ul {
	z-index: 999;
}
#tab li.sfHover ul, ul#tab li:hover ul {
	z-index: 1000;
}
#tab a {
	display: block;
	float: left;
	text-decoration: none;
}
#tab li ul {
	left: 0;
	position: absolute;
	top: -999em;
}
#tab li.sfHover a, #tab li.current a, #tab a:focus, #tab a:hover, #tab a:active {
	border-bottom: none;
}
#tab li:hover ul, body #tab li.current ul, ul#tab li.sfHover ul {
	top: 2.8em;
}
#tab li:hover li ul, #tab li.sfHover li ul {
	top: -999em;
}
#tab li li:hover ul, ul#tab li li.sfHover ul {
	top: 2.5em;
}
.superfish li:hover ul, .superfish li li:hover ul {
	top: -999em;
}
#tab li ul li a {
	color: #f4f4f4;
	margin: 0;
	font-size: 9px;
	text-decoration: none;
	text-shadow: 0 1px 0 #000000;
	padding: 25px 10px 10px 10px;
}
#tab li ul li a:hover {
	color: #cccccc;
}

/*левая и правая колонки, текстовые блоки*/
#left {
	float: left;
	width: 640px;
	margin: 0px;
	padding: 0;
}
#right {
	float: right;
	margin: 20px 10px 0px 0px;
	padding: 0;
}
.blok {
	margin: 0px;
	padding: 15px 20px 20px 25px;
}
.rblok {
	margin: 0 0 10px -10px;
	padding: 0px 20px 20px 0;
	background: url(images/hdiv.png) bottom center no-repeat;
}

/*подвал и его компоненты*/
#footer {
	width: 960px;
	margin: 0px auto 0px;
	padding: 0;
	height: 59px;
	background: #cc0000 url(images/cat.gif) repeat-x;
}
.credits {
	margin: 20px 0 0 25px;
	padding: 0;
	width: 650px;
	float: left;
}

/*заголовки*/
h1 {
	color: #cc0000;
	text-shadow: 0 1px 0 #fffdfd;
	font-size: 22px;
	font-family: Trebuchet MS, Arial, Verdana;
	font-weight: bold;
	margin: 6px 5px 18px 0px;
	padding: 0px 0px 0px 0px;
	line-height: 22px;
	letter-spacing: -1px;
}
h2 {
	color: #cc0000;
	text-shadow: 0 1px 0 #fffdfd;
	font-size: 22px;
	font-family: Trebuchet MS, Arial, Verdana;
	font-weight: bold;
	margin: 6px 5px 18px 0px;
	padding: 0px 0px 0px 0px;
	line-height: 22px;
	letter-spacing: -1px;
}
h2 a, h2 a:visited {
	color: #cc0000;
	text-shadow: 0 1px 0 #fffdfd;
	text-decoration: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
h2 a:hover {
	color: #000000;
	text-shadow: 0 1px 0 #fffdfd;
	text-decoration: none;
}
h3 {
	color: #000000;
	text-shadow: 0 1px 0 #fffdfd;
	font-size: 18px;
	font-family: Verdana, Trebuchet MS, Arial;
	font-weight: bold;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 2px 25px;
	line-height: 14px;
	letter-spacing: -1px;
	display: block;
}
h3 a, h3 a:visited {
	color: #cc0000;
	text-shadow: 0 1px 0 #fffdfd;
	text-decoration: none;
}
h3 a:hover {
	color: #000000;
	text-shadow: 0 1px 0 #fffdfd;
	text-decoration: none;
}

/*маркированные списки для левой и правой колонки*/
.blok ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px 0px 10px 0px;
}
.blok ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0 0 0 10px;
	background: url(images/li.gif) no-repeat 0 7px;
}
.blok ul li ul {
	list-style: none;
	display: block;
	padding: 0px 0px 0px 10px;
}
.blok ul li ul li {
	list-style: none;
	display: block;
	padding: 0px 0px 0px 10px;
	background: url(images/sub.png) no-repeat 0 0px;
}
.blok ol {
	margin: 0px;
	padding: 0px 0px 10px 15px;
}
.blok ol li {
	margin: 0px 0px 5px 5px;
	padding: 0 0 0 0px;
}
.rblok ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px 0px 10px 5px;
}
.rblok ul li {
	list-style-type: none;
	margin: 0px 0px 5px -15px;
	padding: 0 0 0 15px;
	background: url(images/li.gif) no-repeat 0 7px;
}
.rblok ul li ul {
	list-style: none;
	display: block;
	padding: 0px 0px 0px 10px;
}
.rblok ul li ul li {
	list-style: none;
	display: block;
	padding: 0px 0px 0px 15px;
	background: url(images/sub.png) no-repeat 0 0px;
}
.rblok ol {
	margin: 0px;
	padding: 0px 0px 10px 15px;
}
.rblok ol li {
	margin: 0px 0px 5px 0px;
	padding: 0 0 0 0px;
}

/*клипарт заголовков и метаданных*/
.title {
	background-image: url(images/wheel.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.star {
	background-image: url(images/star.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.comm {
	font-size: 1.6em;
	font-family: Arial, Tahoma, Trebuchet MS;
	margin-bottom: 10px;
	margin-top: -20px;
	color: #cc0000;
}
.rub {
	background-image: url(images/rub.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.tags {
	background-image: url(images/tags.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.arc {
	background-image: url(images/arc.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.meta {
	font-size: 12px;
	border-bottom: 1px dotted #999999;
	color: #666666;
	padding: 0 0 5px 25px;
	margin: 0 0 10px 0;
	background-image: url(images/meta.gif);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.meta2 {
	font-size: 12px;
	border-top: 1px dotted #999999;
	color: #666666;
	padding: 20px 0 20px 25px;
	margin: 0 0 20px 0;
	background-image: url(images/tags.png);
	background-position: 0px 20px;
	background-repeat: no-repeat;
}

/*прочее*/
.pagenavi {
	margin: 30px 0 10px 15px;
	float: left;
}
br.clear {
	clear: both;
}
.arsip li {
	float: left;
	width: 90px;
	list-style-type: none;
}
.clearfix {
	display: inline-block;
}

/*поиск*/
#searchform {
	float: left;
	margin-right: 0px;
	padding: 0px;
	overflow: hidden;
	display: inline;
}
#s {
    background:#fff;
	width: 184px;
	font-size: 10px;
	font-family: Arial, Tahoma, Trebuchet MS;
	color: #000000;
	text-transform: uppercase;
	font-weight: bold;
	padding: 4px;
	margin: 0 5px 0 0;
	display: inline;	
	border:1px solid #e6e6e6;
}
.related_post_title {
	font-size: 1.6em;
	font-family: Arial, Tahoma, Trebuchet MS;
	margin-bottom: 15px;
	margin-top: 30px;
	color: #cc0000;
}
.linkli li a {
	color: #cc0000;
	text-decoration: underline;
}
.linkli li a:hover, .linkli li a:active {
	color: #888888;
	text-decoration: underline;
}
.linkli li a:visited {
	color: #ff9966;
	text-decoration: underline;
}
/*комментарии*/
#commentform {
	width: 420px;
}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}
#commentform textarea {
	width: 400px;
	padding: 2px;
}
#commentform #submit {
	margin: 5px 0 0 0;
	padding: 0;
	width: 108px;
	height: 26px;
}
.alt {
	margin: 0;
	padding: 10px;
}
.commentlist {
	padding: 0;
	text-align: justify;
	margin: 0 20px 0 0;
}
.commentlist .comment {
	margin: 15px 0 0 0;
	padding: 10px 15px 10px 15px;
	list-style: none;
	border: 1px solid #e6e6e6;
	background: #fff;
}
.commentlist .alt {
	border: 1px solid #e6e6e6;
	background: #fdf5e7;
}
.commentlist .comment .comment {
	margin: 10px 10px 10px 10px;
	padding: 5px 15px 5px 15px;
	width: auto;
}
.commentlist p {
	margin: 10px 5px 10px 0;
}
.commentmet_data {
	width: 100%;
	overflow: hidden;
}
.commentmet_data td {
	vertical-align: top;
	text-align: left;
}
.commentmet_avatar {
	width: 82px;
	padding: 15px 0 0 0;
}
.commentmet_text {
	;
}
.commentmet_avatar img {
	border: 3px solid #c7c7c7;
}
#commentform p {
	margin: 5px 0;
}
.commentmet_replay {
	width: 100%;
	overflow: hidden;
}
.commentmet_replay a {
	float: right;
	display: block;
	text-indent: -9999px;
	text-transform: capitalize;
	background: url(images/reply.gif) no-repeat;
	width: 73px;
	height: 19px;
	text-decoration: none;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
	padding: 0 0 5px 0;
	color: #333;
	font-size: 12px;
}
.commentmetadata span {
	font-size: 12px;
}
.commentmet_text {
	font-size: 12px;
}
#respond {
	margin: 30px 25px 0 0;
}
#commentform {
	color: #000;
	font-size: 12px;
	width: 90%;
}
#commentform small {
	position: relative;
	top: -1px;
	font-size: 11px;
}
#cancel-comment-reply-link {
	font-size: 11px;
	color: #000;
	margin: 0 0 0 25px;
}
#commentform a, #commentform small {
	color: #000;
}
#commentform input {
	background: #fff;
	border: 1px solid #999999;
	font-size: 12px;
	padding: 4px;
	color: #000000;
}
#commentform textarea {
	background: #fff;
	border: 1px solid #999999;
	font-size: 12px;
	padding: 4px;
	margin: 5px 0 0 0;
	color: #000000;
	overflow: auto;
}
#commentform input#submit {
	background: none;
	border: 0;
}

	a.gpress:link, a.gpress:active, a.gpress:visited, a.gpress:hover	 {
			margin:10px 10px 0 0; padding:0;
			float:right;
			width:90px; height:45px;
			background:url(images/goodwin.png) no-repeat top center;
			display:block; text-indent:-9999px; float:left; outline:0;
		}

.kontext {
margin: -10px 0px 0px 0px;
}