/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #bbb;
  color: #000;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: #000;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #fff;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

#tabscontainer {
  background-color: #fff;
  margin: 10px auto;
  width: auto;
  text-align: left;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.group-table captions {
  text-align: center;
  justify-content: center;
  background: #eee;
  color: #000;
  padding: 8px;
  font-size: 1.4em;
}

.group-table thead {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: #ccc;
  color: #000;
}

.group-table thead tr {
  background-color: #eee;
  color: #000;
  text-align: center;
}

.group-table th {
  padding: 12px 15px;
}

.group-table td {
  padding: 12px 15px;
  color: #000;
}

.group-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.group-table tbody tr:nth-of-type(even) {
  background-color: #eee;
}

.group-table tbody tr:last-of-type {
  border-bottom: 2px solid #ddd;
}

.group-table tbody tr.active-row {
  font-weight: bold;
  color: #fff;
}

.cellbtn {
  display: inline-block;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 1.2em;
  padding: 8px;
  margin: 5px;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(180deg, #5278ff, #4426ff);
  color: #fff;
}

a,
u {
  color: #000;
  text-decoration-skip: spaces;
  text-decoration-style: dotted;
  text-decoration: none !important;
}

a:hover {
  border-bottom: 1px solid #eee;
  text-decoration-color: white;
  text-decoration: none;
  cursor: pointer;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
