body {
  background: #fafafa;
  color: black;
}

.environment-banner {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 36px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1200;
}

.environment-banner[hidden] {
  display: none;
}

.environment-banner__content {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 auto;
  max-width: 1440px;
  min-width: 0;
  padding: 0 20px;
  width: 100%;
}

.environment-banner__name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.environment-banner__context,
.environment-banner__build {
  font-size: 11px;
}

.environment-banner__context {
  opacity: 0.82;
}

.environment-banner__build {
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.environment-banner--staging {
  background: #fff4ce;
  border-bottom: 1px solid #d29200;
  color: #5c3b00;
}

.environment-banner--local {
  background: #e8f3ff;
  border-bottom: 1px solid #1675c1;
  color: #0b4675;
}

.environment-banner--non-production {
  background: #f2f2f2;
  border-bottom: 1px solid #8a8886;
  color: #323130;
}

body.environment-banner-visible #content {
  min-height: calc(100vh - 36px);
}

body.environment-banner-visible .navbar-fixed-top {
  top: 36px;
}

@media (max-width: 640px) {
  .environment-banner__content {
    gap: 8px;
    padding: 0 12px;
  }

  .environment-banner__context {
    display: none;
  }

  .environment-banner__build {
    max-width: 48vw;
  }
}

body-OLD {
  padding-top: 50px;
  padding-bottom: 20px;
  background: rgba(0, 0, 0, 0) url("imgs/low_contrast_linen.png") repeat scroll 0% 0%;
  color: #9d9d9d;
}

.table-alert {
  padding: 2px;
  font-size: xx-small;
  padding: 2px;
  font-size: xx-small;
  margin-bottom: unset;
  background-color: unset;
  border-color: unset;
  border: unset;
  border-radius: unset;
}

.table-alert-info {
  font-style: italic;
}

.site-navbar-inverse {
  border-bottom: solid 1px #d4af37;
  background-color: #2f2f2f;
}

.table-header {
  background-color: #2f2f2f;
  color: #cdaa36;
  border-radius: 25px;
}

.download-link {
  color: #46b8da;
  text-decoration: underline;
}

.property-unit-selector-table-caption {
  color: #d4af37;
}

.property-units-subheading {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 6px;
  margin-bottom: 12px;
}

#multi-select-property-unit tr {
  color: #cdaa36;
}

#multi-select-property-unit {
  background-color: #2f2f2f;
  border: 1px solid #4a4a4a;
}

#multi-select-property-unit thead th {
  background-color: #3a3a3a;
  color: #d4af37;
  border-color: #4a4a4a;
}

#multi-select-property-unit tbody tr:nth-child(odd) {
  background-color: #333333;
}

#multi-select-property-unit tbody tr:nth-child(even) {
  background-color: #2b2b2b;
}

#multi-select-property-unit tbody tr:hover {
  background-color: #444444;
  color: #cdaa36 !important;
}

#multi-select-property-unit tbody tr:hover td {
  color: #cdaa36 !important;
}

#multi-select-property-unit input[type="text"],
#multi-select-property-unit .tr-ng-grid-filter input,
.tr-ng-grid .tr-ng-grid-filter input {
  background-color: #2f2f2f;
  color: #cdaa36;
  border: 1px solid #4a4a4a;
}

#multi-select-property-unit .tr-ng-grid-filter,
#multi-select-property-unit .tr-ng-grid-search {
  display: none !important;
}

#multi-select-property-unit tfoot {
  display: none !important;
}

.property-units-summary {
  padding-top: 8px;
  font-size: 12px;
}

.selected-units-table tr,
.selected-units-table th,
.selected-units-table td {
  color: #cdaa36;
}

.selected-units-table {
  background-color: #2f2f2f;
  border: 1px solid #4a4a4a;
}

.selected-units-table thead th {
  background-color: #3a3a3a;
  color: #d4af37;
  border-color: #4a4a4a;
}

.selected-units-table tbody tr:nth-child(odd) {
  background-color: #333333;
}

.selected-units-table tbody tr:nth-child(even) {
  background-color: #2b2b2b;
}

.selected-units-table caption {
  color: #d4af37;
}

.fixed-height-container-property-units-result .text-muted {
  color: #cdaa36;
}

.fixed-height-container-property-units-result .property-units-note {
  color: #9d9d9d;
  font-size: 11px;
  font-style: italic;
}

.property-units-actions {
  margin-bottom: 4px !important;
}

.property-units-action {
  margin: 4px 6px 4px 0 !important;
  width: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.property-multi-select {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.property-multi-select-trigger {
  width: 100%;
  display: flex;
}

.lease-status-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.lease-status-filter label {
  font-weight: normal;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lease-status-dropdown {
  display: inline-block;
  position: relative;
}

.tr-ng-grid .tr-ng-column-header .tr-ng-column-filter {
  position: relative;
}

.tr-ng-grid th[field-name="leaseStatus"],
.tr-ng-grid td[field-name="leaseStatus"] {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  white-space: nowrap;
}

.lease-status-toggle {
  width: 140px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lease-status-dropdown .lease-status-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  padding: 8px 10px;
  min-width: 190px;
  max-height: 220px;
  overflow-y: auto;
  background: #2f2f2f;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  z-index: 2000;
  color: #cdaa36;
}

.lease-status-option {
  margin-bottom: 4px;
}

.lease-status-menu label {
  font-weight: normal;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cdaa36;
}

.lease-status-clear {
  margin-top: 6px;
  width: 100%;
}
.property-multi-select-trigger {
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #4a4a4a;
  background-color: #2f2f2f;
  color: #d4af37;
  font-weight: 600;
}

.property-multi-select-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.property-multi-select-caret {
  font-size: 12px;
  color: #cdaa36;
}

.property-multi-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #2b2b2b;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px 0;
}

.property-multi-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  color: #cdaa36;
}

.property-multi-select-option:hover {
  background-color: #3a3a3a;
}

.property-multi-select-option input[type="checkbox"] {
  margin: 0;
}

.property-multi-select-actions {
  display: flex;
  justify-content: flex-end;
  padding: 6px 12px 2px;
}

.btn {
  text-shadow: 0px 1px 11px #6d6d6d;
}

.btn-sq-lg {
  width: 150px !important;
  height: 150px !important;
}

.btn-sq {
  width: 100px !important;
  height: 100px !important;
  font-size: 10px;
}

.btn-sq-sm {
  width: 50px !important;
  height: 50px !important;
  font-size: 10px;
}

.btn-sq-xs {
  width: 25px !important;
  height: 25px !important;
  padding: 2px;
}

.btn-info {
  color: #46b8da;
  background-color: #5bc0de;
  border-color: #46b8da;
  background-color: transparent;
  border-radius: 1px;
  font-weight: bold;
}

.site-btn-close {
  background: #a94442;
  color: white;
  border-color: #a94442;
  border-radius: 1px;
  font-weight: bold;
}

.btn-payment {
  margin: 10px;
  width: 100px;
}

.primary-dialog-actions {
  padding: 16px 24px;
  border-top: 1px solid #4a4a4a;
}

.primary-dialog-actions-group {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-command {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #4a4a4a;
  background-color: #3a3a3a;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-command.btn-dialog-primary {
  background-color: #d4af37;
  color: #1b1b1b;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.btn-command.btn-dialog-secondary {
  background-color: transparent;
  color: #cdaa36;
  border-color: #cdaa36;
}

.icon-gap {
  margin-right: 5px;
}

.payment-label {
  text-align: right;
  clear: both;
  margin-right: 15px;
}

.cc_payment_section {
  color: #eedd82;
}

.capitalizeFirstLetter::first-letter {
  text-transform: capitalize;
}

.application-btn-grp {
  margin-bottom: 20px;
}

.btn-success {
  color: #4cae4c;
  background-color: #5cb85c;
  border-color: #4cae4c;
  background-color: transparent;
  border-radius: 1px;
  font-weight: bold;
}

.btn-danger {
  color: #d43f3a;
  background-color: #d9534f;
  border-color: #d43f3a;
  background-color: transparent;
  border-radius: 1px;
  font-weight: bold;
}

.btn-clone {
  background: linear-gradient(135deg, #2f2f2f 0%, #3a3a3a 100%);
  border: 1px solid #d4af37;
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
}

.btn-clone:hover,
.btn-clone:focus {
  background: #d4af37;
  color: #1b1b1b;
  border-color: #d4af37;
}

.btn-clone .glyphicon {
  margin-right: 6px;
}

.kp-footer {
  font-size: 11px !important;
  background-color: unset !important;
  color: black !important;
}

.application-table-row {
  color: #000;
  border-radius: 25px;
}

.one-edge-shadow {
  -webkit-box-shadow: 0 8px 6px -6px black;
  -moz-box-shadow: 0 8px 6px -6px black;
  box-shadow: 0 8px 6px -6px black;
}

.one-edge-shadow-white {
  -webkit-box-shadow: 0 8px 6px -6px #7d7d7d;
  -moz-box-shadow: 0 8px 6px -6px #7d7d7d;
  box-shadow: 0 8px 6px -6px #7d7d7d;
}

.form-edge-shadow {
  -webkit-box-shadow: -6px 5px 13px 0px #403d3d;
  -moz-box-shadow: -6px 5px 13px 0px #403d3d;
  box-shadow: -6px 5px 13px 0px #403d3d;
}

.form-heading {
  text-shadow: 1px 2px 0px #cccccc;
  font-weight: bolder;
  color: #5a5757;
  font-family: sans-serif;
}

.unauthorizedMessage {
  background: #2f2f2f;
  margin-top: 25%;
  /* color: #9d978f;
	color: #d4af37;*/
  color: #9d978f;
  padding: 20px;
  font-style: italic;
  border-radius: 4px;
  font-size: 15px;
}

.overlay {
  background: #ebebeb;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.5;
}

.btn-close {
  margin-left: 15px;
  float: right;
}

.back-to-dashboard {
  text-transform: uppercase;
  padding: 10px;
  border: solid #2f2f2f 1px;
  border-radius: 4px;
  margin: -15px;
  color: black;
  text-decoration: none;
}

.back-to-dashboard:hover {
  background: #2f2f2f;
  color: white;
  text-decoration: none;
}

.overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
}

.btn-form {
  font-weight: bold;
}

#newApplicationFormTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

#updateApplicationFormTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

#newCommunicationFormTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

#leaseMakerFormTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

#applicationFormTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

#communictionDetailsTable {
  background: #2f2f2f;
  color: white;
  border-radius: 4px;
  width: 100%;
}

.communicationDetailsFieldValue {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  padding: 0px;
}

.site-img {
  height: 70%;
  margin: 5px;
}

td .md-datepicker-input {
  color: white;
}

.form-control .md-datepicker-input {
  color: black;
}

 /* Add CSS to left-align the date of birth in the form controls */
md-datepicker .form-control {
  text-align: left;
}

td .md-button.md-icon-button {
  color: #2f2f2f;
}

md-select:not([disabled]):focus .md-select-value {
  border-bottom-color: #cdaa36;
  color: #cdaa36;
}

.btn-header {
  margin: 8px;
  height: 36px;
  width: 120px;
  font-weight: bold;
  background: #393939;
  border-color: black;
}

/* Wrapping element */

/* Set some basic padding to keep content from hitting the edges */

.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

#messageText {
  color: #449d44;
  font-weight: 600;
}

#errorText {
  color: #ff1d1d;
  font-weight: 600;
}

/* Homepage element */

#detailsFormTable td {
  padding: 10px;
}

.submitRow {
  padding: 5px;
  text-align: right;
}

.fieldLabel {
  text-shadow: 0px 1px 11px #6d6d6d;
  color: #d4af37;
  text-align: left;
  font-weight: 600;
  padding: 15px;
  width: 30%;
  vertical-align: top;
}

.communicationDetailsfieldLabel {
  text-shadow: 0px 1px 11px #6d6d6d;
  color: #d4af37;
  text-align: left;
  padding: 3px;
  padding-left: 15px;
  width: 30%;
  vertical-align: top;
}

.moveOutDialogLabel,
.dialogHeadline {
  text-shadow: 0px 1px 11px #6d6d6d;
  color: #d4af37;
  text-align: left;
}

.blackfont {
  color: #2f2f2f;
}

.payment-form {
  padding-left: 14px;
  padding-right: 14px;
}

.buttonColumn {
  /* width: 15px */
}

.mainContent {
  margin-top: 20px;
}

.image-body {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../imgs/login-bg-img.jpg");
}

.image-body-unset {
  background-repeat: unset;
  background-size: unset;
  background-image: unset;
}

.md-icon.md-default-theme,
md-icon {
  color: white;
}

.boldLabel {
  text-align: left;
  font-weight: bolder;
  padding: 15px;
  padding-left: 0px;
  text-shadow: 0px 1px 11px #6d6d6d;
}

.leaseComputationLabel {
  /* display: flex;
	align-items: center;
	justify-content: center; */
  color: orange;
  font-weight: 100;
  font-style: italic;
}

.boldLabel:hover {
  text-align: left;
  font-weight: bolder;
  background-color: #2f2f2f;
  color: #fafafa;
}

.fieldInput {
  width: 80%;
  text-align: left;
  margin-bottom: 10px;
  color: white;
  background-color: #2f2f2f;
  border: none;
  border-bottom: solid 1px;
  -webkit-box-shadow: 0 8px 6px -6px #7d7d7d;
  -moz-box-shadow: 0 8px 6px -6px #7d7d7d;
  box-shadow: 0 8px 6px -6px #7d7d7d;
}

.dialogFieldInput {
  width: 80%;
  text-align: left;
  color: #2f2f2f;
  border: none;
  border-bottom: solid 1px #2f2f2f;
  -webkit-box-shadow: 0 8px 6px -6px #7d7d7d;
  -moz-box-shadow: 0 8px 6px -6px #7d7d7d;
  box-shadow: 0 8px 6px -6px #7d7d7d;
}

.textAreaFieldInput {
  width: 80%;
  text-align: left;
  margin-bottom: 10px;
  color: white;
  background-color: #2f2f2f;
  border: solid 1px;
}

.dateFieldInput {
  width: 80%;
  text-align: left;
  color: white;
  background-color: #2f2f2f;
  -webkit-box-shadow: 0 8px 6px -6px #7d7d7d;
  -moz-box-shadow: 0 8px 6px -6px #7d7d7d;
  box-shadow: 0 8px 6px -6px #7d7d7d;
}

.dateFieldInputInverted {
  width: 80%;
  text-align: left;
  color: #2f2f2f;
}

.fieldRow {
  padding-bottom: 5px;
}

.fixed-height-container-property-units-result {
  float: center;
  height: auto;
}

.property-units-result-content {
  height: 775px;
  overflow: auto;
}

md-dialog-content {
  overflow: unset !important;
}

md-dialog {
  background: #2f2f2f !important;
  color: white !important;
}

.display-columns-dialog {
  min-width: 560px;
  max-width: 820px;
}

#display-column-dialog {
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.display-columns-list {
  columns: 2;
  column-gap: 28px;
}

.display-column-item {
  display: block;
  margin: 6px 0;
  break-inside: avoid;
  font-size: 14px;
  line-height: 1.4;
}

.display-column-item input[type="checkbox"] {
  margin-right: 8px;
}

.display-columns-order {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #4a4a4a;
}

.display-columns-order-help {
  margin: 6px 0 10px;
  color: #cfcfcf;
  font-size: 12px;
}

.display-columns-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin: 4px 0;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  background: #262626;
  cursor: grab;
  user-select: none;
}

.display-columns-order-item:active {
  cursor: grabbing;
}

.display-columns-order-index {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: #cdaa36;
  color: #2f2f2f;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.display-columns-order-label {
  flex: 1;
}

.display-columns-order-actions .btn {
  padding: 2px 6px;
  line-height: 1;
}

.display-columns-order-hint {
  color: #9c9c9c;
  font-size: 11px;
}

.display-columns-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.display-columns-actions-primary,
.display-columns-actions-secondary {
  display: flex;
  gap: 8px;
}

.display-columns-actions-secondary {
  margin-left: auto;
}

md-input-container.md-default-theme .md-input,
md-input-container .md-input {
  color: white !important;
}

.md-button.md-primary {
  color: #cdaa36 !important;
  min-width: unset !important;
}

/**
 * Stripe form styling: START
 */

.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

.summary-view {
  background: #2f2f2f;
  color: #cdaa36;
  padding: 15px 15px 0px 15px;
  border: solid 1px;
  border-radius: 4px;
  text-shadow: 0px 1px 7px #6d6d6d;
}

.short-summary-view {
  color: #2f2f2f;
  font-size: 1.5em;
}

.summary-view-details {
  padding: 15px;
}

.summary-view table {
  width: 100%;
}

.summary-view th {
  width: 40px;
  vertical-align: top;
  text-align: left;
}

.summary-view .wider-header {
  min-width: 100px;
  vertical-align: top;
  text-align: left;
}

.summary-view .widest-header {
  min-width: 200px;
  vertical-align: top;
  text-align: left;
}

.summary-view td {
  width: 50%;
  vertical-align: top;
  text-align: left;
}

.folio-operations>td {
  float: right;
}

/**
 * Stripe form styling: END
 */

a:hover,
a:focus {
  color: #46b8da;
  text-decoration: underline;
}

a {
  color: #46b8da;
  text-decoration: none;
}

.table-controls-div {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-bottom: 10px;
}


.btn-table-nav {
  color: #2f2f2f !important;
  background: #cdaa36 !important;
}

.btn-table-nav:hover,
.btn-table-na:focus {
  background: #2f2f2f !important;
  color: #cdaa36 !important;
}

.table-hover>tbody>tr:hover {
  color: #2f2f2f !important;
}

#unseen-tenant-table {
  overflow-x: scroll;
}

#unseen-property-table {
  overflow-x: scroll;
}

.additional-occupants-section
{
  padding: 10px;
  background-color: #2f2f2f;
  color: #cdaa36;
  border-radius: 4px;
  width: 80%;
}

.alert-danger-custom {
  color: #cf5452;
  border-color: #ebccd1;
}
.alert-success-custom {
  color: #064e17;
  border-color: #c3e6cb;
}

.additional-occupants-section ul.list-group li.list-group-item {
    margin-bottom: 1px;
    border-radius: 4px;
    background-color: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.additional-occupants-section ul.list-group li.list-group-item:hover {
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15), 0px 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    background-color: #e9ecef;
}

.additional-occupants-section ul.list-group li.list-group-item p {
    color: #2f2f2f;
}

.highlight-editing {
  padding: 10px;
  border-radius: 5px;
  background-color: #f0f8ff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.highlight-editing:hover {
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15), 0px 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}


@media only screen and (max-width: 800px) {

  #unseen-application-table table td:nth-child(2),
  #unseen-application-table table th:nth-child(2),
  #unseen-application-table table td:nth-child(3),
  #unseen-application-table table th:nth-child(3),
  #unseen-application-table table td:nth-child(5),
  #unseen-application-table table th:nth-child(5) {
    display: none;
  }

  #unseen-tasks-table table td:nth-child(3),
  #unseen-tasks-table table th:nth-child(3) {
    display: none;
  }

  #folio section {
    width: 150%;
  }
}

@media only screen and (max-width: 640px) {
  #folio section {
    width: 150%;
  }

  #unseen-application-table table td:nth-child(4),
  #unseen-application-table table th:nth-child(4),
  #unseen-application-table table td:nth-child(6),
  #unseen-application-table table th:nth-child(6) {
    display: none;
  }

  #unseen-tasks-table table td:nth-child(4),
  #unseen-tasks-table table th:nth-child(4) {
    display: none;
  }

  #unseen-tenant-transaction-table table td:nth-child(3),
  #unseen-tenant-transaction-table table th:nth-child(3) {
    display: none;
  }
}

/*
   ========================== SideBar Styple ==============================================
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  padding: 15px 10px;
  border-bottom: solid 1px #d4af37;
  background-color: #2f2f2f;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

i,
span {
  display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
  display: flex;
  align-items: stretch;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #2f2f2f;
  color: #cdaa36;
  transition: all 0.3s;
}

#sidebar.active {
  min-width: 80px;
  max-width: 80px;
  text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
  display: none;
}

#sidebar.active .sidebar-header strong {
  display: block;
}

#sidebar ul li a {
  text-align: left;
}

#sidebar.active ul li a {
  padding: 20px 10px;
  text-align: center;
  font-size: 0.85em;
}

#sidebar.active ul li a i {
  margin-right: 0;
  display: block;
  font-size: 1.8em;
  margin-bottom: 5px;
}

#sidebar.active ul ul a {
  padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before,
#sidebar.active a[aria-expanded="true"]::before {
  top: auto;
  bottom: 5px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #2f2f2f;
}

#sidebar .sidebar-header strong {
  display: none;
  font-size: 1.8em;
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid #cdaa36;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  background: #fff;
  color: #cdaa36;
}

#sidebar ul li a i {
  margin-right: 10px;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
  color: #fff;
  background: #2f2f2f;
}

a[data-toggle="collapse"] {
  position: relative;
}

a[aria-expanded="false"]::before,
a[aria-expanded="true"]::before {
  content: "\e259";
  display: block;
  position: absolute;
  right: 20px;
  font-family: "Glyphicons Halflings";
  font-size: 0.6em;
}

a[aria-expanded="true"]::before {
  content: "\e260";
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background: #2f2f2f;
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

a.download {
  background: #fff;
  color: #7386d5;
}

a.article,
a.article:hover {
  background: #2f2f2f !important;
  color: #fff !important;
}

.site-btn {
  color: #cdaa36;
  background: #2f2f2f;
  border: solid 1px;
}

.done-btn {
  color: white;
  background: #5f925b;
}

.undone-btn {
  background: #cdaa36;
  color: white;
  border: none;
}

.fit-content {
  width: fit-content;
}

.site-btn:focus,
.site-btn:hover,
.site-btn:active {
  background: #cdaa36;
  color: #2f2f2f;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
  min-height: 100vh;
  transition: all 0.3s;
  width: 100%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  /* #content {
		transition: all 0.3s;
		min-height: 100vh;
		width: auto;
	} */

  #sidebar {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    margin-left: -80px !important;
  }

  a[aria-expanded="false"]::before,
  a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }

  #sidebar.active {
    margin-left: 0 !important;
  }

  #sidebar .sidebar-header .site-img,
  #sidebar .CTAs {
    display: none;
  }

  #sidebar .sidebar-header strong {
    display: block;
  }

  #sidebar ul li a {
    padding: 20px 10px;
  }

  #sidebar ul li a span {
    font-size: 0.85em;
  }

  #sidebar ul li a i {
    margin-right: 0;
    display: block;
  }

  #sidebar ul ul a {
    padding: 10px !important;
  }

  #sidebar ul li a i {
    font-size: 1.3em;
  }

  #sidebar {
    margin-left: 0;
  }

  #sidebarCollapse span {
    display: none;
  }
}

/* ===================================================== */
/* OPTIMIZED PRINT STYLES FOR COLOR PRESERVATION */
/* ===================================================== */
@media print {
  /* Preserve colors on key elements only - be selective */
  table,
  th,
  td,
  tr,
  h1, h2, h3, h4, h5, h6,
  p,
  span,
  .table-header,
  .site-navbar-inverse {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body {
    background: white !important;
    color: black !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  /* Specific color preservation */
  .site-navbar-inverse {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
  }

  .table-header {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    border: none !important;
  }

  .download-link {
    color: #46b8da !important;
  }

  .property-unit-selector-table-caption {
    color: #d4af37 !important;
  }

  #multi-select-property-unit tr {
    color: #cdaa36 !important;
  }

  /* Table styling - minimal but effective */
  table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }

  thead {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
    display: table-header-group !important;
  }

  th {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
    padding: 8px !important;
    text-align: left !important;
    font-weight: bold !important;
  }

  tbody {
    display: table-row-group !important;
  }

  tr {
    page-break-inside: avoid !important;
  }

  tr:nth-child(odd) {
    background-color: white !important;
  }

  tr:nth-child(even) {
    background-color: #f9f9f9 !important;
  }

  td {
    padding: 8px !important;
    color: #000 !important;
    background-color: inherit !important;
    border: 1px solid #ccc !important;
  }

  /* Text elements - preserve colors */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid !important;
    margin-bottom: 0.5rem !important;
  }

  p {
    color: #000 !important;
    margin: 0.5rem 0 !important;
  }

  /* Links */
  a {
    color: #46b8da !important;
    text-decoration: underline !important;
  }

  /* Hide sidebar and navigation */
  #sidebar,
  .sidebar,
  nav.navbar,
  .navbar {
    display: none !important;
  }

  /* Hide back button and navigation tabs */
  .btn-back,
  .back-to-dashboard,
  .nav-tabs,
  ul.nav.nav-tabs {
    display: none !important;
  }

  /* Hide overlay and loading */
  .overlay,
  #loading-img {
    display: none !important;
  }

  /* Clean up section borders and spacing */
  .section-border {
    border: none !important;
    margin: 10px 0 !important;
    padding: 0 !important;
  }

  .row-gap {
    margin: 5px 0 !important;
  }

  /* Remove unnecessary hr styling */
  hr {
    border: none !important;
    border-top: 1px solid #ccc !important;
    margin: 10px 0 !important;
    padding: 0 !important;
  }

  /* Form heading styling */
  h3.form-heading,
  h4.form-heading {
    color: #000 !important;
    margin: 15px 0 8px 0 !important;
    padding: 0 !important;
    page-break-after: avoid !important;
    font-size: 16px !important;
  }

  /* Show button text but remove button styling */
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .btn-info,
  .site-btn-close,
  .btn-sq-lg,
  .btn-sq,
  .btn-sq-sm,
  .btn-sq-xs,
  .btn-payment {
    background: transparent !important;
    border: none !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 2px 5px 2px 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    width: auto !important;
    height: auto !important;
    font-size: inherit !important;
    display: inline !important;
  }

  /* Hide button groups in summary sections */
  .summary-view .btn-group,
  .summary-view-details .btn-group,
  tr .btn-group {
    display: none !important;
  }

  /* Hide Charge/Payment/Credit buttons in summary sections */
  .summary-view > div,
  .summary-view .pull-right {
    display: none !important;
  }

  /* Ensure links within buttons are visible */
  a.site-btn,
  button a,
  .btn a {
    color: #000 !important;
    text-decoration: underline !important;
    background: transparent !important;
  }

  /* Fix summary-view tables - preserve dark theme */
  .summary-view {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
    border: 1px solid #666 !important;
    padding: 8px !important;
    margin: 5px 0 !important;
  }

  .summary-view table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 10px 0 !important;
    background-color: #2f2f2f !important;
  }

  .summary-view th {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
    padding: 8px !important;
    text-align: left !important;
    border: none !important;
    font-weight: bold !important;
  }

  .summary-view td {
    background-color: #2f2f2f !important;
    color: #cdaa36 !important;
    padding: 8px !important;
    border: none !important;
  }

  .summary-view tr {
    page-break-inside: avoid !important;
    border: none !important;
    background-color: #2f2f2f !important;
  }

  .summary-view tr:nth-child(even) {
    background-color: #2f2f2f !important;
  }

  /* Ensure tenant details are visible - clean light theme for print */
  #tenant-details {
    background-color: white !important;
    color: #000 !important;
    border: 2px solid #cdaa36 !important;
    padding: 15px !important;
  }

  #tenant-details table {
    background-color: white !important;
    width: 100% !important;
    border-collapse: collapse !important;
  }

  #tenant-details th {
    color: #2f2f2f !important;
    background-color: white !important;
    border: none !important;
    padding: 12px 8px !important;
    text-align: left !important;
    font-weight: bold !important;
    font-size: 12px !important;
  }

  #tenant-details td {
    color: #333 !important;
    background-color: white !important;
    border: none !important;
    padding: 12px 8px !important;
  }

  #tenant-details tr {
    border-bottom: 1px solid #e8e8e8 !important;
  }

  #tenant-details tr:last-child {
    border-bottom: none !important;
  }

  #tenant-details a {
    color: #2f2f2f !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
  }

  /* Hide button divs but show text */
  .pull-right {
    float: none !important;
    display: inline !important;
    margin: 0 !important;
  }

  /* Grid tables - tr-ng-grid specific styling */
  [tr-ng-grid] {
    width: 100% !important;
  }

  tr-ng-grid table,
  [tr-ng-grid] table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: white !important;
  }

  tr-ng-grid thead,
  [tr-ng-grid] thead {
    display: table-header-group !important;
    background-color: white !important;
  }

  /* Override table-header row styling in print */
  tr-ng-grid tr.table-header,
  [tr-ng-grid] tr.table-header {
    background-color: #f0f0f0 !important;
    border: none !important;
  }

  tr-ng-grid tr.table-header th,
  [tr-ng-grid] tr.table-header th {
    background-color: #f0f0f0 !important;
    color: #000 !important;
  }

  tr-ng-grid tbody,
  [tr-ng-grid] tbody {
    display: table-row-group !important;
    background-color: white !important;
  }

  tr-ng-grid th,
  [tr-ng-grid] th {
    background-color: #f0f0f0 !important;
    color: #000 !important;
    padding: 8px !important;
    border-bottom: 2px solid #333 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: bold !important;
  }

  tr-ng-grid td,
  [tr-ng-grid] td {
    background-color: white !important;
    color: #000 !important;
    padding: 8px !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }

  tr-ng-grid tr,
  [tr-ng-grid] tr {
    page-break-inside: avoid !important;
    border: none !important;
    background-color: white !important;
  }

  tr-ng-grid tr:nth-child(even),
  [tr-ng-grid] tr:nth-child(even) {
    background-color: #f5f5f5 !important;
  }

  /* Preserve inline color styles */
  span[style*="color:red"],
  span[style*="color: red"] {
    color: red !important;
  }

  span[style*="color:green"],
  span[style*="color: green"] {
    color: green !important;
  }

  /* Transaction table specific */
  #unseen-tenant-transaction-table table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: white !important;
  }

  #unseen-tenant-transaction-table thead {
    background-color: white !important;
  }

  #unseen-tenant-transaction-table th {
    background-color: #f0f0f0 !important;
    color: #000 !important;
    padding: 8px !important;
    border-bottom: 2px solid #333 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: bold !important;
  }

  #unseen-tenant-transaction-table tbody {
    background-color: white !important;
  }

  #unseen-tenant-transaction-table td {
    color: #000 !important;
    background-color: white !important;
    padding: 8px !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }

  #unseen-tenant-transaction-table tr {
    background-color: white !important;
    page-break-inside: avoid !important;
  }

  #unseen-tenant-transaction-table tr:nth-child(even) {
    background-color: #f5f5f5 !important;
  }

  /* Alerts in print */
  .alert {
    background-color: #f9f9f9 !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
  }

  .alert-danger {
    background-color: #fff3cd !important;
    color: #d9534f !important;
    border: 1px solid #d9534f !important;
  }

  .table-alert {
    padding: 2px !important;
    font-size: xx-small !important;
    background-color: #f9f9f9 !important;
    color: #000 !important;
  }

  /* Hide navigation elements */
  nav,
  .navbar,
  .sidebar,
  #sidebar,
  .site-navbar-inverse nav,
  [role="navigation"] {
    display: none !important;
  }

  /* Hide modals and dialogs */
  .modal,
  .modal-dialog,
  .modal-content,
  .modal-backdrop,
  [role="dialog"],
  .dialog,
  .popover,
  .tooltip {
    display: none !important;
  }

  /* Color utility classes */
  .text-muted {
    color: #999 !important;
  }

  .text-primary {
    color: #0078d4 !important;
  }

  .text-success {
    color: #5cb85c !important;
  }

  .text-danger {
    color: #d9534f !important;
  }

  .text-warning {
    color: #f0ad4e !important;
  }

  .text-info {
    color: #5bc0de !important;
  }

  /* Background color classes */
  .bg-primary {
    background-color: #0078d4 !important;
    color: white !important;
  }

  .bg-success {
    background-color: #5cb85c !important;
    color: white !important;
  }

  .bg-danger {
    background-color: #d9534f !important;
    color: white !important;
  }

  .bg-warning {
    background-color: #f0ad4e !important;
  }

  .bg-info {
    background-color: #5bc0de !important;
    color: white !important;
  }

  /* Data tables - hide controls */
  .dataTables_wrapper {
    width: 100% !important;
  }

  .dataTables_filter,
  .dataTables_info,
  .dataTables_paginate,
  .dataTables_length {
    display: none !important;
  }

  /* Hide print-unfriendly elements */
  .no-print,
  .print-hide,
  .hide-print,
  .printHide {
    display: none !important;
  }

  /* Hide Delete and Edit action columns in transaction tables */
  tr-ng-grid td:last-child,
  [tr-ng-grid] td:last-child,
  #unseen-tenant-transaction-table td:last-child {
    display: none !important;
  }

  /* Hide Delete buttons text */
  #unseen-tenant-transaction-table button,
  tr-ng-grid button,
  [tr-ng-grid] button {
    display: none !important;
  }

  /* Hide action button groups */
  .btn-group {
    display: none !important;
  }

  /* Lists */
  ul, ol {
    margin: 10px 0 !important;
  }

  li {
    margin: 5px 0 !important;
  }

  /* Remove excessive margins and padding */
  .container,
  .container-fluid {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Page break rules */
  .page-break {
    page-break-before: always !important;
  }

  .page-break-after {
    page-break-after: always !important;
  }
}
