/*
Theme Name: petitspapiers2017
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: petitspapiers2017
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

petitspapiers2017 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	font-size: 15px; /* set rem */
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: black;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html{
	font-size: 15px;
	margin-top: 0 !important;
	margin:0;
	padding: 0;
}

body,
button,
input,
select,
textarea{
	color: #333;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 2rem;
	font-weight: 300;
	clear: both;
	line-height: 1.5;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

h1:not(.entry-title){
	margin: 0;
}

h1.blog-entry-title{
	/*text-align: center;*/
}

h2{
	font-size: 1.5rem;
}

h3{
	font-size: 1.25rem;
}

h4{
	font-size: 1.125rem;
}

h5{
	font-size: 1rem;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	padding-top: 0;
}

p {
	margin: 0 0 1rem;
	padding: 0;
}

dfn,
cite,
em,
i {
	font-weight: 300;
}

blockquote {
	color: grey;
	font-size: 18px;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

blockquote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
	margin-top: 0.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted grey;
	cursor: help;
}

mark,
ins {
	background: #eee;
	text-decoration: none;
}

big {
	font-size: 125%;
}

blockquote {
	quotes: "" "";
}

q {
	quotes: "“" "”" "‘" "’";
}

blockquote:before,
blockquote:after {
	content: "";
}

:focus {
	outline: none;
}

.site-description{
	text-align: center;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #bbb;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1.25em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

th {
	padding: 0.4em;
	text-align: left;
}

tr {
	border-bottom: 1px solid #eee;
}

td {
	padding: 0.4em;
}

th:first-child,
td:first-child {
	padding-left: 0;
}

th:last-child,
td:last-child {
	padding-right: 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
label {
	color: #333;
	display: block;
	font-weight: 800;
	margin-bottom: 0.5em;
}

fieldset {
	margin-bottom: 1em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: grey;
	background: #fff;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #222;
	border-color: #333;
}

select {
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	height: 3em;
	max-width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 0.5em;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
	font-weight: 400;
}

button,
input[type="button"],
input[type="submit"] {
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

input + button,
input + input[type="button"],
input + input[type="submit"] {
	padding: 0.75em 2em;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
	background-color: #ddd;
	color: #222;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
	background: #bbb;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/
#masthead,
#colophon{
	background-color: white;
	box-shadow: rgba(0, 0, 0, .5) 0 0 30px;
	z-index: 1;
}

.site-content{
	flex-grow:1;
	display:flex;
}

#primary{
	flex-grow:1;
	display:flex;
}

.wrapper{
	background-color: rgba(255, 255, 255, .55);
	width: 100%;
	max-width: 1280px;
	padding:30px;
	margin: 0 auto;
	flex-grow:1;
}

.header_wrapper{
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-items:center;
}

.wrapper_articles{
	background-color: transparent;
}



.site-branding{
	padding:0 30px 0 0;
}

h1.site-title{
	line-height: 0;
	margin: 0;
}

h1.site-title a{
	display: inline-block;
}

h1.site-title a img{
	max-width: 125px;
}

h1.site-title a span{
	display: none;
}

#colonnes_single{
	display: flex;
	flex-direction:row;
	justify-content: space-between;
	padding-bottom: 2rem;
}

	#colonne_details{
		order:2;
		width:calc(40% - 1rem);
	}

	#colonne_images{
		order:1;
		width:calc(60% - 1rem);
	}

		#colonne_images img,
		.gallery img{
			width: 100%;
		}

		figure{
			width: 100% !important;
		}

@media screen and (max-width: 640px){
	#colonnes_single{
		flex-direction: column;
	}

	#colonne_details,
	#colonne_images{
		order:0;
		width:100%;
	}

	#colonne_images{
		max-width:640px;
	}
}

@media screen and (max-width: 460px){
	.gallery{
		flex-direction: column !important;
	}

	.gallery-item{
		max-width: 100% !important;
		padding-bottom: 1.5rem;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited,
a:hover,
a:focus,
a:active {
	color: darkcyan;
	outline: 0;
}

.skip-link{
	display: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.site-navigation{
	margin-top: 1.5rem;
}

.main-navigation{
	max-width: 80%;	
}

.main-navigation a,
.footer-navigation a{
	padding: .1em 0;
	margin:0 .2em 0;
	text-decoration: none;
}

.main-navigation ul,
.footer-navigation ul{
	flex-direction:row;
	flex-wrap:wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.sub-menu{
	border-top: solid 1px grey;
	padding-top:.5rem !important;
	width: 100%;
}

/*----------Couleurs----------*/

/* 1er niveau */
.main-navigation ul li a,
.footer-navigation ul li a{
	color: black;
	text-transform: uppercase;
	padding:0 .25em 1px;

	transition: color .33s, border-color .33s;
}


/* 2e niveau */
.main-navigation .sub-menu li a,
.footer-navigation .sub-menu li a,
/* 3e niveau */
.main-navigation .sub-menu .sub-menu li a,
.footer-navigation .sub-menu .sub-menu li a{
	color:grey;
}

/*page courante*/

.current-menu-item > a,
.current-post-ancestor > a{
	border-bottom: double 3px black;
}
.sub-menu .current-menu-item > a,
.sub-menu .current-post-ancestor > a{
	border-bottom: double 3px grey;
}

/*survol*/

.current-menu-item > a:hover{
	color: darkcyan;
	border-bottom: double 3px darkcyan;
}
.site-navigation a:hover{
	color: darkcyan !important;
	border-color: darkcyan;
}


/* Espacement des éléments de menu, excepté le dernier de chaque ligne */
/* côté */
.main-navigation ul li:not(:last-of-type),
.footer-navigation ul li:not(:last-of-type){
	margin-right: .5rem;
}

/* bas */
.main-navigation ul li,
.footer-navigation ul li{
	margin-bottom: .5rem;
}

.main-navigation a,
.footer-navigation a{
	color: grey;
	white-space: nowrap;
}

.current-menu-ancestor > a{
	border-bottom: solid 1px black;
}

.sub-menu .current-menu-ancestor > a{
	border-bottom: solid 1px grey;
}

/* Faire de la place avant le lien (étire le soulignement) */
.menu-item-has-children > a:before,
.current-menu-ancestor > a:before,
.current-menu-item.menu-item-has-children > a:before{
	content: " ";
	width: .7em;
	height: .65em;
	display: inline-block;
    vertical-align: text-top;
    margin: 0 .25em 0 0;
}

.menu-item-has-children > a,
.current-menu-ancestor > a,
.current-menu-item.menu-item-has-children > a{
    position: relative;
}

/* Placer la petite flèche par dessus l'emplacement créé précédemment */
.menu-item-has-children > a:after,
.current-menu-ancestor > a:after,
.current-menu-item.menu-item-has-children > a:after{
	content: " ";
	width: 0; 
	height: 0;
	display: block;
    position:absolute;
    left:2px;
    top:3px;
}

/* Apparence de la flèche vers la droite (fermé) */
.menu-item-has-children > a:after{
	border-top: .35em solid transparent;
	border-bottom: .35em solid transparent;
	border-left: .65em solid black; /* 1er niveau */
}
.sub-menu .menu-item-has-children > a:after{
	border-top: .35em solid transparent;
	border-bottom: .35em solid transparent;
	border-left: .65em solid grey; /* 2e niveau */
}
.menu-item-has-children > a:hover:after{
	border-top: .35em solid transparent;
	border-bottom: .35em solid transparent;
	border-left: .65em solid darkcyan; /* survol */
}

/* Apparence de la flèche vers le bas (ouvert) */
.current-menu-ancestor > a:after,
.current-menu-item.menu-item-has-children > a:after{
	border-left: .35em solid transparent;
	border-right: .35em solid transparent;
	border-top: .65em solid black; /* 1er niveau */
}
.sub-menu .current-menu-ancestor > a:after,
.sub-menu .current-menu-item.menu-item-has-children > a:after{
	border-left: .35em solid transparent;
	border-right: .35em solid transparent;
	border-top: .65em solid grey; /* 2e niveau */
}
.current-menu-ancestor > a:hover:after,
.current-menu-item.menu-item-has-children > a:hover:after{
	border-left: .35em solid transparent;
	border-right: .35em solid transparent;
	border-top: .65em solid darkcyan; /* survol */
}

.main-navigation > div > ul,
.footer-navigation > div > ul {
	display: flex;
}

.footer-navigation > div > ul {
	justify-content:center;
}

/* Les sous-menus ne sons pas affichés... */
.main-navigation .sub-menu,
.footer-navigation .sub-menu{
	display: none;
	position: absolute;
	bottom:-2.5rem;
	left:0;
}

/* ...mais les sous-menus de la page courante s'affichent */
.main-navigation .current-menu-item > .sub-menu,
.main-navigation .current-menu-ancestor > .sub-menu,
.footer-navigation .current-menu-item > .sub-menu,
.footer-navigation .current-menu-ancestor > .sub-menu{
	display: flex;
}

/*---Other navs--*/

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.entry-meta,
.post-navigation,
.cat-links{
	display: none;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Categories
--------------------------------------------------------------*/
body.category #primary{
	max-width: 100% !important;
}

body.category .site-main{
	display: flex;
	flex-direction:row;
	flex-wrap: wrap; /* autoriser le passage à la ligne */
}

body.category .page-header{
	width: 100%;
	text-align: center;
}

.vignette-container{
	width: calc(100% / 3);
}

body.category article.post{
	display: flex;
	flex-direction: column;
	padding:0;

	width:100%; /* trois articles par ligne */
	flex-shrink:0; /* ne peuvent pas rétrécir?? */
}

.vignette-lien{
	margin:1rem;
	border:solid white 1rem;
	width: calc(100% - 2rem);
	height: 100px; /* doit être changé en JS */
	display: block;
	position: relative;
	background-size: cover;
	background-position: center;
	margin-bottom: 4rem; /* la hauteur de vignette-infos */
	z-index: inherit;

	transition: transform .5s ease-out;
}

.vignette-lien:hover{
	z-index: 999;

	-ms-transform: rotate(2deg) scale(1.1); /* IE 9 */
    -webkit-transform: rotate(2deg) scale(1.1); /* Chrome, Safari, Opera */
    transform: rotate(2deg) scale(1.1);
}

.vignette-infos{
	height: 4rem;
	background-color: white;
	position: absolute;
	left:-1rem;
	right:-1rem;
	bottom:-4rem;
	padding:1rem 1rem 1rem;
}

.vignette-infos h2, .vignette-infos p{
	position: absolute;
	line-height: 1.02rem;
	padding:0;
	margin: 0;
}

.vignette-infos h2{
	font-size: 1.1rem;
	color: black;
	display: block;
	overflow: hidden;
	height: 2.2rem;
	width: calc(100% - 2rem);
	z-index: 2;
}

.vignette-infos .prix{
	margin-top: 1rem;
}

.vignette-infos p{
	display: flex;
    align-items: center;
    justify-content: center;
	font-size: 1.2rem;
    transform: rotate(-12deg);
    right: 1.2rem;
    bottom: 4.2rem;
    color: white;
    background-color: mediumaquamarine;
    border-radius: 50%;
    z-index: 1;
    width: 4.5rem;
    height: 4.5rem;
    text-align: center;
    line-height: .9rem;
    text-transform: uppercase;
}

.vignette-infos p .etiquette:not(:first-of-type){
	display: none;
}

.vignette-infos p .etiquette{
	line-height: 1.1rem;
}

.vignette-infos p .etiquette.tag-10{ /* New */
	font-size:1.7rem;
	font-weight: bold;
}

.vignette-infos p .etiquette.tag-9{ /* Sold out */
	font-size: 1.3rem;
	line-height: 1.3rem;
}

.vignette-infos p .etiquette.tag-11{ /* Épuisé */
	font-size: 1.25rem;
}

.vignette-infos p .jour{
	font-size: 1.5rem;
	font-weight: bold;
}

.vignette-infos p .mois{
	font-size: .74rem;
	text-transform: uppercase;
}

.vignette-infos p .annee{
	font-size: 1rem;
	font-weight: bold;
}

@media screen and (max-width: 840px){
	.vignette-container{
		width:50%; /* deux articles par ligne */
	}

	.wrap{
		padding: 1rem;
	}
}

@media screen and (max-width: 450px){

	.header_wrapper{
		flex-direction: column;
	}

	.site-branding{
		padding: 0 0 1rem;
	}

	h1.blog-entry-title{
		word-break: break-word;
	}

	.vignette-container{
		width:100%; /* un article par ligne */
	}
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

#page{
	display: flex;
	flex-direction:column;
	min-height: 100vh;
	justify-content: space-between;
}

.logged-in #page{

	min-height: calc(100vh - 32px);
}

.sticky {
	display: block;
}

.hentry {
	
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.blog .entry-content{
	border-top: solid black 1px;
	margin-top: 2rem;
	padding-top: 4rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text,
.wp-caption-text.gallery-caption{
	margin: .5rem 0 0;
	font-style: italic;
	text-align: left;
}

.wp-caption-text.gallery-caption{
	margin: .2rem 0 0;
}

.featherlight{
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif !important;
}

.featherlight .caption{
	width: 100%;
	font-style: italic;
	font-size: .95rem !important;
	padding-top: .5vh;
	text-align: center !important;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	display: flex;
	flex-direction:row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.gallery-item {
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: .6rem 0;
}

.gallery-columns-2 .gallery-item {
	max-width: calc(50% - 1rem);
}

.gallery-columns-3 .gallery-item {
	max-width: calc(100% / 3 - 1rem);
}

.gallery-columns-4 .gallery-item {
	max-width: calc(25% - 1rem);
}

.gallery-columns-5 .gallery-item {
	max-width: calc(20% - 1rem);
}

.gallery-columns-6 .gallery-item {
	max-width: calc(100% / 6 - 1rem);
}

.gallery-columns-7 .gallery-item {
	max-width: calc(100% / 7 - 1rem);
}

.gallery-columns-8 .gallery-item {
	max-width: calc(12.5% - 1rem);
}

.gallery-columns-9 .gallery-item {
	max-width: calc(100% / 9 - 1rem);
}

.gallery-caption {
	display: block;
}