#ts_tabmenu ul li a:hover {

position: relative; /* again, keep things relative */

z-index: 5; /* we show this tab over all other tabs in the menu, which would be on layer 0, thus overlapping occurs */

background: url(tabs.gif) no-repeat left bottom;  /* now we show the bottom part of the tabs image, the "hover" instance */

color: #000000;   /* we color the hovered tab's text black */

}

#ts_tabmenu ul li a:hover strong {

background-image: url(tabs.gif) no-repeat; 

position: relative; /* keep it relative */

z-index: 5; /* show this on layer 5 as well */

background-position: right bottom; /* we show the right bottom part of the tabs image (the hover instance) */

}
.zoom {
  transition: transform .2s;
  width: 200px;
  margin: 0 auto;
}

.zoom:hover {
  -ms-transform: scale(3); /* IE 9 */
  -webkit-transform: scale(3); /* Safari 3-8 */
  transform: scale(3); 
}
* {
  box-sizing: border-box;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 20%;
  padding: 10px;
  height: 400px; /* Should be removed. Only for demonstration */
/*  overflow-y: auto;*/
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
* {
  box-sizing: border-box;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: relative; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


body {
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 8px 8px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 8px 8px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 8px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#add_new_group {
  display: none;
}

table {
  width: 850px;
  border-collapse: collapse;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr:nth-child(odd) {
  background-color: #cccccc;
}

.icon-button {
  border: none;
  background: none;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-button {
  text-decoration: underline;
  cursor: pointer;
}

/* Hover styles */
.link-button:hover {
  font-weight: bold;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 60px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.navbar:after {
  content: "";
  display: table;
  clear: both;
}

.navbar-right {
  float: right;
}

.navbar .auth-user {
  color: #f3f3f3;
  float: left;
  font-size: 14px;
  padding: 9px 10px;
}

.navbar form {
  float: left;
  margin: 0;
}

.navbar .nav-button {
  background: inherit;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 8px 10px;
}

.navbar .nav-button:hover {
  background-color: red;
}

.auth-page {
  background: #f5f7fa;
  color: #1f2933;
  margin: 0;
}

.auth-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.auth-panel {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  padding: 22px;
}

.auth-panel-narrow {
  max-width: 420px;
}

.auth-panel h1 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.auth-panel h2,
.permission-section legend {
  color: #334e68;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form input:not([type="checkbox"]):not([type="hidden"]),
.admin-form input[type="password"] {
  border: 1px solid #bcccdc;
  border-radius: 4px;
  font-size: 16px;
  padding: 9px 10px;
  width: 100%;
}

.auth-form label {
  color: #334e68;
  font-weight: 700;
  margin-top: 8px;
}

.auth-form button,
.admin-form button,
.button-link {
  background: #0b5cad;
  border: 1px solid #084b8a;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
  padding: 9px 13px;
  text-decoration: none;
}

.auth-form button:hover,
.admin-form button:hover,
.button-link:hover {
  background: #084b8a;
}

.auth-links,
.auth-note {
  color: #52606d;
  margin: 14px 0 0;
}

.auth-links a {
  color: #0b5cad;
}

.flash-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.flash {
  border-radius: 4px;
  padding: 10px 12px;
}

.flash-error {
  background: #ffe3e3;
  border: 1px solid #ffbdbd;
  color: #7f1d1d;
}

.flash-success {
  background: #d9f99d;
  border: 1px solid #a3e635;
  color: #365314;
}

.panel-heading-row,
.flag-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flag-row {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.flag-row label,
.permission-row,
.checkbox-label {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

.inline-password {
  max-width: 420px;
  margin-bottom: 22px;
}

.auth-table {
  background: #fff;
  border-collapse: collapse;
  width: 100%;
}

.auth-table th,
.auth-table td {
  border: 1px solid #d9e2ec;
  padding: 8px 10px;
  text-align: left;
}

.auth-table th {
  background: #e6f0fa;
}

.permission-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.permission-section {
  background: #fbfdff;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  padding: 14px;
}

fieldset.permission-section {
  margin: 0;
}

.permission-section ul,
.compact-list,
.permission-catalog {
  margin: 0;
  padding-left: 18px;
}

.permission-row {
  border-top: 1px solid #e6edf5;
  padding: 8px 0;
}

.permission-row:first-of-type {
  border-top: 0;
}

.permission-row small,
.permission-catalog small {
  color: #627d98;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.profile-list {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: max-content 1fr;
  margin: 0 0 16px;
}

.profile-list dt {
  color: #52606d;
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
}

.sticky-actions {
  background: #fff;
  border-top: 1px solid #d9e2ec;
  bottom: 0;
  margin-top: 18px;
  padding: 12px 0 0;
  position: sticky;
}

@media (max-width: 720px) {
  .auth-shell {
    padding: 14px;
  }

  .navbar-right {
    float: none;
  }

  .navbar .auth-user,
  .navbar form {
    float: none;
  }
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#message {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: yellow;
  font-weight: bold;
}

.nowrap {
    white-space: nowrap;
}
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.edit-input {
    margin-right: 10px;
}
.flex-container-nowrap {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align horizontally to the left */
    white-space: nowrap;
}



