table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
}

table.mini {
	margin: 0;
	padding: 0;
}

table.mini tr {
	font-size: .9230769230769231em;
	border-color: gray;
}

table.mini th,
table.mini td {
	padding: 3px 5px;
}

/* Zebra striping */
tr:nth-of-type(odd),
#wrapper table.plain tr.odd {
	background: #f6f6f6;
}

table.plain tr:nth-of-type(odd) {
	background: #f6f6f6;
}

th {
	background: #333;
	color: white;
	font-weight: bold;
}

#wrapper table th a:link,
#wrapper table th a:visited {
	color: white;
	font-weight: bold;
	border-bottom-color: white;
}

td,
th {
	padding: 6px;
	border: 1px solid #ccc;
	text-align: center;
}

.details {
	display: none;
	color: #777;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background-color: #CCFFFF;
}

.details td {
	border-left: 0;
	border-right: 0;
}

nav#sorter {
	margin-bottom: 5px;
}

div.radio label {
	display: inline-block;
}

table.action-table td:last-of-type,
table.action-table th:last-of-type {
	display: none;
}

table.action-table .action-column a,
table.action-table th:first-of-type a {
	vertical-align: middle;
}

table.action-table .action-column {
	text-align: left;
}

table.action-table .action-column {
	position: relative;
}

table.action-table .action-column .update,
table.action-table .action-column .remove,
table.action-table .action-column .ca411,
table.action-table .action-column .canada411,
table.action-table .action-column .mobile,
table.action-table .action-column .search,
table.action-table .action-column .copy {
	position: absolute;
	right: 5px;
	display: none;
	bottom: 2px;
}

.second-icon {
	right: 35px !important;
}

.third-icon {
	right: 64px !important;
}

.fourth-icon {
	right: 93px !important;
}

/* 
This query will take effect for any screen smaller than 750px
and also iPads specifically.
*/
@media only screen and (max-width: 750px) {

	/* Force table to not be like tables anymore */
	table,
	thead,
	tbody,
	th,
	td,
	tr,
	table.action-table td:last-of-type,
	table.action-table th:last-of-type {
		display: block;
	}

	table.action-table td:last-of-type a,
	table.action-table th:last-of-type a {
		display: inline-block !important;
		margin-right: 5px;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	tr {
		border: 1px solid #ccc;
	}

	td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 30% !important;
		height: 37px;
		vertical-align: top;
	}

	.territory-list td,
	.infoBox td {
		padding-left: 45% !important;
		text-align: left !important;
	}

	.publisher-list td,
	.fullBox td {
		padding-left: 55% !important;
		text-align: left !important;
	}

	.duplicate-list td {
		padding-left: 5% !important;
		text-align: left !important;
	}

	th,
	td {
		text-align: left !important;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		content: attr(data-label);
		font-weight: bold;
	}

	tr:nth-of-type(odd) td {
		border-color: white;
	}

	tr:nth-of-type(odd) td:last-of-type {
		border-color: #eee;
	}
}


#updateContent .list td {
	position: relative;
	width: 100%;
	height: 100%;
	padding-left: 0;
	padding-right: 0;
}

#updateContent .list tr.highlight td {
	background-color: #FFFB88 !important;
	background: none;
	z-index: 100;
}

.overlay {
	width: 60px;
	height: 40px;
	position: absolute;
	top: 440px;
	left: 440px;
	display: none;
	background-color: inherit;
}

#updateContent .list input {
	border: 0 transparent;
	background: transparent;
	border-color: inherit;
}

#updateContent input:hover,
#updateContent input:active,
#updateContent input:focus,
#updateContent .buttons a:hover,
#updateContent .buttons a:active,
#updateContent .buttons a:focus,
#updateContent select:hover {
	background-position: 0 -36px;
	border-color: #fbcb09;
	border-style: solid;
	background-color: #fdf5ce;
	/*#ffc6aa;*/
}

dt {
	text-decoration: underline;
	line-height: 1.5em;
}

dd {
	margin-bottom: 5px;
	font-style: italic;
}

.change,
.change input,
.change select {
	color: red;
	font-weight: bold !important;
}

.case-change,
.case-change input {
	color: #CCCC00;
	font-weight: bold !important;
}

.attention {
	content: url("../images/png/16x16/warning.png");
	padding-bottom: 0.3em;
}


tr.retain,
#wrapper table.plain tr.retain {
	background-color: #99FF99;
}

#direct-select {
	margin-top: 3px;
}