/* ***** BEGIN LICENSE BLOCK *****
 * This file is part of DotClear.
 * Copyright (c) 2004 Maurice Svay and contributors. All rights
 * reserved.
 *
 * DotClear is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * DotClear is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with DotClear; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * ***** END LICENSE BLOCK *****
 *
 * Contributor(s):
 *  Maurice Svay
 */

/* Ce fichier définit le style visuel pour les différents éléments du blog.
 * Dans l'ordre, vous trouverez les règles qui définissent l'apparence pour:
 * - les éléments HTML en général
 * - la page
 * - l'entête
 * - le prélude
 * - le contenu
 * - la barre de navigation
 * - le pied de page
 *
 * L'agengement des blocs est défini dans le fichier layout.css
 * Pour mettre la barre de navigation à gauche, décommentez l'appel à 
 * layout-gauche.css
 */

/* Les éléments HTML en général
-------------------------------------------------------- */
html, body{
	margin: 0;
	padding: 0;
	text-align: center;
}

body{
	background: url('_img/fond-couleur.gif') repeat-y;
	background-position: top right;
	background-color: #fff;
	color: #000;
	font-size: 80%;
	line-height: 1.6em;
	font-family: Lucida Grande, Tahoma, sans-serif;
	font-family: Cambria,Georgia,serif;
	border-top: 5px solid #f0f0f0;
}

h1, h2, h3, h4, h5, h6{
	font-family: Cambria, Georgia, serif;
}

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;
}

form {
	margin: 0;
	padding: 0;
}
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: #000;
}

a:visited{
	color: #663;
}

a:hover{
	color: #636;
}

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

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

/* Le layout
-------------------------------------------------------- */
#layoutcontenu {
	background: url('_img/fond-gauche.gif') #FFF repeat-y;
	background-position: top right;
	padding: 0 40px 0 0;
}
#layoutsidebar {
	background: url('_img/fond-droite.gif') #FCF4E4 repeat-y;
	background-position: top left;
}
 
/* Le contenu
-------------------------------------------------------- */
#main {
	width: 500px;
	text-align: justify;
}

/* L'entête
-------------------------------------------------------- */
#top h1{
	text-align: center;
	margin: 60px 150px 60px 0;
	padding: 0;
}
#top h1.elections {
	text-align: left;
	margin: 20px 0 40px 0;
}

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

/* Le prélude
-------------------------------------------------------- */ 
#prelude{
	position: absolute;
	display: none;
	visibility: hidden;
}

/* Le blog
-------------------------------------------------------- */
.day-date{
	font-family: Cambria,Georgia,serif;
	font-size: 130%;
	font-weight: bold;
	font-variant: small-caps;
	text-align: right;
	color: #777;
	margin: 0 0 2.5em 0;
	padding: 0 40px 0 0;
}

.post{
	margin-bottom: 4em;
}

.post-title{
	margin-bottom: 0;
}

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

.post-info, .post-info-co{
	color: #aaa;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	background: transparent;
	margin: 0;
	margin-bottom: 0;
	padding: 0;
}

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

.post-content{
	font-size: 120%;
	text-align: justify;
}

.post-content p {
	margin: 0 0 6px 0;
}

.post-content img {
	border: solid 1px #863;
}

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

.post-content .lirelasuite {
	font-weight: bold;
	text-align: left;
	margin-bottom: 0;
}
.post-content .lirelasuite a {
	color: #d44;
}

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

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

.post-list .post.cat-notes-de-lecture {
	padding-left: 64px;
	background: url('http://michele-delaunay.net/_img/bloc-guillemet.gif') no-repeat;
	background-position: 20px 2px;
}
.post-list .post.cat-notes-de-lecture h2 {
	font-size: 120%;
	margin: 0;
	padding: 0;
}
.post-list .post.cat-notes-de-lecture .post-content p {
	font-style: italic;
	font-size: 90%;
	/*display: inline;*/
	margin: 0;
	padding: 0; 
}
.post-list .post.cat-notes-de-lecture .lirelasuite {
	margin-left: 5px;
}

.post-list .post.cat-vie-municipale,
.post-list .post.cat-vie-cantonale {
	padding-left: 64px;
	background: url('_img/bloc-marianne.gif') no-repeat;
	background-position: 10px 2px;
}
.post-list .post.cat-en-campagne {
	padding-left: 64px;
	background: url('http://michele-delaunay.net/_img/bloc-victoire.gif') no-repeat;
	background-position: 0px 2px;
}
.post-list .post.cat-en-campagne h2,
.post-list .post.cat-vie-municipale h2,
.post-list .post.cat-vie-cantonale h2 { 
	font-size: 115%;
	margin: 0;
	padding: 0;
}
.post-list .post.cat-en-campagne .post-content p,
.post-list .post.cat-vie-municipale .post-content p,
.post-list .post.cat-vie-cantonale .post-content p{
	font-style: italic;
	font-size: 90%;
	margin: 0;
	padding: 0; 
}
.post-list .post.cat-en-campagne .lirelasuite,
.post-list .post.cat-vie-municipale .lirelasuite,
.post-list .post.cat-vie-municipale .lirelasuite{
	margin-left: 5px;
}

/* La barre de navigation
-------------------------------------------------------- */
#sidebar {
	width: 100%;
	background: url('_img/photo2.jpg') no-repeat;
	padding: 0 5px;
	padding-top: 185px;
}

#sidebar, #sidebar2{
}

#sidebar div#search, #sidebar2 div#search{
	background: transparent;
	color: inherit;
	line-height: 2.3em;
}

#search fieldset, #search p{
	text-align: center;
	margin: 0;
	padding: 0;
}

#q{
	/*
	padding-left: 18px;
	background: #fff url(http://michele-delaunay.net/img/q.png) no-repeat 4px center;
	*/
}


.sidebarblock {
	color: #544;
	background: url('_img/noir-05.png');
	_background: none;
	font-family: Calibri,Lucida Grande,Tahoma,sans-serif;
	font-size: 90%;
	text-align: left;
	margin: 0 0 20px 0;
	padding: 2px; 
	border: solid 1px #c85;
	border-width: 1px 0;
}
.sidebarblock a {
	color: #643;
	text-decoration: none;
}
.sidebarblock a:hover {
	color: #f66;
}
.sidebarblock p {
	margin: 3px;
}
.sidebarblock ul {
	margin: 3px 3px 0 3px;
	padding: 0;
	list-style: none;
}
.sidebarblock li {
	margin: 0 0 3px 0;
	padding: 0;
}

#sidebar div#flickr_badge_uber_wrapper {
	width: 180px;
	text-align:center;
	padding: 40px 0 0 0;
}
#sidebar #flickr_badge_wrapper {
	padding: 0 10px;
}
#sidebar .flickr_badge_image img {
	border: solid 1px #cc8855;
	margin-bottom: 5px;
}
#sidebar div#flickr_badge_image1,
#sidebar div#flickr_badge_image3,
#sidebar div#flickr_badge_image5,
#sidebar div#flickr_badge_image7,
#sidebar div#flickr_badge_image9{
	float: left;
}
#sidebar div#flickr_badge_image2,
#sidebar div#flickr_badge_image4,
#sidebar div#flickr_badge_image6,
#sidebar div#flickr_badge_image8,
#sidebar div#flickr_badge_image10{
	float: right;
}
#sidebar div#flickr_end {
	clear: both;
}


#sidebar div#photoblog, #sidebar2 div#photoblog {
	margin: 0 0 10px 0;
}

#sidebar div#photoblog h2, #sidebar2 div#photoblog h2 {
	color: #fcf2e0;
	text-shadow: 2px 2px 2px #864;
}
#sidebar div#photoblog img, #sidebar2 div#photoblog img {
	border: solid 1px #c85;
}
#sidebar div#photoblog td, #sidebar2 div#photoblog td {
	padding: 4px 0;
}


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

#sidebar div#calendar table, #sidebar2 div#calendar table{
	font-family: Lucida Grande,Tahoma,sans-serif;
	text-align: center;
	margin: 0 0 20px 0;
	border-collapse: collapse;
	border-bottom: solid 1px #c85;
}

#sidebar h2, #sidebar2 h2,
#sidebar h3, #sidebar2 h3,
#sidebar div#calendar table caption, #sidebar2 div#calendar table caption{
	font-family: Helvetica,Arial,sans-serif;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	color: #a44;
	margin: 0;
	padding: 0;
}

#sidebar div#calendar table caption a, #sidebar2 div#calendar table caption a{
	color: #c33;
	text-decoration: none;
}

#sidebar div#calendar table th, #sidebar2 div#calendar table th{
	font-size: 0.8em;
	text-transform: uppercase;
	color: #643;
	background: transparent;
	border-bottom: solid 1px #c85;
} 

#sidebar div#calendar table td, #sidebar2 div#calendar table td{
	width: 14%;
	font-size: 0.8em;
	line-height: 2em;
	/*
	border: 1px solid #EEE;
	*/
	color: #643;
	background: url('_img/noir-05.png');
	_background: none;
}

#sidebar div#calendar table td a, #sidebar2 div#calendar table td a{
	display: block;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	padding: 1px;
	background: url('_img/noir-05.png');
	_background: #f0f0f0;
}

#sidebar div#calendar table td a:hover, #sidebar2 div#calendar table td a:hover{
	background: #f66;
	color: #fff;
}

/* Le pied de page
-------------------------------------------------------- */
#footer{
	font-family: Calibri,Lucida Grande,Tahoma,sans-serif;
	font-size: 10px;
	text-align: center;
	text-transform: lowercase;
	color: #666;
	padding: 10px;
	margin : 0;
}

#footer a{
	color: #999;
	text-decoration: none;
}