* {
    box-sizing: border-box;
}

html {
    background-color: #dddddd;
}

body {
    font-family: sans-serif;
    /* font-size: 1.25rem; */
    line-height: 1.6;
    color: black;
    margin-block: 0;
    align-items: center;
    /* display: flex; */
    flex-direction: column;
    /* justify-content: space-between; */
    max-inline-size: 1170px;
    background-color: #ffffff;
    position: relative;
    margin: 0 auto;
    height: 100%;
}

header {
    border-block-end: 2px lightgrey solid;
    width: 100%;
    margin: 0 auto;
    min-height: 110px;
    /* text-align: center; */
    background-color: rgb(243, 243, 243);
    /* padding: 20px; */
}

.top-row {
    background-color: #004191;
    height: 0px;
}

main{
    flex: 1;
}

footer {
    background-color: #333333;
    padding: 20px 50px;    
    display: flex;
    justify-content: space-between;
    align-items: center;   
    color: white;        
    font-size: 1.25rem;
    gap: 50px;
    margin-top: 20px;
}

.footer-logo {
    max-width: 100%;
    width: 227.5px;
}

img {
    vertical-align: middle;
    border: 0;
    display: inline-block;
    max-width: 100%;
}

.logo {
    display: inline-block;
    max-width: 100%;
    box-sizing: inherit;
    position: absolute;
    top: 0;
    left: 0;
}

/*** Subidentity ***/
.row {
    display: table;
    table-layout: fixed;
    width: 100%;
    word-spacing: -1em;
    margin: 0;
}
.b-logo {    
    display: inline-block;
    width: 297px;
    height: 60px;
    position: relative;
    margin: 10px 50px;
}

.b-logo .subidentity {
    color: #333;
    position: absolute;
    top: 40px;
    left: 73px;
    word-spacing: normal;
    font-size: 1.1em;
    letter-spacing: normal;
    line-height: 1.3;
}
.b-logo .subidentity.fontsize-s {
    font-size: 14px;
}
.b-logo .subidentity.fontsize-xs {
    font-size: 13px;
}

input {
    display: block;
    margin-bottom: 15px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% Viewport-Höhe */
}

h1,
h2 {
    text-align: center;
    max-width: 1170px;
    background-color: #004191;
    color: white;
    padding: 20px;
    margin-top: 0;
}

h2 {
    padding: 10px;
    max-width: 730px;
    margin-inline: auto;
    flex: 1; 
}

section {
    /* margin-bottom: 40px; */
    padding: 20px 0;
    max-width: 730px;
    margin-inline: auto;
    flex: 1; 
}

.upload, .plot, .table {
    background-color: rgb(210, 224, 241);
    /* background-color: #5595e29f; */
    padding: 15px;
    /* border: darkslategray 2px solid; */
}
/* 
.upload {
    padding: 15px 15px 0;
} */

.upload-button {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 5px;
}

.upload-button label {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    
}

input[type="file"] {
    /* flex: 1; */    
    flex: 1 1 auto;
    min-width: 200px;
    vertical-align: middle;
    padding: 2px;
}

.checkbox {
    display: inline-block;
}

.submit-button {
    display: block;
    margin-block-start: 10px;
    align-items: center;
    gap: 10px;
}
 
.submit-button input {
    font-size: 1.1rem;
    padding: 5px;
    /* margin-bottom: 0; */
}

table, th, td {
  border:1px solid black;
  border-collapse: collapse;
}

th {
  background-color: #b5c2d4;
  padding: 10px;
}

td {
  background-color: #d5e7e7;
  text-align: end;
  padding: 10px;
}

th .top_row {
    white-space: normal;
}

.white-link,
.white-link:visited{
    color: white
}

.white-link:hover,
.white-link:after{
    color: #00beff;
}

.tooltip {
    cursor: help;
    text-decoration: underline;
}

.tooltip:hover {
    color: rgb(73, 73, 73);
}