/* Fix: allow vertical scroll while keeping horizontal swipe for hero slider */
/* let vertical pans pass through, and stop the overlay from blocking touches */
.home-slider,
.home-slider .owl-stage-outer,
.home-slider .owl-stage,
.home-slider .owl-item {
    touch-action: pan-y;
    -ms-touch-action: pan-y; /* old IE/Edge */
}

/* If overlay is fully transparent it should not block pointer events */
.home-slider .slider-item .overlay {
    pointer-events: none;
}

/* ensure page can scroll */
html, body {
    overflow: auto !important;
}

@media (min-width: 767.99px) {
    .navbar-brand img.white_logo {
        display: none !important;
    }
}

/* Smaller logo on mobile devices */
@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 35px;    /* shrink logo height on small screens */
    }

    .navbar-brand img.default_logo {
        display: none !important;
    }

    .scrolled .navbar-brand img.default_logo {
        display: inline-block !important;
    }

    .scrolled .navbar-brand img.white_logo {
        display: none !important;
    }
    .navbar-brand {
        font-size: 1rem !important;   /* smaller site name text */
    }
}
