body {
	background-color:#373737 ;
	font-family : sans-serif ;
	overflow: hidden;
}

.content {
	position : fixed ;
	top : 0 ;
	left : 0 ;
	width : 100vw ;
	height : 100vh ;
}

.fond {
	width: 100vw;
	position: absolute;
	left: 50vw;
	bottom: 0;
	transform: translate(-50%,0);
	filter: brightness(1.25);
}

.opacifyBG {
	background-color: #313131c9;
	position: absolute;
	color: #EFEFEF;
	overflow-y: auto;
	height: 100vh;
	width : 100vw ;
	overflow-x: hidden;
	padding: 1em;
	box-sizing: border-box;
}

a {
	color: #1DA3D0;
}

.guidage {
	float: right;
	font-size: 70%;
	font-weight: lighter;
	color: #CECECE;
}

/*	======================================================================================================
	Page d'accueil */

#thematiques {
	display: flex;
	position: absolute;
	top: 50vh;
	left: 50vw;
	transform: translate(-50%, -50%);
	justify-content: space-evenly;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 40px;
	width: 50vw;
}

.thematique {
	background-color: #295671E8;
	color: white;
	width: 21vw;
	height: 16vw;
	text-align: center;
	display: flex;
	flex-direction: column;
	row-gap: 1em;
	justify-content: center;
	align-items: center;
	font-size: 25px;
	cursor: pointer;
	letter-spacing: 3px ;
}

.thematique:nth-child(1) {
	border-top-left-radius: 2em;
}
.thematique:nth-child(2) {
	border-top-right-radius: 2em;
}
.thematique:nth-child(3) {
	border-bottom-left-radius: 2em;
}
.thematique:nth-child(4) {
	border-bottom-right-radius: 2em;
}

.thematique:hover {
	/* background-color: darkred; */
	background-color: #7d0000d9;
}

.thematique .smallText {
  width: 100%;
  font-size: 50%;
}

/*	======================================================================================================
	Navigation */

nav {
	display: inline-flex;
	justify-content: space-evenly;
	flex-wrap: nowrap;
	float : right ;
	margin-top : 1em ;
}

nav > div {
	background-color: #295671E8;
	color: #EFEFEF;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	padding : 9px ;
}

nav > div:first-child {
	border-top-left-radius: 2em;
	border-bottom-left-radius: 2em;
	border-top : 1px solid #EFEFEF ;
	border-bottom : 1px solid #EFEFEF ;
	border-left : 1px solid #EFEFEF ;
}
nav > div:last-child {
	border-top-right-radius: 2em;
	border-bottom-right-radius: 2em;
	border-top : 1px solid #EFEFEF ;
	border-bottom : 1px solid #EFEFEF ;
	border-right : 1px solid #EFEFEF ;
}
nav > div:not(:last-child):not(:first-child) {
	border-top : 1px solid #EFEFEF ;
	border-bottom : 1px solid #EFEFEF ;
}
nav > div.active {
	background-color: #7d0000d9;
}
nav > div:hover {
	background-color: #FFFFFFd9;
	color: #295671E8;
}

/* Pages de contenu */
filter {
	display: block;
}

filter .classe {
	margin: 4px 2px 0 2px;
	background-color: #30303050;
	border: 1px solid #cccbcb;
	padding: 2px 3px 0 3px;
	border-radius: 3px;
	display:inline-block;
	cursor : pointer ;
}

filter .classe.active {
	background-color : darkred ;
}

.helpText {
  float: right;
  margin-right: 1em;
  font-weight: 200;
  font-size: 80%;
}


.personnes {
	display: flex;
	column-gap: 1em;
	row-gap: 1em;
	justify-content: space-around;
	flex-wrap: wrap;
}

.personne {
	display: flex;
	flex-direction : column ;
	border : 1px solid #B9B6B6 ;
	align-items: center;
	row-gap: 0.4em;
	padding: 4px 6px;
	border-radius: 6px;
	transform-origin: top center ;
	font-weight : 200 ;
	position : relative ;
}

.personne .photos {
	margin: 0 12px;
}

/* .personne.crowned {
	background-image: url("../img/crown.png");
	background-repeat: no-repeat;
	background-position: top right;
	background-size: 14px auto;
} */
.personne .userIcon {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	text-align: right;
	z-index: 400;
}
.personne .userIcon img {
	width: 8px;
	margin-right: 3px;
}

.anecdote {
	max-width : 20vw ;
}
.anecdote h4 {
  margin-top: 0;
  margin-bottom: 0;
}
.anecdote .texte {
	text-align: justify;
	line-height: 120%;
	max-height: 30vh;
	overflow-y: auto;
	padding-right: 6px;
}

.anecdote .auteur {
	text-align: right;
	width: 100%;
	padding-right: 1em;
	box-sizing: border-box;
	font-style: italic;
}

.anecdote .texte p {
	text-indent : 2em ;
}

.personne .masque {
	display : none ;
}
.personne .nom, .lastAnecdote .nom {
	font-variant: small-caps;
	font-weight: 400;
}
.personne .notes {
	font-size : 80% ;
}

.personne .smallIcon {
	position: relative;
	top: 2px;
	margin-left: 3px;
	z-index: 100;
}
/* 
.personne:hover {
	background-color: #282727;
} */
/* .personne:hover .masque {
	display : initial ;
} */
.personne img {
	max-width : 3em ;
}
.zoomEleve {
	display: none;
	position: fixed;
	background-color: #3d3d3d;
	top: 50vh;
	left: 50vw;
	transform: translate(-50%,-50%);
	border: 1px solid #EFEFEF;
	border-radius: 6px;
	box-shadow: 7px 7px 7px 0px black;
	z-index: 600;
	min-width: 14em;
	max-width: 40vw;
	color: #C5C5C5;
}

.zoomEleve header {
	padding: 6px;
	box-sizing: border-box;
	width: 100%;
	border-bottom: 0.25px solid #EFEFEF;
}

.zoomEleve content {
	display : flex ;
	flex-direction: column;
	align-items: center;
	row-gap: 0.4em;
	padding: 4px 6px;
	transform-origin: top center;
	font-weight: 200;
	max-height:50vh ;
	overflow-y : auto ;
	overflow-x : hidden ;
}

.zoomEleve content .notes {
	width : 100% ;
}

.zoomEleve img {
	max-width : 6em ;
}

.zoomEleve .masque {
	display : initial ;
}

.personne .classe, .zoomEleve .classe {
	margin: 4px 2px 0 2px;
	background-color: #30303050;
	font-size: 60%;
	border: 1px solid #cccbcb;
	padding: 2px 3px 0 3px;
	border-radius: 3px;
	display:inline-block;
}

.symbol {
	color: #909090;
}

.invisible {
	display : none ;
}

.bigImage {
	max-width : 1000px;
	max-height : 600px;
}

.marqueur {
	border : 4px solid red;
	background-color : yellow;
}

#listPersonnes {
	float : right ;
	width : 400px;
	height : 800px;
	background-color : lightgrey ;
	overflow-x : hidden ;
	overflow-y : auto;
}

#calque {
	background-color : RGBA(210, 210, 210, 0.5) ;
	border : 4px dashed red ;
	width:100px;
	height : 100px;
	position : absolute ;
	display : none ;
}

/*	======================================================================================================
	Albums photos */

#photos h2, .zoomAlbum h2 {
	border-top: 2px solid white;
	padding-top: 6px;
}

.zoomAlbum h2 {
	padding-left : 1rem ;
}

.zoomAlbum .notesAlbum {
	width: 98vw;
	padding: 0 1em;
	font-size: 80%;
	font-weight: 200;
	margin-top: -1em;
	line-height: 1.2em;
	word-spacing: 140%;
	letter-spacing: 1px;
}

h3 {
	border-top: 1px solid white;
	padding-top: 6px;
}

h3 .delegues {
	font-size: 12px;
	font-weight: 200;
	float: right;
	margin-top : 4px ;
}

#photos .descrAlbum {
	text-align : justify ;
	font-family : sans-serif ;
	font-weight : 200 ;
	letter-spacing: 1px;
	line-height: 130%;
	word-spacing: 2px;
}

/* .vignette {
	display : none ;
} */

#photos .vignettes {
	display : flex ;
	flex-wrap : wrap ; 
	justify-content: space-evenly ;
}

#photos .vignettes img {
	max-width: 250px;
	max-height: 197px;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

#photos .vignettes img.formatAlter1 {
	max-width: unset;
	max-height: 197px;
	margin-left: 25px;
}

#photos .vignettes figure {
	position : relative ;
}

#photos .vignettes figure figcaption {
	font-size : 80% ;
	font-weight : 200 ;
	max-width : 250px ;
	text-align: center;
	line-height: 120%;
	margin-top: 5px;
}

#photos .vignettes figure .identite {
	white-space : nowrap ;
}

#photos .vignettes figure .identite .nom, .zoomEleve .nom {
	font-variant: small-caps;
}

.zoomable {
	transform-origin: center center;
	transition-duration: 500ms;
	transition-delay: 500ms;
	position: relative;
	z-index: 500;
}

.zoomEleve .zoomable {
	transform-origin: top center ;
}

.zoomable:hover {
	transform: scale(4);
}

.zoomEleve .zoomable:hover {
	transform: scale(2);
}

.expendable {
	cursor : pointer ;
}

.zoomAlbum {
	position: fixed;
	top: 0;
	left: 0;
	background-color: #3e3e3e;
	height: 100vh;
 	width: 110vw;
}

.zoomAlbum .photos {
	display : flex ;
	flex-direction: row;
	overflow-x: auto;
	width: 100vw;
}

/* .zoomAlbum .photos img {
	max-height : calc(100vh - 11em) ;
} */

/* .zoomAlbum figcaption {
	max-height: 2.5em;
	overflow-y: auto;
	line-height : 120% ;
} */

.zoomAlbum .photos figure {
	width: 99.9vw;
	display: inline-flex;
	border: 0.5px solid #EFEFEF;
}
.zoomAlbum .photos figure img {
	max-height: calc(100vh - 11em);
	max-width: 70vw;
}
.zoomAlbum .photos figure figcaption {
	/* width:20vw ; */
	padding : 1em ;
	position:relative;
	max-height: calc(100vh - 11em);
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 3em;
}
.zoomAlbum .photos figure figcaption .addComment {
	position: absolute;
	bottom: 2px;
	right: 6px;
}

.comments:not(:empty) {
	border-top: 1px solid #EFEFEF;
	padding-top: 0.5em;
}

.comment:not(:first-child) {
	margin-top: 1em;
}

/*	======================================================================================================
	Wait */

.modalBackground {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #303030b8 ;
	z-index: 9999;
	display: inline-block;
	color : #EFEFEF ;
}

.modalBackground .interactionArea {
	width: 60%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0.5em;
	max-height: 90vh;
	overflow-y: auto;
	overflow-x: hidden;
	text-align: center;
}

.modalBackground .interactionArea img {
	width : 48px ;
	margin-bottom : 20px
}

#wait {
	display : none ;
}

/*	======================================================================================================
	Albums photos */
.marker {
	position: absolute;
	width: 10px;
	height: 10px;
	display: inline-block;
	background-color: blue;
	color : white ;
	font-size: 10px;
	text-align: center;
}
.newMarker {
	background-color: red;
}

.numMarker {
	display: none;
	margin-right: 0.5em;
	font-size: 80%;
}

.suggestable {
	color: #1DA3D0;
	border: 0.5px solid #1DA3D0;
	padding: 1px 6px 0 6px;
	font-size: 80%;
	background-color: #E1E1E1;
	border-radius: 3px;
	cursor: pointer;
}

/*	======================================================================================================
	Utilisateur */

/* #connect {
	z-index: 1000;
	position: fixed;
	left: 6px;
	bottom: 6px;
} */

#connect:hover .fa-user {
	color : #295671E8 !important ;
}

.connexion {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background-color: #303030;
	color: #EFEFEF;
	padding: 1em;
	border: 1px solid #EFEFEF;
	border-radius: 1em;
	z-index: 1000;
	box-shadow: 14px 14px 7px 0px #181818 ;
}

.newComment textarea {
	width: 99%;
}

field {
	white-space: nowrap ;
	display: block;
}

form .smallText {
	font-size: 11px;
	max-width: 32em;
	display: block;
	white-space: wrap;
	margin-top: 3px;
	color: #CECECE;
}

.apresDebutLigne {
	margin-left: 12em;
}

.connexion label {
	display : inline-block ;
	text-align : right ;
	font-weight: 200;
	vertical-align: top;
}
.connexion label.debutLigne {
	width : 8em ;
}
.newAnecdote label.debutLigne {
	width: 5em;
}
.newAnecdote input:not([type="radio"]), .newAnecdote textarea {
	width : 260px ;
}

.inputRequired {
	color : red ;
}

.buttonsBar {
	padding: 3px 1em;
	/* border: 0.5px solid #EFEFEF; */
	margin: 9px 20px 0px 20px ;
	box-sizing: border-box;
	width: calc(100% - 40px);
	display: inline-block;
	border-radius: 3px;
	background-color : #504f4f ;
}
.centeredArea {
	font-size : 90% ;
	width : 100% ;
}
.highBottomMargin {
	margin-bottom : 30px ;
}

.buttonsBar, .centeredArea {
	text-align : center ;
	box-sizing: border-box;
}

.lastAnecdote {
	position: fixed;
	z-index: 2000;
	color: #202020;
	background-color: #EFEFEF;
	top: 50%;
	left: 0;
	max-width: 30vw;
	transform: translate(0,-50%);
}

.lastAnecdote header {
	border-bottom : 1px solid #202020 ;
	box-sizing: border-box;
	margin-bottom : 1em ;
}

.lastAnecdote header h2 {
	width : 100% ;
	box-sizing: border-box;
	padding-left : 0.5em ;
	margin : 9px 0 ;
}

.lastAnecdote content {
	display: inline-block;
	width : 100% ;
	max-height : 30vh ;
	overflow-x : hidden ;
	overflow-y: auto ;
	padding-left : 1em ;
	box-sizing: border-box;
}

.lastAnecdote label {
	display: inline-block;
	width: 8em;
	text-align: right;
}

.lastAnecdote content .texte {
	text-align: justify;
	padding-right: 1em;
	text-indent: 1.5em;
}

/*	======================================================================================================
	Responsive */

/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {
	nav > div {
		font-size : 20px ;
	}
	.content {
		font-size: 22px;
	}
	.personne img {
		max-width: 6em;
	}
	.zoomEleve {
		min-width: 50vw;
		max-width: 98vw;
		font-size: 30px;
	}
	.zoomEleve content {
		min-width: 70vw;
	}
	.zoomEleve img {
		min-width: 25vw;
		max-width: 45vw;
	}
} 

/* Smartphone (paysage) */
@media only screen and (max-device-width : 321px) and (max-device-width : 480px) {
	nav > div {
		font-size : 20px ;
	}
	.content {
		font-size: 22px;
	}
	.personne img {
		max-width: 6em;
	}
	.zoomEleve {
		min-width: 50vw;
		max-width: 98vw;
		font-size: 30px;
	}
	.zoomEleve content {
		min-width: 70vw;
	}
	.zoomEleve img {
		min-width: 25vw;
		max-width: 45vw;
	}
} 

/* Tablettes (portrait) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles pour cette Media Queries */
}

/* Tablettes (paysage) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
}

