html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote,
pre, form, fieldset, table, th, td {
	margin: 0; padding: 0;
}

* html {
	filter:gray;
}

html {
	height:100%;
}

body {
	font:0.9em/1.4em Arial, Helvetica, sans-serif;
}

img {
	border:0;
}

a {
	outline:none;
}

#light {
	width:136px;
	height:138px;
	position:absolute;
	top:0px;
	left:0px;
	z-index:9999;
	display:none;
}

#overlay {
	position:fixed;
	width:100%;
	height:100%;
	z-index:10000;
	background:#000;
	display:none;

	opacity:0.7;
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}

#color-flower {
	position:absolute;
	z-index:10001;
	display:none;
}

#color-flower p {
	position:absolute;
	color:white;
	margin:-10px;
}

#color-flower ul {
	list-style:none;
}

#color-flower li {
	width:27px;
	height:27px;
	overflow:hidden;
	position:absolute;
	display:none;
	background:url("img/lang-trans.png") no-repeat;
}

#color-flower li.red {
	background-position:-27px;
	margin:33px 0 0 80px;
}

#color-flower li.sky {
	background-position:-81px;
	margin:61px 0 0 30px;
}

#color-flower li.sea {
	background-position:-108px;
	margin:33px 0 0 13px;
}

#color-flower li.violet {
	background-position:-54px;
	margin:61px 0 0 62px;
}

#color-flower li.gold {
	margin:6px 0 0 62px;
}

#color-flower li.green {
	background-position:-135px;
	margin:6px 0 0 30px;
}

#color-flower li a {
	display:block;
	width:100%;
	height:100%;
	text-decoration:none;
	text-indent:100px;
}

#wrapper0 {
	padding:50px 0 20px 0;
	margin:0 20px;
	position:relative;
	overflow:hidden;
}

#wrapper {
	position:relative;

	min-width:930px;
	max-width:1210px;

	margin:0 auto;
}

#middle {
	width: 100%;
	overflow: hidden;
	position: relative;
}

#content {
	width: 70%;
	float: right;
	padding: 0 2%;
}

#content a:hover {	text-decoration:none;
}

* html #content {width: 68.8%}
*+html #content {width: 68.8%}

#content div.navigation {	margin:15px 0;
}

#content div.navigation ul {	list-style:none;
	font-size:1.6em;
	text-align:center;
}

#content div.navigation li {	display:inline;
	margin:0 10%;
}

#sidebar {
	float: left;
	width: 22%;
	position: relative;
	padding: 0 2%;
}

#sidebar .logo {
	width:214px;
	height:214px;
}

#sidebar .logo a {
	display:block;
	height:100%;
	opacity:0;
	font-size:0.4em;
}

#sidebar .copyright {
	margin:60px 30px;
}

#sidebar .copyright .avatar {
	border:1px solid #777;
	margin:0 10px;
}

#sidebar .copyright p {
	margin:10px 0;
}

#sidebar .copyright a:hover {
	text-decoration:none;
}

#top {
	width: 100%;
	position: relative;
	height:60px;
}

#top .menu {
	float:left;
	width:85%;
}

#top .menu ul {
	list-style:none;
}

#top .menu li {
	float:left;
	width:18%;
	overflow:hidden;
	margin-right:2%;
}

* html #top .menu li {width:17.8%; margin-right:1%;}
*+html #top .menu li {width:17.8%;}

#top .menu li a {
	text-decoration:none;
	background:url('img/menu-inact.png') no-repeat center left;
	padding-left: 15px;

	z-index: 10;
	position:relative;
	display:block;
}

#top .extra {
	float:right;
	width:15%;
}

#top .extra a {
	display:block;
	text-decoration:none;
	font-size:0.9em;
}

#top .extra .chip {
	width:46px;
	height:46px;
	text-align:center;
	float:left;
}

#top .extra .chip a {
	padding:12px 0;
}

#top .extra .lang {
	width:27px;
	height:27px;
	text-align:center;
	float:left;
	margin:33px 0 0 0;
}

#top .extra .lang a {
	padding:2px 0;
}

#portfolio {	overflow:hidden;
	zoom:1;
}

#portfolio div.items {	zoom: 1;
	word-spacing: -0.25em;
}

#portfolio h1
{
	line-height:1.4em;
	font-size:1.8em;
	margin:10px 0;
}

#portfolio div.item {
	/*float:left;*/
	width:31%;
	margin:15px 1%;
	font-size:0.9em;
	text-align:center;

	display: -moz-inline-box; display: inline-block; *zoom: 1; *display: inline; /* фаза 1 — добавляем inline-block */
	word-spacing: normal; /* фаза два — восстанавливаем убранный пробел в блоках */
	vertical-align: top; /* IE6 некорректно позиционирует без этого */
}

#portfolio .item img {
	behavior:url("pngbehavior.htc");
}

#portfolio .item p a:hover {
	text-decoration:none;
}

#content .pages {
	clear:both;
	list-style:none;
	text-align:center;
}

#content .pages li {
	display:inline;
	font-size:1.6em;
	margin:0 8px;
}

#content .pages li a:hover {
	text-decoration:none;
}

#publication .item {
	margin:10px 0;
}

#publication p.info {
	font-size:0.8em;
	margin:-6px 0 0 0;
}

#publication p {
	margin:15px 0;
}

#publication h1,
#publication h2,
#publication h3,
#publication h4
{
	line-height:1.4em;
}

#publication h1 {
	font-size:1.8em;
}

#publication h2 {
	font-size:1.4em;
	margin:20px 0 6px 0;
}

#publication h3 {
	font-size:1.3em;
	margin:20px 0 6px 0;
	font-weight:normal;
}

#publication h4 {
	font-size:0.9em;
	margin:20px 0 6px 0;
}


#publication a:hover {
	text-decoration:none;
}

#publication ul,
#publication ol {
	margin:10px 0;
	padding:0 0 0 40px;
}

#publication blockquote {
	font-size:0.8em;
	margin:10px 0;
	padding:0 0 0 15px;
}

* html #publication blockquote {margin-left:10px; padding-left:10px}
*+html #publication blockquote {margin-left:10px; padding-left:10px}


#publication table {
	font-size:0.8em;
	width:100%;
	margin:10px 0;
	border-collapse:collapse;
}

#publication table.wrongright {	border:0 !important;
	margin:0;
	border-collapse:separate;
}

#publication caption {
	text-align:right;
	margin:10px 0;
	font-style:italic;
}

#publication th {
	padding:10px 5px;
	font-size:1.2em;
}

#publication td {
	padding:2px 5px;
	vertical-align:top;
}

#publication table.wrongright td {	border:0 !important;
	padding:0;
	width:50%;
	padding-left:10px;
}

#publication table.wrongright td:first-child {	padding-left:0;
	padding-right:10px;
}

#publication table.wrongright td p {	margin:0;
}

#publication input.text {
	font-size:1.3em;
	width:400px;
	padding:0 3px;
}

#publication input.submit {
	font-size:1.3em;
}

#comments {
	margin:25px 0;
}

#comments a:hover {
	text-decoration:none
}

#comments h3 {
	font-size:1.4em;
	margin:20px 0 6px 0;
	line-height:1.4em;
}

#comments ol {
}

#comments ul {
	list-style:none;
	margin:0;
	margin-left:20px;
	padding:0;
}

#comments li {
	margin:20px 0;
}

#comments li div.comment-body {
	padding:5px 10px;
}

#comments cite {
	font-weight:bold;
	font-style:normal;
}

#commentform p {
	margin:10px 0;
}

#commentform p label {
	font-size:0.8em;
}

#commentform input.submit {
	padding:3px;
	margin:0 auto;
	display:block;
	font-size:1.3em;
	cursor:pointer;
}

#sidebar .tip {
	margin-top:30px;
	font-size:0.9em;
	padding-top:40px;
}

#sidebar .tip h2 {
	margin:5px 0;
	line-height:1.2em;
	font-size:1.8em;
}

#sidebar .tip .more {
	text-align:right;
}

#sidebar .tip .more a:hover {
	text-decoration:none;
}

#blog {
	margin:20px;
	position:relative;
	overflow:hidden;
	zoom:1;
}

#blog .item {
	width:29%;
	float:left;
	padding:0 2%;
}

#blog a:hover {
	text-decoration:none;
}

#blog h2,
#blog h3 {
	margin:10px 0;
	line-height:1.2em;
}

#blog h2 {
	font-size:1.8em;
}

#blog h3 {
	font-size:1.4em;
	font-weight:normal;
}

#blog p.info {
	font-size:0.8em;
	margin:10px 0;
}

#blog p.postmetadata {
	margin:5px 0;
}

#footer {
	position: relative;

	border-top:1px solid #ccc;
	margin:40px 20px 0 20px;
	padding-top:10px;
	font-size:0.8em;
	overflow:hidden;
}


input#s {
	width:20%;
}

#footer div.search {
	float:left;
	width:20%;
}

#footer div.search label.screen-reader-text {
	position:absolute;
	font-size:0.95em;
	margin-left:5px;
}

#footer div.copyright {
	width:60%;
	float:left;
	text-align:center;
}

#footer div.copyright a:hover {
	text-decoration:none;
}

* html #footer div.copyright {width: 59.9%}
*+html #footer div.copyright {width: 59.9%}


#footer div.counters {
	float:left;
	width:20%;
	text-align:right;
}

input#s {
	border:0;
	background:none;
	font-size:0.95em;
	width:120px;
	padding:3px;
}

/*#searchform label.screen-reader-text {
	position:absolute;
	font-size:0.95em;
	margin-left:5px;
}*/

input#searchsubmit {
	width:11px;
	height:17px;
	border:0;
	margin:0 5px;
	cursor:pointer;
	text-indent:20px;
	padding:0;
}

.clear {
	clear:both;
	overflow:hidden;
	height:0;
}

#achtungie {
	padding:15px;
	text-align:center;
}

#achtungie a {	color:white;
}