﻿/* poprawki dostosowujące domyślne style DataTables do wyglądu aplikacji 2.0 */
.dataTables_wrapper
{
	overflow: hidden;
	position: relative;
	min-height: 100px;
	_height: 100px;
	clear: both;
}

.dataTables_processing
{
	font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, Sans-Serif;
	text-transform: lowercase;
	top: 40%;
	padding: 1ex 0;
	border: 1px solid #ebe3c4;
	background: #fefae8;
	font-size: 17px;
	border-radius: 5px;
}
.dataTables_length
{
	float: none;
	display: inline;
}
.dataTables_length label
{
	font-size: 11px;
}
.dataTables_length select 
{
	height: 22px;
	font-size: 1em;
	min-width: 65px;
	margin-right: 10px;
}
.dataTables_info
{
	float: none;
	display: inline;
	padding-top: 5px;
	font-size: 11px;
	color: #999;
}

table.display thead th
{
	text-transform: uppercase;
	font-size: 11px;
}

table.display td
{
	font-size: 13px;
}

table.display thead th,
table.display td
{
	line-height: 1.2em;
	padding: 2px 10px;
	min-height: 39px;
	height: 39px;
}

table.display tr.odd,
table.display tr.even
{
	border-bottom: 1px solid #f5f5f5;
}

table.display tr.odd:hover td a,
table.display tr.even:hover td a,
table.display tr.row_selected:hover td a
{
	text-decoration: underline;
}

table.display tr.grey td,
table.display tr.grey td a,
table.display tr.grey td a:link,
table.display tr.grey td a:visited,
table.display tr.grey td a:active,
table.display tr.grey td a:focus,
table.display tr.grey td a:hover
{
	color: #999;
}

table.display tr.not-visited-row {
	font-weight: 700;
}

.dataTables_wrapper .paging_full_numbers {
	min-width: 350px;
	width: auto !important;
}

table.display thead th div.DataTables_sort_wrapper .DataTables_sort_icon
{
	position: relative;
	display: inline;
	padding: 0 8px;
	top: 0;
	margin: 0 0 0 4px;
}

table.display thead th div.DataTables_sort_wrapper .DataTables_sort_icon.ui-icon.ui-icon-carat-2-n-s
{
	display: none;
}

table.display thead th.ui-state-default div.DataTables_sort_wrapper .DataTables_sort_icon.ui-icon
{
	background-image: url(../../jQueryUI/custom-theme/images/ui-icons_333333_256x240.png) !important;
}

table.display thead th.ui-state-default
{
	background: none;
	border: none;
	border-bottom: 1px solid #ddd;
}

.dataTables_wrapper div.filterContainer input[type=button],
.dataTables_wrapper .paging_full_numbers .btn
{
	padding: 2px 8px;
}

.dataTables_wrapper .grid-actions-container .btn
{
	height: 22px;
}

.dataTables_wrapper .grid-actions-container .btn.btn-default
{
	height: 26px;
}

.dataTables_empty
{
	vertical-align: middle;
}

table.display .description-column {
	white-space: pre-line;
	min-width: 280px;
}

/*======================================== labele w kolumnach ========================================*/
table.display td .label,
table.display td .label2
{
	font-size: 11px;
}

/*======================================== filtry w kolumnach ========================================*/

table.display tfoot th
{
	padding: 8px 6px;
	text-align: center;
	vertical-align: top;
}

table.display tfoot input[type=checkbox]
{
	width: auto;
}

table.display tfoot input.number_range_filter,
table.display tfoot input.date_range_filter,
table.display tfoot input.time_range_filter
{
	width: 47% !important;
	float: left;
}

table.display tfoot input.number_range_filter.last,
table.display tfoot input.date_range_filter.last,
table.display tfoot input.time_range_filter.last
{
	float: right;
}

table.display tfoot input.filter
{
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 16px;
	cursor: text;
}

table.display tfoot input.filter.text
{
	background-image: url('/Content/Images/x_btn.png');
}

table.display tfoot input.filter.text:focus,
table.display tfoot input.filter.text.focus
{
	background-image: url('/Content/Images/x_btn_focus.png');
}

table.display tfoot input.filter.text.focus
{
	cursor: default;
}

/*======================================== filtry tagInput w kolumnach ========================================*/
table.display tfoot div.tagsinput
{
	background: none;
	padding: 0;
	margin-top: 12px;
	border: none;
}

table.display tfoot div.tagsinput span.tag
{
	width: 100%;
	text-align: left;
}

table.display tfoot div.tagsinput span.tag > span
{
	padding-right: 8px;
}

table.display tfoot div.tagsinput span.tag a
{
	position: absolute;
	top: 4px;
	right: 6px;
}

table.display a.link, table.display a.link:link, table.display a.link:visited, table.display a.link:active, table.display a.link:focus, table.display a.link:hover {
	color: #333;
}

table.display tr.highlighted {
	background: #e6e6e6;
}

table.display tr.highlighted.row_selected td {
	background: #84b7ff;
}

table.display tr.row-danger {
	background: #ffc1bd;
}


table.display .tags-input-fake, table.display .time_range_filter, table.display .number_range_filter {
	border: 1px solid #c4c4c4;
	border-radius: 4px;
	height: auto;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 16px;
}

table.display .tags-input-fake:hover, table.display .time_range_filter:hover, table.display .number_range_filter:hover {
	border-color: #333;
}