@charset "UTF-8";
webforms-component {


  .vst-registration {
    &:after {
      content: "";
      position: relative;
      display: block;
      clear: both;

      @media(max-width: 767px) {
        height: 20px;
      }
    }

    > div + div {
      margin-top: calc(3% + 20px);
    }

    .title {
      @extend h3;

      @media(max-width: 567px) {
        margin-bottom: 0;
      }
    }

    .row {
      margin: 0 -8px;

      .input-wrapper, .col-sm-3, .btn-wrapper {
        padding: 0 8px;

        .col-sm-3 {
          padding: 0;
        }

        .row {
          margin: 0;
        }

        .text {
          margin: 12px 0;
        }
      }

      &.Participant {
        position: relative;
        padding-right: 60px;
        color: $color-primary;
        color: var(--theme-color-primary, $color-primary);

        @media(max-width: 567px) {
          padding-right: 0;
          padding-bottom: 60px;
        }

        .btn-wrapper {
          position: absolute;
          display: block;
          bottom: 0;
          right: 0;
          padding: 0;
        }

        button {
          font-size: 0;
          line-height: 0;
          background-color: transparent;
          @extend .icon-loeschen;
          padding: 15px;
          border: 0;
          width: 60px;
          height: 60px;
          border-radius: 4px;
          @include focusvisible;
          cursor: pointer;

          @media(max-width: 567px) {
            width: 50px;
            height: 50px;
            padding: 10px;
          }

          &:before {
            font-family: "Icons";
            font-size: 30px;
            line-height: 1;
          }
        }
      }
    }

    .add-participant {
      @extend .btn-small;
      @extend .icon-teilnehmer-add;
      opacity: 1;
      margin: 30px 0 10px;
      background-color: $color-primary-light-03;
      background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
      color: $color-primary;
      color: var(--theme-color-primary, $color-primary);
      padding: 6px 18px 6px 50px;
      border-radius: 18px;
      border: 0;
      cursor: pointer;

      &:hover {
        box-shadow: 0 0 0 5px rgba($color-primary-light-03, 0.4);
      }

      &:focus {
        border: 0;
      }

      &:before {
        font-size: 30px;
        line-height: 1;
        position: absolute;
        left: 13px;
        top: 50%;
        margin-top: -15px;
        font-family: "Icons";
      }
    }

    .rechnungAnPrivatAdresse {
      display: none;
    }

    #vst_faxnummer, #vst_nachricht, [id="vst_privatAdresse.vorname"], [id="vst_privatAdresse.ort"] {
      //margin-bottom: 30px;
    }

    #vst_abweichend_check {
      margin-top: 50px;

      ~ label {
        margin-top: 50px;
      }

      @media(max-width: 767px) {
        margin-top: 40px;

        ~ label {
          margin-top: 38px;
        }
      }
    }
  }

  .terms-wrapper {
    .input-wrapper {
      margin: 12px 0;
    }
  }

  .rw-event {
    background-color: $color-primary-light-04;
    background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
    margin: 15px 0 calc(2% + 20px);
    padding: 20px 0;

    @media(max-width: 567px) {
      padding: 10px 0;
    }

    .row {
      margin: 10px 15px;

      @media(max-width: 567px) {
        margin: 10px 3px;
      }
    }

    .subtitle {
      font-weight: 600;

      @media(max-width: 567px) {
        width: 100%;
      }
    }
  }

  .review-wrapper, .vst-registration {
    .submit {
      @extend .btn;
      @extend .has-icon;
      float: right;

      @media(max-width: 999px) {
        margin-bottom: 40px;
      }

      @media(max-width: 567px) {
        margin: 20px 0;
      }

      &:active, &:focus, &:active:focus {
        outline: 0;
      }
    }

    .info {
      border-top: 1px solid $color-primary-light-03;
      border-top: 1px solid var(--theme-color-primary-dimmed-03, $color-primary-light-03);
      padding-top: 20px;
      margin-top: calc(30px + 2%);
      font-size: 18px;

      @media(max-width: 767px) {
        font-size: 16px;
        padding-top: 15px;
      }
    }
  }

  .vst-registration .submit {
    @extend .icon-pfeil-rechts;
  }

  .review-wrapper .submit {
    background-color: $color-secondary;
    background-color: var(--theme-color-secondary, $color-secondary);
    color: $color-primary;
    color: var(--theme-color-primary, $color-primary);
    @extend .icon-check;

    &:hover, &:focus, &:focus:active, &:active {
      color: $color-primary;
      color: var(--theme-color-primary, $color-primary);
    }

    &:hover {
      box-shadow: 0 0 0 5px rgba($color-secondary, 0.4);
    }
  }

  .review-wrapper {
    .register-summary {
      background-color: $color-primary-light-04;
      background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
      margin: 15px 0;
      padding: 30px;

      + .register-summary {
        padding-top: 0;
        margin-top: -30px;
      }

      @media (max-width: 567px) {
        padding: 15px 18px;
      }

      [data-label="Name"] + [data-label="Vorname"], [data-label="Vorname"] + [data-label="Nachname"], [data-label="Vorname"] + [data-label="Name"], [data-label="Nachname"] + [data-label="Vorname"] {
        + span:before {
          content: "\A";
          white-space: pre;
        }
      }

      [data-label="Nachname"] + [data-label="Vorname"], [data-label="Name"] + [data-label="Vorname"] {
        &:before {
          content: ", ";
          margin-left: -3px;
        }
      }

      [data-label="PLZ"], [data-label="Postleitzahl"], [data-label="E-Mailadresse"], [data-label="E-Mail"], [data-label="Geburtsdatum"] {
        &:before {
          content: "\A";
          white-space: pre;
        }
      }

      [data-label="Ort"], [data-label="Stadt"], [data-label="Telefon"], [data-label="Rufnummer"], [data-label="Faxnummer"], [data-label="Firmenname"] {
        + span:before {
          content: "\A";
          white-space: pre;
        }
      }

      [data-label="Vorwahl"] {
        &:before {
          content: "\A";
          white-space: pre;
        }

        &:after {
          content: "/";
          margin: 0 0 0 6px;
        }
      }

      [data-label="Geburtsdatum (tt.mm.jjjj)"], [data-label="Geburtsdatum"] {
        &:before {
          content: "Geburtsdatum: ";
        }
      }

      &:after {
        content: "";
        position: relative;
        display: block;
        clear: left;
      }
    }
  }

  .form-progress.confirmation {
    ~ .content-wrapper iframe {
      width: 100%;
      margin-bottom: 20px;
    }
  }

  .event-registration-confirmation, .file-uploads {
    background-color: $color-primary-light-04;
    background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
    margin: calc(30px + 3%) 0;
    padding: 30px;

    @media (max-width: 567px) {
      padding: 15px 18px;
    }

    h3 + br {
      display: none;
    }

    #infscr-loading, #confirmation-loading {
      display: block;
      background-color: white;
      padding: 20px;

      img {
        width: 100px;
      }
    }

    #confirmation-error {
      display: none;
    }

    #confirmation-success {
      display: none;
    }


  }

  .file-uploads {
    .input-wrapper p br {
      display: none;
    }

    .progress {
      height: auto;
      background-color: transparent;
      box-shadow: none;
    }
  }

  .infobox.event-payment {
    padding: 30px;

    @media (max-width: 567px) {
      padding: 15px 18px;
    }

    .input-wrapper {
      margin: 20px 0;
    }

    .btn-wrapper {
      text-align: right;
    }
  }

  .review-wrapper {
    .alert {
      padding: 25px 30px;

      @media (max-width: 567px) {
        padding: 15px 18px;
      }
    }
  }


  .mwf-upload-dropzone {
    text-align: center;
    border: 2px dashed #cccccc;
    background-color: #ffffff;
    display: block;
  }

  .mwf-upload-dragover {
    background-color: #f3f3f3;
  }

  .mwf-upload-dropzone .mwf-upload-button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 20px;

    > span {
      @extend .btn-small;
    }
  }

  .mwf-upload-dropzone h3 {
    font-size: 110%;
    color: #b4b4b4;
    font-weight: 200;
    line-height: 1.5em;
    padding: 0.5em;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
  }

  .mwf-upload-button input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
  }

  .mwf-upload-delete {
    background: #777 none repeat scroll 0 0;
    color: #fff;
  }

  .mwf-upload-upload {
    background: #4189dd none repeat scroll 0 0;
    color: #fff;
    margin-left: 12px;
  }

  .mwf-upload-filecontainer {
    width: 100%;
    min-height: 10px;
  }

  .mwf-upload-row {
    width: 100%;
    border-bottom: 2px solid #f3f3f3;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
  }

  .mwf-upload-disabled {
    cursor: not-allowed !important;
    opacity: 0.4;
  }

  .mwf-upload-disabled button, .mwf-upload-disabled input {
    cursor: not-allowed !important;
  }

  .mwf-upload-preview {
    float: left;
    width: 100px;
    height: 100px;
    display: block;
    position: relative;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: inherit;
    background-size: 90px 90px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0d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gsMSA2OSwwIDc1LDIgNzUsNzlsMCA0NzZjMCw1OCAtMzQsOTYgLTkyLDk2em0tNjQ4IC04MjhsMCA3NjFjMCwxOCAxMiw0NyAxOSw2MSAxMCwxOSAyMCwzMSAzNCw0NSAyNSwyNSA2Niw0NSAxMTQsNDVsNDgxIDBjNTEsMCA4NywtMTUgMTE2LC0zOSAyMiwtMTggNTYsLTYyIDU2LC05OWwwIC02MTRjMCwtMzMgLTI0LC01MiAtNDIsLTc1IC04LC0xMCAtOSwtMTMgLTE5LC0yMyAtNTEsLTUxIC0yMDYsLTIyMCAtMjU2LC0yMjBsLTMyMiAwYy0xMDUsMCAtMTgwLDczIC0xODAsMTU5eiIvPg0KIDwvZz4NCjwvc3ZnPg0K);
  }

  .mwf-upload-metadata {
    float: left;
    width: 70%;
  }

  .mwf-upload-metadata ul {
    list-style-type: none;
    font-size: 12px;
  }

  .mwf-upload-metadata ul li {
    list-style-type: none;
  }

  .mwf-upload-error {
    color: orangered;
    margin: 10px 0 0 0;
  }

  .mwf-upload-progressbar {
    height: 15px;
    background: #f3f3f3;
    padding: 5px;
    margin-top: 10px;
    bottom: 30px;
    right: 20px;
    display: none;
  }

  .mwf-upload-progressbar > span {
    display: block;
    height: 100%;
    background-color: #4189dd;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
  }

  .mwf-upload-footer {
    display: flex;
    justify-content: flex-end;

    .btn {
      transition: 0.3s ease;

      &:hover {
        background-color: $color-primary;
        background-color: var(--theme-color-primary, $color-primary);
      }
    }
  }
}
