* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
}

.fs-7 {
    font-size: 0.75rem !important;
}
  
.fs-8 {
    font-size: 0.50rem !important;
}

.fs-9 {
    font-size: 0.25rem !important;
  }


.abutton {
    font-size: 1.5em;
    color: darkgray;
}


.dialogbox {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    height: max-content; 
    
}
.dialogbox h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.dialogbox form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.dialogbox form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}
.dialogbox form input[type="password"], .dialogbox form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.dialogbox form input[type="submit"] {
    width: 100%;
    padding: 15px;
   margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.dialogbox form input[type="submit"]:hover {
  background-color: #2868c7;
    transition: background-color 0.2s;
}

#content-wrap {
    margin-bottom: 60px;
}
.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}
.navtop div h1, .navtop div a, .navtop div span {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a, .navtop div span {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}

.navtop div a i, .navtop div span i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}


.footer {
    background-color: #343a40;
    color: white;
    padding: 5px 0;
    width: 100%;
    position: sticky;
    bottom: 0;
}
.footer a {
    color: #ffffff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.uploadbox {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    height: max-content;
}
.uploadbox h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.uploadbox form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.uploadbox form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #3274d6;
    color: #ffffff;
}
.uploadbox form input[type="submit"] {
    width: 100%;
    padding: 0px;
    margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.uploadbox form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}


.container {
    display: flex;
    min-height: 90vh; /* prend toute la hauteur de l'écran */
    overflow: hidden;
  }

.display-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;    
}

.display-container .display-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 0;
    flex-shrink: 0;    
    height: 10em;
}

.display-container .display-row .cell {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    min-width: 100px;    
}

.display-container .display-row .image {
    max-width: 100px;
    max-height: 200px;
}

.display-container .display-row .info {
    flex: 2;
    flex-direction: column;    
    align-items: flex-start;
    justify-content: center;
    padding: 5px 10px;
}

.display-container .display-row .buttons {
    flex: 1;
    flex-direction: row;    
    justify-content: center;
    gap: 1em;
    padding: 2px 5px;
}

.sidebar {
    width: 20%;
    padding: 0.5rem;
    overflow-y: auto;
    border-right: 1px solid #ccc;
}

.content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}