/* LAYOUT */
/* ----------------------------------------- */

.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }
.half-block-left {
	width: 48%;
	float: left;
	padding-right: 2%;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
.half-block-right {
	width: 48%;
	float: left;
	padding-left: 2px;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

body {
	width: 960px;
	margin: 0 auto;
}
#header {
	position: relative;
}
#primary-nav {
	margin-bottom: 3.67em;
}
#content {
	overflow: hidden;
}
.article {
	float: left;
	width: 630px;
}
.taxaid-notice {
	box-sizing: border-box;
	width: 100%;
	max-height: auto;
	padding: 0.5em 1.5em;
	background-color: #691E68;
	border-radius: 0.5em;
	margin-top: -25px;
	margin-bottom: 20px;
	color: #FFFFFF;
}
.notice-hidden {
	display: none;
}
.taxaid-notice .notice-close-button {
	float: right;
	border: 0 none;
	background: none;
	color: #FFFFFF;
	font-weight: bold;
	line-height: 1.47em;
	font-size: 1em;
	cursor: pointer;
}

/* Header styles */

#header {
	font-size: 12px;
	background: #691E68 url(../images/header-bg.png) left 40% repeat-x;
	color: #fff;
	border-style: solid;
	border-color: #691E68;
	border-width: 1px 1px 0;
}
	#header #logo {
		font-size: 2em;
		padding: 1em 1em 0 1em;
		font-weight: normal;
	}
		#header #logo a {
			display: block;
			width: 196px;
			height: 48px;
			text-indent: -9999px;
			background: url(../images/taxaid-logo.png) left top no-repeat;
			color: #fff;
		}
		#header .strapline {
			padding: 0.2em 0 0.7em 4.1em;
			color: #FFF;
			font-size: 1.4em;
		}
	#header #searchform {
		position: absolute;
		right: 2em;
		top: 2em;
		width: 46%;
		padding: 5px;
		text-align: right;
		font-weight: bold;
		background: #7F437E;
		background: rgba(255,255,255,0.16);
		-moz-border-radius: 0.3em;
		-webkit-border-radius: 0.3em;
		-khtml-border-radius: 0.3em;
		border-radius: 0.3em;
	}
		#header #searchform #s {
			width: 197px;
			height: 18px;
			margin: 0;
			padding: 4px 60px 4px 8px;
			border: none;
			background: url(../images/search-bg.png) left top no-repeat;
		}
	#jump {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		text-indent: -9999px;
	}
	#header #header-buttons {
		display: block;
		position: absolute;
		top: 32px;
		left: 240px;
		/* width: 100px;
		background-color: red; */
	}
	.twitter-follow-button {
		color: transparent;
		display: inline-block;
		vertical-align: middle;
	}
	.fb_iframe_widget {
		display: inline-block;
		vertical-align: middle;
	}
	.IN-widget {
		vertical-align: middle !important;
	}

	#primary-nav {
	font-size: 12px;
	background: #e2e2e2;
	color: #484848;
	border: solid #CDCDCD;
	border-width: 0 1px 1px;
	-moz-border-radius-bottomleft: 0.5em;
	-khtml-border-radius-bottomleft: 0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	-khtml-border-radius-bottomright: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}
	#primary-nav a {
		color: #2856A6;
		text-decoration: none;
	}
	#primary-nav .breadcrumb {
		padding: 0.5em 2em;
		white-space: nowrap;
		overflow: hidden;
		-o-text-overflow: ellipsis;
		text-overflow: ellipsis;
	}
	#primary-nav .utility {
		float: right;
		margin-right: 2em;
		border-left: 1px dotted #999;
	}
		#primary-nav .utility li {
			display: block;
			float: left;
			border-right: 1px dotted #999;
		}
		#primary-nav .utility a {
			display: block;
			padding: 0.5em 0.85em;
			color: #333;
			background: url(../images/utility-nav-bg.png) left 50% repeat-x;
		}
		#primary-nav .utility a:hover {
			color: #000;
			background: #fff;
		}

/* Logo on the right */
/*
.page-template-page-guide-php #header,
.page-template-page-information-php #header {
	position: absolute;
	top: 0;
	left: 50%;
	width: 958px;
	height: 8em;
	margin-left: -480px;
	margin-bottom: 6em;
	z-index: 80;
}
.page-template-page-guide-php #header #logo,
.page-template-page-information-php #header #logo {
	height: 4em;
	padding: 0;
}

.page-template-page-guide-php #header #logo a,
.page-template-page-information-php #header #logo a {
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: 180px;
	height: 4em;
	width: 299px;
	border-right: 1px solid #691E68;
	background-position: 50% 18px;
	z-index: 70;
}
.page-template-page-guide-php #logo-reverse a,
.page-template-page-information-php #logo-reverse a {
	display: block;
	position: fixed;
	top: 24px;
	left: 50%;
	margin-left: 200px;
	height: 92px;
	width: 280px;
	border-top: 10px solid #691E68;
	text-indent: -9999px;
	background: url(../images/taxaid-logo-reverse.png) 50% 20px no-repeat;
	z-index: 70;
}

.page-template-page-guide-php #header #searchform,
.page-template-page-information-php #header #searchform {
	right: auto;
	left: 2em;
}
.page-template-page-guide-php #primary-nav,
.page-template-page-information-php #primary-nav {
	position: absolute;
	width: 958px;
	top: 8.09em;
	z-index: 100;
}
.page-template-page-guide-php #content,
.page-template-page-information-php #content {
	margin-top: 12em;
}
*/
/**/

/* Footer styles */

.footer {
	position: relative;
	clear: both;
	margin-top: 2em;
	padding-top: 1.5em;
	padding-bottom: 3em;
	border-top: 3px solid #ccc;
}
	.footer .nav {
		height: 1em;
	}
	.footer .nav li {
		float: left;
		line-height: 1;
		margin-right: 1em;
		padding-right: 1em;
		border-right: 1px solid #ccc;
	}
	.footer .nav li:last-child {
		border-right: 0;
	}
	.footer p {
		clear: left;
		line-height: 1;
		margin-top: 0.8em;
		color: #999;
	}
	.footer-fr-logo {
		display: block;
		width: 150px;
		float: right;
		margin-top: -10px;
	}

/* Pigs */

.page-template-page-guide-index-php #content {
	background: url(../images/pigs/calculator-pig.jpg) right top no-repeat;
}
.search-results #content {
	background: url(../images/pigs/glasses-pig.jpg) right top no-repeat;
}
.single #content {
	background: url(../images/pigs/glasses-pig.jpg) right top no-repeat;
}


/* Guide index TOC style */

.index {
	margin-top: 2em;
	padding: 0;
}
	.index table {
		width: 100%;
		border-top: 3px solid #691e68;
	}
	.index tr {
		background: #f5f5f5;
		border-bottom: 1px dotted #ccc;
	}
	.index td.number {
		width: 1em;
		text-align: center;
		border-right: 1px dotted #ccc;
		color: #b5b5b5;
		font-size: 1.4em;
		font-weight: bold;
	}
	.index a {
		display: block;
		padding: 0.3em 0.5em;
		font-weight: bold;
		text-decoration: none;
		line-height: 1.3;
	}
	.index tr:hover, .index tr:hover a {
		background-color: #3d9f9b;
		color: #fff;
	}

/* Teasers */

.decision-tree-teaser {
	display: block;
	font-size: 0.867em;
	padding: 1em 0 1em 60px;
	border-top: 3px solid #ccc;
	border-bottom: 1px dotted #ccc;
	text-decoration: none;
	background: url(../images/decision-tree-icon.png) left 50% no-repeat;
}

/* Tips */

.article .tip {
	margin-top: 2em;
	padding: 0;
	border: 1px solid #ccc;
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	-khtml-border-radius: 0.4em;
	border-radius: 0.4em;
}
.js .article .tip {
	float: right;
	width: 42%;
	margin-left: 1.5em;
	margin-right: 1.2em;
	margin-bottom: 1em;
}

/* Glossary tooltips */

.article .glossary-term {
	display: inline-block;
	height: 1.3em;
	padding-right: 15px;
	text-decoration: none;
	color: #3a9895;
	border-bottom: 1px dotted #3a9895;
	background: url(../images/question-mark.png) right 0.3em no-repeat;
	
}
.article .glossary-term:hover {
	color: #000;
}
.tooltip {
	position: absolute;
	width: 250px;
	padding: 0;
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	-khtml-border-radius: 0.4em;
	border-radius: 0.4em;
	-moz-box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 10px rgba(0,0,0,0.5);	
}
.tooltip:before, .tooltip:after {
	content:"\00a0";
	display:block;
	position:absolute;
	width:0;
	height:0;
	border-style:solid;
}
.tooltip:before {
	z-index:10;
	bottom:-29px;
	left:50px;
	border-width:15px;
	border-color:#999 transparent transparent;
}
.tooltip:after {
	z-index:11;
	bottom:-27px;
	left:51px;
	border-width:14px;
	border-color:#fff transparent transparent;
}
.tooltip dt {
	padding: 0.3em 1.2em;
	background: #691E68;
	color: #fff;
	text-weight: bold;
	-moz-border-radius-topright: 0.4em;
	-webkit-border-top-right-radius: 0.4em;
	border-top-right-radius: 0.4em;
	-moz-border-radius-topleft: 0.4em;
	-webkit-border-top-left-radius: 0.4em;
	border-top-left-radius: 0.4em;
}
.tooltip dd {
	font-size: 0.867em;
	padding: 0.69em 1.38em;
	color: #222;
	background-color: #fff;
	border-style: solid;
	border-color: #999;
	border-width: 0 1px 1px;
	-moz-border-radius-bottomright: 0.4em;
	-webkit-border-bottom-right-radius: 0.4em;
	border-bottom-right-radius: 0.4em;
	-moz-border-radius-bottomleft: 0.4em;
	-webkit-border-bottom-left-radius: 0.4em;
	border-bottom-left-radius: 0.4em;
}

/* Action links */

.article .action {
	margin-top: 2em;
	margin-bottom: 2em;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: url(../images/double-arrowhead.png) 1.2em 50% no-repeat;
}
.article .action a {
	display: block;
	margin: 0;
	margin-left: 3em;
	padding: 0.8em 1.2em;
	border-left: 1px dotted #ccc;
	text-decoration: none;
	font-weight: bold;
}
.article .action a:hover {
	background: #3E87BD;
	color: #fff;
}

/* Related pages */

.related-pages {
	clear: left;
	width: 630px;
	margin: 2.57em 0;
	padding: 0;
	font-size: 0.93em;
	border-top: 3px solid #691e68;
}
	.related-pages h2 {
		font-size: 1.29em;
		margin: 0;
		padding: 0.5em 1em 0.4em;
		color: #691e68;
		border-bottom: 1px dotted #ccc;
	}
	.related-pages ol {
		margin: 0;
	}
	.related-pages ol>li {
		margin: 0;
		list-style: none;
		border-bottom: 1px dotted #ccc;
	
	}
	.related-pages a {
		display: block;
		padding: 0.5em 1.29em;
		background: url(../images/single-arrowhead-blue.png) right 50% no-repeat;
		text-decoration: none;
	}

/* Search form */

.search div {
	position: relative;
}
#s, #s-inner {
	width: 197px;
	height: 18px;
	margin: 0;
	padding: 4px 60px 4px 8px;
	border: none;
	background: url(../images/search-bg.png) left top no-repeat;
}
.search .submit {
	display: block;
	position: absolute;
	right: 2px;
	top: 2px;
	width: 53px;
	height: 22px;
	padding-top: 0;
	overflow: hidden;
	cursor: pointer;
	border: 0;
	color: #fff;
	text-align: center;
	background: url(../images/search-submit.png) left top no-repeat;
}
.search .submit:hover {
	background-position: left bottom;
}

/* Sidebar  (inner pages) */

.sidebar {
	float: right;
	width: 300px;
	border-top: 3px solid #691e68;
	padding-top: 5.1em;
	background: #fff url(../images/stripes.png);
}
	.sidebar .header, .sidebar .nav {
		background: #fff;
	}
	.sidebar h2 {
		font-size: 1.5em;
		font-weight: normal;
		padding: 0.5em 0;
		border-top: 1px solid #ccc;
	}
	.sidebar h2 a {
		color: #691e68;
		text-decoration: none;
	}
	.sidebar .nav ul {
		border-top: 1px solid #ccc;
	}
	.sidebar .nav li {
		font-size: 0.867em;
		padding: 0.6em 0;
		border-bottom: 1px dashed #ccc;
	}
	.sidebar .nav {
		line-height: 1.2;
	}
	.sidebar .nav li:last-child {
		border-bottom-style: solid;
	}
	.sidebar .nav li .number {
		display: block;
		float: left;
		width: 1em;
		color: #777;
	}
	.sidebar .nav a {
		display: block;
		margin-left: 0.39em;
		padding-right: 1.5em;
		text-decoration: none;
		color: #647AB9;
		background: url(../images/single-arrowhead-blue.png) right 50% no-repeat;
	}
	.sidebar .nav a:hover {
		color: #222;
	}
	.sidebar .nav .numbered a {
		margin-left: 1.5em;
	}
	.sidebar .nav li.current .number,
	.sidebar .nav li.current a,
	.sidebar .nav li.current_page_item .number,
	.sidebar .nav li.current_page_item a {
		color: #222;
	}
	.sidebar .nav .current a {
		background-image: url(../images/single-arrowhead-black.png);
	}

/* floating nav */
/*
.page-template-page-guide-php .sidebar,
.page-template-page-information-php .sidebar {
	position: fixed;
	float: none;
	width: 280px;
	left: 50%;
	margin-left: 200px;
	padding-top: 5.1em;
	border-top: 3px solid #691e68;
	background: #fff url(../images/stripes.png);
	z-index: 50;
}
*/
.page-template-page-guide-php .sidebar,
.page-template-page-information-php .sidebar {
	width: 280px;
}

/* Home page styles */

#main-stage {
	clear: left;
	width: 100%;
}
	#main-stage .teaser {
		float: left;
		width: 296px;
		margin-right: 30px;
		margin-bottom: 40px;
		font-size: 0.9em;
		background: #4c81a9;
		color: #222;
		text-decoration: none;
		border: 1px solid #d6d6d6;
		-moz-border-radius: 0.5em;
		-webkit-border-radius: 0.5em;
		-khtml-border-radius: 0.5em;
		border-radius: 0.5em;
	}
	#main-stage .teaser-content {
		background: #fff right bottom no-repeat;
		overflow: hidden;
		padding: 1.3em;
		-moz-border-radius-bottomleft: 0.4em;
		-khtml-border-radius-bottomleft: 0.4em;
		-webkit-border-bottom-left-radius: 0.4em;
		border-bottom-left-radius: 0.4em;
		-moz-border-radius-bottomright: 0.4em;
		-khtml-border-radius-bottomright: 0.4em;
		-webkit-border-bottom-right-radius: 0.4em;
		border-bottom-right-radius: 0.4em;
	}
	#main-stage .teaser-image {
		float: right;
	}
	#main-stage a:hover {
		background: #41a7a3;
	}
	#main-stage .teaser:last-child {
		margin-right: 0;
	}
	#main-stage .teaser h2 {
		font-size: 1.25em;
		font-weight: normal;
		padding: 0.8em 20px 0.8em 20px;
		margin: 0 20px 0 0;
		color: #fff;
		-moz-border-radius-topleft: 0.4em;
		-khtml-border-radius-topleft: 0.4em;
		-webkit-border-top-left-radius: 0.4em;
		border-top-left-radius: 0.4em;
		-moz-border-radius-topright: 0.4em;
		-khtml-border-radius-topright: 0.4em;
		-webkit-border-top-right-radius: 0.4em;
		border-top-right-radius: 0.4em;
		background-image: url(../images/arrow.png);
		background-repeat: no-repeat;
		background-position: center right;
		line-height: 1.1;
	}
	#main-stage .teaser p {
	}
	#main-stage .tax-debt p { background-image: url(../images/teaser-bg-tax-debt.png); }
	#main-stage .tax-returns p { background-image: url(../images/teaser-bg-tax-returns.png); }
	#main-stage .tax-credits p { background-image: url(../images/teaser-bg-tax-credits.png); }
	#main-stage .undeclared-income p { background-image: url(../images/teaser-bg-undeclared-income.png); }

#more {
	float: right;
	width: 300px;
	font-size: 0.93em;
}
	#more>div {
		margin-bottom: 40px;
		border-top: 3px solid #ccc;
		border-bottom: 1px dotted #ccc;
	}
	#more .nav {
		padding-bottom: 0.5em;
	}
	#more h2 {
		font-size: 1.4em;
		padding: 0.5em 0 0.4em;
		color: #444;
		line-height: 1.2;
		letter-spacing: -0.025em;
	}
	#more h2 a,
	#more h2 a:hover,
	#more h2 a:active {
		color: #444;
		text-decoration: none;
	}
	#more p {
		margin-bottom: 0.5em;
	}
	#more a.block-link,
	#more li {
		display: block;
		padding: 0.5em 1.2em 0.5em 0;
		border-top: 1px dotted #ccc;
		text-decoration: none;
		font-weight: bold;
		background: url(../images/single-arrowhead-blue.png) right 50% no-repeat;
		color: #2856a6;
	}
	#more .textwidget {
		font-weight: normal;
		color: #222;
	}
	#more .textwidget a {
		font-weight: bold;
		text-decoration: none;
	}
	#more a.block-link:hover {
		color: #222;
	}
	#info-nav p {
		margin: 0 0 5px;
	}
	#info-nav form {
		margin-bottom: 0.5em;
	}
	#info-nav input {
		border: 1px solid #3f7dab;
		color: #fff;
		background: #549cd0;
		-moz-border-radius: 2px; /* FF1+ */
		-webkit-border-radius: 2px; /* Saf3-4 */
		border-radius: 2px; /* Opera 10.5, IE 9, Saf5, Chrome */
		cursor: pointer;
		padding: 2px 3px 1px;
	}
	#info-nav input:hover {
		background: #41a7a3;
		border: 1px solid #39938f;
	}
	#info-nav select {
		width: 200px;
		padding: 2px 5px 2px 0;
	}
	.spotlight-link {
		text-decoration: none;
	}
	.spotlight-excerpt {
		display: block;
		color: #555;
		font-weight: normal;		
	}
	.spotlight-title {
		display: block;
	}
	.spotlight-meta {
		display: block;
		color: #555;
		font-weight: normal;
		font-size: 0.8em;
		font-style: italic;
	}

#updates, #donate, #about, #banner {
	clear: left;
	width: 630px;
	font-size: 0.93em;
	border-top: 3px solid #ccc;
	padding-bottom: 1em;
}
	#updates h2, #donate h2, #about h2 {
		font-size: 1.4em;
		padding: 0.5em 0 0.4em;
		color: #444;
		border-bottom: 1px dotted #ccc;
		letter-spacing: -0.025em;
		margin-bottom: 0.5em;
	}
	#updates li {
		padding: 0.5em 0;
		border-bottom: 1px dotted #ccc;
	
	}
	#updates a {
		font-weight: bold;
		text-decoration: none;
	}
	#updates>a {
		display: block;
		padding: 0.5em 1.2em 0.5em 0;
		border-bottom: 1px dotted #ccc;
		background: url(../images/single-arrowhead-blue.png) right 50% no-repeat;
	}
	#banner {
		padding-top: 1rem;
	}
	#banner img {
		max-width: 100%;
	}

#nav-tax img,
#nav-who img,
#nav-learning img {
	float: right;
	margin: 16px 0 0 5px;
}
#nav-tax img {
	margin: 30px 0 0 5px;
}

/* Search page styles */

.search .article .header {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 0;
}
	.search .article .header h1 {
		margin-left: 0;
		padding-top: 0.433em;
		border-left: 0;
		color: #222;
	}
#inner-searchform {
	padding: 1.5em 1em;
	border-top: 3px solid #ccc;
	background: url(../images/stripes.png) left top repeat;
	border-bottom: 1px solid #ccc;
}
	#inner-searchform div {
		width: 388px;
	}
	#inner-searchform label {
		display: none;
	}
	#s-inner {
		width: 320px;
		padding: 4px 60px 4px 8px;
		background: url(../images/search-inner-bg.png) left top no-repeat;
	}
.search-count {
	font-size: 1.267em;
	font-weight: bold;
	padding: 0.5em 0.79em;
	border-top: 3px solid #691E68;
	color: #222;
	margin: 40px 0 0 0;
}
.search .hentry {
	border-bottom: 1px dotted #ccc;
	padding: 0;
}
	.search .hentry a {
		display: block;
		padding: 0.5em 1.2em;
	}
	.search .hentry h2 {
		margin-top: 0;
	}
	.search .hentry .breadcrumbs a {
		display: inline;
	}
	.search .pagerbox {
		margin-top: 2em;
		text-align: center;
		font-size: 0.9em;
	}
	.pagerbox a {
		border: 1px solid #c4c4c4;
		background-color: #fff;
		display:-moz-inline-box;
		display: inline-block;
		font-weight: normal;
		color: #2856a6;
		padding: 1px 6px;
		margin: 2px 0 2px 2px;
		text-decoration: none;
	}
		
	.pagerbox a:hover, .pagerbox a:active, .pagerbox .current {
		border: 1px solid #186a67;
		display:-moz-inline-box;
		display: inline-block;
		font-weight: normal;
		color: #fff;
		background-color: #328784;
		padding: 1px 6px;
		margin: 2px 0 2px 2px;
	}
	
	.pagerbox a.next,
	.pagerbox a.prev,
	.pagerbox span.next,
	.pagerbox span.prev {
		border: none;
		background: none;
	}
	.pagerbox a.next:hover,
	.pagerbox a.prev:hover {
		color: #222;
	}
	.pagerbox span.next,
	.pagerbox span.prev {
		color: #555;
	}

/* News/update page */

.single .meta {
	font-size: 0.8em;
	padding: 1.5em 1.5em 0;
	border-top: 1px solid #ccc;
}


