

body {
	font-family: "Noto Sans", sans-serif;
	color: white;
}

h1 {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h2, h3 {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.noto-sans-<uniquifier> {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body {
  background-color: #01010A;  /* You can change this color to any valid CSS color */
}

.cover-photo {
  width:100%; /* Make the image responsive */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Crop the image to fit the container */
  max-height: 1200px; /* Adjust as needed */
  border-radius: 2px; /* Optional: Add rounded corners */
}

.project-photo {
  width: 100%; /* Make the image responsive */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Crop the image to fit the container */
  max-height: 300px; /* Adjust as needed */
  border-radius: 2px; /* Optional: Add rounded corners */
}

.custom-navbar {
  background-color: #1C1D2C;
}


.project-cover {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 0.45rem;
  border-top-right-radius: 0.45rem;
}

/* Dark project card overrides */
#projects .project-card .card {
  background-color: #000 !important;
  border: 1px solid #000 !important;
  color: white !important;
}

#projects .project-card .card-body {
  background-color: #000 !important;
  color: white !important;
}

#projects .project-card .card-title,
#projects .project-card .card-subtitle,
#projects .card-text {
  color: white !important;
}

#projects .project-card .card-subtitle {
  color: #ccc !important;
}

#projects .project-card .card-img-top.project-cover {
  height: 200px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.project-activity-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-activity-heading h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.project-activity-count,
.activity-item-meta time {
  color: #b9bccb;
  font-size: 0.85rem;
}

.project-activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-post-form {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #10111d;
  border: 1px solid #2b2d3f;
}

.project-composer-options {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #070811;
  border: 1px solid #2b2d3f;
}

.project-composer-asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-composer-options-toggle {
  display: inline-block;
  margin-top: 0.75rem;
  color: #0d6efd;
  font-size: 0.9rem;
}

.project-composer-options-toggle:hover,
.project-composer-options-toggle:focus {
  color: #6ea8fe;
}

.project-composer > .field label {
  display: block;
  margin-bottom: 0.25rem;
  color: #b9bccb;
  font-size: 0.85rem;
}

.project-composer .actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.project-gallery {
  columns: 3 220px;
  column-gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-layout.gallery-mode {
  min-height: calc(100vh - 4rem);
  height: auto;
}

.project-layout.gallery-mode .project-main {
  flex-basis: 100%;
  width: 100%;
}

.project-layout.gallery-mode .project-sidebar-column {
  display: none;
}

.project-layout.gallery-mode .project-gallery {
  columns: 3 280px;
}

.project-gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.75rem;
  overflow: hidden;
  background: #10111d;
  border: 1px solid #34374b;
  border-radius: 0.25rem;
}

.project-gallery-link {
  position: relative;
  display: block;
}

.project-gallery-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-gallery-reference {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.4rem;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.activity-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #070811;
  border: 1px solid #26283a;
  border-radius: 0.25rem;
}

.activity-item[hidden] {
  display: none;
}

.activity-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.activity-item-type {
  color: #f5c542;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.activity-post-message {
  margin-bottom: 0.35rem;
  color: #b9bccb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.activity-post-message span {
  color: white;
}

.activity-comment-reference {
  margin: 0.5rem 0;
}

.activity-comment-thumbnail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #10111d;
  border: 1px solid #34374b;
}

.activity-comment-thumbnail,
.activity-comment-file-icon {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.activity-comment-file-icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.activity-comment-link-icon {
  color: #0d6efd;
  font-size: 2rem;
  line-height: 1;
}

.activity-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.activity-link {
  color: #0d6efd;
  overflow-wrap: anywhere;
}

.activity-image-reference {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.activity-link:hover,
.activity-link:focus {
  color: #0b5ed7;
}

.activity-delete {
  display: inline-block;
  margin-left: 0.75rem;
  color: #b9bccb;
  font-size: 0.85rem;
}

.activity-file-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.activity-file-card:hover,
.activity-file-card:focus {
  color: inherit;
  text-decoration: none;
  border-color: #0d6efd;
}

.activity-link-card {
  display: block;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: #10111d;
  border: 1px solid #34374b;
  border-radius: 0.25rem;
}

.activity-link-card h3 {
  margin: 0;
}

.activity-file-preview {
  display: block;
  flex: 0 0 160px;
  overflow: hidden;
  background: #10111d;
  border: 1px solid #34374b;
  border-radius: 0.25rem;
}

.activity-file-thumbnail,
.activity-file-icon {
  display: block;
  width: 160px;
  height: 120px;
  object-fit: contain;
}

.activity-file-thumbnail {
  object-fit: cover;
}

.activity-file-details {
  min-width: 0;
  padding-top: 0.15rem;
}

.activity-file-details h3 {
  overflow-wrap: anywhere;
}

.activity-file-kind,
.activity-file-name {
  display: block;
  color: #b9bccb;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.activity-file-kind {
  color: #f5c542;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 575.98px) {
  .activity-file-card {
    gap: 0.75rem;
  }

  .activity-file-preview {
    flex-basis: 104px;
  }

  .activity-file-thumbnail,
  .activity-file-icon {
    width: 104px;
    height: 88px;
  }
}

.comment-photo {
  max-width: 100%;
  height: auto;
}

.lightbox-modal {
  background: rgba(8, 8, 16, 0.96);
  color: white;
}

.lightbox-image {
  display: block;
  width: 100%;
  height: 75vh;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-image[hidden] {
  display: none;
}

.lightbox-pdf {
  display: block;
  width: 100%;
  height: 75vh;
  border: 0;
  background: white;
}

.lightbox-pdf[hidden] {
  display: none;
}

#imageLightbox.pdf-view-mode .modal-dialog {
  display: block;
  width: 100vw;
  max-width: none;
  height: 100vh;
  margin: 0;
}

#imageLightbox.pdf-view-mode .modal-content {
  min-height: 100vh;
  border-radius: 0;
}

#imageLightbox.pdf-view-mode .lightbox-layout {
  min-height: calc(100vh - 12rem);
  grid-template-columns: 1fr;
}

#imageLightbox.pdf-view-mode .lightbox-conversation {
  display: none;
}

#imageLightbox.pdf-view-mode .lightbox-image-pane {
  min-height: calc(100vh - 12rem);
}

#imageLightbox.pdf-view-mode .lightbox-pdf {
  height: calc(100vh - 12rem);
}

#lightboxAssetLink {
  display: block;
  width: 100%;
}

.lightbox-link-preview {
  width: min(100%, 34rem);
  padding: 2rem;
  background: linear-gradient(145deg, #1c1d2c, #10111d);
  border: 1px solid #34374b;
  border-radius: 0.5rem;
  text-align: center;
}

.lightbox-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border: 1px solid #0d6efd;
  border-radius: 50%;
  color: #0d6efd;
  font-size: 2.5rem;
}

.lightbox-link-preview h3 {
  overflow-wrap: anywhere;
}

.lightbox-link-preview p {
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}

.lightbox-link-preview p:first-of-type {
  color: #f5c542;
  font-weight: 700;
}

.lightbox-link-preview p:last-of-type {
  color: #b9bccb;
  font-size: 0.85rem;
}

.lightbox-footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem;
  align-items: stretch;
}

#imageLightbox.lightbox-expanded .modal-dialog {
  display: block;
  max-width: none;
  width: 100vw;
  height: 100vh;
  margin: 0;
}

#imageLightbox.lightbox-expanded .modal-content {
  min-height: 100vh;
  border-radius: 0;
}

#imageLightbox.lightbox-expanded .lightbox-layout {
  min-height: calc(100vh - 7rem);
  grid-template-columns: 1fr;
}

#imageLightbox.lightbox-expanded .lightbox-conversation {
  display: none;
}

#imageLightbox.lightbox-expanded .lightbox-image-pane {
  min-height: calc(100vh - 12rem);
}

#imageLightbox.lightbox-expanded .lightbox-image {
  height: calc(100vh - 12rem);
  max-height: calc(100vh - 12rem);
}

.lightbox-image-pane {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 0.25rem;
  opacity: 1;
}

.lightbox-conversation {
  max-height: 75vh;
  overflow-y: auto;
}

.lightbox-conversation[hidden] {
  display: none;
}

.lightbox-layout:has(.lightbox-conversation[hidden]) {
  grid-template-columns: 1fr;
}

.photo-conversation {
  margin-top: 0.75rem;
  background: #10111d;
  border: 1px solid #2b2d3f;
}

.photo-conversation-lightbox {
  height: 100%;
  margin-top: 0;
}

.photo-conversation-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem;
}

.photo-conversation-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.comment-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9bccb;
  font-size: 1.35rem;
  line-height: 1;
}

.comment-delete-button:hover,
.comment-delete-button:focus {
  color: #dc3545;
}

.photo-conversation-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.photo-conversation-toggle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.875rem;
  background: transparent;
  border: 0;
  color: white;
  text-align: left;
}

.photo-conversation-toggle > span:first-child {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.photo-conversation-summary,
.photo-conversation-header span,
.photo-conversation-empty,
.comment-meta small {
  color: #b9bccb;
}

.photo-conversation-caret {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.15s ease;
}

.photo-conversation-toggle[aria-expanded="true"] .photo-conversation-caret {
  transform: rotate(180deg);
}

.photo-conversation-body {
  padding: 0 0.875rem 0.875rem;
}

.photo-conversation-messages {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.photo-conversation-form textarea {
  background-color: #05060d;
  border-color: #34374b;
  color: white;
}

.photo-conversation-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.photo-conversation-form textarea {
  width: 100%;
}

.photo-conversation-form textarea::placeholder {
  color: #8d91a3;
}

.comment {
  padding: 0.75rem 0;
  border-bottom: 1px solid #2b2d3f;
}

.comment-threaded {
  padding: 0.75rem;
  background: #070811;
  border: 1px solid #26283a;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.comment-meta span {
  font-weight: 700;
}

.comment-content {
  margin-bottom: 0.75rem;
  white-space: pre-wrap;
}

.project-layout {
  height: 80vh;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 1rem;
}

.project-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.project-main > *,
.project-activity,
.activity-item,
.project-post-form {
  min-width: 0;
  max-width: 100%;
}

.activity-item img,
.activity-item video,
.activity-item iframe,
.comment-photo {
  max-width: 100%;
}

.activity-item,
.activity-item h3,
.activity-item p,
.comment-content,
.photo-conversation,
.photo-conversation-form,
.project-post-form {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-post-form input[type="file"] {
  max-width: 100%;
}

.project-sidebar-column {
  width: 350px;
}

.project-tools-button,
.project-sidebar-header {
  display: none;
}

@media (min-width: 992px) {
  .project-sidebar-column {
    width: 350px;
  }

  .project-sidebar {
    position: static;
    width: 100%;
    height: 100%;
    visibility: visible;
    transform: none;
  }

  .project-sidebar .offcanvas-body {
    display: block;
    overflow: visible;
  }
}

@media (max-width: 1199.98px) {
  .lightbox-layout {
    grid-template-columns: 1fr;
  }

  .lightbox-image-pane {
    min-height: auto;
  }

  .lightbox-conversation {
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  .project-layout {
    height: 80vh;
  }

  .project-tools-button {
    display: inline-block;
  }

  .project-sidebar-column {
    width: 0;
  }

  .project-sidebar {
    width: min(350px, 88vw);
    background-color: #01010a;
    border-color: #333 !important;
  }

  .project-sidebar-header {
    display: flex;
    padding: 1rem 0 1rem;
  }
}
