.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  box-sizing: border-box;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal select {
  border: 1px solid #b2b2b2;
}
.modal .close {
  position: absolute;
  right: -15px;
  top: -15px;
  display: block;
  width: 30px;
  height: 30px;
  background: #00549e;
  border-radius: 50%;
  z-index: 99;
}
.modal .close:after {
  top: 15px;
  left: 5px;
  transform: rotate(-45deg);
}
.modal .close .close-x {
  position: relative;
  left: 12px;
  top: 3px;
  color: white;
}
.modal .modal-wrapper {
  flex: 1;
  max-width: 880px;
  position: relative;
  background: #fff;
  max-width: 540px;
  max-height: 100%;
  height: 430px;
  box-sizing: border-box;
  padding: 20px;
}
.modal .modal-wrapper.error {
  height: 460px;
}
.modal .modal-wrapper.error-l {
  height: 500px;
}
.modal .modal-wrapper.success {
  height: 200px;
}
.modal .modal-wrapper h2:first-child {
  margin-top: 0;
}
.modal .modal-wrapper .btn {
  min-width: 30%;
}
.modal .modal-wrapper .error {
  border: 1px solid red;
  background-color: #f8d7da;
}
.modal .modal-wrapper .firstname-lastname-container {
  margin: 0;
}
.modal .modal-wrapper .firstname-lastname-container .firstname-lastname {
  border: 0px solid red;
  margin-left: 11px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.modal .modal-wrapper .firstname-lastname-container .firstname-lastname input {
  width: 144px;
}
.modal .modal-wrapper .firstname-lastname-container .firstname-lastname input#name {
  position: relative;
  left: 1px;
}
.modal .modal-wrapper #anrede {
  width: 144px;
  height: 20px;
}
.modal .modal-wrapper #firma,
.modal .modal-wrapper #email,
.modal .modal-wrapper #tel {
  width: 300px;
}
.modal .modal-wrapper #newsletter {
  position: relative;
  left: -4px;
}
.modal .modal-wrapper #error-missing,
.modal .modal-wrapper #error-internal,
.modal .modal-wrapper #error-email-personal,
.modal .modal-wrapper #error-email-exists {
  display: none;
  margin-bottom: 10px;
  color: #d92626;
}
.modal .show-on-success {
  display: none;
}
.modal .data-privacy {
  font-size: 13px;
  color: #8a8d99;
}

.row-fluid [class*=span].span3 {
  width: 180px;
}
.row-fluid [class*=span].span8 {
  width: 300px;
}
.row-fluid [class*=span].span-pw-repeat-label {
  width: 160px;
}
.row-fluid [class*=span].span-pw-repeat-input {
  width: 170px;
  margin-left: 0;
}
.row-fluid [class*=span] .show-on-mobile {
  display: none;
}
.row-fluid [class*=span] .hide-on-mobile {
  display: block;
}

.row-pw {
  max-width: 660px;
}

@media (max-width: 768px) {
  .row-pw {
    max-width: unset;
  }
  .row-fluid [class*=span] .show-on-mobile {
    display: block;
  }
  .row-fluid [class*=span] .hide-on-mobile {
    display: none;
  }
  .row-fluid [class*=span].span3 {
    width: 100%;
  }
  .row-fluid [class*=span].span8 {
    width: 100%;
  }
  .row-fluid [class*=span].span-pw-repeat-input {
    width: 100%;
  }
  .row-fluid [class*=span].span-pw-repeat-label {
    width: 100%;
  }
  .modal {
    padding: 10px;
  }
  .modal .close {
    right: 0;
    top: 0;
    border-radius: 0;
  }
  .modal .modal-wrapper {
    padding: 10px;
    overflow: scroll;
    height: 620px;
  }
  .modal .modal-wrapper.error {
    height: 650px;
  }
  .modal .modal-wrapper.error-l {
    height: 755px;
  }
  .modal .modal-wrapper .row-fluid [class*=span] {
    margin-left: 0;
    min-height: auto;
    margin-top: 5px;
  }
  .modal .modal-wrapper .firstname-lastname {
    flex-direction: column;
    margin-left: 0 !important;
  }
  .modal .modal-wrapper .newsletter-container {
    margin-top: 10px;
  }
  .modal .modal-wrapper .newsletter-container .span8 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .modal .modal-wrapper .newsletter-container .span8 #newsletter {
    top: -1px;
  }
  .modal .modal-wrapper #vorname,
  .modal .modal-wrapper #name,
  .modal .modal-wrapper #firma,
  .modal .modal-wrapper #email,
  .modal .modal-wrapper #tel {
    width: 100%;
  }
  .modal .data-privacy {
    margin-top: 10px;
  }
}

/*# sourceMappingURL=modal.css.map */
