@font-face {
  font-family: 'Gentium';
  src: url('GentiumBookBasic-Regular.ttf');
}
:root {
  touch-action: pan-x pan-y;
  height: 100%;
}
html {
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Encode Sans', sans-serif;
}
@media screen and (max-width: 768px) {
  html {
    overflow: hidden;
  }
  body {
    overflow: hidden;
  }
}
.unselectable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}
.section-header {
  background-image: linear-gradient(rgb(2, 34, 52), rgb(20, 58, 79));
}
.header-top {
  height: 125px;
  padding-top: 1rem;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1300px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
}
.header-social-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.header-social-wrapper > img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.header-top-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-top-phone-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-direction: row;
  color: rgb(255, 255, 255);

  font-weight: 500;
  font-family: 'Encode Sans', sans-serif;
}
.header-top > div {
  width: 33.3333%;
}
.phonenumber {
  cursor: default;
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.language-picker {
  width: 60px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-left: 48px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  align-items: flex-start;
}
.lang-switch {
  cursor: pointer;
}
.lang-picker-verticalline {
  height: 18px;
  width: 1px;
  background-color: white;
}
.header-top-logo {
  height: 100%;
}
.header-link-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: 'Encode Sans', sans-serif;
}
.header-link-list > div {
  font-weight: 500;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
}
.header-middle > div {
  font-weight: 700;
  letter-spacing: 0.7px;
}
.header-link-list > div {
  text-align: center;
  margin-left: 12px;
  color: rgb(255, 255, 255);
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 16px;
  cursor: pointer;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.header-link-list > div:hover {
  color: rgb(194 158 122);
}
.header-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 52px;
  background-color: rgb(2, 34, 52);
}

.filter-visible-row {
  display: none;
  width: 100%;
  height: 74px;
  background-color: rgb(249, 246, 242);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: 'Encode Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  z-index: 5001;
}
.filter-visible-inner {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: rgb(0 42 66);
}
#available-apartments {
  color: rgb(194 158 122);
}
.filter-left-text > div {
  display: inline;
}
.filter-button {
  gap: 0.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.filter-button::before {
  content: url('https://bghomes.pnt5.dev/images/icon-filter.svg');
  height: 1.5rem;
  width: 1.5rem;
}
.filter-dropdown {
  background-color: rgb(249, 246, 242);
  position: relative;
  visibility: initial;
}
.filter-bar-wrapper {
  z-index: 5;
  background-color: rgb(103, 85, 68);
  width: 100%;
  height: 150px;
  transition: all ease 0.4s;
}
.active {
  visibility: initial;
}
.active > .filter-bar-wrapper {
  transition: all ease 0.4s;
  transform: translateY(600px);
}
/* @keyframes dropdown {
  0% {
    top: -250px;
  }
  100% {
    top: 0px;
    visibility: initial;
  }
} */
.page-wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.content {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 700px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.wrapper {
  height: 100vh;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.loading-wrapper {
  background-color: #000000aa;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 6000;
}
.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #333;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: relative;
  margin: 0 auto;
  top: calc(50% - 120px);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.table-wrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filter-bar {
  background-color: rgb(103, 85, 68);
  position: relative;
  height: 150px;
  width: 100%;
  max-width: 1300px;
  left: 50%;
  z-index: 5500;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  padding: 10px;
  transform: translateX(-50%);
}
.filter-section {
  width: calc(100% / 4);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px;
  margin-left: 15px;
  margin-right: 15px;
}
.filter-slider-detail {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: 500;
  margin-top: 10px;
}
.filter-title {
  text-transform: uppercase;
  font-family: 'Encode Sans', sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.view-button{
  height: auto;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Encode Sans', sans-serif;
  color: white;
  background-color: rgb(194 158 122);
  box-sizing: border-box;
  padding: 12px;
  position: relative;
  top: -12px;
}
.view-button:hover{
  background-color: rgb(226, 185, 144);
}
label {
  font-size: 14px;
  font-family: 'Encode Sans', sans-serif;
  font-weight: 500;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}
.table-row-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  padding-left: 50px;
  padding-right: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid rgba(194, 158, 122, 0.25);
  color: rgb(0 42 66);
  gap: 10px;
}
.table-row-wrapper:nth-last-child(1) {
  border-bottom: 2px solid rgba(248, 246, 243);
}
.table-row-wrapper:hover {
  background-color: rgb(235, 229, 218);
}

.table-row-grid {
  display: flex;
  align-items: center;
}
.table-row-name {
  font-family: 'Aboreto';
  font-size: 1.3rem;
}
.table-row-title {
  color: rgb(194, 158, 122);
  text-transform: uppercase;
  font-size: 0.8rem;
}
.table-row-wrapper > .table-row-vertical {
  height: 95px;
}
.table-row-vertical {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.table-row-button {
  background-color: transparent;
  cursor: pointer;
  border: 2px solid rgb(194, 158, 122);
  padding: 8px 16px;
  margin: 0;
  text-transform: uppercase;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  color: rgb(0 42 66);
}
.table-row-button:hover {
  background-color: rgb(194, 158, 122);
  color: white;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 2px #000;
}
#table-inner:nth-child(2n) {
  background-color: rgb(249, 246, 242);
}
#table-inner:nth-child(2n):hover {
  background-color: rgb(235, 229, 218);
}
tr > td {
  font-family: 'Encode Sans', sans-serif;
}

/* Slider settings */

.noUi-target {
  border: none;
  box-shadow: inset 0 0 3px #000;
}

.noUi-horizontal .noUi-handle {
  background-color: rgb(194 158 122);
  width: 24px;
  height: 24px;
  top: -3px;
  right: -12px;
  border-radius: 12px;
  box-shadow: none;
  background-image: none;
  border: rgb(255 228 151) 7px solid;
}
.noUi-handle::before {
  display: none;
}
.noUi-handle::after {
  display: none;
}

.noUi-connect {
  background-color: rgb(194 158 122);
}

@media screen and (max-width: 768px) {
  .page-wrapper {
    overflow: scroll;
  }
  .wrapper {
    height: unset;
    width: 100vw;
    aspect-ratio: 1.333333333333333333333333;
    overflow: scroll;
  }
  .content {
    width: 100vw;
    aspect-ratio: 1.3333333333333333333333333;
    height: unset;
    left: unset;
    top: unset;
    transform: unset;
  }
  .table-wrapper {
    width: 100vw;
    height: auto;
    overflow: unset;
  }
}
.wrapper > canvas {
  transform-origin: top left;
}
.temp-anim {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  width: 250px;
}
.arrow {
  position: absolute;
  top: 7.5%;
  transform: translateY(-50%);
  transform-origin: 50% 25%;
  right: 15px;
  width: 70px;
  height: 70px;
  background-image: url('../icons/double_arrow.png');
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  background-color: rgb(103, 85, 68);
  border: 2px solid rgb(194, 158, 122);
  border-radius: 35px;
  z-index: 4;
}
.arrow:hover {
  background-color: rgb(124, 103, 82);
}
@media screen and (max-width: 768px) {
  .arrow {
    width: 30px;
    height: 30px;
    background-size: 20px 20px;
    top: unset;
    bottom: 3%;
    -webkit-tap-highlight-color: transparent;
  }
}
@media (hover: hover) {
  .arrow:hover {
    background-color: rgb(124, 103, 82);
  }
  .mb-zoom {
    -webkit-tap-highlight-color: transparent;
  }
}

.arrow-left {
  right: unset;
  left: 15px;
  transform: rotate(180deg);
}
.apartment-panel {
  width: 200px;
  height: 150px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: white;
  border-radius: 4px;
  z-index: 200;
  visibility: hidden;
  display: flex;
  flex-direction: column;
}
.apt-title {
  width: 100%;
  height: 30px;
  background-color: rgb(194, 158, 122);
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  justify-content: center;
  font-family: 'Gentium';
}
.info-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
.info-row {
  display: flex;
  width: 80%;
  flex-direction: row;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  border-bottom: 1px solid gray;
}
.info-title {
  font-weight: 300;
  text-transform: uppercase;
  font-family: sans-serif;
  color: rgb(194, 158, 122);
}
.info-value {
  color: rgb(2, 34, 52);
}
.mobile-panel {
  position: absolute;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: #00000080;
  visibility: hidden;
  box-sizing: border-box;
  padding: 3vh;
padding-top: 10vh;
}
.mobile-panel-bg {
  background-color: white;
  width: 100%;
  height: unset;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-panel-close {
  position: absolute;
  right: 2vh;
  top: 9vh;
  height: 4vh;
  aspect-ratio: 1;
  background-color: #444;
  background-image: url('../icons/close.png');
  background-size: 2vh 2vh;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: -2px 3px 5px #444;
}
.mobile-title-bar {
  height: 5vh;
  width: 100%;
  background-color: rgb(194, 158, 122);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Gentium';
  font-weight: 500;
  color: white;
  font-size: 22px;
}
.mobile-apt-content {
  margin-top: 20px;
  height: calc(100% - 20vh);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 150px;
  height: 40px;
  border: 2px solid;
  border-color: rgb(194 158 122);
  background-color: transparent;
  border-radius: 5px;
  color: rgb(0 42 66);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 20px;
}
.mobile-action-bar:hover {
  background-color: rgb(194, 158, 122);
  color: white;
}
.mobile-row {
  width: 100%;
  padding-left: 8vw;
  padding-right: 8vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-family: sans-serif;
  text-decoration: uppercase;
  color: rgb(194, 158, 122);
  font-size: 18px;
}
.mobile-value {
  font-weight: 300;
  color: rgb(2, 34, 52);
}
.mb-border {
  margin-top: 1vh;
  margin-bottom: 6vh;
  background-color: #444;
  width: 80%;
  height: 2px;
}
table {
  width: 105%;
  text-align: center;
}
.table-head {
  text-align: center;
  width: calc(100% / 4);
}
td {
  width: calc(100% / 4);
  height: 35px;
}
.table-headers {
  display: flex;
  flex-direction: row;
  border-bottom: 2px solid gray;
}
.table-inner {
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.table-inner::-webkit-scrollbar {
  width: 0.75em;
}

.table-inner::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.table-inner::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: rgb(194, 158, 122);
}
.control-wrapper {
  position: relative;
  height: 100vh;
  aspect-ratio: 1.33333333333333333333333333;
  left: 50%;
  transform: translateX(-50%);
}
.controls-wrapper {
  height: 100%;
  aspect-ratio: 1.33333333333333;
  position: relative;
}
.input-wrapper {
  display: flex;
  width: 100%;
  flex-direction: row;
  margin-top: 2px;
  align-items: center;
}
.input-wrapper > input[type='checkbox'] {
  margin-left: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  height: 1.75rem;
  width: 1.75rem;
  border: 2px solid rgb(194 158 122);
  accent-color: rgb(194 158 122);
  color: rgb(194 158 122);
  box-sizing: border-box;
  border-radius: 0.125rem;
  margin-right: 10px;
}
.input-wrapper > input[type='checkbox']:checked {
  background-color: rgb(194 158 122);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.start-filter {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  right: 0.5%;
  bottom: 2.5%;
  width: 150px;
  height: 40px;
  border: 2px solid;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-color: rgb(194 158 122);
  background-color: transparent;
  border-radius: 5px;
  color: #fff;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.start-filter:hover {
  background-color: rgb(194, 158, 122);
  color: white;
}

.reset-filter {
  position: absolute;
  right: 35px;
  bottom: 2.5%;
  height: 40px;
  width: 150px;
  text-transform: uppercase;
  border: none;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  border: 2px solid rgb(194 158 122);
  border-radius: 5px;
}
.reset-filter:hover {
  color: rgb(194, 158, 122);
}

@media screen and (max-width: 768px) {
  .control-wrapper {
    height: unset;
    aspect-ratio: unset;
    left: unset;
    transform: unset;
  }
  .content {
    flex-direction: column;
  }
}
.mb-zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-image: url('../icons/zoom.png');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  background-color: #675544;
  border-radius: 35px;
  border: 2px solid rgb(194, 158, 122);
  z-index: 4999;
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  .mb-zoom {
    visibility: visible;
  }
  .controls-wrapper {
    width: 100%;
    height: unset;
  }
  .table-row-wrapper {
    padding: 20px;
  }
  .filter-visible-row {
    display: flex;
    height: 60px;
    font-size: 0.8rem;
  }
  .filter-visible-inner {
    width: 90%;
  }
  .filter-section {
    margin: 0;
    width: 80%;
  }
  .input-wrapper > input[type='checkbox'] {
    height: 1.2rem;
    width: 1.2rem;
  }
  label {
    font-size: 12px;
  }
  .filter-bar-wrapper {
    height: fit-content;
    padding: 10px;
    z-index: 5000;
    box-sizing: border-box;
    top: -600px;
    position: absolute;
  }
  .filter-dropdown {
    visibility: hidden;
  }
  .active {
    visibility: initial;
  }
  .filter-bar {
    height: fit-content;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .table-row-button {
    padding: 5px 10px;
  }
  .table-row-name {
    font-size: 1.1rem;
  }
  .table-row-title {
    font-size: 0.7rem;
  }
  .table-row-data {
    font-size: 0.8rem;
  }
  .start-filter {
    position: relative;
    margin-top: 50px;
  }
  .reset-filter {
    position: unset;
  }
}
