/* CSS principal*/
/*reset du navigateur*/
*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	font-family: sans-serif;
}
html {
	position: relative;
	min-height: 100%;
}
body{
	margin: 0;
	min-height: 10em;
	display: grid;
	grid-template-rows: auto 1fr auto;
}
/*haut de page et gestion des menus*/
header {
	width: 100%;
	height: 70px;
	background-color: yellowgreen;
	display: flex;
	align-items: center;
	position: relative;
	flex-direction: row;
}

header >a,
header button {
	color: black;
	margin: 0 20px;
	font-size: 1.3em;
}
header button{
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}
header .dropdown-1 {
	position: relative;
	height: 100%;
	display: flex;
}
header .dropdown-1 .content {
	display: none;
}
header .dropdown-1:hover .content {
	display: block;
	display: flex;
	flex-direction: column;
	position: absolute;
	background-color: yellowgreen;
	top: 70px;
	width: auto;
	padding: 10px 10px;
	box-sizing: border-box;
	color: red;
	white-space: nowrap;
	line-height: 2em;
}

header .content a {
	color: black;
}

header .icon {
	display: none;
}

					/*petit ecran*/

@media (max-width: 800px) {
	header > a,
	header button {
		display:  none;
	}
	header .icon {
		display: block;
		position: absolute;
		right: 0;
		text-align: center;
		width: 5% !important;
		top: 20px;
		padding: 0 !important;
	}
	header.responsive > a,
	header.responsive button {
		display:  block;
		padding: 10px 0;
		width: 100%;
	}
	header .responsive > a {
		padding: 10px 0;
	}
	header .responsive > a,
	header .responsive .dropdown-1 {
		display:  block;
		
		width: 100%;
		
	}
	header .responsive button {
		display:  block;
		padding: 10px 0;
		
	}
	header {
		flex-direction: column;
		min-height: 70px;
		height: 100%;
		align-items: flex-start;
	}
	header .dropdown-1:hover .content {
		position: relative;
		width: 150%; 
		top: 0;
		padding: 5px 5px;
		line-height: 2em;

	}
}

/* Bloc principal  */

h1 {
	font-size : 20px;
}


/* login */
/* Connexion  déconnexion */


#container{
    width:220px;
    margin:0 auto;
    margin-top:10%;

}
	/* Bordered form */
form {
    width:100%;
    padding: 30px;
    border: 1px solid #f1f1f1;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#container h1{
    width: 70%;
    margin: 0 auto;
    padding-bottom: 10px;
}

	/* Full-width inputs */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

	/* Set a style for all buttons */
input[type=submit] {
    background-color: #53af57;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}
input[type=submit]:hover {
    background-color: white;
    color: #53af57;
    border: 1px solid #53af57;
}





/*pied de page*/
	footer{
		background-color: red;
		position:fixed;
		bottom:0;
		width:100%;
		padding-top:4px;
		height:20px;
		text-align: center;
	}




/********************/
/* CSS des tableaux */
/********************/

table{
	border-collapse: collapse;
}
caption{
	border:  2px solid dodgerblue;
	border-bottom: initial;
	background-color: yellow;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}
thead{
	border: 1px solid blue;
	border-top: initial;
	background-color: greenyellow;
} 

tbody{
	border: 2px solid dodgerblue;
	border-top: initial;
}

tr,td,th{
	border: 1px solid blue;
	border-top: initial;
	text-align: center;
}
tr:last-child{
    border: 2px solid dodgerblue;
}
td[data-titre_colonne="titre"]{
	text-align: center;
	background-color: limegreen;
}
img{
	width:100px;
	height:100px;
}


/*******************/
/*  CSS du bouton  */
/*******************/
button {
  display: inline-block;
  background-color: #53af57;
  border-radius: 10px;
  border: 4px double #cccccc;
  color: #eeeeee;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  width: 150px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}
button:hover {
  background-color: green;
}


/*#impression{
/*  display : none;
/*}



