body {
	height: 100%;
	margin: 0;
	background-color: rgb(240, 248, 255);
}

header {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100px;
	background-color: #5f7e99;
}

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

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

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

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: rgb(51, 183, 206);
	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;

}

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

li {
	margin: 10px;
}

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

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

#logo {
	background-color: #5f7e99;
	object-fit: cover;
	margin-top: 10px;
	margin-left: 20px;
}
.logoLandi {
	margin-left: 20px;
	position: absolute;
	right: 20px;
	width: 78px;
}
.logoAgroline {
	width: 125px;
	margin: 10px;
}

input {
	margin: 5px;
}

input:focus
{
	background-color: khaki;
}

fieldset {
	display: block;
	margin-right: auto;
	margin-left: auto;
	border: black solid 1px;
	background-color: whitesmoke;
}

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;
	background-color: #5f7e99; 
}

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

}

select {
	width: 368px;
}

select#client {
	width: auto;
}

.newUser select {
    margin: 5px;
}

#default {
	display: block;
	width: 30%;
	margin: auto;
	margin-top: 10%;
	width: 200px;
}

table
{
	border-collapse:collapse;
	text-align: left;
	padding: 10px;
	width: 100%;
}

.infoClient, .infoParcelle, .rapportTravail {
	margin: 20px;
}

thead, tfoot {
    background-color: #333;
    color: #fff;
}
th 
{
	font-size: 20px;
	font-weight:bold;
	text-align: left;
	border: solid 1px #333;
	white-space: nowrap;
}

td
{
	
	font-weight:normal;
	text-align: left;
	padding-left: 5px;
	padding: 5px;
}
tr
{
	
	font-size: 20px;
	font-weight:normal;
	text-align: left;
}

.repClient {
	margin-left: 20px;
}
.liste {
	width: 100%;
}

a.annulerParcelle {
	margin-left: 30px;
}
a.annulerCommande{
	margin-top: 5px;
	margin-left: 20px;
}

.ordinateur {
display: block;
}

.smartphone {
	display: none;
}
textarea {
	width: -webkit-fill-available;
}
#infoTraitement {
	display: grid;
}
#infoTraitement input{
	width: max-content;
}

label.modifClient {
	display:inline-block;
	width: 200px;
	margin: 5px;
}

@media only screen and (max-width: 480) {
	.ordinateur {
	  display: none;
	}

	.smartphone {
		display: block;
	}
	
	header {
		height: 200px;
	}
	
	header h1 {
		color: white;
		margin-top: auto;
		margin-bottom: auto;
	}
	.logoLandi {
		width: 10%;
	}
	.detailParcelle {
		display: block;
	}

	th
	{
		font-size: 10px;
	}

	td
	{
		font-size: 40%;
	}
	tr
	{
		
		font-size: 10px;
	}
  }