﻿table.datatable {
    width: 100%;
}

table.datatable td {
    border-top: none !important;
    border-bottom: 1px solid #EBEDF3;
}

table.datatable > thead th {
    padding-left: 10px;
    color: #222222;
    background-color: #ddd;
    padding-right: 25px !important;
}
 
/*table.datatable tbody td {
    background-color: #F8F9FA;
    padding: 6px;
}*/

table.datatable > tbody > tr.even {
    background-color: #fcfcfc;
}

table.datatable > tfoot th {
    background-color: #ddd;
    color: #222222;
    border: none;
}

/*Inner Table*/
table.datatable > tbody table {
    margin-left: 50px;
}

table.datatable > tbody table thead tr {
    border-bottom: 1px solid whitesmoke;
}

table.datatable > tbody table tbody tr:not(:last-child) {
    border-bottom: 1px solid whitesmoke;
}

table.datatable > tbody table td,
table.datatable > tbody table th {
    border: none;
    padding: 4px 15px 4px 2px;
    font-size: 9pt;
}
/*Inner Table*/

table.datatable td.details-control {
    background-image: url('/Images/Icons/details_open.png');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

table.datatable tr.shown td.details-control {
    background-image: url('/Images/Icons/details_close.png');
    background-repeat: no-repeat;
    background-position: center;
}

span.dataTables_search_ext_controls {
    margin-left:-23px;
}

span.dataTables_search_ext_controls > a.dataTables_search_clear {
    vertical-align:middle;
}

span.dataTables_search_ext_controls > a.dataTables_search_filter {
    background-color:#eaeaea;
}

span.dataTables_search_ext_controls > a.dataTables_search_filter > i {
    padding-top:3px;
    vertical-align:middle;
}

@media (min-width: 768px) {
    div.dataTables_wrapper div.dataTables_filter input {
        max-width: 325px;
        width: 325px;
    }
}

/*-------- Simple datatable -------------*/
table.datatable-simple {
    width: 100%;
    clear: both;
    font-size: 12px;
    /*background-color: #fff;*/
}

table.datatable-simple > tbody > tr > td {
    border-top: none !important;
    border-bottom: 1px solid #EBEDF3;
}
