/* Divi's standard theme header switches to mobile at 980px in both CSS and JS. */
@media all and (max-width: 980px) {
	body.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #top-header {
		position: fixed !important;
		top: var(--bloom-mobile-fixed-header-admin-offset, 0px) !important;
		right: 0;
		left: 0;
		z-index: 100000;
	}

	body.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #main-header {
		position: fixed !important;
		top: var(--bloom-mobile-fixed-header-main-top, 0px) !important;
		right: 0;
		left: 0;
		z-index: 99999;
	}

	body.et_fixed_nav.et_secondary_nav_enabled:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 30px) !important;
	}

	body.et_fixed_nav.et_secondary_nav_only_menu:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, var(--bloom-mobile-fixed-header-admin-offset, 0px)) !important;
	}

	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #top-header,
	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #main-header,
	body.admin-bar.et_fixed_nav.et_secondary_nav_only_menu:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 32px) !important;
	}

	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #top-header {
		top: var(--bloom-mobile-fixed-header-admin-offset, 32px) !important;
	}

	body.admin-bar.et_fixed_nav.et_secondary_nav_enabled:not(.et_secondary_nav_only_menu):not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 63px) !important;
	}

	body.et_fixed_nav.et_show_nav:not(.et-tb):not(.et-tb-has-header) #page-container {
		padding-top: var(--bloom-mobile-fixed-header-page-offset, 80px) !important;
	}

	body.et_fixed_nav.et_show_nav.et_header_style_centered:not(.et-tb):not(.et-tb-has-header) #page-container,
	body.et_fixed_nav.et_show_nav.et_header_style_split:not(.et-tb):not(.et-tb-has-header) #page-container {
		padding-top: var(--bloom-mobile-fixed-header-page-offset, 136px) !important;
	}
}

@media all and (max-width: 767px) {
	body.et_fixed_nav.et_secondary_nav_two_panels:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 58px) !important;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #top-header,
	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #main-header,
	body.admin-bar.et_fixed_nav.et_secondary_nav_only_menu:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 46px) !important;
	}

	body.admin-bar.et_fixed_nav:not(.et-tb):not(.et-tb-has-header) #top-header {
		top: var(--bloom-mobile-fixed-header-admin-offset, 46px) !important;
	}

	body.admin-bar.et_fixed_nav.et_secondary_nav_enabled:not(.et_secondary_nav_only_menu):not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 80px) !important;
	}
}

@media all and (max-width: 767px) {
	body.admin-bar.et_fixed_nav.et_secondary_nav_two_panels:not(.et-tb):not(.et-tb-has-header) #main-header {
		top: var(--bloom-mobile-fixed-header-main-top, 104px) !important;
	}
}
