/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

.ld-pretty-outline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ld-pretty-lesson {
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  background: #fff;
  padding: 22px;
}

.ld-pretty-lesson-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ld-pretty-thumb img,
.ld-pretty-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef2f6;
  display: block;
}

.ld-pretty-lesson-title {
  font-size: 20px;
  font-weight: 600;
  color: #404a4f;
  text-decoration: none;
}

.ld-pretty-topic-count {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #607078;
}

.ld-pretty-topics {
  margin-top: 18px;
  padding-left: 88px;
  display: flex;
  flex-direction: column;
}

.ld-pretty-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e6ebf0;
  color: #444;
  text-decoration: none;
}

.ld-pretty-topic-dot {
  width: 20px;
  height: 20px;
  border: 3px solid #dfe6ee;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ld-pretty-topic.is-complete .ld-pretty-topic-dot {
  background: #2f65f5;
  border-color: #2f65f5;
  color: #fff;
}

.ld-pretty-lesson-excerpt {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #6b747a;
  max-width: 680px;
}

@media (max-width: 600px) {
  .ld-pretty-topics {
    padding-left: 0;
  }

  .ld-pretty-thumb img,
  .ld-pretty-placeholder {
    width: 58px;
    height: 58px;
  }

  .ld-pretty-lesson-title {
    font-size: 17px;
  }
}

/* TOPIC LIST INJECTED THUMBNAIL */
.learndash-wrapper .ld-table-list-item-preview {
  display: flex;
  align-items: center;
  gap: 14px;
}

.learndash-wrapper .ld-topic-thumbnail {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.learndash-wrapper .ld-topic-title {
  flex: 1;
}

.learndash-wrapper .ld-lesson-text-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.learndash-wrapper .ld-lesson-excerpt {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: #6d7680;
}

.learndash-wrapper .ld-lesson-thumbnail {
    margin-right: 12px;
}

/* ---------------------------------------------------
   LESSON ROWS
---------------------------------------------------- */

.learndash-wrapper .ld-item-list-item-preview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.learndash-wrapper .ld-lesson-thumbnail {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 72px;
    display: block;
	margin-right: 12px;
}

.learndash-wrapper .ld-item-title,
.learndash-wrapper .ld-item-name,
.learndash-wrapper .ld-lesson-title {
    flex: 1;
}

/* ---------------------------------------------------
   TOPIC ROWS
---------------------------------------------------- */

.learndash-wrapper .ld-table-list-item-preview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.learndash-wrapper .ld-topic-thumbnail {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 56px;
    display: block;
}

.learndash-wrapper .ld-topic-title {
    flex: 1;
}

/* ---------------------------------------------------
   MOBILE
---------------------------------------------------- */

@media (max-width:768px){
    .learndash-wrapper .ld-lesson-thumbnail{
        width:56px;
        height:56px;
        flex-basis:56px;
    }

    .learndash-wrapper .ld-topic-thumbnail{
        width:44px;
        height:44px;
        flex-basis:44px;
    }
}