/*-----------------ContainerForSwitch-------------------*/

/* .panoContainer,
.mapContainer {
  width: 100%;
  height: 100%;
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 0;
} */

/* .mapContainer {
  transform: translateX(-100%);
}

.panoContainer {
  transform: translateX(0);
  z-index: 1;
}

.mapContainer,
.panoContainer {
  transition: transform 1.5s ease;
}

.locationPagePanoContainerHide {
  transform: translateX(100%);
}

.locationPagePanoContainerVisible {
  transform: translateX(0);
}

.locationMapContainerHide {
  transform: translateX(-100%);
}

.locationMapContainerVisible {
  transform: translateX(0);
}

.location360ContainerHide {
  transform: translateX(100%);
}

.location360ContainerVisible {
  transform: translateX(0);
} */

.footer {
  height: var(--footerHeight) !important;
}

.switcherContainer {
  bottom: calc(var(--footerHeight) + 0.5rem) !important;
  background: var(--cream);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.switcherContainer.hide {
  opacity: 0;
  /* pointer-events: none; */
}

.switcherSelector {
  background: var(--gold);
}

.panoStartAnimation {
  bottom: calc(
    var(--footerHeight) * 2 + var(--thumbLineHeight) + 2rem
  ) !important;
}

/*-----------------LeftSide-------------------*/

main {
  align-items: center;
  position: relative !important;
  height: 100vh !important;
}

.leftSide {
  pointer-events: none !important;
  display: flex;
  flex-direction: column;
  align-items: start !important;
  text-align: left !important;
  height: auto;
  padding: 0 2% 1rem 4%;
}

.radio-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  /* pointer-events: none; */
}

input[type="radio"] {
  display: none;
  margin: 0;
}
.labelContainer {
  pointer-events: none;
}

.labelContainer > label {
  display: inline-block;
  white-space: nowrap;
  /* padding: 5px 0; */
  margin: 0;
  cursor: pointer;
  opacity: 0.5;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
  pointer-events: all;
  gap: 0.25rem;
}

/* .type-container>label::before {
    content: url('../assets/add_circle.svg');
    border-radius: 50%;
    transition: all 0.3s;
    width: 24px;
    height: 24px;
} */

input[type="radio"] + label {
  filter: saturate(0);
}

input[type="radio"]:checked + .labelContainer > label {
  opacity: 1;
  font-size: 1.3rem;
  font-weight: 700;
  filter: saturate(1);
}

input[type="radio"]:checked + div > img {
  filter: saturate(1);
}

input[type="radio"] + label::before {
  opacity: 0.5;
  filter: saturate(0);
}

input[type="radio"]:checked + label::before {
  opacity: 1;
  filter: saturate(1);
}

input[type="radio"]:checked + label::after {
  display: block;
}

.type-container {
  /* display: grid;
    grid-template-columns: 32px 1fr;
    gap: .5rem; */
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto 1fr;
  grid-column-gap: 8px;
  grid-row-gap: 0;

  .expandButton {
    pointer-events: all !important;
    grid-area: 1 / 1 / 2 / 2;
  }

  label {
    /* pointer-events: none; */
    grid-area: 1 / 2 / 2 / 3;
  }

  .type-description {
    grid-area: 2 / 2 / 3 / 3;
  }
}

.pageBg {
  z-index: 1;
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.847) 0%,
      rgba(0, 0, 0, 0) 30%
    ),
    none !important;
}

.roomSwitcherContainer {
  position: absolute;
  bottom: calc(var(--footerHeight) + 3rem) !important;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
  > div {
    transform: unset !important;
  }
}

/* .roomSwitcherContainer.exterior {
  bottom: 140px !important;
} */

.type-description {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.type-description.show {
  max-height: 300px;
}

.expandButton {
  transition: all 0.3s ease-in-out;
  display: flex;
  img {
    filter: saturate(0.5);
  }
  cursor: pointer;
}

.expandButton.expanded > img {
  transform: rotate(45deg);
  filter: saturate(1);
}

.contentContainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  max-width: 33ch;
}

.housePopupContainer > img {
  object-fit: cover;
}

.infoContainer {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: .5rem 0;
}

.infoChildContainer {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;

  img {
    width: calc(1.5rem * 2);
    height: calc(1.5rem * 2);
  }

  p {
    margin: 0;
    font-size: calc(1.2rem * 1.2);
  }
}

.buttonContainer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 0.5rem;
  margin: .5rem 0;

  a {
    pointer-events: all !important;
    display: flex;
    align-items: center;
    line-height: 1;
    background: var(--gold);
    color: var(--cream);
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
  }

  button {
    pointer-events: all !important;
    display: flex;
    align-items: center;
    line-height: 1;
    background: var(--gold);
    color: var(--cream);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
  }
}

.f-button.is-close-btn {
  display: none;
  top: .5rem !important;
  right: .5rem !important;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background-color: var(--gold) !important;
}

@media screen and (max-width: 768px) {
  main {
    align-items: start;
    flex-direction: column;
  }

  .leftSide {
    width: 100%;
  }

  .pageBg {
    z-index: 1;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 100%
      ),
      none !important;
  }
  .switcherContainer {
    /* bottom: calc(var(--footerHeight) + 40px) !important; */
  }

  .roomSwitcherContainer {
    bottom: calc(var(--footerHeight) + 3.5rem) !important;
  }
  .contentContainer {
    font-size: 0.8rem;
  }

  .infoContainer {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: .25rem 0;
  }

  .infoChildContainer {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;

    img {
      width: calc(1.5rem * 1.5);
      height: calc(1.5rem * 1.5);
    }

    p {
      margin: 0;
      font-size: calc(1.2rem);
    }
  }

  .buttonContainer {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 0.5rem;
    margin: .5rem 0

    a {
      pointer-events: all !important;
      display: flex;
      align-items: center;
      line-height: 1;
      background: var(--gold);
      color: var(--cream);
      padding: 0.5rem;
      border-radius: 0.5rem;
      font-size: calc(0.8rem * 0.8);
    }

    button {
      pointer-events: all !important;
      display: flex;
      align-items: center;
      line-height: 1;
      background: var(--gold);
      color: var(--cream);
      padding: 0.5rem;
      border-radius: 0.5rem;
      border: none;
      cursor: pointer;
      font-size: calc(0.8rem * 0.8);
    }
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .leftSide {
    width: 50%;
  }
}
