.ld-course-list-items .ld_course_grid .ldcf_added_to_my_courses,
.ld-course-list-items .ld_course_grid .ldcf_added_to_cart_course,
.ldcf_removed_from_my_courses,
.ldcf_added_bundle_to_my_courses_btn {
    background-color: green !important;
}

/* The Modal (background) */
.ldcf-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.ldcf-modal-content {
    background-color: #106D89;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 23%;
    color: #fff;
    margin-top: 300px;
}

/* The Close Button */
.ldcf-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.ldcf-close:hover,
.ldcf-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.ldcf-modal-content a {
    color: #fff !important;
}

.ldcf-countinue-browsing {
    float: right;
    margin-bottom: 20px !important;
}

a.ldcf_visit_course {
    position: absolute;
    background: #fff;
    padding: 6px;
    font-size: 14px !important;
    cursor: pointer;
    margin-left: -7px;
    top: 148px;
}

a.ldcf_visit_course_btn {
    background: #CBE5F4 !important;
    color: #106D89 !important;
}

input.ldcf_search_course {
    float: right;
    min-width: 305px;
}

.ldcf_search_btn {
    text-decoration: none !important;
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal !important;
    line-height: 1.428571429 !important;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: white !important;
    border-color: #357ebd !important;
    background: #106D89 !important;
    padding: 10px 20px !important;
}

.ldcf_add_bundle_to_my_courses_section {
    display: inline-flex;
}

.ldcf_add_bundle_to_my_courses_btn,
.ldcf_added_bundle_to_my_courses_btn {
    margin-top: 35px;
}

#ld_course_categorydropdown {
    float: left;
}

/* Old CSS */
/* .ldcf_search_section{

	float: right;
    margin-top: 30px;
}
.ldcf_search_section form{
	display: inline-flex;
}

.ldcf_all_access_banner{
  display: none;
}

@media screen and (max-width: 600px) {
  .ldcf-modal-content {
    width: 80%;
}
input.ldcf_search_course {
    float: none;
    min-width: 100%;
    margin: 10px 0;
}
.ldcf_search_section{
	float: none;
    margin-top: 30px;
    margin-bottom: 20px;
}
.ldcf_search_section form{
	display: inline;
}
select#ld_course_categorydropdown_select {
    width: 100%;
}

} */
/* New CSS */
.ldcf_search_section {
    float: right;
    margin-top: 35px;
}

.ldcf_search_section form {
    display: inline-flex;
    gap: 10px;
}

.ldcf_all_access_banner {
    display: none;
}

@media screen and (max-width: 800px) {
    .ldcf-modal-content {
        width: 80%;
    }

    input.ldcf_search_course {
        float: none;
        min-width: 100%;
        margin: 10px 0;
    }

    .ldcf_search_section {
        float: none;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .ldcf_search_section form {
        display: inline;
    }

    select#ld_course_categorydropdown_select {
        width: 100%;
    }

}

/* User Certificates Shortcode Styles */
.ldcf-certificates-list {
    margin: 20px 0;
}

.ldcf-certificate-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.ldcf-certificate-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ldcf-certificate-thumbnail-wrapper {
    flex-shrink: 0;
    width: 200px;
}

.ldcf-certificate-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.ldcf-certificate-content {
    flex: 1;
}

.ldcf-certificate-title {
    margin: 0 0 10px 0;
    font-size: 1.4em;
    line-height: 1.3;
}

.ldcf-certificate-title a {
    color: #106D89;
    text-decoration: none;
}

.ldcf-certificate-title a:hover {
    text-decoration: underline;
}

.ldcf-certificate-course {
    margin: 5px 0;
    color: #666;
    font-style: italic;
}

.ldcf-certificate-date {
    margin: 5px 0;
    color: #888;
    font-size: 0.9em;
}

.ldcf-certificate-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #106D89;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ldcf-certificate-link:hover {
    background-color: #0d5a70;
}

.ldcf-no-certificates {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .ldcf-certificate-item {
        flex-direction: column;
    }

    .ldcf-certificate-thumbnail-wrapper {
        width: 100%;
    }
}