/*
Theme Name: IwamiNetsuke
Theme URI: 
Description: 
Author: Sergey Osipov
Author URI: � 2009, http://osipovnetsuke.com.
*/
/*div {
  border: 1px red solid;
}*/


body {
	font-size: 90%;
	font-family: Verdana, Sans-Serif;
	color: #333333;
	background: #012853 url(images/bg.jpg) repeat;
	}	

a:link, a:visited {
	color: #402d1e;
	text-decoration: underline;
	font-weight: bold;
	}	

a:hover, a:active {
	color: #000;
	text-decoration: underline;
	}

h1 {margin: 65px 0 0px 175px;
	padding: 0;
	color: #000;
	}

h1 a:link, h1 a:visited {
        color: #000;
        text-decoration: none;
}

h1 a:hover, h1 a:active {
        color: #907861;
        text-decoration: none;
}

h2 {
	font-family: Trebuchet MS, Sans-Serif;
	font-weight: bold;
	letter-spacing: 0px;
	margin: 0;
	padding: 0;
	color: #000;
	}

h2 a:link, h2 a:visited {
        color: #000;
        text-decoration: none;
        font-weight: bold;
}

h2 a:hover, h2 a:active {
        text-decoration: none;
        color: #907861;
}

h3 {
	font-size: 130%;
	font-weight: bold;
	margin: /*10px 0 8px 12px*/0;
    padding: 16px 0 0 32px;
    color: #907861;
	}

h3.comments {
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0 8px 0px;
	padding: 0;
	color: #907861;
	}
	
h4 {
	font-weight: bold;
	font-size: 11px;
	line-height: 11px;
	margin: 0;
	padding: 0;
	color: #000;
	}	

#container {
	width: 80%;
	margin: 0px auto;
        margin-top: 18px;
        padding: 0px;
}
#header-container {
  background: #9b8462 url(images/header_line.jpg) repeat-x 5px 5px;
        /*border-top: 5px #907861 solid;
        border-left: 5px #907861 solid;
        border-right: 5px #907861 solid;*/
}

#header {
        height: 183px;
	padding: 0px 0 0 24px;
	background: transparent url(images/header.jpg) no-repeat top left;
        border-top: 5px #907861 solid;
        border-left: 5px #907861 solid;
        border-right: 5px #907861 solid;
}

#header h1 span {
	display: none;
	}

#header h1 {
  display: block;
  width: 550px; height: 95px;
  background: url(images/netsuke_header.gif)  no-repeat  top left;
}


#header h2 {
	font: 11px Verdana, Sans-Serif;
	letter-spacing: -1px;
	font-weight: normal;
	margin: 0px 0 3px 220px;
	padding: 0;
	color: #555;
	}
#header h2 span {
	display: none;
	}
#navbar-container {
  background: #3f3120 url(images/nav_line.jpg) repeat-x;
}

#navbar {
	height: 43px;
	margin: 0px 0 8px 0;
	padding: 0px;
	background: transparent url(images/nav.jpg) no-repeat top left;
        border-bottom: 5px #907861 solid;
        border-left: 5px #907861 solid;
        border-right: 5px #907861 solid;
}

#navbarlist {
	height: 28px;
	float: left;
	margin: 0px;
	padding: 10px 0 0 168px;
	letter-spacing: 1px;
	list-style: none;
}

#navbarlist li {
	display: inline;
	margin: 0px;
	padding: 0 20px 0 0;
}
/* Ссылки верхнего меню */
#navbarlist a:link, #navbarlist a:visited {
	font-size: 16px;
	color: #907861;
	text-decoration: none;
	letter-spacing: -1px;
	font-weight: none;
}

#navbarlist a:hover, #navbarlist a:active {
	text-decoration: none;
	color: #e0dbbb;
}



.bodyline	{ background-color: #faf4d4; border: 5px #907861 solid; padding: 15px 10px 0px 10px;
    background-image: url(images/bg2.jpg);
}

#footer {
	margin: 0px;
	padding: 0px 0 20px 0;
	color: #ffffff/*295ba2*/;
    background-color: #907861;
}

#footer ul {
	margin: 0px;
	padding: 15px 0 0 0px;
	font: 11px Verdana, Sans-Serif;
	letter-spacing: -1px;
	list-style: none;
	text-align: center;
}

#footer ul li {
	display: inline;
	margin: 0px;
	padding: 0 15px 0 0;
}

#footer a:link, #footer a:visited {
	color: #dbd2b1;
	text-decoration: underline;
}

#footer a:hover, #footer a:active {
	color: #fff;
	text-decoration: underline;
}

#content {
        width: 100%;
	margin: 0px 0 20px 0;
	padding: 0px;
	line-height: 16px;

	}

.pagenav { list-style:none; }

.blog {
	margin: 0 0 20px 0;
	padding: 0px 0px 0 0px;
	}

.article {
	margin: 0px 0 0px 0;
	padding: 0px 0 5px 0;
	}

.article p {
	margin: 5px 0 5px 0;
	padding: 0;
	}

.article img { 
     padding: 0; margin: 0 5px 8px 5px;
      border: #907861 1px solid;
      }


.article img.alignleft { 
                float: left;
                margin: 3px 3px 3px 0;
                }

.article img.alignright { 
                 float: right;
                 margin: 0 3px 3px 3px;
                 }


.spacer {   padding: 6px 0 0 0;
	    border-bottom: 1px solid #907861;
            text-align: right;
            clear: both;
            text-transform: lowercase;
            }
.postmetadata {
	font-family: verdana, arial, sans-serif; 
	font-size: 9px;
	margin: 0px 0 0px 0;
	padding: 0px 0 0px 0px;
        background: #f7f5e9;
	border-top: 1px solid #907861;
	border-bottom: 1px solid #907861;
	}

.sidenav {
	font-size: 11px;
	padding: 0px;
	margin: 0px 0 15px 0;
	/*border: 5px solid #e9f2ff;*/
	background: transparent url(images/sidebg.jpg) repeat-y top left;
	}

.menutop {
  width: 100%; height: 35px;
  background: url(images/menu_top.jpg) no-repeat;
}

.menubottom {
  width: 100%; height: 45px;
  background: url(images/menu_bottom.jpg) no-repeat;
}

	
.ad {
	text-align:center;
	}

#loginbox {
	font-size: 11px;
	padding: 0px;
	margin: 0px 0 15px 0;
	border: 1px solid #907861;
	background: #f7f5e9;
	}

#searchform {
        margin-bottom: 15px;
	}

#clear {
	clear: both;
	margin: 0px;
	padding: 0px;
}

.clear {
	clear: both;
	margin: 0px;
	padding: 0px;
}

#footinfo {
        padding: 15px 0 0 40px;
        margin: 0px;
}

#footer p {
	margin: 0;
	padding: 0;
	text-align: left;
	}



#commentcontainer {
	padding: 10px 40px 0px 40px;
	margin: 0 0 40px 0px;
	float: left;
        background: #dbd2b1;
	border: 1px solid #907861;
}
	
#commentform input, #commentform textarea {

	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
        width: 100%;

	}

	

.commentlist li {

	font-weight: bold;
        background: #f2efde;
        margin-bottom: 8px;
	border: 1px solid #907861;
	}



.commentlist cite, .commentlist cite a {

	font-weight: bold;

	font-style: normal;

	font-size: 1.1em;

	}



.commentlist p {

	font-weight: normal;

	line-height: 1.5em;

	text-transform: none;

	}

#commentform input
{
	background-color: #f7f5e9;
	border: 1px solid #907861;
	color: #333333;
	width: 170px;
	margin: 5px 5px 1px 0;
	padding: 2px;
}

#commentform textarea
{
	background-color: #f2efde;
	border: 1px solid #907861;
	color: #333333;
	width: 100%;
	padding: 2px;
}

#commentform #submit
{
	background: #907861;
	border-top: 1px solid #4b3829;
	border-left: 1px solid #4b3829;
	border-right: 1px solid #2a2014;
	border-bottom: 1px solid #2a2014;
	color: #f9f3d3;
	float: left;
}


#commentform p {

	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;

	}



.commentmetadata {

	font-weight: normal;

	}

	

#leavereply {

	text-align: left;

	padding: 20px 0 0 0;

	}



small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {

	color: #777;

	}

	

code {

	font: 1.1em 'Courier New', Courier, Fixed;

	}



acronym, abbr, span.caps

{

	font-size: 0.9em;

	letter-spacing: .07em;

	}

	

#archiveheader {

	padding: 0 0 20px 0;

	}

	

#google {

	font: 10px verdana, sans-serif;

}



.yahoo {

	width: 385px;

	height: 20px;

	font: 10px verdana, sans-serif;

}



	

/* End Typography & Colors */

	

	

	





/* End Structure */





/* Begin Lists



	Special stylized non-IE bullets

	Do not work in Internet Explorer, which merely default to normal bullets. */

.sidenav a:link, .sidenav a:hover, .sidenav a:visited {
        color: #000;                                                /* Ссылки бокового меню */
        margin-bottom: 5px;
	}

.sidenav li {
	list-style: none;
	padding: 0;
}

.sidenav ul {
	margin: 5px 0 15px 20px;
	list-style: none;
	padding: 0;
}

.sidenav ul li {
	list-style-image: url('images/icon.gif');
	margin: 0 0 0 35px;
        color: #d7e7fe;
	}
	
#loginbox ul {
	margin: 5px 0 15px 20px;
	list-style: none;
	padding: 0;
}

#loginbox ul li {
	line-height: 13px;
	list-style-image: url('images/icon.gif');
	padding-bottom: 1px;
	margin: 0 0 0 15px;
	}
	
.tabs {

	float: left;

	margin-right: 10px;

	line-height: 20px;

}



#navcontainer {

	width: 705px;

	height: 25px;

	padding: 0;

	margin: 0;

	}







/* End Entry Lists */







/* Begin Form Elements */



.entry form { /* This is mainly for password protected posts, makes them look better. */

	text-align:center;

	}



select {

	width: 130px;

	}



#commentform input {

	width: 180px;

	padding: 2px;

	margin: 5px 5px 1px 0;

	}



#commentform textarea {

	width: 450px;

	padding: 2px;

	}



#commentform {

	margin: 0;

	float: left;

	}

	

#submit {

	float: left;

	}

	

.dropdown {

	margin: 0;

	font: 10px Verdana, Sans-Serif;

	background: #e8e8e8;

}

	

/* End Form Elements */







/* Begin Comments*/

.alt {

	margin: 0;

	padding: 0px;

	}



.commentlist {

	padding: 0;

	text-align: justify;

	}



.commentlist li {

	margin: 15px 0 3px;

	padding: 5px 10px 3px;

	list-style: none;

	}



.commentlist p {

	margin: 10px 5px 10px 0;

	}



#commentform p {

	margin: 5px 0;

	}



.nocomments {

	text-align: center;

	margin: 0;

	padding: 0;

	}



.commentmetadata {

	margin: 0;

	display: block;

	}

/* End Comments */







/* Begin Various Tags & Classes */

acronym, abbr, span.caps {

	cursor: help;

	}



acronym, abbr {

	border-bottom: 1px dashed #999;

	}



blockquote {

	margin: 15px 30px 0 10px;

	padding-left: 20px;

	border-left: 5px solid #e5effe;

        color: #9ac0f9;

	}



blockquote cite {

	margin: 5px 0 0;

	display: block;

	}



.center {

	text-align: center;

	}



hr {

	/*display: none;*/

	}



a img {

	border: none;

	background: none;

	}



.navigation {

	display: block;

	margin-top: 10px;

	margin-bottom: 20px;

	}

/* End Various Tags & Classes*/



.g {display: block;
  width: 165px; height: 165px; float: left;
  text-align: center; /*margin: 0 5px 5px 0;*/ vertical-align: middle;
}
.g img {
  margin: 0; padding: 0; margin-top: auto; margin-bottom: auto;
}


  

  .corners {
  	margin: 0px;
	padding: 0px;
}