#courseInstancesTable td:nth-child(1) {
    max-width: 40px;
    word-wrap: break-word;
    white-space: normal;
}

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

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

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

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

#courseInstancesTable_wrapper .dataTables_length {
    display: none;
}

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

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

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

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


.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: 14px;
}

.course-register p strong{
    color: #d64635;
}

#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) {
    #courseInstancesTable tbody tr {
        line-height: 1.2;
    }

    #courseInstancesTable tbody tr a.button {
        font-size: 10px;
        width: 100%;
        text-align: center;
    }

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

    #courseInstancesTable td, #courseInstancesTable td a, #courseInstancesTable th a {
        font-size: 10px;
    }

}
