
@import url('//cdn.datatables.net/plug-ins/725b2a2115b/integration/bootstrap/3/dataTables.bootstrap.css');

.dataTables_length, .dataTables_filter {
    margin-top: 8px;
}

div.dataTables_length label {
    margin-top: 3px;
    margin-bottom: 5px !important;
}

.dataTables_length .form-control,
.dataTables_filter .form-control {
    margin-left: 5px;
    vertical-align: baseline;
}

.table.dataTable thead .sorting_asc {
    background-image: url('../images/datatables/sort_asc.png');
}

.table.dataTable thead .sorting_desc {
    background-image: url('../images/datatables/sort_desc.png');
}

.table.dataTable thead > tr > th,
.table.dataTable tbody > tr > td, 
.table.dataTable tfoot > tr > td {
    padding-left: 10px;
    padding-right: 10px;
}

.table.dataTable thead > tr > th, 
.table.dataTable tbody > tr > td,
.table.dataTable tfoot > tr > td {
    line-height: 26px;
}

td.details-control {
    cursor: pointer;
}

td.details-control:before {
    font-family: 'FontAwesome';
    content: '\f105';
    display: block;
    text-align: center;
    font-size: 16px;
}

tr.shown td.details-control:before {
    font-family: 'FontAwesome';
    content: '\f107';
    display: block;
    text-align: center;
    font-size: 16px;
}

.dataTables_wrapper table > tbody > tr > td table {
    width: 500px;
}

.dataTables_filter input {
    border:1px solid #ddd;
    line-height: 25px;
    padding-left: 5px;
}

/* For table length select using select2 */

.select2-container .select2-choice {
    padding-top: 2px;
    padding-bottom: 2px;
}

.select2-container .select2-choice .select2-arrow {
    top: -1px;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: none;
}
table.dataTable tfoot th,
table.dataTable tfoot td {
    padding: 10px 18px 6px 18px;
    border-top: 1px solid #ddd;
}
table.dataTable.no-footer {
    border-bottom: 1px solid #ddd; 
}