/*
# -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of Katzenjammer, a theme for Dotclear.
#
# Copyright (c) 2010 - 2015 annso (contact@as-i-am.fr) and contributors
#
# 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 ------------------------------------
*/

img, video {
    max-width: 100%; /* Ensure images and videos are responsive */
    height: auto; /* Maintain aspect ratio */
}

body{
	margin: 0;
	padding: 0;
	background: #fffff9;
	color:#333333;
	line-height:1.5em;
	font-family: Roboto,Tahoma,sans-serif;
}

mark{
    background: #ffcc00
}

/** Liens **/
a{
	color: #cc0000;
	text-decoration: none;
}
a:hover{
	color: #cc0000;
}

a img,
a:hover img{
	border: none;
}

h2{
	font-family: "Instrument Serif",Georgia,serif;
	font-style:normal;
	font-variant:normal;
	font-weight:bold;
        color: #ffcc00;
        font-size: 2.5rem;
	/*text-transform: capitalize;*/
}

h2 a {
        color: #cc0000;
}


#content h2 { text-align: center;}

h3{
	margin: 1rem 0 0 0;
	padding: 1rem 0 0.5rem 0;
	/*border-top: 1px dotted #999;*/
	font-family: "Roboto Condensed",Tahoma,sans-serif;
	font-size: 1.5rem;
	font-weight:normal;
        color: #cc0000;
}

/** Formulaire **/
.form-help{
	width: 60%;
	float: right;
	margin: 0 20px 0 0;
	font-size: 11px;
	font-style: italic;
}
fieldset{
	border: none;
}
#content label{
	display: block;
	width: 30%;
	float: left;
	font-family:Roboto,Tahoma,sans-serif;
	font-size:1rem;
	text-align:right;
	text-transform:uppercase;
}
textarea,
input{
	margin: 0 1rem;
}
.remember{
	margin: 20px 0 0 10px;
}
.remember input{
	float: left;
	margin: 4px 10px 0 0;
}
.remember label{
	float: left;
	width: 200px !important;
}
.buttons{
	clear: both;
	margin: 60px 0 0 0;
}
.buttons input{
	padding: 2px;
	background: #000;
	color: #fff;
	border: none;
}
.buttons input:hover{
	background: #999;
}
code, pre {
	white-space: normal;
	width: 100%;
}
/** Page **/

#page {
        max-width: 720px;
	margin: 0 auto;
	padding: 0 1rem;
	background: #fffff9;
}

#content {
	text-align: justify;
}

/** Top **/
#top{
        max-width: 720px;
	margin: 2rem 0 0 0;
        background: url(index.php?tf=img/fp.png) no-repeat top left;
}

@media only screen and (max-width: 440px) {
    #top h1{    font-size: 1.5rem;    }
}

@media only screen and (min-width: 441px) {
    #top h1{    font-size: 2rem;    }
}

@media only screen and (min-width: 620px) {
    #top h1{    font-size: 4rem;    }
}



#top h1{
	margin: 0;
	padding: 0 0 0.5rem 110px;
	font-family: "Instrument Serif",Georgia,serif;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
        /* font-size: 4rem; */
	line-height: 50px;
}

#top h1 a{
        color: #cc0000;
}

#top h2{
	margin: 0;
	padding: 0 0 0 4rem;
	font-family:Roboto,Tahoma,sans-serif;
	font-weight:normal;
	border: none;
        color:#ffcc00;
}

/** Wrapper **/
#wrapper{
	position: relative;
}
#content-info img {
  max-width:100%;
}


/** Post  **/
.post{
	position: relative;
	margin: 0 0 3rem 0;
}
.post-excerpt p img, .post-content p img {
  max-width:100%;
}
.post embed, .post iframe {max-width:100%;}

#content .post-title{
	padding: 0.5rem 0 1rem 0;
	border-bottom: 1px dotted black;
	text-align: left;
	font-family:"Roboto Condensed",Tahoma,sans-serif;
	font-size: 2rem;
        line-height: 2rem;
	font-weight:normal;
        color: #cc0000;
}

.day-date{
	width: 100px;
	position: absolute;
	left: -125px;
	margin: 3px;
	padding: 0 10px 0 0;
	background: #fff;
	border: none;
	font-size: 1rem;
	font-family: Roboto,Tahoma,sans-serif;
	text-align: right;
	text-transform:uppercase;
}

.scroller{
	position: absolute;
	left: -1rem;
}

.feed{
    color: #333;
    text-align: right;
}

#comments .scroller, #comment-form .scroller {margin-top:10px;}
.post-tags{
	padding: 0;
	margin-top: -10px;
}

.post-info-co { clear: both;}

.comment_count,
.ping_count,
.attach_count,
.category,
.infos
{
	margin: 10px 0 0;
	padding: 3px 5px;
	background: #000;
	color: #fff;
	font-size: 9px;
	font-family: Roboto,Tahoma,sans-serif;
	letter-spacing:2px;
	text-transform:uppercase;
}
.category, .infos{
	background: #5F5F5F;
}
.category a, .infos a {
	color: #fff;
	font-weight: bold;
}

.post-tags li{
	margin: 10px 0 0;
	padding: 3px 5px;
	display: inline;
	background: #8F8F8F;
	color: #fff;
	font-size: 9px;
	font-family: Roboto,Tahoma,sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.post-tags li a { color: #fff}

.comment_count:hover,
.ping_count:hover,
.attach_count:hover {
	color: #CFCFCF;
}
a.category:hover, .infos a:hover {
	color: #CFCFCF;
}
.post-tags li a:hover { color: #CFCFCF}

#attachments li { list-style: none;padding: 2px 10px 2px 0;}
#attachments li.audio audio {margin:0;vertical-align:middle;}

/** Commentaires **/
#comments,
#pings {
	font-size: 11px;
}
#comments dt,
#pings dt{
	font-family:Roboto,Tahoma,sans-serif;
	font-size:9px;
	font-weight: bold;
	letter-spacing:1px;
	color: #444;
}
#comments dd,
#pings dd{
	margin: 0 0 0 20px;
	padding: 0;
	color: #555;
}

#comment-form .jstEditor textarea {
  width: 65%;
	border: 1px solid silver;
	margin-left:155px;
}
#comment-form .jstHandle {margin-left:160px;}


/** Liens de droite **/
#prelude,
#topnav {
	position: absolute;
	top: -100px;
	left: 540px;
	width: 150px;
	margin: 0;
	padding: 0;
}

#prelude{
	top: 20px;
	left: 910px;
}
#topnav h2 {display:none;}
#topnav ul {
	margin: 0;
	padding: 0;
}

#prelude li,
#topnav ul li{
	margin: 15px 0;
	list-style-type: none;
}
#prelude li a,
#topnav ul li a{
	display: block;
	padding: 0 2px;
	background: #fff;
	font-size: 8px;
	font-family:Roboto,Tahoma,sans-serif;
	letter-spacing:2px;
	text-transform:uppercase;
	text-align:left;
}


/** Footer **/
#footer{
	clear: both;
	position: relative;
	padding: 0;
   	/*background: url(index.php?tf=img/logo.jpg) center left no-repeat;*/
	/*border-top: 1px dotted #999;*/
	font-size: 0.8rem;
}
#footer p{
	padding: 1rem 0 0;
}
#scroller-up{
	position: absolute;
	right: 0;
	top: 1rem;
}


/** Clearer  **/
.clearer{
	clear: both;
}

/** Nav links **/
#navlinks {
	text-align: center;
	margin-bottom: 2rem;
	font-size: 1rem;
	font-family:Roboto,Tahoma,sans-serif;
	}

#navlinks .prev{
	padding: 0 3rem 0 0;
}

}
#navlinks .next{
	padding: 0 0 0 3rem;
}

#navlinks a { color: #006699;}

/** Pagination **/
.pagination{
	margin-bottom: 3rem;
	text-align: center;
	font-size: 1rem;
}


/** Page **/
.page-info{
	display: none;
}


/** Sidebar **/
#sidebar {
	border-top: 1px dotted black;
	text-align: center;
}

#sidebar a {
	color: #5F5F5F;
}
#sidebar h2 {}
#sidebar h3 {}
#sidebar ul {
	padding-left: 0px
}
#sidebar li {
	list-style-type: none;
}

#sidebar #blognav {
	width: 200px;
	float: left;
}

#sidebar #blogextra {
	width: 200px;
	float: right;
}

.tags li {
	display: inline;
}
#sidebar #search {text-align:left;}
#sidebar #search fieldset {margin:0;padding:0;}
#sidebar #search input {margin:0;}
#sidebar .categories li.category-current {
	font-weight: bold;
}
#sidebar .categories li.category-current li {
	font-weight: normal;
}
#sidebar img {max-width:100%;}


#subcategories {
	padding: 5px 0 20px 0;
}
#subcategories h3 {
	margin: 0;
}
#subcategories ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 20px;
	line-height: 1.4;
}