/* if add styles, add the bottom gets higher priority */
.loader {
	border: 16px solid #d1f0ff; /* Light grey */
	border-top: 16px solid #5fd8ff; /* Blue */
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
	margin-left: auto;
	margin-right: auto;
}

.pageloader {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 150px;
	margin-top: 200px;
	text-align: center;
	z-index: 9999999;
}

.pageloader .spinner > div {
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.pageloader .spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
	margin: 5px;
}
.pageloader .spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
	margin: 5px;
}
.pageloader .spinner .bounce3 {
	margin: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.agile-list-small li {
  background: #FAFAFB;
  border: 1px solid #e7eaec;
  margin: 0 0 2px 0;
  padding: 4px;
  border-radius: 4px;
  font-size: 14px;
}

.chosen-container {
    font-size: 14px;
}
.chosen-drop {
	box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
	padding-top: 4px;
}
.chosen-container .chosen-results li {
	border-radius: 2px;
}
.chosen-container .chosen-results li.highlighted {
    background-color: #0389b6;
}
.chosen-container-multi .chosen-results {
    margin-left: 4px;
	margin-right: 4px;
}
.chosen-container-multi .chosen-drop {
	padding-bottom: 4px;
}
.form-control {
    font-size: 14px;
}

.resureforce14 {
	font-size: 14px;
}

@media print {
   .resure-tool-bar {
     display:none;
   }
}

.resure-tool-bar {
	margin-right: 0px; 
	margin-left: 0px;
	border: 4px solid #ffffff;
	border-radius: 4px;
}
td.filter {
    padding: 4px;
}
.form-group.required .control-label:after {
  content:" *";
  color:red;
}

.resure-lighter-header {
	background-color: #6EA3DA;
}

th.resure-darker-table-header {
	background-color: #D5D5D5 !important;
}

input.resure-right-align {
	text-align: right;
}

.resure-bottom-align-row {
	position: relative;
}

.resure-bottom-align-col {
    position: absolute;
    bottom: 0;
    right: 0;
}

.resure-pointer {
    cursor:pointer;
}
.tab-header-highlight {
	background-color: #fce8b2 !important;
}
.tooltip.top .tooltip-arrow {
    bottom: -2px;
    margin-left: -7px;
    border-width: 7px 7px 0;
	border-top-color: #0389b6;
}
.tooltip.top-left .tooltip-arrow {
    margin-bottom: -7px;
    border-width: 7px 7px 0; 
}
.tooltip.top-right .tooltip-arrow {
    margin-bottom: -7px;
    border-width: 7px 7px 0;
}
.tooltip.right .tooltip-arrow {
	left: -2px;
	margin-top: -7px;
	border-width: 7px 7px 7px 0;
	border-right-color: #0389b6;
}
.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #0389b6;
}
.tooltip.left .tooltip-arrow {
	border-left-color: #0389b6;
	right: -2px;
	margin-top: -7px;
	border-width: 7px 0 7px 7px;
}
.toolbar-dropdown-button {
	background-color: #f1f1f1;
}
.toolbar-dropdown-menu {
	border: thin none !important;
	box-shadow: 0 4px 10px rgb(0 0 0 / 20%) !important;
	margin: 10px 0 0; 
	min-width: 240px;
	padding-top: 4px;
	padding-bottom: 4px;
}    
.toolbar-dropdown-item {
	margin-left: 4px;
	width: 232px;
	text-align: left;
	font-size: 14.5px;  /* Adjusts for reduced dropdown sizing */
    font-weight: 400;
    line-height: 1.4;
}
.toolbar-dropdown-item:hover {
	color: white;
	background-color: #0389b6 !important;
	border-radius: 2px;
}
.toolbar-dropdown-item[disabled] {
	opacity: 0.5;
}
.toolbar-dropdown-icon {
	margin-right: 10px;
	min-width: 20px;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
	background-color: #e5f3ff;
}
.table-alt-hover > tbody > tr:hover > td,
.table-alt-hover > tbody > tr:hover > th {
	filter: brightness(1.04) saturate(1.08);
}
.table-td-hover > tbody > tr > td:hover {
	background-color: #e5f3ff;
}
.child-entity-selected-row {
	background-color: #fff4c2;
	font-weight: 600;
	color: #2e4054;
}
.c3-tooltip th {
    background-color: #066eb1;
    font-size: 15px;
    padding: 4px 8px;
}
input[type="file"]::-webkit-file-upload-button {
	margin-right: 10px;
}
.heading-icon {
	margin-right: 6px;
}
.toolbar-icon-caption {
	margin-left: 6px;
}
.logon-status-highlight {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 16px;
}
.logon-status-highlight-success {
    background-color: #e6f4ea;
    border: 1px solid #add8b8;
	color: #1d7b21;
}
.logon-status-highlight-error {
    background-color: #fcecec;
    border: 1px solid #efbbbb;
	color: #a33c3c;
}
.logon-icon-success {
	font-size: 16px;
	margin-right: 8px;
}
.large-button {
	background: #f9f9f9;
	border: 1px solid #c5c5c5;
	cursor:pointer;
	text-align: center;
	border-radius: 8px 8px 8px 8px;
}
.large-button:hover {
	background: #f0f8ff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	border-color: #2caad4;
	color: #00426b;
}
.large-button h4 {
  margin-top: 6px;
  margin-bottom: 3px;
}
.large-button i {
  color: #0171a8;
}
.report-icon {
	color: #0389b6;
	vertical-align: middle;
	min-width: 28px;
}
.report-name {
	font-weight: 600;
	vertical-align: middle;
}
.report-description {
	vertical-align: middle;
}
.page-header-icon-lg {
    color: #0389b6;
    margin-right: 8px;
}
.hr-line-dropdown {
    border-top: 1px dashed rgb(0 0 0 / 12%);
    height: 1px;
    margin: 2px 4px;
}
.dropdown-menu .btn {
	background: none;
	border: none;
	padding: 8px 14px;
	line-height: 1.5; /* Adjustment to help match spacing */
}
/* Base link style – applies everywhere */
a {
	color: #1668ad;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}
/* Hover state – underline with spacing */
a:hover {
	color: #0d1d63;
	border-bottom-color: #0d1d63;
}
/* Override for Help/Notes section */
a.help-notes {
	font-weight: 600;
}

/* Adjustment so main menu is not affected */
a.myds-click {
	border-bottom: none !important;
}
/* Ensure consistent colour for space name and username */
a.dropdown-toggle .font-bold,
a.dropdown-toggle #menu-username {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

/* Prevent background colour change and text flicker on hover */
a.dropdown-toggle,
a.dropdown-toggle:hover,
a.dropdown-toggle:focus {
  background-color: transparent !important;
  color: inherit;
  text-decoration: none;
}

/* Explicitly prevent flicker for nested spans */
a.dropdown-toggle:hover .font-bold,
a.dropdown-toggle:hover #menu-username {
  color: #ffffff !important;
}
/* TOAST OVERRIDES */

#toast-container > div {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 12px 16px;
  position: relative;

  min-width: 220px !important;
  max-width: 280px !important;
  width: auto !important;
  white-space: normal !important;
}

/* Remove old white box */
#toast-container > div::before {
  content: none !important;
}

/* Toast message */
.toast-message {
  flex: 1;
  margin: 0;
  padding: 0;
  text-align: left;
    
}

/* Close button */
.toast-close-button,
button.toast-close-button {
  all: unset;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  opacity: 1;
  cursor: pointer;
  margin-left: 16px;
  line-height: 1;
}

.toast-close-button:hover,
button.toast-close-button:hover {
  opacity: 0.75;
}

/* Toast colours */
.toast-success {
  background-color: #28a745 !important;
}
.toast-error {
  background-color: #bd362f !important;
}
.toast-info {
  background-color: #0389b6 !important;
}
.toast-warning {
  background-color: #f0ad4e !important;
}

/* Responsive */
@media all and (max-width: 480px) {
  #toast-container > div {
    width: 90% !important;
  }
}
.hr-filter-divider {
	border-top: 1px dashed #c6cfd9;
	color: #ffffff;
	background-color: #ffffff;
	height: 1px;
	margin: 12px 0 20px 0;
}
a.help-notes {
    font-weight: 600;
}
.help-header .fas {
	margin-right: 4px;
	min-width: 16px;
	font-size: 0.9em;
}
.help-list {
	padding: 0 20px 0 20px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.help-list li {
	margin-bottom: 10px;
	line-height: 1.5;
}
.datepicker-dropdown:before, .datepicker-dropdown:after {
	display: none !important;
}
.datepicker-dropdown table {
	font-size: 13px;
}
.datepicker-dropdown table tr td, .datepicker-dropdown table tr th {
	padding: 3px 5px;
}
.datepicker-dropdown {
	padding: 5px;
}
.checkbox {
  font-size: 15px;
  color: #5c6a83;
  padding: 0;
  margin: 3px auto;
  vertical-align: middle;
  display: block;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.checkbox:hover {
  color: #1f2a38;         /* Slightly darker on hover */
  transform: scale(1.05);  /* Slight enlarge on hover */
}
.checkbox-double {
  line-height: 1;
  margin: 3px 8px 0 6px;        /* Slightly more margin on right than left */
  width: 20px;
  height: 20px;
  transform-origin: left center;
}
.small, small {
	font-size: 90% /* Overrides Bootstrap */
}
.modal-title {
	font-size: 15px;
}
.ibox-content-tighter {
    padding: 10px 20px 20px 20px;
}
tr.quick-search {
	background-color: #586f7e;
	color: #dedcd8;
}
.quick-search-wrapper { position: relative; }
i.quick-search-icon { position: absolute; top: 10px; left: 50px; }
span.quick-search {}

tr.quick-search:hover,
tr.quick-search:focus,
tr.quick-search:active,
tr.quick-search.active,
tr.quick-search:active:focus,
tr.quick-search:active:hover,
tr.quick-search.active:hover,
tr.quick-search.active:focus {
  background-color: #394B55;
  color: #dedcd8;
}
