@import url(https://fonts.googleapis.com/css?family=Montserrat:400,500,700,800,900);

@media print {
	.bandeau .titre-bandeau h1{
		font-size: 3em;
	}

	.video-responsive:not(.afficher-impression),
	.iframe-basthon-container,
	.zone-telechargement,
	.pdf-responsive,
	.h5p,
	.audio-player,
	.effacer-impression {
		display: none;
	}


	.zone-telechargement.impression {
		display: block;
	}

	.conteneur-global * {
		page-break-inside: auto;
		break-inside: auto;
		-webkit-page-break-inside: auto;
		-webkit-break-inside: auto;
	}

	p.impression {
		display: block;
	}
	.impression {
		display: block;
	}

	#bloc_footer{
		display: none;

	}

	a[href]:after {
    content: "";
	}

	body {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		width: 1100px;

	}
}



:root {
	--main-color: rgb(0,161,153);
	--color-red: rgb(240,93,94);
	--color-yellow: #e0ca3c;
	--color-lightblue : rgb(220,240,255);
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body
{
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	min-height: 100%;
}

a:not(.toc-link) {
	word-break: break-word;
}

#bloc_header
{
	width: 100%;
	height: auto;
	background-color: white;
	border-bottom: 2px solid #e9e9e9;

	/*
	position: -webkit-sticky; /* Safari
  position: sticky;
	top: 0;
	overflow: hidden;
	transition: top 0.5s;
	*/
}

/* Header */

header
{
	width: 1100px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: initial;
	margin: auto;
	padding: 15px;

}

#logo_header
{
	margin-right: 100px;

}

/*
#logo_lycee
{
	margin-right: 2px;
	padding: 3px 8px 0px 8px;
	background: #ff3250;
	border-radius: 10px;
}
*/


@media all and (max-width: 1100px) {
	header {
		width: auto;

	}

	#logo_header {
		margin-right: 20px;
	}

	#logo_header img{
		width: 250px;
	}

	/*
	#logo_lycee {
		display: none;
	}
	*/
}

/* Navigation */

nav {
	flex: 1;
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

nav a {
	display: block;
	color: #22181c;
	font-weight: 500;
	text-align: center;
	padding: 5px 16px;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
}

nav a:hover {
	text-decoration: none;
}

nav a.active
{
	/*background-color: #ff3250;*/
	color: var(--color-red);
	border-bottom: 3px solid var(--color-red);
}

nav a:hover:not(.active):not(#logos)
{
	color: var(--color-red);
}


/* case à cocher pour le menu déroulant responsive */
#menu-responsive[type=checkbox] {
	display: none;
}

nav label {
	display: none;
}

@media all and (max-width: 750px) {
	.menu-responsive {
		display: block;
		text-align: right;
		padding-right: 15%;
		font-size: 20px;

	}
	nav ul {
		display: none;
	}
	#logo_header {
		margin-right: 25px;
	}

	#menu-responsive[type=checkbox]:checked ~ nav ul {
		display: block;
	}

	#menu-responsive[type=checkbox]:checked ~ nav label {
		visibility: hidden;
	}

	#menu-responsive[type=checkbox]:checked ~ nav label:after {
		content: "\2716";
		color: #666;
		visibility: visible;
	}
}


/* Corps */



@media all and (max-width: 1150px) {
  body {
    width: auto;

  }
}

.conteneur-bandeau {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--main-color) ; /*background-color:#7451eb;*/
	color: white;
	padding-top: 10px;
	font-family: Montserrat, 'sans serif';
}

.arborescence
{
	width: 1120px;
	padding: 0 15px;
	margin: auto;
	text-align : left;
	font-weight: 400;

	font-size: .875rem;
	line-height: 1.5rem;

}

.arborescence a{
	text-decoration: none;
	color: white;
	font-weight: 600;
}

.arborescence a:hover {
	text-decoration: underline;
}

.bandeau { /* si ajout d'éléments (liens, téléchargements, etc.)*/
	width: 1100px;
	margin:auto;
}


.date-maj {
	text-align : right;
	font-size: 0.8em;
	padding-right: 10px;
	padding-bottom: 10px;
	font-style: italic;
}


.titre-bandeau {
	width: auto;
}

.titre-bandeau h1 {
	/*
	padding-left:125px;  /* (1150-900)/2 = écart entre le bandeau nav et le texte du contenu*/
	width: 1100px;
	margin: auto;
	padding: 20px 0;
	text-align: left;
	font-size: 2.5em;
	font-weight: 700;
	line-height: 4rem;
	letter-spacing: 0;
}

.titre-bandeau h1 hr{
	color: white;
}

.diaporama-bandeau {
	display: flex;
	align-items: center;
	gap: 0.5em;
}


.diaporama-bandeau img {
	display: inline-block;
}

.diaporama-bandeau a {
	display: flex;
	align-items: center;
	/* justify-content: center; */
	gap: 0.5em;
	text-decoration: none;
	color: white;
}


@media all and (max-width: 1150px) {
	.bandeau {
		width: auto;
	}
	.arborescence
	{
		width: auto;
	}
	.titre-bandeau h1 {
		width: auto;

		padding: 5px 20px;
		font-size: 2rem;
		font-weight: 700;
		line-height: 3rem;
		letter-spacing: 0;

	}
	.diaporama-bandeau {
		padding: 10px 20px;
	}
}

@media all and (max-width: 1000px) {

	.contenu-bandeau {
		padding: 0;
	}

	.arborescence
	{
		width:auto;
		font-size: .8rem;
		line-height: 1.4rem;
	}

	.date-maj{
		padding-top: 10px;
		font-size: 0.7em;
	}
}

.conteneur-global {
	background-color: white;
	width: 1100px;
	padding: 30px 0px;
	margin: auto;
	font-family: Montserrat, 'sans serif';
	line-height: 1.625rem;
	font-size: 1rem;
}



@media all and (max-width: 1150px) {
  .conteneur-global {
		width: auto;
		font-size: 1rem;
		padding: 15px 15px 0 15px;
		margin: 0;
  }
}

@media all and (max-width: 600px) {
  .conteneur-global {
		width: auto;
		padding: 15px 15px 0 15px;
		font-size: 0.9rem;
  }
	.conteneur-global .a-faire{
		margin: 20px 0;
	}

	.conteneur-global .a-faire blockquote{
		margin-left: 10px;
		margin-right: 10px;
	}

}


/* parties ne s'affichant qu'à l'impression (CTRL+P) */
.impression {
	display: none;
}

.zone-telechargement.impression {
	display: block;
}


/* ordered list */

pre {
	background-color: #f1f1f1;
	font-size: 1.1em;
	padding: 10px;
}

:not(pre) > code {
	font-size: 1.4em;
}
/* Pour le code */

.conteneur-blobal .prompt {
	font-size: 1.3em;
	line-height: 1.3em;
}

.rendered_html :not(pre) > code{
	font-size: 1.1em;
	white-space: normal;
}

.rendered_html pre{
	line-height: 1.4em;
	font-size: 1.1em;
	white-space: pre;
}

.image-responsive {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
}

.image-encadree {
	padding: 10px;
	border:1px solid #888;
	border-radius:0px;
}

.image-licence {
	display: block;
	text-align: center;
	font-size: 0.9em;
	color: #aaa;
}

.image-cercle {
	border-radius: 50%;
}

.video-responsive {
	margin: 20px 0;
}

.video-responsive iframe{
	border: none;		
}

@media all and (max-width: 560px)
{
	.video-responsive
	{
		overflow: hidden;
		padding-bottom: 56.25%;
		position: relative;
		height: 0;
	}

	.video-responsive iframe,
	.video-responsive video
	{
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		position: absolute;
	}
}




@media all and (max-width: 840px) {
    .pdf-responsive {
        overflow: hidden;
        padding-bottom: 75%; /* pour format 4/3 */
        position: relative;
        
    }

    .pdf-responsive iframe {
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }
}

.emoji {
	font-size: 1.1em;
}


span.exo {
    background: rgba(0,161,153,0.1);
    padding: 5px;
    padding-right: 12px;
    border-radius: 8px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 1.2em;
    border: 2px solid var(--main-color);
}

.consolas {
	font-family: Consolas;
	font-size:1.2em;
}

.blue {
	color: blue;
}

.red {
	color: red;
}

.bold {
	font-weight: bold;
}

.conteneur-global h1 {
	/* color: rgb(40,40,40); */
	/*border-color: rgb(200,200,200);
	margin-top: 40px;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	color: rgba(0, 0, 0, 0.92);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 2.125rem;
	 line-height: 1.3em; */
}

.conteneur-global h1:not(.not_before)::before {
  /* content: "\25A0";
  color: var(--color-red);
  padding-right: 10px;
  margin-bottom: 3px;*/
}

.conteneur-global h2 {
	border-color: rgb(200,200,200);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	color: rgba(0, 0, 0, 0.92);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.875rem;
	/* line-height: 1.3em; */
}

.conteneur-global h3 {
	color: rgba(0, 0, 0, 0.92);
	font-size: 1.2rem;

	font-weight: 700;
	line-height: 1.6rem;
	line-height: 1.3em;
}


.centre
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.gauche {
	float: left;
	margin-right: 1rem;
}

.droite {
	float: right;
	margin-left: 1rem;
}

ol > li::marker {
  font-weight: bold;
}

/*  Mise en forme éléments de cours/activités   */

.conteneur-global .titre-exercice {
	background-color: var(--main-color);
	color: rgba(255,255,255,1);
	border-radius: 3px;
	padding: 5px 10px;
}

.to-do {
	background-color: rgb(226,252,255);
	border-radius: 10px;
	border: 2px solid var(--main-color);
	padding: 0 15px;
	margin: 1.5em 0;
}

.to-do h3 {
	display: flex;
	align-items: center;
}

.to-do >h3:first-child::before {
	content: "";
	display: inline-block;
	height: 50px;
	width: 50px;
	background-size: 50px 50px;
	background-image: url(/images/pen.svg);
	background-repeat: no-repeat;
	position: relative;
	margin-right: 1em;
}

h3[class="travail"] {
	font-size: 25px;
}

.to-do a {
	color: blue;
}

.to-do ol > li::marker {
  font-weight: bold;
}

.titre-fond-rouge {
	background-color: rgba(255, 50, 80, 0.2);
	padding: 2px 5px;
	border-radius: 2px;
	font-weight: bold;
}

.exemple {
	background-color: #fbfcff;
	border-radius: 5px;
	border: 1px solid #ccc;
	margin: 20px auto;
	padding-bottom: 10px;
}

.exemple > p:first-child {
	padding: 2px 10px 0 10px;
	background-color: #777;
	color: white;
	border-radius: 2px;
	margin: 0;
}


.a-lire {
	background-color: #fbfcff;
	border-radius: 12px;
	border: 2px solid var(--main-color);
	margin: 20px 10px;
	padding-bottom: 10px;
}

.a-faire {
	background-color: white;
	border-radius: 12px;
	border: 2px solid var(--main-color);
	margin: 20px 0px;
	padding-bottom: 10px;
}

blockquote.a-faire {
	padding: 0;
	padding-bottom: 10px;
}

blockquote.a-faire p:last-child {
	margin-bottom: inherit;
}

.a-faire>p,
.a-lire>p,
.exemple>p {
	padding: 0px 20px;
}

.a-faire pre,
.a-faire pre[class*="language-"],
.a-faire > details,
.a-faire > details.en-savoir-plus {
	margin: auto 20px;
}

.a-faire .table-container {
	padding-right: 20px;
    padding-left: 20px;
}

.a-faire table {
	margin: auto;
}


.a-faire pre.language-python {
	margin: 0px 10px;
}

.a-faire ol > li::marker {
  font-weight: bold;
}

.a-faire > p:first-child, 
.a-lire > p:first-child {
	font-size: 1.3em;
	padding: 2px 10px 0 10px;
	background-color: var(--main-color);
	color: white;
	border-radius: 8px 10px 0 0;
	margin: 0;
	display: flex;
	align-items: center;
	line-height: 1.7em;
}

.a-faire:not(.titre) > p:first-child::before {
	margin-right: 0.5em;
	content: "";
	display: inline-block;
	height: 30px;
	width: 30px;
	background-size: 25px 25px;
	background-image: url(/images/pencil3.svg);
	background-repeat: no-repeat;
	position: relative;
	
}

.a-faire.titre > h3:first-child,
.a-faire.titre > h3:first-child {
	font-size: 1.3em;
	padding: 5px 10px;
	background-color: var(--main-color);
	color: white;
	border-radius: 8px 10px 0 0;
	margin: 0;
	display: flex;
	align-items: center;
}

.a-faire details {
	margin: 20px;
}



@media all and (max-width: 630px)
{
	.a-faire .video-responsive
	{
		overflow: hidden;
		padding-bottom: 56.25%;
		position: relative;
		height: 0;
		margin: 20px;
	}

	.a-faire .video-responsive iframe,
	.a-faire .video-responsive video
	{
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		position: absolute;
	}

	.a-faire .ausha_player {
		margin: auto 20px;
	}
}



.important {
	margin: 0.5em 0;
	padding: 0.5em 1em;
	border-left: rgb(255, 50, 80) 5px solid;
	border-radius: 0 3px 3px 0;
	background-color: rgba(255, 50, 80, 0.2);

}

.a-supprimer {
	display: none;
}

.hovertext {
	position: relative;
	border-bottom: 1px dotted black;
  }
  
.hovertext:before {
	content: attr(data-hover);
	visibility: hidden;
	opacity: 0;
	width: 300px;
	background-color: rgba(0, 0, 0, 0.9);
	color: #fff;
	text-align: center;
	border-radius: 5px;
	padding: 5px;
	transition: opacity 1s ease-in-out;
  
	position: absolute;
	z-index: 1;
	left: 0;
	top: 110%;
}
  
.hovertext:hover:before {
	opacity: 1;
	visibility: visible;
}

/* Console Trinket */


/* Intégration Python tutor, basthon, codepuzzle */

iframe.pythontutor, iframe.basthon, iframe.codepuzzle {
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-top: 15px;
	margin-bottom: 15px;
	background-color: #e9e9e9;
}



.iframe-basthon-container {
	position: relative;
}

.iframe-basthon-container::before {
	content:'Cliquez pour lancer Basthon';
	width: 250px;
	text-align: center;
	background-color: #ccc;
	padding: 5px 10px;
	border: 1px solid #888;
	border-radius: 5px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.iframe-basthon-container.chargement::before {
	content: 'Chargement';
}

.iframe-basthon-container.invisible::before {
	content: none;
}




/* accepter cookies dans iframe */


.iframe-cookies-container {
	position: relative;
}

.iframe-cookies-container iframe {
	background-color: #222;
}

.iframe-cookies-container::before {
	content:'Accepter';
	width: 250px;
	text-align: center;
	background-color: #ccc;
	padding: 5px 10px;
	border: 1px solid #888;
	border-radius: 5px;
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.iframe-cookies-container::after {
	content:'Pour voir la vidéo, vous devez accepter le dépôt de cookies tiers par l\'hébergeur de la vidéo.';
	width: 300px;
	color: white;
	text-align: center;
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.iframe-cookies-container.invisible::before {
	content: none;
}

.iframe-cookies-container.invisible::after {
	content: none;
}



/* H5P */

html.h5p-iframe .h5p-content {
    max-width: 900px;
    margin: auto;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 50px;
	margin-top: 30px; 
}

.h5p-container {
	font-family: sans-serif;
}

/* Consignes exposés */

.contenu-expose {
	margin: 0.5em 0;
	padding: 0.5em 1em;
	border-left: rgb(85 120 180) 5px solid;
	border-radius: 0 3px 3px 0;
	background-color: rgb(220,240,255);
}

/* li bullet */ 

ul.style-perso {
	list-style: none;
	margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

ul.style-perso li {
	padding-right: 5rem;
  	text-indent: -0.75rem;
}


li.video-item::before {
	content: '\25B6 \FE0F';
	padding-right: 7px;
}

li.presse-item::before {
	content: '\01F4F0';
	padding-right: 7px;
}

li.online-item::before {
	content: '\01F30D';
	padding-right: 7px;
}

li.manuel-item::before {
	content: '\01F4D5';
	padding-right: 7px;
}

li.podcast-item::before {
	content: '\01F399 \FE0F';
	padding-right: 7px;
}

.consignes {
	padding: 10px;
	border: 1px solid black;
	border-radius: 5px;
}


/* Podcast */

.podcast-container audio {
	border-radius: 5px;
	display: block;
	margin: 10px auto;
}


/* ChatGPT conversations */

.chatgpt-conversation {
	width: 100%;
	color: #111;
	margin: auto;
}

.chatgpt-conversation .r-chatgpt {
	background-color: #f3f4f6;
	padding-left: 70px;
	padding-right: 1rem;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	border-top: 1px solid rgb(229 231 235);
	border-bottom: 1px solid rgb(229 231 235);
}

.chatgpt-conversation .r-chatgpt::before {
	content: '';
	content: "";
	display: inline-block;
	height:30px;
	width:30px;
	background-size: 30px 30px;
	background-image: url(/images/ChatGPT_logo.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: 0.8em;
	margin-left: -50px;	
}

.chatgpt-conversation .q-chatgpt {
	background-color: #f9fafb;
	padding-left: 70px;
	padding-right: 1rem;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.chatgpt-conversation .q-chatgpt::before {
	content: 'GE';
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px;
	width: 30px;
	background-size: 30px 30px;
	background-color: #e67e22;
	font-size: 0.8em;
	border-radius: 2px;
	position: absolute;
	margin-top: 0.8em;
	margin-left: -50px;
}


/* LOGIC editor */

.logic-editor {
	width: 100%; 
	height: 110px; 
	border:1px #ccc solid; 
	border-radius:2px;
	margin-bottom: 1em;
}

/* Blockquote */

blockquote {
  padding: 12px 18px 10px 18px;
  margin: 30px 100px;
}

blockquote p {
	margin: auto auto inherit auto;
}

blockquote:not([class]) {
  margin: 30px 20px;
  padding: 10px;
  background-color: #e0fbff;
  border-radius: 5px;
  border-left: 5px solid var(--main-color);
}

blockquote > p:first-child {
	margin-top: auto;
}


blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
  margin-bottom: 0;
}

blockquote[class*="toDo"]
{
	background-color: rgba(0, 255, 0, 0.2);

	border-radius: 0.3em;
}

blockquote[class*="toDo"] > p
{
	margin-left: 50px;
	margin-right: 20px;
}

blockquote[class*="toDo"] >p::before
{
	margin-right: 2em;
	content: "";
	display: inline-block;
	height:40px;
	width:40px;
	background-size: 40px 40px;
	background-image: url(/images/pen.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -0.5em;
	margin-left: -60px;
}

blockquote[class*="remarque"]
{
	padding-left: 1.3em;
  border-left: 5px solid rgba(0, 0, 255, 0.2);
}

blockquote[class*="information"]
{
	background-color: rgb(220,240,255);

	border-radius: 0.3em;
}

blockquote[class*="information"] > p
{
	margin-left: 50px;
	margin-right: 20px;
}

blockquote[class*="information"] > .code-toolbar
{
	margin-left: 50px;
	margin-right: 20px;
}


blockquote[class*="information"] >p:first-child::before
{
	margin-right: 2em;
	content: "";
	display: inline-block;
	height:40px;
	width:40px;
	background-size: 40px 40px;
	background-image: url(/images/information.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -0.5em;
	margin-left: -60px;
}

blockquote[class*="question"]
{
	background-color: rgb(220,240,255);

	border-radius: 0.3em;
}

blockquote[class*="question"] > p
{
	margin-left: 50px;
	margin-right: 20px;
}

blockquote[class*="question"] >p:first-child::before
{
	margin-right: 2em;
	content: "";
	display: inline-block;
	height:40px;
	width:40px;
	background-size: 40px 40px;
	background-image: url(/images/question-mark.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -0.5em;
	margin-left: -60px;
}


blockquote[class*="attention"]
{
	background-color: rgba(255, 0, 0, 0.2);
	/*padding : 0.1em 0 0.1em 1.5em;*/
	border-radius: 0.3em;
}

blockquote[class*="attention"] > p
{
	margin-left: 50px;
	margin-right: 20px;
}

blockquote[class*="attention"] >p:first-child::before
{
	margin-right: 2em;
	content: "";
	display: inline-block;
	height:40px;
	width:40px;
	background-size: 40px 40px;
	background-image: url(/images/warning.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -0.5em;
	margin-left: -60px;
}


blockquote[class*="citation"]
{
	background-color: rgba(0, 0, 255, 0.2);

	border-radius: 0.3em;
}

blockquote[class*="citation"] > p
{
	margin-left: 50px;
	margin-right: 20px;
}

blockquote[class*="citation"] >p:first-child::before
{
	margin-right: 2em;
	content: "";
	display: inline-block;
	height:40px;
	width:40px;
	background-size: 40px 40px;
	background-image: url(/images/quote-left.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -0.5em;
	margin-left: -60px;
}

@media all and (max-width: 820px)
{
	blockquote {
		margin-left: auto;
		margin-right: auto;
	}

	blockquote .video-responsive {
		overflow: hidden;
		padding-bottom: 56.25%;
		position: relative;
		height: 0;
	}
	
}

@media all and (max-width: 560px)
{
	blockquote {
		margin-left: auto;
		margin-right: auto;
	}
}


/* Élément de divulgation */

details {
	border: 3px solid var(--color-lightblue);
	margin:1em auto 2em auto;
	/* width: 90%; */
}

details summary {
	display: list-item;
	background-color: var(--color-lightblue);
	padding: 10px;
}

details summary span {
	cursor:pointer;
}

details > * {
	padding: 0 2em;
}


details > ul {
	padding-left: 50px;
}

details.deroulement-simple {
	color:#444;
	border:1px solid #ccc;
}

details.deroulement-simple > summary {
	display: list-item;
	background-color: inherit;
	cursor: pointer;
}

details.en-savoir-plus {
	margin: 2em auto;
	border: 1px solid var(--main-color);
}

details.en-savoir-plus > summary {
	border-bottom: 0;
}

details.en-savoir-plus > *{
	padding: 0 1em;
	color: #333;
}

details.en-savoir-plus > ul {
	padding-left: 50px;
}

details.en-savoir-plus > blockquote{
	padding: 1em;
}

details.en-savoir-plus > table{
	margin: 1em;
}

details.en-savoir-plus > summary {
	display: list-item;
	background-color: #f5faff;
	cursor: pointer;
	padding: 0.5em;
	font-weight: 500;
}

details.en-savoir-plus[open] > summary {
	border-bottom: 1px solid var(--main-color);
}

details.en-savoir-plus > summary::marker {
	color: var(--main-color);
	content: '🔎 ';
	font-size: 1.2em;
}

details .logic-editor {
	width: 90%;
}


p[class*="replit-link"] {
	margin: 2.2em 4em 2em 4em;
	padding-left: 3.5em;
	padding-right: 3.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background-color: #eee;
	border-radius: 0.3em;
}

p[class*="replit-link"]::before {
	content: "";
	display: inline-block;
	height:50px;
	width:50px;
	background-size: 50px 50px;
	background-image: url(/images/Repl.it_logo.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -1.5em;
	margin-left: -4.5em;
}


@media all and (max-width: 560px)
{
	p[class*="replit-link"] {
		margin-left: 2em;
		margin-right: 2em;
	}
}


/* Image avec bordure */

img.bordure {
	border: 1px solid #777;
}


/* Légende image */

p.legende {
	font-size: 1em;
	text-align: center;
	color: #444;
	margin-bottom: 2em;
}

/* Emoji plus grand */

span.emoji.grand {
	font-size: 1.5em;
}



/* ------ Zone de téléchargement de fichiers -------- */ 

.zone-telechargement {
	margin: 30px 0;
	padding: 20px;
	background-color: rgba(0,161,153,0.1);
	border-left: 5px solid var(--main-color);
}

h1.titre-zone-telechargement {
	margin: 0;
	margin-left: 50px;
}

h1.titre-zone-telechargement::before {
	content: "";
	display: inline-block;
	width: 50px;
	height: 50px;
	background-size: 50px 50px;
	background-image: url(/images/file-download-icon.svg);
	background-repeat: no-repeat;
	position: absolute;
	margin-top: -7px;
	margin-left: -60px;
}

/* ------ tableaux ---------------*/

table, .tg  {
	border-collapse:collapse;
	border-spacing:0;
	margin: 1em auto;
	overflow-y: scroll;
}
table td, .tg td{border-color:black;border-style:solid;border-width:1px;
  overflow:hidden;padding:5px 5px;word-break:normal;text-align:center;}
table th, .tg th{border-color:black;border-style:solid;border-width:1px;
  font-weight:bold;overflow:hidden;padding:5px 5px;word-break:normal;}
.tg tr td:first-child {font-weight: bold;}

.tg.first-column-not-bold tr td:first-child {font-weight: normal;}

.tg.derniere-colonne-importante tr th:last-child {
	background-color: #eee;
}

.tg.derniere-colonne-importante tr td:last-child {
	background-color: #eee;
}

table.no-border td {
	border: none;
}

/* table.first-line-only tr td:first-child {
	font-weight: normal;
} */



/* Footer */

#bloc_footer
{
	width: 100%;
	margin-top: auto;

	background-color: #e9e9e9;
	padding-top: 20px;
	padding-bottom: 10px;
}

footer
{
	width: 1150px;
	margin: auto;
}

#infos_licence
{
	flex: 1;
	padding-left: 10px;
	padding-right: 50px;
	font-size: 0.9em;
	text-align: center;
}

#infos_licence img
{
	margin-top: 10px;
}

#cookies-cgu {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 20px;
	margin: 20px auto;
}

#cookies-cgu a {
	color: black;
}

#cookies-cgu #openCookiesManager {
	text-decoration: underline;
	cursor: pointer;
}


@media all and (max-width: 1024px)
{
	footer
	{
		width: auto;
		padding: 0;
		text-align: left;
		flex-direction: column;
		font-size: 0.8em;
	}

	#infos_licence
	{
		margin-top: 5px;
		padding: 0;

	}

}
