/*
# ------------------ BEGIN LICENSE BLOCK ------------------
#
# This file is part of PluXml : https://www.pluxml.org
#
# Package:		theme.css
# Copyright (c) 2017-2019 PluXml
# Authors		Stephane F., Pedro "P3ter" CADETE, Thomas "sudwebdesign" Ingles, Jean-Pierre Pourrez "bazooka07".
# Licensed under the GPL license.
# See http://www.gnu.org/licenses/gpl.html
#
# ------------------- END LICENSE BLOCK -------------------
*/

@font-face {
	font-family: 'open_sansregular';
	src: url('../fonts/OpenSans-Regular-webfont.eot');
	src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
	url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
	url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
	url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello/font/fontello.eot?49327848');
  src: url('../fonts/fontello/font/fontello.eot?49327848#iefix') format('embedded-opentype'),
	   url('../fonts/fontello/font/fontello.woff2?49327848') format('woff2'),
	   url('../fonts/fontello/font/fontello.woff?49327848') format('woff'),
	   url('../fonts/fontello/font/fontello.ttf?49327848') format('truetype'),
	   url('../fonts/fontello/font/fontello.svg?49327848#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* -------- hack against PluCSS ----------- */

.container {
	max-width: none;
}

/*
.menu .group.active {
	color: #444;
}
*/

textarea {
	resize: vertical;
}

@media screen and (min-width: 1280px) {
	html { background-color: #666; }
	body {
		position: relative;
		max-width: 1280px;
		margin: 0 auto;
	}
}

a:active, a:hover {
	color: var(--color1);
}

/* ---------------------------------------- */

body {
	--header-height: 7rem;
	--header-padding-top: 1.3rem;
	--bg-height: 490px;
	/* --color1: #B65F02; */ /* Marigold */
	/* --color1: #4778A9; */ /* Cerulean */
	/* --color1: #B55A30; */ /* Rust */
	/* --color1: #847306; */ /* Illuminating */
	/* --color1: #0072B5; */ /* French Blue */
	/* --color1: #338440; */ /* Green Ash */
	/* --color1: #DA3725; */ /* Burnt Coral */
	/* --color1: #00855D; */ /* Mint */
	/* --color1: #8F66A3; */ /* Amethyst Orchid */
	/* --color1: #D2386C; */ /* Raspberry Sorbet */
	font-family: 'open_sansregular', sans-serif;
	font-size: 1.7em;
	line-height: 1.6em;
	color: #3A4145;
	background-color: #fff;
}
/* ---------- Header ---------- */

.heading-small {
	font-size: 2rem;
}
.header {
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	padding-top: var(--header-padding-top);
	padding-bottom: 1rem;
	/* height: var(--header-height); */
	z-index: 2;
}
.header a {
	color: #222;
}
.header a:hover {
	text-decoration: none;
}
.bg {
	background: url(../img/bg_westlake.jpg) no-repeat top left;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: var(--bg-height);
}
.nav {
	text-align: right;
	padding-top: 0;
}

ul.menu {}

.menu>li {
	font-size: 1.5rem;
	margin-left: .5rem;
}

.menu a {
	border-bottom: 3px solid transparent;
}
/*
.menu a:hover {
	border-bottom: 3px solid;
	border-radius: 1px;
}
* */
.menu>li>span {
	cursor: default;
}
.menu>li ul {/* sub menu */
	position: absolute;
	padding: 0;
	line-height: 2.8rem;
	z-index: 10;
}
.menu > li:last-of-type ul {
	right: 0;
}
.menu>li:not(:hover) ul {/* hide sub menu */
	display: none;
}
.menu ul li {
	display: block;
	margin: 0;
	padding: 0 1rem;
	background-color: #fff;
	text-align: left;
}
.menu .sub-menu {
	overflow-y: auto;
}
.menu .sub-menu li {
	padding: 0 0.35rem;
}
.menu .sub-menu li:last-of-type {
	padding-bottom: 0.35rem;
}

.menu>li span::before {/* / menu */
	content: '25bc';
	padding-right: 0.5rem;
}
ul.menu .noactive a:hover,
ul.menu .active span,
ul.menu span.active,
ul.menu li.active a,
ul.menu a.active,
ul.menu li span:hover,
ul.menu li a:hover {/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	/* color: #000 !important; */
	color: #fff;
	background-color: var(--color1);
	text-decoration: none;
}

ul.menu li span,
ul.menu li a {/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	display: inline-block;
	padding-left: .35rem;
	padding-right: .35rem;
	width: 100%;
	/*	cursor: pointer;*/
	/* background-color: rgba(255,255,255,.55); */
	color: var(--color1);
	border-radius: 5px;
	white-space: nowrap;
}

ul.menu li span a,
ul.menu li a span {/* pluCss1.3.1 fix : plxMyshop 0.13.x, maybe more */
	white-space: nowrap;
	display: inline;
	margin-right: -.35rem;
	padding-left: 0;
}

/*
ul.menu li.noactive a,
ul.menu a.noactive{
	background-color: rgba(255,255,255,.55);
	border-radius: 1px;
	color: var(--color1);
}
*/

.cat-list .active,
.classified-in .active {
	background-color: var(--color1);
	color: #fff;
}
.aside a,
.classified-in a {
	padding: 0 0.5rem;
}

/* ---------- Main ---------- */

.main {
	background-color: #fff;
	padding-top: 2rem;
}

.repertory {
	margin-top: 4rem;
}


/* ------- Pagination ------- */

.pagination {
	margin: 3rem 0 3rem 0;
}

.pagination a {
	background-color: var(--color1);
	border-radius: .3rem;
	color: #fff;
	padding: .9rem .7rem;
	transition-duration: .2s;
}

.pagination a:hover {
	background-color: #3a6c96;
	color: #fff;
	text-decoration: none;
}

.pagination span:first-letter,
.pagination a:first-letter {
	text-transform: uppercase;
}

.p_first,
.p_prev,
.p_current,
.p_next,
.p_last {
	display: inline-block;
}


/* ------- Article ------- */

article:after {
	display:block;
	content: "";
	clear: both;
}

.article header {
	margin-top: 2rem;
}

.article header div {
	margin: 0;
}

.article header h2,
.article header h2 a {
	color: var(--color1);
	font-size: 3.2rem;
	line-height: 1.2em;
	letter-spacing: -1px;
	font-weight: bold;
	margin: 0;
}

.article header h2 a:hover {
	color: #fff;
	background-color: var(--color1);
	text-decoration: none;
}

.article header small,
.comment small {
	color: #9EABB3;
}

.article header span:before,
.article header time:before,
.article footer span:before {
	padding-left: 1.5rem;
	padding-right: .3rem;
}

.article .art-date {
	font-size: 1.5rem;
	color: #9EABB3;
}

.article .written-by:after {
	content: '|';
	padding-left: 0;
}

.article .classified-in:after {
	content: '|';
	padding-left: 0;
}

.article img.art_thumbnail {
	padding: 30px 15px 15px 0;
	float: left;
}

.page.mode-article .article footer {
	border-top: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
}

/* ------- Comments ------- */

summary {
	cursor: pointer;
}

summary > * {
	display: inline-block;
}

#form {
	background-color: #eee;
	border: 1px solid #aaa;
	padding: 0.5rem 1rem;
	border-radius: 1rem;
	margin-bottom: 2.5rem;
}

.comment {
	background-image: url('../img/user.png');
	background-repeat: no-repeat;
	margin-bottom: 2.5rem;
	padding-left: 6rem;
	border-top: 100px solid transparent;
	margin-top: -100px;
}

.comment blockquote {
	margin: 0;
	font-size: 1.3rem;
}

#com_message {
	position: fixed;
	bottom: 25vh;
	width: 80vw;
	margin: 0 10vw;
	text-align: center;
	z-index: 999;
}

#com_message {
	position: fixed;
	bottom: 25vh;
	width: 32rem;
	left: calc(50vw - 16rem);
	margin: 0;
	text-align: center;
    border: 1px solid;
    border-radius: 1.5rem;
    cursor: pointer;
	z-index: 999;
}

#com_message.hide {
    display: none;
}

#com_message p {
    margin: 0;
}

#id_rep {
	display: inline;
	width: 4rem;
	margin-left: 2rem;
	text-align: center;
}

#details > summary {
	margin-bottom: 2.5rem;
}

.type-admin {
	background-color: #F0F8FF;
	padding: .2rem .5rem;
}

.nbcom {
	background-color: var(--color1);
	border-radius: .3rem;
	color: #fff;
	padding: .4rem .6rem;
}

.nbcom:hover {
	background-color: #3a6c96;
	color: #fff;
	text-decoration: none;
}

.level-0 {
	margin-left: 0;
}

.level-1 {
	margin-left: 5rem;
}

.level-2 {
	margin-left: 10rem
}

.level-3 {
	margin-left: 15rem;
}

.level-4 {
	margin-left: 20rem;
}

.level-5,
.level-max {
	margin-left: 25rem;
}

#id_answer {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #eee;
	width: 100%;
	background: #fafafa;
	display: none;
}


.capcha-letter,
.capcha-word {
	font-weight: bold;
}

.capcha-word {
	background-color: #ddd;
	border-radius: .3rem;
	letter-spacing: .5rem;
	padding: .9rem .7rem;
	transition-duration: .2s;
}

.capcha-word:hover {
	background-color: #666;
	color: #fff;
	transition-duration: .2s;
}

/* ------- Sidebar ------- */

.aside {
	padding: 0 2rem 0 2rem;
}

.aside h3 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 5rem;
	text-transform: uppercase;
}

.aside ul {
	margin: 0;
}


/* --------- tags ---------- */

.aside ul.tag-list {
	list-style-type: none;
	padding: 0;
}

.aside ul.tag-list li {
	display: inline-block;
	margin: 0.25rem 0.5rem;
}

.aside ul.tag-list li a {
	padding: 0 0.5rem;
}

.aside ul.tag-list li a.active {
	font-weight: bold;
	background-color: #68838b;
	color: #fff;
}

/* https://www.w3schools.com/colors/colors_trends.asp (The 10 Hottest Fall Colors for 2016) */

.tag-size-1 a {
	font-size: 1.0rem;
	/* Riverside  */
	color: #4C6A92;
}

.tag-size-2 a {
	font-size: 1.2rem;
	/* Airy Blue  */
	color: #92B6D5;
}

.tag-size-3 a {
	font-size: 1.4rem;
	/* Sharkskin  */
	color: #838487;
}

.tag-size-4 a {
	font-size: 1.6rem;
	/* Bodacious */
	color: #B76BA3;
}

.tag-size-5 a {
	color: #AF9483;
	/* Warm Taupe */
	font-size: 1.8rem;
}

.tag-size-6 a {
	color: #AD5D5D;
	/* Dusty Cedar */
	font-size: 2.0rem;
}

.tag-size-7 a {
	font-size: 2.2rem;
	/* Lush Meadow */
	color: #006E51;
}

.tag-size-8 a {
	font-size: 2.4rem;
	/* Spicy Mustard */
	color: #D8AE47;
}

.tag-size-9 a {
	font-size: 2.6rem;
	/* Potter's Clay */
	color: #9E4624;
}

.tag-size-10 a {
	font-size: 2.8rem;
	/* Aurora Red */
	color: #B93A32;
}

.tag-size-11 a {
	font-size: 3.0rem;
	/* Snorkel Blue */
	color: #034F84;
}

/* ---------- Footer ---------- */

.footer {
	background: #fff;
	color: #666;
	padding: 2rem 0 0.5rem;
	text-align: center;
	font-size: 1.2rem;
}

.footer p {
	margin: 0;
}

.footer a:hover {
	text-decoration: none;
}

@media (min-width: 128rem) {
	.container {
		padding-left: 15rem;
		padding-right: 15rem;
	}
	.heading-small {
		font-size: 3rem;
	}
}

@media screen and (min-width: 768px) {
	body > .header {
		position: sticky;
		top: 0;
	}

	.nav {
		position: absolute;
		right: 2rem;
		/* width: max-content !important; */
		line-height: initial;
	}
}

@media (min-width: 64rem) {
	.container {
		padding-left: 5rem;
		padding-right: 5rem;
	}

	.heading-small {
		font-size: 2.5rem;
	}
}

@media (max-width: 767px) {
	.header .col {
		float: none;
	}
	.header {
		position: sticky;
		top: 0;
	}
	.header-main:hover .grid {
	overflow: unset
	}
	.header div.grid{
		overflow: unset;/* fix hidden sub-menu */
	}
	.logo {
		background-size: 5rem;
		background-position: 2.5rem 0;
		padding-left: 8rem;
		margin-left: -1rem;
	}
	.heading-small {
		line-height: .5;
		margin-bottom: .5rem
	}
	.header a:hover {
		color: #eee;
	}
	.header h1 * {
		font-size: 1.61rem;
	}
	.header h2 {
		font-size: 1.23rem;
	}
	.header,
	.footer {
		padding: 1rem 0;
	}
	.aside {
		padding-left: 1.5rem;
	}
	.nav {
		position: sticky;
		top: 0;
		z-index: 4; /* responsive slide is in 3 */
		height: auto;
		max-height: 80vh;
		width: min-content;
		margin-left: auto;
		margin-right: 1rem;
		margin-top: 0;
		overflow-y: auto;
		text-align: left;
		z-index: 10;
	}
	.nav > .container {
		padding: 0;
	}
	.nav label[for="menu"] {
		position: fixed;
		top: 1rem;
		right: 2rem;
		width: min-content;
	}
	ul.menu {
		padding: 0.5rem 1rem 0.5rem 2rem;
		border: 1px solid #ddd;
		border-radius: 1rem;
	}
	ul.menu, ul.sub-menu li {
		background-color: #f8f8f8;
	}
	.menu li:hover {}
	.menu>li span::before {/* sub menu icon */
		margin-left: -1.5rem;
	}
	.responsive-menu label {
		background-color: transparent;
		color: #333;
		font-size: 2.6rem;
		text-align: right;
	}
	.responsive-menu label:after {
		content: '2630';
	}
	.responsive-menu label > span {
		font-size: 1.6rem;
	}
	.menu>li ul {
		position: relative !important;
		border-bottom: 0px solid transparent;
	}
	.menu>li ul li:hover {
		background-color: #fff;
	}
	.responsive-menu ul li.active a, .responsive-menu ul li.active:hover {
		background-color: transparent;
		color: inherit;
		font-weight: bold;
	}
	.menu>li ul li:hover a {
/*		text-decoration: underline; */
	}
	/*
	 ul.menu li.active a,
	 ul.menu li.active:hover,
	 ul.menu li,
	 ul.menu li:hover {
		background-color: #fff;
		color: #000;
	}
	*/
	.responsive-menu ul li:hover > .sub-menu {
		display: block;
	}
	.comment {
		background-image: none;
		padding-left: 0;
	}
	.level-1 {
		margin-left: 1rem;
	}
	.level-2 {
		margin-left: 2rem;
	}
	.level-3 {
		margin-left: 3rem;
	}
	.level-4 {
		margin-left: 4rem;
	}
	.level-5,
	.level-max {
		margin-left: 5rem;
	}
}
@media (max-width: 463px) {
	.heading-small {
		font-size: 3rem;
	}
	.nav {
		padding-top: 0rem;
	}
	ul.menu {
		margin: 0 2px .5px 2px;
		border-radius: 15px;
	}

	.header h1 * {
		font-size: 1.23rem;
	}
	.header h2 {
		font-size: 1rem;
	}
	.bg {
		height: 100px;
	}
	.static.group,
	.static.menu a {
		padding: 0;
	}
}

/* ------- footnotes ---------- */

.footnotes {
	list-style: none;
	padding-left: 0;
	font-size: smaller;
}

/* -------- new-page ------------- */

.article[id^="post-"] .art-nav .active {
	color: yellow;
}

.article[id^="post-"] .art-nav > *:not(:first-of-type) {
	margin-left: 1rem;
}

.article[id^="post-"] .new-page:not(.active) {
	display: none;
}


/* -------- miscellanous --------- */

body > .main {
	padding-top: 0;
}

.article[id^="post-"] .main-post p:not(.more) {
	text-align: justify;
	text-indent: 2rem;
}

.article[id^="post-"] .main-post .more {
	text-align: end;
}

.tag-list {
	text-align: center;
}

.cat-list > li,
.arch-list > li {
	display: flex;
	justify-content: space-between;
}

.comment {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1rem;
	margin-top: 0;
	padding-left: 0;
	border-top: none;
	background: none;
}

.comment::before {
	font-family: fontello;
	font-size: 200%;
	content: 'f061';
	padding-top: 0.5rem;
	color: #888;
}

.brand {
	display: flex;
	gap: 1rem;
}

.brand::before {
	content: ''; /* n'affiche rien mais indispensable */
	width: 5rem;
	background: url('../img/logo.png') no-repeat left center;
	background-size: contain;
}

.logo {
	background: none;
	margin-left: 0;
	padding-left: 0;
	height: auto;
}

.article[id^="post-"] .tags a {
	padding: 0 0.5rem;
}

.article[id^="post-"] .tags a.active {
	background-color: var(--color1);
	color: #fff;
}

.more > a::after {
	font-family: fontello;
	content: 'e802';
	padding-left: 1rem;
}

.lastart-list > li,
.lastcom-list > li {
	overflow-x: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cat-list .active, .classified-in .active,
.article[id^="post-"] .tags a.active {
	letter-spacing: 0.15rem;
}

body > .footer span {
	white-space: nowrap;
}

/* --------- media print ----------- */

@media print {
	.header .grid > div:first-of-type {
		width: 100%;
	}
	.header .grid > div:not(:first-of-type),
	body > .footer,
	.bg,
   .no-print {
		display: none;
	}

	.rss::after {
		content: attr(href);
		display: block;
	}
}

/* ---------- rss ---------- */

.rss::before {
	font-family: fontello;
	content: 'f143';
	margin-right: 0.5rem;
}