/*
 * Template RougeCiel for CommunityServer
 * Conversion by Thomas Bolon  - http://www.coldwire.net/
 *
 * Original author (dotclear theme):
 * Maurice Svay - http://www.svay.com/web/dotclear/
 *
 * Distributed under the terms of the GPL
 */
 
/* Layout
********************************************/
body{
	text-align: center;
}

#page{
	position: relative;
	width: 850px;
	margin: 0 auto;
	background: #fff;
	color: inherit;
	
	text-align: left;
}

#top{
	position: relative;
	height: 368px;
}

#top h1{
	position: absolute;
	top: 200px;
	left: 35px;
	height: 30px;
	width: 180px;
}

#prelude{
	position: absolute;
	width: 850px;
	top: 0;
	left: 0;
}

#main{
	width: 610px;
	float: right;
}

#content{
	margin: 0 20px 0 10px;
}

#sidebar{
	width: 200px;
	margin-left: 25px;
}

/* Global style
********************************************/
html, body{
	margin: 0;
	padding: 0;
}

body{
	background: #999;
	color: #000;
	font-family: Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
	font-size: 0.8em;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Trebuchet MS", sans-serif;
}

h2{font-size: 1.2em; margin: 1em 0;}
h3{font-size: 1em; margin: 0.8em 0;}
h4{font-size: 1em; font-weight: normal}

a:link{color:#000; background:transparent;}
a:visited{color:#844; background:transparent;}
a:hover{color:#000; background:transparent;}
a[hreflang]:after {content: "\0000a0[" attr(hreflang) "]"; color:#999; background:transparent;}
a img{border: none;}

abbr, acronym{
	border: none;
	background: transparent url(../images/dotted.png) repeat-x bottom;
	cursor : help;
}

code, pre, kbd {
	font-family:"Courier New", Courier, monospace; font-size : 1em;
}

pre {
overflow: scroll;
width: 100%;
}
html>body pre {
overflow: auto;
width: auto;
}

fieldset{
	border: none;
}

.field label{
	display: block;
	cursor: pointer;
	cursor: hand; /* pour IE */
}

input, textarea{
	border: 1px solid #999;
	background: #FCFCFC;
	/* -moz-border-radius connu pour ne pas etre valide */
	-moz-border-radius: 4px;
}

textarea{
	width: 99%;
}

.left{
	float: left;
	margin: 0 1em 1em 1em;
}

.right{
	float: right;
	margin: 0 1em 1em 1em;
}

/* Header
********************************************/
#top{
	background: #5A1018;
}

#top h1{
	line-height: 15px;
	margin: 0;
	font-size: 1em;
	text-align:center;
}

#top h1 a{
	text-decoration: none;
	color: #C30;
	background: transparent;
}

#prelude{
	color: #CD5C5C;
	background: transparent;
	text-align: center;
	margin: 0;
}

#prelude a{
	color: #CD5C5C;
	background: transparent;
	text-decoration:none;
}

#prelude a:hover{
	color: #F0E68C;
	background: transparent;
}

/* Post
********************************************/
#content{
	color: #222;
	background: transparent;
}

.post{
	margin-top: 20px;
}

.day-date{
	display: none;
}

.post-title{
	padding-left: 20px;
	background: #FFF url(../images/sstar.png) no-repeat left;
	background-position: 0 0.1em;
	color: #000;
	margin-bottom: 0;
}

.post-title a{
	color: #000;
	background: transparent;
	text-decoration: none;
}

.post-info{
	padding-left: 20px;
	margin-top: 0;
	color: #666;
	background: transparent;
}

.post-info a{
	color: #666;
	background: transparent;
}

.post-content p{
	text-align: justify;
	/*overflow: auto;*/
}

.post-content img {

}

.post-align-left
{
  float: left;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
}

.post-align-right
{
  float: right;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.post-content ul{
	list-style-image: url(../images/puce.png);
}

.post blockquote{
	font-style : italic;
	border-left : 5px solid #999;
	padding-left : 1em;
}

.post blockquote p{
	width: auto;
}

.post-info-co{
	clear: both;
	text-align: right;
	font-size: 0.8em;
	border: 1px solid #E0E0E0;
	background: #FFF url(../images/postinfo.png) repeat-x;
	color: inherit;

	margin-top: 0.5em;
	margin-bottom: 3em;
	padding: 0.5ex;
	/* -moz-border-radius connu pour ne pas etre valide */
	-moz-border-radius: 5px;
}

.post-info-co a{
	color: #222;
	background: transparent;
	text-decoration: none;
}

.post-permalink {
	background-image: url(../images/heure.png);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 12px;
}

.post-comments {
	background-image: url(../images/bulle.png);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 12px;
}

/* Trackbacks et commentaires
********************************************/

#trackbacks, #comments, #postToolbar {
	margin-top: 4em;
}

#trackbacks blockquote, #comments blockquote{
	background: #F5F5F5;
	color: inherit;
	border: 1px dotted #AAA;
	margin: 0.5ex 0 1em 0;
	padding: 1ex;
	overflow: auto;
}

#trackbacks blockquote p, #comments blockquote p{
	margin: 1ex 0;
}

#comments .avatar {
	float: left;
	margin-right: 1ex;
}

#comments h4.title {
	padding: 0;
	margin: 0 0 1em 0;
	font-style: italic;
}

#comments .footer {
	margin: 2em 0 0 0;
	font-style: italic;
}


.comment-info{
	margin-bottom: 0;
}

/* Sidebar
********************************************/
#sidebar{
	background: #FFF url(../images/menu.png) repeat-x;
	color: #666;
}

#sidebar div{
	/* aurait du etre #sidebar > div */
	margin: 10px 10px 2em 10px;
}

#sidebar h2{
	margin: 0 0 1ex 0;
}

#sidebar ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#sidebar a{
	text-decoration: none;
}

#sidebar li a{
	display: block;
	color: #666;
	background: transparent;
}

#sidebar li a:hover{
	color: #333;
	background: transparent url(../images/curseur.gif) repeat-y right; /* Bling Bling No Flash */
}

#sidebar ul li:first-child{
	/* :fisrt-child selector ne fonctionne pas dans IE */
	border-top: 1px solid #CCC;
	padding: 0.5ex 0;
}

#sidebar ul li{
	border-bottom: 1px solid #CCC;
	padding: 0.5ex 0;
}

#search p{
	text-align: center;
	margin: 0;
}

#search input{
	width: 15%;
}

#search input#q{
	width: 70%;
}

#calendar table{
	color: #666;
	background: transparent;
	margin: 0 auto;
	/* Desole pour la taille de fonte en pixel, mais IE craint trop */
	font-size: 10px;
	text-align: center;
}

#calendar table td a{
	color: #444;
	font-weight: bold;
}

/* Footer
********************************************/
#footer{
	clear: both;
	margin: 0;
	padding: 2em 0 1em 0;
	background: #FFF;
	text-align: center;
}

#footer a{
	text-decoration: none;
	color: #999;
	background: transparent;
}
