/* BEGIN LICENSE BLOCK
This file is part of Bead, a theme for Dotclear.

Author: Asahi
Contributor: Pierre Van Glabeke

Licensed under the GPL version 2.0 license.
A copy of this license is available in LICENSE file or at
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
END LICENSE BLOCK */

@import url(index.php?tf=layout.css);

/* GENERAL */

body {
 	background : #fee4e3 url("index.php?tf=img/fond_page.jpg") repeat-x;
 	font-size : 0.8em;
 	font-family : "lucida grande", "gill sans", arial, sans-serif;
}

#page {
 	background : #fee4e3 url("index.php?tf=img/fond_page.jpg") repeat-x;
}

#top {
	text-align : left;
	background: url("index.php?tf=img/bg.jpg") no-repeat center;
	}

.post {
  background: #f2c3c2;
  border: #943f3b thin solid;
  border-radius:calc(10px);
}

#blognav, #blogextra, #content {
  background: #fee4e3;
}

fieldset {
	border: none;
	display:block;
	margin:0;
	padding:0;
}

.post h3, .post h4 {
	clear: both;
}


/* LIENS */

a {
	color:#943f3b;
	text-decoration : underline;
	}

a:visited {
  color: #a64742;
}

a:hover {
  text-decoration: underline;
  color: #76436e;
}

/* TITRE ET NAV */

#top a, #top a:visited, #top a:hover {
  color: #943f3b;
  line-height: 0.3em;
  font-style: italic;
  text-decoration: none;
}

#prelude a {
  font-style: italic;
  text-decoration: underline;
  color: black;
}

#prelude a:hover {
  color: #943f3b;
}

/* BLOCS DROITE */

#sidebar h2 {
	color : #000;
	font-size:1.2em;
}

#sidebar h2:before {
	content: url("index.php?tf=img/titres.png");
}

#sidebar h3 {
	color : gray;
	font-size:0.7em;
	font-style: italic
}

#sidebar ul {
	margin: 0;
	padding: 0;
	border: none;
}
#sidebar li {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  display: block;
}
#sidebar ul ul {
	margin: 0;
	padding: 0;
	border: none;
}
#sidebar li li {
	display: list-item;
	margin: 0;
	padding: 0 0 0 15px;
	border: none;
}

#sidebar .tags ul {
  padding: 0;
}

#sidebar .tags li {
  display: inline;
  background-image: none;
  padding: 0;
}

#blognav li, #blogextra li {
  padding-left: 15px;
  background: transparent url("index.php?tf=img/li.png") no-repeat 0 3px;
}

#sidebar .categories li.category-current {
	font-weight: bold;
}
#sidebar .categories li.category-current li {
	font-weight: normal;
}
#sidebar img {max-width:100%;}

.dc-tags .tag0, .tags .tag0 { font-size: 85%; }
.dc-tags .tag10, .tags .tag10 { font-size: 90%; }
.dc-tags .tag20, .tags .tag20 { font-size: 95%; }
.dc-tags .tag30, .tags .tag30 { font-size: 100%; }
.dc-tags .tag40, .tags .tag40 { font-size: 105%; }
.dc-tags .tag50, .tags .tag50 { font-size: 110%; }
.dc-tags .tag60, .tags .tag60 { font-size: 115%; }
.dc-tags .tag70, .tags .tag70 { font-size: 120%; }
.dc-tags .tag80, .tags .tag80 { font-size: 125%; }
.dc-tags .tag90, .tags .tag90 { font-size: 130%; }
.dc-tags .tag100, .tags .tag100 { font-size: 135%; }

.dc-category #content-info p img {
  max-width:100%;
}
#subcategories {
	margin: 1em 0;
	padding: 0.5em;
}
#subcategories h3 {
	margin: 0;
}
#subcategories ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 20px;
	line-height: 1.4;
}
#subcategories li {
  padding-left: 15px;
  background: transparent url("index.php?tf=img/li.png") no-repeat 0 3px;
}
/* Billets */

/*code {
  display: block;
  font-family: courrier;
  padding: 0.2em 0.2em 0.2em 0.4em;
  border:  1px black solid;
  background-color: #DCDCDC;
}*/
code {
  font-family : Courier, Monospace, 'Courier New' ;
}
pre {
  padding : 20px;
  height : auto;
  overflow : auto;
  font-family : Courier, Monospace, 'Courier new' ;
  background : #f8f8f8;
  border : 1px dotted #dadada;
  border-width : 1px 0;
}
.day-date {
  margin: 0 0 0.3em 0;
  line-height: 0.3em;
  word-spacing: 0.5em;
  font-size: 0.7em;
  text-align: right;
}
.post-tags {margin:0;padding:0 0 0 10px;}
.post-title h2 {
  margin-top: 0;
  font-family : "Times New Roman", "Century Schoolbook L", Times, serif;
  text-decoration: none;
}
.post-excerpt img, .post-content img {
  max-width:100%;
}
.post embed, .post iframe {max-width:100%;}
.post-tags li {
  display: inline;
}

.post-tags li a {
  background: url("index.php?tf=img/tag.png") no-repeat;
  padding-left: 20px;
}

.footnotes {
  border-top: #943f3b thin dashed;
  border-bottom: #943f3b thin dashed;
  padding: 1em ;
}

.footnotes h4 {
  font-weight: bold;
  font-style: italic;
  color: black;
  font-size: 1em;
}

.post-info-co {
  text-align: right;
  padding: 0.6em 0 0.6em 1.5em;
}

.comment_count {
  padding-left: 16px;
  background: url("index.php?tf=img/commentaire.png") no-repeat;
}

.ping_count {
	padding-left: 16px;
  background: url("index.php?tf=img/retrolien.png") no-repeat;
}

.attach_count {
	padding-left: 16px;
  background: url("index.php?tf=img/attach.png") no-repeat;
}

.post-content blocquote {
  background: transparent url("index.php?tf=img/blockquote.png") no-repeat;
  padding-left: 2em;
  margin: 1em;
  font-style: italic;
}

cite:before { content: "\2014\0020"; }
cite { text-align: right; }

h5 {
  /*color: #a64742;*/
  font-weight: bold;
  font-size: 0.9em;
}

hr {
  width: 170px;
  height: 13px;
  background: url("index.php?tf=img/hr.png") no-repeat;
  border: none;
}

/* Formulaires */

#content h3:before {
  content: url("index.php?tf=img/titres.png");
}

#content form {
  background: #DCDCDC;
  border: #943f3b thin solid;
  padding: 1em;
  margin:20px 0 0 0;
}

input, textarea { border: #943f3b thin solid; }
input:focus, textarea:focus { background: #DCDCDC; }
p.field label { display: block; float: left; width: 10em; }
#comment-form .jstEditor {padding:0 0 0 10em;}
#comment-form .jstEditor textarea {border: #943f3b thin solid;width:100%;}
#comment-form .jstHandle {margin:0 0 0 13em;}
.form-help {
  font-size: 0.7em;
  font-style: italic;
  text-align: left;
  margin:0 0 0 13em;
}

#comments dd, #content dl {
    padding: 0.3em 0.8em;
}

#comments dd {
  border-bottom: thin dashed #a64742;
  margin-bottom: 0.8em;
}

dd[class~="me"] p {
  background: #f2c3c2;
  border-left: #943f3b medium solid;
  padding: 0.4em;
}

/* Messages d'erreur */
.error {
	border : thin solid red;
	background : #ffe7e7;
	padding : 0.5em;
	}
.error ul {
	padding-left : 2em;
	}
.error li {
	list-style-image : url("index.php?tf=img/titres.png");
	}

/* Clearers */

.post, .post-content, .post-excerpt, .read-it, .footnotes, .attachments,
.post-info-co, #comments, #footer, .clear {
    clear:both;
}