:root {
  --is-body-height: 109px;
  --is-body-rejection-height: 135px;
  --ar-body-height: 304px;
  --link-color: #0077ff;
}

#wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-areas:
    "csb csb"
    "arl map";
  grid-template-columns: 450px 1fr;
  grid-template-rows: 42px 1fr;
}

#map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  grid-area: map;

}

#map {
  width: 100%;
  height: 100%;
}

#active-roster {
  position: absolute;
  top: 0px;
  left: 0px;
}

#candidate-search-bar {
  position: relative;
  padding: 5px 20px;
  background: linear-gradient(90deg, rgba(0, 119, 255, 1) 20%, rgba(255, 255, 255, 1) 100%);
  z-index: 1;
  grid-area: csb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.active-roster-disconnected {
  margin: 0px;
  font-size: 24px;
  color: #ff0000;
}

.disconnected-banner {
  position: sticky;
  top: 0px;
  left: 0px;
  right: 0px;
  border: 1px solid #ff0000;
  color: #ff0000;
  background: #fffafa;
  z-index: 2;
  margin: -20px -50px 0px -50px;
  padding: 0px 50px;
  font-size: 24px;
}

#candidate-search-wrapper {
  display: flex;
  position: relative;
  width: 365px;
}

#candidate-search-input {
  width: 100%;
  padding: 5px 0px 5px 15px;
  border: none;
}

.candidate-search-input-wrapper {
  display: flex;
  width: 100%;
  background: #ffffff;
  border: 1px solid #000000;
}

#candidate-search-button {
  margin: 0px;
  width: 34px;
  border-radius: 0px;
  border: 1px solid #000000;
  border-left: none;
}

#candidate-search-clear-button {
  position: relative;
  display: block;
  width: 32px;
  background: none;
  border: none;
  height: 32px;
  margin: 0px;
  padding: none;
}

#candidate-search-clear-button.show::after,
#candidate-search-clear-button.show::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #aaaaaa;
  position: absolute;
  top: 50%;
  left: 50%;
}

#candidate-search-clear-button::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

#candidate-search-clear-button::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.candidate-active-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: sub;
  margin-left: 5px;
  border-radius: 5px;
}

.candidate-active-indicator.active {
  background: #00ff00;
}

.candidate-active-indicator.inactive {
  background: #000000;
}

#candidate-search-results {
  position: absolute;
  max-height: 300px;
  background: #ffffff;
  top: calc(100% - 1px);
  border: 1px solid #000;
  width: fit-content;
  overflow: auto;
}

.candidate-search-result {
  position: relative;
  margin: 0px;
  padding: 5px 15px;
  width: fit-content;
  min-width: 100%;
  border: none;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.candidate-search-result:hover {
  background: #dddddd;
}

.search-result-name {
  margin: 0px;
  font-size: 18px;
  text-wrap: nowrap;
}

.search-result-name-icon {
  margin-right: 5px;
}

.search-result-name span {
  vertical-align: sub;
  text-wrap: nowrap;
}

.search-result-details {
  margin: 0px;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555555;
}

.search-result-detail {
  text-wrap: nowrap;
  
}

.search-result-detail span {
  display: inline-block;
  height: 20px;
  vertical-align: middle;
}

.search-result-detail-icon {
  height: 20px;
  vertical-align: text-bottom;
}

.search-result-detail-icon.info-icon {
  height: 14px;
  vertical-align: middle;
}

#map .gm-style img {
  cursor: pointer;
}

#map .gm-style-iw-c {
  padding: 0px;
  max-width: none !important;
}

#map .gm-style-iw-d {
  overflow: auto !important;
}

#map .gm-style-iw-chr {
  position: absolute;
  left: 0px;
  right: 0px;
  pointer-events: none;
}

#map .gm-style-iw-chr button {
  pointer-events: all;
}

#info-window {
  min-width: 400px;
}

#info-window h3 {
  margin: 0px;
  padding: 0px 48px 0px 16px;
  height: 48px;
  line-height: 48px;
  border-bottom: 1px solid #000000;
}

#info-window .link-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#info-window .view-full-log-link {
  border: none;
  background: none;
  color: var(--link-color);
  margin: 0px;
  font-weight: bold;
  padding: 5px 0px 0px;
}

#info-window .open-inquiry-link {
  border: none;
  background: none;
  color: var(--link-color);
  margin: 0px;
  padding: 5px 0px 0px;
  font-weight: bold;
}

#info-window .joborder-list {
  padding: 10px 16px;
}

#info-window .clientcorporation-list {
  margin: 10px 16px;
  border: 1px solid #cccccc;
  overflow: auto;
  max-height: 500px;
}

#info-window .joborder-list p {
  /*margin: 0px;
  padding: 4px 0px 0px 0px;*/
  margin: 0px;
  padding: 2px 4px;
}

#info-window .clientcorporation-button {
  display: block;
  border: none;
  color: #000000;
  background: #ffffff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  margin: 0px;
  padding: 6px;
  border-bottom: 1px solid #cccccc;
}

#info-window .clientcorporation-button:last-child {
  border-bottom: none;
}

#info-window .clientcorporation-button:hover {
  background: #cccccc;
}

/*#info-window .joborder-list .joborder-submitted,*/
#info-window .clientcorporation-button.joborder-submitted {
  font-weight: bold;
}

#info-window .joborder-list p {
  
}

#info-window .joborder-list .joborder-submitted {
  background: #6eaf6e;
}

#info-window .joborder-list .joborder-internally-submitted {
  background: #c87d7d;
}

#info-window .joborder-list .joborder-inquiried {
  background: #c83737;
}

#info-window .joborder-list .joborder-rejected {
  background: #999999;
}

#info-window .joborder-list .joborder-matched {
  background: #00c800;
}

#info-window .joborder-list input {
  margin: 0px;
  vertical-align: text-top;
}

#info-window .inquiry-section {
  display: flex;
  padding: 0px 16px 16px 16px;
}

#info-window .inquiry-text {
  resize: none;
  flex-grow: 1;
  padding: 5px;
}

#info-window .inquiry-button {
  margin: 0px;
  background: none;
  border: none;
}

#info-window .inquiry-button::after {
  content: "";
  display: block;
  border: 30px solid transparent;
  border-left: 30px solid rgb(var(--company-color));
  border-right: none;
}

.active-roster-searchbar {
  width: 100%;
  background: blue;
  color: white;
}

.active-roster-column-interface {
  position: relative;
  height: 100%;
  overflow-x: visible;
  overflow-y: hidden;
  border-right: 2px solid #000000;
}

.active-roster-card-column {
  overflow-y: auto;
}

.active-roster-column-card-list {
  position: relative;
  background: rgb(var(--bg-secondary));
  min-width: 300px;
  height: calc(100% - 45px);
  padding: 5px;
  overflow: auto;
}

.active-roster-column-header {
  position: relative;
  display: flex;
}

.active-roster-column-button {
  display: inline-block;
  position: relative;
  width: 50%;
  background-color: #dddddd;
  flex: 1;
  text-align: center;
  font-size: large;
}

.active-roster-inquiries-button {
  user-select: none;
  border: 2px solid #000000;
  border-left: none;
}

.active-roster-inquiries-button.active-column {
  border-left: 2px solid #00aaff;
}


.active-roster-inquiries-button.active-column::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border: 1px solid #00aaff;
}

.active-roster-active-button {
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  user-select: none;
}

.active-roster-active-button.active-column {
  border-right: 2px solid #00aaff;
}

.active-roster-active-button.active-column::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border: 1px solid #00aaff;
  border-left: none;
}

.active-column {
  background: #fafafa;
  border-color: #00aaff;
}

.active-roster-card {
  display: block;
  overflow: hidden;
  align-items: center;
  background: rgb(var(--bg));
  border-radius: 7px;
  box-shadow: 0 0 11px #14243422;
  padding: 12px;
  margin-bottom: 8px;
}

.active-roster-internal-submission-card {
  margin-bottom: 8px;
}

.active-roster-internal-submission-card .active-roster-card {
  margin: 0px;
}

.active-roster-card-button {
  background: none;
  border: none;
  user-select: none;
}

.active-roster-card-header {
  background-color: rgb(var(--company-color));
  color: white;
  text-align: center;
  margin: -12px -12px 0px -12px;
  user-select: none;
}

.active-roster-card-header.selected {
  /*
   background-color: #55aaff;
   */
}

.active-roster-card-body {
  min-height: 60px;
}

.active-roster-card-candidate {
  padding-top: 5px;
  padding-left: 5px;
}

.active-roster-card-candidate.link {
  display: inline-block;
  color: var(--link-color);
}

.active-roster-card-location {
  padding-left: 5px;
  color: gray;
}

.active-roster-card-info {
  padding: 0px 20px 5px 20px;
  /*
  padding-left: 20px;
  padding-bottom: 5px;
  */
  display: grid;
  /*grid-template-columns: minmax(30%, auto) auto;*/
  grid-template-columns: minmax(120px, auto) auto;
  overflow: hidden;
  gap: 0px 5px;
}

.active-roster-card-body-expansion {
  background: rgb(var(--bg));
  border-radius: 7px;
  box-shadow: 0 0 10px #00000022;
  margin-top: 12px;
}

.active-roster-card-label {
}

.active-roster-card-data {
  width: 100%;
  white-space: nowrap;
  text-overflow: clip;
}

.active-roster-card-select {
  width: 100%;
  text-overflow: clip;
}

.active-roster-modal {
  border-radius: 30px;
  overflow: auto;
}

.active-roster-modal .mod-close::before,
.active-roster-modal .mod-close::after {
  background: #ffffff;
}

.active-roster-action-modal, .prescreen-notes {
  background: #ffffff;
  max-width: 1080px;
  width: 100vw;
  height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
}

.active-roster-action-modal .c2m-table-wrapper {
  position: relative;
}

.active-roster-log-overlay {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  cursor: default;
}

.altus-table.active-roster-log {
  table-layout: fixed;
  max-width: 100%;
}

.altus-table.active-roster-log th {
  width: auto;
}

.altus-table.active-roster-log td {
  width: auto;
  text-overflow: ellipsis;
  overflow: hidden;
}

.altus-table th:nth-child(1),
.altus-table td:nth-child(1) {
  width: 120px;
}

.altus-table th:nth-child(2),
.altus-table td:nth-child(2),
.altus-table th.candidate {
  width: 150px;
}

.altus-table th:nth-child(3),
.altus-table td:nth-child(3) {
  width: 100px;
}

.altus-table.active-roster-log .inquiry-event {
  text-align: center;
}

#map-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  border: 2px solid #000000;
  border-left: none;
}

.active-roster-company-filters {
  background: #ffffff;
  padding: 5px;
}

.company-filter-section {
  padding: 0px 5px;
  border: 1px solid #000000;
}

.company-filters-header {
  margin: 0px 0px 10px 0px;
  font-size: 24px;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.company-filter-input-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

#company-search-input {
  width: 100%;
}

.company-search-wrapper {
  flex-grow: 1;
  position: relative;
}

.company-search-options {
  position: absolute;
  top: 100%;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #000000;
  z-index: 1;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.company-search-wrapper:focus-within .company-search-options {
  display: flex;
}

.company-search-option {
  border: none;
  background: #ffffff;
  border-bottom: 1px solid #000000;
  margin: 0px;
  white-space: nowrap;
  text-align: left;
}

.company-search-option:hover {
  background: #dddddd;
}

.company-search-option:last-child {
  border-bottom: none;
}

.company-search-clear {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  top: 50%;
  transform: translate(0, -50%);
}

.company-search-clear::before,
.company-search-clear::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: #aaaaaa;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.company-search-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.company-search-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.company-filter-button {
  position: relative;
  background: none;
  border: none;
  margin: 0px;
  width: 100%;
  text-align: left;
  padding: 0px;
  font-size: 18px;
  color: #00aaff;
  text-decoration: underline;
}

/* Filter category arrow */
.company-filter-button::before,
.column-filter-button::before,
.column-sort-button::before {
  position: absolute;
  right: 10px;
  top: 50%;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transition: transform 0.125s;
}

.company-filter-button.open::before,
.column-filter-button.open::before,
.column-sort-button.open::before {
  transform: translate(0px, -50%) rotate(45deg);
}

.company-filter-options {
  max-height: 0px;
  overflow: auto;
}

.company-filter-options.open {
  max-height: unset;
}

.company-filter-types.open {
  max-height: 200px;
}

.company-filter-option {
  margin: 0px;
  font-size: 12px;
}

.company-filter-option .company-filter-checkbox,
.column-filter-checkbox {
  position: relative;
  margin: 0px 5px 0px 0px;
  cursor: pointer;
}

/* Checkbox body */
.company-filter-option .company-filter-checkbox::before,
.column-filter-checkbox::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  border: 1px solid #000000;
  background: #ffffff;
  width: 13px;
  height: 13px;
}

/* Checkbox check */
.company-filter-option .company-filter-checkbox::after,
.column-filter-checkbox::after {
  position: absolute;
  top: 6px;
  left: 50%;
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.company-filter-option .company-filter-checkbox:checked::after,
.column-filter-checkbox:checked::after {
  border: 3px solid #000000;
  border-top: none;
  border-left: none;
}

.reset-company-filters-button {
  font-size: 16px;
  font-weight: normal;
  margin: 0px;
}

#radius-overlay {
  background: #ffffff;
  border: none;
  border-top: 1px solid #000000;
  padding: 5px;
}

.radius-label {
  font-weight: bold;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  border: 1px solid #000000;
  margin-left: 5px;
}

.status-dot.Inquiry {
  background: #ee0000;
}
.status-dot.Rejected {
  background: #cccccc;
}
.status-dot.Submitted {
  background: #cccccc;
}

.active-roster-internal-submission-company {
  text-align: center;
  border: 2px solid black;
  border-bottom: 1px solid black;
}

.active-roster-internal-submission-notification {
  background: #aaccff;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 5px;
  margin-left: 5px;
}

.active-roster-internal-submission-notification-count {
  display: inline-block;
  background: #ff0000;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  color: #ffffff;
  vertical-align: middle;
  margin-left: 10px;
}

.active-roster-internal-submission-job {
  text-align: center;
  border: 2px solid black;
  border-top: 1px solid black;
  border-bottom: none;
}

.active-roster-internal-submission-body {
  position: relative;
  /*
  padding-top: 30px;
  */
  /*padding: 38px 8px 8px;*/
  padding: 8px 8px 8px;
  border: 2px solid black;
}

.active-roster-internal-submission-body {
  transition: height 0s, padding 0s;
}

.collapsed .internal-submission-body-expansion {
  height: 0px;
  overflow: hidden;
  transition: height 0.5s;
}

.expanded .internal-submission-body-expansion {
  height: var(--is-body-height);
  overflow: hidden;
  transition: height 0.5s;
}

.expanded.rejection .internal-submission-body-expansion {
  height: var(--is-body-rejection-height);
}

.active-roster-card-body-wrapper.expanded {
  max-height: var(--ar-body-height);
  transition: max-height 0.5s;
}

.active-roster-card-body-wrapper.collapsed {
  max-height: 60px;
  transition: max-height 0.5s;
}

.list-view.collapsed {
  height: 0px;
  padding: 0px;
  border-top: 0px solid #000000;
  overflow: hidden;
}

.has-transition {
  transition: height 0.5s, padding 0s 0.5s, padding-top 0.05s 0.3s, padding-bottom 0.05s 0.3s, border-top 0.05s 0.4s;
}

.list-view.expanded {
  /*height: 396px;
  */
  height: calc(var(--is-body-height) + var(--ar-body-height) + var(--is-top-padding-thickness) + var(--is-padding-thickness) + 2 * var(--is-border-thickness));
  --is-top-padding-thickness: 40px;
  --is-padding-thickness: 8px;
  padding: var(--is-padding-thickness);
  --is-border-thickness: 2px;
  border: var(--is-border-thickness) solid #000000;
  overflow: hidden;
  transition: height 0.5s, padding 0s 0s;
}

.list-view.expanded.rejection {
  height: calc(var(--is-body-rejection-height) + var(--ar-body-height) + var(--is-top-padding-thickness) + var(--is-padding-thickness) + 2 * var(--is-border-thickness));
}

.active-roster-hide {
  display: none;
}

.internal-submission-radio-area {
  margin-top: 5px;
  text-align: center;
}
.internal-submission-radio::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  border: 1px solid #000000;
  background: #ffffff;
  width: 13px;
  height: 13px;
}

/* Checkbox check */
.internal-submission-radio::after {
  position: absolute;
  top: 6px;
  left: 50%;
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.internal-submission-radio:checked::after {
  border: 3px solid #000000;
  border-top: none;
  border-left: none;
}

.internal-submission-radio {
  position: relative;
}

/*
.internal-submission-radio {
  box-sizing: border-box;
  appearance: none;
  background: white;
  outline: 2px solid #333;
  width: 16px;
  height: 16px;
  cursor: auto !important;
}

.internal-submission-radio:checked {
  background: #333;
}
*/

.internal-submission-radio-span {
  font-weight: 300;
  margin-right: 20px;
}

.internal-submission-card-response-area {
  display: flex;
  margin: 0px;
  margin-top: 5px;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.internal-submission-card-textarea {
  resize: none;
  padding: 5px;
  flex-grow: 1;
}

.internal-submission-card-submit {
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid rgb(var(--company-color));
  border-right: none;
  background: none;
  margin: 0px;
}

.internal-submission-flag, .internal-submission-flag-active {
  box-sizing: content-box;
  position: absolute;
  top: 0px;
  right: 20px;
  margin: 0px;
  border: none;
  padding: 0px;
  border-top: 20px solid lightgray;
  border-left: 10px solid lightgray;
  border-right: 10px solid lightgray;
  border-bottom: 10px solid transparent;
  background: none;
}

.internal-submission-flag-active {
  border-top: 20px solid red;
  border-left: 10px solid red;
  border-right: 10px solid red;
}

.flag-options {
  border: 1px solid #000000;
  max-height: 75px;
  overflow: auto;
  margin-bottom: 10px;
}

.flag-option {
  display: block;
  width: 100%;
  margin: 0px;
  border: none;
  border-bottom: 1px solid #000000;
  background: #ffffff;
}

.flag-option:hover {
  background: #eeeeee;
}

.flag-option:last-child {
  border-bottom: none;
}

.flag-option.flag-option-selected {
  background: #00aaff;
  color: #ffffff;
}

.active-roster-relocation-modal {
  background: #ffffff;
  width: 500px;
  height: 350px;
  display: flex;
  flex-direction: column;
}

.active-roster-relocation-modal-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px 15px 20px;
  overflow: hidden;
  gap: 15px;
  align-items: center;
}

.location-search-wrapper {
  position: relative;
  width: 100%;
}

.relocation-search-input {
 width: 100%; 
}

.location-options {
  position: absolute;
  top: 100%;
  left: 0px;
  display: flex;
  flex-direction: column;
  max-height: 100px;
  width: 100%;
  border: 1px solid #000000;
  overflow: auto;
}

.location-option {
  margin: 0px;
  padding: 2px;
  border: none;
  border-bottom: 1px solid #000000;
  text-align: left;
}

.location-option:last-child {
  border-bottom: none;
}

.location-add-button {
  margin: 0px;
  width: 100px;
}

.location-clear-button {
  position: absolute;
  right: 5px;
  display: block;
  width: 20px;
  background: none;
  border: none;
  height: 20px;
  top: 50%;
  transform: translate(0px, -50%);
  margin: 0px;
}

.location-clear-button::after,
.location-clear-button::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #aaaaaa;
  position: absolute;
  top: 50%;
  left: 50%;
}

.location-clear-button::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.location-clear-button::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.relocation-options {
  width: 100%;
  border: 1px solid #000000;
  overflow: auto;
  height: 98px;
}

.relocation-option {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0px;
  padding: 3px;
}

.relocation-option-delete {
  margin: 0px;
}

.relocation-heading {
  margin: 0px;
}

.edit-relocation-heading {
  margin-top: 15px;
}

.active-roster-flag-modal,
.active-roster-unflag-modal {
  background: #ffffff;
  min-width: 350px;
  /*
  width: 350px;
  height: 225px;
  */
  display: flex;
  flex-direction: column;
}

.active-roster-flag-modal-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  flex-grow: 1;
  gap: 10px;
}

.active-roster-flag-comment {
  width: 100%;
  resize: none;
  padding: 5px;
}

.active-roster-unflag-message {
  text-align: center;
}

.active-roster-flag-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.active-roster-flag-submit,
.active-roster-flag-cancel {
  background: linear-gradient(to bottom, rgb(var(--company-color), 0.7), rgb(var(--company-color)));
  color: rgb(var(--company-font-color));
  border: none;
  margin: 0px;
  padding: 5px 10px;
}

.active-roster-flag-cancel {
  background: linear-gradient(to bottom, rgb(var(--bg)), rgb(var(--secondary)));
  color: #000000;
}

.internal-submission-rejection-categories {
  width: 100%;
  margin-top: 5px;
}

.internal-submission-rejection-category.undefined {
  text-align: center;
}

.active-roster-column-menu {
  position: absolute;
  top: 100%;
  right: 0px;
  background: #ffffff;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #000000;
}

.column-text-filter-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0px;
  padding: 2px 5px;
  border-top: 1px solid #000000;
}

.column-filter-input-section {
  display: flex;
  flex-direction: row;
  padding: 5px;
  gap: 5px;
}

.column-filter-clear-button {
  margin: 0px;
}

.column-filter-input-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  border: 1px solid #000000;
  align-items: center;
}

.column-filter-input {
  border: none;
  flex-grow: 1;
}

.column-filter-clear {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0px;
  border: none;
  background: none;
}

.column-filter-clear::before,
.column-filter-clear::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #aaaaaa;
  transform: translate(-50%, -50%);
}

.column-filter-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.column-filter-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.column-filter-text {
  border-radius: 5px;
  background: #cccccc;
  border: 1px solid #000000;
  padding: 2px 5px;
}

.delete-filter-button {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0px;
  background: #aaaaaa;
  border: none;
}

.delete-filter-button::before,
.delete-filter-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: #ffffff;
}

.delete-filter-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.delete-filter-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.column-filter-options,
.column-sort-options {
  display: flex;
  flex-direction: column;
  max-height: 0px;
  overflow: hidden;
}

.column-filter-options.open,
.column-sort-options.open {
  max-height: unset;
}

.column-filter-option,
.column-sort-option {
  text-align: left;
  margin: 0px;
  border: none;
  background: #ffffff;
}

.column-filter-option {
  padding: 0px 5px;
  font-weight: normal;
  width: 100%;
}

.column-filter-option input[type="checkbox"] {
  margin-right: 5px;
}

.column-filter-option:hover,
.column-sort-option:hover {
  background: #eeeeee;
}

.active-roster-column-menu-button {
  position: relative;
  width: 10px;
  height: 100%;
  background: #fafafa;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  border-left: none;
  border-right: none;
  margin: 0px;
}

.active-roster-column-menu-button::after {
  content: "";
  display: block;
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background: #000000;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 7px 0px 0px #000000, 0px 14px 0px 0px #000000;
}

.column-filter-button,
.column-sort-button {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0px;
  background: #ffffff;
  border: none;
  text-align: left;
  color: #00aaff;
  text-decoration: underline;
  font-size: 16px;
}

.column-sort-section,
.column-filter-section {
  border-top: 1px solid #000000;
}

.column-menu-backdrop {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  cursor: default;
}

.comment-required-warning {
  color: red;
  margin-left: 10px;
}

.removal-reason.undefined {
  text-align: center;
}

.active-filters-warning {
  text-align: center;
  background-color: rgba(0, 119, 255, 1);
  color: rgba(255,255,255);
  border-bottom: 2px solid black;
}

.list-view-hidden {
  display: none;
}

.list-view-card {
  border-bottom: 1px solid black;
  padding: 0px 5px;
  margin: 0px -5px;
}

.sort-up, .sort-down {
  opacity: 0.5;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  cursor: pointer;
}

.sort-up:hover, .sort-down:hover {
  opacity: 1;
}

.sort-up {
  border-bottom: 5px solid #999999;
  margin-bottom: 5px;
  opacity: 0.25;
}

.sortUpActive {
  border-bottom: 5px solid #00aaff;
  opacity: 1;
}

.sort-down {
  border-top: 5px solid #999999;
  opacity: 0.25;
}

.sortDownActive {
  border-top: 5px solid #00aaff;
  opacity: 1;
}

.column-filter-wrapper {
  position: relative;
}

.filter-symbol {
  position: relative;
  width: 15px;
  height: 15px;
  opacity: 0.25;
  cursor: pointer;
  top: 2px;
  
  &.active {
    &::before {
      border-top: 6px solid #00aaff;
    }
    &::after {
      border-left: 2px solid #00aaff;
      border-top: 2px solid #00aaff;
      box-shadow: 0px -4px 0px 0px #00aaff;
    }
  }

  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
  }

  &::before {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-top: 6px solid #999999;
    left: 50%;
    top: 0px;
    transform: translate(-50%, 0px);
  }

  &::after {
    border-left: 2px solid #999999;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-top: 2px solid #999999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0px);
    box-shadow: 0px -4px 0px 0px #999999;
  }

  &.active,
  &:hover {
    opacity: 1;
  }
}

.date-filter, .filter-modal {
  border: 1px solid black;
  position: absolute;
  background-color: white;
  padding: 5px;
}

.date-filter-choice {
  white-space: nowrap;
  font-size: 14px;
  font-weight: normal;
  border: none;
  display: block;
  width: 100%;
  padding: 3px 5px;
  margin: 0px;
  text-align: left;
  background: #ffffff;
}

.date-filter-choice:hover {
  color: #000000;
  background: #dddddd;
}

.date-filter-choice.active {
  color: #00aaff;
}

.custom-date-wrapper {
  padding: 5px;
  text-align: center;
}

.custom-date-wrapper input {
  border: 1px solid #000000;
  width: 100%;
}

.column-options {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  vertical-align: middle;
}

.column-options input[type="text"] {
  color: #000000;
  border: 1px solid #000000;
}

.filter-modal {
  position: absolute;
  top: 100%;
  left: 50%;
  border: 1px solid #000000;
  background: #ffffff;
}

.filter-modal div:nth-child(1) {
  padding: 5px;
}

.filter-modal .filter-input {
  margin: 5px;
}

.active-roster-admin {
  position: relative;
  padding: 20px 50px;
  /*margin: 20px 50px;*/
  --shadow: 0 0 5px #00000033;
}

.flagged-resolved-area {
  margin: 10px 0px 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.flagged-items-label {
  font-weight: bold;
}

.flagged-resolved-button {
  border: 1px solid black;
  border-radius: 5px;
  padding: 2px 5px;
  font-weight: bold;
  margin-bottom: 5px;
  background: #ffffff;
  user-select: none;
}

.flagged-submissions-table {
  width: 100%;
  border: 1px solid black;
  border-collapse: collapse;
  background-color: white;
  table-layout: fixed;
}

.flagged-submissions-table-item {
  text-align: center;
  border: 1px solid black;
  border-collapse: collapse;
}

.admin-center-view-log {
  color: #00aaff;
  text-decoration: underline;
  text-decoration-color: #00aaff;
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  margin-top: 3px;
  margin-bottom: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.stats-heading {
  font-weight: bold;
  margin-top: 10px;
}

.stat-card-area {
  margin: 5px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.stat-card {
  position: relative;
  background-color: white;
  padding: 5px 10px;
  min-height: 256px;
  box-shadow: var(--shadow);
}

.stat-card-heading {
  font-weight: bold;
  font-size: 18px;
}

.stat-card-time-options-wrapper {
  /* position: static; */
  position: absolute;
  top: 10px;
  right: 10px;
}

.stat-card-time-button {
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0px;
  border: none;
  background: #ffffff;
  box-shadow: 0 0 3px #00000077;
}

.stat-card-time-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #aaaaaa;
}

.stat-card-time-options {
  right: 0px;
  top: calc(100% - 3px);
  padding: 0px;
}

.stat-card-time-option {
  background: #ffffff;
}

.stat-card-custom-date-wrapper {
  display: flex;
  flex-direction: column;
}

.stat-card-number {
  font-weight: bold;
  font-size: 46px;
  margin-top: 20px;
}

.stats-graph-wrapper {
  margin-top: 10px;
  position: relative;
  height: 400px;
  background: #ffffff;
  padding: 10px 20px;
  box-shadow: var(--shadow);
}

.total-active-cards-info {
  border: 1px solid black;
  margin-top: 10px;
  padding: 0px 10px;
  display: inline-flex;
  align-items: center;
}

.total-active-card-text {
  font-weight: bold;
  margin-right: 5px;
  margin-left: 10px;
  font-size: 24px;
}

.total-active-cards-info .stat-card-number {
  margin: 0px;
}

.recent-activity-wrapper,
.flagged-table-wrapper {
  box-shadow: var(--shadow);
  background: #eeeeee;
  position: relative;
  z-index: 1;
  overflow: auto;
  min-height: 250px;
}

.recent-activity-wrapper {
  max-height: 500px;
  overflow: auto;
}

.flagged-table-wrapper {
  max-height: 300px;
}

.recent-activity-heading {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}

.recent-activity-header {
  padding-top: 5px;
  padding-bottom: 5px;
  color: white;
  background-color: #4ABDAC;
  text-align: center;
}

.active-roster-table {
  background-color: white;
  width: 100%;
  /* position: relative; */
}

.active-roster-table thead {
  /* position: sticky; */
  top: 0px;
  background: #ffffff;
}

.active-roster-table th,
.active-roster-table td {
  padding: 5px;
  max-width: 600px;
}

.active-roster-column-heading {
  color: #bbbbbb;
}

tr.active-roster-table-row:nth-child(odd) {
  background: rgba(var(--company-color), 0.125);
}

.c2m-expanded {
  max-height: none !important;
  display: block;
}

.c2m-expanded * {
  display: inline;
}

.c2m-expanded .c2m-note-short {
  word-break: normal;
}

.c2m-note-short {
  word-break: break-all;
}

.c2m-message {
  white-space: normal;
}

.c2m-message * {
  background: none;
}

.flagged-items-admin-message-wrapper, .resolved-items-admin-message-wrapper, .recent-activity-admin-message-wrapper {
  max-height: 1.5em;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

span.c2m-show-more {
  line-height: normal;
  white-space: nowrap;
  color: rgb(var(--middle-gray));
}


.add-relo-button {
  max-width: 80px;
  justify-self: right;
  margin: 10px 0px 0px;
}

.prescreen-edit-textarea {
  resize: none;
  width: -webkit-fill-available;
  height: 510px;
  margin: 0px 5px;
}

.edit-prescreen-button {
  float: right;
  margin-top: 5px;
}

.prescreen-save-button {
  float: right;
  margin-top: 5px;
}

.prescreen-timestamp-thead {
  display: grid;
  grid-template-columns: 30% 30% 40%;
  padding: 0px 9.5px;
}

.prescreen-timestamp-tbody {
  background:rgba(var(--company-color), 0.225);;
  display: grid;
  grid-template-columns: 30% 30% 40%;
  padding: 0px 9.5px;
}

.prescreen-timestamp-table {
  width: 100%;
}

.prescreen-note {
  white-space: break-spaces;
  word-break: break-word;
  font-family: Arial, Helvetica, sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
}

.resolved-comment-wrapper {
  position: relative;
  display: flex;
  gap: 10px;
}

.resolved-comment {
  display: none;
  position: absolute; 
  z-index: 1;
  border: 1px;
  background-color: #555;
  padding: 3px;
  color: #fff; 
  top: 10px;
  right: calc(100% - 15px);
  width: max-content;
  max-width: 500px;
  line-height: normal;
  pointer-events: none;
}

.resolved-comment-icon {
  position: relative;
  display: block;
  width: 30px; 
  height: 20px; 
  background: #5ac4ed;
  -moz-border-radius: 10px; 
  -webkit-border-radius: 10px; 
  border-radius: 5px;
}

.resolved-comment-icon:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent #5ac4ed transparent transparent;
  bottom: -10px;
  left: 50%;
  margin-left: -5px;
}

.resolved-comment-icon:hover + .resolved-comment {
  display: block;
}

.clickable-stat {
  cursor: pointer;
}

.has-client-submission-gray-green {
  background-color: #6EAF6E !important;
}

.has-internal-submission-red {
  background-color: #C83737 !important;
}

.was-internally-submitted-gray-red {
  background-color: #C87D7D !important;
}

.was-matched-neon-green {
  background-color: #00C800 !important;
}

.was-rejected-gray {
  background-color: #999999 !important;
}

.individuals-graph-wrapper {
  background: #ffffff;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  padding: 10px 20px;
}
