/*
 * Building Ideas Inc. - responsive fixes
 * Loaded after the template styles. Desktop (1200px and up) is not affected
 * except for the cursor rule on touch screens.
 */

/* ---------- Hero slider on phones and tablets ---------- */
@media (max-width: 1199px) {
  .main-slider-five .swiper-slide {
    background-color: #3a3d42;
  }

  /* The photo fills the whole slide instead of ending halfway down */
  .main-slider-five__img {
    display: block !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: auto !important;
    mix-blend-mode: normal;
    filter: brightness(55%);
    transform: none !important;
  }

  .main-slider-five .swiper-slide-active .main-slider-five__img {
    transition: opacity 800ms ease;
    transition-delay: 0ms;
  }

  .main-slider-five__img picture,
  .main-slider-five__img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  .main-slider-five__title,
  .main-slider-five__text {
    color: #ffffff;
  }
}

/* ---------- Decorative cursor: only for mouse users ---------- */
@media (hover: none), (pointer: coarse) {
  .custom-cursor__cursor,
  .custom-cursor__cursor-two {
    display: none !important;
  }
}