/* Mediaqueries */

@media only screen and (max-width:639px) {
	#wrapper img, #wrapper iframe {
		max-width: 97%;
		height: auto;
		box-sizing : border-box;
	}
}

@media only screen and (min-width:640px){
	pre {
		overflow: auto;
		white-space: pre-wrap;       /* css-3 */
		white-space: -moz-pre-wrap important;  /* Mozilla, since 1999 */
		white-space: -pre-wrap;      /* Opera 4-6 */
		white-space: -o-pre-wrap;    /* Opera 7 */
		word-wrap: break-word;       /* Internet Explorer 5.5+ */
	}
	#wrapper img {
		max-width: 97%;
		height: auto;
		box-sizing : border-box;
	}
	#content pre img {
		max-width: none;
	}
}

/* ------------------------------------------------------
	au-delà de 1280px on décale le post-info à gauche
------------------------------------------------------- */
@media only screen and (min-width: 1280px) {
	.post-series {
		padding-right: 0 !important;
		}
}

/* Surcharge */

body {
	text-rendering: optimizelegibility;
	font-feature-settings: "kern";
	font-kerning: normal;
	font-variant-ligatures: common-ligatures;
}

code, pre {
	padding: 2px 4px;
	margin-right: 2px;
	border-radius: 3px;
}

pre {
	white-space: pre-wrap;
}

kbd {
	white-space: nowrap;
}

del {
	opacity: 0.5;
}

blockquote {
	padding-top: .5em;
}

/* No hyphenation forced
p {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
*/

/* Contenu standard */

#content hr {
	margin-top: 3em;
	margin-bottom: 1.5em;
}

#content img {
	border: 1px solid #999;
	padding: 4px;
	box-shadow: 2px 2px 4px #999;
}

#content div.img-noborder img, #content span.img-noborder img {
	border: none;
	box-shadow: none;
}

#content .post-icon {
	box-shadow: 2px 2px 3px #ccc;
}

.post-title {
	margin-bottom: 0.66em;
}

.post-content p:first-child {
	margin-top: 0;
}

#comments {
	font-family: inherit;
}
#comments h3 {
	font-family: inherit;
}
#comments .me {
	font-family: inherit;
}

/* Plugin contactMe */
#c_message {
	width: 95%;
	max-width: 95%;
	margin-right: 1em;
}

/* Plugin series */
.post-series {
	line-height: 1.2;
	margin: .33em 0;
}
.post-series {
	font-size: .875em;
	margin: 0;
	background: #fff;
	display: inline;
	padding: 0 .66em 0 0;
}
.post-series li:first-child {
	padding-left: 20px;
	background: transparent no-repeat left top url(img/post-series.png);
}
.post-series li {
	display: inline;
}
.post-series li:after {
	content: ", ";
}
.post-series li:last-child:after {
	content:"";
}

/* Plugin YASH */
#content div.dp-highlighter a {
	font-weight: normal;
}

#content div.dp-highlighter .keyword {
	font-weight: normal;
}

#content div.syntaxhighlighter {
	border: 1px solid rgb(204,204,204);
	border-radius: 3px;
	padding: 1em 0;
}

/* Divers */

div.mosaique {
	text-align: center;
}

div.mosaique > div {
	float: left;
	padding: 0 .5em 1em .5em;
}

.signature {
	display: block;
	text-align: right;
}

.author {
	font-variant: small-caps;
}

.attention, .information {
	display: block;
	border: 1px solid #666;
	padding: .5em .5em .5em 64px;
	border-radius: 3px;
	min-height: 2.5em;
}

.attention {
	background: #fee no-repeat 14px .7em url(img/attention.png);
	border-color: red;
}
.information {
	background: #eef no-repeat 14px .7em url(img/information.png);
}

.timestamp {
	border-radius: 3px;
	padding: 0.2em .5em;
	background-color: #ddd;
}
