.permission-matrix-container {
  background-color: #eee;
  margin-left: 0;
  margin-right: 0;
  padding: 2em 1em 5em;
}

.permission-roles-table-container {
  background-color: #fff;
  max-width: 100%;
  overflow: hidden;
  padding: 0.1rem;
}

.reset-default-role-container {
  float: left;
  margin-left: 1rem;
}

.permission-roles-table th:nth-child(odd):not(:first-child) {
  text-align: -webkit-center;
}

tr.permission-items-groups {
  background-color: #e5e5e5;
  background-color: #e8e8e8 !important;
  border-top: 3px solid #e8e8e8;
  cursor: pointer;
  height: 40px;
  margin-bottom: 0.1em;
  text-transform: capitalize;
}

.permission-items-groups th {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #000;
  font-weight: 400;
  padding: 8px;
}

.permission-items-groups th span {
  padding: 8px;
}

tr.permission-fields {
  background-color: #fbfbfb;
  border: 1px solid #ddd;
  height: 40px;
  padding: 8px;
}

.permission-fields td {
  vertical-align: middle !important;
}

.permission-fields-type {
  color: #363636;
  font-weight: 400;
  padding: 8px;
}

.permission-checkbox {
  display: none;
}

.save-btn-permission-matrix {
  margin-right: 0.5em;
  width: 120px;
}

.save-btn-permission-matrix:hover {
  background-color: #0297a0;
}

.cancel-btn-permission-matrix {
  height: 31px;
  width: 120px;
}

.cancel-btn-permission-matrix:hover {
  background-color: #0297a0;
  color: #fff;
}

.btn-grp-permission-matrix {
  background-color: #fff;
  height: 6rem;
}

#plusIcon-general-project-report {
  margin-top: 0;
}

#permission-items-groups-icons {
  margin-bottom: 5px;
}

/* Responsive columns start */
@media screen and (max-width: 600px) {
  .permission-roles-responsive-button {
    width: 5.5rem !important;
  }
}
.add-role-col {
  margin-right: 0.3rem;
}

.roles-permissions-content-body {
  background-color: #e8e8e8 !important;
  max-height: 80vh;
  min-width: 600px;
  overflow: scroll;
  width: 100%;
}

.th-custom {
  width: 100% !important;
}

.permission-roles-table-header #td-custom-wdth {
  display: table-cell;
  float: none;
  min-width: 12.5em;
}

.permission-column-header {
  background-color: #e8e8e8;
  left: 0;
  position: sticky;
}

.permission-fields-type.permission-column-header {
  z-index: 3;
}

.scroll-border::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px; /* Adjust the width of the border as needed */
  background-color: #20bdbe;
}

.permission-column-sticky {
  left: 0;
  position: sticky;
  z-index: 90;
}

.table-fixed {
  table-layout: fixed;
  width: 100%;
}

.table-fixed .header-fixed {
  background-color: #20bdbe;
  position: sticky;
  text-align: center;
  top: 0;
  z-index: 4;
  color: #ffffff !important;
}

.table-fixed .header-fixed th {
  background-color: #20bdbe;
  position: sticky;
  text-align: center;
  top: 0;
  color: #ffffff !important;
}

.dropdown-menu-right.show {
  background-color: #fff !important;
}

.fixed-sections {
  background-color: #e8e8e8 !important;
  border-right: none !important;
  left: 0;
  position: sticky;
  z-index: 3;
}

.table-layout-fix {
  table-layout: fixed;
}