/**
 * LearnDash Compatibility
 */
/**
 * Astra Theme compatibility with LearnDash
 */
/*----------  Media Query min-width Structure   ----------*/
/*----------  Media Query max-width Structure   ----------*/
/*----------  Break-point min-width Structure   ----------*/
/*----------  Break-point max-width Structure   ----------*/
.ast-page-builder-template .sfwd-courses .entry-header,
.ast-page-builder-template .sfwd-lessons .entry-header,
.ast-page-builder-template .sfwd-topic .entry-header,
.ast-page-builder-template .sfwd-quiz .entry-header,
.ast-page-builder-template .sfwd-certificates .entry-header,
.ast-page-builder-template.single .sfwd-courses .entry-header,
.ast-page-builder-template.single .sfwd-lessons .entry-header,
.ast-page-builder-template.single .sfwd-topic .entry-header,
.ast-page-builder-template.single .sfwd-quiz .entry-header,
.ast-page-builder-template.single .sfwd-certificates .entry-header {
  margin-bottom: 0;
}

.single .sfwd-courses .entry-header,
.single .sfwd-lessons .entry-header,
.single .sfwd-topic .entry-header,
.single .sfwd-quiz .entry-header,
.single .sfwd-certificates .entry-header {
  margin-bottom: .5em;
}

.single .sfwd-courses .entry-header .ast-single-post-order + .post-thumb img,
.single .sfwd-lessons .entry-header .ast-single-post-order + .post-thumb img,
.single .sfwd-topic .entry-header .ast-single-post-order + .post-thumb img,
.single .sfwd-quiz .entry-header .ast-single-post-order + .post-thumb img,
.single .sfwd-certificates .entry-header .ast-single-post-order + .post-thumb img {
  margin-top: 1em;
  margin-bottom: 1em;
}

.single .sfwd-lessons .learndash_content .ast-oembed-container {
  margin-bottom: 1.6em;
}

.ld-course-list-content .ld-entry-content {
  margin-bottom: 1.5em;
}

.ld-course-list-content .ld-entry-content img {
  margin: 0 auto 1.5em;
}

.learndash .learndash_join_button {
  margin-bottom: 1em;
}

.learndash.user_has_no_access .btn-join {
  margin-bottom: .5em;
  display: inline-block;
}

#learndash_course_certificate .btn-blue {
  display: inline-block;
}

.wpProQuiz_modal_window #wpProQuiz_overlay_close {
  padding: 5px 15px;
}

.wpProQuiz_modal_window .wp-list-table th {
  font-weight: normal;
  padding: 5px 10px;
}

.wpProQuiz_modal_window .wp-list-table th p {
  margin-bottom: 0;
}

.wpProQuiz_modal_window #wpProQuiz_user_content h2 {
  font-size: 1.5em;
  margin-bottom: 5px;
  font-weight: 600;
}

body .learndash,
body #ld_topic_categorydropdown,
body #ld_lesson_categorydropdown,
body #ld_course_categorydropdown {
  margin-bottom: 1em;
}

body .learndash label,
body #ld_topic_categorydropdown label,
body #ld_lesson_categorydropdown label,
body #ld_course_categorydropdown label {
  display: inline-block;
  width: 100%;
  font-weight: 600;
}

body .learndash-pager span a {
  font-size: 1.5em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.25;
  text-align: center;
  display: inline-block;
}

body .learndash-pager span .pagedisplay {
  text-transform: capitalize;
  line-height: 2.2;
}

body #ld_course_list .ld_course_grid .caption {
  padding: 15px;
  position: relative;
}

body #ld_course_list .ld_course_grid .caption *:last-child {
  margin-bottom: 0;
}

body #ld_course_list .ld_course_grid .caption .entry-title {
  margin-bottom: 5px;
}

body dd.course_progress {
  width: 100%;
}

body .widget_course_return,
body .course_navigation .widget_course_return a,
body #learndash_lessons,
body #learndash_quizzes,
body .expand_collapse,
body .notavailable_message,
body #learndash_lesson_topics_list div > strong,
body #learndash_lesson_topics_list div ul > li .sn,
body .learndash_profile_heading,
body #learndash_profile a,
body #learndash_profile div,
body #learndash_lessons a,
body #learndash_quizzes a,
body .expand_collapse a,
body .learndash_topic_dots a,
body .learndash_topic_dots a > span,
body #learndash_lesson_topics_list span a {
  font-size: 1em;
  font-weight: inherit;
}

body #course_list > div h4 > a {
  padding: 5px .75em;
}

body .user_has_no_access #course_list .list-count,
body .user_has_no_access #lessons_list .list-count,
body .user_has_no_access #quiz_list .list-count {
  color: gray;
}

body #course_list .list-count,
body #lessons_list .list-count,
body #quiz_list .list-count {
  border-left: none;
  pointer-events: none;
  min-width: 2.5em;
}

body #course_list > div,
body #lessons_list > div,
body #quiz_list > div {
  border: none;
}

body #course_list > div:nth-of-type(odd),
body #lessons_list > div:nth-of-type(odd),
body #quiz_list > div:nth-of-type(odd) {
  background: #fbfbfb;
}

body #course_list > div h4 > a,
body #lessons_list > div h4 > a,
body #quiz_list > div h4 > a {
  padding: 8px 0 8px 2.5em;
  position: relative;
}

body #lessons_list > div h4,
body #course_list > div h4,
body #quiz_list > div h4 {
  font-size: 1em;
}

body #learndash_lessons .right,
body #learndash_quizzes .right {
  width: auto;
}

body .list_arrow.collapse, body .list_arrow.collapse.lesson_incomplete, body .list_arrow.collapse.lesson_completed, body .list_arrow.expand, body .list_arrow.expand.lesson_incomplete, body .list_arrow.expand.lesson_completed {
  background: none;
  padding: 10px;
  line-height: 1.5;
}

body .list_arrow.lesson_completed:before {
  content: "\e901";
  font-weight: bold;
}

body .list_arrow.lesson_incomplete:before {
  color: rgba(0, 0, 0, 0.5);
  content: "\e903";
  font-weight: normal;
}

body .list_arrow:before {
  display: inline-block;
  font-family: 'Astra';
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1em;
  font-weight: normal;
  margin-left: 5px;
  cursor: pointer;
  vertical-align: middle;
}

body .course_navigation .learndash_navigation_lesson_topics_list .list_lessons {
  margin-bottom: 5px;
}

body .course_navigation .learndash_navigation_lesson_topics_list .lesson {
  margin: 0 5px 0 0;
}

body .course_navigation .learndash_navigation_lesson_topics_list .list_arrow {
  background: none;
  line-height: inherit;
}

body .widget_sfwd-lessons-widget ul {
  padding: 0;
}

body .widget_sfwd-lessons-widget ul li a {
  font-size: 1rem;
  line-height: 1.75;
}

body #learndash_course_content .learndash_topic_dots ul > li, body #learndash_course_content .learndash_topic_dots ul > li:hover, body #learndash_course_content .learndash_topic_dots ul > li.nth-of-type-odd {
  background: transparent;
}

body #learndash_course_content .learndash_topic_dots ul > li a {
  padding: 0 0 0 .75em;
}

body #learndash_course_content_title {
  margin-bottom: 10px;
  font-weight: 600;
}

body #learndash_lessons,
body #learndash_quizzes {
  border: none;
  box-shadow: none;
}

body #learndash_lessons h4 > a:hover,
body #learndash_quizzes h4 > a:hover {
  background: none;
}

body #learndash_lessons #quiz_list,
body #learndash_lessons .lessons_list,
body #learndash_quizzes #quiz_list,
body #learndash_quizzes .lessons_list {
  border: 1px solid #e2e2e2;
  border-top: none;
  overflow: hidden;
}

body .widget_sfwd-certificates-widget h4,
body .widget_sfwd-transactions-widget h4,
body .widget_sfwd-courses-widget h4 {
  font-size: 1em;
  line-height: inherit;
}

body .widget_ldcourseinfo #course_progress_details {
  margin-top: 1em;
}

body .widget_ldcourseinfo h4 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

body .widget_ldcourseinfo .ld-course-info-my-courses {
  vertical-align: top;
  margin-bottom: 5px;
  line-height: 1.5;
  display: inline-block;
}

body .widget_ldcourseinfo .ld-course-info-my-courses img {
  vertical-align: top;
  margin-left: .5em;
  display: inline-block;
  float: right;
}

body .widget_ldcourseinfo .ld-course-info-my-courses h2.ld-entry-title {
  font-size: 1em;
  width: calc(70% - .5em);
  display: inline-block;
}

body a#quiz_continue_link,
body .btn-blue,
body .learndash_checkout_button input[type="submit"] {
  font-size: 1em;
}

body .wpProQuiz_content .wpProQuiz_questionList {
  margin-bottom: 1em;
  padding: 1em;
  background: #fbfbfb;
  border-color: #e2e2e2;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerIncorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerIncorrect:last-child, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerIncorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerIncorrect:last-child {
  color: #ff0000;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionListItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionListItem:last-child, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionListItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionListItem:last-child {
  padding: 0 10px;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionListItem input,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionListItem:last-child input, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionListItem input,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionListItem:last-child input {
  margin-left: 5px;
  background: #fff;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerIncorrect, body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerIncorrect:last-child,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerCorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerCorrect:last-child, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerIncorrect, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerIncorrect:last-child,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerCorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerCorrect:last-child {
  padding: 5px 10px;
  background: none;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerCorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="single"] .wpProQuiz_answerCorrect:last-child, body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerCorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerCorrect:last-child {
  background-color: #6db46d;
  color: #fff;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="free_answer"] .wpProQuiz_questionListItem {
  padding: 0;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="free_answer"] .wpProQuiz_answerIncorrect .wpProQuiz_questionInput {
  border-color: #ff0000;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="free_answer"] .wpProQuiz_answerCorrect .wpProQuiz_questionInput {
  border-color: #6db46d;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="free_answer"] .wpProQuiz_questionListItem {
  background: none;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] {
  background: #fff;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_questionListItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_questionListItem:last-child {
  padding: 0;
  font-weight: 600;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_sortable {
  padding: 5px 10px;
  background: #fbfbfb;
  box-shadow: none;
  border-color: #e2e2e2;
  display: inline-block;
  width: 100%;
  position: relative;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_sortable:before {
  content: "\e5d2";
  font-family: Astra;
  font-size: 1.25em;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 5px;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_answerIncorrect .wpProQuiz_sortable {
  color: #ff0000;
}

body .wpProQuiz_content .wpProQuiz_questionList[data-type="sort_answer"] .wpProQuiz_answerCorrect .wpProQuiz_sortable {
  background-color: #6db46d;
  color: #fff;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_questionListItem,
body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_questionListItem:last-child,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_questionListItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_questionListItem:last-child {
  padding: 0;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_matrixSortString,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_matrixSortString {
  background: #fff;
  border-color: #e2e2e2;
  padding: 5px 15px 15px;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_matrixSortString .wpProQuiz_header,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_matrixSortString .wpProQuiz_header {
  margin-bottom: 10px;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] ul.wpProQuiz_sortStringList,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] ul.wpProQuiz_sortStringList {
  padding: 0;
  margin: 0 -5px;
  min-height: 2em;
  width: 100%;
  float: right;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_sortStringItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_sortStringItem {
  padding: 5px 10px;
  background: #fbfbfb;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_sortStringItem:before,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_sortStringItem:before {
  content: "\e5d2";
  font-family: Astra;
  font-size: 1.25em;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 5px;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_answerIncorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_answerIncorrect {
  background: none;
  font-weight: 600;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_answerIncorrect .wpProQuiz_sortStringItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_answerIncorrect .wpProQuiz_sortStringItem {
  color: #ff0000;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_answerCorrect,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_answerCorrect {
  background: none;
  font-weight: 600;
}

body .wpProQuiz_content .wpProQuiz_listItem[data-type="matrix_sort_answer"] .wpProQuiz_answerCorrect .wpProQuiz_sortStringItem,
body .wpProQuiz_content .wpProQuiz_questionList[data-type="matrix_sort_answer"] .wpProQuiz_answerCorrect .wpProQuiz_sortStringItem {
  background-color: #6db46d;
  color: #fff;
}

body .wpProQuiz_content .wpProQuiz_tipp > div {
  padding: 10px 15px;
  border-radius: 2px;
  right: 0;
  bottom: 12px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 4px 0px #ccc;
  max-width: 500px;
}

body .wpProQuiz_content .wpProQuiz_tipp > div .wpProQuiz_header {
  font-weight: 600;
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 5px;
}

body .wpProQuiz_content .wpProQuiz_tipp > div > p:last-child {
  margin-bottom: .5em;
}

body .wpProQuiz_content .wpProQuiz_tipp > div:before, body .wpProQuiz_content .wpProQuiz_tipp > div:after {
  content: " ";
  position: absolute;
  transform: translateY(100%);
}

body .wpProQuiz_content .wpProQuiz_tipp > div:before {
  bottom: 0px;
  border-right: 8px solid transparent;
  border-top: 8px solid #eee;
  border-left: 8px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.2);
  right: 15px;
}

body .wpProQuiz_content .wpProQuiz_tipp > div:after {
  right: 16px;
  bottom: 1px;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
  border-left: 7px solid transparent;
}

body .wpProQuiz_content .wpProQuiz_resultName {
  width: 120px;
  padding-left: 10px;
}

body .wpProQuiz_content .wpProQuiz_response {
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
}

body .wpProQuiz_content .wpProQuiz_incorrect {
  padding: 5px 1em;
  border: 1px solid #ff0000;
  color: #ff0000;
  background: rgba(255, 0, 0, 0.2);
}

body .wpProQuiz_content .wpProQuiz_incorrect p:last-child {
  margin-bottom: 0;
}

body .wpProQuiz_content .wpProQuiz_correct {
  padding: 5px 1em;
  border: 1px solid #6db46d;
  color: #6db46d;
  background: rgba(109, 180, 109, 0.2);
}

body .wpProQuiz_content .wpProQuiz_correct p:last-child {
  margin-bottom: 0;
}

body .wpProQuiz_content .wpProQuiz_questionListItem input,
body .wpProQuiz_content .wpProQuiz_questionListItem:last-child input {
  background: #fff;
}

body .wpProQuiz_content .wpProQuiz_lock p,
body .wpProQuiz_content .wpProQuiz_loadQuiz p {
  margin: 1em;
}

body .wpProQuiz_content .wpProQuiz_box,
body .wpProQuiz_content .wpProQuiz_reviewQuestion {
  border-color: #e2e2e2;
  background-color: #fbfbfb;
}

body .wpProQuiz_content .wpProQuiz_box li,
body .wpProQuiz_content .wpProQuiz_reviewQuestion li {
  min-width: 2.5em;
  height: 2.5em;
  line-height: 2.5;
  padding: 0;
  border-color: #e2e2e2;
  box-shadow: none;
  font-weight: 600;
}

body .wpProQuiz_content .wpProQuiz_reviewColor {
  margin-left: 5px;
  height: .75em;
  width: .75em;
}

body .wpProQuiz_content .wpProQuiz_reviewLegend li {
  margin-left: .75em;
  padding: 0;
}

body .wpProQuiz_content .wpProQuiz_button2 {
  padding: 5px 15px;
  border: none;
}

body .wpProQuiz_content .wpProQuiz_time_limit {
  position: relative;
  padding-bottom: 10px;
}

body .wpProQuiz_content .wpProQuiz_time_limit:before {
  content: '';
  width: 100%;
  height: 8px;
  Background: #fbfbfb;
  display: block;
  position: absolute;
  bottom: 0;
  border-radius: 4px;
}

body .wpProQuiz_content .wpProQuiz_time_limit .wpProQuiz_progress {
  position: absolute;
  bottom: 0;
  border-radius: 4px;
  height: 8px;
  margin-bottom: 0;
}

/**
 * LearnDash Shortcode
 */
#ld_course_info_mycourses_list .ld-course-info-my-courses {
  padding: 10px 0;
}

body.single-sfwd-quiz {
  overflow-x: unset;
}
