/* ==============================================
   FEUILLE DE STYLES DES GABARITS HTML/CSS --- 04
   © Elephorm & Alsacreations.com
   Conditions d'utilisation:
   http://creativecommons.org/licenses/by/2.0/fr/
   ============================================== */

/* version 1.3.6.24 */

/* --- COULEURS --- */

/* Note: vous pouvez modifier simplement l'aspect de ce gabarit en modifiant
   uniquement les couleurs de fond (propriétés background) et les couleurs
   du texte (propriété color).
   Pour modifier la disposition des blocs, voir plus bas dans la feuille de
   styles la partie «positionnement». */

/* Général */
body {
	color: #F0E39E;
	background: #010c32;
}
a {
	color: #FF6533;
}
a:hover, a:focus {
	color: #FF4C00;
}
strong {
	color: #A1B55D;
}
/* Sauvegarde */
.alert-success {
	color:white;
	background-color:green;
	padding: .75rem 1.25rem;
	position: fixed;
	width: 1180px;
	z-index:50;
	top:0px;
}

	.marge{
		margin-left:40px;
	}
	.valider{
		color:white;
		background-color:darkcyan;
		padding: 6px 20px;
	}
	td{
		vertical-align:middle;
	}
	.rep{
		font-size: 18px;
		font-family: cursive;
		background-color:#002200;
		color: white;
		vertical-align: center;
		
	}

.validation-errors{
	position: fixed;
	width: 1180px;
	z-index:50;
	top:0px;
	color:white;
	background-color:red;
	padding: .75rem 1.25rem;
}	


.valider {
	background-color: green;
	padding: 10px;
	width: fit-content;
	font-weight: bold;

}

/*Menu*/

 /* Add a black background color to the top navigation */
.topnav {
  background-color: #E5E5E578;
  overflow: hidden;
  border-radius:15px 15px 0px 0px; /* fs CSS3 */
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
/*Sommaire*/
.sommaire{ position: absolute;
		z-index: 999;
		top : 5px;
		left : 5px;
		background:#eee; 	
		color: black; 
		box-shadow: 2px 2px 2px grey;	
		border-radius:5px;

		
	}

.identifiant{position: fixed;
		z-index: 999;
		top : 15px;
		left : 15px;

}

	html>body .sommaire  {
		position: fixed;
		font-size: 0.80em;
		line-height: 1;		
	}
	

	
	
/* Add an active class to highlight the current page */
.active {
  background-color: #6BD8C9;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #FF0000;
  color: black;
  border-radius:0px;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
  border-radius:0px;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
  border-radius:0px;
  
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
} 

/* Navigation */
#navigation {
	background: #181A12;
	border-radius:15px; /* fs CSS3 */
}
#navigation a {
	color: #FF6533;
}
#navigation a:hover, #navigation a:focus {
	background: #000000;
}

/* Contenu principal */
#contenu {
	color: #101015;
	background:   #B3B3B3;/* #72CCB7;*/
	border-radius:0px 0px 15px 15px; /* fs CSS3 */
}
#contenu a {
	color: blue;
}
#contenu a:hover, #contenu a:focus {
	color: #6E5122;
}
#contenu strong {
	color: #181A12;
}

#contenu table
{
	/* fs */
	border-collapse:collapse;
	background-color:#e4690f;
	box-shadow: 5px 5px 5px grey;
}

#contenu img
{
	box-shadow: none;
	}

#contenu img.ombre
{
	box-shadow: 5px 5px 5px grey;
}

#contenu table,th,td {
	/* fs */
	border:1px solid black;
	vertical-align:top;
	padding:5px;
}

#contenu .rep {
	font-size: 18px;
	font-family: cursive;
	background-color: white;
	color: darkblue;
	vertical-align: center;
}

#contenu th
{
	/* fs */
	border:1px solid black;
	background-color:#010c32;
	color:white;
	padding:5px;
}

.dr
 {	text-align: center; 
	width: 100px; 
	height: 75px"; 
	ondrop="drop(event)" 
	ondragover="allowDrop(event)"
	}
	
/* --- POSITIONNEMENT --- */

/* Page */
body {
	padding: 20px 50px; /* Voir -> Note 1 ci-dessous */
}

/* En-tête */
#entete {
	padding: 10px 0;
}
#entete h1 {
	margin: 0;
}
#entete h1 img {
	float: left;
	margin: 7px 20px 10px 0;
}
#entete .sous-titre {
	margin: 5px 0 15px 0;
}

/* Menu de navigation */


/* Contenu */
#contenu {
	/*margin-left: 20%; /* -> 4 */
	margin-bottom: 20px;
	padding: 10px 20px;
}
#contenu > :first-child {
	margin-top: 10px;
}
#contenu p, #contenu li {
	line-height: 1.5;
}

/* Mention de paternité */
#copyright {
	margin-left: 20%;
}


kbd {
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #b4b4b4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
    color: #333;
    display: inline-block;
    font-size: .85em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    white-space: nowrap;
   }

.zoom {

  transition: transform .2s;

}

.zoom:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 
}

   
   
/* --- NOTES ---

1.	Ce gabarit utilise du padding sur l'élément BODY pour créer un retrait
	esthétique tout autour du conteneur principal.
	Rappel: "padding: 20px 50px;" se lit ainsi:
	- padding-top et padding-bottom de 20px;
	- padding-left et padding-right de 50px.

2.	C'est la propriété "float" qui nous permet de placer deux blocs
	côte-à-côte. Notez bien que l'élément flottant (ici, notre menu de
	navigation) doit être placé en premier dans le code HTML. Il est
	préférable de lui donner une largeur, ce que nous faisons ici avec un
	"width: 18%;".

3.	Correction d'un bug d'Internet Explorer 6. Voir la dernière partie de
	http://blog.alsacreations.com/2006/10/20/294-impact-sur-le-rendu-de-la-
	mise-en-forme-du-code-html
	Dans l'idéal, on placera ce correctif dans une feuille séparée, appelée
	via un commentaire conditionnel visant IE6.

4.	Les éléments flottants ne repoussent pas les blocs, mais repoussent
	uniquement leur contenu. Pour que notre bloc de contenu principal forme
	une colonne distincte du menu, on lui donne donc une marge à gauche de 20%.
	Il existe une autre technique pour adapter la largeur d'un bloc aux
	flottants qui le précèdent. On pourra lire l'article suivant:
		http://css.alsacreations.com/Faire-une-mise-en-page-sans-tableaux/
		design-trois-colonnes-positionnement-flottant

*/
