/**
 * Styles for tables and grid view
 */
#mns .table, #mns .with-head {
	border: 1px solid #999999;
}

#mns .table {
	border-collapse: separate;
}

#mns .table:last-child, #mns .with-head:last-child {
	margin-bottom: 0;
}
/* IE class */
#mns .table.last-child, #mns .with-head.last-child {
	margin-bottom: 0;
}

#mns .no-margin .table, #mns .content-columns .table, #mns .with-head.no-margin, #mns .content-columns .with-head
	{
	border: none;
}

#mns .no-margin .table+.no-margin, #mns .with-head.no-margin+.no-margin {
	margin-top: -1.667em;
}

#mns .no-margin .table.last-child+.no-margin, #mns .with-head.no-margin.last-child+.no-margin
	{
	margin-top: 0;
}

#mns .content-columns .table:first-child, #mns .content-columns .with-head:first-child
	{
	border: none;
}
/* IE class */
#mns .content-columns .table.first-child, #mns .content-columns .with-head.first-child
	{
	border: none;
}

#mns .content-columns .table, #mns .content-columns .with-head {
	margin-bottom: 0;
}
#mns th {
    text-transform: none;
    font-weight: normal;
}

#mns .table thead th, #mns .table thead td, #mns .head {
	background: #a4a4a4
		url(/images/old-browsers-bg/planning-header-bg.png) repeat-x top;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
	background: -moz-linear-gradient(top, .#cccccc, .#a4a4a4);
	background: -webkit-gradient(linear, .left top, .left bottom, .from(#cccccc),
		to(#a4a4a4) );
	color: white;
	-moz-text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	-webkit-text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	border-top: 1px solid white;
	border-left: 1px solid #dddddd;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #828282;
}

#mns .table thead th, #mns .table thead td {
	vertical-align: middle;
	text-align: left;
	padding: 0.5em 0.75em;
}

#mns .table thead th.sorting, #mns .table thead th.sorting_asc, #mns .table thead th.sorting_desc, #mns .table thead td.sorting, #mns .table thead td.sorting_asc, #mns .table thead td.sorting_desc
	{
	cursor: pointer;
}

#mns .head {
	font-weight: bold;
	line-height: 1.5em;
}

#mns .head>div {
	float: left;
	padding: 0.5em 2em 0.5em 0.75em;
	border-left: 1px solid #dddddd;
	border-right: 1px solid #999999;
	color: white;
	margin: -1px 0 0 0;
	-moz-text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	-webkit-text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

#mns .head>div:first-child {
	margin-left: -1px;
}
/* IE class */
#mns .head>div.first-child {
	margin-left: -1px;
}

#mns .head>div:last-of-type {
	border-right: none;
}
/* IE class */
#mns .head>div.last-of-type {
	border-right: none;
}

#mns .head .button {
	float: right;
	margin: 0.25em 0.5em 0 0;
}

#mns .head>div .button {
	float: left;
	margin: -0.167em 0.5em -0.333em 0;
}

#mns .head>div .button:last-child {
	margin-right: 0;
}
/* IE class */
#mns .head>div .button.last-child {
	margin-right: 0;
}

#mns .table tbody th, #mns .table tbody td, #mns .table tfoot th, #mns .table tfoot td {
	vertical-align: top;
	text-align: left;
	padding: 0.75em;
	border-left: 1px dotted #333333;
}

#mns .table tbody th, #mns .table tbody .th { /* Compatibility with DataTables */
	background: #e6e6e6;
}

#mns .table tbody td {
	background: #f2f2f2;
}

#mns .table tfoot th, #mns .table tfoot td {
	border-top: 1px solid #FF9900;
	background: #999999 url(/images/old-browsers-bg/tfoot-bg.png) repeat-x
		top;
	-o-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	background: -moz-linear-gradient(top, .#333333, .#999999);
	background: -webkit-gradient(linear, .left top, .left bottom, .from(#333333),
		to(#999999) );
	color: white;
}

#mns .table tbody th:first-child, #mns .table tbody .th:first-child, #mns .table tbody td:first-child, #mns .table tfoot th:first-child, #mns .table tfoot td:first-child
	{
	border-left: none;
}
/* IE class */
#mns .table tbody th.first-child, #mns .table tbody .th.first-child, #mns .table tbody td.first-child, #mns .table tfoot th.first-child, #mns .table tfoot td.first-child
	{
	border-left: none;
}

#mns .table tbody tr:nth-child(even) th, #mns .table tbody tr:nth-child(even) .th {
	background: #d9d9d9;
}
/* IE class */
#mns .table tbody tr.even th
		.table tbody tr.even .th {
	background: #d9d9d9;
}

#mns .table tbody tr:nth-child(even) td {
	background: #e6e6e6;
}
/* IE class */
#mns .table tbody tr.even td {
	background: #e6e6e6;
}

#mns .table tbody tr:hover th, #mns .table tbody tr:hover .th, #mns .table tbody tr:hover td
	{
	background: #d1e5ef;
}

#mns .table .black-cell, #mns .head .black-cell {
	background: #242424 url(/images/old-browsers-bg/black-cell-bg.png)
		repeat-x top;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
	background: -moz-linear-gradient(top, .#4c4c4c, .#242424);
	background: -webkit-gradient(linear, .left top, .left bottom, .from(#4c4c4c),
		to(#242424) );
	border-top-color: #7f7f7f;
	border-left: none;
	border-right-color: #191919;
	min-width: 1.333em;
	padding: 0.5em 0.583em;
}
/* IE class */
#mns .ie7 .head .black-cell {
	height: 1.5em;
	position: relative;
	z-index: 89;
}

#mns .head .black-cell.with-gap {
	border-right-color: white;
	margin-right: 0.25em
}

#mns .head .black-cell.with-gap+.black-cell {
	border-left: 1px solid #999999;
}

#mns .table .black-cell span, #mns .head .black-cell span {
	display: block;
	height: 2.5em;
	background-repeat: no-repeat;
	background-position: center;
	margin: -0.5em -0.75em;
}
/* IE class */
#mns .ie7 .head .black-cell span {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: auto;
	padding: 0;
}

#mns .table .black-cell span.loading, #mns .with-head .black-cell span.loading {
	background-image: url(/images/table-loader.gif);
}

#mns .table .black-cell span.error, #mns .with-head .black-cell span.error {
	background-image: url(/images/icons/fugue/cross-circle.png);
}

#mns .table .black-cell span.success, #mns .with-head .black-cell span.success {
	background-image: url(/images/icons/fugue/tick-circle-blue.png);
}

#mns .table-actions a img {
	margin: -2px 0;
}

/************ Sort arrows ************/
#mns .column-sort {
	display: block;
	float: left;
	width: 14px;
	margin: -0.583em 0.5em -0.583em -0.75em;
	border-right: 1px solid #dddddd;
}

#mns .head .column-sort {
	margin: -0.5em 0.5em -0.5em -0.75em;
}

#mns .sorting_disabled .column-sort {
	display: none;
}

#mns .column-sort .sort-up, #mns .column-sort .sort-down {
	display: block;
	width: 13px;
	height: 14px;
	background: url(/images/table-sort-arrows.png) no-repeat;
	border-right: 1px solid #999999;
}

#mns .column-sort .sort-up {
	background-position: 0 1px;
	border-bottom: 1px solid #828282;
}

#mns .column-sort .sort-down {
	background-position: 0 bottom;
	border-top: 1px solid white;
}

#mns .column-sort .sort-up:hover {
	background-position: -15px 1px;
}

#mns .column-sort .sort-down:hover {
	background-position: -15px bottom;
}

#mns .column-sort .sort-up:active, #mns .column-sort .sort-up.active, #mns .sorting_asc .column-sort .sort-up
	{
	background-position: -30px 1px;
}

#mns .column-sort .sort-down:active, #mns .column-sort .sort-down.active, #mns .sorting_desc .column-sort .sort-down
	{
	background-position: -30px bottom;
}

/************ Cell styles ************/
#mns .table-check-cell {
	width: 1em;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
#mns .head:after, #mns .grid:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

#mns .head, #mns .l.grid {
	display: inline-block;
}

* html #mns .head, #mns . html ul.grid {
	height: 1%;
}

#mns .head, #mns .l.grid {
	display: block;
}
