body {
	height: 100%;
	margin: 0;
	background-color: aliceblue;
}

header {
	position: sticky;
	top: 0px;
	width: 100%;
	height: 150px;
	background-color: #024783;
}

header h1 {
	color: white;
	margin-top: auto;
    margin-bottom: auto;
}

#topbar {
	display: flex;
    width: 100%;
	height: 50%;
}

#deconnexion.bloc-link {
	position: absolute;
	right: 20px;
	top: 25px;
	text-decoration: none;
	color: white;
}

#nomUtilisateur.bloc-link {
	position: absolute;
	right: 20px;
	top: 90px;
	text-align: right;
	text-decoration: none;
	color: white;
	z-index: 9999;
}

main {
	width: 100vw;
	height: 100%;
	margin-top: -100px;
	max-width: 100%;
	max-height: 100%;
	background-color: bisque;
}


.fond-rond {
	height: 50px;
	background-color:rgba(204, 199, 199, 0.8); 
	border-radius: 25px;
	margin: 5px;
}

.sous {
	display: none;
	box-shadow: 0px 1px 2px #CCC;
	background-color: white;
	position: absolute;
	width: 200px;
	height: auto;
	z-index: 1000;
}

.sous li {
	float: none;
	width: 100%;
	text-align: left;
}

.sous a {
	padding: 10px;
	border-bottom: none;
	color: black;
}

.sous a:hover {
	border-bottom: none;
	background-color: rgba(200, 200, 200, 0.1);
}

.deroulant > a::after {
	content: " ▼";
	font-size: 12px;
}

nav {
	width: 100%;
	height: 50%;
	margin: 0 auto;
	background-color: #33b7ce;
	position: sticky;
	top: 0;
}

nav ul {
	list-style-type: none;
}

nav ul li {
	float: left;
	text-align: center;
	position: relative;
}

nav ul::after {
	content: "";
	display: table;
	clear: both;
}

nav a {
	display: block;
	text-decoration: none;
	color: white;
	border-bottom: 2px solid transparent;
	padding: 10px 0px;
}

nav a:hover {
	color: orange;
	border-bottom: 2px solid gold;
}

nav > ul li:hover .sous {
	display: block;
}

nav img {
	width: 50px; 
	border-radius: 15px;
	margin-right: 10px;
	align-items: center;

}

.icone {
	text-align: center;
}

ul {
	margin: 0;
	padding: 0;
	margin-left: 10px;
	list-style: none;
	justify-content: left;
	align-items: center;
	height: 100%;
}

li {
	display: flex;
      align-items: center; /* Centre verticalement */
      gap: 10px; /* Espace entre checkbox et texte */
      margin-bottom: 10px;
	  margin-left: 30px;
}

.nav-links {
	margin-top: auto;
	margin-bottom: auto;
}

section {
	width: 90%;
	min-height: 200px;
	margin-left: auto;
    margin-right: auto;
}

#logo {
	background-color: #024783;
	object-fit: cover;
    width: 300px;
}

label {
	display: inline-block;
	width: 150px;
	height: 30px;

}

select#societe {
	display: inline-block;
	width: 400px;
}

#selection {
	margin: 20px;
	padding: 10px;
	border: 1px black solid;
}

.selectionTir {
	display: flex;
	margin-left: 30px;
}

input
{
	width: 250px;
	height: 25px;
	margin-bottom: 5px;
	margin-top: 5px;
	z-index: 10;
}

input:focus
{
	background-color: khaki;
}

fieldset {
	display: block;
	margin-right: auto;
	margin-left: auto;
	border: black solid 1px;
	background-color: whitesmoke;
	padding: 10px;
	border: 2px solid #efbe1a;
	width: auto;
	margin: 20px;
	border-radius: 10px;
}

fieldset.acces {
	width: 500px;
	height: auto;
	padding: 10px;
	position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
	font-family:Arial, Helvetica, sans-serif;	
	border-radius: 15px;
}
fieldset.distinction {
	width: auto;
	height: auto;
	margin: 10px;
	padding: 10px;
	font-family:Arial, Helvetica, sans-serif;	
	border-radius: 15px;
}

.centrage {
	width: auto;
	height: auto;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	font-family:Arial, Helvetica, sans-serif;	
	min-height: -webkit-fill-available;
	border: 1px solid black;
	border-radius: 15px;
	background-color: rgb(201, 199, 199);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 40%);

}

.newUser select {
    margin: 5px;
}

.bienvenue {
	width: 500px;
  	display: block;
  	margin-left: auto;
  	margin-right: auto;
	margin-top: 100px;
	border-radius: 50px;
}

table
{
	width: -webkit-fill-available;
	margin: 20px;
	border-collapse : collapse;
}

thead,
tfoot {
    background-color: #333;
    color: #fff;
}

caption
{
	font-size: 20px;
	font-weight:bold;
	text-align: left;
}

th 
{
	font-size: 20px;
	font-weight:bold;
	text-align: left;
}

td
{
	border:1px solid #333;
	font-size: 20px;
	font-weight:normal;
	text-align: left;
}
tr
{
	
	font-size: 20px;
	font-weight:normal;
	text-align: left;
}

.button
{
	height: 25px;
	width: auto;
	position: absolute;
	margin-right: 200px;

}
.ajoutPasse 
{
	width: 500px;
	display: flex;
	margin-left: 30px;
  	align-items: center;   /* Aligne verticalement */
	gap: 10px; /* Espace entre le texte et le checkbox */
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
