/*
Theme Name: Budget Book
Author: Jeph Christoff for The Heritage Foundation
*/

body {
	background: #cbd7d5 url(images/bg.jpg) no-repeat center -100px;
	font-family: 'Gudea', sans-serif;
	font-size: 15px !important;
	line-height:22px;
	color: #333;
}
a, a:hover { color:#f9383a;}
.home a, .home a:hover {color:#274464;}
a:hover { text-decoration:underline;}
p, ul, ol {
	margin-bottom:1em;
	font-size: 15px !important;
	line-height:22px;
}
.mobile, .hide, .screen-reader-text { display:none;}
.row { max-width:1200px;}
.large-9 {width:75%;}
.large-8 {width: 66.66667%;}
.large-7 {width: 58.33333%;}
.large-6 {width:50%;}
.large-5 {width: 41.66667%;}
.large-4 {width: 33.33333%;}
.large-3 {width:25%;}
.width800 { max-width:800px; margin:0 auto;}
.width1000 { max-width:1000px; margin:0 auto;}
.alignright {
	float:right;
	margin-left:10px;
	margin-bottom:5px;
}
.alignleft {
	float:left;
	margin-right:10px;
	margin-bottom:5px;
}
.edit {margin-top: -39px;
width: 61px;
text-align: center;}

/* BUTTON */
.button {
	display:block;
	padding:10px;
	background:#fb5557;
	color: #fff !important;
	font-family: 'Gudea', sans-serif;
	border-radius:3px;
	margin:0;
	text-decoration:none !important;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.button:hover { background:#f94043;}
.button .fa-cloud-download {margin-right:4px;}
.button.grey {background:#2f3a3f;}
.button.grey:hover { background:#1c2327;}
.button.grey .fa-cloud-download { color:#fb5557;}


/* HEADER */
.header {
	background: #2e393f url(images/bg-header.png);
	min-height:62px;
}
.header img { max-width:607px;}
.header .logo {
	background-color: #159e95;
	background-image: url(images/bg-logo-cap.png), url(images/bg-logo.jpg);
	background-position: top right, top left;
	min-height:62px;
	padding-left:0;
	background-repeat: no-repeat;
}
.header .logo a {
	display: block;
	padding: 25px 30px;
}
.header .search-menu {padding: 0px 15px 0px 0px;}
.header .menu, .header #search { margin-top:8%}


/* CONTENT */
h1, h2, h3, h4, h5, h6 {
	margin:0;
	margin-bottom:.2em;
	font-family: 'Gudea', sans-serif;
}
.category h1 { margin-bottom:.5em}
h1 {
	font-size:37px;
	font-family: 'Source Serif Pro', serif;
	line-height:48px;
}
h1 span {
	color: #444;
	display: block;
	font-size: 20px;
	line-height: 23px;
}
h3 {
	font-size:28px;
	font-family: 'Source Serif Pro', serif;
	line-height:35px;
}
h4 {
	font-size:21px;
	font-family: 'Source Sans Pro', sans-serif;
	line-height:29px;
	font-weight:100;
}
.category h4 {
	font-size:15px;
	line-height:20px;
}
h5 {
	font-size:18px;
	line-height:24px;
}
.content { background:#fff;}
.home .content .large-8 {background:#f2f6f7;}
.home .content .large-8, .home .content .large-4,
.content .large-12 {padding:25px 30px;}
.content .experts-reading .large-12.reading {
	padding: 0px 82px
}
.content .experts-reading .large-9 { width: 80%;}
.content .experts-reading .large-3 { width: 20%;}
.content .experts-reading .experts.large-3 .large-6 { width: 100%;}
.content .experts-reading .experts .large-12 { padding-top:0; padding-bottom:0; padding-left:0;}
.intro img {max-width: 150px;}
.intro p { margin-bottom:.25em;}
.large-8 .intro p { margin-bottom:1em;}
.content .large-12.width800 {padding:25px 0px !important;}
.content .large-12.bio {padding:0;padding-left: .9375rem;}
.fa-circle {
	color: #e23d33;
	font-weight:bold !important;
	margin-right:5px;
	padding-left:1px;
}
.item ul { margin:0;}
.fa-ul { margin-left:25px !important;}
.item li { line-height:20px;}
.item .fa-li {top: 0.122857em !important;}
.fa-li {
	left: -1.342857em !important;
	width: 0.942857em !important;
	top: 0.322857em !important;
	text-align: left !important;
}
.top-links { margin-bottom:30px;}
.top-links a {
	display:block;
	float:left;
	padding:0 10px 0 0px;
}
.topic-header {
	font: bold 13px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #717174;
	border-bottom: 1px solid #c2c5c6;
}
.topic-header div {padding-bottom: 3px;}
.topic-header .savings {
	padding-left: 6px;
	border-left: 1px solid #c2c5c6;
}
.rec, .item-title {width: 61.33333%;}
.topic-header .savings, .item-savings {
	width: 38.66667%;
	position:relative;
}
.item {border-bottom: dashed 1px #d9ddde;}
.item.fourteen { margin-bottom:5px;}
.item-title, .item-savings .percentage {
	display:block;
	padding:5px 0;
}
.one .fa-circle {
	color: #007BA0;
}
.two .fa-circle {
	color: #E8783E;
}
.three .fa-circle {
	color: #F6BB52;
}
.four .fa-circle {
	color: #A18D94;
}
.five .fa-circle {
	color: #C1B84D;
}
.six .fa-circle {
	color: #8C9FA8;
}
.seven .fa-circle {
	color: #636078;
}
.eight .fa-circle {
	color: #00B1D2;
}
.nine .fa-circle {
	color: #E35F4F;
}
.ten .fa-circle {
	color: #9CAB7B;
}
.eleven .fa-circle {
	color: #589395;
}
.twelve .fa-circle {
	color: #D6AF69;
}
.thirteen .fa-circle {
	color: #656E76;
}
.fourteen .fa-circle {
	color: #009C62;
}
.item-savings .percentage:before {content: "$";}
.item a {
	display:block;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	text-decoration:none;
}
.item a:hover {background:rgba(255,255,255,.6);}
.item a:hover .item-title { text-decoration:underline;}
.item-savings .bar {
	max-width:72%;
	height: 32px !important;
	background: #129e95 url(images/bar.png);
	min-width:1px;
}
.eleven .bar { max-width:100%;}
.eleven .percentage {
	position: absolute;
	right: 5px;
	top: 1px;
	color: #fff !important;
}
.one .item-savings .bar {background-position: 0 0;}
.two .item-savings .bar {background-position: 0 -32px;}
.three .item-savings .bar {background-position: 0 -64px;}
.four .item-savings .bar {background-position: 0 -96px;}
.five .item-savings .bar {background-position: 0 -128px;}
.six .item-savings .bar {background-position: 0 -160px;}
.seven .item-savings .bar {background-position: 0 -192px;}
.eight .item-savings .bar {background-position: 0 -224px;}
.nine .item-savings .bar {background-position: 0 -256px;}
.ten .item-savings .bar {background-position: 0 -288px;}
.eleven .item-savings .bar {background-position: 0 -320px;}
.twelve .item-savings .bar {background-position: 0 -352px;}
.thirteen .item-savings .bar {background-position: 0 -384px;}
.fourteen .item-savings .bar {background-position: 0 -416px;}
.fifteen .item-savings .bar {background-position: 0 -448px;}

.item-savings .percentage {
	margin-left:5px;
	color: #333333;
}


/* CATEGORY */
.post {
	border-bottom:solid 1px #ccc;
	padding-bottom:15px;
	margin-bottom:15px;
	padding-left:71px;
}
.post:last-child {
	border-bottom:none;
	padding-bottom:0px;
	margin-bottom:0px;
}
.post strong {
	font-size:20px;
	font-weight:normal;
	display:block;
	margin-bottom:.3em;
}
.post p { margin-bottom:0;}

/* POST */
.nextprev {border-bottom:solid 1px #ccc; margin-bottom:35px;}
.nextprev.bottom {border-bottom:none; border-top:solid 1px #ccc; margin-bottom:0; padding-top:3px;}
.nextprev a, .nextprev i { color:#fb5557; font-size:14px;}
.nextprev .prev i { margin-right:4px;}
.nextprev .next i { margin-left:4px;}
.nextprev a span.option { font-weight:bold;}
.nextprev .prev { float:left; width: 49%;}
.nextprev .next { float:right; width: 49%; text-align:right;}
.option-title { display:block;}
.rec-number {
	background: #07998E;
	float: left;
	min-height: 61px;
	padding: 10px;
	color: #fff;
	font-size: 17px;
	margin-right: 10px;
	width: 61px;
	text-align: center;
	margin-left: -71px;
 	line-height: 61px;
}
.national-defense .rec-number,
.category-national-defense .rec-number {
	background: #007BA0;
}
.international-affairs .rec-number,
.category-international-affairs .rec-number {
	background: #E8783E;
}
.general-science-space-technology .rec-number,
.category-general-science-space-technology .rec-number {
	background: #F6BB52;
}
.energy .rec-number,
.category-energy .rec-number {
	background: #A18D94;
}
.natural-resources-environment .rec-number,
.category-natural-resources-environment .rec-number {
	background: #C1B84D;
}
.agriculture .rec-number,
.category-agriculture .rec-number {
	background: #8C9FA8;
}
.commerce-housing-credit .rec-number,
.category-commerce-housing-credit .rec-number {
	background: #636078;
}
.transportation .rec-number,
.category-transportation .rec-number {
	background: #00B1D2;
}
.community-regional-development .rec-number,
.category-community-regional-development .rec-number {
	background: #E35F4F;
}
.education-training-employment-social-services .rec-number,
.category-education-training-employment-social-services .rec-number {
	background: #9CAB7B;
}
.income-security .rec-number,
.category-income-security .rec-number {
	background: #589395;
}
.administration-of-justice .rec-number,
.category-administration-of-justice .rec-number {
	background: #D6AF69;
}
.general-government .rec-number,
.category-general-government .rec-number {background: #656E76;}
.allowances .rec-number,
.category-allowances .rec-number {
	background: #009C62;
}
.rec-number.multiple {
	min-height: 81px;
 	line-height: 81px;
	padding: 0px 10px;
}
.rec-number.multiple span { margin-top:-5px;}
.rec-number span {
	display: inline-block;
	vertical-align: middle;
  	line-height: normal;      
}
.rec-title { padding-left: 71px;}
.savings-table-wrap { text-align:center;}
.savings-table {
	display:inline-block;
	margin: 30px 0;
}
.savings-header {
	border-bottom:solid 1px #ccc;
	padding-bottom:3px;
	color:#333;
}
.savings-footer {
	padding-top: 3px;
}
.savings-table ul {
	margin:0;
	list-style:none;
}
.savings-table ul li {
	display: inline;
	float: left;
}
.savings-table .year {
	padding:6px;
	border-bottom:solid 1px #ccc;
	border-left:solid 1px #ccc;
	text-align:center;
	height:37px;
}
.savings-table .savings {
	padding:6px;
	text-align:center;
	border-bottom:solid 1px #ccc;
	border-left:solid 1px #ccc;
	color:#333;
}
span.numbers:before {content: "$";}
.savings-table li:first-child .year,
.savings-table li:first-child .savings { border-left:none;}
.reveal-modal .close-reveal-modal {
	font-weight:normal;
	text-decoration: none !important;
}
.reveal-modal .close-reveal-modal:hover {color:#333;}
.recommendation, .rationale {
	position:relative;
	padding-left:65px;
	margin-bottom:25px;
}
.recommendation { margin-top:-25px;}
.recommendation.no-savings-table { margin-top: 45px; }
.rationale { margin-bottom:0;}
.rationale .hide-sup { padding-bottom:1em;}
.rationale .hide-sup sup { display:none;}
.fa-check-circle, .fa-info-circle {
	font-size: 60px !important;
	position: absolute;
	left: 0;
	color:#fb5557;
	width:55px;
}
.single .endnotes { margin-left:-65px; clear:both;}
.endnotes, .contributor {
	border-top: dashed 1px #8c9791;
	padding:20px 65px;
}
.page .endnotes { padding:0; padding-top:20px; margin-top:20px;}
.contributor {
	background:#f2f6f7;
	border-bottom: dashed 1px #8c9791;
	clear:both;
}
.contributor .large-6 { display:none;}
.contributor .second { margin-top:30px;}
.contributor .second-photo, .contributor .second .first { display:none;}
.contributor .second .second-photo { display:block;}
.contributor h4 {padding-left: .9375rem;}
.contributor .large-3 {padding-right:0;}
.contributor img {
	border-radius: 100px;
	border: solid 3px #ccc;
}
.experts-reading {padding:20px 0;}
.experts-reading .profile { display:none;}
.experts {border-right: solid 1px #8c9791;}
.experts .large-6 {
	padding-right: 1.8375rem;
	padding-left:0;
	margin-bottom:20px;
}
.experts img {
	border-radius: 100px;
	border: solid 1px #ccc;
}
.experts img:hover { border-color: #999;}
.has-tip {
	border-bottom: none;
	cursor: default;
}
.tooltip {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	padding: .75rem;
	max-width: 200px;
	color: #8d8d8d;
	border:solid 1px #159e95;
	background: #fff;
	margin-left:30px;
	margin-top:-30px;
}
.tooltip span {
	display:block;
	color:#f9383a;
}
.tooltip.tip-top>.nub {border-color: #159e95 transparent transparent;}
.reading {padding-left:20px;}


/* TWEET BOX */
.tweet-box { margin-top:20px;}
.rationale .tweet-box { 
	width:265px;
	margin-top:0;
	margin-left:20px;
	margin-bottom:20px;
}
.tweet-box .icon {
	color: #FFF;
	background: #2D373C;
	padding: 10px;
	font-size:25px;
	float:left;
	margin-right:10px;
	pointer-events: none;
}
.tweet-box .link a {
	background: #E33B3A;
	display:block;
	padding: 10px;
	color: #FFF;
	text-decoration:none !important;
	height:45px;
	padding-top:11px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.tweet-box .link a:hover {background:#f94043;}
.tweet-box .quote {
	border: solid 1px #ccc;
	border-top: none;
	-webkit-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
	padding:20px 20px 30px;
}
.tweet-box .quote q {
	font-size: 24px;
	color: #2c363b;
	display:block;
	font-family: 'Source Serif Pro', serif;
	font-style: italic;
	line-height:35px;
	margin-bottom:7px;
}
.rationale .tweet-box .quote q {
	font-size:20px;
	line-height:28px;
}
.tweet-box .quote q:before, .tweet-box .quote q:after{content:''}
.tweet-box .quote cite {float:right;}
.tweet-box .twitter-icon {
	font-size: 20px;
	margin-top: -18px;
	margin-left: auto;
	margin-right: auto;
	width: 35px;
	color:#2a3439 !important;
}
.tweet-box .twitter-icon a {color:#2a3439 !important;}
.tweet-box .fa-twitter {
	border: solid 1px #ccc;
	border-radius: 100px;
	padding: 7px;
	width: 35px;
	height: 35px;
	padding-left: 8px;
	background: #fff;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.tweet-box a:hover .fa-twitter { border: solid 1px #2D373C;}


/* FOOTER */
.footer {
	background:#c1ccce;
	padding:15px;
	-webkit-box-shadow: 0 4px 2px -2px rgba(0,0,0,.35);
	box-shadow: 0 4px 2px -2px  rgba(0,0,0,.35);
	color: #666;
}
.footer .large-4 { text-align:center; width:223px; padding-left:0;}
.footer .large-5 { width:260px; padding-top:19px; padding-right:0;}
.footer p { margin:0;font-size: 13px !important;}


@media only screen and (max-width: 1252px) {
	.item-savings .bar {max-width:70%;}
	.eleven .item-savings .bar {max-width:100%;}
}
@media only screen and (max-width: 1204px) {
	.rec, .item-title {width: 61.33333%;}
	.topic-header .savings, .item-savings {width: 38.66667%;}
	.home .content .large-8 {width: 58.33333%;}
	.home .content .large-4 { width:41.66667%;}
}
@media only screen and (max-width: 1145px) {
	.rec, .item-title {width: 59.33333%;}
	.topic-header .savings, .item-savings {width: 40.66667%;}
}
@media only screen and (max-width: 1100px) {
	.rec, .item-title {width: 57.33333%;}
	.topic-header .savings, .item-savings {width: 42.66667%;}
	.content .large-12.width800 {padding:25px 30px !important;}
}
@media only screen and (max-width: 1055px) {
	.rec, .item-title {width: 55.33333%;}
	.topic-header .savings, .item-savings {width: 44.66667%;}
}
@media only screen and (max-width: 1018px) {
	.rec, .item-title {width: 53.33333%;}
	.topic-header .savings, .item-savings {width: 46.66667%;}
}
@media only screen and (max-width: 980px) {
	.rec, .item-title {width: 49%;}
	.topic-header .savings, .item-savings {width: 49%;}
	.topic-header {font-size:12px;}
}
@media only screen and (max-width: 925px) {
	.rec, .item-title {width: 47%;}
	.topic-header .savings, .item-savings {width: 52%;}
	.topic-header {font-size:12px;}
}
@media only screen and (max-width: 910px) {
	.rec, .item-title {width: 50%;}
	.topic-header .savings, .item-savings {width: 49%;}
	.item-savings .bar { display:none;}
	.eleven .percentage {
		position: relative;
		right: 0;
		top: 0;
		color: #333333 !important;
	}
}
@media only screen and (max-width: 815px) {
	.header .menu, .header #search { margin-top:7%}
}
@media only screen and (max-width: 770px) {
	.home .content .large-8 {width: 100%;}
	.home .content .large-4, .desktop, .intro img { display:none;}
	.mobile { display:block;}
	.contributor .second .second-photo {display: none;}
	.savings-table span.mobile { font-size:13px;}
	.header .large-7 {width: 83.33333%;}
	.header .large-5 {width: 16.66667%;}
	.header .menu { 
		float:none;
		margin:0 auto;
	}
	.header .menu { margin-top:25%;}
	.item-savings .bar { display:block;}
	.rationale .tweet-box { width:auto; margin-left:0;}
	.contributor .large-9 img { max-width:110px; margin-left:15px; margin-bottom:8px;}
	.contributor .large-9 {width:auto;}
	.logo.desktop { display:block;}
	.logo.mobile { display:none;}
	.savings .mobile { display:none;}
	.tooltip { display:none !important;}
	.eleven .percentage {
		position: absolute;
		right: 5px;
		top: 1px;
		color: #fff !important;
	}
	.home .content .large-8, .home .content .large-4, .content .large-12 {
		padding: 25px 20px;
	}
	.savings-table .year {
	padding:4px;
	height:33px;
	}
.savings-table .savings {
	padding:4px;
	}
}
@media only screen and (max-width: 715px) {
	.savings .mobile { display:block;}
	.savings-table { width: auto;}
	.savings-table ul li { width:50%;}
	.savings-table li:nth-child(even) .year, .savings-table li:nth-child(even) .savings {border-left:none;}
	.savings-table .year { background:#eee;}
	.savings-table li:first-child { display:none;}
}
@media only screen and (max-width: 630px) {
	.rec, .item-title {width: 50%;}
	.topic-header .savings, .item-savings {width: 49%;}
	.experts-reading .large-8, .experts-reading .large-4 {width: 100%;}
	.experts {
		border-right: none;
		margin-bottom:20px;
		padding-right: .9375rem;
	}
	.content .experts-reading .large-9 { width: 100%;}
	.content .experts-reading .large-3 { width: 100%;}
	.reading {padding-left: .9375rem;}
	.recommendation, .rationale {padding-left:0px;}
	.content .experts-reading .large-12 {padding: 0 20px}
	.fa-check-circle, .fa-info-circle { display:none !important;}
	.single .endnotes { padding:20px 0; margin:0;}
	.contributor { padding:20px;}
	/*.content .experts-reading .experts.large-3 .large-6, .experts .large-6 { width:25%;}*/
	.experts .large-6 a {
		display: block;
	}
	.experts .large-6 img {
		width: 125px;
		display: block;
		margin-right: 20px;
	}
	.experts .large-6 p {
		padding: 10px;
	}
	.experts .large-6 p span {
		display:block;
		color:#f9383a;
	}
	.sections ul li {
		width: auto;
		float: none;
		display: block;
		padding-right: 0px;
		padding-bottom: 0px;
	}
}
@media only screen and (max-width: 600px) {
	.header .menu { margin-top:20%;}
	.footer .large-4, .footer .large-5 {margin: 0 auto; float: none !important;}
}
@media only screen and (max-width:535px) {
	.item-savings .bar { display:none;}
	.contributor .large-6 {
		width:auto;
		margin-bottom:5px;
		float:none !important;
	}
	ul.half { width: auto; margin-bottom:0;}
	.rec-title, .post {padding-left: 60px;}
	.rec-number {
		width: 50px;
		margin-left: -60px;
		font-size:13px;
	}
	.eleven .percentage {
		position: relative;
		right: 0;
		top: 0;
		color: #333333 !important;
	}
	.savings-table li:last-child .savings {border-bottom: none;	}
	.savings-footer {border-top: solid 1px #ccc;}
}

@media only screen and (max-width:500px) {
	.header .menu { margin-top:18%}
	.logo.desktop { display:none;}
	.logo.mobile { display:block;}
}
@media only screen and (max-width: 420px) {
	.topic-header {font-size:11px;}
	.inner-wrap {padding: 0px;}
	.experts .large-6 { width:50%;}
	h1 {
		font-size:27px;
		line-height:33px;
	}
	
	h1 span {
		font-size: 16px;
		line-height: 19px;
	}
	h3 {
		font-size:24px;
		line-height:30px;
	}
	h4 {
		font-size:19px;
		line-height:27px;
	}
	.nextprev .option-title { display:none;}
	.topic-header .savings, .item-savings {width: 36%;}
	.rec, .item-title {width: 62%;}
	.content .large-12.width800 {padding:20px !important;}
	.header .large-7 {width: 78.33333%;}
	.header .logo {
		background-position: 172px top, left top;
		background-size: 114px 70px, 1000px 183px;
	}
	.header .logo a {padding: 17px 15px;}
	
}
