body.loading #content {
  display: none;
}

.hide-important {
  display: none !important;
}


/* Start - flex Card and entity images */
.flex-header-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

/* push the header down to the bottom */
.flex-header-container h1,.flex-header-container h2,.flex-header-container h3,.flex-header-container h4,.flex-header-container h5,.flex-header-container h6 {
  /* margin: .5rem 0 0 0; */
  margin: 0;
}

.flex-header-item {
  margin-right: 10px;
  margin-top: auto;
  margin-bottom: auto;
}

.flex-header-item-right {
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  gap: 0.8rem;
}
/* End - Contact Card */



/* START Button with icon e.g. favourte button */
.icon-button {
  background-color: transparent;
  border: none;
  color: var(--nsw-text-dark);
  /* transform: scale(1.2); */
}
.icon-button:hover {
  transform: scale(1.2);  
  color: var(--bs-link-hover-color);
}

.icon-button--light {  
  background-color: transparent;
  border: none;
  color: var(--nsw-white);
}
.icon-button--light:hover {
  transform: scale(1.2);  
  color: var(--nsw-visited-light);
}


.header-icon-button {
  margin-top: 0.3rem;
  margin-right: 1rem;
}


/* END Button with icon e.g. favourte button */

.text-icon {
  display: inline-flex;
  align-items: anchor-center;
}

.text-icon--left .material-icons {
  padding-right: 5px;
}

.text-icon--right .material-icons {
  padding-left: 5px;
}




/* Start - Contact Card and entity images */ 
.entity-image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.entity-image:hover {
  transform: scale(1.2);
}

.entity-image-small {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.entity-image-small:hover {
  transform: scale(1.2);
  /* background: #f1f1f1; */
}

img[alt="Entity Image"] {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

img[alt="Entity Image"]:hover {
  transform: scale(1.2);
  /* background: #f1f1f1; */
}

/* Start - Contact Card */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, max-content)); /* Cards keep their natural width */
  gap: 2px 7px;
  justify-content: start; /* Aligns items without stretching */
 /* justify-content: space-between;  Adjust spacing */
}


.contact-card {
  transition: transform 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 10px; /* Space between image and text */
  padding: 4px 4px;
  border-radius: 8px;
  max-width: 250px;
  /* display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9; */
  /* width: 200px; */
  /* background: #f9f9f9;*/
  /* border: 1px solid #ddd; */
  /* border: 1px solid var(--nsw-off-white);  */
  /* box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); */
  /* box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); */
  /* background-color: var(--nsw-off-white); */
  /* color: var(--nsw-text-dark); */
}
.contact-card:hover {
  /* transform: scale(1.05); */
  /* background: #f1f1f1; */
  background-color: var(--nsw-off-white);
}
.contact-info {
  flex: 1; /* Allow text to take up remaining space */
  min-width: 0; /* Prevent overflow */
}
.contact-name {
  /* font-weight: bold;
  text-decoration: none;
  color: #0078d4;     */
  white-space: nowrap; /* Prevent wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

a.contact-name:hover {
  text-decoration: underline;
}

.contact-email {
  font-size: 0.75em;
  color: var(--nsw-grey-02);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block; /* Ensure email stays within card width */

  margin: 0; /* Override the default margin for a p element */
}
/* End - Contact Card */


.nsw-status-label {
  white-space: nowrap; /* Prevent wrapping */
}




/* START: Stepper Styles */
/* Custom styles for extending/overriding the default nsw-steps */
.qp-form-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qp-form-steps.nsw-steps:first-child {
  margin-top: 1rem;
}

/* because the steps don't contain the actual form. We need to add padding to put distance between them */
.qp-form-steps .nsw-steps__content {
  padding: 0 0 3rem 3rem;
}

.qp-form-steps.nsw-steps--small .nsw-steps__item::before {
  width: 2.25rem;
  height: 2.25rem;
  top: -0.33rem;
  left: -0.13rem;
}


.qp-form-steps .nsw-steps__item.completed::before {
  border-color: var(--nsw-brand-dark);
  background-color: var(--nsw-white);
}
.qp-form-steps .nsw-steps__item.completed::after {
  color: var(--nsw-text-dark);
  content: "\f00c";
  font: normal normal normal 18px/1 FontAwesome;
}

.qp-form-steps .nsw-steps__item.active::before {
  border-color: var(--nsw-brand-dark);
  background-color: var(--nsw-brand-dark);
}
.qp-form-steps .nsw-steps__item.active::after {
  /* color: var(--nsw-text-dark); */
  color: var(--nsw-text-light);
}








/* .qp-form-steps .nsw-steps__item.active:hover,.qp-form-steps .nsw-steps__item.disabled:hover {
  cursor: not-allowed;
} */

.qp-form-steps .nsw-steps__item.disabled::before {
  border-color: var(--nsw-grey-03);
  /* background-color: var(--nsw-grey-03); */
}
.qp-form-steps .nsw-steps__item.disabled::after {
  color: var(--nsw-grey-03);
  /* color: var(--nsw-text-light); */
}

/* this is the line coming down from the previous step */
.qp-form-steps .nsw-steps__item.disabled .nsw-steps__content::before {
  background-color: var(--nsw-grey-03);
}
/* Select the center element's previous siblings */
.qp-form-steps .nsw-steps__item:has(+ .nsw-steps__item.disabled) .nsw-steps__content::before {
  background-color: var(--nsw-grey-03);
}




.qp-form-steps .step-menu-title {
  font-weight: var(--nsw-font-normal);
  color: var(--nsw-text-dark);
  font-size: 1.1rem;
}

.qp-form-steps .step-menu-title > a {
  font-weight: var(--nsw-font-normal);
  color: var(--nsw-text-dark);
}

.qp-form-steps .nsw-steps__item.active .step-menu-title {
  font-weight: var(--nsw-font-heavybold);
}



.qp-form-steps .nsw-steps__item.disabled .step-menu-title {
  color: var(--nsw-grey-03);
}

/* don't extend the last step line down */
.qp-form-steps .nsw-steps__item:last-child .nsw-steps__content::before {
  background: none;
}

/* END: Stepper Styles */







/* You can apply this to a span element inside of a h1,h2 etc. to have inline sub text */
.header-inline-subtext {
  font-size: 0.8em;
  margin-left: 7px;
  color: var(--nsw-grey-02);
}

#step-heading {
  font-size: 1rem;
  color: var(--nsw-grey-02);
  margin-top: 0.8rem;
}



/* Associate button for sub grid */ 
/* make the button a bit tighter and not so large */

/* .classic-grid-sort-icon {
  margin-left: 0.5rem;
} */
th.sort-enabled span.fa {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: var(--nsw-grey-02);
}

a[href^="mailto:"] {
  color: var(--nsw-text-dark);
  text-decoration: none;
  cursor:default;
}






/* START custom lookup replacement styles */
.ts-wrapper .option .title {
	display: block;
}
.ts-wrapper .option .url {
	font-size: 12px;
	display: block;
	color: #a0a0a0;
}

.ts-wrapper.single {
  /* border: 1px solid #b0b4b9;
  border-radius: 4px; */
  display: flex;
  align-items: center;
  padding: 0;
  /* min-height: 48px;
  font-size: 16px; */
  font-family: inherit;
}

.ts-control {
  border: none;
  padding: 0 1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  background-color: white;
}

.ts-control input {
  padding: 0;
  margin: 0;
  /* font-size: 16px; */
}

.ts-dropdown {
  border: 1px solid #b0b4b9;
  border-top: none;
}

.ts-wrapper.single .ts-control::after {
  display: none; /* removes default caret */
}

.ts-wrapper .ts-control .nsw-button {
  border-radius: 0;
  height: 100%;
}


.ts-wrapper:not(.form-control,.form-select) {
  border: 1px solid var(--nsw-grey-01); /* override - match .nsw-form__input */
}

.ts-wrapper:not(.form-control,.form-select).single .ts-control {
  background-size: 1.1rem;
}

.ts-control {
  border: none;
  padding: 0.64rem 1rem; /* override - match .nsw-form__input */
}

.focus .ts-control {
  box-shadow: none;
}


.ts-control, .ts-wrapper.single.input-active .ts-control {
  background-color: inherit;
}

.full .ts-control {
  background-color: inherit;
  box-shadow: none;
}


.btn-ts-clear {
  min-width: auto;
  min-height: 2.84rem;
  border-left: none;
  border-width: 1px;
  border-radius: 0;
  padding: 0rem 0.3rem;
}

.btn-ts-advanced-search {
  min-width: auto;
  min-height: 2.84rem;
  padding: 0rem 0.35rem;
}

.ts-custom-wrapper {
  /* display: flex; */
  align-items: stretch;
}

.ts-custom-wrapper button:last-child {
  border-top-right-radius: var(--nsw-border-radius);
  border-bottom-right-radius: var(--nsw-border-radius);
}

.ts-custom-select-wrapper {
  position: relative;
  align-items: center;
  /* display: flex; */
  flex-grow: 1;
}

.btn-ts-clear .nsw-material-icons {
  font-size: 1rem;
  font-weight: var(--nsw-font-heavybold);
}

.ts-dropdown .active {
  background-color: var(--nsw-hover);
}

.ts-control, .ts-wrapper.single.input-active .ts-control {
  cursor: inherit;
}

.ts-wrapper.single .ts-control {
  cursor: default;
}

.ts-wrapper.single .ts-control input {
  cursor: text;
}

.ts-control .item {
  cursor: default;
}

.ts-dropdown [data-selectable] .highlight {
  /* background: none; */
  background: var(--nsw-palette-yellow-04);
  border-radius: 0;
  font-weight: var(--nsw-font-bold);
}

input::placeholder {
  /* font-style: italic; */
  color: var(--nsw-grey-02-2) !important;
  opacity: 1;
  font-size:  var(--nsw-font-size-xs-desktop);
}

.ts-wrapper.hide-dropdown-icon.single .ts-control {
  background-image: none !important;
}


.ts-wrapper.multi.has-items .ts-control {
  gap:0.3rem;
  padding: calc(.5rem - 1px) .75rem calc(.5rem - 4px);
}


.ts-wrapper.multi .ts-control>div {
  border-radius: calc(var(--bs-border-radius) - 1px);
  /* border-top-right-radius: calc(var(--bs-border-radius) - 1px);
  border-bottom-right-radius: calc(var(--bs-border-radius) - 1px);
  border-top-left-radius: calc(var(--bs-border-radius) + 0.5rem);
  border-bottom-left-radius: calc(var(--bs-border-radius) + 0.5rem); */
  padding: 1px 5px;
  min-height: 1.8rem;
  background: var(--nsw-palette-off-white);
}


/*.ts-wrapper .remove {
    margin-right: 0.5rem;
  transform: scale(1.3);
} */

.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
  border-left: 0px solid #dee2e6;
  margin-left: 5px;
  margin-right: 3px;
}

.ts-wrapper.plugin-remove_button .item .remove:hover {
  /* background: rgba(0,0,0,.05); */
  font-weight: bold;
  /* background: var(--nsw-palette-red-04);
  color: var(--nsw-status-error); */
  background: var(--nsw-status-error);
  color: var(--nsw-text-light);
}
.ts-wrapper.plugin-remove_button .item:has(.remove:hover) {
  /* background: rgba(0,0,0,.05); */
  /* background: var(--nsw-palette-red-04);
  color: var(--nsw-status-error); */
  /* background: var(--nsw-palette-red-04);
  color: var(--nsw-status-error); */
  background: var(--nsw-status-error);
  color: var(--nsw-text-light);
}



/* replicate the lookup control and remove the radius on the right side so that it aligns with the clear/search icon */
.nsw-form__input-group .nsw-form__input.ts-wrapper.single {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}


.ts-wrapper.disabled {
  background-color: var(--nsw-off-white); 
  color: var(--nsw-text-dark);
  /* cursor: not-allowed; */
}

.ts-wrapper.multi.disabled {
  /* background-color: var(--nsw-off-white); */
  color: var(--nsw-text-dark);
  /* cursor: not-allowed; */
  border: none;
  background-color: transparent;
}
.ts-wrapper.multi.disabled span {
  /* background-color: var(--nsw-off-white); */
  color: var(--nsw-text-dark) !important;
}





.ts-control>input {
  min-width: 0; /* default is 7rem which causes blank items onto a new line sometimes */
}




.ts-title {
	display: block;
}
.ts-subtitle {
	font-size: 0.8rem;
	display: block;
	color: var(--nsw-grey-02-2);
}



/* 
   Target the TomSelect wrapper when it's in the `loading` state.
   .ts-control is the default wrapper class; adjust if yours differs.
*/
.ts-control.loading {
  position: relative;       /* allow absolute spinner */
}

/* the actual spinner as a pseudo-element */
.ts-control.loading::after {
  content: "";
  position: absolute;
  right: 0.75em;
  top: 50%;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  background: url('/assets/spinner.svg') no-repeat center center;
  /* or use a CSS animation, font-icon, etc. */
}






/* END custom lookup replacement styles */






/* START custom task */
.qp-task {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-left: solid 4px var(--nsw-brand-accent);
  /* border-top: solid 1px var(--nsw-grey-03);
  border-bottom: solid 1px var(--nsw-grey-03);
  border-right: solid 1px var(--nsw-grey-03); */
  /* border-top: solid 1px var(--nsw-grey-03);
  border-bottom: solid 1px var(--nsw-grey-03);
  border-right: solid 1px var(--nsw-grey-03); */
}
.qp-task:first-child {
  margin-top: 0;
}

.qp-task__title {
  font-weight: var(--nsw-font-bold);
}
.qp-task-inlinesubtitle {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-weight: var(--nsw-font-normal);
}
.qp-task__content {
}

.qp-task__buttons {
  display: block;
  margin-top: 0.5rem;
}
.qp-task__buttons--inline {
  display: inline-flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  align-items: center;
}

/* custom so that we can make them a bit more like cards with status theming */
.qp-task--success {
  border-color: var(--nsw-status-success) !important;
  /* border-left: solid 4px var(--nsw-status-success) !important; */
  /* background-color: var(--nsw-status-success-bg) !important;

  /* Fallback for web browsers that doesn't support RGBa */
  background: var(--nsw-status-success-bg) !important;
  /* RGBa with opacity */
  background: rgba(var(--nsw-status-success-bg-rgb-opacity)) !important;
  /* background: rgba(229, 246, 230, 0.4) !important; */
}

.qp-task--error {
  border-color: var(--nsw-status-error) !important;
  /* border-left: solid 4px var(--nsw-status-error) !important; */
  background-color: var(--nsw-status-error-bg) !important;
  /* border-color: var(--nsw-status-error) !important; */

  
  /* Fallback for web browsers that doesn't support RGBa */
  background: var(--nsw-status-error-bg) !important;
  /* RGBa with opacity */
  background: rgba(var(--nsw-status-error-bg-rgb-opacity)) !important;
}

.qp-task--info {
  border-color: var(--nsw-status-info) !important;
  /* border-left: solid 4px var(--nsw-status-info) !important; */
  background-color: var(--nsw-status-info-bg) !important;
  /* border-color: var(--nsw-status-info) !important; */

  
  /* Fallback for web browsers that doesn't support RGBa */
  background: var(--nsw-status-info-bg) !important;
  /* RGBa with opacity */
  background: rgba(var(--nsw-status-info-bg-rgb-opacity)) !important;
}

.qp-task--warning {
  border-color: var(--nsw-status-warning) !important;
  /* border-left: solid 4px var(--nsw-status-warning) !important; */
  background-color: var(--nsw-status-warning-bg) !important;
  /* border-color: var(--nsw-status-info) !important; */

  
  /* Fallback for web browsers that doesn't support RGBa */
  background: var(--nsw-status-warning-bg) !important;
  /* RGBa with opacity */
  background: rgba(var(--nsw-status-warning-bg-rgb-opacity)) !important;
}




/* END custom task */









/* BEGIN: Custom cancel button for forms */
.no-cancel #ButtonFormCancel {
  display: none;
}
/* END: Custom cancel button for forms */




/* BEGIN: Custom auto complete input control styles */
.autocomplete-items li {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-items li:hover {
  background-color: #e9e9e9;
}
/* End: Custom auto complete input control styles */



/* Custom info message style for showing info on a page that isn't an alert */
.qp-info-message {
  font-style: italic;
  color: var(--nsw-grey-02);
}


/* BEGIN: Custom badges in the nsw design tabs which aren't supported by default */
.qp-tab-badge {
  margin-left: 0.5em;
  /* min-width: 1.5rem; */
  font-size: 0.7rem;
}


/* override the bootstrap danger colour for badges which is too bright of a red */
.qp-tab-badge.bg-danger {
  /* color: var(--nsw-text-light); */
  background-color: var(--nsw-status-error) !Important;
}


.qp-tab-badge .material-icons {
  font-size: 1rem;
  margin-right: 0.25em;
}

/* Fixes the alignment of the tab text when a material icon is used */
.nsw-tabs__list li span:not(.material-icons) {
  vertical-align:top;
}

/* override bootstrap float right */
.badge {
  float: none;
}
/* END: Custom badges in the nsw design tabs which aren't supported by default */

/* prevent breaking up the text within a file link */
.FileLink {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.no-break {
  white-space: nowrap;
}


.nsw-button:active {
  text-decoration: none;
}
.nsw-button:focus {
  text-decoration: none;
}

/* custom buttons */
.nsw-button--flex {
  min-width: auto;
}
.nsw-button > span:not(.material-icons) {
  vertical-align: middle;
}
/* custom for more compact buttons */
.nsw-button-compact {
  padding: 0.175rem 0.75rem;
  min-width: auto;
}
.nsw-button-compact-subgrid {
  padding: 0.05rem 0.75rem;
  min-width: auto;
}


/* button.nsw-button-custom-no-outline {
  background-color: transparent;
} */

button.nsw-button-custom-no-outline {
  background-color: transparent;
  color: var(--nsw-brand-dark);
}

.nsw-button-custom-no-outline span:not(.material-icons):hover {
  text-decoration: underline;
  background-color: var(--nsw-hover);
}
.nsw-button-custom-no-outline span:not(.material-icons):active {
  text-decoration: underline;
}

.nsw-button-custom-no-outline span:not(.material-icons):hover {
  text-decoration: underline;
  background-color: var(--nsw-hover);
}
.nsw-button-custom-no-outline span:not(.material-icons):active {
  text-decoration: underline;
}
.nsw-button-custom-no-outline:focus {
  outline: 0;
  outline-offset: 0;
  outline-offset: 0px;
  box-shadow: none;
  /*text-decoration: underline;
  background-color: var(--nsw-hover);
  color: var(--bs-link-hover-color);*/
}

.nsw-button-custom-no-outline:hover {
  color: var(--bs-link-hover-color);
}



.nsw-button-noxpadding {
  padding: 0.175rem 0rem;
}

/*
* START: Custom file manager styles
*/
/* .containerforfile
{
  display:flex;
  margin-bottom:30px; 
}
.btn-for-file
{
  margin-right:10px;
}
.file-name
{
  padding-top:6px;
}
.fileinput
{
  margin-right:10px;
}
.container-progress
{   
  width: 70%;
  max-width: 400px;  
  margin-top: 10px;   
  position: relative;
} 
.parent-progress
{    
  width: 100%;    
  background-color: #2f5fef;    
  height: 30px;    
  margin-top: 25px;    
  margin-bottom: 20px;
} 
.child-progress
{    
  width: 0%;    
  background-color: #53b453;    
  height: 100%;
} 
.prog 
{    
  position: absolute;  
  display: block;   
  right: 0; 
}


.file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-entry {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  background: #f9f9f9;
}
.file-entry button {
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
} */


.containerforfile
{
  display: flex;
  align-items: center; 
}

.file-list {
  display: flex;
  flex-direction: column;
}

.file-list > .file-entry:first-child {
  margin-top:1rem
}

.file-list > .file-entry:last-child {
  margin-bottom: 1rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   FILE ENTRY STYLING (subtle bottom bar for “in‐progress”) 
   ────────────────────────────────────────────────────────────────────────── */
/* .file-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  position: relative; so that the progress bar at bottom can be absolutely placed
  border-bottom: 1px solid #E0E0E0;
} */


.file-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.1rem 0;
  position: relative;
  background-color: var(--nsw-white);
}



/* truncated filename + “(0.06 MB) */
.file-detail {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  overflow: hidden;
}

.file-detail > .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    max-width: 100%; /* set to a value like 200px if we want it truncated with ... */
}

.file-detail > .file-size {
  font-size: 0.9rem;
  color: var(--nsw-grey-02-2);
}


/* ──────────────────────────────────────────────────────────────────────────
   PROGRESS BAR (thin, absolute at the bottom of each .file-entry)
   ────────────────────────────────────────────────────────────────────────── */
.file-entry .file-progress-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;                /* very thin */
  background-color: var(--nsw-off-white);  /* light gray track */
  display: none;              /* shown when JS sets display = 'block' */
  overflow: hidden;
  z-index: 5;
}

.file-entry .file-progress-wrapper > .file-progress-progbar {
  height: 100%;
  width: 0%;                  /* grows from 0 → 100% */
  background-color: var(--nsw-status-success);  /* dark green fill */
  transition: width 0.2s ease;
}

/* The “xx%” label */
.file-entry .file-progress-label {
  position: absolute;
  bottom: 6px;          /* 4 px above the bottom edge, so it sits just above the bar */
  right: 8px;
  font-size: 12px;
  color: var(--nsw-status-success);
  display: none;         /* shown when JS sets display = 'block' */
  background: var(--nsw-off-white);
  padding: 0 2px;
  border-radius: 2px;
  z-index: 6;
}

/* The top row (the file name + remove button) */
.file-entry > div:nth-child(1) {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.disabled-attachment * {
  background-color: var(--nsw-off-white) !important;
  color: var(--nsw-grey-02-2) !important;
  /* font-style: italic; */
}

#loading {
  margin-top:1rem;
  margin-bottom:1rem;
}



/* Hidden initially; shown once upload starts 
.file-entry .file-progress-wrapper {
  display: none;
  position: relative;
  height: 8px;
  background-color: var(--nsw-white);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
  width: 100%;
}*/
 /* 
.file-entry .file-progress-wrapper > .file-progress-progbar {
 The green “fill” inside the gray bar 
  width: 0%;
  height: 100%;
  background-color: var(--nsw-palette-green-02);
  transition: width 0.2s linear;
}*/
 /* 
.file-entry .file-progress-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--nsw-white);
  display: none;shown when upload starts
} */ 



/* The trash/delete button 
.btn-remove-file {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
}*/




/* #attachments{
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
#attachments td,
#attachments th {
  border: 1px solid #ddd;
  padding: 8px;
}
#attachments tr:nth-child(even) {
  background-color: #f2f2f2;
}
#attachments tr:hover {
  background-color: #ddd;
}
#attachments th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #2f5fef;
  color: white;
} */

/*
* END: Custom file manager styles
*/


.qp-dropdown-menu .dropdown-toggle::after {
  display: none;
}



.qp-dropdown-menu .dropdown-item {
  color: var(--nsw-text-dark);
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--nsw-text-light);
}

.qp-dropdown-menu li {
  margin-top: 3px !important;
}

.qp-dropdown-menu a.dropdown-item:hover {
  text-decoration: none;
}
  

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover,
.dropdown-menu>li>a, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}



/* override container width to fill full modal */
.qpModalContainer {
  max-width: 100%;
}



a[title="Associate"] {
  color: var(--nsw-brand-dark) !important;
  background-color: var(--nsw-white) !important;
  border-color: var(--nsw-brand-dark) !important;
  padding: 0.05rem 0.75rem !important;
  min-width: auto !important;
  min-height: 0rem !important;
}
a[title="Associate"]:visited {
  color: var(--nsw-brand-dark) !important;
}
a[title="Associate"]:focus {
  outline-color: var(--nsw-focus) !important;
}
a[title="Associate"]:hover {
  color: var(--nsw-text-light) !important;
  background-color: var(--nsw-brand-dark) !important;
  border-color: transparent !important;
}
a[title="Associate"]:hover:not([disabled]) .nsw-material-icons {
  color: var(--nsw-text-light) !important;
} 
a[title="Associate"]:active {
  color: var(--nsw-text-light) !important;
  background-color: var(--nsw-brand-dark) !important;
  border-color: transparent !important;
}
a[title="Associate"]:active .nsw-material-icons {
  color: var(--nsw-text-light) !important;
}
a[title="Associate"]:disabled, a[title="Associate"].disabled {
  color: var(--nsw-brand-dark) !important;
  background-color: var(--nsw-white) !important;
  border-color: var(--nsw-brand-dark) !important;
  cursor: not-allowed !important;
}

a[title="Associate"] .nsw-material-icons {
  color: var(--nsw-brand-dark) !important;
}



.environment-header {
  font-size: var(--nsw-font-size-lg-desktop);
  margin-left: 5rem;
  font-style: italic;
}

.environment-header--PROD {
  color: var(--nsw-white);
}
.environment-header--PREPROD {
  color: #708090;
}
.environment-header--UAT {
  color: #00796B;
}
.environment-header--TST {
  color: #C0392B;
}
.environment-header--DEV {
  color: #3CB371;
}




 .element-loader {
  margin: 20px auto;
  text-align: center;
  width: -moz-fit-content;
  width: fit-content;
}
/*
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */
