.comparison {font-size: 1.6rem;}

/* rows */
.comparison__wrapper {
  display: flex;
}
@media (max-width: 1000px){
.comparison__wrapper {
      overflow-x: scroll;
    overflow-y: scroll;
    max-width: 100vw;
}
}

.comparison__row:not(:first-child) .comparison-row__item.bg-color-lightgray .comparison-item__label-mobile+span {display: none;}

.comparison__row {
  width: 20%;
  display: flex;
  flex-direction: column;

}

.comparison-row__item.bg-color-lightgray {height: 60px !important; padding: 5px 20px !important;}

.comparison__row:first-child {width: 25%;}

/* columns */
.comparison__column-top {text-align: center; display: flex; justify-content: flex-start; flex-direction: column; align-items: flex-end;  align-items: center; position: relative; }
.comparison__column-bottom {;text-align: center; display: flex; justify-content: space-between; flex-direction: column; align-items: flex-end;  align-items: center; position: relative; }


.comparison__row--title {background-color: var(--accent-color);
  width: 100%;
  color: white;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 500px){
 .comparison__row--title {
   writing-mode: vertical-rl;
  }
  .comparison__row--description {
   display: none; 
  }
}

.comparison__row--title__bottom {background-color: transparent; color: var(--base-color); margin-top: 15px;}

.comparison__row--title h5 {margin: 0;}
.comparison__row--description {padding: 25px; width: 100%;}


.comparison__row--description p:last-child {margin: 0;}

.comparison__row--description__bottom .btns-wrapper {color: white; font-weight: bold;}
.comparison__row--description__bottom .btns-wrapper .hs-btn {min-width: 100%;}

/* hide first row top/bottom column */
.comparison__row:first-child .comparison__column-top {visibility: hidden;}
.comparison__row:first-child .comparison__column-bottom {visibility: hidden;}

/* Other */
.comparison__row .comparison-row__item {padding: 10px 20px; word-break: break-word; text-align: center; display: flex; align-items: center; justify-content: center; height: 60px; border-bottom: 1px solid rgba(0,0,0,.1)}
{# .comparison-row__item:nth-child(odd) {background-color: var(--light-gray);} #}
.comparison__row .btns-wrapper {justify-content: center; padding: 15px;}
.comparison-item__label-mobile {display: none;} /* hides labels */


/* highlight */
.comparison--row__highlight {background-color: white; box-shadow: var(--shadow); scale:1.04; position: relative; z-index: 10;}
/* items first row */
.comparison__row:first-child .comparison-row__item { display: flex; justify-content: flex-start; text-align: left;}
.comparison-row__item-highlight { font-weight: bold;}
.comparison-item__checkmark { height: 20px;}

.comparison-item__checkmark-explanation {position: relative; top: 5px; height: 25px;}

/* mobile  - show labels */

@media (max-width: 1200px) {
  .comparison {width: 90%; margin: 0 auto;}
  .comparison__wrapper {display: block;}
  .comparison__row:first-child {display: none;}
  .comparison__row {width: 100%; margin-bottom: 100px;}
  .comparison-item__label-mobile {display: block; padding: 0px 15px;}
  .comparison__column-bottom {display: none;}
  .comparison__column-middle {padding: 25px 0;}
  .comparison-row__item.bg-color-lightgray {font-weight: 700; height: auto !important; }
  .comparison__row .comparison-row__item{ height: auto !important;}
  .comparison-row__item.comparison-row__item-has-label {display: block;}
  .comparison-row__item:not(.comparison-row__item-has-label){text-align: left; justify-content: space-between}
  .comparison__column-top {
    min-height: 100% !important;
  }
  .comparison__row--title {padding: 25px;}
  .comparison__row--description {width: 100%;}
  .comparison--row__highlight {scale: 1;}
}
@media (max-width: 768px){
    .comparison__row--title,
  .comparison__row--description {padding: 10px; }
}

@media (max-width: 600px) {
  .comparison {
    width: 100%;
  }
}
.cross {
      position: absolute;
right: 12px;
    top: 1px;
    font-size: 20px;
    font-weight: 900;
}
.tooltip-text.open {
  visibility: visible;
}
.tooltip-text {
  visibility: hidden;
  top: 200px;
    position: fixed;
    left: 100px;
  z-index: 1;
  width: 1000px;
  color: black;
  font-size: 12px;
  background-color: white;
  border-radius: 10px;
  padding: 10px 15px 10px 15px;
      display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    max-width: 50vw;
  grid-gap: 30px;
}
@media (max-width: 768px){
.tooltip-text {
 max-width: 90vw;
}
}

.hover-text:hover .tooltip-text {
  visibility: visible;
    top: -15px;
  left: 20px;
      border-radius: 23px;
    box-shadow: var(--shadow);
}

.hover-text {
   top: -10px;
    position: absolute;
  width: 18px;
  right: 3px;
}
.hover-text pre{
      padding: 3px 6px;
    line-height: 10px;
    font-size: 12px;
    font-weight: 700;
      border: 1px solid black;
    border-radius: 50%;
}

@media (max-width: 1200px){
  .tooltip-text {
    left: 0px;
     grid-template-columns: 1fr;
  }
}
.comparison-row__content {
    position: relative;
  display: flex;
    flex-direction: column-reverse;
  color: black;
}
@media (max-width: 768px){
 .comparison-row__content {
   font-size: 12px;
  }
  .comparison__column-top{
   margin-left: 5px; 
  }
}
.comparison__wrapper table {
 border: none;
  background-color: transparent;
      margin-left: 20px;
}
.comparison__wrapper thead th {
  background-color: transparent;
  border: none;
  vertical-align: top;
}
.comparison__wrapper td {
 border: none;
}
.comparison__wrapper tr {
 border-bottom: 1px solid lightgrey;
}
.comparison__wrapper tr:last-of-type {
 border-bottom: none;
}
.comparison__wrapper th,
.comparison__wrapper td {
  align-text: center; 
  padding: 18px 0 18px 0;
}

.comparison__wrapper tr th:nth-child(1),
.comparison__wrapper tr td:nth-child(1) {
 transform: scale(1.1);
  min-width: 220px;
  padding-right: 30px;
}
.comparison__wrapper tr th:nth-child(3),
.comparison__wrapper tr td:nth-child(3) {
  background-color: white;
}
  .comparison__wrapper tr th:nth-child(3) .comparison__column-top{
    margin-top: -30px;
}
.comparison__wrapper .comparison__row--description {
  color: black;
}
.comparison__wrapper thead th:nth-child(2),
.comparison__wrapper thead th:nth-child(4),
.comparison__wrapper thead th:nth-child(5) {
padding: 0;  
  background-color: rgba(255, 255, 255, 0.5);
}
.comparison-row__item.bg-color-transparant{
background-color: rgba(255, 255, 255, 0.5);
  padding-bottom: 18px;
  height: 100%;
}