/**
 * Theme "FabriceD".
 *
 * @author Fabrice SIMONIN
 */

/**
 * Polices.
 */
@font-face{font-family:"Essays 1743";src:url("fonts/essays1743-min.eot");src:local("Essays 1743"),url("fonts/essays1743-min.ttf")}
@font-face{font-family:"Juvelo";src:url("fonts/Juvelo.eot");src:local("Juvelo"),url("fonts/Juvelo.ttf")}
/*
 * The fonts included are copyrighted by the vendor listed below.
 *
 * @vendor:     Philipp Poll
 * @vendorurl:  http://linuxlibertine.sf.net
 * @licenseurl: http://www.fontsquirrel.com/license/Linux-Libertine
 */
@font-face {
	font-family: 'LinLibertine';
	font-style: normal;
	src: url('fonts/LinLibertine_Re-4.1_.8_.eot');
	src: local('Linux Libertine Regular'), local('LinLibertine'), url('fonts/LinLibertine_Re-4.1_.8_.ttf') format('truetype');
}

@font-face {
	font-family: 'LinLibertine';
	font-style: italic;
	src: url('fonts/LinLibertine_It-4.0_.3_.eot');
	src: local('Linux Libertine Italic'), local('LinLibertineI'), url('fonts/LinLibertine_It-4.0_.3_.ttf') format('truetype');
}

@font-face {
	font-family: 'LinLibertine';
	font-style: normal;
    font-weight: bold;
	src: url('fonts/LinLibertine_Bd-4.0_.2_.eot');
	src: local('Linux Libertine Bold'), local('LinLibertineB'), url('fonts/LinLibertine_Bd-4.0_.2_.ttf') format('truetype');
}

@font-face {
	font-family: 'LinLibertine';
	font-style: italic;
    font-weight: bold;
	src: url('fonts/LinLibertine_BI-4.0_.3_.eot');
	src: local('Linux Libertine Bold Italic'), local('LinLibertineBI'), url('fonts/LinLibertine_BI-4.0_.3_.ttf') format('truetype');
}


 
/**
 * Remise a zéro.
 *
 * From Eric Mayer.
 * @see http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
sup {
vertical-align: top;
font-size: 80%;
}
sub {
vertical-align: bottom;
font-size: 80%;
}
body {
line-height: 1;
}
body, html {
height: 100%;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
:focus {
outline: 0;
}
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/**
 * Mise en place de la page
 */
body {
font-size: 16px;
font-family: "LinLibertine",Palatino,"Palatino Linotype","Book Antiqua",Georgia,"Times New Roman",serif;
position: absolute;
width: 100%;
height: 100%;
}

#page {
background: #fff;
max-width: 520px;
margin: 25px auto 0 auto;
padding: 0 10px;
position: relative;
}

@media handheld {
#page {
margin: 25px 0 0 0;
}
}

#prelude {
font-size: xx-small;
position: absolute;
top: -25px;
left: -1px;
right: -1px;
height: 25px;
}

#page, #prelude {
border-style: solid;
border-color: #fed5d5;
border-width: 0 1px;
background: #fff;
}

#prelude, #prelude a:link, #prelude a:visited {
color: white;
}
#prelude a:hover, #prelude a:active {
color: #bb0000;
}

/**
 * Titres et sous-titres.
 */
h1, h2, h3, h4, h5, h6, .subtitle {
font-family: "Juvelo", Garamond, FreeSerif, "Times New Roman", serif;
font-weight: normal;
}

/* Les titres du blog et des billets ont droit à des égards particuliers */
h1 {
font-family: "Essays 1743", Garamond, FreeSerif, Times, serif;
font-size: 48px;
font-weight: normal;
letter-spacing: 1.1;
word-spacing: 1.5;
}

h2.post-title, #content-info h2 {
font-size: 24px;
margin-top: 1em;
margin-bottom: .5em;
}

.subtitle {
font-size: 20px;
}

h1 a:link, h1 a:visited, h2.post-title a:link, h2.post-title a:visited, #content-info h2 {
color: #bb0000;
text-decoration: none;
}

h3 {
margin: 1em 0;
font-size: 18px;
color: #bb0000;
}


#top {
padding-bottom: .5em;
}

.day-date {
display: none;
}
 
/* Le commun des liens n'en mérite pas tant. */
a:link, a:visited {
color: black;
}

a:hover, a:active {
color: #bb0000;
}

/**
 * Outils de navigation.
 */

/* Si l'écran n'est pas assez grand pour deux colonnes, on renvoit tout
   ce bazar en bas */

#sidebar {
position: fixed;
top: 100px;
bottom: 30px;
overflow-x: auto;
right: 0;
width: 180px;
padding: 10px;
border: 1px solid white;
border-right: 0;
-moz-border-radius: 10px 0 0 10px;
border-radius: 10px 0 0 10px;
opacity: .2;
transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-webkit-transition: opacity 1s ease-in-out;
}
#sidebar:hover {
opacity: 1;
background-color: #fff;
border-color: #fed5d5;
}

/* Sinon, on en fait un panneau à droite. */
@media screen and (max-width: 920px) {
#sidebar {
position: static;
width: auto;
}
}

#sidebar a:link, #sidebar a:visited {
text-decoration: none;
}

#sidebar .tags li, #topnav li {
display: inline;
}

/* Quand le markup est trop emphatique, le style le tempère. */
#sidebar .tags strong {
font-weight: normal;
font-size: 70%;
}


#sidebar .tag10 {font-size: 50%;}
#sidebar .tag20 {font-size: 55%;}
#sidebar .tag30 {font-size: 60%;}
#sidebar .tag40 {font-size: 65%;}
#sidebar .tag50 {font-size: 70%;}
#sidebar .tag60 {font-size: 75%;}
#sidebar .tag70 {font-size: 80%;}
#sidebar .tag80 {font-size: 85%;}
#sidebar .tag90 {font-size: 93%;}
#sidebar .tag100 {font-size: 100%;}

#sidebar h2 {
margin: .7em 0 .4em;
}

#sidebar:hover h2 {
color: #bb0000;
}

/**
 * Billets.
 */

/* Minimisons le poids mort.*/
.post-info, .post-tags {
font-size: 14px;
margin-right: .4em;
margin-top: .5em;
}

.post-tags:before {
content: "Où l'on parle de : ";
}

.post-tags li {
display: inline;
}

.post-tags li:after {
content: ', ';
}

.post-tags li:last-child:after {
content: '.';
}

.post-info-co {
background:transparent url(img/comment.png) no-repeat scroll 0 50%;
padding-left: 15px;
}

#navlinks {
margin-top: 1em;
}
#navlinks a:link, #navlinks a:visited {
text-decoration: none;
}

/* Glorifions le contenu. */
.post-excerpt {
	margin-top: 1.5em;
	clear: both;
	text-align: center;
	font-style: italic;
}

.post-content {
margin-top: 1.5em;
clear: both;
}
.post-content p, .post-content ul {
text-align: justify;
margin-bottom: 1em;
line-height: 1.2;
}

.post-content img {
float: right;
margin-left: 1em;
margin-bottom: .5em;

}

.post-content h2 {
    margin: 1em 0;
}

.post-content ul {
    list-style-type: square;
    list-style-type: hyphen;
    margin-left: 2em;
}

.post-content li {
    margin-bottom: 1em;
}


.post-content p:first-child {
margin-top: 1em;
}

.post-content p:first-letter {
margin-left: 2em;
}

.post-content > p:first-child:first-line {
font-variant: small-caps;
padding-left: 0;
float: left;
}

.post-extended > p:first-child:first-line {
font-variant: normal;
padding-left: 0;
float: left;
}
.read-it {
margin-bottom: .5em;
}

.post-content > p:first-child:first-letter {
font-variant: normal;
float: left;
display: inline-block;
font-size: 80px;
color: #bb0000;
padding-right: 5px;
margin: 0;
clear: right;
}

.post-extended > p:first-child:first-letter {
float: none;
display: inline;
font-size: 100%;
color: #bb0000;
padding-right: 0;
margin: 0;
}


/* J'aime bien faire des citations. */
blockquote {
margin: 0 3em;
}

*[lang=fr] q:before {
content: '\00AB\00A0';
}

*[lang=fr] q:after {
content: '\00A0\00BB';
}

*[lang=fr] q q:before {
content: '"';
}

*[lang=fr] q q:after {
content: '"';
}

/* Les commentaires, soignons-les. */
#comments dt {
float: left;
width: 150px;
clear: left;
min-height: 70px;
}
#comments dd, #pr dd {
min-height: 70px;
margin-left: 160px;
width: 349px;
border-left: 1px solid gray;
padding-left: 10px;
margin-bottom: 1em;
overflow-x: auto;
overflow-y: hidden;
}

#comments dd p {
width: 340px;
text-align: justify;
font-size: 90%;
margin-bottom: 1em;
line-height: 1.2;
}

#comments dd p:first-letter {
margin-left: 2em;
}


#comments .comment-author, #comments .comment-author a:link, #comments .comment-author a:visited {
color: #bb0000;
text-decoration: none;
}

#comments .comment-number:link, #comments .comment-number:visited{
text-decoration: none;
}

#comments .comment-date, #comments .comment-time {
float: left;
clear: left;
font-size: 14px;
}

/* Formulaire pour les commentaires. */
#comment-form label {
width: 155px;
display: inline-block;
}

#comment-form .remember label {
width: auto;
}

#comment-form input[type=text], #comment-form textarea {
width: 300px;
border: 1px solid gray;
margin: 2px 0;
}

#comment-form textarea, .form-help, .remember  {
display: block;
width: 458px;
margin-top: 4px;
margin-bottom: 8px;
text-align: justify;
}

/* Prévisualisation des commentaires */
#pr dd {
color: #b5b5b5;
border-color: #e5e5e5;
}

#pr h3 {
margin-bottom: -1em;
font-size: 95%;
}

#pr .buttons {
margin-top: -3em;
}

/**
 * Pied de page.
 */
#footer {
margin-top: 3em;
color: #b5b5b5;
text-align: center;
}
#footer a {
color: #bb0000;
}

/**
 * Page archive.
 */
.dc-archive .content-inner {
column-count: 3;
-moz-column-count: 3;
column-rule: 1px solid #ddd;
-moz-column-rule: 1px solid #ddd;
}

.dc-archive .content-inner ul {
margin-left: 10px;
}

/* Syndication */
.syndicate li a, .feed{
background: white url(img/feed.png) no-repeat 0 3px;
padding-left: 24px;
}
#comments-feed, .syndicate li {
height: 20px;
}

#comments-feed {
margin-top: 4px;
}

/* Les images */
.figure img {
    max-width: 200px;
    max-height: 200px;
    float: none;
    margin: 0;
    padding: 0;
    
}

.figure-box {
    text-align: center;
    margin-bottom: 1em;
}

.figure {
    padding: 3px;
    border: 1px solid #ddd;
    display: inline-block;
}

.right {
    float: right;
    margin-left: 1em;
}

.left {
    float: left;
    margin-right: 1em;
}


.figure p {
    font-size: .8em;
    font-style:italic;
    text-align: center;
    margin: 1px 0 0 1px
}

.figure p:first-letter {
    margin-left: 0;
}
