/*
    Copyleft (c) 2007 Anton Kudris
    use this code everywhere you want. And please don't bother yourself with copyright bullshit

	...and yeah, I know this CSS it pretty ugly :) Maybe one day I'll made some cleanup

*/

#block_1
	{
	float: left;
	width: 20%;
	padding: 0px;
	margin: 0 0 0 0;
	}
* html #block_1
	{
	display: inline;
	}
#block_2
	{
	float: left;
	width: 60%;

	background-image: url('/i/bushido.gif');
	background-repeat: no-repeat;
	background-position: 50% 200px;

	}
#block_3
	{
	float: left;
	width: 20%;
	}

#mainmenu {
	width: 500px;
	/* padding-left: 150px; */
	padding-left: 15%;
	margin-bottom: 50px;
	}

#mainmenu div {
	background-image: url('/i/m2.gif');
	display: inline;
	padding: 0px;
	margin: 0px;
	color: #8291B3;
	word-spacing: 1.3em;
	}

#mainmenu div a {
	color: white;
	text-decoration: none;
	font: normal normal 100% Dejavu Sans, Tahoma;
}

#bl3spacer {
	padding-bottom: 100px;
}

#block_1 div {
	font: normal normal 90% Verdana,Arial;
	padding: 0.5em 0 0 1em;
	color: #2E384E;
}

#footer
	{
	clear: both;
	background-color: #F2F2F2;
	height: 100px;
	padding: 30px 0 0 21%;

}
#footer p {
	width: 650px;
	color: #93A0BD;
	font: normal normal 0.8em Tahoma, Verdana;
}

* html body {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
}

* html #footer
	{
	position: relative;
	}

div.blog_post, #search, #search p, div.blog_post p.text, div.blog_post p, div.arhive_text {
	color: #2E384E;
	font: normal normal 1.2em Georgia, Tahoma;
	line-height: 1.4em;
}

div.blog_post p, #search p {
	font-sizE: 1em;
	}


a {
	color: #8291B3;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

div.blog_post, div.archive_div, #search {
	padding: 1em 0 1em 0;
}

div.blog_post, #search {
  padding-bottom: 5em;
}

div.archive_div {
	border-bottom: 1px dotted #EFEFEF;
}

div.blog_post h3, div.blog_post h3 a, h3, h3 a {
	color: #90B382;
	font: bold normal 150% Arial,Verdana,Sans-serif;
}

div.blog_post h3, div.blog_post h3 a, div.archive_title {
  font: italic normal 150% Georgia,Trebuchet,Arial,Verdana,Sans-serif;
  padding: 0 0 0 0;
  margin: 0px;
  text-decoration: none;
}

div.blog_post h3 a {
	font-size: 1.2em;
	color: #D97516;
}

div.blog_post h3 {
	color: #D97516;
}

p.tags, div.blog_post p.date {
  padding: 0.1em 0 0 20px;
  margin: 0px;
  text-align: right;
  font-family: Verdana,Arial;
  font-size: 0.9em;
}

p.tags a {
	background-color: #DBEDDE;
	}

div.blog_post p.date {
	margin: 0 0 1em 0;
	padding-top: 0px;
}

div.clear {
  clear: both;
}

/*
	Posts archive section
*/

div#archive_div {
	text-align: left;
	padding: 0em 2em 2em 2em;
	margin: 0 1em 0 0;
}

ul#archive {
	padding: 0 1em 0 1.1em;
	list-style: url('/i/arch_closed.png');
	font-family: Verdana,Arial,Tahoma,sans;
}

.visible, ul.archive_visible {
	visibility: visible;
	display: block;
}

.hidden, ul.archive_hidden {
	visibility: hidden;
	display: none;
}

ul.archive_visible {

}

div#mhead {
	margin: 0px 0 0 50px;
	color:#D3D7CF;
	text-align: left;

}

div#mnav {
	text-align: left;
	margin-left: 410px;
	height: 30px;
}

div#mnav a {
	text-decoration: none;
	font: normal normal 100% Trebuchet,Arial,Verdana,Sans-serif;
	line-height: 2em;
	word-spacing: 2em;
}

h3.arch {
	color: #CC6600;
	font: normal bold 100% Trebuchet;
	padding: 1em 0 1em 0;
	border-bottom: 1px dotted silver;
	width: 85%;
	margin: 0 10% 2em 10%;
}

div.margintop4em {
	margin-top: 4em;
}

div.linktomain, div.linktomain a {
	text-align: center;
	font: normal normal 90% Trebuchet,Arial,Verdana,Sans-serif;
}

ul#archive li ul {
    padding: 0 0 0 1.5em;
    list-style: square;
    color: #CECECE;
    font-size: 0.9em;
}

div.load {
    text-align: left;
    color: #808080;
    font: normal normal 80% Trebichet;
    padding: 1em;
}
/*
	TAGS / BASH div
*/
div#tags h3, div#bashorg h3 {
	margin: 1.5em 0 0.5em 0;
}
div#tags, div#bashorg {
	margin-bottom: 2.5em;
	-moz-border-radius-topright: 1em;
	-moz-border-radius-bottomleft: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;

	background-color: #DBEDDE;
	text-align: left;
	padding: 1em 2em 2em 2em;
	margin: 0 1em 0 0;
}

div#tags a {
	text-decoration: none;
	font-family: Verdana;
}

div#tags a:hover {
	text-decoration: underline;
}

sub {
	font-size: 0.7em;
	color: #626F8C;
	font-family: Verdana;
}

div.bash-text {
    color: #626F8C;
    font: normal normal 80% Verdana, Arial,sans;
    padding: 0.5em 0 1em 0;
	border-bottom: 1px dotted #626F8C;
}


/*
 others
*/

p.text img, div.blog_post img, p img {
	padding: 1em;
	background-color: #FCFCFC;
	margin: 5px 0 5px 0;
}

/*
	LINKS div
*/

div#links {
	text-align: left;
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-bottomright: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;
	background-color: #DBEDDE;
	text-align: left;
	padding: 1em 2em 2em 2em;
	margin: 0 2em 0 1em;
}

div#links h3 {
	padding: 0px;
	margin: 0px;
}

div#links ul {
  list-style-type: none;
  padding: 1em 0 0 0;
  margin: 0px;
}

div#links ul li {
  padding: 0 0.5em 0 0;
  margin: 0 0 0.5em 0;
}

div#links ul li a {
  display: block;
  font: normal normal 100% Verdana,Arial;
}

div#links ul li span.time {
  font-size: 60%;
  color: #808080;
}

/*
	CONTACTS DIV
*/
#contacts {
	margin-bottom: 2.5em;
}
#contacts h3 {
	margin:0px 0 0.5em 0;
}
#contacts div {
	color: #2E384E;
	font: normal normal 90% Georgia, Times, Tahoma, Verdana;
}

#contacts1 a img, #contacts img {
	border: 0px;
	vertical-align: center;
}

div.nplinks, div.nplinks div a {
	margin-top: 2.5em;
	font: normal normal 100% Georgia, Times, Tahoma, Verdana;
	color: #90B382;
}

div#malink {
	text-align: center;
	margin: 1em 0 1em 0;
	font: normal normal 90% Trebuchet,Arial,Verdana,Sans-serif;
}
div#malink a {
	color: #90B382;
}



div.comments_div {
	-moz-border-radius: 0.3em;
	border-radius: 0.3em;
	padding: 1em;
	margin: 1em 0 0 0;
	background-color: #EFEFEF;
	font: normal normal 0.9em Arial, Verdama, Tahoma, sans-serif;
}

div.comments_div div.comment {
	margin: 0.3em 0 0.7em 0em;
	padding: 0.5em 0 0.8em 0;
	width: auto;
}

div.comment div.cmts_id, div.comment div.date, div.comment address {
	clear: left;
	float: left;
	width: 19%;
	overflow: hidden;
}

#comment_form {
	padding: 2em 0 1.5em 0;
	font-size: 0.8em;
	border-top: 40px solid #E6E6E6;
	border-bottom: 30px solid #E6E6E6;
}

#comment_form input[type="button"] { margin: 0.3em 0.5em 0 0; }
#comment_form input[type="button"] { padding: 0.3em; }


#comment_form textarea {
	width: 99%;
	padding: 0.5em 0 0.5em 0;

}

div.comment address {
	background-image: url('/i/icon_openid.gif');
	background-repeat: no-repeat;
	background-position: 3px 50%;
	padding-left: 22px;
	white-space: nowrap;
	font: normal normal 0.9em Arial;
}

div.comment address.yandex { background-image: url('http://yandex.ru/favicon.ico'); }
div.comment address.google { background-image: url('http://google.com/favicon.ico'); }
div.comment address.lj { background-image: url('http://livejournal.com/favicon.ico'); }

div.comment div.cmts_id {
	font: normal normal 0.6em Arial;
	color: #D7D7D7;

}
div.comment div.date {
	margin: 0 0 0 22px;
	font-size: 0.7em;
	color: #CDCDCD;
}
div.comment div.date:hover {
	color: #000000;
}


div.comment div.cmts_reply, div.comment div.cmts_text {
	margin-left: 25%;
}

div.cmts_reply {
	padding-top: 0.5em;
	font-size: 0.8em;
}

div.cmts_text blockquote {
	border-left: 2px dotted rgb(151, 9, 9);
	margin: 0pt;
	padding-left: 0.5em;
	color: rgb(77, 9, 9);
}

div.cmts_text blockquote blockquote {
	border-left: 2px dotted #9D461C;
	color: #9D461C;
}

textarea.cmts_text {
	width: 100%;
	height: 100px;
}


div.comment div.cmts_author {
	color: #CC6600;
}



div.cmts_show1, div.cmts_show2 {
	font: normal normal 90% Verdana,Arial;
	color: #CACACA;
	padding: 0.5em 0 0 0;
}

div.cmts_show1 {
	float: left;
}

div.cmts_show2 {
	float: right;
}

div.cmts_form_title {
	color: #ACAAAC;
	font: normal normal 90% Tahoma, Helvetica;
}


div.tag_preview {
	border: 2px solid #DBEDDE;
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-bottomright: 1em;
	position: absolute;
	background-color: #FFFFFF;
	width: 300px;
	top: 149px;
}

#auth_type, #openid_list {
	border: 2px solid #CECECE;
	border-top: 2px solid #DFDFDF;
	background-color: #FFFFEE;
	color: #808080;
	font-size: 0.8em;
	font-family: Arial;
	width: 200px;
	padding: 0 0.5em 0 0.3em;
	display: inline-block;
	cursor: pointer;
}
#auth_type {
	overflow: hidden;
}

#openid_prov_help, #openid_prov_title, #floatleft {
	clear:left;
	float:left;
	width:40%;
	text-align:right;
	padding: 0 1em;
}

#auth_type {
	background-image:url(/i/arch_opened.png);
	background-position:95% 50%;
	background-repeat:no-repeat;
}

#openid_list {
	position: absolute;
	z-index: 500;
	border: 2px solid #CECECE;
	border-top: none;
}

#openid_list img, #auth_type img  {
	margin: 0 0.3em 0 0;
	padding: 0;
	border: 0;
}

#openid_list div {
	border-bottom: 1px solid #EEEEEE;
	padding: 0.1em 0.5em 0.1em 0.3em;
}

#openid_list div:hover {
	background-color: navy;
	color: white;
}

/*
	Archive
*/

div.arch_preview {
	border-left: 2px solid #DBEDDE;
	border-top: 2px solid #DBEDDE;
	border-bottom: 2px solid #DBEDDE;
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-bottomleft: 1em;
	position: absolute;
	background-color: #FFFFFF;
	width: 500px;
}


div.archive_misc, div.bash-date {
	font-family: Verdana;
	font-size: 0.6em;
	text-align: left;
	color: #626F8C;
}

div.archive_misc {
	text-align: right;
	padding: 0 1em;
	}

div.archive_title {
	padding: 0 0.5em 0 1em;
}

div.bash-date {
	margin-top: 1.5em;
}

div.nplinks {
	display:none;
}

#about, #muz, #contacts {
	padding: 1em 2.5em 2em 2em;
	margin: 0 2em 0 1em;
}

#blog_posts, #search {
	margin: 0 3em 0 1em;
}
#contacts {
	margin-bottom: 2em;
	}

p.text img.openid, div.blog_post img.openid, p img.openid {
    margin: 0px;
    padding: 0px;
    border: 0px;
    background-color: none;
}

#block_1 div.twitter {
    font: normal normal 0.9em Verdana, Arial,sans;
        padding: 0 0 0.5em 1.5em;
	}

div.twitter span {
color: #808080;
}

#search_form {
    margin: 0 0.5em 1.5em 0;
}

#search div.linktomain {
    font-size: 70%;
}

#search div.blog_post {
    font-size: 90%;
}

#search div.blog_post strong {
    background-color: #FFFFCC;
}

a.rssfeed {
    margin-left: 3px;
    padding: 0 0 0 19px;
    background: url('/i/rss.png') no-repeat 0 50%;
    font: normal normal 0.9em Verdana, Arial;
}

.bash-disclaimer {
    padding: 0.8em 0.5em 0.5em 0;
    font: normal normal 0.8em Verdana, Arial;
}

.level0 { padding-left: 0em !important; }
.level1 { padding-left: 1.5em !important; border-left: 1px dotted #CACACA; }
.level2 { padding-left: 3em !important; border-left: 2px dotted #CACACA; }
.level3 { padding-left: 4.5em !important; border-left: 3px dotted #CACACA; }
.level4 { padding-left: 6em !important; border-left: 4px dotted #CACACA;}
.level5 { padding-left: 7.5em !important; border-left: 5px dotted #CACACA; }
.level6 { padding-left: 9em !important; border-left: 6px dotted #CACACA; }
