.tooltip2 {
  position: absolute;
  display: inline-block;
  color: #24242E;
  right: 15px; left: auto;
}

.tooltip2 .tooltiptext {
  visibility: hidden;
  width: 350px;
  background-color:#24242E;
  color: #fff;
  font-size: 13px; 
  line-height:18px;
  font-weight: 300;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
      
  /* Position the tooltip */
  position:absolute;
  z-index: 10;
  top: -10px;
  left:10px;
  margin-left: 30px;
}

.tooltip2:hover .tooltiptext {
  visibility: visible;
}


.instruction {
  text-align:right;
  margin-bottom: 10px;
  display: none;
  margin-right: 10px;
}
.porovnanie-table  em {
  color: lightgrey;
  font-size: 12px;
  font-weight: ital;
}

.porovnanie-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;    
}

.porovnanie-table h4 {
font-size: 1.0em;
line-height: 1.1;
}

.porovnanie-table tr:nth-child(even) {
  background:#ffffff;
}
.porovnanie-table thead th {
    padding: 5px 10px;
    text-align: center;
    vertical-align: top;
}
.porovnanie-table tbody td {
    color: #24242E;
    font-size: 14px;
    line-height: 1.4;
    padding: 4px 10px 4px 10px;
    height: 52px;
    white-space: normal;
    vertical-align: middle; text-align: center;      
}
.porovnanie-wrapper {
  max-width: 1395px;
  position: relative;
}
.porovnanie-scroller {
    overflow-x: scroll;
    overflow-y: visible;
    padding-bottom: 5px;
    width: 100%;
}

.porovnanie-table .porovnanie-sticky-col {
    z-index: 1;
    left: 0;
    position:sticky;
    top: auto;
    font-weight: 600;
    min-width: 150px;
    width: 30%;    
    background-color: #fff;
    padding-right: 30px;
    border-right: 0px solid white;
    text-align: left;font-size:15px;
    word-break:normal;
}
.porovnanie-sticky-col h5 {text-transform: uppercase; font-size: 1.2em; line-height:1.1em; margin-bottom:8px; margin-top:10px;}

.porovnanie-table .table-col {
    width: 14%;   
}

.porovnanie-sticky-col.modry-row {
    background-color: #E8F7FF;
}
.porovnanie-sticky-col.cerveny-row {
    background-color: #FDE9E1;
}
.porovnanie-sticky-col.zlty-row {
    background-color: #FDF8DF;
}
.porovnanie-sticky-col.zeleny-row {
    background-color: #E8F7DF;
}


.back-row-modra {background-color: #E8F7FF !important;}
.back-row-cervena {background-color: #FDE9E1 !important;}
.back-row-zlta {background-color: #FDF8DF !important;}
.back-row-zelena {background-color: #E8F7DF !important;}

.product-img {
    height: auto;
    width: 150px;
}

.product-link {
  color: #24242E;
  text-decoration: none !important;
}
.product-link:hover {
  color: #24242E;
  text-decoration: underline !important;
}

.porovnanie-table th:not(:first-child),
.porovnanie-table td:not(:first-child) {
    border-left: 3px solid #fff;
}

/* general reset/setup styling for icons - needed on all */
.porovnanie-table .svg-inline--fa {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block; 
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;   
    font-weight: 500;
    font-size: 33px;
    padding-right: 15px;
}
.porovnanie-table .far  {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display:inline-block ; 
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;   
    font-weight: 500;
    font-size: 1.4em;
    padding-right: 1px;
    margin-top: 0px;
}

.fa .porovnanie-table {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display:inline-block ; 
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;   
    font-weight: 500;
    font-size: 1.4em;
    padding-right: 1px;
    margin-top: 0px;
}

.fa-check-circle{
    color: #35AB52;
}
.fa-times-circle {
    color: #D0313D;
}

.scroll-button { 
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: #fdb813;
}

#prev-button,
#next-button {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    position: absolute;
    top: 50%;
}

#prev-button {
    left: 230px;
    display: none;
}

#next-button {
    right: -25px;
}

.fa-chevron-left,
.fa-chevron-right {
    font-size: 22px;
    padding-right: 0;
}

/* Phone */
@media screen and (max-width: 768px) and (min-width: 300px)  {
  .porovnanie-table .porovnanie-sticky-col {min-width: 150px;font-size:13px; padding-right: 20px;}
  .porovnanie-table thead th {padding: 5px 2px;}    
  .porovnanie-table tbody td {font-size: 12px;padding: 4px 1px 4px 1px;}
  .porovnanie-sticky-col h5 {font-size: 1.0em; margin-bottom:0px; margin-top:0px;}    
  .product-img {width: 60px;height: auto;}
  .porovnanie-table h4 {font-size: 0.8em;}
    
  .tooltip2 {right:8px;}     
}

@media screen and (max-width: 1280px) and (min-width: 768px)  {
    .product-img {height: auto;width: 100px;}
    .porovnanie-table h4 {font-size: 0.9em;}
}

@media screen and (max-width: 500px) {
    .instruction {display: block; }
    
}

@media screen and (max-width: 600px) {
.tooltip2 .tooltiptext { 
  width: 250px;
  font-size: 12px; 
  line-height:16px;  
  padding: 8px;     
  top: -10px;
  left:0px;
  margin-left:30px;
}
}

@media screen and (max-width: 450px) {
.tooltip2 .tooltiptext { 
  width: 200px;
}  
    
}
@media screen and (max-width: 390px) {
.tooltip2 .tooltiptext { 
  width: 140px;
}
}



