.footer{
  display: none !important;
}

.private-mode-banner {
  display: none !important; 
}

.sidemenu-offset {
  margin: 0px 0px 0px 75px;
}

.full{
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.full iframe{
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.overflow-sidemenu-margin {
  position: relative;
  margin-left: -95px;
  margin-right: -20px;
  width: calc(100% + 115px);
}

@media screen and (max-width: 1024px) {
  .sidemenu-offset {
    margin: 0 10px 0 10px !important;
  }
  .overflow-sidemenu-margin {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
  }

  .full{
    height: 100% - 30px;
  }
}

.section {
  background-color: var(--portalThemeColor2);
  border: 1px solid var(--portalThemeColor3);
  border-radius: 10px;
  padding: 20px;
  /*margin: 20px 0;*/
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.underline{
border-bottom: 2px solid;
}

.hidden {
  display: none !important; 
}

/*#region Home Styles */
.banner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  padding: 10px 0;
  text-align: center;
  background-color: var(--portalThemeColor5);
  border-top: 2px solid var(--portalThemeColor7);
  border-bottom: 2px solid var(--portalThemeColor7);
}

.banner-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center content horizontally */
  padding: 0 20px;
  margin: 0 5px;
  vertical-align: middle;
  flex: 1; /* Makes each banner-item take up equal width */
}

.banner-item img {
  width: 400px;
  height: 137px;
  border-radius: 15px;
}

.banner h2 {
  font-weight: bold;
}

.banner h3 {
  color: var(--portalThemeColor9);
}

.banner-item:not(:last-child) {
  border-right: 1px solid var(--portalThemeColor7);
}

@media screen and (max-width: 1024px) {
  .banner {
    flex-direction: column; /* Stack items vertically on small screens */
    padding: 0;
  }

  .banner-item {
    padding: 5px;
    margin: 0;
  }

  .banner-item:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid var(--portalThemeColor7);
  }
}

.backgroundCard{
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
  margin: auto;
  min-height: auto;
  background-color: var(--portalThemeColor4);
  border-radius: 15px;
  max-width: 1320px;
}

.background-image {
  background-image: url("/BlackWhiteBuildings.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  height: 400px;
  width: 100%;
  margin: 20px 0px;
}

.crmEntityFormView fieldset{
  margin-bottom: 0px !important;
}

.crmEntityFormView .captcha-cell{
  padding: 28px
}
/* Remove background image from mobile but keep the space */
@media only screen and (max-width: 1024px) {
  .background-image {
    visibility: hidden;  /* Hides the background image */
    height: 0;          /* Sets the height to 0 to avoid extra space */
    margin: 20px 0px; /* Keeps the margin for spacing */
  }
}


.social-icon {
  font-size: 24px;
  color: #fff;
  text-decoration: none !important;
}

.social-icon:hover {
  color: var(--portalThemeColor5);
}
/*#endregion */

/*#region KPI Tiles*/
.kpi-tiles-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  border-radius: 8px;
  margin: 0px 0px 10px 0px;
}
.kpi-tile {
  color: var(--portalThemeColor3);
  background-color: var(--portalThemeColor4);
  border-radius: 8px;
  text-align: center;
  padding: 10px;
}
.kpi-tile:last-child {
  margin-right: 0;
}

.kpi-tile p {
 margin-bottom: 0px;
}

/*#endregion */

/*#region TenantList */
.sticky {
  position: sticky;
  top: 0;
  z-index: 2;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: start;
  background-color: var(--portalThemeColor2);
  width: 100%;
}

.search-box {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--portalThemeColor3);
  font-size: 16px;
  color: #ffffff;
  background-color: var(--portalThemeColor2);
}
.search-box::placeholder {
  color: #bbb;
}
.button-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 5px 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.helper-buttons {
  display: flex;
  gap: 10px;
}

.button-container > *:not(div) { 
  width: 200px !important;
  }
    
  .helper-buttons > *{
    width: 200px !important;
  }


  @media screen and (max-width: 472px) { 
    .button-container, .helper-buttons { 
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: stretch; /* Make them take full width */
    }

    .button-container > *, 
    .helper-buttons > * { 
        width: 100% !important;  
    }
}

.space-between{
  justify-content: space-between;
}
.justify-end{
  justify-content: end;
}
.justify-start{
  justify-content: start;
}



  
.table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  position: relative;
  
}
.table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.table th,
.table td {
  padding: 4px;
  border: 1px solid #555;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.table th {
  background-color: #333;
  color: #e0e0e0;
  position: sticky;
  top: -3px;
  z-index: 2;
}
.table tbody tr {
  background-color: #2a2a2a;
  color: #e0e0e0;
}
.table tbody tr:nth-child(even) {
  background-color: #252525;
}
.table tbody tr:hover {
  background-color: #383838;
}
/*#endregion */

/*#region TenantCards */
.tenant-cards-section {
  border-radius: 8px;
  color: #e0e0e0;
  overflow-x: auto;
}

.tenant-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

@media screen and (max-width: 1024px) {
  .tenant-cards-section {
      margin-left: 0;
      margin-right: 0;
  }
  .tenant-cards-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(calc(100vw - 50%), 1fr));
      gap: 20px;
      margin-top: 10px;
  }
}

.tenant-card {
  background-color: #2a2a2a;
  color: #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.tenant-card:hover {
  transform: translateY(-10px);
}

.tenant-card p {
  margin: 5px 0;
}

.past-due {
  border: 2px solid #e63946;
}

.past-due-date {
  color: #e63946;
}

/*#endregion */

/*#region Form Styles*/
.form-page{
  display: flex;
  flex-direction: column;
  width: 80%;
}
.form-section {
  border: 1px solid var(--portalThemeColor3);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-wrap: wrap;
}
.form-group label {
  flex: 1 0 0px; 
  padding-right: 10px;
  text-align: left;
}

@media screen and (max-width: 1024px) { 
  .form-group label{
    flex: 1 0 10px;
  }
}
.form-group input,
.form-group textarea {
  flex: 2 0 300px;
  padding: 12px;
}

.form-group input,
.form-group select {
  flex: 2 0 300px;
  padding: 12px;
}

.form-group textarea {
  resize: vertical; /* Allow textarea resizing */
}

.form-group .error-group .error-message {
  display: none;
  color: red;
  font-size: 16px;
  margin-bottom: 0px;
}

/* For smaller screens, stack label and input vertically */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }

  .form-group label {
    text-align: left; /* Align label to the left on smaller screens */
    margin-bottom: 5px; /* Space between label and input */
  }

  .form-group input,
  .form-group textarea,
  .form-group select{
    flex-basis: 100%; /* Inputs and textareas take full width on smaller screens */
  }
}

label {
  font-weight: 500;
  margin: 20px 0;
  display: block;
  text-align: left;
  color: #e0e0e0; 
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 5px 0 0px 0;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 16px;
  background-color: var(--portalThemeColor4);
  color: white;
  color-scheme: dark; 
}

.readonly-field {
  background-color: var(--portalThemeColor4);
  border: 1px solid var(--portalThemeColor2);
  color: var(--portalThemeColor3);
  cursor: not-allowed;
  opacity: 0.5;
}

.primaryColor{
  color: red;
}

/*#endregion */

/*#region TenantMovementRequestForm Styles */
.reading-row {
  border: 1px solid var(--portalThemeColor3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  position: relative;
}

.remove-button-container {
  text-align: right; 
  margin-top: 20px;
}

.drop-area {
  border: 3px dotted var(--portalThemeColor3);
  border-radius: 4px;
  background-color: var(--portalThemeColor2);
  color: var(--portalThemeColor3);
  flex: 2 0 300px;
  padding: 12px;
  margin: 10px 0;
}

.file-list {
  margin-top: 10px;
  color: var(--portalThemeColor3);
  flex: 2 0 300px;
  margin: 12px;
}

@media (max-width: 768px) {
  .form-group .drop-area{
    flex: 2 0 100% !important;      
  }
  .form-group .file-list{
    margin: 0px;
    flex: 2 0 100% !important;
  }
}

.input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--portalThemeColor3);
  border-radius: 4px;
  }

  .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
  }


.file-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.bx-trash {
    color: red;
    cursor: pointer;
    margin-left: 10px; /* Space between name and icon */
}  

.tenant-services-table,
.confirmation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  flex: 2 0 300px
}

@media (max-width: 768px){
.tenant-services-table,
.confirmation-table {
  flex: 2 0 100%
}
}

.tenant-services-table th,
.confirmation-table th {
  background-color: var(--portalThemeColor1);
  color: var(--portalThemeColor3);
  padding: 10px;
  border: 1px solid var(--portalThemeColor3);
}

.tenant-services-table td,
.confirmation-table td {
  padding: 10px;
  border: 1px solid var(--portalThemeColor3);
}


@media (max-width: 768px) {
  .tenant-services-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
  }

  .tenant-services-table thead {
    display: none;
  }

  .tenant-services-table tbody {
    display: block;
    width: 100%;
  }

  .tenant-services-table tr {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid var(--portalThemeColor2);
    border-radius: 8px;
    position: relative;
  }

  .tenant-services-table td {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    position: relative;
  }

  .tenant-services-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    font-weight: bold;
    background: var(--portalThemeColor1);
    color: var(--portalThemeColor3);
    padding: 5px;
    box-sizing: border-box;
    border-right: 1px solid var(--portalThemeColor3);
    z-index: 1;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tenant-services-table td {
    padding-left: 50%;
    box-sizing: border-box;
  }

  .tenant-services-table td input,
  .tenant-services-table td select {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid var(--portalThemeColor3);
    border-radius: 4px;
    color: var(--portalThemeColor3);
    margin-top: 5px;
    height: 100%;
  }

  .tenant-services-table td:nth-of-type(1)::before {
    content: "Service";
  }
  .tenant-services-table td:nth-of-type(2)::before {
    content: "Metered Y/N";
  }
  .tenant-services-table td:nth-of-type(3)::before {
    content: "Common Area Y/N";
  }
  .tenant-services-table td:nth-of-type(4)::before {
    content: "Pro Rata Y/N";
  }
  .tenant-services-table td:nth-of-type(5)::before {
    content: "Additional Comments";
  }
}

.error-group{
  flex: 2 0 300px;
}

.form {
  background-color: var(--portalThemeColor1);
  color: var(--portalThemeColor3);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  position: relative;
  }
  .progressbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  counter-reset: step;
  margin: 2rem 2rem 5rem;
  }
  .progressbar::before, .progressbarProgress {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background-color: #dcdcdc;
  }
  .progressbarProgress {
  background-color: var(--portalThemeColor5);
  width: 0%;
  transition: 0.3s;
  }
  .progressbarProgress-step {
  width: 2.1875rem;
  height: 2.1875rem;
  background-color: #dcdcdc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  }
  .progressbarProgress-step::before {
  counter-increment: step;
  content: counter(step);
  }
  .progressbarProgress-step::after {
  content: attr(data-title);
  position: absolute;
  top: calc(100% + 0.5rem);
  }
  .progressbarProgress-step-active {
  background-color: var(--portalThemeColor5);
  color: #f3f3f3;
  }
  .form-step {
  display: none;
  transform-origin: top;
  animation: animate 0.5s;
  }
  @keyframes animate {
  from {
  transform: scale(1, 0);
  opacity: 0;
  }
  to {
  transform: scale(1, 1);
  opacity: 1;
  }
  }
  .form-step-active {
  display: block;
  }
  .form-group .readings-container{
    flex: 2 0 300px;
    margin: 10px 0px 0px 0px;
  }

  @media screen and (max-width: 768px){
    .form-group .readings-container{
      flex: 2 0 100%;
      margin: 0px;
    }
  }
/*#endregion */

/*#region Tenant / Escalation Details  */

.detail-2-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  padding: 0px 10px 0px 10px;
}

.detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  margin-bottom: 10px;
  padding: 0px 10px 0px 10px;
}

.tag {
  text-align: left;
  color: rgb(204, 204, 204);
  font-size: 14px;
}

.value {
  text-align: left;
  font-size: 14px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  word-wrap: break-word; /* Allows breaking words that are too long */
  word-break: break-word; /* Ensures long words or values break */
  overflow-wrap: break-word; /* Ensures wrapping for long text */
  white-space: normal; /* Allows text to wrap to the next line */
}

.char-count {
  color: rgb(255, 255, 255);
  margin-bottom: 5px;
  font-size: 15px;
}
/*#endregion */


/*#region SLD and Profile */
.icon-text {
display: grid;
grid-template-columns: 80px 1fr;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}

.no-access-container {
  text-align: center;
  padding: 20px;
  margin: 50px auto;
}

.no-access-message {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}