/**
 * Results/tables styles for the admin.
 *
 * This should be included with every skin and overridden when needed.
 */


/*
 * Results tables:
 */
table.grouped {
	border: 1px solid #bbb;
	margin: 1ex auto;
	width: 100%;
	/* clear:both; */
}
div.compact_results table.grouped {
	margin: 0 auto;
}

/* Table Filters: */
table.grouped tr.filters td {
	border-bottom: 1px solid #bbb;
	border-left: none;
	background-color: #ddd;
	font-size: 84%;
}
a.filters_title {
	text-decoration:none;
}
a.filters_title:hover {
	text-decoration:underline;
}
tr.filters div {
	margin-left: 15px;
}
input.filter {
	padding: 0;
	margin: 0 0 1px .5ex;
	float:right;
}

/* Table rows: */
table.grouped tr {
	background-color: #eee;
}
table.grouped tr.odd {
	background-color: #ddd;
}
table.grouped td {
	border-left: 1px solid #bbb;
	padding: .3ex 1ex;
}
table.grouped th.title{
	border-left: none;
	text-align: left;
}
table.grouped th.firstcol,
table.grouped td.firstcol {
	border-left: none;
}
table.grouped tr.group td {
	font-weight: bold;
	color: #8e8276;
	background-color: #ccc;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	border-left: 0;
}
table.grouped .notes {
	color: #666;
}
table.grouped td.shrinkwrap
{
	width: 1%;
	white-space:nowrap;
	text-align:center;
}
/* For prices */
table.grouped td.monetary
{
	text-align:right;
	white-space:nowrap;
}

table.grouped input.checkbox {
	border:none;
	background-color: #eee;
}
table.grouped tr.odd input.checkbox {
	border:none;
	background-color: #ddd;
}
table.grouped tr.even:hover,
table.grouped tr.odd:hover {
	background-color:#ccc;
}

/* Table headers/footers: */
table.grouped th,
table.grouped thead td,
table.grouped tfoot td {
	padding: .5ex;
	border-bottom: 1px solid #bbb;
	border-left: 1px solid #bbb;
	background-color: #d4d4d4;
}
table.grouped th {
	padding: .3ex 1ex;
}
table.grouped th img {
	vertical-align: bottom;
}
table.grouped tr.total td {
	border-top: 1px solid #bbb;
	font-weight: bold;
	background-color: #d4d4d4;
}

/* Table BASIC sort buttons/headers: */
table.grouped th a.basic_current,
table.grouped th a.basic_sort_link {
	padding: 0 1ex;
	display: block;
	height: 100%;
}
table.grouped th a.basic_current {
	background-color:#ccc;
}
table.grouped th a.basic_sort_link:hover {
	background-color:#ccc;
}


/* Table SINGLE sort buttons/headers: */
table.grouped th a.single_current {
	font-weight : bold;
}
table.grouped th a.single_current:hover,
table.grouped th a.single_sort_link:hover {
	text-decoration: underline;
}
/* / Results tables */


/*
 * Results navigation:
 */
.results {
	margin: 0;
	width: 100%;
	/* border: 1px solid black; */
}
.results_nav {
	text-align: center;
}

/* / Results navigation */

/* 
 * Results drag n drop 
 */
ul.grouped li .draggable_object{
cursor:move;
}

li.ui-draggable-dragging{
width: 80%;	/* fp> TODO: JS copy actual pixel width of actual page objetcs */
}

ul.grouped .actions{
display:block;
float:right;
margin-left:2ex;
}

.unsaved_change,
.unsaved_change li,
.widget_changed{
background-color:#faa;
}

.saving_change{
background-color:#ddd;
}
