﻿/* Datatable */
.table-toolbar {
    min-height: 36px;
}

.table-toolbar-form {
    padding-bottom: 4px;
}
.table td, .table th, .table thead tr th {
    /*font-size: 12px;*/
}

.table .btn {
    margin-left: 5px;
}

.table th {
    color: #666;
}

.table-header-action {
    text-align: center;
    width: 70px;
}

.table-header-action-md {
    text-align: center;
    width: 100px;
}

.table-header-action-lg {
    text-align: center;
    width: 140px;
}
/*
.table > tbody > tr > td, 
.table > tbody > tr > th, 
.table > tfoot > tr > td, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > thead > tr > th {
    padding: 10px;
}*/

.table img {
    max-width: 176px;
    max-height: 99px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 32px;
}

button.dt-button {
    background: whitesmoke;
    border: none;
    border-radius: 4px !important;
}

    button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled), input.dt-button:hover:not(.disabled) {
        background: lightgray;
        border: none;
    }

a.dt-button {
    border: none;
    background: whitesmoke;
    border-radius: 2px !important;
    padding: 8px 12px !important;
}

    a.dt-button:hover {
        border: none !important;
    }

.buttons-print i, .buttons-excel i, .buttons-pdf i /*, .fa-file-excel-o, .fa-file-pdf-o*/ {
    font-size: 16px;
    margin-right: 4px;
    border: none;
}

.buttons-excel i, i.fa-excel, i.fa-file-excel-o {
    color: green;
}

.buttons-pdf i {
    color: darkred;
}

.table tr.group {
    background: #eff6ff;
}

.table .group td {
    padding: 16px 20px;
    font-weight: 600;
}

@media only screen and (min-width: 641px) {
    .portlet.light .dataTables_wrapper .dt-buttons {
        margin-top: -52px;
    }
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    /*background-color: #f4f9ff;*/
    /*background: #eff6ff;*/
    background: #f9fbff;
}

.table-hover > tbody > tr:hover, .table-hover > tbody > tr:hover > td {
    /*background: #fff1c3 !important;*/
    background: #fff9e6 !important;
}

/* Fix for btn group */
.table-scrollable .dataTable td > .btn-group.inline-block {
    margin-top: 0px;
    position: relative;
}

.selected .btn {
    background: transparent;
    transition: initial;
}

.selected:hover .btn {
    transition: 0.2s ease-out;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
    background-color: #D3F0FF;
}


.table-striped > tbody > tr.group:nth-of-type(2n+1), .table tr.group {
    background: #eff3f8;
}

.table thead tr:first-child {
    background: #eff3f8;
}

    .table thead tr:first-child th {
        padding: 16px 8px;
        border-bottom: 1px solid #e7ecf1;
    }

.table > tbody > tr > td, 
.table > tbody > tr > th, 
.table > thead > tr > td, 
.table > thead > tr > th {
    border: 0;

}

.table > tfoot > tr > th, 
.table > tfoot > tr > td {
    padding: 8px;
}

.table.table-condensed > tfoot > tr > th,
.table.table-condensed > tfoot > tr > td {
    padding: 5px;
}

/* Fix for checkbox misalignment */
.table tbody td > .mt-checkbox.mt-checkbox-single {
    vertical-align: middle;
}

.table.table-condensed tbody td > .mt-checkbox.mt-checkbox-single {
    margin-left: 3px;
    vertical-align: middle;
}