html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline
}

html, body {
  height: auto !important;
  width: 100vw !important;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

ol, ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

body {
  line-height: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', Arial, sans-serif;
}

.mdc-typography--body1 {
  font-family: 'Poppins', Arial, sans-serif;
}

span#resetButtonLabel {
  font-family: 'Poppins', Arial, sans-serif;
}

span#sendButtonLabel {
  font-family: 'Poppins', Arial, sans-serif;
}

.inputs-code {
  margin-top: 1em;
  margin-bottom: 1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.inputs-password {
  margin-top: 1em;
  margin-bottom: 1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.button {
  --mdc-theme-primary: #1e3f72;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.mdc-button {
  margin-left: 1em;
  width: 14em;
}

.mdc-typography--overline.error-below-button {
  padding-top: 0.5em;
}

.mdc-typography--headline3 {
  font-family: 'Poppins', Arial, sans-serif;
  padding: 0.5em 0.5em 0.3em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.inputs .mdc-typography--headline5 {
  padding-bottom: 0.5em;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 38px;
}

#headlineInvoiceNumber {
  padding-bottom: 0.3em;
}

.rechnungsnummer-headline {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.mdc-text-field {
  --mdc-theme-primary: #1e3f72;
  margin-right: 6px;
  margin-left: 6px;
  text-align: center;
  width: 6em;
}

.password-textfield-debtor-number {
  width: 8em !important;
}

.password-textfield-firm-number {
  width: 6em !important;
}

.password-textfield-customer-number {
  width: 8em !important;
}

input {
  text-align: center;
}

label {
  text-align: center;
}

p {
  text-align: left;
  line-height: 1.5;
}

.error-messages {
  text-align: center;
  color: #b00020;
}

input:invalid {
  color: #b00020 !important;
}

.mdc-text-field--invalid {
  color: #b00020 !important;
}

.mdc-card {
  margin-top: 5em;
  margin-bottom: 3em;
  width: 50%;
  border: 1px outset rgba(30, 63, 114, 0.87);
  box-shadow: 0 0 1em rgba(30, 63, 114, 0.32);
  display: flex;
  justify-content: center;
  padding: 2em;
}

.logoDiv {
  height: 250px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  align-items: center;
}

.logoDiv img {
  opacity: 0;
  transition: 4s;
  transition-delay: 0.5s;
  top: 0;
  left: 0;
  display: block;
  margin: 0 auto;
  position: absolute;
  transform: scale(0);
}

.logoDiv img.active {
  opacity: 1;
  transform: scale(1);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid) .mdc-floating-label {
  color: #1e3f72;
}

.inputs-password .mdc-text-field--outlined.mdc-text-field--disabled {
  background-color: rgba(0, 0, 0, 0.05);
  cursor: not-allowed !important;
}

.inputs-password .mdc-text-field--disabled .mdc-text-field__input {
  cursor: not-allowed;
}

.button.button--disabled:hover {
  cursor: not-allowed;
}

.mdc-text-field--focused.mdc-text-field--valid .mdc-floating-label {
  color: green !important;
}

.mdc-text-field--outlined.mdc-text-field--valid .mdc-notched-outline__leading {
  border-color: green !important;
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.mdc-text-field--outlined.mdc-text-field--valid .mdc-notched-outline__trailing {
  border-color: green !important;
  border-top: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.mdc-text-field--outlined.mdc-text-field--valid .mdc-notched-outline__notch {
  border-color: green !important;
  border-bottom: 2px solid;
}

.mdc-text-field--outlined.mdc-text-field--valid .mdc-floating-label {
  color: green;
}

.verified-icon {
  display: none;
  color: green;
}

.verified-icon:hover {
  cursor: pointer;
  color: rgba(0, 128, 0, 0.7);
}

.material-icons-outlined {
  font-size: 36px !important;
}

/* Tooltip CSS */
[data-md-tooltip] {
  position: relative;
}

[data-md-tooltip]:before {
  content: attr(data-md-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  padding: 8px;
  transform: translateX(-50%) scale(0);
  transition: transform 0.2s ease-in-out;
  transform-origin: top;
  background: #616161e6;
  color: white;
  border-radius: 2px;
  font-size: 12px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
}

[data-md-tooltip]:hover:before {
  transform: translateX(-50%) scale(1);
}

[data-md-tooltip].md-tooltip--right:before {
  left: auto;
  right: -10px;
  bottom: auto;
  top: 50%;
  transform: translate(100%, -50%) scale(0);
  transform-origin: left center;
}

[data-md-tooltip].md-tooltip--right:hover:before {
  transform: translate(100%, -50%) scale(1);
}

.mdc-menu {
  min-width: 6em;
  margin-left: 6px;
  margin-right: 6px;
  max-height: 20em !important;
}

::-webkit-scrollbar {
  width: .45rem;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(27, 27, 27, .4);
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.mdc-text-field__icon--trailing {
  font-size: 24px;
  padding: 0 0 0 0;
}

#password-chunk-3 {
  cursor: pointer;
  caret-color: transparent;
}

:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::after {
  background-color: #1e3f72;
}

#instructionsInvoiceNumberDiv {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

#invoiceImage {
  max-width: 55%;
}

#instructionsCode {
  overflow: hidden;
}

.footer {
  position: fixed;
  display: inline-block;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2em;
  background-color: #1e3f72;
}

.footer-link {
  color: white;
  font-size: 14px;
  margin-left: 1em;
}

#link-container {
  display: flex;
  align-items: center;
  justify-content: end;
  height: 100%;
  margin-right: 1em;
}

a:hover {
  color: #e0e0e0;
}

a:link {
  text-decoration: none;
}

.cc_div .bar #s-bl tr {
  border-top: 1px solid !important;
  border-color: #02020238 !important;
}

.mdc-typography {
  white-space: pre-line;
}

@-webkit-keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}

@-webkit-keyframes fade-out {
  from {
    visibility: visible;
    opacity: 1;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    visibility: visible;
    opacity: 1;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.notification {
  display: none;
  position: fixed;
  z-index: 1000;
  align-items: center;
  padding-left: 20px;
  padding-bottom: 20px;
  color: #fff;
  line-height: 1.3;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.35);
  visibility: hidden;
  opacity: 0;
  max-width: 25%;
  margin: 20px;
  top: 0;
  right: 0;
  background-color: #1e3f72;
}

.notification.show-notification {
  animation: fade-in 1s ease-in-out forwards;
}

.notification.hide-notification {
  animation: fade-out 1s ease-in-out forwards;
}

.notification:before {
  margin-top: 20px;
  content: "\e88e";
  font-family: "Material Icons Outlined", sans-serif;
  font-size: 30px;
  margin-right: 20px;
}

#notification-text {
  margin-top: 20px;
  margin-right: 30px;
}

#notification-button-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  color: white;
  margin-left: 0.5em;
}

.notification .material-icons {
  font-size: 28px;
}

/*Farbeinstellung für Cookie-Banner:*/
:root {
  --cc-btn-primary-bg: #1e3f72 !important;
  --cc-btn-primary-hover-bg: #7D90AE !important;
  --cc-btn-secondary-bg: #E0E0E0 !important;
  --cc-btn-secondary-hover-bg: rgba(224, 224, 224, 0.53) !important;
}

.chunk-block-1 {
  display: flex;
}

.chunk-block-2 {
  display: flex;
}

/*Responsive Design:*/
@media only screen and (max-width: 912px) {
  .mdc-card {
    width: 90%;
  }

  .notification {
    max-width: 95%;
    margin: 10px;
    background-color: rgba(30, 63, 114, 0.75);
  }

}

@media only screen and (max-width: 414px) {
  .mdc-button {
    min-width: 90%;
  }

  .notification {
    margin: 10px;
    background-color: rgba(30, 63, 114, 1);
    right: auto;
  }

  .logoDiv img {
    width: 100%;
  }

  .logoDiv {
    height: 8em;
  }

  .mdc-typography--headline3 {
    font-size: 2em;
  }

  .inputs-code {
    flex-direction: column;
  }

  .chunk .mdc-text-field {
    margin-top: 1em;
  }

  .mdc-text-field {
    margin-right: 4px;
    margin-left: 4px;
  }

  .password-textfield-debtor-number {
    width: 6em !important;
  }

  .password-textfield-customer-number {
    width: 7em !important;
  }

  #invoiceImage {
    max-width: 120%;
  }

  .countdown .figure {
    height: 35px !important;
    width: 30px !important;
  }

  .countdown .figure > span {
    font: normal 2.57em/37px "Lato" !important;
    font-weight: 600 !important;
  }
}
