/************************************************************************************
 CPASS Content Hacks
 *************************************************************************************/

/* img border fix */
img {
	border: 0;
	max-width: 100%;
}
/* Map Fix */
#Map iframe, #Directions .gadget, #Directions iframe {
	width: 100%;
}
#Map iframe.thumbborder {
padding:0;
}
/* Fancybox forms */
#fancyboxPortal input, 
#fancyboxPortal textarea {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
#loginform input.box {
	width: 100% !important;
}
#loginform .btn {
	padding: 0 15px !important;
	margin: 10px auto 0 !important;
	float: right !important;
	font-weight: inherit !important;
	font-size: inherit !important;
}
#loginform fieldset li {
	padding: 0 !important;
	border: 0 !important;
}
/* Normalizes Forms */
#Form table {
	margin: 0 auto;
	border: 0;
	max-width: 350px;
}
#Form input:not([type=submit]), #Form textarea {
	width: 100%;
}
form td {
	border: 0;
}
form td p {
	margin: 0;
	padding: 0;
}

/* Reduces caption font size */
.caption {
	font-size:inherit;
}

/* Tax Rates Page Mess */
#TaxRates {
	font-size: .9em
}
#TaxRates p, #TaxRates font, #TaxRates p font, #TaxRates p font font {
	font: 100%/160%;
	margin: 0;
	padding: 0;
}
#TaxRates table, #TaxRates td {
	border: 0;
}
#TaxRates td {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 7px 0;
	width: 50% !important;
}
#TaxRates table table, #TaxRates table table td {
	border: 0
}

/* Tax Due Dates */
#DueDates table {
	width: 100%;
}

/* Guides */
#Guides center table img {
	display: none;
}
#Guides table div img {
	display: block;
}
#Guides table img {
	display: none;
}
#Guides center table td {
	width: 50% !important;
}
#Guides center table td a, #Guides table a {
	font-size: .9em;
}
#fga, #toc {
	width: 100% !important;
}
#fga .cellcolor {
	padding: inherit;
	margin: inherit;
	background: none;
	color: #333333 !important;
}
#toc ul li {
	list-style-image: none !important;
}
#fga .tip, #fga .note, #fga .example, #fga .calculator, #fga .caution, #fga .rfg {
	background: none !important;
	padding-left: inherit !important;
	font-style: italic !important;
}
.backToTop {
	display: none;
}
img[name*=triangle] {
	display: none;
}
td.cellcolor p {
	margin: inherit !important;
	padding: inherit !important;
}
#Guides table td {
	width: auto;
	padding: 0 !important;
}
#Guides table td:first-child {
	width: 0;
}

/* Tax Publications */
#Publications {
	font-size: .9em;
}
#Publications p, #Publications font, #Publications p font, #Publications p font font {
	font: 100%/160%;
	margin: 0;
	padding: 0;
}
#Publications table {
	width: 100%;
}
#Publications table, #Publications td {
	border: 0;
}
#Publications td {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 7px 0;
}

/* Record Retention */
#RecordRetention table img {
	display: none;
}

/* Directions */
#Directions form table {
	width: 500px;
	padding-bottom: 20px;
}

/* Newsletter */
#table1 {
	font-size: .9em;
	width: 100%;
}
#table1 p, #table1 font, #table1 p font, #table1 p font font {
	font: 100%/160%;
	margin: 0;
	padding: 0;
}
#table1 table {
	width: 100%;
}
#table1 table, #table1 td {
	border: 0;
}
#table1 td {
	border-bottom: 1px solid #ccc;
	margin: 0;
}

/* Recommended Books */
#ListBooks table {
	width: 100% !important;
}

/* Hub Page Fixes */
.hubtab {
	padding: 5px 20px 0 !important;
	background: #fff;
	line-height: 160%;
}
#ListSub .thumbborder.thumbpad, #ServicesHub table td:first-child {
	display: none;
}
#ServicesHub p, #ServicesHub br.clearfloat {
	display: none;
}
#ServicesHub table {
	margin: 0 0 20px 0;
}
#ListSub table td {
	display: block;
	width: 100%;
	float: left;
}
#ListSub table td:nth-child(2) {
	display: none;
}

#Guides > table h1, #Guides > table + br + br {
	display: none;
}
#Guides {
	position: relative;
	top: -50px;
}

/* Browser Styling Resets */
input[type="button"], input[type="submit"] {-webkit-appearance: none;}
