.elementor-52441 .elementor-element.elementor-element-5088feb{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}.elementor-52441 .elementor-element.elementor-element-e29dd3d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-52441 .elementor-element.elementor-element-e29dd3d.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-52441 .elementor-element.elementor-element-6f79863{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-5c17211{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-eac3a18{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:10px 0px;--row-gap:10px;--column-gap:0px;}.elementor-52441 .elementor-element.elementor-element-6774276{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-6774276.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-52441 .elementor-element.elementor-element-654688d .elementor-heading-title{font-family:"Open Sans", Sans-serif;font-size:1.25rem;font-weight:400;line-height:1.25rem;color:var( --e-global-color-5597174f );}.elementor-52441 .elementor-element.elementor-element-558d1a5 .jet-listing-dynamic-field__content{color:var( --e-global-color-5597174f );font-family:"Open Sans", Sans-serif;font-size:1rem;text-align:left;}.elementor-52441 .elementor-element.elementor-element-558d1a5 .jet-listing-dynamic-field .jet-listing-dynamic-field__inline-wrap{width:auto;}.elementor-52441 .elementor-element.elementor-element-558d1a5 .jet-listing-dynamic-field .jet-listing-dynamic-field__content{width:auto;}.elementor-52441 .elementor-element.elementor-element-558d1a5 .jet-listing-dynamic-field{justify-content:flex-start;}.elementor-52441 .elementor-element.elementor-element-d5b41bb{--display:flex;--justify-content:flex-start;--align-items:flex-end;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-4eef630{--display:flex;}@media(min-width:768px){.elementor-52441 .elementor-element.elementor-element-e29dd3d{--width:65%;}.elementor-52441 .elementor-element.elementor-element-6774276{--width:75%;}}@media(max-width:767px){.elementor-52441 .elementor-element.elementor-element-5088feb{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-52441 .elementor-element.elementor-element-e29dd3d{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-6f79863{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52441 .elementor-element.elementor-element-5c17211{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-52441 .elementor-element.elementor-element-eac3a18{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}}/* Start custom CSS for container, class: .elementor-element-d5b41bb */.elementor-52441 .elementor-element.elementor-element-d5b41bb button {
    background: transparent !important;
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: .8rem !important;
}
.elementor-52441 .elementor-element.elementor-element-d5b41bb button:hover {
    background: #fff !important;
    color: #000 !important;
}
.elementor-52441 .elementor-element.elementor-element-d5b41bb i {
    color: #fff;
}/* End custom CSS */
/* Start custom CSS *//* Maintain aspect ratio for the video container */
.ld-video .fluid-width-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.ld-video .fluid-width-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure the container takes the height of its children */
.elementor-element-876d6f3 {
    display: block;
    width: 100%;
}

.elementor-element-876d6f3 .elementor-widget-container {
    position: relative;
    width: 100%;
    height: auto; /* Ensure height is auto to respect content height */
    z-index: 1; /* Ensure it's above other content */
}

/* Flex layout adjustments */
.elementor-element-e29dd3d {
    display: flex;
    flex-wrap: wrap;
}

.elementor-element-876d6f3,
.elementor-element-d356af3 {
    flex: 1 1 100%;
    margin-bottom: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .elementor-element-e29dd3d {
        flex-direction: column;
    }

    .elementor-element-876d6f3,
    .elementor-element-d356af3 {
        flex: 1 1 auto;
    }
    .ld-video {
        margin-bottom: 20px;
    }
}

/* Your existing CSS */
.course-navigation {
    margin-top: 20px;
}

.course-navigation .lesson-item,
.course-navigation .quiz-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
}

.course-navigation .lesson-item i,
.course-navigation .quiz-item i {
    margin-right: 10px;
    font-size: 1.2em;
}

.course-navigation .step-image {
    display: none;
    width: 65px; /* 16:9 aspect ratio */
    height: 65px; /* 16:9 aspect ratio */
    margin-right: 10px;
    border-radius: 5px;
    flex-shrink: 0;
    object-fit: cover; /* Ensures the image maintains its aspect ratio and fills the area */
}

.course-navigation .step-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.course-navigation a {
    font-size: .8rem;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break to the next line */
}

.course-navigation .lesson-item.completed,
.course-navigation .quiz-item.completed {
    background-color: #d0e8f2; /* Lighter blue */
    color: #003366; /* Dark blue */
}

.course-navigation .lesson-item.in-progress a,
.course-navigation .quiz-item.in-progress a {
    color: #333333; /* Darker charcoal */
}

.course-navigation .lesson-item.not-completed,
.course-navigation .quiz-item.not-completed {
    background-color: #ffedcc; /* Light yellow */
    color: #cc6600; /* Dark yellow */
}

.course-navigation .lesson-item.up-next,
.course-navigation .quiz-item.up-next {
    background-color: #f5f5f5; /* Light gray */
    color: #999; /* Dark gray */
    opacity: 0.6; /* Faded appearance */
}

.course-navigation a.disabled {
    color: grey;
    pointer-events: none;
    cursor: not-allowed;
}

.course-navigation a.disabled[title] {
    position: relative;
}

.course-navigation a.disabled[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 10;
    font-size: 12px;
}

.course-navigation .ribbon {
    background-color: #6c757d; /* Dark gray */
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
    width: 100px;
    text-align: center;
    flex-shrink: 0; /* Prevent the ribbon from growing or shrinking */
}

.ribbon-complete {
    background-color: #005b96 !important; /* Lighter blue */
}

.ribbon-in-progress {
    background-color: #f4b400 !important; /* Light yellow */
}

.ribbon-up-next {
    background-color: #b0b0b0 !important; /* Light gray */
}

.learndash-course-progress {
    margin: 0 0 20px;
}

.learndash-course-progress p {
    font-size: .85rem;
}

.progress-bar {
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
    width: 100%;
    margin-bottom: 5px;
}

.progress {
    background-color: #4caf50;
    height: 100%;
    text-align: center;
    color: white;
    line-height: 20px; /* same as height to center text vertically */
}

.lesson-instructors-section {
    margin-top: 10px;
}

.lesson-instructors-section h2 {
    font-size: 1.25rem !important;
    font-weight: 400;
    margin-bottom: 20px; /* Add 10px space below the heading */
}

.lesson-instructors {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.instructor {
    display: inline-flex; /* Make entries inline */
    align-items: center;
    margin-bottom: 10px;
}

.instructor-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    margin-right: 10px;
    object-fit: cover;
}

.instructor-name {
    font-size: 1.2em;
    font-weight: 400;
    color: #6EC1E4 !important; /* Set the link color */
}

.instructor-name a {
    color: #6EC1E4 !important; /* Ensure the link color is applied */
    text-decoration: none; /* Remove underline */
}

.instructor-name a:hover {
    text-decoration: underline; /* Underline on hover */
    color: #fff !important;
}

@media (min-width: 1199px) {
  .responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
  }

  .responsive-video-wrapper iframe,
  .responsive-video-wrapper object,
  .responsive-video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Mobile-only fix for video container height */
@media screen and (max-width: 767px) {
    #complete-lesson-button { margin: 5px 0 !important; }
    .elementor-element-6f79863 {
        min-height: 220px;
        position: relative;
        width: 100%;
    }

    .elementor-element-6f79863 .video-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .elementor-element-6f79863 .video-container > div {
        position: relative;
        height: 0;
        overflow: hidden;
    }

    .elementor-element-6f79863 .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}/* End custom CSS */