
#courses td:nth-child(1) {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    word-break: break-word; /* Ensures long words are broken correctly */
    overflow-wrap: break-word; /* Breaks long words to fit the container */
    max-width: 0; /* Ensures the cell won't exceed the width */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

#courses td:nth-child(1) a {
    word-wrap: break-word;
    white-space: normal;
    word-break: break-word; /* Ensures long words are broken correctly */
    overflow-wrap: break-word; /* Breaks long words to fit the container */
}

#courses td:nth-child(4) {
    max-width: 50px;
    word-wrap: break-word;
    white-space: normal;
}

#courses tbody tr {
    height: 40px;
    /* line-height: 0.1; */
}

#courses tbody tr a:hover{
    color: #ffffff;
}

#courses tbody tr td{
    white-space: normal;
    word-break: break-word;
}

.dataTables_wrapper .dataTables_filter input {
    height: 20px;
}

#courses_wrapper .dataTables_length{
    display: none;
}

#courses thead tr{
    background-color: #d64635;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#courses tbody tr td .title{
    color: #d64635;
}

#courses th:first-child {
    border-top-left-radius: 10px;
}

#courses th:last-child {
    border-top-right-radius: 10px;
}

#courses thead tr a {
    color: #ffffff;
}

.center {
        text-align: center;
}

.dataTables_processing {
        background-color: #d64635;
        /* Set your desired background color */
        color: #333;
        /* Set your desired text color */
        font-size: 16px;
        /* Set your desired font size */
        padding: 10px;
        /* Adjust padding as needed */
        border-radius: 4px;
        /* Add border-radius for rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        /* Add a subtle box shadow */
    }

    div.dataTables_processing>div:last-child>div {
        position: absolute;
        top: 0;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #062e50 !important;
        background: rgb(var(--dt-row-selected));
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

    div.dataTables_processing {
        top: 5% !important;
    }


    #postsTable td:nth-child(2) {
        max-width: 80px;
    }

    #postsTable td:nth-child(3) {
        max-width: 30px;
    }

    #postsTable tbody tr td .title{
        color: #d64635;
        white-space: normal;
        word-break: break-word;
        line-height: 30px;
    }

    #postsTable tbody tr td{
        white-space: normal;
        word-break: break-word;
        line-height: 30px;
    }

    #postsTable tbody td .center a:hover {
        color: #ffffff;
    }

    #postsTable tbody tr {
        height: 40px; /* Adjust the height as needed */
        line-height: 0.1;
    }

    .dataTables_wrapper .dataTables_filter input {
        height: 20px;
    }

    #postsTable_wrapper .dataTables_length{
        display: none;
    }

    #postsTable thead tr{
        background-color: #d64635;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #postsTable th:first-child {
        border-top-left-radius: 10px;
    }

    #postsTable th:last-child {
        border-top-right-radius: 10px;
    }

    #postsTable thead tr a {
        color: #ffffff;
    }

    .thumbnail-image {
        transition: transform 0.3s ease; /* Add smooth transition */
    }

    .thumbnail-image:hover {
        transform: scale(1.1); /* Scale the image on hover */
    }

    .thumbnail-link {
        display: inline-block; /* Ensure the link wraps around the image */
    }

    .dataTables_processing {
            background-color: #d64635;
            /* Set your desired background color */
            color: #333;
            /* Set your desired text color */
            font-size: 16px;
            /* Set your desired font size */
            padding: 10px;
            /* Adjust padding as needed */
            border-radius: 4px;
            /* Add border-radius for rounded corners */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            /* Add a subtle box shadow */
        }

        div.dataTables_processing>div:last-child>div {
            position: absolute;
            top: 0;
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: #062e50 !important;
            background: rgb(var(--dt-row-selected));
            animation-timing-function: cubic-bezier(0, 1, 1, 0);
        }

        div.dataTables_processing {
            top: 5% !important;
        }

        .register-modal{
            top: 10px !important;
        }

        .course-register p , .course-register span {
            font-size: 12px;
        }

        #register-form-btn2:hover{
            color: #ffffff !important;
        }

        .margin-top-0 .color:hover , .margin-top-0 .color:hover{
            color: #ffffff !important;
        }

    /* Media query for mobile devices */
    @media only screen and (max-width: 600px) {
        #postsTable tbody tr {
            line-height: 1.2;
        }

        #postsTable tbody tr a.button {
            font-size: 10px;
        }

        #postsTable tbody td {
            padding: 5px 5px;
        }

        #postsTable td:nth-child(1) {
            font-size: 12px;
        }

    }


/* Media query for mobile devices */
@media only screen and (max-width: 600px) {
    #courses tbody tr {
        line-height: 1.2;
    }

    #courses tbody tr a.button {
        font-size: 10px;
    }

    #courses tbody td {
        padding: 5px 5px;
    }

    #courses td:nth-child(1) {
        font-size: 12px;
    }

}
