/*
Theme Name:     HSPH News
Theme URI:      http://www.hsph.harvard.edu/
Description:    Templates and content used only on news pages of HSPH
Author:         dmarshal HSPH WebTeam
Author URI:     http://www.hsph.harvard.edu/
Template:       hsph
Version:        2.0.0
Tags: one-column, two-columns, right-sidebar, responsive-layout, custom-menu, editor-style, featured-images, full-width-template
Text Domain: hsph_news
*/

.news-homepage .content-area {
	clear: both;
    display: block;
    margin: 0;
}

.news-homepage .site-main {
	width: auto;
}

.news-homepage .site-content {
	margin-top: 25px;
	border-top: 1px solid #efefef;
	padding-top: 20px;
}

.news-homepage .page-title {
	padding: 0 0 20px 0;
}

.news-homepage .landing-nav-menu {
	position: relative;
}

#news-home-top-container {
	margin-top: 30px;
}

#news-home-top-left-carousel {
	background-color: rgba(220, 216, 204, 0.4);
	padding: 20px 25px 20px 6%;
    margin: 0;
    margin-bottom: 15px;
}

#news-home-top-left-carousel .news-post-story {
	vertical-align: top;
	border-top: 1px solid #ccc;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
    margin: 40px 6%;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.2;
}

#news-home-top-left-carousel .article-post-date {
	margin-right: 10px;
}

.news-home-impact-sidebar aside {
	padding: 15px 5%;
    background-color: #efefef;
    text-align: center;
}

.news-home-impact-sidebar h2,
.news-home-impact-sidebar .textwidget {
	display: inline-block;
	margin-bottom: 0;
}

.news-home-impact-sidebar .textwidget {
	font-weight: 600;
	font-size: 16px;
	font-size: 1rem;
}

#news-home-top-container-left aside.widget,
#news-home-top-container-right aside.widget {
	padding: 0 20px;
}

#news-home-middle-container {
    margin: 0 6% 60px 6%;
}

#news-home-middle-container aside.widget {
    margin-bottom: 0;
    vertical-align: top;
    padding: 0;
}

.page-image-thumbnail {
	display: block;
	text-align: center;
}

#news-home-top-left-carousel .flex-control-nav {
	z-index: 600;
	width: 200px;
    position: relative;
    bottom: 0;
    float: right;
}

#news-home-top-left-carousel .flex-control-paging li a {
	background: #fff;
	background: rgba(255,255,255,0.9);
	box-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

#news-home-top-left-carousel .flex-control-paging li a:hover {
	background: #fff;
}

#news-home-top-left-carousel .flex-control-paging li a.flex-active {
	background: #A4192F;
}

#news-home-top-left-carousel .flex-direction-nav {
	display: none;
}

#news-home-top-left-carousel .more-featured-stories {
	padding-left: 6%;
}

.news-navigation {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    padding: 5px 10px 3px 10px;
}

.news-navigation .dropdown-toggle {
	top: 5px;
}

.news-navigation ul {
    -webkit-transition: max-height 0.5s ease-in-out, margin 0.5s ease-in-out;
    -moz-transition: max-height 0.5s ease-in-out, margin 0.5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out, margin 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out, margin 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
    text-indent: 0;
    margin: 0;
}

.news-navigation ul.toggled-on {
    max-height: 700px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.news-navigation li {
	font-size: 14px;
	font-size: 1rem;
	line-height: 19px;
	line-height: 1.35714285714286;
}
.news-navigation li a,
.news-navigation li {
	display: block;
	text-decoration: none;
}
.news-navigation li a {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 18px;
	line-height: 1.125rem;
	padding: 0 5px 10px 0;
	text-decoration: none;
	display: block;
}

.widget h2 {
	margin-bottom: 15px;
	padding-top: 18px;
	border-top: 3px solid #D1CDC6;
}

.news-home-impact-sidebar h2 {
	border-top: none;
	padding-top: 0;
	margin-bottom: 0;
	font-size: 18px;
	font-size: 1.125rem;
}

ul.article-list {
	margin-left: 0;
	font-size: 16px;
	font-size: 1rem;
	list-style-type: none;
}

li.homepage-article {
	margin-bottom: 15px;
}

li.homepage-article img {
	margin-bottom: 15px;
}

.news-post-story {
	margin-bottom: 10px;
}

.news-post-story .article-post-date {
	padding-right: 10px;
}

.news-post-thumbnail {
	margin-bottom: 15px;
}

.topic-block {
    display: block;
    clear: both;
    overflow: hidden;
    margin-bottom: 14px;
}

.topic-block ul {
	margin-left: 0;
}

.topic-list li {
    float: left;
    display: inline-block;
    margin: 0;
    list-style-type: none;
}

.topic-list li a {
	font-family: "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-size: 1rem;
    color: #008cc0;
    background-color: #ecede5;
    margin-right: 7px;
    margin-bottom: 10px;
    padding: 4px;
    padding-left: 11px;
    padding-right: 11px;
    display: block;
}

.topic-page .entry-content .entry-header {
	padding: 0;
}

.topic-page .entry-content .entry-header {
	margin: 0;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.topic-page .entry-content article {
	border-top: 1px solid #D2CFC8;
}

.topic-page .entry-content .entry-header .page-image-thumbnail {
	display: block;
}

.topic-page .entry-content .entry-header img.wp-post-image {
	margin-left: 0;
	margin-right: 16px;
	margin-right: 1rem;
	margin-bottom: 16px;
	margin-bottom: 1rem;
	float: left;
	max-width: 150px !important;
	max-height: 200px !important;
	height: auto !important;
	width: auto !important;
	display: block;
}

.topic-page .entry-content .entry-header .entry-title a {
	color: #008CC0;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Helvetica Neue", sans-serif;
}

.topic-page .entry-content .entry-header h2.entry-title {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.2px;
	font-weight: bold;
	padding: 0;
	margin-top: 14px;
	margin-bottom: 4px;
}

.topic-page .entry-content .entry-summary {
	font-size: 13px;
	font-size: 0.813rem;
	margin: 0 0 1.714285714rem;
	line-height: 1.6;
	padding-left: 0;
}

.topic-page ul.paging {
    display: block;
}

.topic-page ul.paging li {
    display: inline-block;
    margin: 0;
    list-style-type: none;
}

.topic-page ul.paging li .current {
    color: #000;
    padding: 7px 11px 7px 11px;
    margin-left: 1px;
    background-color: #C1C3B1;
	font-family: "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.71428571;
    display: inline-block;
}

.topic-page ul.paging li a {
    margin: 0px 0px 2px 0px;
    color: #008CC0;
    padding: 7px 11px 7px 11px;
    margin-left: 1px;
	font-family: "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.71428571;
    text-decoration: none;
}

.multimedia-types {
	margin-top: 0;
	margin-right: 20px;
}

.multimedia-types ul,
.multimedia-types ul li {
	display: inline-block;
	margin-bottom: 0;
}

.multimedia-types ul li {
	margin-right: 4px;
	margin-bottom: 10px;
}

.entry-format.graphic:before {
	content: '\f508';
}

.entry-format.slideshow:before {
	content: "\f473";
}

.entry-format.photo_gallery:before {
	content: "\f103";
}

.entry-format.video:before {
	content: "\f104";
}

.entry-format.podcast:before {
	content: "\f109";
}

.wf-active .topic-list li a,
.wf-active .topic-page .entry-content .entry-header .entry-title a,
.wf-active .topic-page ul.paging li a,
.wf-active .topic-page ul.paging li .current {
	font-family: 'proxima-nova', "Helvetica Neue", sans-serif;
}

.topic-page .assistive-text {
	position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
}

@media screen and (min-width: 550px) {
	#news-navigation ul li {
		float: left;
		width: 48%;
		display: block;
		margin: 0 5px 4px 0;
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 18px;
	}

	#news-home-top-left-carousel .news-post-story {
		display: inline-block;
		width: 42%;
		margin-left: 4%;
	}

	#news-home-top-left-carousel .news-post-thumbnail {
		max-width: 400px;
		width: 48%;
		display: inline-block;
	}

	#news-home-top-left-carousel .more-featured-stories {
		padding-left: 0;
	}

	#news-home-top-container-left,
	#news-home-top-container-right {
		display: inline-block;
		width: 47%;
		vertical-align: top;
	}

	#news-home-top-container-right {
		margin-left: 4%;
	}

	#news-home-middle-container aside.widget {
		width: 48%;
		display: inline-block;
		margin-right: 2%;
	}

	#news-home-middle-container {
		margin: 0 15px 60px 15px;
	}
}


@media screen and (min-width: 730px) {
	.news-navigation {
		border: none;
	}

	.news-navigation ul {
		-webkit-transition: none;
		   -moz-transition: none;
			 -o-transition: none;
				transition: none;
		max-height: none;
		overflow: visible;
		margin-bottom: 0;
		margin-top: 0;
	}

	.news-navigation ul.toggled-on {
		max-height: none;
		margin-bottom: 0;
		margin-top: 0;
	}

	.news-homepage .landing-nav-menu {
		display: none;
	}

	#news-navigation ul li {
		margin-bottom: 0;
		width: 32%;
	}
}


@media screen and (min-width: 850px) {

	#news-navigation-container {
		width: 63%;
		display: inline-block;
		float: right;
		margin: 10px 0 30px 0;
	}

	.page-title {
		display: inline-block;
	}

	.entry-header img.wp-post-image {
    	float: right;
    	clear: both;
    	display: block;
	}
}

@media screen and (min-width: 950px) {
	.news-homepage .content-area {
		clear: both;
		display: block;
		margin: 0 25px 0 6%;
	}

	#news-home-top-left-carousel {
		width: 33%;
		display: inline-block;
		vertical-align: top;
		margin: 0;
		margin-bottom: 15px;
		padding-left: 20px;
	}

	#news-home-top-right-container {
		width: 62%;
		display: inline-block;
		vertical-align: top;
		margin-left: 3%;
	}

	#news-home-top-left-carousel .news-post-story {
		display: block;
		width: auto;
	}

	#news-home-top-left-carousel .news-post-thumbnail {
		max-width: none;
		width: auto;
		display: block;
	}

	#news-home-middle-container aside.widget {
    	width: 21%;
    	margin-right: 4%;
	}

	#news-home-top-container-left aside.widget,
	#news-home-top-container-right aside.widget {
		padding: 10% 0;
	}

	#news-home-middle-container {
		margin: 0;
		margin-bottom: 60px;
	}

}

@media screen and (min-width: 1350px) {
	#news-navigation ul li {
		width: 23%;
	}
}
