.switch {
  display: flex;
}

/* on switch color */
input[data-checked="true"]+.mantine-Switch-track {
  --switch-bg: var(--side-menu-color) !important;
  border-color: var(--side-menu-color);
}


.form-check-input:checked {
  background-color: var(--side-menu-color);
  border-color: var(--side-menu-color);
}

.mantine-ColorInput-input, .mantine-Checkbox-input {
  border-color: var(--side-menu-color);
}

.mantine-Switch-track {
  height: 34px;
}

.small .mantine-Switch-track {
  height: 30px;
}

.dropdown {
  width: 200px;
  height: 34px;
  border-radius: 18px !important;
  margin-top: -1px;
}

.dropdown.small {
  margin-top: auto;
}

.dropdown.small,
.small .DateInput_input {
  height: 30px;
}

.dropdown.small .mantine-Select-input {
  min-height: auto;
  height: 30px;
}

.button {
  background-color: transparent;
  border: 1px solid var(--side-menu-color);
  color: var(--side-menu-color);
  text-transform: uppercase;
  border-radius: 1.5rem;
  padding: 6px 20px;
  font-size: 18px;
  width: auto;
}

.button.icon {
  border: 1px solid var(--main-color);
  background-color: transparent;
}

.button.outlined {
  color: var(--main-color);
  background-color: transparent;
  border: 1px solid var(--main-color);
}

.button * {
  font-family: Deacon-Bold !important;
}

.button:hover {
  background-color: var(--hover-color);
  transition: 0.7s;
}

.button.small {
  padding: 0px 10px !important;
  font-size: 12px !important;
  height: 30px;
}

.button.small * {
  font-family: Deacon-Medium !important;
}

.button.preset {
  color: var(--side-menu-color);
  border: solid 1px var(--side-menu-color);
  padding: 0px 5px !important;
  width: 30px;
}

.button[disabled]:not(.icon) {
  background: transparent;
  border: 1px solid var(--hover-color);
}

.button[disabled] .button-link {
  color: var(--hover-color);
}

.button-link,
.button-link:link,
.button-link:visited,
.button-link:hover,
.button-link:active {
  text-decoration: none;
  color: var(--side-menu-color);
}


.input,
.mantine-TextInput-input,
.mantine-PasswordInput-input {
  padding: 5px;
  border-color: var(--side-menu-color);
  border-radius: 5;
  border-width: 1px;
  width: 200px;
  height: 34px;
}

.mantine-TimeInput-input,
.mantine-DateInput-input,
.mantine-DateTimePicker-input {
  border-radius: 5px;
  border-color: var(--side-menu-color);
}

.input.small {
  height: 30px;
  margin-top: auto;
  margin-bottom: auto;
}

#remember_me:checked, .mantine-Checkbox-input:checked {
  background-color: var(--side-menu-color) !important;
  border-color: var(--side-menu-color) !important;
 }

 #forgot_pw {
  font-size: small;
 }

.table {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  background-color: white;
}

.modal-content[aria-labelledby*="nexus_gpt_modal"] .ag-grid-div {
  max-width: 100% !important;
  overflow-x: auto !important;
}

.modal-content[aria-labelledby*="nexus_gpt_modal"] .ag-theme-alpine {
  width: 100% !important;
  max-width: 100% !important;
}

.report-heading,
.table th {
  font-family: Inter-Bold !important;
}

.multi-select {
  min-width: 200px;
  max-width: 820px;
}

.multi-select.right {
  right: 0;
  position: absolute;
  margin-top: -15px;
}

.multi-select.small,
.multi-select.small .mantine-MultiSelect-input,
.multi-select.small .mantine-MultiSelect-searchInput,
.multi-select.small .mantine-MultiSelect-values {
  height: 30px;
  line-height: 30px;
  min-height: auto;
}

.multi-select.small .mantine-MultiSelect-values {
  margin-top: -1px;
}

.multi-select.small .mantine-MultiSelect-wrapper{
  --input-padding-y-sm: 3px;
}

.multi-select.controls {
  border: 1px solid var(--side-menu-color) !important;
  border-radius: 5px;
}

.daterange-picker {
  width: 310px;
  height: 34px;
}

.right {
  justify-content: right;
}

.date-presets {
  margin-top: -50px;
  margin-left: auto;
  gap: 5px;
}

.date-presets.left {
  margin-top: auto;
  margin-left: 0;
}

.img-selector {
  max-height: 630px;
  margin-bottom: 50px;
  overflow-y: auto;
  width: 1050px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mantine-SegmentedControl-root {
  background-color: transparent;
  border: 1px solid var(--main-color);
}

.mantine-SegmentedControl-indicator {
  background-color: var(--main-color);
  height: 38px !important;
}

.small .mantine-SegmentedControl-indicator {
  background-color: var(--main-color);
  height: 22px !important;
}

.mantine-SegmentedControl-control:hover {
  background-color: var(--hover-orange);
  border-radius: 30px;
}

.mantine-SegmentedControl-label {
  color: var(--main-color);
}

.mantine-SegmentedControl-control[data-active] label,
.mantine-SegmentedControl-labelActive:hover {
  color: white;
}

.mantine-SegmentedControl-control[data-active] label:hover {
  color: black;
}

.small .mantine-SegmentedControl-root {
  height: 30px;
}

.small .mantine-SegmentedControl-label {
  padding: 2px 6px;
}

.small .mantine-SegmentedControl-control {
  height: 22px;
}

#hand-dropdown .dropdown-toggle {
  border: 1px solid rgb(206, 212, 218);
  border-radius: 20px;
  height: 36px;
  width: 200px;
  color: black;
  background-color: white;
  padding: 0 12px;
}

#hand-dropdown > div[class*="dropdown-menu"] {
  overflow: auto;
  max-height: 200px;
  background-color: var(--bg-color);
}

.mantine-Notification-root {
  margin-top: 46px;
}

.highcharts-tooltip {
  pointer-events: auto !important;
}

.highcharts-tooltip > span {
  max-height: 250px;
  overflow-y: auto;
}

.mantine-Notification-closeButton svg {
  height: 12px;
  width: 12px;
}

.SingleDatePickerInput__withBorder {
  border: none;
}

.DateInput_input,
.mantine-DateInput-input {
  border: solid 1px var(--side-menu-color);
  border-radius: .5rem;
  height: 30px;

}

.highcharts-nodata {
  border: solid 1px red;
  padding: 10px;
  font-weight:bold;
  font-size: 15px;
  color: red;
}

.org-card {
  color: white;
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 8px;
  height: 46px;
  gap: 6px;
}

.org-tooltip {
  display:flex;
  width:600px;
  height: 250px;
  gap: 10px;

}
.org-tooltip-avatar {
  width: 250px;
  height: 250px;
}

.org-tooltip-divider {
  width: 2px;
  background-color: var(--side-menu-color);
}

.org-tooltip-bio {
  font-size: 12px;
  padding-left: 1rem;
  overflow: auto;
  text-wrap: auto;
}

.org-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.org-title {
  font-weight: bold;
  font-size: 13px;
}

.org-role {
  font-size: 10px;
  opacity: 0.85;
  text-wrap: auto;

}

.org-title-tooltip {
  font-weight: bold;
  font-size: 20px;
}

.org-role-tooltip {
  font-size: 14px;
  opacity: 0.85;
  font-style: italic;
}

.org-chart .highcharts-title {
  font-family: Deacon-Bold !important;
  font-size: 2.2em !important;
  font-weight: normal !important
}

.highcharts-data-label:has(.org-card) {
  height: 46px !important;
  min-width: 180px !important;
  max-width: 200px !important;
}

.highcharts-data-label:has(.org-card) span {
  top: -5px !important
}
