/*my courses css*/

input[type="checkbox"] {
    margin-right: 8px; /* Space between checkbox and label text */
}



/* Flex container to align items horizontally */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Style for the dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}


/* Style for the dropdown content (checkboxes) */
.dropdown-content {
    display: none;
    font-size: 18px;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    border: 1px solid #ddd;
    z-index: 1;
    padding: 5px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Show the dropdown content when the dropdown is clicked */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Courses topic */
#sidebarMenu {
    width: 300px;
    background-color: #e6e6e6;
}

@media (max-width: 992px) {
    #sidebarMenu {
        width: 100%;
        position: relative;
    }
}

.toggleSidebar {
    position: fixed;
    left: 20px;
    top: 80px;
    z-index: 9999;
}

/*student portal*/
.box {
    padding: 60px 0px;
}

.box-part {
    background: #FFF;
    border-radius: 0;
    padding: 15px;
    margin: 10px 0px;
    transition: all 0.3s ease; /* Smooth transition for the hover effect */
    border: 2px solid #ffc107; /* Initial border (transparent) */
}

.box-part:hover {
    border: 2px solid #1179ef; /* Change border color on hover */
    background-color: #f0f8ff; /* Optional background color change on hover */
}


.fa {
    color: #4183D7;
}

.watchVideo{
    border:none;
    font-size:18px;
}
.pointer {
    cursor: pointer;
}

/* Custom styles for the card */
.card_info {
    width: 100%;
    border: 1px solid #ffc107;
}

.course-row{
    justify-content:center;
}

.card_info:hover{
    border: 1px solid #1179ef;
}

/* Adjust card width on medium devices */
@media (min-width: 768px) {
    .card_info {
        width: 60%;
    }
}

/* Adjust card width on large devices */
@media (min-width: 1200px) {
    .card_info {
        width: 60%;
    }
}

free_courses{
    margin-top: 0px;
}

/* Sidebar scrollable styling */
.sidebar {
    max-height: 100vh;  /* Set maximum height to the height of the viewport */
    overflow-y: auto;   /* Enable vertical scrolling */
}

.rightSidebar {
    max-height: 100vh;  /* Set maximum height to the height of the viewport */
    overflow-y: auto;   /* Enable vertical scrolling */
    background-color:#f4f4f1;
}


.list-group-item.active {
    z-index: 2;
    color: black;
    background-color: #ffc107;
    border-color: #eacc7f;
}

