/*

Bootstrap 4 specific tweaks for backwards compatibility.

WARNING! DO NOT EDIT THEME FILES IF YOU PLAN ON UPDATING!

Theme files will be overwritten and your changes will be lost
when updating. Instead, add custom code in the admin under
Appearance > Theme Settings > Code or create a child theme.

*/

/* General Bootstrap
----------------------------------------------------------- */

.fl-full-width.container {
	max-width: 100%;
}
.navbar-toggle {
	padding: 9px 10px;
}

/* Top Bar
----------------------------------------------------------- */

.fl-page-bar-nav {
	display: block;
	> li > a.nav-link {
		padding: 2px 10px;
	}
}

@media (min-width: 768px) {
	.fl-page-bar-nav {
		display: flex;
	}
}

/* General Header
----------------------------------------------------------- */

.fl-page-nav {
	padding: 0;
}
.fl-page-nav .navbar-nav > li > a.nav-link {
	padding: 15px @nav-item-spacing;
}

/* Left & Right Nav Headers
----------------------------------------------------------- */

.fl-page-nav-left,
.fl-page-nav-right {

	.fl-page-nav .navbar-nav {
		display: block;
	}

	@media (min-width: 992px) {
		.fl-page-header-row .col-lg-4 {
			width: 33.333333%;
		}
		.fl-page-header-row .col-lg-8 {
			width: 66.666667%;
		}
		.fl-page-nav .navbar-nav {
			display: flex;
		}
	}
}

/* Centered & Vertical Nav Headers
----------------------------------------------------------- */

.fl-page-nav-centered,
.fl-page-nav-centered-inline-logo,
.fl-page-nav-vertical-left,
.fl-page-nav-vertical-right {

	.fl-page-nav .navbar-nav {
		display: block;
	}

	@media (min-width: 768px) {
		.fl-page-nav-collapse {
			display: block !important;
		}
	}
}

/* Fixed Header
----------------------------------------------------------- */

.fl-page-nav-right.fl-page-header-fixed,
.fl-page-header-fixed {
	.fl-page-nav-wrap .navbar-nav > li > a.nav-link {
		padding: 10px @nav-item-spacing;
	}
}
