
/* ----- Menu/navigation ----- */

.nav {
	background-color: #777;
	font-size:1.2em;
	text-align: left;
	margin: 0;
}

.nav ul a{
	color:#fff;
	padding:0 1rem;
}
.nav ul a.active{
	color: #666;
	background-color: #bdd;
	display:inherit;
	padding:0 1rem;
}
.menu.breadcrumb li + li:before, .menu.expanded.breadcrumb > li + li a:before {
    content: ">";
}
.menu.breadcrumb li{
margin-left: .5rem; font-size: 1em;}
.menu.breadcrumb li:first-child {
    margin-left: 0;
}
.menu.breadcrumb li a.active {
	color: #628;
	display:inherit;
}

@media (max-width: 767px) {
	.nav {
		height: auto;
		overflow-y: auto;
		text-align: left;
		margin-top: 0;
	}
	.nav>.container {
		padding: 0;
	}
	.responsive-menu label {
		font-size: 3.5rem;
		text-align: right;
	}
	.responsive-menu label:before {
		content: '\039e';
	}
}
/* affichage groupe des pages statiques */
/*   sous forme de menus déroulants     */

@media (max-width: 768px) {
	.menu > li ul {
		position: relative !important;
	}
	.menu > li ul  li:hover {
		background-color: #fff;
	}
	.menu > li ul  li:hover a{
		text-decoration: underline;
	}
	.responsive-menu ul li.active a,
	.responsive-menu ul li.active:hover {
		background-color: #fff;
		color: #000;
	}
}
.menu > li ul {
	display: none;
	position: absolute;
	padding: 0;
	line-height: 3rem;
}
.menu > li:hover ul {
	display: block;
}
.menu ul li {
	display: block;
	margin: 0;
	padding: 0 1rem;
	background-color: #fff;
}
.static.group.active,
.static.menu.active a {
	color: #fff;
}
.static.menu.active{
    background-color: #199;
    display: inline-block;
    padding: 1em;
	}
.static.group.noactive,
.static.menu.noactive a {
	color: #eee;
}
.menu span::before {
	content: '\25bc';
}





/* ---------- Header ---------- */
html{background-color:#161616;}
html, body {color:#666;	font-size: 1rem;z-index:1}

@media (min-width: 64rem) {
	.container {
		padding:0 14.8rem;
	}
}

.header {
	background-color: #161616;
	color: #fff;
	padding:0.5rem 0 0;
	width:100%;
	z-index:2
}
.mode-home>.header 
{
  height: 10rem;
}
.header a {
	color: #fff;
}
.header a:hover {
	text-decoration: none;
}

.container .logo{height:10rem;    padding: 0 .5rem .5rem;vertical-align:middle;}
.mode-categorie .header, .mode-article .header {
	text-align: left;
}
.mode-categorie .logo, .mode-article .logo{height:4.5rem;float:left}
.heading-small {
    font-size: 2rem;
    line-height: 4.5rem;
}


/* ---------- Main ---------- */

.main {
	padding:0 1rem;
}
.mode-home section {
	border:3px dotted #eee;
	margin:1em 0;	
    position: relative;
	width:100%;
}
.mode-home section h1{
	background:#f3f3f3;
	font-size:1.4em;
	transform: rotate(270deg);
    transform-origin: 0px +150px;
    margin: .3em;
	padding:0 1em;
    position: absolute;
    left: 5em;
    z-index: 3;
}
.mode-home section h1 a{
color:#222;
}

.repertory {
	margin-top: 1rem;
}
.breadcrumb {margin-bottom: 1rem;}
.pagination {
	margin: 3rem 0 3rem 0;
}
.pagination a {
	background-color: #222;
	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 header h2 a {
	color: #f3f3f3;
	text-align: center;
	display:block
}
.article header h2 a:hover {
	color: #eee;
	text-decoration: none;
}
.article footer small,
.article header small,
.comment small {
	color: #666;
}
.article header span:before,
.article header time:before,
.article footer span:before {
	padding-left: 1.5rem;
	padding-right: .3rem;
}
.article .written-by:after {
	content: '|';
	padding-left: 0;
}
.article .art-date:after {
	content: '|';
}
.article .classified-in:after {
	content: '|';
	padding-left: 0;
}

.page.mode-home .article a h2 {
	color: #077;
	text-align: center;
}
.page.mode-home .article a:hover h2{
	color: #628;
	text-decoration: none;
}
.page.mode-categorie .article .thumb,
.page.mode-article .article .thumb {
	height:100px;
	display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  position: relative;
  width: 100%;
  background: var(--card-back-color);
  color: var(--card-fore-color);
  overflow: hidden;
}
.page.mode-article .article .thumb a img {
  transform: translateY(-40%); 
  opacity:50%;
}
.page.mode-article .article footer {
	border-top: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
}
.comment {
	background-image: url('../img/user.png');
	background-repeat: no-repeat;
	margin-bottom: 2.5rem;
	padding-left: 6rem;
}
.comment blockquote {
	margin: 0;
	font-size: 1.3rem;
}
.type-admin {
	background-color: #F0F8FF;
	padding: .2rem .5rem;
}
.nbcom {
	background-color: #258fd6;
	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;
}
@media (max-width: 768px) {
  .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; }
}
#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;
}
.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;
}
.aside ul.tag-list {
	list-style-type: none;
	padding-left: 0;
}
.aside ul.tag-list li {
	display: inline-block;
	margin-right: 1.5rem;
}
.aside ul.tag-list li.tag-size-1 a {
	font-size: 1rem;
}
.aside ul.tag-list li.tag-size-2 a {
	font-size: 1.2rem;
}
.aside ul.tag-list li.tag-size-3 a {
	font-size: 1.4rem;
}
.aside ul.tag-list li.tag-size-4 a {
	font-size: 1.6rem;
}
.aside ul.tag-list li.tag-size-5 a {
	font-size: 1.8rem;
}
.aside ul.tag-list li.tag-size-6 a {
	font-size: 2rem;
}
.aside ul.tag-list li.tag-size-7 a {
	font-size: 2.2rem;
}
.aside ul.tag-list li.tag-size-8 a {
	font-size: 2.4rem;
}
.aside ul.tag-list li.tag-size-9 a {
	font-size: 2.6rem
}
.aside ul.tag-list li.tag-size-10 a {
	font-size: 2.8rem;
}
.aside ul.tag-list li.tag-size-max a {
	font-size: 3rem;
}

/* ---------- Footer ---------- */

.footer {
	background: #666;
	color: #fff;
	padding: 6rem 0;
	text-align: center;
}
.footer p {font-size:.8rem;
	margin: 0;
}
.footer a,
.footer li.active a {
	color: #ddd;
}
.footer .copyright{margin:1em 0}
.footer .auteur{border-top: 5px dotted #fff;margin:1em 0; padding:1em;}

/* ----------  ---------- */

@media (max-width: 768px) {
	.header,
	.footer {
		padding: 2rem 0;
	}
	.aside {
		padding-left: 1.5rem;
	}
}



:root
{
  --card-back-color: #fcfcfc;
  --card-fore-color: #111;
  --card-border-color: #ddd;
}

.card
{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  position: relative;
  width: 100%;
  background: var(--card-back-color);
  color: var(--card-fore-color);
  border: .0625rem solid var(--card-border-color);
  border-radius: var(--universal-border-radius);
  margin: var(--universal-margin);
  overflow: hidden;
}
.card:hover{border-color:rgb(70,70,70)}
.card a
{
	  color: var(--card-fore-color);
	
}
.card a:hover, .card a:focus
{
	 text-decoration:none;
	
}

@media screen and (min-width: 320px)
{
  .card
  {
    max-width: 310px;
  }
}

.card>.section
{
  background: var(--card-back-color);
  color: var(--card-fore-color);
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: .0625rem solid var(--card-border-color);
  padding: var(--universal-padding);
  width: 100%;
}

.card>.section.media
{
  height: 200px;
  padding: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.card>.section:last-child
{
  border-bottom: 0;
}

@media screen and (min-width: 240px)
{
  .card.small
  {
    max-width: 240px;
  }
}

@media screen and (min-width: 480px)
{
  .card.large
  {
    max-width: 480px;
  }
}

.card.fluid
{
  max-width: 100%;
  width: auto;
}

.card.warning
{
  --card-back-color: #ffca28;
  --card-border-color: #e8b825;
}

.card.error
{
  --card-back-color: #b71c1c;
  --card-fore-color: #f8f8f8;
  --card-border-color: #a71a1a;
}

.card>.section.dark
{
  --card-back-color: #e0e0e0;
}

.card>.section.double-padded
{
  padding: calc(1.5 * var(--universal-padding));
}

