@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap");
@import "./base.css";
@import "./pano.css";
@import "./tooltip.css";
@import "./panel.css";
@import "./sidebar.css";
@import "./preload.css";
@import "./footer.css";
@import "./modal.css";
@import "./tour.css";
@import "./measure.css";

/* Start Floorplan Styles */
.plan-container {
  background-color: var(--black-01);
  border-radius: 10px 10px 10px 0;
  top: 10px;
}

.plan-container.bg-none {
  background-color: transparent !important;
}

.plan-layer {
  transition: none;
}

.plan-layer.transition-transform {
  transition: transform 0.3s ease;
}

.floorplan-button-container {
  position: fixed;
  right: 0;
  top: 0;
  width: 36px;
  height: 254px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: var(--font-size-base-lg);
}

.floorplan-button-container.hide {
  display: none;
}

.btn-close-plan {
  position: absolute !important;
  top: 60px;
  right: 70px;
}

.btn-close-plan img {
  width: 25px !important;
  height: 20px !important;
}

.floorplan-button-container span {
  cursor: pointer;
}

.floorplan-button-container span[data-title]::before {
  content: attr(data-title);
  background-color: var(--black-04);
  position: absolute;
  font-size: var(--font-size-base-sm) !important;
  padding: 5px 12px;
  top: -2px;
  right: 28px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  opacity: 0;
  border-radius: 6px;
  z-index: 99999;
  visibility: hidden;
}

.floorplan-button-container span[data-title]::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 20px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--black-04);
  opacity: 0;
  visibility: hidden;
}

.floorplan-button-container span[data-title]:hover::before,
.floorplan-button-container span[data-title]:hover::after {
  opacity: 1;
  transition: all 0.1s ease;
  visibility: visible;
}

.floorplan-button-container span[data-title] {
  position: relative;
}

.floorplan-button-container span:hover img {
  filter: invert(40%) sepia(46%) saturate(5793%) hue-rotate(328deg) brightness(97%) contrast(109%);
}

.floorplan-button-container img {
  width: 18px;
  height: 18px;
}

.close-fp-container {
  position: relative !important;
  opacity: 1 !important;
}

.close-fp-container .button-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 27px;
  background: none;
}

.views-banner-label {
  padding: 24px;
  justify-content: space-around;
  font-style: italic;
  background: #385dff;
  color: #fff;
}

.views-banner-label-title {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5714;
  letter-spacing: 0.2px;
}

.list-search-label {
  flex-shrink: 0;
  padding: 10px;
  border-bottom: 1px solid #f5f4f3;
}

.list-search-label-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.search-bar-label {
  padding: 5px 5px 5px 20px;
  flex-grow: 1;
  border-radius: 50px;
  background-color: #f5f4f3;
  color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
}

.search-bar-tag {
  padding: 5px 5px 5px 10px;
  flex-grow: 1;
  border-radius: 50px;
  background-color: #f5f4f3;
  color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
}

.search-bar {
  width: 100%;
}

.search-bar-tag {
  width: 100%;
}

.text-bar-label {
  width: 100%;
}

.text-bar-label input {
  background: none;
  border: none;
  font-size: 18px;
  color: #100f0f;
}

.text-bar-tag {
  width: 100%;
}

.text-bar-tag input {
  background: none;
  border: none;
  font-size: 18px;
  color: #100f0f;
}

.list-panel-controls {
  flex-shrink: 0;
  min-height: 40px;
  padding: 10px 15px;
  border-bottom: none;
  gap: 10px;
  display: flex;
  flex-grow: 0;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.layered-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.grouping-sort-menu-button {
  font-family: IBM Plex Sans, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.57;
  letter-spacing: 0.6px;
  position: relative;
  display: flex;
}

@media only screen and (max-width: 992px) {
  .sidebar-container {
    width: 35vw;
  }
}

@media only screen and (max-width: 768px) {
  .navigation-inside-top-info {
    width: 100%;
  }

  .more-help-inside-more-help {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    overflow-y: auto;
  }

  .more-help-inside-content-help.center-bottom {
    transform: translateX(250px);
  }
}

@media only screen and (min-width: 601px) {
  .toggle-footer-right {
    display: none;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .plan-container {
    top: 65px;
    left: 50%;
    transform: translateX(-50%) !important;
  }

  .floorplan-button-container {
    width: auto;
    height: 22px !important;
    flex-direction: row;
    top: 0;
    right: 0;
    padding: 6px 8px;
  }

  .btn-close-plan {
    position: relative !important;
    top: 0;
  }

  .floorplan-button-container span[data-title]::before {
    top: 35px;
    right: 50%;
    transform: translateX(50%);
  }

  .floorplan-button-container span[data-title]::after {
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    border-top: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid var(--black-04);
  }

  .floorplan-button-container span.hide-on-mobile {
    display: none;
  }

  .overlay-home h2 {
    font-size: var(--font-size-base-lg);
    top: 150px;
  }

  .preloading_container .preloading-title {
    font-size: var(--font-size-base-lg);
  }

  .toast.active {
    right: 50%;
    transform: translateX(50%);
  }

  .modal-body {
    width: 88%;
  }

  .modal-body p {
    height: auto;
    margin-bottom: 20px;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .navigation-inside-top-info {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .more-help-inside-more-help {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    height: 80vh;
    justify-content: center;
    overflow-y: auto;
  }

  .more-help-inside-bigImage.centered {
    transform: none;
  }

  .navigation-image-help {
    width: 100%;
    height: 100px;
  }

  .navigation-image-help img {
    width: 60px;
    height: 80px;
  }

  .navigation-text {
    padding: 0px;
    height: 40px;
  }

  .social-icons-faded {
    flex: 0 0 30%;
  }

  .social-icons-text p {
    display: none;
  }

  .icon-button-social {
    margin: 0 auto;
  }

  .location {
    font-size: var(--font-size-base-md);
    width: calc(100% - 160px);
    left: 5px;
  }

  .location > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar-container {
    width: 100vw;
  }

  .sidebar-container.hide {
    position: absolute;
  }

  .btn-toggle-measure {
    bottom: 112px;
  }

  .modal-share,
  .modal-help {
    width: 80% !important;
    padding-bottom: 15px;
  }

  .depthmap-navigation.bottom {
    bottom: 34px;
    right: 18px;
  }

  .depthmap-measure3d-infotext {
    font-size: var(--font-size-base-md);
  }

  .measure-menu-top-right {
    top: 22px;
    right: 20px;
  }

  .more-help-inside-content-help.center-bottom {
    transform: translateX(0px);
  }

  .tour-complete-container {
    width: 90%;
  }

  .tour-complete-header h1 {
    font-size: 1.7rem;
  }

  .tour-complete-header .subhead {
    font-size: var(--font-size-base-xm);
    white-space: break-spaces;
    line-height: 25px;
  }

  .tour-complete-body h2 {
    font-size: var(--font-size-base-xm);
  }
}

