/*  
Theme Name: IPM - News
Theme URL: http://indianapublicmedia.org/
Description: Indiana Public Media News theme
Version: 1.0
Author: Indiana Public Media
Author URL: http://indianapublicmedia.org

*/

@import url('/wp-content/themes/ipm/style-program.css');


a {
	color:#660000;
	/* -webkit-transition: color 0.25s ease-out; */
}

a:hover {
	/*color: #4c8b69;*/
	color:#933;
}
#program-upper-navigation-links ul li a {
	color: #333;
}
#program-upper-navigation-links ul li a:hover {
	color:#555;
}

#recipe {
	background: #eee;
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 10px;
}

#recipe h3 {
	margin-top:0;
}

#print-recipe {
	text-align:right;
}

.header_bar_heavy {
	display:none;
}

.toptag, .toptag-alt {
	/*color: #aa9369 !important;
	border-color: #aa9369 !important; */
	color: #666 !important;
	border-color: #ccc !important;
}

.meta-columns h3, div.dsq-auth-header h3, div#dsq-new-post h3, div#dsq-comments-title h3 {
	color: #333;
	border-bottom: 5px solid #333;
	margin-bottom: 10px;
	padding-bottom: 2px;
	height: 25px;
}

div.rep-box {
	margin: 10px 0 20px 0;
	padding: 10px;
	background: #eee;
}

div.rep-box p {
	font-size: 16px;
	font-weight: normal;
	font-style:italic;
}

h4.small-date {
	color: #666 !important;
}

.program-box .author-details {
	/* background-color:#f1e7d7; */
	background-color: #fff;
	border: 1px solid #ccc;
	width: 264px;
}
.program-box .author-details img.author_thumb {
	height:50px;
	width:50px;
}

.program-single-header {
	border-top:0;
	padding-top: 15px;
}

.program-single-intro p {
background:#660000;
}

#program-upper-navigation {
}

#program-upper-navigation-links {
	top:80px;
	left:10px;
}
#program-upper-navigation-links ul li {
	font-size:12px; 
	margin-right: 12px;
}

div.program-box p.bottom-note {
	margin-bottom: 20px;
}

/* subheaders for boxes */

h3.program-heading, h1.page-title
{
	line-height: 18px;
	background:#660000;
	color:#FFF;
	padding: 8px 0 5px 8px;
}

h1.topic-title {
	font-size: 18px;
	
}

img.heading-feed-icon {
	width:20px;
	height:20px;
	float:right;
	position:relative;
	top:-1px;
	right:5px;
	padding-left:3px;
	}
a:hover img.heading-feed-icon {opacity:0.8;}

/* tab colour */

/* div.tabs ul li.ui-state-default {
	background: #649074;
}

div.tabs ul li.ui-state-default a {
	color: #fff;
}

div.tabs ul li.ui-state-active a {
	color: #649074;
} */

/* event box on single.php */

div.event-box {
	float:left;
	width: 150px;
	border: 1px solid #ccc;
	background: #eee;
	padding: 10px;
	margin: 2px 15px 15px 0;
}

div.event-box h3 {
	font-size: 15px !important;
	font-weight: bold !important;
	margin-top:0;
	margin-bottom: 10px !important;
	color: #999;
}

div.event-box hr {
	display: block;
	height: 0px !important;
	border:0;
	border-bottom: 1px solid #ccc !important;
	margin-bottom: 10px;
}

div.event-box p {
	font-size: 12px !important;
	line-height: 14px !important;
	margin-bottom: 10px !important;
}

/* home */

/*ul.headlines-list.with-micro li {
	height:auto !important;
	list-style: disc;
	margin-left: 20px;
	color: #666;
}*/
div.program-box p.bottom-note {margin-left:0; margin-bottom:0;}

.program-box ul.headlines-list.with-micro li.program-headline.no-thumb {height:auto;}

div.featured-story-content {margin-bottom:10px;}

h4.program-subheading {width:100%; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; padding:3px 0; margin-bottom:10px;clear:both;}
div.news-home div.program-lower-left, div.news-home div.program-lower-right {
	margin-top: 0;
}

div.program-panel h4 {
	margin-bottom: 5px;
}

div.program-panel h4 a {
	color: #666;
}
div.program-panel img {width:298px;  margin-bottom:0; border: 1px solid #cdcdcd;}

div.program-panel h3 {
	margin-top: 5px;
	font-weight:normal;
	font-size:12px;
	line-height:15px;
}

.toptag, .toptag-alt {
	display:none;
}

.newsstream .toptag {
	display:block;
	margin-bottom: 3px;
}

.toptag-alt.multiple {
	display:block;
	margin-top: 10px;
	border-bottom-color: #999 !important;
}

div.program-box h3.program-headline {
	margin-top:0;
}

/* category pages */

div.page-header {
	border-top: 0;
	padding-top:0;
}

/* sidebar */

.sidebar-subscribe img {
	width: 32px;
}

.sidebar-subscribe span {
	position:relative;
	bottom: 10px;
	font-weight: bold;
}

.sidebar-subscribe-item {
	float:left;
}

ul#more-category-stories.post-list {
	font-size: 14px;
	color: #666;
	list-style-type: disc;
	margin-left: 20px;
	line-height: 18px;
}

ul#more-category-stories.post-list li {
	margin-bottom: 6px;
}

.iconnum-7 {padding-right:0;}
.iconnum-7 img {width:36px; height:36px; position:relative; top:2px;}
.iconnum-7 a:hover img {opacity:0.8;}

/*----------flickr stuff-------------*/
#flickr_badge_uber_wrapper {margin:5px 0 0 5px; width:290px; height:270px;}
#flickr_badge_wrapper {padding:0;height: 270px;}
.flickr_badge_image {margin:0 19px 19px 0;float:left}
.flickr_badge_image img {border: 1px solid #999 !important;}
#flickr_badge_source {text-align:left; margin:0 10px 0 10px;}
#flickr_badge_icon {float:left; margin-right:5px;}


/* tabs formatting */

#program-sidebar-lower div ul.the-tabs {
	height: 24px;
}

#program-sidebar-lower div div.ui-tabs-panel {
	padding: 10px;
}

#program-sidebar-lower div div.ui-tabs-panel ul {
	width: 260px;
	font-size: 14px;
	line-height: 18px;
	list-style-type: disc;
	margin-left: 20px;
	color: #666;
}

#program-sidebar-lower div div.ui-tabs-panel ul li {
	margin-bottom: 6px;
}

/* breaking news*/

div.program-breaking.full-width {
	width: 918px;
	margin: 0 10px 20px 10px;
	background-color: #ffcccc;
	background-image: none;
}

div.program-breaking.full-width h4 {
	width: 928px;
	background-color: #600;
}

div.program-breaking h3.program-headline {
	margin-bottom: 2px;
}

/* front page news top box */

.program-threeacross-content {
	width: 960px;
	clear:both;
	margin-bottom: 15px;
}

.program-threeacross-content .program-threeacross-box {
	overflow:hidden;
}
.program-threeacross-content .program-threeacross-box h4.toptag {
	display:block;
	margin-bottom: 3px;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-main-image {
	width: 298px;
	height: 198px;
	overflow:hidden;
	border: 1px solid gray;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-main-image img {
	width: 100%;
	height:100%;
	object-fit:cover;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-story {
	margin: 10px 0;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-story h4.dateline {
	margin: 5px 0 5px;
	color: #666;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-story h3 {
	font-size: 23px;
	line-height: 27px;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-story .headline-container {
	min-height: 110px;
}

.program-threeacross-content .program-threeacross-box .program-threeacross-story p {
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 10px;
}

/* threeacross mini */

.program-threeacross-content .program-threeacross-box.threeacross-mini {
	background:#eee;
	margin-bottom:20px;
	height: 90px;
}

.program-threeacross-content .program-threeacross-box.threeacross-mini h4.toptag {
	display:none;
}

.program-threeacross-content .program-threeacross-box.threeacross-mini .program-threeacross-main-image {
	float:left;
	width:48%;
	max-height:90px;
	border:0;
}

.program-threeacross-content .program-threeacross-box.threeacross-mini .program-threeacross-story {
	float:right;
	width:47%;
	padding-right:2%;
}

.program-threeacross-content .program-threeacross-box.threeacross-mini .program-threeacross-story h3 {
	font-size:14px;
	line-height:16px;
}

.program-threeacross-content .program-threeacross-box.threeacross-mini .program-threeacross-story h4.dateline {
	display:none;
}


.program-post-toolbar ul li {
	font-size: 10px;
}

.program-post-toolbar {
	background: #eee;
	padding: 2px 6px 4px 6px;
	white-space: nowrap;
	border-radius: 6px;
}

.widestream .program-post-toolbar {
	margin-top: 10px;
}

/* front page news category stream */

.newsstream .program-stories {
	margin: 0 0 15px 0;
	width: 210px;
}

.newsstream .program-stories h3 {
	font-size: 14px;
	line-height: 18px;
	padding: 6px;
	margin-top:0;
	margin-bottom: 10px;
	color: #fff;
	background-color: #333;
}

.newsstream .program-stories h4.toptag {
	padding: 5px 6px;
	margin-bottom: 5px;
	font-weight: bold;
	letter-spacing:0;
	color: #fff !important;
	text-transform: none;
	background: #660000;
}

.newsstream .program-stories img.program-photo {
	width: 210px;
	border:0;
}

.newsstream .program-stories {

}

/* wide stream */

.widestream .program-box {
	border:0;
	background:none;
	margin-top:0;
	padding:0 10px 0 0;
}

.widestream .program-box p {
	font-size: 13px;
}

/* two-level navigation */

#program-upper-navigation {
	height: 140px;
}

#program-upper-navigation h1, #program-upper-navigation h2 {
	height: 85px;
	position:relative;
	z-index: 2;
}

#program-upper-navigation img#top-note {
	position:absolute;
	top:0;
	right: 0;
}

#program-upper-navigation img#top-note:hover {
	opacity: 0.8;
}

/* twitter */

.twtr-hd {
	display:none;
}

/* 2014 primary results box on politics page */

div#results-box {
	margin-top: 15px;
	background: #ddd;
	margin-bottom: 10px;
	padding: 10px;
}

div#results-box p {
	margin-bottom: 10px;
}

div#results-box .select-column {
	width: 33%;
	float:left;

}

div#results-box h3 {
	margin-bottom: 15px;
}

div#results-box h4 {
	margin-bottom: 5px;
}

/* wide feature; may move this to general css eventually */

div.wide-feature {
	margin: 0;
	width:100% !important;
}

div.wide-feature div.program-single-intro p {
	background:transparent;
	border:0;
	color:#fff;
	text-align:center;
	font-family:Lato;
}


div.wide-feature div.tabs {
	border:0;
}

div.wide-feature div#program-article {
	padding: 30px;
}

div.wide-feature h1.article-title {
	font-size: 36px;
	color:#fff;
	font-weight:300;
}

div.wide-feature div.program-single-header {
	position:relative;
	height: 300px;
	background-color:#333;
	background-size: 1280px 720px;
	background-repeat:no-repeat;
	background-attachment: fixed;
	background-position: center top;
}

div.wide-feature h3.byline, div.wide-feature h3.byline a {
	color:#fff;
}

.dark h1.article-title, .dark .program-single-intro p {
	color: #000 !important;
}

div.wide-feature div.three-across {
	clear:both;
}

div.wide-feature div.three-across div.item {
	float:left;
	width:27%;
	margin-left:3%;
	margin-right:3%;
}

div.wide-feature div.three-across div.item h3, div.wide-feature div.three-across div.item h4, div.wide-feature div.three-across div.item p {
	text-align:center;
	color:#666;
}

div.wide-feature div.three-across div.item h3 {
	margin-bottom:5px;
}

div.wide-feature div.three-across div.item h4 {
	color:#999;
}

div.wide-feature div.three-across div.item img {
	width: 100%;
	margin: 20px 0 0 0;
	border-radius: 200px;
}

div.wide-feature div.three-across div.item p a {
	border-bottom:0;
}

div.wide-feature div.three-across div.item p a:hover {
	opacity:0.9;
}

div.wide-feature .entry > p, div.wide-feature .entry > h3, div.wide-feature .entry > ul, div.wide-feature .entry > ol {
	padding: 0px 10% !important;
}

div.wide-feature .entry > p {
	font-size: 16px !important;
	font-weight: normal !important;
	line-height: 24px !important;
	margin-bottom: 16px !important;
}

div.wide-feature .entry > h3 {
	font-size: 20px !important;
	line-height: 24px !important;
}

div.wide-feature .entry > ul {
	margin-left: 120px;
	font-size: 16px;
}

div.wide-feature .entry .postimage-wrapper {
	width: 598px;
	margin: 0 auto;
}

div.wide-feature div.slidercontainer {
	margin-left:140px;
}

div.wide-feature div.wide-embed-left {
	float:left;
	width: 60%;
	margin-right: 30px;
}

div.wide-feature div.wide-embed-right {
	float:right;
	width: 60%;
	margin-left: 30px;
}

div.wide-feature div.wide-embed-left p.photo-caption, div.wide-feature div.wide-embed-right p.photo-caption {
	display:block;
	color:#666;
	line-height: 18px !important;
}

div.wide-feature div.simplePullQuote {
	width: 275px;
	margin: 15px;
}

div.wide-feature div.simplePullQuote p {
	font-size: 28px;
}

div.wide-feature .jp-wrapper {
	width: 96% !important;
	margin: 0 2%;
}

div.wide-feature h3.wide-feature-subheading {
	text-align:center;
	margin-top:30px;
	margin-bottom: 30px;
	font-size: 16px;
	text-transform: uppercase;
	font-family: Lato, sans-serif;
	color: #888;
}

div.wide-feature ul.wide-feature-nav {
	text-align: center;
	margin-left:0;
	margin-bottom: 50px;
	font-family:Lato;
	font-size: 17px !important;
	line-height: 2.0em;
}

div.wide-feature ul.wide-feature-nav li {
	display: inline;
	list-style-type:none;
	margin:0 18px;
}

/* 
div.wide-feature.full-embed .entry > p, div.wide-feature .entry > h3 {
	padding: 0px 0% !important;
}
*/

div.entry .alignleft {
	float:left;
	margin-right: 20px;
}

/* overriding dumb shit */

div.entry > p {
	font-weight: normal !important;
}

div.entry > p a {
	color: #660000 !important;
}

/* election 2016 */

table.gtable {
	width: 100%;
}

div.election-results hr {
	display:none;
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

div.election-results br {

}

div.election-results table {
	border-collapse:collapse;
	
}

div.election-results table tr td {
	padding: 8px 12px;
	font-size: 14px;
}

div.election-results table tr td.bti_resultcell {
	border: 1px solid #ddd;
}

div.election-results table tr td.bti_resultcell:first-child b:after {
	content: "✓";
}

div.election-results table tr td.bti_updatetime {
	font-size: 14px;
	color: #666;
	line-height: 18px;
	text-align: left;
	display:table-cell !important;
}

div.election-results table tr td.bti_tableheader {
	font-size: 26px;
	font-weight: bold;
	color: #bbb;
	font-family: Lato, sans-serif;
	border-bottom: 8px solid #660000;
	text-transform:lowercase;
}

div.election-results table tr td div.bti_racetitle b {
	font-size: 18px;
	color: #333;
	font-style:normal;
	font-family: Lato, sans-serif;
}

div.election-results table tr td div.bti_racetitle {
	color: #999;
	font-style: italic;
	line-height: 20px;
}

/* hide last column just in case */

div.election-results table.bti_resultstable tr td[align="center"]:last-child {
	display:none;
}

/* 2016 general election */

div#election2016-results-container {
	position:relative;
	width:100%;
	min-height:800px;
}

div#election2016-results-container iframe#election2016-map {
	position:absolute;
	top:0;
	left:0;
	width:55%; /* width 55% seems good */
	border:0px solid #ccc;
	z-index:2;
	overflow:hidden;

}

div#election2016-results-container iframe#election2016-chart {
	position:absolute;
	top:0;
	right:0;
	width:60%; /* width 60% seems good */
	border:0px solid #ccc;
	float:right;
	z-index:1;
	overflow:hidden;
}

/* feature story box / list */

div.news-feature-story-box {
	background: #e2e2e2;
	max-height: 350px;
	margin-top:0px;
	margin-bottom:30px;
}

div.news-feature-story-box div.news-feature-story-image {
	width:60%;
	max-height:350px;
	overflow:hidden;
	position:relative;
	float:left;
}
div.news-feature-story-box div.news-feature-story-image:before {
	content:'';
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	box-shadow: inset 0px -200px 83px -80px rgba(0,0,0,0.7);
}

div.news-feature-story-box div.news-feature-story-image img.program-photo {
	width:100%;
}

div.news-feature-story-box div.news-feature-story-image h3.program-headline {
	position: absolute;
	bottom:20px;
	left:20px;
	color:#fff;
	font-size:30px;
	line-height:34px;
	max-width:95%;
	font-family:Lato;
}

div.news-feature-story-box div.news-feature-story-list {
	width: 40%;
	float:right;
	padding-top:10px;
}

div.news-feature-story-box div.news-feature-story-list-item {
	margin: 0px 20px 0px 20px;
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #bbb;
}

div.news-feature-story-box div.news-feature-story-list-item h3.program-headline {
	font-size:16px;
	line-height:17px;
	font-family:Lato;
}

div.news-feature-story-box div.news-feature-story-list div.news-feature-story-list-item:last-child {
	border-bottom:0;
}

/* news multimedia shadowbox */

div.news-multimedia-shadowbox {
    width:100%;
    height:800px;
    background:#333;
    padding-top:10px;
    -webkit-box-shadow: inset 0px 200px 182px -122px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 200px 182px -122px rgba(0,0,0,1);
    box-shadow: inset 0px 200px 182px -122px rgba(0,0,0,1);
}

div.news-multimedia-shadowbox a {
    color: #ccc;   
}

div.news-multimedia-shadowbox a:hover {
    color: #fff;
}

div.news-multimedia-shadowbox h3.shadowbox-header {
    text-transform:uppercase;
    font-family:Lato;
    color:#ccc;
    padding: 10px;
    margin:0 0 10px 0;
    font-size:18px;
    background:#555;
}
div.program-threeacross-content h3.threeacross-header {
    display:none;
    text-transform:uppercase;
    font-family:Lato;
    color:#000;
    padding: 10px;
    margin:0 0 10px 0;
    font-size:18px;
    background:#ccc;
}


div.news-multimedia-shadowbox h3.program-headline {
    font-family:Lato;
}

div.news-social {
    height:200px;
}

div.news-social div.program-threeacross-box {
    background:#ccc;
    height:300px;
}