body {
  font-family: sans-serif;
	
	overflow-x: hidden;
}
html, body {
height: 100%;
margin: 0px;

}
#campaigns-container {
	height: 100%;
}
#campaigns-container .campaigns_container {
	height: 100%;
}
#campaigns-container .campaigns_container .campaigns_list_container {
	height: 100%!important;
}
.header {
  margin-top: 33px;
  padding: 3px 10px;
}
.page-wrapper {
	height: calc(100% - 120px)!important;
  display: flex;
  flex-direction: column;
	
}
.page-wrapper .gradebook-container {
	width: 100%;
	height: 100%;
	/*height: calc(100% - 60px);*/
	overflow-x: auto;
	overflow-y: auto;
	position: relative;
	flex-grow: 1;
	padding: 10px;
	box-sizing: border-box;
	overflow: hidden;
}

.page-wrapper .gradebook-container .gradebook-scroll-area {
	height: calc(100vh - 460px);
	overflow: auto;
	border: 1px solid #ccc;

}


.page-wrapper .gradebook-container .gradebook-scroll-area table.gradebook {
  border-collapse: collapse;
	width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.gradebook th, .gradebook td {
  border: 1px solid #ccc;
  padding: 8px;
  min-width: 120px;

}

.gradebook th:first-child,
.gradebook td:first-child {
  position: sticky;
  left: 0;
  background: #f0f0f0;
  z-index: 2;
}

.gradebook thead  {
  background: #ddd;
  position: sticky;
  top: 0;
  z-index: 3;
}

/* Sticky columns using .sticky-col */
.gradebook .sticky-col {
  position: sticky;
  background: #f9f9f9;
  z-index: 2; /* ensure it stays above scrollable cells */
}

/* For sticky header cells in sticky columns */
.gradebook thead th {
  z-index: 4;
}
/* For sticky header cells in sticky columns */
.gradebook thead .sticky-col {
  z-index: 400!important;
}




.button-text {
margin-right: auto; /* pushes the icon to the right */
}

td[contenteditable="true"] {
	background-color: #fff9e6;
}
table {
/*width: 100%;*/
  /* This should control the expansion of the table */
border-collapse: collapse;
border: 1px solid #ccc;
}
th, td {
border: 1px solid #ccc;
text-align: left;
height: 30px;
box-sizing: border-box; /* Include padding and borders in the width */
}
th {
	background-color: #f9f9f9;
	/*cursor: col-resize;*/
	text-align: center;

}
.resize-bar {
}
.ui-resizable-handle {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 3px;
	background-color: #555;
	opacity: 0.5;
}
.highlight {
	background-color: #fafafa;
	cursor: pointer;
}
.unselectable {
	-webkit-touch-callout: none; /* Disable callout, context menu on touch devices */
	-webkit-user-select: none;   /* Chrome, Safari, Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;           /* Non-prefixed version, currently supported by most modern browsers */
	cursor: default;             /* Change cursor to default to indicate non-selectability */
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.sort-type-list {

}
.sort-type-list .dropdown-item {
cursor: pointer;
}
.sort-type-list .dropdown-item.active {
--bs-bg-opacity: 1;
color: #fff;
background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important
}