.container {
    max-width: 800px;
    margin: 0 auto;
}

.group-card, .course-card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.group-card img, .course-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.group-title, .course-title {
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.group-description, .course-description {
    font-weight: lighter;
    text-align: center;
    margin-top: 5px;
}

.group-duration, .course-duration {
    text-align: center;
    margin-top: 5px;
}

.group-num-courses, .group-num-lessons {
    text-align: center;
    margin-top: 5px;
    font-weight: lighter;
}

.duration-box {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f8f8;
}

@media (min-width: 768px) {
    .group-card {
        display: inline-block;
        width: 48%;
        margin-right: 2%;
        vertical-align: top;
    }
}

.video-container {
    margin-top: 0 !important; /* Remove top margin */
    padding-top: 0 !important; /* Remove top padding */
}

h2 {
    margin-bottom: 10px; /* Adjust as needed */
}

.video-container iframe, .video-container video {
    margin-top: 0 !important; /* Remove top margin */
}

.content-area {
    padding-bottom: 0; /* Remove bottom padding */
}

.entry-content > * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Optional: a background color for the container */
    margin: 0 auto; /* Center the video container */
}

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

.video-container {
    text-align: left; /* Align the video to the left */
    margin: 0;
    padding: 0;
}

.video-container iframe {
    width: 100%;
    height: auto;
}

.content-area {
    padding-bottom: 0; /* Remove bottom padding */
}

.entry-content > * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav-arrow {
    display: block;
    font-size: 1rem;
    text-decoration: none;
    color: #686868;
    background-color: #f8f8f8;
    align: center;
    padding-left:8px;
    padding-right:8px;
    padding-top:0px;
    padding-bottom:0px;
    border-radius: 50%;
    border: 1px solid #686868;
    transition: background-color 0.3s, color 0.3s;
}

.nav-arrow:hover {
    background-color: #878787;
    color: #f8f8f8;
}

.prev-button, .next-button {
    position: relative;
}

.hidden {
    display: none;
}

.prev-button:hover .prev-lessons, .next-button:hover .next-lessons {
    display: block;
    position: absolute;
    top: 50%;
    font-size:14px;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 200px;
}

.prev-lessons {
    left: 28px;
}

.next-lessons {
    right: 28px;
}

.prev-lessons a, .next-lessons a {
    /* display: block; */
    margin-bottom: 0px;
    color: #808080;
    text-decoration: none;
}

.prev-lessons a:hover, .next-lessons a:hover {
    text-decoration: none;
    color: #333;
}

.prev-button {
    margin-right: auto;
}

.next-button {
    margin-left: auto;
}

.nav-button-placeholder {
    visibility: hidden;
}

.course-lessons-list {
    margin-top: 20px;
}

.lesson-item a {
    display: block;
    padding-bottom: 10px;
    position: relative;
    padding-top: 10px;
    padding-left: 10px;
}

.lesson-item a:hover {
    background-color: #f4f4f4;
}

.lesson-item a {
    color: #999999;
}

.lesson-item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dfdfdf;
}

.lesson-number {
    display: inline-block;
    width: 30px;
}

.currentlesson a {
    color: #3e3e3e;
}

.lesson-duration, a .lesson-duration {
    color: #999999;
}

a.downloadfile {
    opacity: 0.5; /* Normal state opacity set to 50% */
    transition: opacity 0.3s ease; /* Smooth transition for the opacity change */
}

a.downloadfile:hover {
    opacity: 1.0; /* Opacity set to 100% on hover */
}

.included-page-content {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #f4f4f4;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.included-page-content a:{
    
}
.included-page-content a:hover{
    color: black;
    transition: transform 0.3s ease;
    transform: scale(1.5);
}

.elementor-widget-container h2{
    margin-bottom: 20px;
}
@keyframes fadeInOut {
                0% {
                    opacity: 1;
                }
                50% {
                    opacity: 0.9;
                }
                100% {
                    opacity: 1;
                }
            }
            @keyframes fadeInOut1 {
                0% {
                    opacity: 1;
                }
                50% {
                    opacity: 0.5;
                }
                100% {
                    opacity: 1;
                }
            }