/*
	Bootstrap 5 compatibility for this theme.
	The DexignZone template was written for Bootstrap 4; these rules restore
	the few Bootstrap 4 behaviours its markup and CSS still rely on.
*/

/* .form-group was removed in Bootstrap 5 */
.form-group {
	margin-bottom: 1rem;
}

/* Bootstrap 5 turns on smooth scrolling, which fights the theme's jQuery scroll animations */
:root {
	scroll-behavior: auto;
}

/* Bootstrap 5 underlines links by default; Bootstrap 4 did not */
a {
	text-decoration: none;
}

/* Bootstrap 4 gutters were 30px (Bootstrap 5: 24px); the theme spacing is built on 30px */
.container,
.container-fluid,
.row {
	--bs-gutter-x: 30px;
}

/* Bootstrap 5 makes every direct child of .row full width; the top bar's two halves are not columns */
.top-bar .row > .dlab-topbar-left,
.top-bar .row > .dlab-topbar-right {
	width: auto;
	max-width: none;
	flex-shrink: 1;
	padding-left: 0;
	padding-right: 0;
}

/* The template's mobile menu button is not inside a .navbar */
.navbar-toggler:focus {
	box-shadow: none;
}
