/* Phone Size */

.mobile > .component > div:first-child {
  margin: 0 1.5rem;
}

.tabletDesktop {
  display: none;
}

.component {
  max-width: 1230px;
  margin: auto;
  text-align: center;
  /* padding: 3rem 0; */
}

.componentContent {
  width: 85vw;
  padding: 0;
  text-align: left;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.backgroundColor {
  background-color: #f4f6fa;
  height: auto;
}

.tab {
  color: #2870ed;
  font-weight: 600;
  margin: 1.5rem auto;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  width: 87%;
  gap: 5px;
}

.tab button {
  border: none;
  padding: 0.5rem 0.625rem;
  justify-self: start;
}

.tab button.active {
  border-radius: 2rem;
  border-color: #2870ed;
  background-color: #2870ed;
  color: #fff;
}

.tabcontent {
  display: none;
  margin: auto;
  padding-bottom: 1rem;
  background-color: #f4f6fa;
  border-radius: 0.75rem;
}

.descriptionFlex {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 1rem;
}

.descriptionFlex > div {
  padding: 0 1rem;
}

.descriptionFlex > img {
  margin-bottom: 2rem;
}

.descriptionFlex > div > ul {
  margin-bottom: 2rem;
}

.description {
  width: 100%;
  padding: 0.625rem;
}

.description h3 {
  font-weight: 700;
  margin: 0;
  font-size: 1.5rem;
  line-height: 2.2rem;
}

.description p {
  font-weight: 700;
}

.example {
  margin-top: 1rem;
}

.example > ul {
  list-style-type: disc;
  margin-left: 1rem;
  padding-bottom: 1rem;
}

.paragraph,
.description p {
  margin: 1rem 0;
}

.checkbox {
  accent-color: #2870ed;
}

.comparisonGridHeadline {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-areas: 'headline headline';
}

.comparisonGrid {
  width: 93%;
  margin: auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-areas: '. KontoContent';
}

.comparisonGrid > div {
  padding: 0.5rem;
}

.comparisonGridRowWhite > div:nth-child(1),
.comparisonGridRowGray > div:nth-child(1) {
  padding-left: 0.625rem;
}

.comparisonGridRowWhite > div:nth-child(n + 2),
.comparisonGridRowGray > div:nth-child(n + 2) {
  text-align: center;
  margin: auto;
  width: 100%;
}

.comparisonGridRowWhite > div:nth-child(n + 2) > img,
.comparisonGridRowGray > div:nth-child(n + 2) > img {
  margin: auto;
}

.comparisonGridRowWhite > div {
  background-color: #fff;
  height: 100%;
  width: 100%;
}
.comparisonGridRowGray > div {
  background-color: #eef0f4;
  height: 100%;
  width: 100%;
}

.KontoContent {
  grid-area: KontoContent;
  position: relative;
}

.KontoContent > div:first-child {
  padding: 0 0.5rem 0 0;
}

.sticky {
  position: sticky;
  left: 0;
  height: 100%;
  z-index: 1;
  border-right: 2px solid #f4f6fa;
}

.headlineRow {
  grid-area: headline;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
  width: 160px;
  padding-top: 1rem;
}

.headlineRow > img {
  width: auto;
  height: 17px;
}

.roundedCornersTop {
  border-radius: 0.75rem 0.75rem 0 0;
}

.roundedCornersTopLeft {
  border-radius: 0.75rem 0 0 0;
}

.roundedCornersTopRight {
  border-radius: 0 0.75rem 0 0;
}

.roundedCornersBottomLeft {
  border-radius: 0 0 0 0.75rem;
}

.roundedCornersBottomRight {
  border-radius: 0 0 0.75rem 0;
}

.roundedCornersBottom {
  border-radius: 0 0 0.75rem 0.75rem;
}

.infoIcon {
  width: 15px;
  height: auto;
  cursor: pointer;
  display: inline-block;
  margin: 0 0.2rem;
}

.alignTextStart {
  text-align: left !important;
}

.infoTextMobile {
  position: absolute;
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-top: 0.5rem;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  z-index: 2;
  left: 10%;
  width: 80%;
  will-change: filter;
}

.width80 {
  width: 80vw !important;
  left: 3%;
}

.listGeorge > li {
  display: flex;
}

.listGeorge > li::before {
  /* content: url('https://cdn0.erstegroup.com/content/dam/at/spk-sgruppe/common/custom/product-comparison-business/Checkmark.svg'); */
  height: 20px;
}

.button {
  padding: 0;
  border: none;
  text-align: center;
}

.buttonAltFontSize {
  font-size: 1.125rem;
}

.posRelative {
  position: relative;
}

/* Tablet size */
@media (min-width: 768px) {
  .mobile {
    display: none;
  }

  .tabletDesktop {
    display: block;
    margin: 0 2rem;
    overflow-x: auto;
  }

  .component {
    padding: 0 0 1.5rem 0;
  }

  .componentContent {
    width: 1140px;
    overflow: visible;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 0 0;
  }

  .comparisonGrid {
    width: 100%;
    display: grid;
    grid-template-columns: 180px 310px 310px 310px;
    grid-template-areas: 'empty sanierenLarge sanierenMedium sanierenSmall';
    gap: 0.3rem;
    overflow-x: visible;
  }

  .empty {
    grid-area: empty;
  }

  .flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flexCenterLeft {
    display: flex;
    align-items: center;
  }

  .sanierenLarge {
    grid-area: sanierenLarge;
  }

  .sanierenMedium {
    grid-area: sanierenMedium;
  }

  .sanierenSmall {
    grid-area: sanierenSmall;
  }

  .descriptionFlex {
    height: 650px;
    margin: 0 0 1rem 0;
    align-items: space-between;
  }

  .descriptionFlex > div {
    padding: 0;
  }

  .descriptionFlex > div > img,
  .descriptionFlex > div > div > img {
    /* width: 80%;
    margin: auto; */
    margin-bottom: 1rem;
    width: 100%;
  }

  .description {
    text-align: center;
  }

  .george {
    width: 350px !important;
    left: 165px !important;
    top: 0;
  }

  .infoText {
    width: 300px;
    left: 190px !important;
    top: 0;
    position: absolute;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem auto 0 auto;
    left: 0;
    right: 0;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
    z-index: 2;
    will-change: filter;
    text-align: left;
  }

  .paddingSides {
    padding: 0 0.5rem;
  }

  .infoText > div {
    display: flex;
    align-items: flex-start;
  }

  .infoIcon + .infoText {
    display: none;
  }
}

@media (min-width: 1320px) {
  .sticky {
    border-right: 0px solid #f4f6fa;
  }
}

@media (hover: hover) {
  .infoIcon:hover + .infoText {
    display: block;
  }
}
