﻿body {
  background-color: var(--bs-light);
}

.mf-menu {
  margin: 0 !important;
  padding: 0 !important;
}

/* legend */
.legend-dot,
.logged-user img {
  width: 20px;
  height: 20px;
}
@media (min-width: 992px) {
  .height-match-gmap {
    height: calc(100vh + 10px);
    overflow-y: auto !important;
  }
}
.mf-community-logo,
.mf-lmh-logo {
  display: none;
}
@media (max-width: 992px) {
  .lotmap-left-panel {
    max-width: 500px;
    margin: 0 auto 28px;
  }
}

/* map popup */
.custom-mappopup {
  font-size: 120%;
  padding: 15px 10px 0;
  width: 180px;
  font-weight: 400;
  text-align: center;
}
.custom-mappopup > div {
  margin: 0 0 8px;
}
.custom-mappopup > div:nth-child(7) {
  margin-top: 18px;
}
.custom-mappopup > div:nth-child(8) {
  margin-bottom: 18px;
}
.custom-mappopup > div:first-of-type {
  font-weight: bolder;
  margin-bottom: 14px;
  font-size: 160%;
}
.custom-mappopup .lead {
  font-weight: inherit;
}
.custom-mappopup .btn {
  background-color: var(--lmh-blue);
  border-radius: 50px;
  color: white;
  font-weight: bolder;
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
  padding: 12px;
}

/* Video */
#homeSlider {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  background-color: #273746;
  min-height: 400px;
  z-index: 0;
}
#homeSlider video {
  display: block;
  width: 100%;
  height: 650px; /* force height on desktop */
  object-fit: cover;
  object-position: center;
}

/* Hide all slides by default */
#homeSlider > a {
  display: none;
}

/* Show only active slide */
#homeSlider > a.slider-slide {
  display: block !important;
}

@media (max-width: 768px) {
  #homeSlider video {
    height: 400px; /* tablet */
  }
}

.hover-fix-btn {
  color: var(--lmh-blue) !important;
}

.hover-fix-btn:hover {
  color: white !important;
}

/* Slider controls styles */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-controls a {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  line-height: 40px;
  cursor: pointer;
  user-select: none;
}

.btn-prev {
  left: 10px;
}

.btn-next {
  right: 10px;
}

.btn-prev::after {
  content: "‹";
}

.btn-next::after {
  content: "›";
}

.css-spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
  z-index: -1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* embed code */
.fluid-width-video-wrapper {
  position: relative !important;
  padding-bottom: 56.25% !important;
  height: 0 !important;
  overflow: hidden !important;
  max-width: 100% !important;
}
.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
