body {
  background-color: #f5f5f5 !important;
}

.offer-title {
  color: #3e2e28;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
}

.offer-region {
  color: #3e2e28;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
}

.description .description-header {
  color: #3e2e28;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  margin-bottom: 2rem;
}

.description .description-text {
  color: #3e2e28;
  font-size: 1.25rem;
  font-weight: 400;
  font-family: "Nunito", sans-serif;
  margin-bottom: 2rem;
  text-align: left;
}

.pswp-docs__home-gallery {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 2px;
}

.pswp-docs__home-gallery .pswp-docs__home-gallery-item:first-of-type {
  grid-row: span 2;
  position: relative;
  grid-column: span 2;
}

.pswp-docs__home-gallery .pswp-docs__home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pswp-docs__home-gallery-item {
  position: relative;
}
.sold-img-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background-color: rgba(255, 0, 0, 0.8);
  transform: rotate(-45deg);
  top: 90px;
  left: -445px;
  width: 1000px;
}
.sold-img-banner span {
  color: white;
  font-weight: bold;
  font-size: 20px;
}
.dt-length,
.dt-info {
  display: none;
}

.dt-container nav {
  background-color: unset !important;
  padding: 1rem !important;
}

.offer-attribute-title {
  color: #3e2e28;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
}

.offer-attribute-description {
  color: #3e2e28;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: "Nunito", sans-serif;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #f4f4f4;
}

select {
  margin-bottom: 10px !important;
}

.apartments-table {
  margin: 20px 0;
}

.apartments-table tbody tr {
  height: 50px;
}

.gallery-wrapper {
  padding: 0 !important;
}

.apartments-table tbody tr:nth-child(odd) {
  background-color: #f0ebe3;
}

.filter-option {
  display: flex;
  flex-direction: column;
  margin-right: 30px;
  width: 250px;
}

.filter-option label {
  text-align: center;
  color: #3e2e28;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
}

table .pagination li {
  margin-right: 0.5rem;
  color: #3e2e28;
  font-size: 1.2rem;
  font-weight: 500;
}

table .pagination li a {
  text-decoration: none;
  margin-right: 0.75rem;
  color: #3e2e28;
}

table .pagination li.active a {
  text-decoration: underline;
  margin-right: 0.75rem;
  color: #3e2e28;
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-dialog {
  max-width: 800px !important;
}

.modal-header {
  border-bottom: none !important;
}

.carousel-control-prev {
  left: -35px !important;
}

.carousel-control-next {
  right: -35px !important;
}

@media (max-width: 768px) {
  .pswp-docs__home-gallery .pswp-docs__home-gallery-item:nth-child(n + 2) {
    display: none;
  }

  .pswp-docs__home-gallery .pswp-docs__home-gallery-item:first-of-type {
    grid-column: span 4;
  }
}

@media (max-width: 786px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block !important;
  }

  thead {
    display: none !important; /* Hide the table header */
  }

  .apartments-table tbody tr {
    height: auto !important;
  }

  tr {
    margin-bottom: 10px !important;
    padding: 10px !important;
  }

  td {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px !important;
    margin: 0 3rem;
  }

  td::before {
    content: attr(data-th) !important;
    font-weight: bold !important;
    padding-right: 10px !important;
  }
}
