table {
	width: 100%;
}

table.results tbody td,
table.results tfoot td,
table.results thead th {
	text-align: right;
}

table.results th[scope="row"] {
	font-family: AvenirNextLTCom-Regular, Arial, Helvetica, sans-serif;
}

table.results.row-separators tfoot.total + tbody:last-child tr:last-child th,
table.results.row-separators tfoot.total + tbody:last-child tr:last-child td {
	border-bottom-color: #E5E5E5;
}

table.results.row-separators tfoot.total th,
table.results.row-separators tfoot.total td {
	font-family: AvenirNextLTCom-Demi, Arial, Helvetica, sans-serif;
}

table.hr-bottom tfoot tr:last-child th,
table.hr-bottom tfoot tr:last-child td,
table.hr-bottom tbody:first-child:last-child tr:last-child th,
table.hr-bottom tbody:first-child:last-child tr:last-child td,
table.hr-bottom thead + tbody:last-child tr:last-child th,
table.hr-bottom thead + tbody:last-child tr:last-child td {
	border-bottom: 3px solid #E5E5E5;
}

/* Investing calc - the table structure comes from dinkytown */
table.row-separators tbody.thead tr:last-child th,
table.row-separators tbody.thead tr:last-child td {
	border-bottom-width: 3px;
}

.CaculatorTable tr.TableTopRow td {
	border-top: none;
	border-bottom-color: #666666;
}

/*** Responsive rules ***/
/* iPad portrait/medium breakpoint */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait),
       screen and (max-width: 768px) {
	.row-fluid [class*="span"] {
		width: 100%;
		margin-left: 0;
	}
}
