/* Phone Size */

.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: 1.2rem;
  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;
  width: 87%;
  gap: 5px;
}

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

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

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

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

.descriptionFlex > img {
  background-color: #65cdcf;
  border-radius: 0.8rem 0.8rem 0 0;
}

.descriptionFlex > div > img {
  width: 100%;
  background-color: #65b8ff;
}

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

.description h3 {
  margin: 0.625rem 0 0 0;
  line-height: 2.2rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #028661;
  margin: 1rem 0;
}

.paragraph,
.description p {
  margin: 1rem 0;
  font-weight: 500;
}

.whiteSpace {
  white-space: nowrap;
}

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

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

.comparisonGrid > div {
  padding: 0.5rem 0;
}

.comparisonGridService {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 'serviceDescription';
}

.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;
}

.wahl {
  border-radius: 0.8rem 0.8rem 0 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.giroKontoImg > .wahl {
  background-color: #0032f0;
}

.onlineKontoImg > .wahl {
  background-color: #721c7a;
}

.studentenKontoImg > .wahl {
  background-color: #036a6d;
}

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

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

.headlineRowService {
  grid-area: service;
  display: flex;
  gap: 0.5rem;
  font-weight: 700;
  padding-top: 0.625rem;
}

.headlineRowService > img {
  width: 17px;
  height: 21px;
}

.serviceDescription {
  grid-area: serviceDescription;
  padding: 1rem;
}

.details {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.disclaimer {
  padding: 1.2rem 1rem;
}

.disclaimer > div:first-child {
  margin-bottom: 1rem;
}

.disclaimerTablet {
  display: none;
}

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

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

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

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

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

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

.infoDescr {
  display: inline-block;
  margin: 0 4px;
}

.infoDescr,
.infoKondi {
  width: 15px;
  height: auto;
  cursor: pointer;
  margin: 0 !important;
}

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

.infoTextDescrMobile {
  position: absolute;
  background-color: #fff;
  border-radius: 1.2rem;
  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%;
  text-align: center;
  will-change: filter;
}

.infoTextKondiMobile {
  position: absolute;
  width: 90vw;
  text-align: start;
  display: none;
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 1rem;
  right: -20%;
  margin-top: 0.5rem;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  z-index: 2;
  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;
}

.posRelative {
  position: relative;
}

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

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

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

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

  .comparisonGridHeadline {
    width: 100%;
    display: grid;
    grid-template-columns: 220px 1fr 1fr 1fr;
    grid-template-areas: 'headline giro online student';
    gap: 0.3rem;

    overflow-x: visible;
  }

  .comparisonGrid {
    width: 100%;
    display: grid;
    grid-template-columns: 220px 1fr 1fr 1fr;
    grid-template-areas: 'empty giro online student';
    gap: 0.3rem;
    overflow-x: visible;
  }

  .comparisonGridService {
    width: 100%;
    display: grid;
    grid-template-columns: 220px 3fr;
    grid-template-areas: 'service serviceDescription serviceDescription serviceDescription';
    gap: 0.3rem;
    overflow-x: visible;
  }

  .empty {
    grid-area: empty;
  }

  .giro {
    grid-area: giro;
  }

  .online {
    grid-area: online;
  }

  .student {
    grid-area: student;
  }

  .descriptionFlex {
    height: auto;
    margin: 0;
    align-items: space-between;
  }

  .descriptionFlex > div > img,
  .descriptionFlex > div > div > img {
    width: 80%;
    margin: auto;
  }

  .giroKontoImg {
    background-color: #65b8ff;
    border-radius: 0.8rem;
  }

  .onlineKontoImg {
    background-color: #f5bcc9;
    border-radius: 0.8rem;
  }

  .onlineKontoImg > img {
    margin-top: 0 !important;
  }

  .studentenKontoImg {
    background-color: #65cdcf;
    border-radius: 0.8rem;
  }

  .details {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .wahl {
    border-radius: 0.8rem 0.8rem 0 0;
    width: 100%;
    height: 30px;
    position: relative;
    left: 0;
    margin: auto;
  }

  .infoDescr {
    display: inline-block;
    margin: 0 4px;
  }

  .infoDescr,
  .infoKondi {
    width: 15px;
    height: auto;
    cursor: pointer;
  }

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

  .infoTextDescr {
    width: 300px;
    position: absolute;
    background-color: #fff;
    border-radius: 1.2rem;
    padding: 1rem;
    margin: 0.5rem auto 0 auto;
    left: 223px;
    top: 0;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
    z-index: 2;
    will-change: filter;
  }

  .infoTextKondi {
    width: 440px;
    position: absolute;
    background-color: #fff;
    border-radius: 1.2rem;
    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;
  }

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

  .infoKondi + .infoTextKondi,
  .infoDescr + .infoTextDescr {
    display: none;
  }

  .disclaimerTablet {
    background-color: #f4f6fa;
    max-width: 1230px;
    margin: auto;
    display: block;
    padding: 0 1rem 3rem;
  }

  .disclaimerTablet > div:first-child {
    margin-bottom: 1rem;
  }
}

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

@media (hover: hover) {
  .infoKondi:hover + .infoTextKondi,
  .infoDescr:hover + .infoTextDescr {
    display: block;
  }
}
