<div class="row">
    <div class="col-12">
        <div class="card">
            <div class="card-body"> 
                <style type="text/css">     
                    #datatable-fixedheader thead tr th:nth-child(1), #datatable-fixedheader tbody tr td:nth-child(1) {width: 5% !important; text-align: center;}
                    #datatable-fixedheader thead tr th:nth-child(2), #datatable-fixedheader tbody tr td:nth-child(2) {width: 20% !important; text-align: left;}
                 #datatable-fixedheader tbody tr td:nth-child(3) div {
    display: -webkit-box;
    -webkit-line-clamp: 3;   
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
                    #datatable-fixedheader thead tr th:nth-child(3), #datatable-fixedheader tbody tr td:nth-child(3) {width: 30% !important; text-align: left;}
                    #datatable-fixedheader thead tr th:nth-child(4), #datatable-fixedheader tbody tr td:nth-child(4) {width: 10% !important; text-align: center;}
                    #datatable-fixedheader thead tr th:nth-child(5) {width: 15% !important;}
                    #datatable-fixedheader thead tr th:nth-child(6), #datatable-fixedheader tbody tr td:nth-child(6) {width: 10% !important; text-align: center;}
                    #datatable-fixedheader thead tr th:nth-child(7) {width: 10% !important;}
                    #datatable-fixedheader thead tr th:last-child, #datatable-fixedheader tbody tr td:last-child {text-align: center;}
                    
 
                    #datatable-fixedheader tbody tr td:nth-child(3) div p {
                        margin: 0;
                        padding: 2px 0;
                    }
                    #datatable-fixedheader tbody tr td:nth-child(3) div ul,
                    #datatable-fixedheader tbody tr td:nth-child(3) div ol {
                        margin: 5px 0;
                        padding-left: 20px;
                    }
                </style>
                <table id="datatable-fixedheader" class="table table-hover table-bordered dt-responsive nowrap">
                    <thead>
                        <tr>
                            <th>No.</th>
                            <th>Name</th> 
                            <th>Description</th>  
                            <th>Sequence</th> 
                            <th>Date Time</th> 
                            <th>Status</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody> 
                    </tbody>
                </table>
                <div class="modal fade modal1" id="#modal1" tabindex="-1">
                    <div class="modal-dialog modal-lg modal-dialog-centered">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h5 class="modal-title">Vertical centered</h5>
                                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                            </div>
                            <div class="modal-body">
                                <form class="custom-validation" action="#" id="form" enctype="multipart/form-data" accept-charset='utf-8' autocomplete="off">
                                    <div class="mb-3">
                                        <label class="form-label" for="cat_name">Title</label>
                                        <input type="text" name="cat_name" id="cat_name" class="form-control" required>
                                        <input type="hidden" name="id" id="id" class="form-control">
                                    </div>
                                    <div class="mb-3">
                                        <label class="form-label" for="sequence_no">Sequence No.</label>
                                        <input type="text" name="sequence_no" id="sequence_no" class="form-control" required>
                                    </div>
                                    <div class="mb-3">
                                        <label class="form-label">Description</label>
                                        <textarea name="description" id="description" class="form-control ckeditor-textarea"></textarea>
                                    </div>
                                  
                                    <div class="modal-bottom-part">
                                        <button type="submit" id="submit" class="btn btn-primary waves-effect waves-light me-1">Submit</button>
                                        <button type="reset" id="cancel" class="btn btn-secondary waves-effect" data-bs-dismiss="modal">Cancel</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>  
</div>

 
<script src="https://cdn.ckeditor.com/4.22.1/standard/ckeditor.js"></script>

<?php $this->load->view('includes/footer'); ?>
</body>
</html>