#main-wrapper {
    display: flex;
    width: 100%;
}
#edit-heading-1, #edit-heading-2 {
  width: 100%;  
}

label {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 0.5rem;
  flex-grow: 1;
  flex-shrink: 0;
}
.webform-submission-form {
  max-width: 75%;  
}

@media screen and (max-width: 1000px) {
  .webform-submission-form {
     max-width: 100%;    
  }
}

#edit-additional-info {
   width: 100%; 
   font-size: 1rem;
}
.webform-submission-form img {
  width: 100% !important;
  height: auto !important;
}

.form-item {
  margin: 0 !important;  
}
.custom-formelement-inline {
  width: 100% !important;  
  display: flex;
  flex: 1;
}
.webform-flex--container {
  display: flex;  
  margin-bottom: 0.35rem;
}
.custom-inline {
  gap: 0.5rem;  
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
.custom-inline .webform-flex--container {
    margin: 0;
    width: 100%;
}

.custom-inline .webform-flex:nth-of-type(2) {
  max-width: 100%;
}

.custom-inline label {
  flex-grow: 0;  
}
.custom-inline input {
  width: fit-content !important;  
}
.custom-inline .webform-flex--container .js-form-item {
    display: flex;
    margin: 0 !important;
    width: 100%;
}
@media screen and (max-width: 500px) {
  .custom-formelement-inline {
    flex-flow: column;  
  }
  .custom-inline label {
    flex-shrink: 1;  
  }
}
.webform-button--submit {
  padding: 10px 25px !important;   
}
