* {
    margin: 0;
    padding: 0;
    color: #000000;
    font-family: Arial, Times, serif;
}

body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: left;
    height: 100vh;
}

.form-wrapper1 {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.meldungen {
  margin-top: 20px;
  line-height: 30px;
  font-size: 22px;
  color: #e2001a;
}

.form-wrapper2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  height: 100%;
  width: 100%;
}

.registerform {
  display: flex;
  flex-direction: column;
  justify-content: left;
  
  width: 100%;
}

h1 {
  padding: 0;
  margin: 15px;
  margin-left: 0;
  display: flex;
  justify-content: left;
  line-height: 2.2rem;
  
}

h2 {
  padding: 0;
  margin: 15px;
  margin-left: 0;
}

.formular {
  height: 100%;
  width: 100%;
  margin: 10px 0px;
}

.inputfield {
  margin-top: 4px;
  margin-bottom: 4px;
  display: block;
  flex-direction: column;
}

.inputfield input {
  margin-top: 16px;
  font-size: 18px;
  line-height: 24px;
  width: 100%;
}

.inputfield label {
  color: #666;
  font-size: smaller;
  font-weight: normal;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 4px;
  display: inline-block;
}

input {
  border: none;
  border-bottom: 1px solid black;
  outline: black;
  background: none;
  border-color: #404040;
  border-radius: 1px;
  color: #000000;
  margin-bottom: 8px;
}

input:disabled+label {
  color: #ccc;
}

.datumsauswahl {
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
}

.datumsauswahl p {
  color: #e2001a;
  margin-top: 8px;
  margin-bottom: 8px;
}

.datumsauswahl span {
  margin-left: 0;
}

.radiobutton {
  margin-top: 8px;
  margin-bottom: 8px;
}

.fusszeile {
    display: flex;
    flex-direction: column;
    justify-content: left;
    
}

.fusszeile span {
  display: inline-block;
  margin-top: 3px;
  margin-bottom: 0px;
}

.checkbox_text {
    padding: 4px;
}

.checkbox_text p {
    margin: 8px;
    padding-left: 35px;
}

a {
  margin: 0px auto;
  letter-spacing: 1px;
  border-bottom: 2px solid red;
  color: black;
  display: inline-block;
  line-height: 100%;
  position: relative;
  text-decoration: none;
  z-index: 0;
  -webkit-transition: border-color .35s ease, background .35s ease;
  transition: border-color .35s ease, background .35s ease;
}

a:before {
  background-color: red;
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
}

a:hover:before {
  top: 0;
}

a:hover{
color:white;
transition:0.25s;
}

a:after {
  position: absolute;
  right: 2.34375rem;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(50%);
  -ms-transform: translateY(-50%) translateX(50%);
  transform: translateY(-50%) translateX(50%);
  font-size: 1.75em;
}

a {
  padding: 2px;;
}

/* Customize the label (the container) */
 .checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
  position: absolute;
  top: 5px;
  left: 0;
  opacity: 0;
  cursor: pointer;
  height: 30px;
  width: 175px;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  z-index: -1;
  top: 10px;
  left: 15px;
  height: 12px;
  width: 12px;
  background-color: #ffffff;
  border: 2px solid black;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ffffff;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
  background-color: #ffffff;
  border-color: #e2001a;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
  left: 3px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid #e2001a;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
} 

.buttonBox {
  width: 100%;
  margin-top: 20px;
}

.button {
    background-color: #e2001a;
    border: 1px solid #e2001a;
    color: #ffffff;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 20px;
    width: 9.5em;
}

.button:hover {
    transition-duration: 0.2s;
    background-color: #ffffff;
    color: #e2001a;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}

button:active{
  border-color: black;
  color: black !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);;
}

.inputfield p.errormsg, .errormsgBottom {
  color: #e2001a;
  margin: 8px 0px;
  line-height: 20px;
  font-size: 18px;
}

.overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 10;
}

.modal1 {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 500px;
  height: 62px;
  background-color: #e2001a;
  text-align: center;
  z-index: 11; 
}

.modal1 p {
  margin: 16px;
  font-size: 22px;
  line-height: 30px;
  color: #ffffff;
  font-weight: bolder;
  letter-spacing: 0;
}

.modal2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(500px - 32px);
  height: 170px;
  background-color: white;
  text-align: left;
  z-index: 11; 
  padding: 16px;
  align-items: flex-end;
}

.modal2 p {
  padding-top: 16px;
  line-height: 24px;
  font-size: 16px;
  letter-spacing: 0;
}

.content {
  margin: 30px;
}

.overlay-btn:active {
  color: black;
  border: 1px solid black;
  box-shadow: #666;
}

.ok-button {
  margin-right: 9px;
  margin-bottom: 19px;
}

.ok-button button {
  width: 63px;
}

.close-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50;
  border: none;
  background: none;
  z-index: -1;
}

.close-button:hover {
  cursor: pointer;
}

.close-button > div {
  position: absolute;
  width: 22px;
  height: 2px;
  background: white;
}

.close-button > div:first-child {
 -webkit-transform: rotate(45deg);
}

.close-button > div:last-child {
  -webkit-transform: rotate(-45deg);
}