/*
 *  File:         demo_table.css
 *  CVS:          $Id$
 *  Description:  CSS descriptions for DataTables demo pages
 *  Author:       Allan Jardine
 *  Created:      Tue May 12 06:47:22 BST 2009
 *  Modified:     $Date$ by $Author$
 *  Language:     CSS
 *  Project:      DataTables
 *
 *  Copyright 2009 Allan Jardine. All Rights Reserved.
 *
 * ***************************************************************************
 * DESCRIPTION
 *
 * The styles given here are suitable for the demos that are used with the standard DataTables
 * distribution (see www.datatables.net). You will most likely wish to modify these styles to
 * meet the layout requirements of your site.
 *
 * Common issues:
 *   'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
 *     no conflict between the two pagination types. If you want to use full_numbers pagination
 *     ensure that you either have "example_alt_pagination" as a body class name, or better yet,
 *     modify that selector.
 *   Note that the path used for Images is relative. All images are by default located in
 *     ../images/ - relative to this CSS file.
*/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
*/

.dataTables_wrapper {
    position: relative;
    clear: both;
    zoom: 1; /* Feeling sorry for IE */
}

.dataTables_processing {
    background-color: white;
    background-image: url("../images/loaders/mainLoader.gif");
    background-position: center 5px;
    background-repeat: no-repeat;
    border: 1px solid #DDDDDD;
    color: #999999;
    font-size: 14px;
    height: 30px;
    left: 50%;
    margin-left: -125px;
    margin-top: -45px;
    padding: 50px 0 2px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 250px;
}

.dataTables_length {
    float: left;
}

.dataTables_filter {
    float: right;
    text-align: right;
}

.dataTables_info {
    background: #eff3f4;border:1px solid #d4dcdf;margin: 2px;padding:0.3em 1em;float:left;
}

.dataTables_paginate {
    float: right;
    text-align: right;
}




/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
*/
table.datatable{margin:1em 0;}




/* DataTables sorting */
table.datatable th.sorting {background-image: url('../images/sort_both.png');background-repeat: no-repeat;background-position: center right;cursor: pointer;}
table.datatable th.sorting_asc {background-image: url('../images/sort_asc.png');background-repeat: no-repeat;background-position: center right;cursor: pointer;}
table.datatable th.sorting_desc {background-image: url('../images/sort_desc.png');background-repeat: no-repeat;background-position: center right;cursor: pointer;}
table.datatable th.sorting:hover, table.datatable th.sorting_asc:hover, table.datatable th.sorting_desc:hover {text-decoration: underline;}
table.datatable th.sorting_asc_disabled {background-image: url('../images/dataTables/sort_asc_disabled.png');background-repeat: no-repeat;background-position: center right;}
table.datatable th.sorting_desc_disabled {background-image: url('../images/dataTables/sort_desc_disabled.png');background-repeat: no-repeat;background-position: center right;}

table.datatable th.sorting_asc.text-right {background-position: center left;}
table.datatable th.sorting_desc.text-right {background-position: center left;}
table.datatable th.sorting.text-right {background-position: center left;}

/* Misc */
.dataTables_scroll {
    clear: both;
}

.dataTables_scrollBody {
    *margin-top: -1px;
    -webkit-overflow-scrolling: touch;
}

.top, .bottom {
    padding: 15px;
    background-color: #F5F5F5;
    border: 1px solid #CCCCCC;
}

.top .dataTables_info {
    float: none;
}

.clear {
    clear: both;
}

.dataTables_empty {
    text-align: center;
}



.example_alt_pagination div.dataTables_info {
    width: 40%;
}

.paging_full_numbers {
    height: 22px;
    line-height: 22px;
    margin:8px 2px;
}

.paging_full_numbers a:active {
    outline: none
}

.paging_full_numbers a:hover {
    text-decoration: none !important;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
    text-decoration: none !important;
    border: 1px solid #D3DDDF;
    padding: 8px 15px;
    cursor: pointer;
    background-color: #EFF3F4;
    background-image: url("../images/btn-35.png");
    background-position: 0 0;
    color: #565656 ;
    margin-left: 5px;
    *cursor: hand;
}


.paging_full_numbers a.paginate_active,
.paging_full_numbers a.paginate_button.current
{
    background-color: #27B231;
    color: #fff !important;
}


/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous,
.paginate_disabled_next, .paginate_enabled_next {
    height: 19px;
    float: left;
    cursor: pointer;
    *cursor: hand;
    color: #111 !important;
}
.paginate_disabled_previous:hover, .paginate_enabled_previous:hover,
.paginate_disabled_next:hover, .paginate_enabled_next:hover {
    text-decoration: none !important;
}
.paginate_disabled_previous:active, .paginate_enabled_previous:active,
.paginate_disabled_next:active, .paginate_enabled_next:active {
    outline: none;
}

.paginate_disabled_previous,
.paginate_disabled_next {
    color: #666 !important;
}
.paginate_disabled_previous, .paginate_enabled_previous {
    padding-left: 23px;
}
.paginate_disabled_next, .paginate_enabled_next {
    padding-right: 23px;
    margin-left: 10px;
}

.dataTables_length, .dataTables_filter{background: #eff3f4;border:1px solid #d4dcdf;margin: 2px;padding:0.3em 1em;}

td.group {border:1px solid #9EBFA0;background: #B1EDB5;}

tr.even td{background:#eee;}

#invoicesTable_length{margin-left:220px;}
#ordersTable_length{margin-left:220px;}
#offerTable_length{margin-left:140px;}
#invoicesTable tr td{cursor: pointer;}
#ordersTable tr td{cursor: pointer;}
#offerTable tr td{cursor: pointer;}
.tabela-faktur .operacje-masowe{margin-top:-35px;}
.tabela-ofert .operacje-masowe{margin-top:-35px;}