:root {
  --table-border-color: #B5B5B5;
  --table-background-color: white;
  --table-dark-background-color: #F9FAFB;
  --table-border-radius: 8px;
}

.feedbackWrapper .component .label {
  font-weight: normal;
}

.rsbuttons .actionbutton {
  padding: 7px 22px 9px 22px;
  font-size: 24px;
  margin-right: 8px;
}

.rsbuttons .actionbutton:focus {
  box-shadow: none;
}

.rsbuttons .actionbutton.info {
  color: var(--secondary-color);
  background-color: var(--cta-text-color);
  border: solid 2px var(--secondary-color);
  padding: 5px 20px 7px 20px;
  margin-top: 8px;
}

.rsbuttons .actionbutton.forward:after {
  position: relative;
  left: 0;
  transition: left .3s ease-in-out;
  content: url("data:image/svg+xml;utf8,<svg width='40px' height='25px' viewBox='6 -10 42 32' version='1.1' xmlns='http://www.w3.org/2000/svg'><path d='M 30 1 L 40 11 L 30 21' stroke='%23fff' stroke-width='3' fill='none'/></svg>");
}

/* Für altStyleClass */
/* TODO temporär für Fahrer */
.inline {
  display: inline-block;
}

/* Willkommens-Zeile */

.welcome-component {
  padding: 0 45px 15px 45px; 
  font-size: 22px; 
  font-weight: bold;  
  margin-block-start: 0;
  margin-block-end: 0;
}

@media (max-width: 1100px) {
  .welcome-component {
    padding: 0 25px 15px 25px;
  }
}

.list-caption {
  font-size: 160%;
  font-weight: bold;
  padding-right: 5px;
  padding-bottom: 10px;
}

.list-caption .label,
.list-subcaption .label {
  font-size: 0;
  padding-bottom: 0px;
}

/* Löschen Button */

.uiactionbutton.trash {
  padding: 0;
  margin-left: -14px;
}

.uiactionbutton.trash .actionbutton {
  height: 20px;
  width: 19px;
  padding: 0;
  background: transparent url("data:image/svg+xml;utf8,<svg width='19px' height='20px' viewBox='-1 0 38 40' version='1.1' xmlns='http://www.w3.org/2000/svg'><title>Klicken Sie hier, wenn Sie diesen Eintrag löschen möchten.</title><g stroke='%23FF0000' stroke-width='4' fill='none' stroke-linecap='round'><path d='M 1 9 H 35 M 10 9 V 5 A 5 5 0 0 1 15 2 H 20 A 5 5 0 0 1 25 5 V 9'/><path d='M 5 9 V 33 A 5 5 0 0 0 10 38 H 25 A 5 5 0 0 0 30 33 V 9'/><path d='M 14 16 V 30 M 21 16 V 30' /></g></svg>") no-repeat;
}

.uiactionbutton.trash .actionbutton:focus {
  box-shadow: none;
}

/* ====== */
/* UINote */
/* ====== */

/* text note style */
.component.uinote.text .note {
  background: white;
  padding-left: 0;
  padding-top: 0;
  margin-top: -6px;
}

/* info note style */
.component.uinote.info .note,
.component.uinote.warn .note,
.component.uinote.error .note {
  background: white;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 600;
}

.component.uinote.info .note .np,
.component.uinote.warn .note .np,
.component.uinote.error .note .np {
  padding: 7px 10px 7px 70px;
  border-radius: 2px;
  min-height: 36px;
}

.component.uinote.info .note .np:before,
.component.uinote.warn .note .np:before,
.component.uinote.error .note .np:before {
  margin-top: 1px;
  margin-left: -55px;
  display: block;
  float: left;
}

.component.uinote.info .note .np {
  border-left: 4px solid var(--primary-color);
}

.component.uinote.info .note .np:before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35px' height='35px' viewBox='0 0 35 35'><circle cx='17.5' cy='17.5' r='17.5' fill='%232066d6'/><line y1='12.996' transform='translate(17.5 14.504)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/><circle cx='1.5' cy='1.5' r='1.5' transform='translate(16 8)' fill='%23fff'/></svg>");
}

.component.uinote.warn .note .np {
  border-left: 4px solid #ffcc00;
}

.component.uinote.warn .note .np:before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35px' height='35px' viewBox='0 0 35 35'><circle cx='17.5' cy='17.5' r='17.5' fill='%23fc0'/><line y1='13.004' transform='translate(17.5 8.5)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/><circle cx='1.5' cy='1.5' r='1.5' transform='translate(16 24)' fill='%23fff'/></svg>");
}

.component.uinote.error .note .np {
  border-left: 4px solid var(--error-color);
}

.component.uinote.error .note .np:before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35px' height='35px' viewBox='0 0 35 35'><circle cx='17.5' cy='17.5' r='17.5' fill='red'/><path d='M0,8.9V0' transform='translate(18 11.09)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='1.5'/><circle cx='1' cy='1' r='1' transform='translate(17 22.004)' fill='%23fff'/><g transform='translate(5 3.004)' fill='none' stroke-linejoin='round'><path d='M12.121,1.623a1,1,0,0,1,1.759,0L25.2,22.524A1,1,0,0,1,24.321,24H1.679A1,1,0,0,1,.8,22.524Z' stroke='none'/><path d='M 13.00000095367432 4.199184417724609 L 3.357891082763672 22 L 22.64211273193359 22 L 13.00000095367432 4.199184417724609 M 13 1.099592208862305 C 13.34508514404297 1.099592208862305 13.69017028808594 1.274164199829102 13.8792896270752 1.623310089111328 L 25.20034980773926 22.52371978759766 C 25.56126022338867 23.19001960754395 25.07881927490234 24 24.3210506439209 24 L 1.678939819335938 24 C 0.9211807250976562 24 0.4387397766113281 23.19001960754395 0.7996501922607422 22.52371978759766 L 12.1207103729248 1.623310089111328 C 12.30982971191406 1.274164199829102 12.65491485595703 1.099592208862305 13 1.099592208862305 Z' stroke='none' fill='%23fff'/></g></svg>");
}

/*****************************/

@media (min-width: 1101px) {
  .component .inputbutton .label {
    white-space: pre-line;
  }
}

.debug .uiactionbuttons .actionbutton {
  margin-bottom: 12px;
}

.debug .inputarea {
  font-family: monospace;
  white-space: pre;
}

/* Vertragsseite */

.white-box-vertrag {
  padding: 10px;
  font-weight: 600;
  line-height: 2;
}

.white-box-vertrag.links {
  line-height: 1.2;
}

.white-box-vertrag a {
  color: var(--primary-color);
  cursor: pointer;
}

.white-box-beitrag .caption {
  font-size: 16px !important;
  margin-bottom: 0;
}

.white-box-beitrag,
.white-box-vertrag {
  margin: 0 45px 20px 45px;
}

@media (max-width: 1100px) {
  .white-box-beitrag,
  .white-box-vertrag {
    margin: 0 25px 30px 25px;
  }
}

/* Bestaetigungsseite */

.white-box,
.white-box-beitrag,
.white-box-vertrag {
  background-color: white;
  border-radius: 5px;
}

.white-box {
  margin: 0 auto 25px auto;
  padding: 30px 0 20px 0;
}

.white-box .label {
  display: none;
}

.white-box .component {
  padding-bottom: 15px;
}

/*
@media (min-width: 760px) {
  .white-box {
    width: 760px;
  }
}

@media (max-width: 760px) {
  .white-box {
    width: 100%;
  }
}
*/

.white-box-beitrag.tight {
  padding: 10px 15px 16px 15px;
}

.success-check .check-mark {
  width: 36px;
  height: 36px;
  content: url("data:image/svg+xml;utf8,<svg width='42px' height='42px' viewBox='0 0 42 42' version='1.1' xmlns='http://www.w3.org/2000/svg'><g stroke='%232066D6' stroke-width='2' fill='none'><circle cx='21' cy='21' r='20'/><path d='M 11,22 L 19,30 L 33,15'/></g></svg>");
  margin-right: 20px;
}

.white-box .success-check {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  color: var(--primary-color);
  font-size: 125%;
  text-align: center;
  margin: 5px;
}

.white-box.success-check > div {
  flex: 1;
}

.white-box .link {
  color: var(--primary-color);
  cursor: pointer;
}


.h1 {
  font-size: 125%;
  font-weight: bold;
}

.green-border-box {
  border: 3px solid var(--secondary-color);
  margin: 0 24px 10px 24px;
}

.green-border-box > div:first-child {
  margin-top: 10px;
  padding-bottom: 0 !important;
}

.green-border-box .component.uioutputtext {
  padding-left: 21px;
  padding-right: 21px;
}

.jsf-text-group {
  padding: 0 45px;
}

.very-strong {
  font-size: 150%;
  font-weight: bold;
}

.praemie {
  color: var(--primary-color);
  font-style: italic;
  font-size: 125%;
}

.zulassung {
  float: right;
  padding: 0 45px;
  width: 50%;
  max-width: 358px;
}

.zulassung > svg {
  width: 100%;
}

@media (max-width: 760px) {
  .zulassung {
    float: none;
    padding: 0 24px;
  }

  .zulassung > svg {
    max-width: 350px;
  }

  .component.uihsntsn {
    margin-top: 30px;
  }

}

/* Unser Angebot */

.white-box-beitrag {
  padding: 0 30px;
}

.preisbox {
  border: 3px solid var(--secondary-color);
  border-radius: 15px;
  padding: 15px 0;
  margin-bottom: 50px;
}

.preisbox span {
  padding-left: 15px;
  display: block;
  line-height: 150%;
  width: 100%;
}

.preisbox .preis {
  color: var(--primary-color);
  font-size: 52px;
  font-weight: bold;
  line-height: 120%;
}

header .header-container {
  display: flex;
  justify-content: space-between;
}

header .infobox {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

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

header .infobox .infobox-item {
  margin-bottom: 10px;
}

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

header .logout-beitrag-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-bottom: 10px;
}

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

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

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

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

@media (min-width: 761px) {
  header .header-container {
    padding-bottom: 12px;
  }
  header .infobox {
    grid-template-columns: repeat(2, 1fr);
  }
  header .logo {
    grid-column: 1 / span 2;  
  }
  header .infobox .infobox-item {
    margin-bottom: 0;
  }
  header .logout-beitrag-container {
    margin-bottom: 0;
  }
}

header .tight {
  padding-bottom: 8px;
}

.component.uioutputlabel.tight {
  padding-bottom: 10px;
}

.component.uioutputlabel.indent {
  margin-left: 10px;
}

@media (max-width: 760px) {
  .infobox .columns {
    display: block;
  }

  header .infobox .label,
  header .infobox .content {
    font-size: 14px;
  }

  .infobox .columns > div:first-child {
    margin-bottom: 10px;
  }

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

@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 .zahlungsperiode {
    font-size: 16px;
  }
}

/* Radio-Buttons in Tabelle */

.component .inputbuttontable .radio {
  text-align: left;
  display: inline-block;
  box-sizing: border-box;
  width: var(--radio-outer-size);
  height: var(--radio-outer-size);
  border-radius: 50%;
  vertical-align: top;
  border: 1px solid var(--radio-border-color);
}

.component .inputbuttontable.active .radio {
  border-color: var(--radio-border-color-selected);
  background-color: white;
}

.component .inputbuttontable.active .mark {
  width: var(--radio-size);
  height: var(--radio-size);
  border-radius: 50%;
  background: var(--secondary-color);
  transform: translate(var(--mark-offset), var(--mark-offset));
}

.bluelink .component.uiactionbutton {
  display: flex;
  flex-direction: row;
  justify-items: center;
}

.bluelink .actionbutton {
  flex: 1;
  color: var(--primary-color);
  font-size: 125%;
  font-weight: 600;
  border: none;
  background: none;
  text-align: center;
}

@media (max-width: 760px) {
  .bluelink .actionbutton {
    font-size: 90%;
  }
}

@media (max-width: 400px) {
  .bluelink .actionbutton {
    font-size: 75%;
  }
}

.bluelink .actionbutton:focus {
  box-shadow: none;
}

div.center {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.smartlogo {
  height: 18px;
  transform: translateY(4px);
}

/* Tab Marker */

.tabmarker {
  background-color: var(--primary-color);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 5px 15px;
  display: inline-block;
  color: white;
  margin: 0 0 0 45px;
}

.tableflow {
  position: relative;
  width: 0;
  height: 0;
}

.tableflow .tabmarker {
  position: absolute;
  left: 0;
  top: -37px;
  margin-left: 0;
  z-index: -10;
}

.expselectlist td .tabmarker {
  font-size: 16px;
  font-weight: normal;
}

@media (max-width: 1100px) {
  .tabmarker {
    margin-left: 25px;
  }
}

/* verkürzter Header beim Scrollen */

@media (max-width: 760px), (max-height: 400px) {
  header.fixheader.scrolled .logo,
  header.fixheader.scrolled .logout-button,
  header.fixheader.scrolled .component.uinavbar {
    display: none;
  }
}
