
/*
 * Use this file in combination with the new templates
 */
@charset "UTF-8";

/* Generelle Abstände zwischen Elementen */
.mwf-form > .mwf-fieldset, .mwf-fieldset > .mwf-fieldset__legend{
  padding-top:1.5rem;
}
.mwf-layout > * {
  margin-top: 1.25rem;
}
.mwf-form > .mwf-fieldset + .mwf-fieldset {
  border-top: 2px solid #dcdcdc;
  margin-top: 2rem;
  padding-top: 0.25rem;
}
.mwf-fieldset .mwf-fieldset {	/* nested fieldsets */
  margin-top: 0 !important;
}


.mwf-form:has(.form-group.has-error) .mwf-form__display-errors-text::before{
  content: "At least one entry in the form is incorrect. Please correct this entry.";
}

@media (min-width: 800px) {
  .mwf-form > .mwf-fieldset, .mwf-fieldset > .mwf-fieldset__legend{
    padding-top:2rem;
  }
  .mwf-layout > * {
    margin-top: 1.5rem;
  }
  .mwf-form > .mwf-fieldset + .mwf-fieldset {
	margin-top: 2.5rem;
    padding-top: 0.5rem;
  }
}
@media (min-width: 1300px) {
  .mwf-form > .mwf-fieldset, .mwf-fieldset > .mwf-fieldset__legend{
    padding-top:2.5rem;
  }
  .mwf-layout > * {
    margin-top: 2rem;
  }
  .mwf-form > .mwf-fieldset + .mwf-fieldset {
    margin-top: 3rem;
    padding-top: 1rem;
  }
}

.mwf-field:not(:first-of-type){
  margin-top:1.5rem;
}

.mwf-hidden{
  display:none !important;
}

.mwf-break {
  flex-basis: 100%;
  height: 0;
  margin: 0;
}

.mwf-fieldset__legend {
	font-weight: bold;
}

.mwf-form__errors {
  font-weight: bold;
}

.mwf-form__actions{
  display: flex;
  justify-content: space-between;
}
.mwf-form__actions .mwf-button{
  margin-bottom: 2px;
}

.form-group.schmal, .mwf-field .schmal, .mwf-field .viertel_spalte{
   width:50% !important;
}

.mwf-checkbox, .mwf-radio {
  display: flex;
  align-items: start;
  column-gap: .25em;
  margin-bottom:.25em;
}
.mwf-checkbox__input, .mwf-radio__input{
  margin-top:.25em;
}
.mwf-checkbox__label, .mwf-radio__label {
  cursor: pointer;
  display: inline-block;
  flex-grow: 1;
}

.mwf-checkbox:focus-within > .mwf-checkbox__label, .mwf-radio:focus-within > .mwf-radio__label {
  outline: 1px dotted #767676;
}

.mwf-checkbox__input:focus, .mwf-radio__input:focus {
  box-shadow: 0 0 0 0.1rem #dcdcdc;
}

/* File Upload */
.mwf-file__uploaded-heading {
  padding: 0 .5em;
  text-align: right;
}
.mwf-file__uploaded-actions {
  margin-bottom: 1em;
}

.mwf-file__file-button {
  margin-bottom: .33em;
}

.mwf-file__ul {
  list-style: none;
  padding: 0;
  margin: 0 !important;
}
.mwf-file__li {
  background: #ededed;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: .5rem;
  padding: .5rem;
}

.mwf-file__ul:empty + .mwf-file__uploaded-actions {
  display: none;
}

.mwf-file__img {
  border-radius: 10px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  display: block;
  max-height: 250px;
  max-width: 250px;
  width: 100%;
}
.mwf-file__file-progress {
  background-color: #e0e0e0;
  margin: 8px 0;
  width: 100%;
}
.mwf-file__file-progress div {
  background: #ed8936;
  color: #fff;
  padding: 6px;
  text-align: right;
}
.mwf-file__file-info {
  display: flex;
  flex: 1;
  flex-flow: column;
  overflow:hidden;
  padding:0 1rem;
}
.mwf-file__file-info > span {
  margin-bottom: .33rem;
}
.mwf-file__file-error {
  font-weight: bold;
}
/*
.mwf-file__file-actions {
  flex: 0;
}*/

.mwf-file__dropzone {
  align-items: center;
  border-style: dashed;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  width: 100%;
}

.mwf-file__input {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

/* Summary */
.mwf-summary-item__label, .mwf-summary-item__value, .mwf-summary__paragraph{
  line-height: 1.5;  
}
.mwf-summary-item__label, .mwf-summary-item__value{
  background-color:#f6f6f6;
  border-bottom: 2px solid #fff;
  padding: .75rem 1rem;
}
.mwf-summary-item__label {
  width:33%;
}
.mwf-summary-item__value {
  overflow-wrap: anywhere;
}
.mwf-summary__paragraph{
  padding: 1.5rem 0 .75rem;
}

/* Progress */
.mwf-form-steps .btn{
  text-transform: none;
  white-space: normal;
}

.mwf-form-steps .btn-outline-gr1 {
  background-color: #fff;
  color: #767676;
}
.mwf-form-steps .btn-outline-gr1.disabled{
  border-color: #a6a6a6;
  color: #767676 !important;
  cursor: inherit;
  opacity: 1;
}

.mwf-form-steps__list {
  counter-reset: form-step;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap:.5rem;
  margin: 0 !important;
  padding: 0;
  position: relative;
}
.mwf-form-steps__item--completed::after {
  content: "\00a0✓";
}
.mwf-page-count.mwf-page-hasnolabel::before {
  content: "Page ";
}

/* autocomplete */
.autocomplete-suggestions {
  background: #fff;
  border: 1px solid #999;
  overflow: auto;
}
.autocomplete-suggestions strong {
  font-weight: bolder;
}
.autocomplete-suggestion {
  overflow: hidden;
  padding: 2px 5px;
  white-space: nowrap;
}
.autocomplete-selected {
  background: #c3c3c3;
}