:root {
  --bs-body-bg: #e6ddc9;
  --bs-card-bg: #e6ddc9;
  --bs-success-rgb: 73, 133, 84;
  --bs-info-rgb: 88, 124, 142;
  --bs-warning-rgb: 191, 140, 46;
  --bs-danger-rgb: 156, 58, 58;
}

.form-check-input {
  --bs-form-check-bg: #fff;
  --bs-form-check-checked-bg-color: #224826;
  --bs-form-check-checked-border-color: #224826;
}

body {
    padding-top: 74px;
    /* Margin bottom by footer height */
    margin-bottom: 0px;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #fbefd7;
    color: #224826;
}

.form-control {
  background-color: #fffcf5 !important;
}

.form-select {
  background-color: #fffcf5 !important;
}

.uf-box {
  background-color: #e6ddc9;
  border: 1px solid #224826;
}

.list-group-item {
    background-color: #e6ddc9 !important;
    color: #224826 !important;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.navbar {
  background-color: #224826;
}

.bd-footer {
  background-color: #224826;
  color: #ffffff;
  --bs-link-color: #fff;
  --bs-link-hover-color: #fff;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.fsgr-head{
  color: #224826;
  font-weight: bold;
  border-bottom: 2px solid #daa82e;
}

.fsgr-sh{
  color: #224826;
  font-weight: bold;
  margin-top: 25px;
}

ul.fsgr-ul{
  margin-top: 12px;
}

.uc-card-head {
  background-color: rgb(0, 76, 30);
  color: #224826;
  border-color: #011a07;
}

.h4text {
  color: #224826;
  font-weight: bold;
}

.h5text {
  color: #224826;
  font-weight: bold;
}

.h5secondary {
  color: #224826c4;
  font-weight: bold;
}

.uc-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: #011a07;
}

.uc-card-in {
  background-color: #224826;
}

.uc-active {
  background-color: #5e9679 !important;
  border-bottom-color: #1e2b36 !important;
  border-left-color: #011a07 !important;
  border-right-color: #011a07 !important;
  border-top-color: #011a07 !important;
}

.uc-verified {
  color: #4d8a01;
}

a:link, a:visited, a:hover, a:active { text-decoration: none; }

a:link, a:visited, a:active {
  color: #46b751;
}

a:hover {
  color: #2d8435;
}

a.btn {
  color: #ffffff;
}

a.btn:hover {
  color: #a2ffab;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.main-shot {
  height: 500px;
}

.main-shot-img {
  vertical-align: middle;
}

.card-over-carousel {
  z-index: 1;
  width: 250px;
  margin-left: auto; 
  margin-right: 0;
}

.mod-author {
  --bs-text-opacity: 1;
  color: rgba(0,0,0,.7)!important;
  font-weight: bold;
}

.carousel-inner-bg {
  background-color: #93a8ae;
}

/* Added From Sage */
.cash-table { text-align:right; background-color: #d3c4a6; }
.cash-table th { text-align: left; background-color: rgba(0, 0, 0, 0.4); }
.cash-table td { border-left: 1px solid rgb(143, 143, 143); width: 15%; padding: 4px 8px;}
.cash-table tr td:first-child { text-align: left; width: auto; border-left: none;}

.cash-zero:before { content : "--" }
.cash-zero { text-align: center }
.cash:before { content: "$ "; color:rgb(72, 190, 62); font-style: italic;}
.cash-debit:before { content : "$ ( "; color:rgb(231, 68, 68); }
.cash-debit:after { content : " )"; color:rgb(231, 68, 68); font-style: italic; }
.cash { text-align: right; }

.stats-dl { display: grid; grid-template-columns: auto; width: 100%; }
.stats-dl dt { grid-column: 1; }
.stats-dl dt:after { content : ": "; }
.stats-dl dd { grid-column: 2; margin-bottom: 0;}
.stats-dl-end dd { text-align: right; }

.veh-table { text-align:left; background-color: #243a43; }
.veh-table th { text-align: left; background-color: #2e3537; }
.veh-table tr:nth-child(even) { background-color: #35545e; }

.realProgress { background-color: #011a07; }

.modIcon { width: 100px; }
.titleDisplay { background-color:rgba(0, 0, 0, 0.4); border: 2px SOLID rgba(255, 255, 255, 0.2); margin: 4px; padding: 4px; }
.productDisplay { background-color:rgba(255, 255, 255, 0.04); border: 2px SOLID rgba(255, 255, 255, 0.02); margin: 4px; padding: 4px; }

.hidden { display: none }

.bank-table { text-align:right; background-color: #243a43; }
.bank-table th { text-align: left; background-color: #2e3537; }
.bank-table td { border-left: 1px solid rgb(143, 143, 143); width: 15%; padding: 4px 8px;}
.bank-table tr td:first-child { text-align: left; width: 15%; border-left: none;}
.bank-table tr td:nth-child(2) { text-align: left; width: auto;}
.bank-table tr:nth-child(even) { background-color: #35545e; }

.transactionNotes { font-size: x-small; font-style: italic; color: rgb(197, 197, 197); text-indent:5px; }

.mainTitleDisplay { font-size: 1.5rem; font-weight: bold; padding: 4px; }

.accordion-button:not(.collapsed) { background-color: #0000002d !important; }

.progress-bar-bg { background-color: #22482653; }

.select2-container--default .select2-selection--multiple { background-color: #2e3537 !important; }
.select2-selection__choice {background-color: #35545e !important;}

.link-active {
    pointer-events: none;
    cursor: not-allowed; /* Optional: Change cursor to indicate the link is disabled */
    color: gray; /* Optional: Change link color to indicate it's disabled */
}

#cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #6b6b6bb2;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#cookie-popup p {
  margin: 0;
}

/* Add your preferred loading spinner styles here */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: none; /* Initially hide the spinner */
}

.table-loading tbody tr {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.callout {
    padding: 10px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

a[name] {
  padding-top: 85px;
  margin-top: -85px;
  display: inline-block; /* required for webkit browsers */
}


.load-progress-bar {
  position: relative;
  display: inline-block;
  height: 100px;
  width: 100%;
  background: linear-gradient(to right, #848a90 99.9%, transparent 99.9%);
  background-position: 0% 50%, 0% 50%;
  background-size: 100% 5px, 50px 50px;
  background-repeat: no-repeat, repeat-x;
}

.load-progress-bar-top {
  position: absolute;
  height: 100px;
  width: 1%;
  background: linear-gradient(to right, #224826 99.9%, transparent 99.9%);
  background-position: 0% 50%, 0% 50%;
  background-size: 100% 5px, 50px 50px;
  background-repeat: no-repeat, repeat-x;
}

.load-progress-bar-circle {
  content: '';
  position: relative;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  width: 25px; /* Adjust the size of the circles */
  height: 25px; /* Adjust the size of the circles */
  border-radius: 50%;
  background-color: #848a90; /* Adjust the color of the circles */
}

.circles-row {
  position: relative;
  top: -74px;
  height: 0px;
}

.load-pending {
  background-color: #ffc10723;
}

.load-progress {
  background-color: #0dcaf023;
}

.load-completed {
  background-color: #19875423;
}

.load-missed {
  background-color: #dc354523;
}

.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}

.notification {
  width: 100px;
  height: 100px;
  color: #ffffff;
  transition: color 1s ease; /* Transition effect */
}

.notification.blink {
  color: #fff374;
}

.text-unread {
  color: #ffe477;
}

.dropdown-notification-text {
  color: var(--bs-dropdown-link-color);
}

.notification-small {
  font-size: xx-small;
}

a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

.clickable {
  cursor: pointer;
}
/* Fix iOS Safari modal backdrop issue */
.modal {
  pointer-events: none;
}

.modal-dialog {
  pointer-events: auto;
}
