/* Gutenberg header styling */
.block-editor-page #sfwd-header {
  position: fixed;
  top: 46px;
  padding-left: 10px;
  width: 100%;
}
.block-editor-page #sfwd-header .ld-global-header {
  position: relative;
}
.block-editor-page #sfwd-header .components-popover.is-from-bottom {
  margin-top: 32px;
}

.block-editor-page.is-fullscreen-mode #sfwd-header {
  top: unset;
  padding-left: 0;
  width: 100%;
}
@media (min-width: 782px) {
  .block-editor-page.is-fullscreen-mode #sfwd-header {
    top: 0px;
  }
}

.block-editor-page.ld-header-has-tabs .edit-post-layout.is-mode-visual.is-sidebar-opened.interface-interface-skeleton {
  top: 168px;
}
@media (min-width: 782px) {
  .block-editor-page.ld-header-has-tabs .edit-post-layout.is-mode-visual.is-sidebar-opened.interface-interface-skeleton {
    top: 30px;
  }
}

@media (min-width: 600px) {
  .branch-5-1.block-editor-page #sfwd-header,
.branch-5-2.block-editor-page #sfwd-header,
.branch-5-3.block-editor-page #sfwd-header {
    top: 0;
  }
}
@media (min-width: 782px) {
  .block-editor-page #sfwd-header {
    width: calc(100% - 36px);
  }
}
@media (min-width: 960px) {
  .block-editor-page #sfwd-header {
    width: calc(100% - 160px);
  }
}
/* Non-Gutenberg header styling */
body:not(.block-editor-page) #sfwd-header {
  box-sizing: border-box;
  margin-left: -20px;
  padding: 8px 20px;
  width: calc(100% + 20px);
  z-index: 9999;
}

body:not(.block-editor-page) .learndash-settings-page-wrap #sfwd-header {
  margin-right: -20px;
  width: calc(100% + 40px);
}

/* Global header styling */
#sfwd-header {
  background-color: white;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  display: block !important;
  position: sticky;
  top: 32px;
  width: 100%;
  z-index: 99990;
}

.branch-5-1 #sfwd-header,
.branch-5-2 #sfwd-header,
.branch-5-3 #sfwd-header {
  left: 0;
}

/* Global header inner */
.ld-global-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: auto;
  width: 100%;
  /* Button styles overrides */
}
.ld-global-header h1 {
  color: #23282d;
  display: block;
  line-height: 1.4em;
  font-weight: 600;
  font-size: 2em;
  margin: 7px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.ld-global-header a.button,
.ld-global-header button.button {
  background-color: transparent !important;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  color: #007cba;
  font-weight: 700;
  text-shadow: none !important;
  min-height: auto;
}
.ld-global-header a.button.is-primary,
.ld-global-header button.button.is-primary {
  box-shadow: inset 0px 4px 0 0 white, 0px 4px 0 0 #007cba !important;
  color: #555;
}
.ld-global-header a.button.is-primary:hover, .ld-global-header a.button.is-primary:focus,
.ld-global-header button.button.is-primary:hover,
.ld-global-header button.button.is-primary:focus {
  background-color: transparent;
  box-shadow: inset 0px 4px 0 0 white, 0px 4px 0 0 #007cba !important;
  color: #555;
}
.ld-global-header a.button.components-button.is-primary:hover, .ld-global-header a.button.components-button.is-primary:focus,
.ld-global-header button.button.components-button.is-primary:hover,
.ld-global-header button.button.components-button.is-primary:focus {
  color: #555;
}
.ld-global-header .ld-global-header-new-settings {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
@media (min-width: 782px) {
  .ld-global-header .ld-global-header-new-settings {
    align-items: unset;
  }
}

/* Back link */
.ld-back-link {
  flex-basis: 100%;
  text-decoration: none;
}
.ld-back-link:hover {
  text-decoration: underline;
}

/* Gutenberg screen options zindex */
.components-modal__screen-overlay {
  z-index: 159000;
}

/* Default WP editor styles overrides for Gutenberg, shift down elements */
.ld-header-has-tabs .edit-post-layout {
  padding-top: 120px;
}
@media (min-width: 782px) {
  .ld-header-has-tabs .edit-post-layout {
    padding-top: 133px;
  }
}
.ld-header-has-tabs .edit-post-layout .editor-post-publish-panel {
  top: 178px;
}
@media (min-width: 782px) {
  .ld-header-has-tabs .edit-post-layout .editor-post-publish-panel {
    top: 159px;
  }
}
.ld-header-has-tabs .edit-post-layout .edit-post-header {
  top: 176px;
}
@media (min-width: 782px) {
  .ld-header-has-tabs .edit-post-layout .edit-post-header {
    top: 158px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs .edit-post-layout .edit-post-layout__content {
    min-height: calc(100% - 214px);
    top: 214px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.branch-5 .edit-post-layout__content {
    min-height: calc(100% - 182px);
    top: 182px;
  }
}
@media (min-width: 600px) {
  .ld-header-has-tabs.branch-5 .edit-post-layout {
    padding-top: 0;
  }
}
@media (min-width: 600px) {
  .ld-header-has-tabs.branch-5 .edit-post-layout.has-fixed-toolbar {
    padding-top: 0;
  }
}
.ld-header-has-tabs.branch-5-1 .edit-post-layout, .ld-header-has-tabs.branch-5-2 .edit-post-layout, .ld-header-has-tabs.branch-5-3 .edit-post-layout {
  padding-top: 131px;
}
@media (min-width: 600px) {
  .ld-header-has-tabs.branch-5-1 .edit-post-layout, .ld-header-has-tabs.branch-5-2 .edit-post-layout, .ld-header-has-tabs.branch-5-3 .edit-post-layout {
    padding-top: 181px;
  }
}
@media (min-width: 600px) {
  .ld-header-has-tabs.branch-5-1 .edit-post-layout.has-fixed-toolbar, .ld-header-has-tabs.branch-5-2 .edit-post-layout.has-fixed-toolbar, .ld-header-has-tabs.branch-5-3 .edit-post-layout.has-fixed-toolbar {
    padding-top: 181px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-header, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-header, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-header {
    top: 135px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-layout__content, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-layout__content, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-layout__content {
    top: 190px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-sidebar, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-sidebar, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-sidebar {
    top: 190px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.is-fullscreen-mode .edit-post-sidebar,
.ld-header-has-tabs .edit-post-sidebar {
    top: 214px;
  }
}
@media (min-width: 782px) {
  .ld-header-has-tabs.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
    top: 117px;
  }
}

@media (min-width: 783px) {
  .edit-post-layout {
    padding-top: 133px;
  }
}
@media (min-width: 783px) {
  .edit-post-layout.has-fixed-toolbar {
    padding-top: 133px;
  }
}
.edit-post-layout .editor-post-publish-panel {
  top: 130px;
}
@media (min-width: 782px) {
  .edit-post-layout .editor-post-publish-panel {
    top: 120px;
  }
}
.edit-post-layout .edit-post-header {
  top: 128px;
}
@media (min-width: 782px) {
  .edit-post-layout .edit-post-header {
    top: 120px;
  }
}

@media (min-width: 782px) {
  .edit-post-sidebar {
    top: 176px;
  }
}

@media (min-width: 782px) {
  .edit-post-layout__content {
    min-height: calc(100% - 176px);
    top: 176px;
  }
}

@media (min-width: 782px) {
  .branch-5 .edit-post-layout__content {
    top: 176px;
  }
}

/* When the header error boundary is displayed */
body.block-editor-page #sfwd-header .header-boundary {
  position: absolute;
  top: 5em;
  left: 13.8em;
}

/* Fixes issues with reusable blocks save dialog showing up under our header in Gutenberg */
.learndash-post-type .interface-interface-skeleton__body .entities-saved-states__panel {
  top: 254px;
}
@media (max-width: 782px) {
  .learndash-post-type .interface-interface-skeleton__body .entities-saved-states__panel {
    top: 216px;
  }
}

/* Hidden tabs */
.tab-content[aria-hidden=true] {
  height: 0;
  left: -999em;
  overflow: hidden;
  position: absolute !important;
  top: -999em;
}

/* Hide all metaboxes before the tabs are ready */
#normal-sortables,
.metabox-location-normal {
  opacity: 0;
}
.ld-tabs-ready #normal-sortables,
.ld-tabs-ready .metabox-location-normal {
  opacity: 1;
}

/* Tab buttons/links */
@keyframes LDFade {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.6;
  }
}
.ld-tab-buttons {
  border-top: 1px solid #e2e4e7;
  flex: 1 0 100%;
  position: relative;
}
.ld-tab-buttons a.button,
.ld-tab-buttons button.button {
  animation: LDFade 0.4s ease-in 0s infinite alternate;
  margin-right: 15px;
  opacity: 0.7;
  pointer-events: none;
}
.ld-tabs-ready .ld-tab-buttons a.button,
.ld-tabs-ready .ld-tab-buttons button.button {
  animation: none;
  opacity: 1;
  pointer-events: all;
  margin-top: 10px;
}
.ld-tab-buttons a.button:focus,
.ld-tab-buttons button.button:focus {
  background-color: transparent;
  box-shadow: none;
}
.ld-tab-buttons a.button:hover,
.ld-tab-buttons button.button:hover {
  background-color: transparent;
}

/* Hide Gutenberg document block on settings pages */
/* Commenting it out and handing control of it to React by fetching logic from PHP
body[data-active-tab="sfwd-courses-settings"],
body[data-active-tab="learndash_course_groups"],
body[data-active-tab="sfwd-courses"],
body[data-active-tab="sfwd-quiz"],
body[data-active-tab="learndash_quiz_advanced_aggregated"] {
	.edit-post-layout.is-sidebar-opened .edit-post-layout__content {
		@media (min-width: 782px) {
			margin-right: 0;
		}
	}

	.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,
	.edit-post-layout.is-sidebar-opened .edit-post-sidebar {
		@media (min-width: 782px) {
			display: none;
		}
	}
}
*/
/* Show/hide metaboxes depending on tab view in Gutenberg and Classic editors and standalone page */
.sfwd-courses_page_courses-builder #learndash_admin_quiz_navigation,
.sfwd-courses_page_courses-builder #commentstatusdiv,
.sfwd-courses_page_courses-builder #commentsdiv,
.sfwd-courses_page_courses-builder #slugdiv,
.sfwd-courses_page_courses-builder #authordiv,
.sfwd-courses_page_courses-builder #revisionsdiv,
.sfwd-courses_page_courses-builder #side-sortables .postbox,
.sfwd-courses_page_courses-builder .components-panel__body,
.sfwd-courses_page_courses-builder #learndash_course_navigation_admin_meta,
body[data-active-tab]:not([data-active-tab=post-body-content]) #learndash_admin_quiz_navigation,
body[data-active-tab]:not([data-active-tab=post-body-content]) #commentstatusdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #commentsdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #slugdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #authordiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #revisionsdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #side-sortables .postbox,
body[data-active-tab]:not([data-active-tab=post-body-content]) .components-panel__body,
body[data-active-tab]:not([data-active-tab=post-body-content]) #learndash_course_navigation_admin_meta {
  display: none;
}
.sfwd-courses_page_courses-builder .edit-post-header-toolbar,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-header-toolbar {
  opacity: 0;
  visibility: hidden;
}
.sfwd-courses_page_courses-builder .edit-post-layout__metaboxes,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-layout__metaboxes {
  border-top: none;
  padding: 0;
}
.sfwd-courses_page_courses-builder .edit-post-layout__metaboxes .edit-post-meta-boxes-area,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-layout__metaboxes .edit-post-meta-boxes-area {
  margin: auto;
}
.sfwd-courses_page_courses-builder button.edit-post-sidebar__panel-tab[data-label=Block],
body[data-active-tab]:not([data-active-tab=post-body-content]) button.edit-post-sidebar__panel-tab[data-label=Block] {
  display: none;
}
.sfwd-courses_page_courses-builder .post-publish-panel__postpublish .components-panel__body.is-opened,
body[data-active-tab]:not([data-active-tab=post-body-content]) .post-publish-panel__postpublish .components-panel__body.is-opened {
  display: block;
}
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-quiz-questions, .sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-quiz-questions, .sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-quiz-questions {
  display: block !important;
}

#sfwd-course-lessons,
#sfwd-course-topics,
#sfwd-course-quizzes,
#sfwd-quiz-questions {
  display: none;
}

#side-sortables #submitdiv.postbox {
  display: block !important;
}

div#learndash_quiz_builder > .inside,
div#learndash_course_builder > .inside {
  display: block !important;
}

div#learndash_quiz_builder > .handlediv,
div#learndash_quiz_builder > .hndle,
div#learndash_course_builder > .handlediv,
div#learndash_course_builder > .hndle {
  display: none !important;
}

/* Action button and dropdown position */
.ld-tab-buttons .edit-post-header__settings {
  position: absolute;
  top: -45px;
  right: 20px;
}

/* Action button */
.ld-actions svg {
  -ms-grid-row-align: center;
      align-self: center;
  margin-left: 10px;
}

/* Dropdown styling */
.ld-popover.components-popover {
  left: auto;
  right: 40px;
  top: 100px !important;
}
.ld-popover.components-popover .components-menu-item__button {
  box-sizing: border-box;
  display: inline-flex;
  -webkit-appearance: none;
  background: 0 0;
  border: 0;
  color: #40464d;
  cursor: pointer;
  font-size: 13px;
  margin: 0;
  padding: 8px 8px 8px 2rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}
.ld-popover.components-popover .components-menu-item__button.active {
  color: #007cba;
}

.ld-popover.components-popover .delete {
  color: red;
}

/* Dropdown styling for non-Gutenberg pages and single Quiz edit Gutenberg pages */
body:not(.block-editor-page) .ld-popover.components-popover,
.sfwd-quiz.block-editor-page .ld-popover.components-popover {
  background: white;
  border: 1px solid #e2e4e7;
  box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
  position: absolute;
  right: 11px;
  top: 60% !important;
  width: 260px;
  opacity: 1;
  z-index: 9999;
}
body:not(.block-editor-page) .components-popover:not(.is-mobile).is-left .components-popover__content,
.sfwd-quiz.block-editor-page .components-popover:not(.is-mobile).is-left .components-popover__content {
  right: 0;
}
body:not(.block-editor-page) .components-popover__content,
.sfwd-quiz.block-editor-page .components-popover__content {
  display: flex;
  flex-direction: column;
}
body:not(.block-editor-page) .components-popover__content button,
.sfwd-quiz.block-editor-page .components-popover__content button {
  border: 0;
  background-color: transparent;
  text-align: left;
}
body:not(.block-editor-page) .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button,
.sfwd-quiz.block-editor-page .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button {
  text-align: center;
}
body:not(.block-editor-page) .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button.components-button.block-editor-inserter__quick-inserter-expand,
.sfwd-quiz.block-editor-page .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button.components-button.block-editor-inserter__quick-inserter-expand {
  background: #1e1e1e;
}
body:not(.block-editor-page) .ld-popover.components-popover:after,
body:not(.block-editor-page) .ld-popover.components-popover:before,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:after,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  line-height: 0;
  border: 8px solid #e2e4e7;
  border-bottom-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top: none;
  margin-left: -10px;
  top: -8px;
  right: 10px;
}
body:not(.block-editor-page) .ld-popover.components-popover:after,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:after {
  border: 8px solid #fff;
  border-bottom-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top: none;
  top: -6px;
}

body.sfwd-quiz .ld-popover.components-popover {
  border: none;
}
body.sfwd-quiz .components-popover:not(.is-mobile).is-left .components-popover__content {
  right: unset;
}
body.sfwd-quiz .components-popover__content {
  display: unset;
}

.global-new-entity-button {
  background: #00a0d2;
  border-radius: 2px;
  border: 1px solid #008ec2;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  outline: 0;
  padding: 6px 8px;
  text-decoration: none;
  text-shadow: none;
}
@media (min-width: 782px) {
  .global-new-entity-button {
    font-size: 13px;
    padding: 4px 8px;
  }
}
.global-new-entity-button.-right {
  margin-right: 0;
}
.global-new-entity-button:active, .global-new-entity-button:hover {
  background: #007eb1;
  color: #fff;
}
.learndash-post-type .global-new-entity-button {
  display: none;
}

/* Metabox color code */
/* Associated content color code */
.learndash_navigation_lesson_topics_list .topic_item > a > span:before,
.learndash_navigation_lesson_topics_list .lesson > a:before,
.learndash_navigation_lesson_topics_list .quiz-item > a > span:before,
#sfwd-course-topics h2:before,
#sfwd-course-quizzes h2:before,
#sfwd-course-lessons h2:before,
#sfwd-quiz-questions h2:before,
.ld-question-overview-widget-item:before {
  align-items: center;
  border-radius: 100%;
  color: white;
  display: inline-flex;
  font-size: 13px;
  font-weight: bold;
  height: 18px;
  justify-content: center;
  margin-right: 10px;
  text-transform: uppercase;
  width: 18px;
}

.learndash_navigation_lesson_topics_list .lesson > a:before,
#sfwd-course-lessons h2:before {
  content: "L";
  background-color: #467500;
}

.learndash_navigation_lesson_topics_list .topic_item > a > span:before,
#sfwd-course-topics h2:before {
  content: "T";
  background-color: #c35400;
}

.learndash_navigation_lesson_topics_list .quiz-item > a > span:before,
#sfwd-course-quizzes h2:before {
  content: "Q";
  background-color: #000;
}

#sfwd-quiz-questions h2:before,
.ld-question-overview-widget-item:before {
  content: "Q";
  background-color: #B53782;
}

.learndash-screen .wrap h1.wp-heading-inline,
.learndash-screen .page-title-action {
  display: none;
}

/* WP Admin interface must be above header */
#screen-meta-links {
  z-index: 159000;
}

#wpadminbar,
#adminmenuwrap {
  z-index: 159001;
}

#TB_overlay,
.screen-reader-shortcut:focus {
  z-index: 159002;
}

#TB_window {
  z-index: 159003;
}

#screen-meta-links {
  position: relative;
  margin: 0 20px 0 0 !important;
}

/* Screen options */
#screen-meta {
  margin: 0 0 0 -20px;
  border-width: 0;
  border-bottom-width: 1px;
}

.update-nag {
  margin-bottom: 20px;
  position: relative;
  z-index: 10000;
}
.update-nag + #sfwd-header:before {
  background: white;
  bottom: 100%;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

/*# sourceMappingURL=header.css.map*/