/* ================================================ */
/* 1. Remise à zéro */
/* 2. Squelette */
/* 3. Media queries */
/* 4. Couleurs */
/* ------------------------------------------------ */
/* Bonjour | Hello */
/* Blog */
/* The Net Delusion */
/* OmniGraffle 101 */
/* ================================================ */

/* ================================================ */
/* 1. Remise à zéro */
/* ================================================ */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, img {margin: 0; padding: 0; border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {display: block;} /* Définition des balises sémantiques pour IE 6/7/8/9 et Firefox 3 */
html {-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;} /* Prevents iOS text size adjust after orientation change, without disabling user zoom */

.raz:before, .raz:after {content: " "; display: table;}
.raz:after {clear: both;}
.raz {*zoom: 1;}

/* ================================================ */
/* 2. Squelette */
/* ================================================ */

/* Typographie */
/* (vertical unit) ÷ (font size) = (line height) */

body {font-family: "open-sans-1","open-sans-2", sans-serif; padding-bottom: 26px;}

h1, h2, h3, h4, h5, h6, strong {margin: 26px 0; font-style: normal; font-weight: 700;}
h1 {font-size: 28.5px; line-height: 26px;}
h2 {font-size: 22.6px; line-height: 26px;}
h3 {font-size: 20.1px; line-height: 26px;}
h4, h5, h6 {font-size: 18px; line-height: 26px;}

p, ul, blockquote {font-size: 15px; line-height: 26px; margin-bottom: 26px;}  /* Essayer avec font-size: 16px; line-height: 28px; */

code {font-family: Monaco, "Andale Mono", "Courier New", monospace; font-size: 80%;}

a:link {text-decoration: none;} /* Styliser les liens par la suite */
a:focus {outline: 2px solid;}

/* Navigation */

.navigation-absolue  {
	margin: 0 13px 26px 13px; /* Seuls les côtés sont pris en compte */ 
	overflow: hidden;
	border-bottom: 2px solid;
}

.navigation-absolue a:link {
	padding: 26px 3px 22px 3px; /* 22 plutôt que 26 px pour rattraper les 2x2 px de margin et, bonus, centrer visuellement le texte */
	display: inline-block;
	margin: 2px; /* Pour le :focus */
}

.navigation-absolue ul {
	margin-bottom: 0;
}

.navigation-absolue ul li {
	display: inline;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	margin-bottom: 0; /* Pour éliminer celui appliqué par Typographie */
}

/* Autre */

#corps-de-page {margin: 0 13px;}

.left {float: left;}
.right {float: right;}

.eot {
	display: block;
	margin: 26px auto;
	width: 11px;
	height: 11px;
	opacity: 0.15;
	background-image: url(eot.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 11px 11px;
}

/* ================================================ */
/* 3. Media Queries */
/* ================================================ */

/* Les styles par défaut sont prévus pour l'iPhone, on rajoute des éléments de style par tranche, sans recoupement. */

/* iPad */

@media only screen and (min-width: 641px) {

h1 {font-size: 40.2px; line-height: 39px;}
h2 {font-size: 31.9px; line-height: 39px;}
h3 {font-size: 22.6px; line-height: 26px;}
h4, h5, h6 {font-size: 20.1px; line-height: 26px;}

#corps-de-page {width: 600px; margin: 0 auto;}

}

/* Desktop */

@media only screen and (min-width: 912px) {

.navigation-absolue {width: 912px; margin-left: auto; margin-right: auto;}

}

/* Impression */

@media print {

* {
	background: transparent !important;
    color: #000 !important; /* Le noir imprime plus vite et les navigateurs sont inconsistants dans le traitement de la couleur de toute manière : h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
}

nav {display: none;}

img {max-width: 100% !important;}

a, a:visited {text-decoration: underline !important; font-weight: normal !important; border-bottom: none !important;}
a[href]:after {content: " (" attr(href) ")";}
a[href^="javascript:"]:after, a[href^="#"]:after {content: "";}

pre, blockquote {border: 1px solid #999; page-break-inside: avoid;}
tr, img {page-break-inside: avoid;}

p, h1, h2, h3, h4, h5, h6 {orphans: 3; widows: 3; page-break-after: avoid;} /* Vérifier effet du page-break-after */

@page {margin: 1.5cm 0.5cm;}

}

/* ================================================ */
/* 4. Couleurs */
/* ================================================ */

body {color: #222; background-color: white;}

.navigation-absolue {border-bottom-color: rgba(0, 0, 0, 0.1);}

.navigation-absolue a:link {color: #384556;}
.navigation-absolue a:visited {color: #384556;}
.navigation-absolue a:hover {color: #3d6da7;}
.navigation-absolue a:active {color: #3d6da7;} /* #c54337 */

article a:link,
section a:link {color: #3d6da7; border-bottom: 1px solid #ccc;}
article a:visited,
section a:visited {color: #3d6da7; border-bottom: 1px solid #ccc; }
article a:hover,
section a:hover {border-color: #3d6da7;}
article a:active,
section a:active {background-color: #e6e6e6;}

a:focus {outline-color: #e2b244;} /* #ffbf47 #d09e2d */

::selection {background-color: #f8dc77;}
::-moz-selection {background-color: #f8dc77;}

/* ================================================ */
/* Animations */
/* ================================================ */

/* Les remettres dans chaque élément */

a:hover {-moz-transition: all 0.2s ease-in-out;  -webkit-transition: all 0.2s ease-in-out;}
h1, h2, h3, h4, h5, h6, blockquote {-moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease;}
.animation, .navigation-absolue {-webkit-transform: translateZ(0);}

/*
Animate.css - http://daneden.me/animate
LICENSED UNDER THE  MIT LICENSE (MIT)

Copyright (c) 2012 Dan Eden

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

.animation {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 2s; /* 1s */
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	animation-duration: 2s;
}

#bonjour header.animation,
  #hello header.animation {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	animation-duration: 2s;
}

/*
.animation.hinge {
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	animation-duration: 2s;
}
*/

@-webkit-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	-moz-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-20px);
	}
	
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes fadeInDown {
	0% {
		opacity: 0;
		-moz-transform: translateY(-20px);
	}
	
	100% {
		opacity: 1;
		-moz-transform: translateY(0);
	}
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}
	
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fadeInDown {
	-webkit-animation-name: fadeInDown;
	-moz-animation-name: fadeInDown;
	-o-animation-name: fadeInDown;
	animation-name: fadeInDown;
}

/* ================================================ */
/* Bonjour | Hello */
/* ================================================ */

/* Squelette */

#bonjour h1,
  #hello h1,
#bonjour h2,
  #hello h2 {text-align: center;}

#bonjour h1,
  #hello h1 {margin-bottom: 13px;} /* Esthétique */
#bonjour h2,
  #hello h2 {font-size: 22.6px; line-height: 26px; margin-top: 0; font-weight: normal;} /* Esthétique */

/* Couleurs */

body#bonjour {color: #384556; background-color: white;} /* #27313D */
  body#hello {color: #384556; background-color: white;}

#bonjour #corps-de-page a:link,
  #hello #corps-de-page a:link {color: #d09e2d; font-weight: bold; border-bottom: none;} /* #e2b244 */
#bonjour #corps-de-page a:visited,
  #hello #corps-de-page a:visited {color: #d09e2d;}
#bonjour #corps-de-page a:hover,
  #hello #corps-de-page a:hover {color: #c54337;  background-color: transparent;} /* border-bottom: 2px solid #c54337; */
#bonjour #corps-de-page a:active,
#hello #corps-de-page a:active {color: #c54337;}

#bonjour h1,
#bonjour h2,
  #hello h1,
  #hello h2 {color: black;} /* text-shadow: 1px 1px 0 white, 2px 2px 0 #c9e5fd; */
#bonjour h3,
  #hello h3 {color: #bbb;}

#bonjour h2:after,
  #hello h2:after {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: -28px; /* Devrait être 26 px mais absorbe le 2 px pour respecter la grille + équilibre visuel */
	content: "";
	display: block;
	height: 2px;
	position: relative;
	width: 100%;
	margin-bottom: 52px;
}

#bonjour .eot,
  #hello .eot {
	margin-top: 0;
}

/* iPad */

@media only screen and (min-width: 641px) {

#bonjour h1, #hello h1, #bonjour h2, #hello h2 {
	text-align: left;
}

#bonjour h1,
  #hello h1 {margin-top: 130px;} /* 26x5 */
#bonjour h2,
  #hello h2 {font-size: 40.2px; line-height: 39px;} /* Esthétique */
  
#bonjour header p,
  #hello header p {font-size: 23px; line-height: 39px;} /* Échelle typographique x1.5 */
  
#bonjour h2:after,
  #hello h2:after {
	bottom: -39px;
	height: 4px;
	width: 33%;
	margin-bottom: 74px; /* 39 (margin avec le h2) + 39 (margin avec le p) - 4 px pour respecter la grille + équilibre visuel */
}

#bonjour .eot,
  #hello .eot {
	width: 22px;
	height: 22px;
	background-size: 22px 22px;
	opacity: 0.1;
}

}

/* ================================================ */
/* Blog */
/* ================================================ */

#blog #corps-de-page h1 {margin: 26px 0; text-align: center;}

#blog #corps-de-page h1:after {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: -28px; /* Devrait être 26 px mais absorbe le 2 px pour respecter la grille + équilibre visuel */
	content: "";
	display: block;
	height: 2px;
	position: relative;
	width: 100%;
	margin-bottom: 52px;
}

#blog #corps-de-page ul li {list-style-type: none; color: #384556;}

#blog #corps-de-page ul li a:link  {color: #d09e2d; border-bottom: none;}
#blog #corps-de-page ul li a:visited {color: #d09e2d;}
#blog #corps-de-page ul li a:hover {color: #c54337; background-color: transparent;}
#blog #corps-de-page ul li a:active {color: #c54337;}

#blog #corps-de-page h3 {margin-bottom: 6px;}

#blog #corps-de-page .date {font-weight: normal; color: #bbb; display: block;}

/* iPad */


@media only screen and (min-width: 641px) {

#blog #corps-de-page h1 {margin: 78px 0 52px 0; text-align: left;}

#blog #corps-de-page .date {display: inline;}

#blog #corps-de-page .date:before {
	content: "\a0 \2013 \a0"; /* whitespace + en dash + whitespace*/
}

}

/* ================================================ */
/* The Net Delusion */
/* ================================================ */

/* Squelette */

#the-net-delusion header p {font-weight: bold;}

#the-net-delusion blockquote {font-weight: bold; font-style: italic; font-size: 20.1px; line-height: 29px;}

#the-net-delusion article section {clear: both;}
#the-net-delusion hr {
	opacity: 0.15;
	clear: none;
	height: 26px;
	border: none;
	margin: 0 0 26px 0;
	background-image: url(ellipsis.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 34px 15px;
}

#the-net-delusion article aside {font-size: 13px; line-height: 26px; margin-bottom: 26px;}
#the-net-delusion article aside a.num-page {display: block; text-align: center;}
#the-net-delusion aside img {border: 1px solid; display: block; margin: 0 auto; max-width: 216px;}

/* Couleurs */


#the-net-delusion header blockquote {color: #e6471d;}

#the-net-delusion article aside {color: #777067;}

	#the-net-delusion article aside a:link  {color: #3d6da7; border-color: #ccc;}
	#the-net-delusion article aside a:visited {color: #3d6da7; border-color: #ccc;}
	#the-net-delusion article aside a:hover {border-color: #3d6da7;}
	#the-net-delusion article aside a:active {background-color: #e6e6e6;}

	#the-net-delusion article aside a.num-page {background-color: rgba(0, 0, 0, 0.1);} /* Voire */

/* iPad */

@media only screen and (min-width: 641px) {

#the-net-delusion article {width: 572px; margin: 0 auto;} /* On force une largeur et un float pour éviter que le contenu ne saute une quand le header sera floaté sur la query desktop */

#the-net-delusion header {float: right; padding-top: 78px;}                  /* On force une largeur et un float pour éviter que le contenu ne saute une quand le header sera floaté sur la query desktop */

}

/* Desktop */

@media only screen and (min-width: 912px) {

#the-net-delusion article, #the-net-delusion article > section {width: 840px; margin-left: auto; margin-right: auto;}
#the-net-delusion header, #the-net-delusion section p, #the-net-delusion hr, #the-net-delusion .related-works, #the-net-delusion h2 {width: 600px; float: right;}
	#the-net-delusion .related-works p {float: none;}

#the-net-delusion section aside {width: 214px; float: left; margin-right: 26px;}

	#the-net-delusion section aside a {text-align: right;}
	#the-net-delusion section aside a.num-page {display: block; text-align: right; background-color: transparent;}
	#the-net-delusion section aside a:active {border-bottom-color: transparent;}

#the-net-delusion img {display: inline;}

#the-net-delusion header:after {
	background-color: rgba(0, 0, 0, 0.05);
	bottom: 2px; /* Devrait être 39 px mais absorbe le 2 px pour respecter la grille + équilibre visuel */
	content: "";
	display: block;
	height: 2px;
	position: relative;
	width: 50%;
	margin: 0 auto 26px auto; /* 39 (margin avec le h2) + 26 (margin avec le p) */
}

}

/* ================================================ */
/* Omnigraffle 101 */
/* ================================================ */

/* Squelette */

#omnigraffle-101 #corps-de-page {font-family: "freight-sans-pro-1","freight-sans-pro-2", sans-serif;}

#omnigraffle-101 header ul {list-style-type: none;}

#omnigraffle-101 article h2 a {font-size: 31.9px;}

#omnigraffle-101 article p,
#omnigraffle-101 article li,
#omnigraffle-101 article a {font-size: 20px; line-height: 28px;}

#omnigraffle-101 img {margin: 0 auto 24px auto;}

#omnigraffle-101 blockquote {padding-left: 20px;}

#omnigraffle-101 header ul a {
	display: block;
	width: 100%;
	border-bottom: none;
	margin-bottom: 2px;
	text-align: center;
	padding: 4px 0;
}

/* Couleurs */

#omnigraffle-101 {background-color: #dbbea1; color: #4b3720;}  /* #d2a75d */

#omnigraffle-101 h1,
#omnigraffle-101 h2 {color: white; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);}

#omnigraffle-101 img {background-color: rgba(255, 255, 255, 0.1);}

#omnigraffle-101 blockquote {border-left: 4px solid rgba(0, 0, 0, 0.1);}

#omnigraffle-101 code {background-color: rgba(0, 0, 0, 0.1);}

#omnigraffle-101 article a:link {color: #4b3720; border-color: #4b3720; font-weight: 600;}
#omnigraffle-101 article a:visited {color: #95785c; border-color: #95785c; border-bottom-color: #95785c;}
#omnigraffle-101 article a:hover {background-color: rgba(255, 255, 255, 0.3);}

#omnigraffle-101 header ul a:link,
#omnigraffle-101 header ul a:visited {color: white; background-color: #46b25c;}
#omnigraffle-101 header ul a:hover {background-color: rgba(0, 0, 0, 0.3);}

/* iPad */

@media only screen and (min-width: 641px) {

#omnigraffle-101 h1 {
	margin-top: 78px;
}

}