@charset "utf-8";
/* FONT-FACES
------------------------------------------------------------*/

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300;
	font-display: fallback;
	src: local("roboto light"), url("../fonts/roboto-300.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: fallback;
	src: local("roboto regular"), url("../fonts/roboto-400.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: fallback;
	src: local("roboto medium"), url("../fonts/roboto-500.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: fallback;
	src: local("roboto bold"), url("../fonts/roboto-700.woff2") format("woff2");
}

@font-face {
	font-family: "icon";
	font-display: block;
	src: url("../fonts/icons.woff2") format("woff2");
}

/* CSS VARIABLES
------------------------------------------------------------*/
:root {
	--md-primary-color: #0288D1; /* UI objects BG : top, etc. ; */
	--md-primary-color-variant: #E5e8ff; /* lighter version, semi-transparent of primary */
	--md-secondary-color: #FF5252; /* UI items : FAB, buttons…; */
	--md-secondary-color-variant: #E0D0E3; /* lighter version, semi-transparent of primary */

	--md-app-background-color: #fafafa; /* page background-color */
	--md-card-color: #fff; /* Card background color */
	--md-card-color-hover: #eee; /* Card background color */
	--md-card-color-focus: #fff; /* Card background color */


	--main-md-text-color: #222;
	--scnd-md-text-color: #fff;
}

::selection {
	color: var(--main-md-text-color);
	background: var(--md-primary-color);
}

/* GENERAL PAGE LAYOUT
------------------------------------------------------------ */

html,
body {
	margin: 0;
	padding: 0;
}

html {
	color: rgba(0, 0, 0, .87);
	font-family: Roboto, Verdana, Helvetica, Arial, sans-serif;
	word-wrap: break-word;
	font-size: 15px;
	height: 100%;
	background: var(--md-app-background-color);
}

body {
	position: relative;
	/*min-height: calc( 100% - 100px);
	padding-bottom: 100px;*/
	min-height: 100%;
	background: inherit;
}

#axe { /* the entire page without top bars (#header) and footer (#footer) */
	padding: 20px;
	margin: auto;
	background: inherit;

}

#side {
	box-shadow: 0 1px 8px rgba(0,0,0,.5);
	background: var(--md-card-color);
}

#page { /* the main frame. #axe minus the "filtre" forms, and the subnav */
	padding: 5px;
	background: inherit;
	max-width: 1100px;
	margin: auto;
}

/* Footer */
body > footer {
	text-align: center;
	padding: 20px;
	border-top: 1px dotted;
	margin: 15px auto;
	max-width: 1100px;
}


/* GENERAL STUFF 
------------------------------------------------------------------- */


[hidden] {
	display: none!important;
}

:not(img)::before,
:not(img)::after {
	font-family: "icon";
	vertical-align: middle;
	line-height: 1;
	color: inherit;
}

.centrer {
	text-align: center;
}

img {
	border: none;
}

pre { white-space: pre-wrap; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Trebuchet MS', Roboto, Arial, sans-serif;
	clear: both;
}

textarea {
	resize: both;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}

textarea, input {
	font-family: inherit;
	font-size: inherit;
	font-weight: 300;
}

label, input, textarea, select {
	vertical-align: middle;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
button {
	cursor:pointer;
}

q, blockquote {
	font-style: italic;
}


/* TOP HEADER BAR 
------------------------------------------------------------------- */


#header {/* the top bar(s) */
	z-index: 100;
	color: var(--main-md-text-color);
	color: inherit;
	background: inherit;
	position: relative;
	top: 0;
	box-shadow: 0 1px 8px rgba(0,0,0,.5);
	background: var(--md-card-color);
}


/* TOP
------------------------------------------------------------------------ */
#top {
	display: flex;
	box-sizing: border-box;
	align-items: center; /* vertical align*/
	min-height: 64px;
	padding: 8px 20px 8px 8px;
}

#top a {
	text-decoration: none;
	color: inherit;
}


/* TOP > "hide menu" button (burger menu)
------------------------------------------------------*/
#hide-side-nav {
	padding: 0;
	background-color: transparent;
	border: none;
	opacity: .7;
	flex-shrink: 0;
}

#hide-side-nav:focus::before {
	background-color: rgba(0, 0, 0, .1);
}

#hide-side-nav:before {
	content: "\e5d2";
	font-size: 1.7em;
	cursor: pointer;
	display: block;
	border-radius: 50%;
	line-height: 48px;
	width: 48px;
}


/* TOP > H1 : title w/ link;
------------------------------------------------------*/
#titre-page {
	font-size: 1.5em;
	font-weight: normal;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1 1 auto;
	margin: 0;
}

#titre-page > a {
	display: inline-block;
	padding: 0 15px 0 8px;
}

#titre-page > a::before {
	font-size: 1.15em;
	content: "\E80E";
	vertical-align: bottom;
	padding-right: 10px;
}


/* TOP > Search button + searchbar
------------------------------------------------------*/
#search {
	flex: 0 1 auto;
	margin: 0 15px 0 8px;
	display: flex;
	align-items: stretch;
	background-color: rgba(0, 0, 0, .1);
	border-radius: 4px;
}

#search:focus-within { /* background on :focus */
	box-shadow: 0 0 4px black;
}

#input-rechercher {
	display: none;
}

#q { /* normal : transparent; */
	padding: 0;
	border: 1px solid transparent;
	max-width: 350px;
	flex: 1 1 auto;
	order: 2;
	background-color: transparent;
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	appearance: none;
	outline: none;
}


#label_q {
	flex: 0 0 48px;
	text-align: center;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	font-size: 0;
}

#label_q::before {
	content: "\e8b6";
	font-size: 1.6rem;
	display: block;
	line-height: 48px;
}

#q,
#label_q { /* hover */
	cursor: text;
}


/* TOP > Right nav bar
------------------------------------------------------*/
#nav-acc::before {
	font-size: 2em;
	text-align: center;
	content: "\E8E6";
	width: 48px;
	cursor: pointer;
	display: inline-block;
	line-height: 48px;
}

/* TOP > right menu
----------------------------------------*/
#nav-acc > ul {
	list-style-type: none;
	margin: 0;
	padding: 5px 0;
	box-sizing: border-box;
	position: absolute;
	background: var(--md-card-color-focus);
	right: 8px;
	transform: translateY(-230px);
	top: 60px;
	box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.6);
	text-align: right;
	opacity: 0;
	border-radius: 2px;
	color: inherit;
	z-index: 1;
}

#nav-acc > ul::before {
	content: "";
	position: absolute;
	padding: 7px;
	top: -7px;
	right: 29px;
	transform: rotate(45deg);
	background: inherit;
	z-index: -1;
}

#nav-acc.visible > ul {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .2s ease-in;
}

#nav-acc a {
	height: 45px;
	line-height: 45px;
	padding: 0 48px 0 48px;
	display: block;
}

#nav-acc a:hover {
	background: rgba(0, 0, 0, .1);
}

#nav-acc a:after {
	font-size: 1.2em;
	margin-left: 10px;
	font-weight: bold;
}

#nav-acc li:nth-of-type(1) a::after { content: "\E241"; }
#nav-acc li:nth-of-type(2) a::after { content: "\EB40"; }
#nav-acc li:nth-of-type(3) a::after { content: "\E8D0"; }



/* SUBTOP (blog description)
------------------------------------------------------------------ */
#subtop {
	padding: 8px 8px 8px 64px;
}




/* GENERAL FORM STUFF
----------------------------------------------------------*/
legend {
	padding: 0;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.text, *[type='submit'] {
	box-sizing: border-box;
	padding: 5px;
	background: none;
}

.text {
	margin: 0;
	padding: 10px;
	border: 1px solid silver;
	border-radius: 4px;
	background: var(--md-card-color);
	position: relative;
	outline: none;
}

.text:invalid {
	box-shadow: none;
	outline: none;
	border-bottom-color: red;
}

.text:focus {
	box-shadow: 0px 0px 5px 2px silver;
	z-index: 2;
	border-radius: 4px;
	border-color: transparent;
}

/* FORMS defaults
-------------------------------------------------------------*/
/*input buttons */
.submit-bttns {
	text-align: right;
	margin: 20px auto 5px;
	box-sizing: border-box;
	width: 100%;
	max-width: 700px;
	padding: 0 20px;
}

.submit-bttns .button-delete {
	float: left;
	min-width: 130px;
}

.submit {
	color: white;
	font-weight: 500;
	vertical-align: middle;
	padding: 8px 9px;
	border-radius: 4px;
	border: 0px solid transparent;
	min-width: 100px;
	text-transform: uppercase;
}

.submit:hover {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.button-submit {
	min-width: 120px;
	background: #2196f3;
}

.button-delete {
	color: #f44336;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
	transition: box-shadow .2s;
	background: rgba(244, 67, 54, .1);
}

.button-cancel {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
	background: white;
	color: #777;
	background: var(--md-card-color-hover);
	color: var(--main-md-text-color);
	margin-right: 5px;
	transition: box-shadow .2s;
}

.submit[disabled] {
	color: silver;
	background: #eee;
	box-shadow: none;
	cursor: auto;
}

.submit {
	position: relative;
	overflow: hidden;
}

.submit:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, .5);
	opacity: 0;
	border-radius: 100%;
	transform: scale(1, 1) translate(-50%);
}

/* for mouse focus */
.submit:focus:hover::after {
	animation: md-ripple 1s ease-out;
}

/* for keyboard focus */
.submit:focus:not(:hover)::after {
	background: rgba(255, 255, 255, .2);
	transform: scale(1, 1);
	border-radius: 0;
	opacity: 1;
}


/* ERREURS */
#erreurs, .erreurs, #succes, .succes {
	display: block;
	clear: both;
	margin: 0 0 15px 0;
}

#erreurs, .erreurs {
	color: #D40000;
}

#succes, .succes {
	color: #00A400;
}

#erreurs ul {
	list-style-type: square;
	padding-left: 20px;
	margin-top: 10px;
}

#erreurs li {
	margin: 0;
}







/* Blog posts layout
-------------------------------------------------------------*/
article.post {
	padding: 15px;
	background: var(--md-card-color);
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%), 0 3px 1px -2px rgb(0 0 0 / 20%);
	border-radius: 4px;

	position: relative;
	z-index: 1;
	margin: 20px auto;
	page-break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

article header.post-title {
	padding-bottom: 5px;
}

article header.post-title h1 {
	margin: 0 0 5px 0;
	display: flex;
	justify-content: space-between;
}

article header.post-title h1 a {
	text-decoration: none;
	color: inherit;
}

article header.post-title .author,
article header.post-title .date {
	display: inline-block;
}

article header.post-title .date > a {
}

article div.post-content {
	padding: 15px 0;
	border: 1px dotted rgba(128, 128, 128, .6);
	border-width: 1px 0 1px;
}

article footer {
	padding-top: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

article footer .post-tags a {
	display: inline-block;
	text-decoration: none;
	padding: 5px 10px;
	margin-right: 5px;
	border: 1px solid silver;
	border-radius: 20px;
	color: inherit;
}





/* Blog posts specific
-------------------------------------------------------------*/
article div.post-content code {
	padding: 3px;
	margin: 0;
	color: var(--md-secondary-color);
	border: 1px dotted;
}


article div.post-content pre {
	color: var(--md-secondary-color);
	border-left: 4px solid var(--md-secondary-color);
	padding: 10px;
	word-break: break-all;
	border: 1px solid;
	border-left-width: 4px;
}

article div.post-content pre > code {
	border: none;
}

article div.post-content blockquote {
	padding: 1em 1em 1em 2em;
	text-align: justify;
	border-radius: 2px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 30%);
	font-weight: 100;
	line-height: 1.7;
	font-style: italic;
	font-family: serif;
}









/* COMMENTAIRES
-------------------------------------------------------------------------------- */


/* list of comments */
#commentaires {
	margin: 30px auto;
	padding: 15px;
	max-width: 900px;
}

#commentaires .nbcom {
	margin: 10px 0 40px;
	font-size: 1.3em;
	text-align: center;
}

/* 1 comment */
.comment {
	margin-bottom: 24px;
	display: flex;
}

.comment:not(:last-of-type) .comm-icon-side::after {
	content: "";
	background-color: rgba(127, 127, 127, .5);
	display: block;
	width: 5px;
	height: 60%;
	height: calc(100% - 70px);
	position: relative;
	margin: 0 auto;
	top: 10px;
}

.comment .comm-icon-side {
	flex: 0 0 140px;
	text-align: center;
}
.comment .comm-icon-side time {
	font-size: .8em;
}
.comment .comm-icon-side .com-gravatar {
	border-radius: 48px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
	width: 48px;
	display: block;
	margin: 5px auto;
}

.comment .comm-main-frame {
	flex: 1;
	padding: 20px 24px;
	background-color: var(--md-card-color);
	box-shadow: 0 0 2px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.24);
	min-width: 0;
}

.comment:target .comm-main-frame {
	box-shadow: 0 8px 16px #2196F3;
}

.comment .com-head {
	padding: 0 0 15px;
	font-size: .9em;
}

.comment .com-head .author {
	font-size: 1.25em;
	font-weight: bold;
}

.com-footer {
	text-align: right;	
	padding: 15px 0 0
}

.com-footer a {
	padding: 5px;
	margin-left: 5px;
	border: 1px solid silver;
	border-radius: 4px;
	font-style: italic;
}
.com-footer a:hover {
	box-shadow: 0 0 2px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.24);
}



/* Blog posts : form-comments
-------------------------------------------------------------*/

#form-commentaire {
	padding: 15px;
	background: var(--md-card-color);
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%), 0 3px 1px -2px rgb(0 0 0 / 20%);
	border-radius: 4px;
}


/* Comment form */
.comm-main-frame > #form-commentaire {
	margin: 15px;
}

#form-commentaire .formatbut {
	border: 1px solid silver;
	margin: 0;
	padding: 5px;
	background: var(--md-card-color-focus);
	position: relative;
	z-index: +3;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#form-commentaire .field {
	position: relative;
	z-index: 1
}

#form-commentaire textarea.text {
	border: 0;
	border-left: 1px solid silver;
	border-right: 1px solid silver;
	border-bottom: 1px solid silver;
	border-radius: 0;
}

#form-commentaire textarea.text:focus {
	box-shadow: none;
}

#form-commentaire .infos {
	margin: 15px auto 0;
	max-width: 660px;
}

#form-commentaire .infos > span {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

#form-commentaire span > input.text {
	flex: 1;
	border-color: transparent;
	border-bottom-color: silver; 
}


/* New Comment */
#post-nv-commentaire {
	margin-top: 35px;
}

#post-nv-commentaire h2 {
	margin: 0;
	font-size: 1.1em;
	text-transform: uppercase;
}

#post-nv-commentaire #form-commentaire {
	margin-top: 15px;
}

/* Boutons de formatage  */
p.formatbut {
	margin: 0;
	padding: 5px;
	background: var(--md-card-color-focus);
	position: relative;
	z-index: +3;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.formatbut .but {
	padding: 0;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	background: inherit;
	border: 1px solid transparent;
	border-radius: 4px;
}

.formatbut .but:hover {
	transition: border-color .3s;
	border-color: silver;
}

.formatbut .but:active {
	border-color: gray;
	background: var(--md-card-color-focus);
}

.formatbut span.spacer {
	margin: 0 10px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #fff;
	height: 30px;
	display: inline-block;
	vertical-align: middle;
}

.formatbut > .but::before {
	font-size: 1.4em;
	display: inline-block;
	padding: 5px;
}

#button01::before { content: "\e238"; }  /* bold */
#button02::before { content: "\e23f"; }  /* ital */
#button03::before { content: "\e249"; }  /* underline */
#button04::before { content: "\e246"; }  /* strike */
#button05::before { content: "\e236"; }  /* left align */
#button06::before { content: "\e234"; }  /* center align */
#button07::before { content: "\e234"; }  /* right align */
#button08::before { content: "\e235"; }  /* justify */
#button09::before { content: "\e250"; }  /* link */
#button10::before { content: "\e244"; }  /* quote */
#button11::before { content: "\e3c4"; }  /* image */
#button12::before { content: "\e86f"; }  /* code */
#button13::before { content: "\e23c"; }  /* color edit */
#button14::before { content: "\e245"; }  /* font size edit */
#button15::before { content: "\e24a"; }  /* unicode char insert */
#button16::before { content: "\e241"; }  /* ul list */
#button17::before { content: "\e242"; }  /* ol list */
#button18::before { content: "\e8ce"; }  /* autocorrect */
#button19::before { content: "\e5d0"; }  /* fullscreen */
#button20::before { content: ""; }  /* word counter */


#form-commentaire .field:focus-within {
	background: var(--md-card-color-focus);
	box-shadow: 0px 0px 5px 2px silver;
}








/* Blog posts : shaared links
-------------------------------------------------------------*/

article header.lien-title h1 {
	justify-content: initial;
}

article header.lien-title h1 a {
	padding-right: 5px;
}

article header.lien-title h1 a+a {
	padding-left: 5px;
}

article div.lien-content:empty {
	display: none;
}

/* Blog posts : pagination (suivants / précédents)
-------------------------------------------------------------*/

.pagination {
	text-align: center;
	margin: 50px auto 50px;
}

.pagination > a {
	background: var(--md-card-color);
	padding: 15px;
	margin: 5px;
	color: inherit;
	text-decoration: none;	
	box-shadow: 0 0 2px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.24);
}










/* Side Nav
-------------------------------------------------------------*/



/* side nav */
#side {
	box-shadow: 8px 8px 8px rgba(0, 0, 0, .5);
	padding: 10px 0;
	position: fixed;
	width: 400px;
	max-width: 95%;
	box-sizing: border-box;
	top: 120px;
	bottom: 0;
	background: var(--md-card-color);
	transform: translateX(-100%);
	transition: transform .5s cubic-bezier(0.50, 0, 0, 1), opacity .0s .5s;
	opacity: 0;
	overflow-y: auto;
	left: 0;
}

#side.shown {
	transition: transform .5s cubic-bezier(0.50, 0, 0, 1), opacity 0s;
	transform: translateX(0);
	opacity: 1;
	z-index: 110;
}

#side nav {
	padding: 20px;
}
#side .nav-title {
	color: rgba(42, 42, 42, .6);
	font-weight: bold;
}

#links ul {
	padding: 0;
	list-style: none;
}

#links ul li {
	padding: 5px 15px 0;
	height: 40px;
}

#calendrier {
	margin: 0 auto;
}
#calendrier,
#calendrier caption {
	background: rgba(0, 0, 0, .02);
}

#calendrier caption {
	padding: 15px 0 20px;
}

#calendrier caption > a {
	padding: 5px 10px;
	text-decoration: none;
	color: inherit;
}

#calendrier td {
	width: 30px;
	height: 30px;
	border-radius: 3px;
	border: 1px solid transparent;
	empty-cells: hide;
	text-align: center;
	line-height: 30px;
	position: relative;
}

#calendrier td a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}


#calendrier td a::before {
	content: "";
	background-color: #2196F3;
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	left: 14px;
	bottom: 2px;
}

#lastcom {
	margin-top: 50px;
}
#lastcom > ul {
	padding: 0;
	list-style: none;
}
#lastcom > ul li {
	padding: 5px 15px 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	border: 1px solid;
	border-radius: 5px;
	background: var(--md-app-background-color);
	margin: 5px 0;
}

#lastcom > ul a {
    white-space: nowrap;
    display: block;
}

#lastcom > ul a:hover {
	text-decoration: underline;
}
#alltags > ul {
	list-style: none;
	padding: 0;
	font-size: 0;
}
#alltags > ul li {
	display: inline-block;
	margin: 2px;
	font-size: initial;
	border: 1px solid silver;
	background: rgba(0, 0, 0, .05);
	border-radius: 3px;
}
#alltags > ul li:hover {
	background: rgba(0, 0, 0, .1);
}

#alltags > ul a {
	text-decoration: none;
	color: inherit;
	display: inline-block;
	margin: 0;
	padding: 3px 5px;
	vertical-align: middle;
}

#alltags > ul a:last-of-type {
	width: 16px;
	height: 20px;
	background: transparent url(../imgs/sprites.png) no-repeat -116px -168px / 640px 400px;
	border-left: 1px solid transparent;
}

#alltags > ul li:hover a:last-of-type {
	border-left: 1px solid silver;
}




/* Side Nav
-------------------------------------------------------------*/
#liste-all-articles {
	padding: 25px;
	background: var(--md-card-color);
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%), 0 3px 1px -2px rgb(0 0 0 / 20%);
	border-radius: 4px;
	list-style: none;

}

#liste-all-articles li {
	padding: 5px;
}
#liste-all-articles li time {
	padding: 0 10px;
}