/*
Theme Name:   EduBlink Child
Theme URI:    https://demo.edublink.co/
Author:       DevsBlink
Author URI:   https://themeforest.net/user/devsblink/portfolio
Description:  EduBlink Child Theme For LMS and Education Purpose.
Version:      1.0.0
Template:     edublink
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:  edublink-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
*/

.ld-accordion__expand-button, .ld-accordion__expand-button:focus, .ld-accordion__expand-button:hover{
  --ld-typography-desktop-body-size: 1.25rem;
}

.ld-accordion__item-title{
  --ld-typography-desktop-h6-size: 1.6rem
}

.ld-accordion__item-attributes{
  --ld-typography-desktop-body-small-size: 1.2rem;
}

header .edublink-header-area.edublink-navbar .site-branding{
  height: unset;
}

html, body{
  margin: 0;
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}

#page {
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
}
#content {
  flex: 1;
}
footer {
  flex-shrink: 0;
}

.aecq-quiz-points-module {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #d9e1e8;
  border-left: 4px solid #44515c;
  background: #f7fafc;
}

.aecq-quiz-points-module h3 {
  margin: 0 0 10px;
}

.aecq-quiz-points-module p {
  margin: 0 0 10px;
}

.aecq-quiz-points-list {
  margin: 0 0 0 18px;
}

.aecq-completion-message,
.aecq-course-completion-message {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #d9e1e8;
  border-left: 4px solid #44515c;
  background: #f7fafc;
}

.aecq-completion-message--success,
.aecq-course-completion-message--success {
  border-left-color: #15803d;
  background: #ecfdf3;
}

.aecq-completion-message--failure,
.aecq-course-completion-message--failure {
  border-left-color: #b91c1c;
  background: #fef2f2;
}

.aecq-completion-message h3,
.aecq-course-completion-message h3 {
  margin: 0 0 12px;
}

.aecq-completion-message p,
.aecq-course-completion-message p {
  margin: 0 0 12px;
}

.aecq-completion-message p:last-child,
.aecq-course-completion-message p:last-child {
  margin-bottom: 0;
}

.aecq-quiz-course-button {
  display: inline-block;
  text-decoration: none;
}

.aecq-quiz-authorization-gate {
  background: #fffbeb;
  border: 1px solid #facc15;
  border-left: 4px solid #a16207;
  margin: 0 0 24px;
  padding: 20px;
}

.aecq-quiz-authorization-gate h3 {
  color: #713f12;
  margin: 0 0 12px;
}

.aecq-quiz-authorization-gate p {
  margin: 0 0 12px;
}

.aecq-quiz-authorization-gate__confirmation {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  gap: 10px;
  line-height: 1.45;
  margin: 16px 0 0;
}

.aecq-quiz-authorization-gate__confirmation input {
  flex: 0 0 auto;
  margin-top: 4px;
}

input[name="startQuiz"][disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.aecq-quiz-authorization-gate__disabled-link {
  cursor: not-allowed;
  opacity: 0.55;
}

.ld-navigation .ld-navigation__previous,
.ld-navigation .ld-navigation__progress,
.ld-navigation .ld-navigation__next {
  display: none !important;
}

.learndash-wrapper .wpProQuiz_content .aecq-quiz-transition-button {
  display: inline-block;
  margin-top: 4px;
  text-decoration: none;
}

body:not(.logged-in) .main-navigation{
  display: none;
}

body.logged-in .main-navigation li.profil{
  display: list-item;
}

article.edublink-single-post ul.blog-meta{
  display: none;
}

.wpProQuiz_questionListItem label img{
  max-width: 200px;
  max-height: 150px;
}

.learndash-wrapper .aecq-competence-status {
  --aecq-competence-color: #64748b;
  --aecq-competence-bg: #f8fafc;
  --aecq-competence-border: #cbd5e1;
}

.learndash-wrapper .aecq-competence-status-passed {
  --aecq-competence-color: #15803d;
  --aecq-competence-bg: #ecfdf3;
  --aecq-competence-border: #22c55e;
}

.learndash-wrapper .aecq-competence-status-failed {
  --aecq-competence-color: #b91c1c;
  --aecq-competence-bg: #fef2f2;
  --aecq-competence-border: #ef4444;
}

.learndash-wrapper .aecq-competence-status-in-progress {
  --aecq-competence-color: #a16207;
  --aecq-competence-bg: #fffbeb;
  --aecq-competence-border: #facc15;
}

.learndash-wrapper .ld-item-list .aecq-competence-status > .ld-item-list-item-preview,
.learndash-wrapper .ld-course-navigation .aecq-competence-status > .ld-lesson-item-preview,
.learndash-wrapper .ld-accordion__item--lesson.aecq-competence-status > .ld-accordion__item-header {
  background: var(--aecq-competence-bg);
  border-left: 6px solid var(--aecq-competence-border);
}

.learndash-wrapper .aecq-competence-status .ld-lesson-title,
.learndash-wrapper .aecq-competence-status .ld-item-title,
.learndash-wrapper .aecq-competence-status .ld-accordion__item-title--lesson {
  color: var(--aecq-competence-color);
}

.learndash-wrapper .aecq-competence-status .ld-status-icon,
.learndash-wrapper .aecq-competence-status .ld-svgicon {
  border-color: var(--aecq-competence-border);
  color: var(--aecq-competence-color);
}

.learndash-wrapper .ld-accordion__header .header__wrapper{
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.learndash-wrapper .ld-accordion__header .aecq-competence-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-left: auto;
  padding: 0 12px;
}

.learndash-wrapper .aecq-competence-legend__item {
  align-items: center;
  color: #475569;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.learndash-wrapper .aecq-competence-legend__dot {
  background: var(--aecq-legend-color, #cbd5e1);
  border-radius: 999px;
  box-shadow: 0 0 0 3px var(--aecq-legend-bg, #f8fafc);
  display: inline-block;
  height: 10px;
  width: 10px;
}

.learndash-wrapper .aecq-competence-legend__item--failed {
  --aecq-legend-color: #ef4444;
  --aecq-legend-bg: #fef2f2;
}

.learndash-wrapper .aecq-competence-legend__item--in-progress {
  --aecq-legend-color: #facc15;
  --aecq-legend-bg: #fffbeb;
}

.learndash-wrapper .aecq-competence-legend__item--passed {
  --aecq-legend-color: #22c55e;
  --aecq-legend-bg: #ecfdf3;
}

@media (max-width: 640px) {
  .learndash-wrapper .ld-accordion__header .aecq-competence-legend {
    margin-left: 0;
    padding: 8px 0 0;
  }
}

.retries_text{
  display: none;
}

.aecq-instructor-results-selector-label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button.aecq-quiz-next-button{
  margin: 0 10px;
}

.wpProQuiz_question p {
  font-weight: 800;
}

.wpProQuiz_question_text .aecq-question-image-lightbox-trigger {
  display: inline-block;
}

.wpProQuiz_question_text img[data-aecq-pswp-ready="1"] {
  cursor: zoom-in;
}

.wpProQuiz_question_text .aecq-question-image-lightbox-trigger:focus {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

footer.site-footer .edublink-row{
  margin-bottom: unset;
}

footer.site-footer .edublink-container-fluid{
  padding-left: 70px;
  padding-right: 70px;
}

body:not(.logged-in) footer.site-footer .footer-bottom-area{
  display: none;
}

footer.site-footer .footer-bottom-area .edublink-col-lg-12{
  margin-bottom: 0 !important;
}

.wpProQuiz_questionListItem img{
  max-width: 250px;
}
