.btn.btn-default {
  padding-bottom: 13px;
}

.btn.btn-default.small {
  padding-bottom: 9px;
}

.white-box.vertragsdetail-box {
  margin: 0;
  padding: 12px 15px;
  font-weight: 600;
  width: 100%;
}

.white-box.vertragsdetail-box p {
  margin-left: 0;
  margin-right: 0;
}

.white-box.vertragsdetail-box p:last-of-type {
  margin-bottom: 0;
}

.white-box.greeting h3,
.white-box.title h3,
.schlusserklaerung label {
  font-weight: 700;
}

.white-box.title h3 {
  font-size: 16px;
}

.white-box.bluetitle h3 {
  font-size: 20px;
  font-weight: normal;
  font-style: italic;
  color: var(--primary-color);
}

/* Header */

header .header-cnt {
  display: grid;
  grid-template-columns: 65% 35%;
  column-gap: 12px;
}

header .header-cnt > div:first-child {
  display: grid;
  grid-template-rows: auto;
  row-gap: 5px;
}

header .logo {
  padding-bottom: 4px;
}

header .logo img {
  max-height: 51px;
}

header .infobox {
  display: flex;
  justify-content: start;
  flex-flow: row;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

header .infobox > div:last-child {
  margin-right: 0;
}

header .infobox .label {
  color: #707070;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  text-align: start;
}

header .infobox > div {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  margin-bottom: 10px;
  margin-right: 40px;
}

header .infobox .content {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
}

header .logout-group {
  text-align: right;
}

.logout-group .btn-default {
  background-color: transparent;
  box-shadow: none;
  color: var(--text-color);
  font-size: var(--base-font-size);
  font-weight: var(--label-font-weight);
  padding: 2px;
}

@media (max-width: 500px) {
  .logout-group .btn-default {
    font-size: 0;
  }

  .logout-group .btn-default .fa {
    font-size: var(--base-font-size);
  }
}

header .beitragsbox {
  align-self: end;
}

header .beitragsbox > span, header .bfbox > a {
  display: block;
  text-align: right;
}

header .beitrag {
  font-size: 42px;
  font-weight: 600;
  color: var(--primary-color);
}

header .zp {
  font-size: 18px;
  font-weight: normal;
  color: var(--text-color);
}

@media (max-width: 760px) {
  header .logo {
    padding: 4px 0 12px 0;
    width: auto;
  }

  header .logo img {
    max-width: 100%;
    max-height: 100%
  }

  header .beitragsbox {
    margin-right: 10px;
  }
}

@media (max-width: 280px) {
  header .logo img {
    display: none;
  }
}

@media (max-width: 440px), (max-height: 400px) {
  header .beitragsbox .beitrag {
    font-size: 32px;
  }
}

@media (max-width: 320px) {
  header .beitragsbox .beitrag {
    font-size: 20px;
  }

  header .beitragsbox .zp {
    font-size: 16px;
  }
}

.nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header ul.nav::before,
header ul.nav::after {
  content: none;
}

header ul.nav::before {
  content: none;
}

.nav > li > a {
  color: var(--secondary-color);
  font-weight: normal;
  padding: 0;
}

.nav > li.active > a {
  font-weight: bold;
}

/* SEPA Dialog */

.sepaDlg .modal-header h4 {
  font-weight: 600;
  font-size: 150%;
  margin-bottom: 0;
}

.sepaDlg div.table {
  background: #F4F4F4;
  padding: 15px 10px;
  margin-top: 30px;
  border-radius: 5px;
  border: none;
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sepaDlg div.table > div {
  padding: 0 10px;
  flex: 1;
}

/* header and content */
.sepaDlg div.table > div > div > div {
  color: #11284E;
  font-weight: 600;
  font-size: 13px;
  min-height: 13px;
  padding-bottom: 12px;

}

/* header */
.sepaDlg div.table > div > div > div:first-child {
  color: #707070;
  font-size: 16px;
  min-height: 16px;
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .btn-toolbar,
  .btn-toolbar .btn {
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
  }

  .btn-toolbar {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hide-mobile {
    display: none;
  }

  .btn.abschluss {
    padding-top: 14px;
    padding-bottom: 15px;
    font-size: 4vw;
    width: 100%;
  }

  button.forward.abschluss:after {
    content: var(--icon-btn-next-small);
  }
}

footer .linkset a .link:after {
  content: '';
}
