div.resolved>div>input {
  color: #fff !important;
  background-color: #004085 !important;
  border-color: #ffc107 !important;
  text-align: center;
  border-width: thick;

}

.EhsHeaderCls {
  background-color: #0032ff !important;
  ;
  border-bottom-color: #2d2d2d !important;
  color: #fff !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* padding: 10px 0; */
  z-index: 1000;
}

.Ehsnavbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 20px;
  /* padding: $navbar-padding-y $navbar-padding-x; */
}

.Ehsnavbar .container,
.Ehsnavbar .container-fluid {
  display: contents !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.Ehsnavbar .container,
.Ehsnavbar .container-lg,
.Ehsnavbar .container-md,
.Ehsnavbar .container-sm,
.Ehsnavbar .container-xl {
  max-width: 1200px !important;
}

/* Assuming you have defined $container-max-widths as a SCSS variable, you can't directly use it in CSS */
/* You may need to manually set the max-width values for each breakpoint if not using SCSS variables. */

@media (min-width: 576px) {
  .Ehsnavbar>.container-sm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .Ehsnavbar>.container-md {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.bg-black {
  background-color: #0032ff !important;
}

.additionaldetailsPanel>div>div>span>i.formio-collapse-icon {
  color: #fff !important;
}

.additionaldetailsPanel>div>div>span>i.fa-question-circle {
  color: #e0e0e0 !important;
}

.col-form-label {
  font-size: 20px !important;
  font-weight: 500;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1200px !important;
  display: contents !important;
}

.header-wrap .ag-header-cell-label {
  white-space: normal;
  word-wrap: break-word;
}

.custom-header-row .ag-header-cell {
  background-color: #0032ff !important;
  color: #f5fdfc !important;
  font-size: 14px !important;
}

.custom-header-row .ag-header-cell:hover {
  background-color: #649bdd !important;
  color: #f5fdfc !important;
  font-size: 14px !important;
}

.custom-header-row .ag-header-cell .ag-header-icon {
  color: white;
}

.custom-header-row .ag-header-cell .ag-header-filter-icon {
  filter: invert(100%);
}

.ag-cell-label-container .ag-header-icon .ag-header-cell-menu-button .ag-icon .ag-icon-menu {
  color: f5fdfc !important;
}

.ag-row-odd {
  background-color: #e9edf4 !important;
}

.btn-primary {
  background-color: #0032ff !important;
  border-color: #0032ff !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.fa-edit {
  color: #0032ff !important;
}

.col-md-6>h5 {
  margin-top: 5px;
  margin-bottom: 0px;
}

.page-select {
  width: 75px !important;
  height: 35px !important;
  margin-left: 10px !important;
}

a[ng-reflect-router-link="../"] {
  display: none;
}

.dv-search {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dv-search>#ddlSiteDropDown {
  width: 250px;
}

.jumbotron {
  padding: 2rem 2rem !important;
}

input[name="data[isAdmin]"] {
  visibility: hidden;
}

input[name="data[isAdmin]"]+span {
  display: none;
}

/* // component with custom class name .customCSS will have this property set */
.customCSS .form-radio div:nth-child(1) span {
  background-color: green;
  color: white;
}

.customCSS .form-radio div:nth-child(2) span {
  background-color: yellow;
}

.customCSS .form-radio div:nth-child(3) span {
  background-color: red;
  color: white;
}


div.escalation-edit>label {
  padding: 0;
  font-size: 14px !important;
}

div.escalation-edit>div>input {
  padding-top: 0;
  padding-bottom: 0;
  height: 30px;
  font-size: 13px;
}

div.escalation-edit>div>textarea {
  padding-top: 0;
  padding-bottom: 0;
  height: 50px;
  font-size: 13px;
}

div.escalation-edit>div>div {
  padding-top: 6px;
  padding-bottom: 0;
  /*height: 30px;*/
  font-size: 13px;
}

div.escalation-edit {
  margin-bottom: 5px;
}

div.escalation-edit-date>label {
  visibility: hidden;
}

div.escalation-edit-date>div {
  visibility: hidden;
}

div.cssHideControlDisplay>div {
  display: none;
}


div.formio-component-escalationSummary div.card-header {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 15px;
  background-color: #0069d9 !important;
  font-weight: 600
}

div.formio-component-escalationSummary div.card-body {
  padding: 6px 5px 0px 5px;
}

div.formio-component-escalationSummary div.card.border {
  border: none !important;
}

div.container ng-component>h3 {
  font-size: 22px;
}

div.formio-component-escalationDetails1 div.card-header {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 15px;
  background-color: #0069d9 !important;
  font-weight: 600
}

div.formio-component-escalationDetails1 div.card.border {
  border: none !important
}

div.formio-component-escalationDetails1 div.card-body {
  font-size: 14px;
  padding-left: 5px;
  padding-right: 5px;
}

div.formio-component-escalationDetails1 div.card-body ul>li.list-group-item:not(:first-child) {
  padding-top: 6px;
  padding-bottom: 3px;
}

div.formio-component-escalationDetails1 div.card-body ul>li.list-group-header>div {
  padding: 6px !important;
  font-weight: 500 !important;
}

input.ag-text-field-input,
input.ag-input-field-input {
  color: black !important
}

div.formio-dialog-content {
  min-height: 330px;
}

div.escalation-edit>div>div input {
  padding-top: 0px;
  padding-bottom: 0;
  height: 30px;
  font-size: 13px;
}

div.escalation-edit>div.checkbox {
  margin-top: 21px;
  padding: 5px 12px 5px 35px;
  margin-right: 10px;
  border: 1px solid #ced4da;
  font-size: 14px;
}

.form-control:not(textarea) {
  height: 34px !important;
  font-size: 14px !important;
}

textarea.form-control {
  height: auto;
  font-size: 14px !important;
}

div.form-control.ui.fluid.selection.dropdown {
  height: auto !important;
}

.col-form-label {
  font-size: 14px !important;
  padding: 2px 0px !important;
}

h3 {
  font-size: 18px !important;
  margin-bottom: 14px !important;
}

.tippy-box,
.tippy-content {
  font-size: 13px !important;
}

.formio-errors {
  font-size: 13px !important;
  margin-top: -3px !important;
}

div.choices__item--selectable {
  align-items: center;
}

div.choices__list>div.choices__item {
  /* height: 34px !important; */
  font-size: 14px !important;
}

div.choices__list>input.choices__input {
  /* height: 34px !important; */
  font-size: 13px !important;
}

div.choices__list>div.choices__item--choice {
  display: flex;
  align-items: center;
  /* Vertically center the content */
  font-size: 13px !important;
}

.fileSelector {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
}

div.formio-component-referenceImages>div:has(div) {
  display: flex;
  border: 2px dotted #ced4da;
  margin-bottom: 10px !important;
  padding: 10px;
  overflow-x: scroll;
}

div.formio-component-referenceImages>div span {
  margin-right: 10px;
  display: flex;
}

div.formio-component-referenceImages>div img {
  margin-bottom: 10px;
}

div.formio-component-panel {
  margin-top: 20px !important;
}

div.formio-component-panel div.card-body {
  padding-bottom: 10px !important;
}

.formio-component-container {
  margin-bottom: 0px !important;
}

div.field-wrapper>div.field-label {
  flex: 18 !important
}

.form-check-label {
  font-size: 14px !important;
  font-weight: 500 !important;
}

div.formio-component-panel div.card-header {
  padding-top: 5px;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  /* background-color: #8aa9c1 !important; */
}

div.formio-component-panel div.bg-warning {
  background-color: #e0a800 !important;
  border-color: #e0a800 !important;
}

div.formio-component-panel div.bg-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

div.formio-component-content {
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 5px 5px 0px 15px;
  background-color: #f0f6f5;
  color: #666 !important;
  margin: 10px 0px;
}

div.formio-component-instructions {
  padding: 0px !important;
  background-color: #fff !important;
  border: none !important;
  margin: -10px 0px !important
}

div.formio-component-instructions p {
  margin-bottom: 0px !important;
}

.pd0 {
  padding: 0px !important;
}

.pdr0 {
  padding-right: 0px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.p5 {
  padding: 5px !important;
}

.clsAlertdiv {
  background-color: rgb(234 54 66);
  padding: 5px;
  text-align: center;
  font-size: 17px;
}

div.clsAlertdiv>a {
  color: #d7d7ff;
  font-weight: 500;
  text-decoration: underline;
}

.container-main {
  margin-top: 50px;
  max-width: 1200px !important
}

.div-header {
  text-align: left !important;
  margin-bottom: 5px !important;
}

.text-ul {
  text-decoration: underline;
}

.clsdashboard {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mt25 {
  margin-top: 25px !important;
}

.btn-home {
  width: 165px;
}

.mb10 {
  margin-bottom: 10px;
}

.dv-load {
  margin: 0px auto;
  width: 120px
}

.adustmenu>li.nav-item.active {
  background-color: #1a01c4 !important;
}

.adustmenu>li.nav-item:hover {
  background-color: #1a01c4 !important;
}

.nav-link {
  color: rgba(255, 255, 255, 1.5) !important;
}
.wrapper {
  min-height: 100% !important;
  flex: 1;
}

.bottom {
  margin-bottom: 0;
}

.end {
  text-align: center;
  font-size: 11px;
  color: black;
  font-weight: 600;
}

.mainWrapper {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

.appContent {
  flex: 1;
}

.footerBottom {
  padding-top: 0 !important;
  margin-top: 1.5rem !important;
  border-top: 1px solid #006dc4 !important;
  font-size: 13px !important;
  justify-content: center !important;
  width: 100% !important;
  display: flex !important;
  background-color: #3152f8 !important;
  border-radius: 5px !important;
  color: white !important;
  font-weight: bold !important;
}

div.footerBottom>p {
  margin-bottom: 0px !important;
  padding: 5px 0px 10px 0px !important;
}

.email-wrap {
  max-width: 240px;
  overflow-wrap: anywhere;
}

/* save as draft spin disable*/
/* button[name="data[draft]"]>i.fa-refresh,
button[name="data[injuryDraft]"]>i.fa-refresh,
button[name="data[illnessDraft]"]>i.fa-refresh,
button[name="data[fireDraft]"]>i.fa-refresh,
button[name="data[environmentDraft]"]>i.fa-refresh,
button[name="data[securityDraft]"]>i.fa-refresh,
button[name="data[naturalDraft]"]>i.fa-refresh,
button[name="data[motorDraft]"]>i.fa-refresh,
button[name="data[propertyDraft]"]>i.fa-refresh,
button[name="data[regulatoryDraft]"]>i.fa-refresh,
button[name="data[equipmentDraft]"]>i.fa-refresh,
button[name="data[communityDraft]"]>i.fa-refresh,
button[name="data[rcaDraft]"]>i.fa-refresh {
  display: none;
} */

.card-header .nav-tabs .nav-item a.nav-link {
  color: black !important;
  /* Additional styles can be added here */
}

div.hidedate {
  display: none !important;
}

/* site filter dropdown styles*/

.ng-select .ng-select-container {
  max-height: 54px;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container {
  flex-wrap: nowrap !important;
}

.ng-select .ng-select-container {
  overflow: auto !important;
  overflow-y: hidden !important;
}

div.clearFilters {
  align-items: center;
  text-align: right;
  padding-right: 15px;
  padding-top: 12px;
}

.clearFilters a i {
  margin-top: -5px !important;
}

div.clearFilters>a {
  align-items: center;
  font-size: 15px;
  /* text-decoration: underline; */
  color: #0032ff;
  font-weight: 500;
}

.field-required:after {
  font-size: 20px;
}

/* addoredit css */
.routeLinkCls {
  background-color: white;
  color: blue;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid #fff;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 400px;
}

.error {
  color: red;
}

.success {
  color: green;
}

.non-clickable-form {
  pointer-events: none;
}

.renderbodyContent {
  margin: 0px 80px;
  /* padding-top: 70px; */
}

.headerMenumargin {
  margin: 0px 60px;
}

/* Ensure the nav-tabs are styled correctly */
.custom-tabs .nav-item .nav-link {
  cursor: pointer;
  background-color: #e3f2fd !important;
  /* Light blue background */
  border: 1px solid #90caf9 !important;
  /* Medium blue border */
  color: #0d47a1 !important;
  /* Dark blue text color */
  transition: background-color 0.3s, color 0.3s;
  font-size: 18px !important;
  color: #007bff !important;
  padding-bottom: 3px
}

.custom-tabs .nav-item .nav-link:hover {
  background-color: #90caf9 !important;
  /* Medium blue for hover */
  color: #0d47a1 !important;
}

.custom-tabs .nav-item .nav-link.active {
  background-color: #ffffff !important;
  /* White background for active tab */
  border-color: #dee2e6 #dee2e6 #ffffff !important;
  /* Adjust border to blend with content */
  color: #0d47a1 !important;
  font-size: 18px !important;
  padding-bottom: 4px
}


/* Override existing styles for tab content */
.custom-tab-content .tab-pane {
  padding: 14px !important;
  border: 1px solid #dee2e6 !important;
  /* Light border */
  border-top: none !important;
  /* Remove top border to blend with tabs */
  background-color: #ffffff !important;
  /* White background for content */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 4px
}

.custom-tab-content .tab-pane.active.show {
  display: block !important;
}

.custom-tab-content .tab-pane:not(.active) {
  display: none !important;
}

.divkpidashboard {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  margin:
    bottom 56px;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 0;
}

.divdashboard {
  top: 50px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 0;
}

i.fa.fa-times-circle-o::before {
  content: "\f05c";
}

.safetymapcss>ul>.list-group-header {
  display: none;
}

.safetymapcss>ul>.list-group-item {
  border: none;
  text-align: center;
}

.safetymapcss>ul>.list-group-item>div>.col-md-2 {
  display: none;
}

.Custom-Permit-tab .nav-link.active {
  color: #828980 !important;
  background-color: #fff;
  border-top: #131314e4 solid !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-weight: bolder;

}

.Custom-Permit-tab .card-header .nav-tabs .nav-item a.nav-link {
  color: #59973a !important;
}

.Custom-Permit-tab .card-header .nav-tabs .nav-item a.nav-link.nav-link.active {
  color: #828980 !important;

}

.Custom-Permit-tab .nav-link-vertical {
  display: block;
}

.Custom-Permit-tab .nav-link-vertical.active {
  border-right: 2px #373a36 solid !important;
  border-top: 1px #dee2e6 solid !important;
}

.Custom-Permit-tab .nav-tabs .nav-link {
  margin-bottom: -1px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid rgba(0, 0, 0, 0);
}

.Custom-Permit-tab .card-header .nav-tabs .nav-item a.nav-link:not(.active):hover {
  background-color: #dee2e6 !important;
}

.Custom-Permit-tab .card-header .nav-tabs .nav-item a.nav-link.active:hover {
  background-color: none !important;
  border-right: 1px #373a36 solid !important;
}

.Custom-Permit-tab .nav-tabs-vertical {
  border-right: 1px solid #f7f7f7 !important;
}

.custom-height {
  height: 45px;
}

.counters {
  display: flex;
  justify-content: space-between;
}

.counter-card {
  border: 1px solid #ffc2cb;
  font-family: inherit;
  text-align: center;
  background-color: #feecec;
  border-radius: 8px;
  padding: 12px 19px 12px 19px;
  margin-left: 45px;
  margin-bottom: 15px;
  box-shadow: 0 16px 20px rgba(18, 51, 76, 0.06);
  transition: background-color 0.3s;
}

.counter-card:hover {
  transform: scale(1.01);
  ;
}

.counter-card>.counter-header>.title {
  font-weight: 600;
  padding-top: 10px;
  font-size: 14px;
  margin-left: 0;
  line-height: initial;
  text-align: initial;
  word-break: normal;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.counter-card>.counter-number {
  text-decoration: none;
  padding-top: 5px;
  cursor: pointer;
  color: #cd2629;
  font-weight: 700;
  font-size: 32px;
  font-family: inherit;
  text-align: initial;
}

.counter-card>.counter-header>i {
  color: #cd2629;
  margin-top: 13px;
  margin-left: 13px;
  margin-right: 5px;
  font-size: large;
}

.counter-card>.counter-number:hover {
  text-decoration: underline #0032ff;
}

.counters>.active>.counter-number {
  color: #0032ff;
  text-decoration: underline #0032ff;
}

.loading-spinner {
  display: inline-block;
  border: 4px solid rgba(0, 0, 0, 0.1);
  /* Light grey border */
  border-top: 4px solid #0918f1;
  /* Blue border */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

.formio-component-departmentManager {
  margin-top: 13px;
}

.custom-checkbox-label {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: #007bff;
}

.action_newResourceTitle {
  padding: 6px 5px;
  margin-left: -100px;
}

.action_exportToCSV {
  padding: 6px 5px;
}

.spinner-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  width: 10%;
  height: 10%;

}

.custom-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.custom-loading-spinner {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #0918f1;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}

.Delete-custom-link {
  font-weight: 500;
  color: #0918f1;
  ;
}

.Note-Delete {
  margin-top: -38px;
}

.popup-content-Delete {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: auto;
  white-space: pre-line;
}

.formio-component-po_shutdownDuration .choices[data-type*=select-one] .choices__button,
.formio-component-po_isPowerLossDueTo .choices[data-type*=select-one] .choices__button,
.formio-component-po_restorationTime .choices[data-type*=select-one] .choices__button {
  display: none;
}



@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

a[ng-reflect-router-link="register"] {
  display: none;
}

a[routerlink="register"] {
  display: none;
}

.counter-header {
  display: flex;
}

.first-counter {
  margin-left: inherit;
}

.hide {
  display: none
}

.formio-component-recurringDetails {
  overflow-y: scroll !important;
  max-height: 300px !important;
}

.incident-table-container {
  max-height: 400px;
  overflow-y: auto;
}

.incident-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.incident-table th,
.incident-table td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
}

.incident-id-column {
  width: 20%;
}

.date-reported-column {
  width: 20%;
}

.similar-incident-column {
  width: 18%;
}

.incident-link {
  color: blue;
}

.note {
  color: red;
  font-size: 16px;
}

.delete-btn {
  color: red;
  cursor: pointer;
}

.actionPlanButtonCSS>button {
  background-color: white !important;
  font-size: 17px !important;
  color: #0032ff;
  border: none !important;
  text-decoration: underline #0032ff !important;
  padding-left: 0px;
}

.actionPlanButtonCSS>button:hover {
  color: #0032ff;
  text-decoration: underline #0032ff !important;
}

.safetymapcss img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This ensures the image maintains its aspect ratio */
}

.casualFactorGridCSS>table>thead>tr>th:last-child {
  width: 8%;
}

.casualFactorGridCSS>table>thead>tr>th:nth-child(3) {
  width: 18%;
}

.casualFactorGridCSS>table>thead>tr>th:first-child {
  width: 25%;
}

.Custom-Permit-tab>div>div.card-header {
  background-color: #007bff !important;
  color: #fff !important;
  padding-bottom: 11px;
}

.Custom-Permit-tab>div>div>ul>li>a.nav-link.active {
  background-color: #fff !important;
}

.Custom-Permit-tab>div.card>div.card-header>ul.nav-tabs>li.nav-item>a.nav-link.nav-link.active {
  background-color: #fff !important;
  color: #007bff !important;
}

.Custom-Permit-tab>div.card>div.card-header>ul.nav-tabs>li.nav-item>a.nav-link.nav-link {
  color: #fff !important;
}

.Custom-Permit-tab>div.card>div.card-header>ul.nav-tabs>li.nav-item>a.nav-link:not(.active):hover {
  background-color: #713dd2 !important;
}

.questionnaire>div>div>span>i.formio-collapse-icon {
  color: #fff !important;
}

.questionnaire>div>div>span>i.fa-question-circle {
  color: #e0e0e0 !important;
}

.tab_hightlight {
  border-color: #6a5acd !important;
  transition: height 1.5s ease !important;
}


.Incident_Decl_headings,
.Incident_Decl_table_rows {
  border: 1px solid #dee2e6;
  border-right: 0;
  margin: 0px 2px 0px 2px !important;
  box-sizing: border-box;
  border-radius: 0.25rem;
  max-width: 100% !important;
}

.Incident_Decl_table_rows {
  border-top: 0;
}

/* Column styles (applying to each component inside the row) */
.Incident_Decl_headings>*,
.Incident_Decl_table_rows>* {
  border-right: 1px solid #dee2e6;
  box-sizing: border-box;
}

.Incident_Decl_components {
  margin-top: 14px !important;
}

.non-reporting-manager-banner {
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: red;
  text-align: center;
  height: 35px;
  padding: 5px;
}

.non-reporting-manager-banner a {
  color: yellow;
  text-decoration: underline;
}

/* History Styles */


.submission-history-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.history-navpage-link {
  position: fixed;
  right: 45px;
  /* padding: 80px; */

}

.history-navpage-link-Incident {
  position: fixed;
  right: 1px;
  margin-right: 82px;

}

  .history-navpage-link a {
    font-size: 16px;
    color: #0032ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-right: 24px;
  }

.history-navpage-link-Incident a {
  font-size: 16px;
  color: #0032ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  
}

.history-navpage-link a:hover {
  text-decoration: underline;
}

.history-navpage-link-Incident a:hover {
  text-decoration: underline;
}

.modal-overlay-history {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);

  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.close-btn-history {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.modal-body-history {
  padding: 10px 0;
  max-height: 400px;
  overflow-y: auto;
}

.modal-header-custom-history {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 10px;
}

.close-button-custom {
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
}

.modal-content-custom-history {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 80%;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-top: 70px;
}

.pagination-button-custom {
  padding: 8px 15px;
  border: 1px solid #003f99;
  background-color: #0032ff !important;
  color: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.pagination-button-custom:disabled {
  background-color: #c0c0c0;
  cursor: not-allowed;
}

.pagination-button-custom:hover:not(:disabled) {
  background-color: #002b6d;
}

.pagination-info-custom {
  margin: 0 15px;
  font-size: 14px;
  color: #333;
}

.pagination-controls-custom {
  margin-top: 15px;
  text-align: center;
}

.pagination-controls-custom button {
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
}

.pagination-controls-custom button:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
}
 .error-message-history {
    color: red;
    font-size: 1em;
    position: bottom;
    top: 100%;
    text-align: center;
    margin-top: 2px;
  }

/* History Styles */
#divhelptext {
  border-radius: 10px;
  padding: 15px 15px 0;
  margin: 15px 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.help-text-content {
  flex-grow: 1;
}

.help-text-heading {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.close-icon {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Distinct Colors for Each Status */
.status-draft {
  background-color: #f5f5f5;
  border: 1px solid #adb5bd;
  color: #495057;
}
.status-in-review {
  background-color: #fef7e0;
  border: 1px solid #ffd400;
  color: #b38b00;
}

.status-approved {
  background-color: #e6f7e5;
  border: 1px solid #28a745;
  color: #1d5e24;
}

.status-work-start {
  background-color: #e8f4ff;
  border: 1px solid #007bff;
  color: #0056b3;
}

.status-rejected {
  background-color: #ffe8e8;
  border: 1px solid #dc3545;
  color: #841b2d;
}

.status-closed {
  background-color: #c974745c;
  border: 1px solid #df6d78;
  color: #4e3232;
}

/* Fallback for unknown or default status */
.status-default {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #6c757d;
}
button[name="data[permitSubmit]"]>i.fa-refresh {
display: none;
}

.help-icon {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  color: #0032ff;
  font-size: 21px;
  top: 10px;
  left: 13px;
}

.help-icon:hover .helptooltip {
  visibility: visible;
  opacity: 1;
}

.helptooltip {
  font-size: 12px !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  bottom: 125%; /* Position above the icon */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
  white-space: nowrap;
}

.helptooltip::after {
  content: "";
  position: absolute;
  top: 100%; /* Arrow pointing downward */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.search-box {
  font-size: 16px !important;
  padding: 10px !important;
  border: 2px solid #ccc !important;
  border-radius: 4px !important;
  margin-bottom: 15px; 
  width: 575px !important;
}

.csmViewDocumentsCSS{
  text-align: right;
  font-size: 20px;
}
.CT-isopentrainingcontent {
    display: flex;
    align-items: center;
    position: fixed;  
    left: 80%;  
    top: 94px;
  }
  
  /* landing Page Styles */
.ctcecontainer {
  border: 1px solid lightblue;
  padding: 7px;
  border-radius: 10px;
}

.ctcounter-card {
  background: #f7f7f7; /* Light red background */
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #f5c6c6; /* Light red border */
  text-align: center;
  transition: 0.3s ease-in-out;
}

.ctcounter-header {
  height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.ctcounter-header i {
  color: #d9534f; /* Red warning icon */
  font-size: 18px;
}

.ctcounter-number {
  font-size: 28px;
  font-weight: bold;
  color: #d9534f; /* Red text for urgency */
  text-decoration: none;
  display: inline-block;
}



.comment-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
}
.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.comment-name {
  font-weight: bold;
}
.comment-actions {
  display: flex;
  gap: 10px;
}
.comment-time {
  font-size: 0.8em;
  color: gray;
}
.comment-message {
  margin-top: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.alert-card {
  background: #fdecec; /* Light red for alerts */
  border: 1px solid #f5c6c6;
}
.show-more {
  color: blue;
  cursor: pointer;
  font-size: 0.9em;
}

.mylandingalertMessages>ul{
  max-width: 900px;
  max-height: 272px;
  margin: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid lightblue;
  border-radius: 10px;
}
.myLandingGlobalMessages>ul{
  max-width: 900px;
  max-height: 602px;
  margin: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid lightblue;
  border-radius: 10px;
}
.landingpagetitles{
  color: #418fde;
  font-size: 18px;
}

.newitemcls{
  float: right;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.popup-contentmessage {
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  padding: 0px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sitepopupheader {
  color: #0023b2;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}
.sitepopup {
  padding: 15px !important;
}
.edit-icon {
  color: #0023b2;
  font-size: 30px;
  padding: 4px;
  /* float: right; */
  cursor: pointer;
}
.delete-icon {
  color: red;
  font-size: 30px;
  padding: 4px;
  /* float: right; */
  cursor: pointer;
}
.show-button {
  margin: 20px;
  padding: 10px 15px;
  background: #418fde;
  color: white;
  border: none;
  cursor: pointer;
}
.close-button {
  display: block;
  margin: 10px auto;
  padding: 5px 10px;
  background: #d9534f;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.siteinfocls {
  width: 100%;
  border-collapse: collapse;
  margin: 0 30px;
}

.siteinfocls, 
.siteinfocls th, 
.siteinfocls td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  word-break: break-word;
}

.siteinfocls th {
  background-color: #418fde;
  color: white;
  font-weight: bold;
}

.siteinfocls tr:nth-child(even) {
  background-color: #f9f9f9;
}

.siteinfocls tr:hover {
  background-color: #f1f1f1;
}


@media screen and (max-width: 768px) {
  .siteinfocls {
      max-width: 100%;
      overflow-x: auto;
      display: block;
  }
}

/* End of landing Page Styles */

.blinking-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: rgb(230, 140, 14);
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
.blinking-link:hover {
  color: rgb(230, 140, 14); /* Prevents color change on hover */
  text-decoration: none; /* Ensures underline does not appear on hover */
}
.requiredActionplan{
  margin-top:26px ;
}

.questionarriesTabs{	
  border: 1px solid;
  padding: 10px;
  border-radius: 10px;
  color: white;
  text-align: center;
  background-color: #6a5acd;
  font-weight: 700;
  text-transform: uppercase;
}
.csmlogincls{
    margin-left: 9px;
}

.disableDraftButton{
  opacity: 0.6;
  cursor: not-allowed; 
}
.lawcontractorpermitbanner{
    background: linear-gradient(90deg, #00bfae 0%, #7c4dff 100%);
    color: #fff;
    border-left: 8px solid #ffd600;
    border-radius: 12px;
    padding: 15px 28px;
    font-size: 1.20rem;
    font-weight: 500;
    line-height: 1.7;
    box-shadow: 0 8px 24px rgba(126, 87, 194, 0.15);
    z-index: 2000;
    text-align: left;
    margin: 24px 0 18px 0;
    display: flex;
    align-items: center;
}
/* Add this to ag-grid.component.scss or your global styles */
.play-btn-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.play-btn {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.play-btn:hover {
  background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.play-btn i.fa-play {
  font-size: 20px;
  margin-right: 10px;
}

.play-btn-label {
  font-size: 16px;
}

.draftClass {
  border: 2px solid #f4c581;
  border-radius: 10px;
  padding: 1px 50px;
  text-align: right;
  background-color: #f4c581;
  color: #000;
  display: inline-block;
}

.visually-hidden{
  display: none;
}

.formio-loader {
  position: absolute !important;
  min-height: 0 !important;
  width: 60px !important;
  height: 60px !important;
  left: 50% !important; top: 50% !important;
  border-radius: 50% !important;
}
@keyframes spinCentered {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #7b848c;
  color: white;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

/* ==== BASE: layout + rounding (no color changes) ==== */
.tab {
  display: flex;          /* shrink-wrap to just the buttons */
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;           /* rounded container */
  max-width: 100%;
  overflow: visible;             /* allow the active underline/shadow to show */
}

.tab button {
  flex: 0 0 auto;                /* avoid stretching */
  padding: 7px 14px !important;
  border-radius: 999px;          /* fully rounded pills */
  white-space: nowrap;
  border-width: 1px;             /* let color layer set color */
  border-style: solid;
  float: none;                   /* ensure layout is flex-driven */
  position: relative;            /* for optional underline indicator */
}

/* ==== COLORS: per-tab tints + obvious active state ==== */

/* BLUE (My Events) */
.tab button.is-blue {
  --brand: #2563eb;
  --tint:  #eff6ff;
  --hover: #dbeafe;
  --ink:   #1e3a8a;
  --border:#bfdbfe;
  background: var(--tint);
  color: var(--ink);
  border-color: var(--border);
}
.tab button.is-blue:hover { background: var(--hover); }
.tab button.is-blue.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.28), 0 6px 16px rgba(0,0,0,.12);
}

/* GREEN (Primary Owner) */
.tab button.is-green {
  --brand: #059669;
  --tint:  #ecfdf5;
  --hover: #d1fae5;
  --ink:   #065f46;
  --border:#a7f3d0;
  background: var(--tint);
  color: var(--ink);
  border-color: var(--border);
}
.tab button.is-green:hover { background: var(--hover); }
.tab button.is-green.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(5,150,105,.28), 0 6px 16px rgba(0,0,0,.12);
}

/* AMBER (Secondary Owner) */
.tab button.is-amber {
  --brand: #d97706;
  --tint:  #fffbeb;
  --hover: #fef3c7;
  --ink:   #78350f;
  --border:#fde68a;
  background: var(--tint);
  color: var(--ink);
  border-color: var(--border);
}
.tab button.is-amber:hover { background: var(--hover); }
.tab button.is-amber.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217,119,6,.28), 0 6px 16px rgba(0,0,0,.12);
}

/* Optional: matching underline for the active tab */
.tab button.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: currentColor; /* overridden per color below */
}
.tab button.is-blue.active::after  { background: #2563eb; }
.tab button.is-green.active::after { background: #059669; }
.tab button.is-amber.active::after { background: #d97706; }

/* Added this class to fix Choices.js CSS issues after Formio upgrade*/
.formio-select-autocomplete-input{
	opacity: 0;
    position: relative;
    z-index: -1;
    display: block;
    height: 0;
    border: none;
}
/* Added these overrides to fix ag-Grid update CSS issues*/
.ag-header-cell-filter-button.ag-filter-active .ag-icon-filter {
  color: white !important;
}

/* Set background color for filter active indicator after ag-Grid update*/
.ag-filter-active:after {
  background-color: white !important;
}

.play-btn-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 4px;
}
/* Contractor button (blue) */
.contractor-btn {
  background-color: #007bff;
  color: white;
  border-radius: 6px;
}
.contractor-btn:hover {
  background-color: #0056b3;
}

/* Host & Admin button (green) */
.host-admin-btn {
  border-radius: 6px;
  background-color: #28a745 !important;
  color: white !important;
}
.host-admin-btn:hover {
  background-color: #1e7e34 !important;
}

/* site config(leading and lagging table css) */
.mainClsLeadingLagging table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed; /* ✅ key to consistent column widths */
}
.mainClsLeadingLagging  th:nth-child(1),
.mainClsLeadingLagging td:nth-child(1) { width: 25%; }  /* Title */

.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(2),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(2) { width: 11%; }  /* Target Value */
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(3),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(3),
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(4),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(4) { width: 12.5%; } /* Green Min/Max */
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(5),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(5),
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(6),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(6) { width: 12.5%; } /* Yellow Min/Max */
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(7),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(7),
.mainClsLeadingLagging .clsTblLeadingLagging th:nth-child(8),
.mainClsLeadingLagging .clsLeadingLagging td:nth-child(8) { width: 12.5%; } /* Red Min/Max */

/* snackbar styles */
.snack-host {
  --snack-text: #111827; /* dark text for better readability on light bg */
  --snack-border: rgba(0, 0, 0, 0.1);

  /* lighter tones for backgrounds */
  --snack-info-bg: #f3f4f6;      /* gray-100 */
  --snack-success-bg: #d1fae5;   /* emerald-100 */
  --snack-error-bg: #fee2e2;     /* red-100 */

  --snack-success-border: #10b98140; /* emerald-500 @ 25% */
  --snack-error-border: #ef444440;   /* red-500 @ 25% */
}

    .snack-host {
      position: fixed; top: 60px; left: 50%; transform: translateX(-50%);
      z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s ease;
    }
    .snack-host.show { opacity: 1; }

    .snack {
      display: flex; align-items: center; gap: .75rem;
      color: var(--snack-text);
      border: 1px solid var(--snack-border);
      padding: .75rem 1rem; border-radius: 12px; min-width: 260px; max-width: 520px;
      box-shadow: 0 10px 24px rgba(0,0,0,.18);
      animation: slideDown .25s ease;
      pointer-events: auto;
    }
    .snack.info    { background: var(--snack-info-bg); }
    .snack.success { background: var(--snack-success-bg); border-color: var(--snack-success-border); }
    .snack.error   { background: var(--snack-error-bg);   border-color: var(--snack-error-border); }

    .icon { font-size: 18px; line-height: 1; opacity: .95; }
    .content { line-height: 1.2; flex: 1; }
    .title { font-weight: 600; }
    .subtitle { font-size: .86rem; opacity: .9; margin-top: 2px; }

    .close {
      appearance: none; border: none; background: transparent; color: inherit;
      font-size: 20px; line-height: 1; cursor: pointer; padding: 0 .25rem; opacity: .85;
    }
    .close:hover { opacity: 1; }

    @keyframes slideDown {
      from { transform: translate(-50%, -8px); opacity: 0; }
      to   { transform: translate(-50%,  0);   opacity: 1; }
    }
	
	/* Start - bootsrap upgrade css changes */
	body  .bg-black {
	  background-color: #0032ff !important;
	}

	.heigh11em {
		height: 1.4em !important;
	}
	.adustmenu>li.nav-item.active {
		background-color: #1a01c4 !important;
		padding-left: 10px;
		padding-right: 10px;
	}
	.adustmenu>li.nav-item.hover {
		background-color: #1a01c4 !important;
		padding-left: 10px;
		padding-right: 10px;
	}
	select.form-control,
	select.page-select {
	  appearance: auto !important;
	  -webkit-appearance: auto !important;
	  -moz-appearance: auto !important;
	  background-image: initial !important;
	}
	.adustmenu{
		margin-left: 6px !important;
	}
/* Page header row: title left, actions right */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

/* Title */
.route-title h5 {
  margin: 0;
}

.form-header {
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 3px;
}

/* left takes natural width */
.form-header-left {
  min-width: 0;
}

/* right goes to the far right */
.form-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.form-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; /* optional: wraps nicely on small screens */
}

.delete-icon {
  color: red;
  cursor: pointer;
  font-size: 18px;
  margin-left: 6px;
}

.history-link {
  text-decoration: underline;
  cursor: pointer;
}

.printButton {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
}

/* End of Custom Styles */