﻿
.txtSearch {
    border: solid 1px transparent;
    font-family: "IRANSans4",Tahoma;
    width: 100%;
    background-color: transparent;
}

.toolbar {
    display: inline;
}

.dtToolbar {
    background: #f3f3f3 !important;
    background-color: #f9f9f9 !important;
    border: none !important;
    height: 30px;
}

.dt-buttons {
    width: 100%;
}

div.dt-buttons {
    float: right !important;
}

.dataTables_scroll {
    background-color: #fff;
    border: none; /*1px solid #aaaaaa;*/
}

table.dataTable {
    margin-top: 0px !important;
}

    table.dataTable.table-condensed > thead > tr > th {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 1px;
    }

    table.dataTable.table-condensed > tfoot > tr > th {
        padding: 3px 1px;
    }

    /* checkboxes */
    table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox::before {
        border-radius: 0;
    }

    table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after {
        width: 14px;
        height: 14px;
    }

    table.dataTable tr.selected td.select-checkbox::after, table.dataTable tr.selected th.select-checkbox::after {
        margin-top: -8px;
    }

    table.dataTable span.highlight {
        background-color: #FFFF88;
    }

    table.dataTable thead {
    }

        table.dataTable thead .sorting::after {
            content: none;
        }

        table.dataTable thead .sorting_asc::after {
            content: none;
        }

        table.dataTable thead .sorting_desc::after {
            content: none;
        }

    table.dataTable tbody th, table.dataTable tbody td {
        padding: 5px 10px;
    }

    table.dataTable tr {
        /*background-color: #fff;*/
    }

        table.dataTable tr:nth-child(even) {
          /*  background-color: #fbfbfb;*/
        }

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none;
}

.dt-button-collection a.buttons-columnVisibility:before,
.dt-button-collection a.buttons-columnVisibility.active span:before {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 0;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

.dt-button-collection a.buttons-columnVisibility:before {
    content: ' ';
    margin-top: -6px;
    margin-left: 10px;
    border: 1px solid black;
    border-radius: 3px;
}

.dt-button-collection a.buttons-columnVisibility.active span:before {
    content: '\2714';
    margin-top: -7px;
    margin-left: 12px;
    text-align: center;
    text-shadow: 1px 1px #DDD, -1px -1px #DDD, 1px -1px #DDD, -1px 1px #DDD;
}

.dt-button-collection a.buttons-columnVisibility span {
    margin-left: 20px;
}

button.dt-button, div.dt-button, a.dt-button {
    padding: 1px 8px 3px 10px;
    border: solid 1px #ccc;
}

.dt-button > span > .fa {
    float: right;
    color: #333;
}



/* Toolbar */
.dtToolbar {
    background: #cccccc url("../../Themes/Default/images/ui-bg_highlight-soft_75_cccccc_1x100.html") repeat-x scroll 50% 50%;
    border: 1px solid #aaaaaa;
    color: #333;
    padding: 6px 12px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    font-weight: normal;
}

.dtToolbarButton {
    margin-top: 5px;
    font-size: 17px !important;
    color: #333;
}

/* Datatable */
table.dataTable {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

    table.dataTable > thead > tr > th, table.dataTable > tfoot > tr > th {
        padding: 5px 10px;
        font-weight: 100;
        border: 1px solid #dddddd;
        vertical-align: middle;
        background-color: #F8F8F8;
    }

    table.dataTable > thead > tr > th {
        padding: 10px 15px;
        font-weight: bold;
    }

    table.dataTable tbody th, table.dataTable tbody td {
        border: 1px solid #dddddd;
    }

    table.dataTable > tfoot > tr > th {
        padding: 10px 10px;
        font-weight: bold;
    }

.dataTables_scrollHeadInner, .dataTables_scrollFoot {
    background-color: #eee;
}

table.dataTable tr.group td {
    background-color: lightblue !important;
    text-align: right !important;
}
