
.data-table {
    padding: 30px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
    margin-top: 30px;
}

tbody tr .td-lesson-id {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    width: 5%;
}
tbody tr .td-lesson-id {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    width: 6%;
}

tbody tr .td-lesson-id.adult-quiz-id {
    width: 9%;
}

table.dataTable.table-striped>tbody>tr>td {
    color: #232222;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
}

table.dataTable.table-striped>tbody>tr>td {
    padding-top: 9px;
    padding-bottom: 9px;
}

table.dataTable.table-striped>tbody>tr>.table-icon {
    padding-left: 16px;
    width: 4%;
}

table.dataTable.table-striped>tbody>tr>.td-lesson-title {
    width: 50%;
}

table.dataTable.table-striped>tbody>tr>.td-course-title {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.dataTable.table-striped>tbody>tr>.status-redirection {
    width: 3%;
}

table.dataTable.table-striped>tbody>tr>.td-status-label {
    width: 18%;
}


div.dataTables_wrapper div.dataTables_length label {
    color: #434343;
    margin-bottom: 0;
}

div.dataTables_wrapper div.dataTables_length select {
    padding: 10px 12px;
    min-width: 103px;
    margin-right: 8px;
    margin-left: 12px;
    border-radius: 6px;
}

.form-select:focus {
    border-color: #CECCCC;
    box-shadow: none;
}

.dataTables_length select {
    background-image: url(./../images/select_down_arrow.svg) !important;
    background-size: 20px;
}

.dataTables_wrapper .row .dataTables_filter,
.dataTables_wrapper .row .dataTables_length {
    padding-bottom: 16px;
    border-bottom: 2px solid #F4FAFF;
    margin-bottom: 16px;
}

.dataTables_wrapper .row .dataTables_filter label {
    margin-bottom: 0;
}

table.dataTable {
    margin: 0 !important;
}

table.dataTable thead>tr>th {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    background: #F4F4F4;
    color: #434343;
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
}

table.dataTable thead>tr>.table-status::after,
table.dataTable thead>tr>.table-status::before {
    position: absolute;
    left: 120px;
}


table.dataTable thead>tr>th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;  
}

table.dataTable thead>tr>th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;  

}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>* {
    box-shadow: none;
    vertical-align: middle;
}

table.dataTable.table-striped>tbody>tr>td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.dataTables_filter input {
    background-image: url(./../images/icon_search-table.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 96% center;
    padding: 10px 12px;
}

.pagination .previous {
    margin-left: 8px;
}

.paginate_button.page-item {
    margin: 0px 4px;
}

.next {
    margin-left: 8px;
}

.page-item:not(:first-child) .page-link {
    margin-left: 0;
}

.paginate_button a {
    padding: 5px 10px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    border: 1px solid #868686;
    border-radius: 5px;
    
}

.active>.page-link {
    background-color: #FE5877;
    border-color: #FE5877;
}

.page-link {
    color: #868686;
}

.page-link:hover {
    color: #FFF;
}

[data-dt-idx="previous"],
[data-dt-idx="next"]
 {
    font-size: 0 !important;
    position: relative;
}

[data-dt-idx="previous"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

[data-dt-idx="next"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

[data-dt-idx="next"]::after {
    left: 2px;
    top: 4px;
    transform: rotate(180deg);
}

[data-dt-idx="previous"]::after {
    left: 10px;
    top: 9px;

}

[data-dt-idx="next"]::after,
[data-dt-idx="previous"]::after {
    background-image: url(./../images/table-pagination.svg);
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
}

table.dataTable thead>tr>th.sorting:after,
table.dataTable thead > tr > th.sorting::before {
    width: 8px;
    height: 5px;
    opacity: 1;
}

table.dataTable thead > tr > th.sorting::before {
    content: url(./../images/table-up-arrow.svg);
    bottom: 26px;
}
table.dataTable thead > tr > th.sorting.sorting_asc::before {
    content: url(./../images/table-up-arrow-pink.svg);
}

table.dataTable thead>tr>th.sorting:after {
    content: url(./../images/table-down-arrow.svg);
    top: 27px;
}
table.dataTable thead > tr > th.sorting.sorting_desc::after{
    content: url(./../images/table-down-arrow-pink.svg);
}

#example_filter {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

#example_filter div.pull-right {
    min-width: 184px;
}

.pull-right select.form-control {
    height: 44px;
    color: #868686;
    font-size: 14px;
    line-height: 20px;
    border-radius: 6px;
    text-transform: uppercase;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 100%;
    min-width: 280px;
    border-radius: 6px;
    margin-left: 0
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}





/* *********************** */
/* Responsive Media Queris */
/* *********************** */
@media only screen and (min-width: 1899px) {
    table.dataTable.table-striped>tbody>tr>.td-status-label {
        width: 9%;
    }
}


@media only screen and (max-width: 1900px) {
    
    table.dataTable thead > tr > th.sorting::before {
        bottom: 53%;
    }

    table.dataTable thead>tr>th.sorting:after {
        top: 53%;
    }
}
@media only screen and (max-width: 1499px) {

    tbody tr .td-lesson-id {
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        width: 9%;
    }

}
@media only screen and (max-width: 1200px) {
    tbody tr .td-lesson-id.adult-quiz-id {
        width: 13%;
    }

    table.dataTable.table-striped>tbody>tr>.td-course-title {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    table.dataTable.table-striped>tbody>tr>.td-lesson-title {
        width: auto;
    }

    table.dataTable.table-striped>tbody>tr>.td-status-label {
        width: auto;
    }
}

@media only screen and (max-width: 1024px) {
    .dataTables_wrapper .row .dataTables_filter,
    .dataTables_wrapper .row .dataTables_length {
        border-bottom: none;
    }
}

@media only screen and (max-width: 991px) {
    .data-table {
        padding: 20px;
    }

    #example_filter {
        justify-content: flex-end;
    }

    #example_filter div.pull-right {
        min-width: 130px;
    }

    div.dataTables_wrapper div.dataTables_filter {
        text-align:left;
    }

    #example35_wrapper #example35_filter,
    #example351_wrapper #example351_filter
    {
        text-align: right;
    } 



    div.dataTables_wrapper div#example20_filter {
        text-align: right;
    }

    div.dataTables_wrapper div#example1_filter {
        text-align: right;
    }

    /* education institute panel */
    #example678_filter {
        text-align: right;
    }

    div.instructors-assigned-student div.dataTables_wrapper div.dataTables_filter {
        text-align: right;
    }
    
}

@media only screen and (max-width: 768px) {
    .dataTables_wrapper .row .dataTables_length {
        text-align: left;
    }

    div.dataTables_wrapper div#example1_filter label input {
        min-width: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    #example_filter {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 575px) {

    .table-status-active-inactive[aria-label="Active/Inactive"] {
        word-break: break-all
    }

    table.dataTable thead>tr>th {
        font-size: 12px;
        line-height: 1.4;
        padding-top: 10px;
        padding-bottom: 10px;
        white-space: nowrap;
    }

    table.dataTable thead > tr > th.sorting::before {
        bottom: 65%;
    }

    table.dataTable thead>tr>th.sorting:after {
        top: 65%;
    }

    table.dataTable.table-striped>tbody>tr>td {
        font-size: 12px;
        line-height: 1.4;
    }

    #example_filter {
        flex-direction: column;
    }

    tbody tr .td-lesson-id.adult-quiz-id {
        width: auto;
    }

    table.dataTable thead>tr>.table-status::after,
    table.dataTable thead>tr>.table-status::before {
    left: 60px;
    }

    div.dataTables_wrapper div#example20_filter {
        text-align: left;
    }

    div.dataTables_wrapper div#example1_filter label {
        width: 100%;
    }

    /* education institute panel */
    #example678_filter {
        text-align: left;
    }

    div.instructors-assigned-student div.dataTables_wrapper div.dataTables_filter {
        text-align: left;
    }

    #example35_wrapper #example35_filter,
    #example351_wrapper #example351_filter
    {
        text-align: left;
    }
}


