@import url(https://fonts.googleapis.com/css?family=Amatic+SC);
@import url(https://fonts.googleapis.com/css?family=Teko:300);
@import url(https://fonts.googleapis.com/css?family=Abel);
@import url(https://fonts.googleapis.com/css?family=Cinzel);
@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
@font-face {font-family: "necro-police"; src: url('/files/necro-police.ttf');}
@font-face {font-family: "necropolis"; src: url('/files/necropolis.ttf');}
@font-face {font-family: "Social Icons"; src: url('/files/design/Social Icons.ttf');}


/* ====== General ====== */

html,body{height:100%;padding:0;margin:0}


body{
  	/* background:url("/files/Photo - IR/8 Photo de coss_0343-8955.jpg") no-repeat fixed top center #182424; */
  	background:url("/themes/lab/wall.jpg") no-repeat fixed top center #182424;
  	background-position:50% 50%;
  	.overlay-dark:before{background-color:#333};
  	background-size:cover;
  	font-family: 'EB Garamond', 'Cinzel';
	  font-size: 100%;
	  text-decoration: none;
	  width: 100%;
  	min-width: 230px;
	  margin: auto;
	}

header img{
  	width: 160px;
	  text-align: left;	
	  margin: 6px 0px 6px 0px;
    transform: rotate(2deg);
  	transition: width 0.7s, transform 0.7s;
	}
header h1{
  	float: left;
  	margin: 60px 2px 0px 80px;
    font-family: 'Cinzel';
  	letter-spacing: 9px;
  	font-size: 22px; 	
  	text-shadow: 0px 1px 6px #000000;
  	transition: font-size 0.7s;
	}

header h2{
  	float: left;
  	margin: -90px -30px 0px 95px;
  	font-family: 'Abel', sans-serif;
  	letter-spacing: 5px;
  	font-size: 15px;
  	text-shadow: 1px 1px 3px #000000;
    transform: rotate(2deg);
	}


.bloc {
	display: block; /* Soutout pour les menus verticaut */
	}

h1, h2, h3, h4, h5 {
  	font-family: 'Cinzel';
  	letter-spacing: 10px;
	  text-decoration: none;
  	text-shadow: 0px 1px 3px #000000;
  	color: #ffffff;
	  font-weight:normal;
	}

h1 {font-size: 1.9em;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.3em;}
h4 {font-size: 1.2em;}

section h2::before {
    content: "/";
  	color: #E61414;
}
section h3::before {
    content: "//";
  	color: #E61414;
}

h1 a, h2 a, h3 a, footer a {color: #ffffff; font-style: normal;}

a {
	background-color: inherit;
	color: #ffffff;
	text-decoration: none;
	opacity: 1.0;
  transition: transform 2s, color 0s, text-shadow 1s;
	}
	
.page{
  	  padding: 20px 15%;
  	}
  @media screen and (max-width: 1200px) {
  .page{ padding: 10px 0%;}
  }

section {
  	font-family: 'EB Garamond', 'Cinzel';
	  font-variant:small-caps;
  	letter-spacing: 3px;
  	}

section a {
  	font-style: italic;
  	color: #E61414;
	}

a:hover {
	background-color: inherit;
	color: #B00000;
	text-shadow: 0px 0px 2px #000000;
	text-decoration: none;
	opacity: 1.0;
	}

/* ====== Menu ====== */
nav ul, nav li{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav.topnav {
  list-style-type: none;
  margin: 0, 10px, 10px;
  padding: 0;
  overflow: hidden;
  background-color: #111;
}

nav.topnav li {float: left;}

nav.topnav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 18px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 4px;
  transition: color 0.5s;
}
nav a {
	background-color: inherit;
	color: #ffffff;
	text-decoration: none;
	text-align: center;
	font-variant:small-caps;
  	text-transform: uppercase;
	opacity: 1.0;
	transition: color 0.5s;
	}
nav a:hover {
	color: #9C0C0C;
	}

nav a::after, nav a::before {
    content: " // ";
  	color: #9C0C0C;
  	font-size: 1.4em;
  	letter-spacing: 1px;
}
nav a:hover::after, nav a:hover::before {
  	color: #ccc;
}

nav.topnav li a:hover:not(.active) {
	background-color: #9C0C0C; 
}

nav.topnav li a.active {
  background-color: #04AA6D;
}

nav.topnav li.right {float: right;}

nav li {
  border: 0px solid #bbb;
}

/* ====== Menu Deroulent ====== */

nav.topnav ul li{
    width: 240px;
}
nav.topnav ul li:hover {
  display: block; 
}
nav.topnav ul li ul{
  position: fixed;
  width: 240px;
}
nav.topnav ul li li{
  background-color: #222;
  display: none;
  border-top: 1px solid #000;
}
nav.topnav ul li:hover li {
  display: block;
  z-index: +1;
}

@media screen and (max-width: 800px) {
  nav.topnav li.right, 
  nav.topnav li {float: none;}
  li {border-right: 0px solid #bbb;}
  nav.topnav ul li{width: none; width: 100%;}
  nav.topnav ul li ul{position: relative; width: 100%;}
}


/* ====== Corps ====== */

section{
	box-shadow: 0px 0px 0px #000;
  background: rgb(33,35,38);
	border: 0px solid #A5A5A5;

	margin-top: 0px;
	margin-bottom: 0px;
	color: #ffffff;
	padding: 20px 5% 20px 5%;
 	display: block;
  min-height: 200px;
	}

table{
   border-collapse: collapse;
   border: 1px solid whitesmoke;
   font-size: 1em;
   width: 100%;
   margin-top: 20px;
   margin-bottom: 10px;
   color: white;
}

td {
  text-align: center;
  padding: 6px;
  border: 1px solid whitesmoke;
}
tr:nth-child(even) {background-color: #333;}

th {
  background-color: #666;
  padding: 8px;
  color: white;
}

code{
  background-color: #444;
  font-variant: normal ;
  font-family: Ubuntu Mono,monospace;
  display: block;
  color: white;
  padding: 8px;
}

section img {
    max-width: 80%;
    max-height: 500px;
    height: auto;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (max-width: 800px) {
  section img {
      max-width: 100%;
      height: auto;
      margin: 2px;
  }
}

.photo {
  	margin: 20px;
  	padding: 0px;
  	width: 250px;
  	height: 250px;
  	/* float: right; */
  	opacity: 0.7;
  	transition: opacity 0.5s;
  	flex: 1 1 30em; 
  	flex-grow: 1;
    background-repeat: no-repeat;
    background-attachment: top;
    background-position: center; 
  	background-size: cover;
  	transform: rotate(0deg);
  	transition: opacity 0.8s, transform 1.2s, box-shadow 1.5s ;
	}

.photo:hover{
  	opacity: 1.0;
  	transform: rotate(3deg);
  	box-shadow:0px 2px 7px black;
	}

.photo h3{
  	font-size: 1.1em;
  	font-family: 'EB Garamond', 'Amatic SC' , 'Cinzel';
  	font-variant:small-caps;
  	text-transform: uppercase;
  	letter-spacing: 6px;
  	padding: 12px 0px 12px 0px;
  	margin: 100px 0px 0px 0px;
  	width: 250px;
  	min-height: 40px;
  	border: 0px solid;
  	color: #fff;
  	position: absolute;
  	float: center;
  	background-color:#000000;
  	text-shadow:0px 0px 10px black;
  	z-index: +1;
  	transition: text-shadow 0.6s;
  	opacity: 0.7;
	}

.photo h3:hover{
  	text-shadow:0px 0px 20px black;
  	text-shadow:0px 2px 5px black;
	}


/* ====== Footer ====== */

footer {
	text-align: left;
  min-height: 30px;
  font-variant:small-caps;
	border: 4px none #ffffff;
	background: rgb(33,35,38);
  vertical-align: middle;
	color: #ffffff;
	padding: 20px;
  font-size: 11px;
  display: block;
	}

footer img{
  	height: 30px;
  	color: #fff;
  	text-align: left;
  	text-shadow: 0px 0px 4px #000;
  	padding: 5px;
  	opacity: 0.9;
  	transition: transform 0.6s, height 0.5s, color 0.7s, text-shadow 0.8s;
	}

footer img:hover{
  	height: 35px;
  	padding: 4px;
	  color: #B00000;
	  opacity: 1;
  	-ms-transform: rotate(6deg); /* IE 9 */
    -webkit-transform: rotate(6deg); /* Safari */
    transform: rotate(6deg);
	}

footer p {display: inline;}
.gauche {float: left;}
.droite {float: right; color: #ffffff; letter-spacing: 3px;}


/* Nouvelles règles si la fenêtre fait au plus 1024px de large */
@media screen and (max-width: 800px)
{
nav {
	display: block;
	padding: 5px; 
	word-spacing: 6pt; 
}

nav li {display: block;}
section{padding: 10px 3px 10px 3x;}
  
header img{
  	width: 100px;
	margin: 4px 0px 4px 0px;
    -ms-transform: rotate(8deg); /* IE 9 */
    -webkit-transform: rotate(8deg); /* Safari */
    transform: rotate(8deg);
	}
header h1{
	font-size: 18px; 	
  	text-align: left;
  	margin: 20px 2px 0px 50px;	
	}

header h2{
  	text-align: left;
  	margin: -60px 0px 0px 50px;
  	letter-spacing: 6px;
  	font-size: 10px;
	}
  
section{
	padding: 20px 15px 20px 15px;
	}
  
section img{
	margin: 5px;
	opacity: 1.0;
  	display: block;
	}
.photo {
  	width: 190px;
  	height: 190px;
	transform: rotate(0deg);
	}
  
.photo h3{
  	font-size: 1.0em;
  	padding: 10px 0px 10px 0px;
  	width: 190px;
  	min-height: 30px;
  	opacity: 0.8;
	}
footer .logo{font-size: 32px; }
footer .logo:hover{font-size: 32px;}
footer p {display: none;}
}


/* Nouvelles règles si la fenêtre fait au plus 500px de large */
@media screen and (max-width: 500px)
{
	header img{display: none;}
	header h1{display: none;}
	header h2{display: none;}
}

/* ====== Gallery ====== */
.gallery img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: inline;
  padding: 6px;
  margin: 10px;
  background-color: #222;
  border: 1px solid #555;
  transition: opacity 0.8s, transform 1.2s, box-shadow 1.5s ;
}

.gallery img:hover{
  border: 1px solid #000;
  opacity: 1.0;
  transform: rotate(3deg);
  box-shadow:0px 2px 7px black;
}

@media (max-width: 800px) {
  .gallery img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/*CSS pour framalibre*/
.framalibre-notice {
  display: flex;
  background-color: #222;
  border: 1px solid #555;
  max-width: 60%;
  margin: auto;
}

.framalibre-notice:not(:last-child) {
  margin-bottom: 3rem;
}

.framalibre-notice > div {
  padding: 1.25rem;
}

.framalibre-notice > div:first-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 25%;
}

.framalibre-notice img {
  max-width: 80%;
}

.framalibre-notice > div:last-of-type > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.framalibre-notice a {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  color: var(--couleur2);
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid #E61414;
  background-color: transparent;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.framalibre-notice a:hover {
  color: #fff;
  background-color: #E61414;
  border-color: #E61414;
}

@media (max-width: 850px) {
  .framalibre-notice {
    flex-direction: column;
    max-width: 100%;
  }
  .framalibre-notice img {
  max-width: 30%;
}
}

