* {
	margin: 0;
	padding: 0;
}
body {
	margin: 10px;
	/*height: calc(100vh - 20px);*/
	display: grid;
	grid-template:
		[header-left] "head" 50px [header-right]
		[main-left] "main" 1fr [main-right]
		[footer-left] "foot" 50px [footer-right]
		/ 1fr;
	grid-gap: 10px;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
}
header {
	grid-area: head;
	display: flex;
	background-color: red;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
}
header img {
    width: 80px;
    height: 40px;
}
footer {
	/*grid-area: 3 / 2 / 4 / 4;*/
	grid-area: foot;
	display: flex;
	background-color: red;
	justify-content: flex-start;
    align-items: center;
    padding-left: 15px;
}
main {
	/*grid-area: 2 / 2 / 3 / 3;*/
	grid-area: main;
	display: flex;
	flex-direction: column;
	background-color: whitesmoke	;
	/*overflow: scroll;*/
	/*overflow-x: hidden;*/
	overflow-y: scroll;
	/*height: calc(100vh - 100px - 20px - 20px);*/
	height: 80vh;
}
section {
	/* background-color: rgb(232, 209, 209); */
	padding: 5px;
	margin: 10px;
}
table {
	border: gray solid 1px;
    border-style: double;
    /* padding: 10px; */
    width: 100%;
    border-width: 3px;
    border-spacing: 2px;
}
th {
	background-color: rgb(202, 203, 204);
}
td img {
	width: 30px;
	height: 30px;
}
td, th {
	border: 1px solid #dddddd;
	text-align: left;
	padding: 5px;
  }
tr:nth-child(even) {
	background-color: #D6EEEE;
}
.userman {
	display: flex;
	width:400px;
	margin-bottom: 10px;
	flex-flow: wrap;
}
.userman label {
	display: block;
	width: 150px;
}
nav {
	padding: 10px 0;
}

nav ul {
	display: flex;
	list-style-type: none;
	/* justify-content: center;
	align-items: center; */
}

nav ul li {
	/* position: relative; */
	margin: 0 5px 5px 5px;
}

nav ul li a {
	display: block;
	width:max-content;
	background-color: #555;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	font-size: 16px;
	padding: 5px 10px;
	transition: background-color 0.3s, transform 0.3s;
	border-style: inset;
}

nav ul li a:hover {
	background-color: #555;
	transform: translateY(-3px);
}

.submenu {
	display: none;	
	visibility: hidden;
	opacity: 0;
	border-radius: 10px;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #444;
	list-style-type: none;
	padding: 10px 0;
	min-width: 150px;
}

/* .submenu li a {
	padding: 10px 20px;
	text-align: left;
} */

nav ul li:hover .submenu {
	visibility: visible;
	opacity: 1;
	display: block;	
	animation: fadeIn 0.5s ease;
}

nav ul li:not(:hover) .submenu {
	/* opacity: 0;
	visibility: hidden; */
	animation: fadeOut 0.5s ease;
	/* transition: opacity 0.5s ease, visibility 0.5s ease 0.5s; delay fade-out */
}

.submenu li a:hover {
	background-color: #666;
}

.tooltip {
	position: relative;
	display: inline-block;
	/* border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
	visibility: hidden;
	width:fit-content;
	background-color: #eee;
	border: 3px solid lightgray;
	border-style: inset;
	color: black;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	/* Position the tooltip */
	position: absolute;
	left: 30px;
	top: -20px;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

.borderleft {
	border-left: 2px solid rgb(58, 58, 58);
	padding-left: 8px;
}
h1 {

    padding: 10px;
    margin-left: 15px;
    border: lightgray solid 5px;
    width: fit-content;
    border-style: inset;
	background-color: #eee;
}
@keyframes fadeIn {
	0% {
		opacity: 0;	;
		transform: translateY(-10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
		visibility: visible;
		display: block;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		visibility: hidden;
		display: none;
		transform: translateY(-10px);
	}
}