@font-face{ /*Pour windows, la font Palatino est sur le serveur, pour linux & trucs apple pas de problème, ils connaissent*/
	font-family: "Palatino";
	src:url("../fonts/Super_Palatino.ttf");
}
/* Generated by Glyphter (http://www.glyphter.com) on  Sun Jul 02 2017*/
@font-face {
    font-family: 'Glyphter';
    src: url('../fonts/Glyphter.eot');
    src: url('../fonts/Glyphter.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Glyphter.woff') format('woff'),
         url('../fonts/Glyphter.ttf') format('truetype'),
         url('../fonts/Glyphter.svg#Glyphter') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Sourire';
    src: url('../fonts/Sourire/icomoon.eot');
    src: url('../fonts/Sourire/icomoon.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Sourire/icomoon.woff') format('woff'),
         url('../fonts/Sourire/icomoon.ttf') format('truetype'),
         url('../fonts/Sourire/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'icone_cinquieme';
    src: url('../fonts/icone_cinquieme/Glyphter.eot');
    src: url('../fonts/icone_cinquieme/Glyphter.eot?#iefix') format('embedded-opentype'),
         url('../fonts/icone_cinquieme/Glyphter.woff') format('woff'),
         url('../fonts/icone_cinquieme/Glyphter.ttf') format('truetype'),
         url('../fonts/icone_cinquieme/Glyphter.svg#Glyphter') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Windows Chrome ugly fix http://stackoverflow.com/questions/13674808/chrome-svg-font-rendering-breaks-layout/14345363#14345363 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	@font-face {
		font-family: 'Glyphter';
		src: url('../fonts/Glyphter.svg#Glyphter') format('svg');
	};
}

.icon-sixieme,.icon-devoir, .icon-exercice, .icon-synthese, .icon-quatrieme, .icon-troisieme, .icon-programmation, .icon-contact, .icon-menu, .icon-accueil, .icon-sourire {
	font-family: 'Glyphter';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-cinquieme {
	font-family: 'icone_cinquieme';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-sourire {
	font-family: 'Sourire';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}




.icon-accueil:before {
	content: "\0045";
}

.icon-sixieme:before {
	content: "\0049";
}

.icon-cinquieme:before {
	content: "\0041";
}

.icon-quatrieme:before {
	content: "\004a";
}

.icon-troisieme:before {
	content: "\004b";
}


.icon-programmation:before {
	content: "\0048";
}

.icon-contact:before {
	content: "\0046";
}

.icon-menu:before {
	content: "\0047";
}

.icon-sourire:before {
	content: "\e9e1";
}	

/*Indicateurs de position*/
/*.nav {
	background-color: red;
}

.nav ul{
	background-color: green;
}

.nav a{
	background-color: blue;
}*/



/* Global CSS that are applied for all screen sizes */


.nav ul {
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9em;
	font-weight: 300;
}



.nav a {
	display: block;
	color: rgba(249, 249, 249, .9);
	text-decoration: none;
	padding-top: 5px;
	-webkit-transition: color .5s, background .5s, height .5s;
	-moz-transition: color .5s, background .5s, height .5s;
	-o-transition: color .5s, background .5s, height .5s;
	-ms-transition: color .5s, background .5s, height .5s;
	transition: color .5s, background .5s, height .5s;
}

.nav i{
	/* Make the font smoother for Chrome */
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* Remove the blue Webkit background when element is tapped */

a, button {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Hover effect for the whole navigation to make the hovered item stand out */

.no-touch .nav ul:hover a {
	color: rgba(249, 249, 249, .5);
}

.no-touch .nav ul:hover a:hover {
	color: rgba(249, 249, 249, 0.99);
}

a, button {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}


/* Adding some background color to the different menu items */

.nav li:nth-child(7n+1) {
	background: rgba(0, 0, 0, 1);
}

.nav li:nth-child(7n+2) {
	background: rgba(81,81,90,1);
}

.nav li:nth-child(7n+3) {
	background: rgb(138, 160, 154);
}

.nav li:nth-child(7n+4) {
	background: #7E8F7C;
}

.nav li:nth-child(7n+5) {
	background: rgba(53,75,96,1.0);
}

.nav li:nth-child(7n+6) {
	background: rgb(27, 54, 71);
}

.nav li:nth-child(7n+7) {
	background: rgb(21, 40, 54);
}





/* For screen bigger than 800px */
@media (min-width: 32.5em) {

	/*Taille de la classe h1+taille de h2 et de p (titre des sections)*/


	.h1{
	color:white;
    font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
	font-size: 4em;
	}

	h1{
	font-size: 3.5em;
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
	color: white;
	margin:0;
	padding:0;
	}

	h2{
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
    font-size: 2.5em;
    color:rgba(255,255,255,1);
    font-style: oblique;
	}

	p{
    font-size: 1.5em;
    width: 30em;
    color: white;
    font-weight: 300;
    text-align: center;
    padding: 10px 20px;
    margin: 30px auto;
    border: 1px solid rgba(255,255,255,0.0);
	}

	.down{
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
    left: 50%; /*centrage */
    display: inline-block;
    position: absolute; 
    

    }

	/* Transforms the list into a horizontal navigation */
	.nav li {
		float: left;
		width: 14.2857%;
		text-align: left;
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	.nav a {
		display: block;
		width: auto;
	}

	/* hover, focused and active effects that add a little colored border to the different items */
	.no-touch .nav li:nth-child(7n+1) a:hover,
	.no-touch .nav li:nth-child(7n+1) a:active,
	.no-touch .nav li:nth-child(7n+1) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	.no-touch .nav li:nth-child(7n+2) a:hover,
	.no-touch .nav li:nth-child(7n+2) a:active,
	.no-touch .nav li:nth-child(7n+2) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	.no-touch .nav li:nth-child(7n+3) a:hover,
	.no-touch .nav li:nth-child(7n+3) a:active,
	.no-touch .nav li:nth-child(7n+3) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	.no-touch .nav li:nth-child(7n+4) a:hover,
	.no-touch .nav li:nth-child(7n+4) a:active,
	.no-touch .nav li:nth-child(7n+4) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	.no-touch .nav li:nth-child(7n+5) a:hover,
	.no-touch .nav li:nth-child(7n+5) a:active,
	.no-touch .nav li:nth-child(7n+5) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	.no-touch .nav li:nth-child(7n+6) a:hover,
	.no-touch .nav li:nth-child(7n+6) a:active,
	.no-touch .nav li:nth-child(7n+6) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}
	.no-touch .nav li:nth-child(7n+7) a:hover,
	.no-touch .nav li:nth-child(7n+7) a:active,
	.no-touch .nav li:nth-child(7n+7) a:focus {
		border-bottom: 4px solid rgba(0, 255, 0, 1);
	}

	/* Placing the icon */
	
	.icon {
		padding-top: 1.4em;
	}

	.icon + span {
		margin-top: 2.1em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Animating the height of the element*/
	.nav a {
		height: 5em;
	}

	.no-touch .nav a:hover ,
	.nav a:active ,
	.nav a:focus {
		height: 7em;
	}	

	/* Making the text follow the height animation */
	.no-touch .nav a:hover .icon + span {
		margin-top: 3.2em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Positioning the icons and preparing for the animation*/
	.nav i {
		position: relative;
		display: inline-block;
		margin: 0 auto;
		padding: 0.4em;
		border-radius: 50%;
		font-size: 1.8em;
		box-shadow: 0 0 0 30px transparent;
		background: rgba(255,255,255,0.1);
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		-webkit-transition: box-shadow .6s ease-in-out;
		-moz-transition: box-shadow .6s ease-in-out;
		-o-transition: box-shadow .6s ease-in-out;
		-ms-transition: box-shadow .6s ease-in-out;
		transition: box-shadow .6s ease-in-out;
	}	
	
	/* Animate the box-shadow to create the effect */
	.no-touch .nav a:hover i,
	.no-touch .nav a:active i,
	.no-touch .nav a:focus i {		
		box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
		-webkit-transition: box-shadow .4s ease-in-out;
		-moz-transition: box-shadow .4s ease-in-out;
		-o-transition: box-shadow .4s ease-in-out;
		-ms-transition: box-shadow .4s ease-in-out;
		transition: box-shadow .4s ease-in-out;
	}
		
}

/*Pour petit écrans de portables par exemple :*/
@media (min-width: 32.5em) and (max-width: 95.250em) { 
	/*Taille de la classe h1+taille de h2 et de p (titre des sections)*/

	.h1{
	color:white;
    font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
	font-size: 3.0em;
	}
	h1{
	font-size: 3.0em;
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
	color: white;
	margin-top:5%;
	padding:0;
	}

	h2{
	color:white;
    font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
    font-size: 1.5em;
    color:rgba(255,255,255,1);
    font-style: oblique;
	}

	p{
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
    font-size: 1em;
    width: 30em;
    color: white;
    font-weight: 300;
    text-align: center;
    padding: 10px 20px;
    margin: 2px auto;
    border: 1px solid rgba(255,255,255,0.0);
	}

	.nav_butons ul{
		font-size: 0.8em;
		margin: 0;
	}

	/* Size and font adjustments to make it fit into the screen*/
	.nav ul {
		font-size: 0.7em;

	}


	.nav a {
		height: 5em;
		font-size: 0.8em;

	}

	.Second h1{
		font-size: 3.0em;
	}
	.Second p{
		font-size: 1.0em;
	}
	

}

/* Pour tablette et version téléphone portable */

@media (max-width: 32.5em) {
	/*Taille de la classe h1+taille de h2 et de p (titre des sections)*/

	 .section .Premier h1{
    	font-size: 2em;
    }

	.h1{
    font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
	font-size: 2em;
	color: white;
	}

	h2{
	color:white;
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
    font-size: 1.2em;
    color:rgba(255,255,255,1);
    font-style: oblique;
	}

	p{
	font-family: Palatino, Calibri, Verdana,arial,helvetica, sans-serif;
    font-size: 0.5em;
    width: 30em;
    color: white;
    font-weight: 300;
    text-align: center;
    padding: 10px 20px;
    margin: 50px auto;
    border: 1px solid rgba(255,255,255,0.0);
	}		
	
	/* Instead of adding a border, we transition the background color */
	.no-touch .nav ul li:nth-child(7n+1) a:hover,
	.no-touch .nav ul li:nth-child(7n+1) a:active,
	.no-touch .nav ul li:nth-child(7n+1) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+2) a:hover,
	.no-touch .nav li:nth-child(7n+2) a:active,
	.no-touch .nav li:nth-child(7n+2) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+3) a:hover,
	.no-touch .nav li:nth-child(7n+3) a:active,
	.no-touch .nav li:nth-child(7n+3) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+4) a:hover,
	.no-touch .nav li:nth-child(7n+4) a:active,
	.no-touch .nav li:nth-child(7n+4) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+5) a:hover,
	.no-touch .nav li:nth-child(7n+5) a:active,
	.no-touch .nav li:nth-child(7n+5) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+6) a:hover,
	.no-touch .nav li:nth-child(7n+6) a:active,
	.no-touch .nav li:nth-child(7n+6) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.no-touch .nav li:nth-child(7n+7) a:hover,
	.no-touch .nav li:nth-child(7n+7) a:active,
	.no-touch .nav li:nth-child(7n+7) a:focus {
		background: rgba(0, 255, 0, 0.4);
	}

	.nav ul li {
		-webkit-transition: background 0.5s;
		-moz-transition: background 0.5s;
		-o-transition: background 0.5s;
		-ms-transition: background 0.5s;
		transition: background 0.5s;
	}	

}

/* Adapting the font size and width for smaller screns*/
@media (min-width: 32.5em) and (max-width: 38.688em) {
	
	.nav li span.icon {
		width: 80%;
	}

	.nav li .icon + span {
		font-size: 0.9em;
	}
}


/* Styling the toggle menu link and hiding it */
.nav .navtoogle{
	display: none;	
	width: 100%;
	padding: 0.5em 0.5em 0.8em;

	font-family: 'Lato','Calibri',Arial,sans-serif;
	font-weight: normal;
	text-align: left;
	color: rgb(255, 255, 255);
	font-size: 1.2em;
	background: none;	
	border: none;
	border-bottom: 4px solid rgb(221, 221, 221);
	cursor: pointer;
	padding-top: 15px;
}

.navtoogle i{
	z-index:-1;
}

.icon-menu {
	position: relative;
	top: 3px;
	line-height: 0;
	font-size: 1.6em;
}


@media (max-width: 32.438em) {

	/* Unhiding the styled menu link */
	.nav .navtoogle{
		margin: 0;
		display: block;
	}

	h1{
		color:white;
	}
	
	/* Animating the height of the navigation when the button is clicked */
	
	/* When JavaScript is disabled, we hide the menu */
	.no-js .nav ul {
		max-height: 30em;
		overflow: hidden;
	}
	
	/* When JavaScript is enabled, we hide the menu */
	.js .nav ul {
		max-height: 0em;
		overflow: hidden;
	}
	
	/* Displaying the menu when the user has clicked on the button*/
	.js .nav .active + ul {		
		max-height: 30em;
		overflow: hidden;
		-webkit-transition: max-height .4s;
		-moz-transition: max-height .4s;
		-o-transition: max-height .4s;
		-ms-transition: max-height .4s;
		transition: max-height .4s;
	}

	/* Adapting the layout of the menu for smaller screens : icon on the left and text on the right*/
	
	.nav li span {
		display: inline-block;
		height: 100%;
	}

	.nav a {
		padding: 0.5em;		
	}
	
	.icon + span {
		margin-left: 1em;
		font-size: 0.8em;
	}
	
	/* Adding a left border of 8 px with a different color for each menu item*/
	.nav li:nth-child(7n+1) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	.nav li:nth-child(7n+2) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	.nav li:nth-child(7n+3) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	.nav li:nth-child(7n+4) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	.nav li:nth-child(7n+5) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	.nav li:nth-child(7n+6) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}
	.nav li:nth-child(7n+7) {
		border-left: 8px solid rgba(0, 255, 0, 0.4);
	}

	/* make the nav bigger on touch screens */
	.touch .nav a {
		padding: 0.8em;
	}
}



/*les boutons des slides*/
.icon-devoir:before {
	content: "\0041";
}

.icon-exercice:before {
	content: "\0042";
}

.icon-synthese:before {
	content: "\0043";
}


.boutons_ul {
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.3em;
	font-weight: 300;
	list-style: none;
}

.nav_butons a {
	display: inline-block; /*pour que ça ne prenne pas plus de place sur la ligne de cet élément qu'il n'en prend*/
	color: rgba(249, 249, 249, .9);;
	margin-top:30px;
	font-size: 1.3em;
	-webkit-transition: all .5s, background .5s, height .5s;
	-moz-transition: all .5s, background .5s, height .5s;
	-o-transition: all .5s, background .5s, height .5s;
	-ms-transition: all .5s, background .5s, height .5s;
	transition: all .5s, background .5s, height .5s;
}

.no-touch .nav_butons ul:hover a {
	color: rgba(249, 249, 249, .5);
	
}

.no-touch .nav_butons ul:hover a:hover {
	color: rgba(249, 249, 249, 0.99);
	text-decoration: none;
}


.nav_butons a:after{
	content: '';
	display: block;
	margin: auto;
	height: 2px;
	width: 0px;
	background: transparent;
	transition: width .5s ease, background-color .5s ease; 
}


.nav_butons a:hover:after{
	width: 100%;
	background: rgba(255,255,255,1);
}

.container_synth_et_sujets{
	display: inline-block;
}