html {
	padding: 0;
	margin: 0;
	background-color: lightgray;
	background-size: cover;
}

a {
	text-decoration: none;
	color: black;
}

i {
	color: darkgreen;
}

img {
	position: relative;
	width: 75%;
	max-width: 500px;
	margin-left: 10%;
}

#menu {
	position: relative;
	z-index: 20;
	max-width: 1000px;
 	height: 40px;	
	margin: auto;
	display: block;
}

#menu ul {
	margin:0;
	padding:0;
	list-style-type:none;
	text-align:center;
}

#menu li {
	float:left;
	margin:auto;
	padding:0;
	background-color: rgb(235,235,235);
	background-size: contain;
	border-bottom: 2px solid black;
}

#menu li a {
 	display: table-cell;
 	width: 250px;
 	height: 40px;
 	font-size: 18px;
 	font-weight: bold;
 	vertical-align: middle;
 	color: black;
 	text-decoration: none;
}

#menu li a:hover {
	color: gray;
}

#menu ul li ul {
	display:none;
}

#menu ul li:hover ul {
	display:block;
}

#menu ul li:hover ul {
	display: block;
}

#menu li:hover ul li {
	float:none;
	border: none;
	border-left: 2px solid black;
	border-right: 2px solid black;
}

#menu li:hover ul li:last-child {
	border-bottom: 2px solid black;
}

#menu li ul {
	position:absolute;
}

#contenu {
	padding: 10px;
	max-width: 980px;
	min-width: 500px;
	height: auto;
	margin: auto;
	border: 2px solid black;
	border-radius: 5px;
	display: block;
	background-color: rgb(235, 235, 235);
}

#pageName {
	text-align: right;
	width: 980px;
	margin: auto;
	margin-top: 50px;
	font-size: 30px;
	font-weight: bold;
	color: black;
}

.part {
	counter-increment: part;
	margin: auto;
	margin-bottom: 40px;	
	width: 90%;
	height: auto;
	box-shadow: 0px 0px 10px 0.5px gray;
	background-color: rgb(255,255,255);
	padding: 10px;
}

.part:before {
	position: relative;
	left: -55px;
	content: counter(part);
	margin: 20px;
	padding: 5px 20px;
	background: #ff4f38; /* rgb(155, 155, 155) */
	-moz-border-radius: 90px;
	border-radius: 90px;
	font-weight: bold;
	font-size: 20px;
	color: white;
}

.title {
	position: relative;
	left: -55px;
	font-size: 25px;
	width: auto;
	font-weight: bold;
	color: #0d7aa5;
}

.part p {
	text-align: justify;
}

.part p span {
	font-weight: bold;
	color: red;
}

.part p cite {
	font-weight: bold;
}

.part p:before {
	content: "\25A0";
	font-size: 25px;
	margin-right: 10px;
	color: #ff4f38; /* rgb(155, 155, 155) */
}

#chapMenu li {
	font-size: 18px;
	margin-bottom: 20px;
}

#chapMenu li:hover {
	font-size: 22px;
}

#chapMenu li .chapCounter {
	font-weight: bold;
	text-decoration: none;
	color: black;
}

.infoChap {
	font-style: italic;
	font-size: 12px;
}

.infoChap:before {
	content: "\2937";
	font-size: 15px;
	padding: 5px;
}

#back {
	position: relative;
	top:-45px;
	font-size: 20px;
}

#QCM h1 span {
	font-style: italic;
	font-size: 11px;
}

#QCM p {
	font-weight: bold;
}

#QCM p:before {
	font-weight: bold;
	content: ">>>";
	margin-right: 10px;
}

#QCM p span {
	color: rgb(235, 235, 235);
	border: 1px solid black;
	font-weight: normal;
	padding: 5px 0 5px 0;
}

#QCM p span:hover {
	color: black;
	border: none;
}

#game {
	border: 1px solid black;
	border-radius: 5px;
	padding: 5px;
	background-color: rgba(0,0,0,0.1);
	margin-bottom: 25px;
}

#gameExo {
	font-size: 25px;
}

#resultDiv {
	display: flex;
}

#result {
	margin: 0;
	margin-left: 20px;
	margin-top: 5px;
	font-weight: bold;
}

#showResultBtn {
	height: 25px;
	max-height: 25px;
}

#contactDiv {
	font-size: 12px;
	max-width: 1000px;
	min-width: 500px;
	height: 35px;
	margin: auto;
	margin-top: 25px;
	border: 2px solid black;
	border-radius: 5px;
	display: flex;
	justify-content: space-around;
	background-color: rgb(175, 175, 175);
}

/*************************************************/

@media screen and (max-width: 1000px) {
	#menu {
		display: none;
	}

	#smallMenu {
		display: block;
	}

	#chapMenu  {
		margin-top: 50px;
	}

	.part:before {
		left: 0;
		position: relative;
		content: counter(part);
		margin: 20px;
		padding: 5px 20px;
		-moz-border-radius: 90px;
		border-radius: 90px;
		font-weight: bold;
		font-size: 20px;
		color: white;
	}
	
	.title {
		left: 0;
		position: relative;
		font-size: 25px;
		width: auto;
		color: #0d7aa5;
		font-weight: bold;
	}

	#pageName {
		position: relative;
		top: 50px;
		left: 10%;
		margin-right: auto;
		text-align: left;
		width: 980px;
		font-size: 30px;
		font-weight: bold;
		color: black;
	}
}