/*
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2008 Olivier Meunier and contributors
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# Theme Name : Bastienne
# Version: 1.3
# Author: Kozlika - http://www.kozlika.org
#
# -- END LICENSE BLOCK ------------------------------------
*/

/* ------------------------------------------------------------------
    PERSONNALISATIONS
------------------------------------------------------------------- */

@import "custom.css";

/* ------------------------------------------------------------------
    BASTIENNE CSS RULES
------------------------------------------------------------------- */

body {
	margin: 0 auto;
	padding: 0;
	background: #f5f5f5;
	font-family: Arial, sans-serif;
	font-size: 78%;
	color: #111;
	line-height: 1.3em;
}

* {
	margin: 0;
	padding: 0;
}

hr {
	color: #666;
	background-color: #666;
	height: 1px;
	border: 0;
	margin-bottom: 1em;
}

/* Hierarchie des titres */

h2, h3 {
	font-weight: normal;
	margin: 0 0 0.33em 0;
}

h3, h4, h5, h6 {
	font-weight: bold;
}

h1 {
	font-size: 2.2em;
	margin: 0;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.2em;
	margin: 0.8em 0;
}

h4 {
	font-size: 1em;
	margin: 1em 0;
}

h5 {
	font-size: 0.9em;
	margin: 1.25em 0;
}

h6 {
	font-size: 0.8em;
	margin: 1.75em 0;
}

/* Comportement des liens */

a {
	text-decoration: none;
	border-bottom: 1px dotted #790;
	color: #910352
}

a:link {
	color: #910352;
}

a:visited {
	color: #910352;
}

a:hover, a:active, a:focus {
	background: #cfef6c;
}

/* pas de bordure pour... */
#top h1 a, #prelude a, .post-title a, .pagination a, #navlinks a, #sidebar ul li a, img, img a {
	border: none;
}

.post-title a, .pagination a, #navlinks a {
	color: #06c;
}

/* Mention de la langue d'un lien */
a[hreflang]:after {
	content: "\0000a0[" attr(hreflang) "]";
	color: #666;
	background: transparent;
}

/* liens rss */
a.feed {
	padding-left: 16px;
	background: transparent url(images/feed.png) no-repeat;
}

/* Regles des balises html courantes */

p {
	margin: 0 0 1em 0;
}

form { /* formulaires */
	display: block;
	margin: 0;
	padding: 0;
}

q { /* citations */
    font-style: italic;
	background: #f1f1f1;
	padding: 0 4px;
}

cite {
	font-style: italic;
}

blockquote {
	background: #f1f1f1;
	margin: 1em 1em 1em 2em;
	padding: 1em 2em 0.33em 1em;
	border-left: 3px solid #aaa;
}

ul, ol { /* listes */
	margin-left: 1em;
	padding-left: 1em;
	margin-bottom: 1em;
}

sup {
	padding-left: 0.15em;
	font-size: 80%;
}

abbr, acronym {
	border-bottom: 1px dashed #999;
	cursor: help;
}

/* Presentation des lignes de code */

code, pre {
	font-family: "Courier New",monospace;
	font-size: 1em;
	color: #00134d;
}

pre {
	background: #f5f5f5;
	margin: 0.33em auto;
	margin-bottom: 1em;
	padding: 1em;
	text-align: left;
	white-space: normal;
	width: 90%;
	/* caché pour IE 5 Mac qui sait pas faire - Ne pas supprimer cette ligne  \*/
		white-space: pre;
		width: 90%;
		overflow: auto;
	/* Fin hack Ne pas supprimer cette ligne */
}

/* --------------------------------------------------------
STRUCTURE
-------------------------------------------------------- */

#page {
	text-align: left;
	max-width: 1160px;
	background: #fff;
	border: 16px solid #001a66;
	margin: 0 auto;
}

#top {
	margin: 0;
	border-bottom: 24px solid #001a66;
}

#top h1 {
	padding: 30px 0 0 270px;
	margin: 0;
	font-family: Baskerville, "New Baskerville", serif;
	font-size: 3em;
}

#prelude {
	margin: 0;
	padding: 0;
}

#wrapper {
	margin: 0;
	padding: 0;
}

#main {
	width: 100%;
	float: right;
	margin: 0 0 0 -240px;
}

#content {
	margin: 0 0 0 280px;
	padding: 0 30px 0 30px;
}

#sidebar {
	width: 240px;
	float: left;
	margin: 0;
	padding: 0;
}

#blognav, #blogextra {
	margin: 0;
	padding: 0 10px;
}

#footer {
	height: 2.5em;
	clear: both;
	text-align: center;
	margin: 0;
}

/* --------------------------------------------------------
    HAUT DE PAGE (+ footer)
-------------------------------------------------------- */

#top {
	background: #fff url(images/fleurettes.jpg) no-repeat 97% 50%;
	height: 86px;
}

#top h1 {
	padding-left: 10px;
}

#top h1 a {
	color: #6b2e50;
	font-weight: normal;
}

#top h1 a:hover {
	background: transparent;
	color: #910352
}

#prelude, #prelude a, #prelude a:hover {
	background: transparent;
	color: #bbb;
}

#prelude p {
	margin: 0;
	padding: 0;
}

#footer {
	background: #52b2e0;
}

#footer p {
	padding: 8px 30px;
}

/* ---------------------------------------------------------
    MAIN - BILLETS
---------------------------------------------------------- */

/* règles communes au content */

#content ul {
	list-style-type: none;
}

#content ul li {
	padding-left: 16px;
	background: transparent url(images/li.png) no-repeat 0 0.3em;
}

#content ul li ul li {
	padding-left: 14px;
	background: transparent url(images/li-li.png) no-repeat 0 0.3em;
}

/* billets */

.post {
	margin-top: 1em;
	margin-bottom: 3em;
	padding: 0;
	width: 98%;
}

.day-date {
	color: #06c;
}

.post-title {
	color: #06c;
	background: transparent url(images/post.png) repeat-y 0 50%;
	padding-left: 18px;
}

.odd .post-title { /* titres des billets impairs */
	background: transparent url(images/post-odd.png) repeat-y 0 50%;
}

.read-it, .post-info {
	margin-bottom: 0;
}

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

.read-it a, .post-info a, .post-info-co a {
	color: #666;
}

.post-excerpt, .post-content {
	text-align: justify;
	font-size: 1.05em;
}
.post-excerpt p img, .post-content p img {
  max-width:804px;
}
.post h3, .post h4, .post h5, .post h6 {
	text-transform: uppercase;
	color: #666;
	margin-top: 1.5em;
}

.post-info, .post-info-co {
	font-size: 0.9em;
}

.post-info {
	margin: 0 0 1em;
}

.footnotes h4 {
	width: 200px;
	padding-top: 4px;
	border-top: 1px solid #910352;
	text-transform: capitalize;
	font-weight: bold;
	margin-top: 2em;
	color: #666;
}

/* --------------------------------------------------------
    COMMENTAIRES ET PINGS
-------------------------------------------------------- */

#pings, #comments {
	font-size: 1em;
	color: #222;
}

#pr {
	background: #06c;
	font-weight: bold;
	color: #fff;
	padding: 6px 20px;
}

#comments h3, form h3, #pings h3 {
	margin-top: 3em;
	margin-bottom: 2em;
	color: #06c;
	padding-top: 36px;
	background: transparent url(images/pfleurettes.jpg) no-repeat center top;
}

#comments dt, #pings dt {
	margin-top: 2em;
	margin-bottom: 1em;
	font-weight: bold;
	color: #666;
}

#comments dt a:link, #pings dt a:link, 
#comments dt a:visited, #pings dt a:visited {
	color: #666;
}

.comment-number, .ping-number {
	font-size: 1.1em;
	padding: 1px 2px;
	background: #fc0;
}

.odd .comment-number, .odd .ping-number {
	background: #d9ff52;
}

#ping-url {
	color: #06c;
	margin-bottom: 2em;
}

#comments-feed {
	margin-top: 1.5em;
	text-align: center;
}

#comments form {
	padding: 1em;
	border: 1px solid #ddd;
}

#comments dt.me, #comments dd.me, #comments dt.me a:link, #comments dt.me a:visited {
	color: #06c;
}

/*-----------------------------------------------------------
	Formulaires
-------------------------------------------------------- */

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

input, textarea {
	font-size: 1.2em;
	border: 1px solid #999;
}

input[type], textarea[name] {
	background: #f5f5f5;
}

input[type=submit], input[type=reset] {
	font-size: 1em;
	font-weight: bold;
	background: #06c;
	color: #fff;
}

input[type=submit]:hover {
	background: #fff;
	color: #06c;
}

textarea {
	width: 90%;
}

p.field, .form-help {
	margin: 0.5em 0 0 0;
}

p.field label {
	display: block;
	margin: 1.5em 0 0 0;
	padding-bottom: 0.5em;
}

/* ---------------------------------------------------------
MENU
---------------------------------------------------------- */

#sidebar {
	padding-top: 0.5em;
	font-size: 0.92em;
	color: #001a66;
}

#blognav div, #blogextra div {
	margin: 0;padding: 4px 8px;
}

#blognav div div, #blogextra div div {padding: 0;}

#sidebar h2 {
	font-size: 1.1em;
	color: #06c;
	padding-top: 0.5em;
	margin-top: 1em;
	font-weight: bold;
}

#sidebar h3 {
	font-size: 1em;
	font-weight: bold;
}

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

#sidebar ul ul {
	margin: 0;
	padding: 0 0 0 15px;
	border: none;
}
#sidebar li li {
	padding: 0 0;
	border: none;
}

#sidebar img {max-width:204px;}

#sidebar .categories li.category-current {
	font-weight: bold;
}
#sidebar .categories li.category-current li {
	font-weight: normal;
}

#topnav {
	font-size: 1.25em;
	padding: 0.25em 0 0 0;
	margin-top: 0;
	font-weight: bold;
}

#topnav span {
	display: none;
}

#topnav li {
	padding-top: 5px;
	padding-left: 20px;
}

li.topnav-home {
	background: transparent url(images/li-home.jpg) no-repeat 0% 80%;
}

li.topnav-arch {
	background: transparent url(images/li-arch.jpg) no-repeat 0% 80%;
}

/* -----------------------------------------------------
    TAGS
-------------------------------------------------------- */

/* dans le sidebar */

.tags ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.tags ul li {
	margin: 0;
	padding: 0 8px 0 0;
	display: inline;
}

.tags ul li a {
	padding: 0;
	margin: 0;
}

.tags .tag0 {
	font-size: 75%;
}

.tags .tag10 {
	font-size: 80%;
}

.tags .tag20 {
	font-size: 90%;
}

.tags .tag30 {
	font-size: 100%;
}

.tags .tag40 {
	font-size: 110%;
}

.tags .tag50 {
	font-size: 120%;
}

.tags .tag60 {
	font-size: 130%;
}

.tags .tag70 {
	font-size: 140%;
}

.tags .tag80 {
	font-size: 150%;
}

.tags .tag90 {
	font-size: 160%;
}

.tags .tag100 {
	font-size: 170%;
}

.syndicate ul {
	list-style-type: none;
}

/* dans les billets */

#content ul.post-tags * {
	margin: 0;
	padding: 0;
}

#content ul.post-tags {
	list-style: none;
	display: block;
	padding: 0;
	margin-left: 0;
}

#content ul.post-tags li, span.arch-tag {
	display: inline;
	margin: 0 0.6em 0 0;
	padding: 0 0 0 14px;
	background: transparent url(images/tag.png) no-repeat left center;
}

#content ul.post-tags li:after {
	content: ',';
}

#content ul.post-tags li:last-child:after {
	content: '';
}

#content ul.post-tags li a {
	color: #666;
	border: none;
}

/* Les pages tags et tag */

.dc-tags .content-inner ul {
	list-style-type: none;
	line-height: 200%;
	font-size: 110%;
}

.dc-tags .content-inner ul li, .dc-tags #content .content-inner ul li a {
	color: #655;
}

.dc-tags #content ul li {
	background: none;
}

.dc-tags #content .tag0 {
	font-size: 100%;
}

.dc-tags #content .tag10 {
	font-size: 110%;
}

.dc-tags #content .tag20 {
	font-size: 120%;
}

.dc-tags #content .tag30 {
	font-size: 130%;
}

.dc-tags #content .tag40 {
	font-size: 140%;
}

.dc-tags #content .tag50 {
	font-size: 150%;
}

.dc-tags #content .tag60 {
	font-size: 160%;
}

.dc-tags #content .tag70 {
	font-size: 170%;
}

.dc-tags #content .tag80 {
	font-size: 180%;
}

.dc-tags #content .tag90 {
	font-size: 190%;
}

.dc-tags #content .tag100 {
	font-size: 200%;
}

/* Catégories */

.dc-category #content-info p img {
  max-width:745px;
}
#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;
}

/* --------------------------------------------------------
    BLOCS COMMUNS DANS PAGES SPECIFIQUES
-------------------------------------------------------- */

#navlinks {
	margin-bottom: 3em;
}

.dc-post .post-title {
	color: #001a66;
	font-size: 2em;
	line-height: 95%;
}

#content-info {
	padding: 1em 4em 1px 4em;
	background: #c4eb47;
	color: #555;
	margin-bottom: 2em;
	-moz-border-radius: 24px;
}

/* Error messages
-------------------------------------------------------- */

.error {
	border: 1px solid #333;
	background: #ccc;
	padding: 0.5em;
}

.error ul {
	padding-left: 20px;
}

.error li {
	list-style: square;
}

.center {
	text-align: center;
}

/* Classes pour utiliser dans les billets
------------------------------------------------------ */

.right {
	text-align: right;
}

.petites-cap {
	font-size: 0.82em;
	text-transform: uppercase;
}

.petit {
	font-size: x-small;
}

/* ---------------------------------------------------
    PAGES SPECIFIQUES
-------------------------------------------------------*/

/*** couleurs selon mode ***/

.dc-home #page, .dc-home #top {
	border-color: #c4eb47;
}

.dc-home #footer {
	background: #c4eb47;
}

.dc-category #page, .dc-tags #page, .dc-tag #page, .dc-category #top, .dc-tags #top, .dc-tag #top {
	border-color: #c69;
}

.dc-category #footer, .dc-tags #footer, .dc-tag #footer {
	background: #c69;
}

.dc-post #page, .dc-post #top {
	border-color: #52b2e0;
}

.dc-post #footer {
	background: #52b2e0;
}

.dc-archive #page, .dc-archive-month #page, .dc-archive #top, .dc-archive-month #top {
	border-color: #fc0;
}

.dc-archive #footer, .dc-archive-month #footer {
	background: #fc0;
}

/* présentation pages archives */

.dc-archive .content-inner {
	font-size: medium;
	line-height: 140%;
}

.dc-archive .content-inner h3 {
	clear: both;
	float: left;
	width: 200px;
	font-size: 4em;
	margin: 0;
	padding: 0;
	color: #ddd;
	line-height: 100%;
}

.dc-archive .content-inner ul {
	margin: 0 0 60px 200px;
	padding: 0;
	border-left: 8px solid #ddd;
}

.dc-archive #content .content-inner ul li, .dc-archive-month #content li, .dc-archive #content .content-inner ul li a, .dc-archive-month #content li a {
	background-image: none;
	color: #666;
}

/* ---------------------------------------------------
    NE PAS OUBLIER
--------------------------------------------------- */

/* les clearers */
.post, .post-content, .footnotes, .attachments, .post-info-co, #comments {
	clear: both;
}
