/* layout */

html, body{
	margin: 0;
	padding: 0;
	text-align: center;
}

#page{
	width: 900px;
	margin: 0 auto;
	text-align: left;
}


#top{
	margin: 0;
	display: block;
}

#top h1{
	margin: 0;
}

#main{
	float: left;
	width: 640px;
}

#content{
	margin: 0 0 0 30px;
	padding: 1em 0 0 0;
}

.post{
	margin-bottom: 4em;
}

#sidebar{
	float: right;
	width: 240px;
	padding-bottom: 4em;
}

#sidebar div{
	margin: 0 30px 0 0;
	padding: 1ex 1em;
}

#footer{
	padding: 1ex 1em 1ex 1em;
	margin : 0;
	clear: both;
}

/* Les éléments HTML en général
-------------------------------------------------------- */
body{
	background: #b2afa3  url(img/page.png) repeat-y center top;
	color: #000;
	font-size: 80%;
	line-height: 1.6em;
	font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
	margin: 0;
	padding: 0;
/*	border-top: 10px solid #DDD; */
}

h1{font-size: 1.5em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
h5{font-size: 1.1em;}
h6{font-size: 1em;}

pre, code{
	font-size: 1.2em;
}

pre{
	width: 100%;
	overflow: auto;
	border: 1px solid #CCC;
}

fieldset{
	border: none;
}

.field label{
	display: block;
}

input,textarea{
	border: 1px solid #999;
}

textarea{
	width: 100%;
	font-size: 1em;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

a{
	color: #616161;
}

a:visited{
	color: #616161;
}

a:hover{
	color: #000;
}

.left{
	float: left;
	margin-right: 1em;
}

.right{
	float: right;
	margin-left: 1em;
}

/* La page
-------------------------------------------------------- */
#page{
	background: #ffffff url(img/page.png) repeat-y center top;
	color: inherit;
}

/* L'entête
-------------------------------------------------------- */
#top{
	height: 145px;
	background: #b2afa3 url(img/top.jpg) no-repeat left top;
}

#htitle{
    display: none;
	height: 80px;
	line-height: 80px;
	margin: 0 0 0 40px;
	padding-top: 20px;
	color: #616161;
}

#top h1 a{
	text-decoration: none;
	color: #616161;
}

/* Le prélude
-------------------------------------------------------- */ 
#prelude{
	background: transparent;
	color: #616161;
	text-align: center;
}

#prelude a{
	color: #616161;
	background: transparent;
}

#prelude a:hover{
	color: #000;
	background: transparent;
}

/* Le contenu
-------------------------------------------------------- */
.day-date{
	padding-left: 25px;
	margin-left: -30px;
	color: #616161;
	background: transparent url(img/day-date.png) no-repeat left center;
	font-style: italic;
}

.post-title{
	color: #2430a8;
	background: transparent;
	margin-bottom: 0;
}

.post-title a{
	color: #2430a8;
	background: transparent;
	text-decoration: none;
}

.post-title a:hover{
	color: #2f3ece;
}

.post-info{
	margin-top: 0;
	color: #616161;
	background: transparent;
	padding-bottom: 1ex;
	/*border-bottom: 1px solid #FC0;*/
}

.post-info a{
	color: #616161;
	background: transparent;
	text-decoration: none;
}

.post-info a:hover{
	color: #000;
}

.post-content{
  background: transparent url(img/bgshogi.png) no-repeat center 20px;
	text-align: justify;
}

.post-content blockquote{
	font-family: Georgia, serif;
	font-style: italic;
}

.post-info-co{
	text-align: right;
}

#trackbacks blockquote, #comments blockquote{
	border: 1px solid #EEE;
	margin: 1em 0;
	padding: 1ex 1em;
}

/* La barre de navigation
-------------------------------------------------------- */
#sidebar div{
	border-bottom: 1px solid #616161;
	color: inherit;
}

#sidebar div ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar h2, #sidebar h3{
	color: #2430a8;
	margin: 0 0 1ex 0;
}

#sidebar h3{
	font-size: 1em;
	margin: 0;
}

#sidebar div#search{
	background: transparent;
	color: inherit;
	line-height: 2.3em;
	margin-top: 20px;
}

#search fieldset, #search p{
	margin: 0;
	padding: 0;
}

#q{
	padding-left: 18px;
	background: transparent url(img/q.png) no-repeat left center;
}

#sidebar div#calendar{
	/*border-top: 1px solid #F0F0F0;*/
}

#sidebar div#calendar table{
	font-size: 0.8em;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}

#sidebar div#calendar table caption{
	margin: 0 auto;
}

#sidebar div#calendar table th{
	color: #2430a8;
	background: transparent;
}

#sidebar div#calendar table td{
	width: 14%;
	line-height: 2em;
	border: 1px solid #616161;
}

#sidebar div#calendar table td a{
	display: block;
	color: #2430a8;
	font-weight: bold;
	text-decoration: none;
}

#sidebar div#calendar table td a:hover{
	background: #DBB8DC;
	color: #2430a8;
}

#sidebar-extra {
  display: block;
  width: 100%;
  height: 145px;
  background: transparent url(img/koma.jpg) no-repeat center 20px;
}

/* Le pied de page
-------------------------------------------------------- */
#footer{
	margin: 0;
	padding: 1em;
	background: #ffffff url(img/page.png) repeat-y center top;
	color: #616161;
	font-size: .6em;
	text-align: center;
}

#footer a{
	color: #616161;
}

