/*
Theme Name:     Gridlove Child
Theme URI:      http://mekshq.com
Description:    Styles for SBU News
Author:         Josh Palmeri, SBU
Author URI:     http://mekshq.com
Template:       gridlove
Version:        0.1.0
*/

/* 
 * TEMPLATE STYLES
 */

/* 
 * Import Styles
 */
/* Fonts */
@import url("https://fast.fonts.net/cssapi/ee71ef3e-a7f1-47dd-8ae1-4ae6bec02b30.css");
/* Faculty Expert cards */
@import url("https://www.stonybrook.edu/commcms/_resources/plugins/faculty-list/faculty-list.css");

/* Custom SBU Fonts */
body {
    color: #4b4b4b;
}

body,
body p,
.gridlove-main-nav a,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Effra W01' !important;
}

/* Custom Heading Styles */

.module-title h2 {
	position: relative;
	font-family: 'Museo Slab W01' !important;
	font-weight: 500;
	letter-spacing: 0;
	padding: 0 0 0 38px
}

.module-title h2:before {
	display: block;
	position: absolute;
	top: 4px;
	left: 0;
	content: " ";
	width: 25px;
	height: 25px;
	background: #900;
}

.sbu-custom-sidebar h3 {
    position: relative;
    font-family: 'Museo Slab W01' !important;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 20px;
    color: #000;
}

.sbu-custom-sidebar-new h3 {
    position: relative;
    font-family: 'Museo Slab W01' !important;
    font-weight: 300;
    letter-spacing: 0;
    font-size: 18px;
    margin-top: -5px;
    color: #FFF!important;
}

.sbu-custom-sidebar-new .newsfont {
	font-family: 'Effra'!important;
	font-weight: bold;
	font-size: 20px;
	color: #FFF;
}

.sbu-custom-sidebar-new .white-text {
	font-family: 'Effra'!important;
	font-weight: bold;
	font-size: 16px;
	color: #FFF!important;
    text-align: center;
}

.sbu-custom-sidebar-new {
	/*background-image: url('https://news.stonybrook.edu/wp-content/uploads/2020/03/red-rays-new.png');*/
	/*background-repeat: no-repeat;*/
	padding: 1px 23px 30px 23px;
    height: 250px;
    background-position: 0 0%;
    background-size: 100%;
    overflow: hidden;
}

.sbu-custom-sidebar .margin-top-30 {
    margin-top: 30px!important;
}

.sbu-custom-sidebar .widget li {
    padding: 0 0 10px;
}

.gridlove-posts .entry-title a {
    line-height: 1.1em;
}

.gridlove-post-a .box-inner-ellipsis {
    height: 74px;
    max-height: 74px;
}

.gridlove-single-layout-3 h1.entry-title {
    line-height: 1em;
}

/* Email Subscribe Widget */
.tnp-widget input.tnp-submit {
    border: 0 none;
    background: #900;
}

.tnp-widget .tnp-field-email label {
    display: none;
}

/* Overwrite default link animation on hover */

.gridlove_category_widget .gridlove-count-color li>a:hover,
.widget_archive li>a:hover,
.widget_categories li>a:hover,
.widget_meta a:hover {
    padding-left: 0;
    border-color: #900;
}

/* Top Nav Bar - Quick Links */

.gridlove-header-top {
    background-image: url('https://www.stonybrook.edu/commcms/_images/section-backgrounds/white-rays/SBU-News-for-Journalists-top-nav.jpg');
    background-size: cover;
}

.gridlove-header-top li {
    margin: 0;
}

.gridlove-header-top a {
    color: #fff;
    font-weight: 400;
    padding: 0 8px;
    border-radius: 20px;
    height: auto;
    margin: 0 1px;
    line-height: 22px;
    font-weight: 500;
    transition: all .2s ease-in-out;
}

.gridlove-header-top a:hover {
    box-shadow: 0 0 0 18px rgba(255,255,255,.1) inset;
}

.gridlove-header-top .gridlove-soc-menu li a {
    opacity: 1;
    background: transparent;
    border-radius: 50%;
    width: 27px;
    padding: 0;
    text-align: center;
    transition: all .2s ease-in-out;
}

.gridlove-header-top .gridlove-soc-menu li a:hover {
    box-shadow: 0 0 0 18px rgba(255,255,255,.1) inset;
}

/* Main Nav */

.gridlove-main-nav .sub-menu>li:hover>a {
    padding-left: 20px;
}

.widget_nav_menu li>a:hover {
    padding-left: 0;
}

.widget_nav_menu .sub-menu a {
    color: #5e5e5e;
    padding-left: 5px;
}

.widget_nav_menu .sub-menu a:hover {
    color: #900;
    padding-left: 5px;
}

@media only screen and (min-width: 1024px) {
    .gridlove-actions-button>span {
        border-radius: 50%;
        width: 42px;
    }
}

/* Breadcrumbs */
.gridlove-content .entry-header .gridlove-breadcrumbs a {
    text-decoration: none;
    color: #4b4b4b;
    transition: none;
}

.gridlove-content .entry-header .gridlove-breadcrumbs a:hover {
    text-decoration: underline;
    transition: none;
}

.single-post .entry-header .gridlove-breadcrumbs {
    display: none !important;
}

/* Hide categories */

.entry-category a.gridlove-cat, .gridlove-pill.gridlove-cat /*all gridlove cat pills*/ {
	display: none !important;
}

.sbu-homepage-featured-experts .entry-category a.gridlove-cat,
.sbu-homepage-featured-experts .gridlove-pill.gridlove-cat,
.sbu-for-journalists-featured-expert-and-itk-studios .entry-category a.gridlove-cat,
.sbu-for-journalists-featured-expert-and-itk-studios .gridlove-pill.gridlove-cat {
    display: inline-block !important;
}

.entry-category a.gridlove-cat-154, .gridlove-pill.gridlove-cat-154, /*academics*/
.entry-category a.gridlove-cat-398, .gridlove-pill.gridlove-cat-398, /*alumni*/
.entry-category a.gridlove-cat-78, .gridlove-pill.gridlove-cat-78, /*arts-&-entertainment*/
.entry-category a.gridlove-cat-84, .gridlove-pill.gridlove-cat-84, /*athletics*/
.entry-category a.gridlove-cat-86, .gridlove-pill.gridlove-cat-86, /*awards-and-honors*/
.entry-category a.gridlove-cat-87, .gridlove-pill.gridlove-cat-87, /*community*/
.entry-category a.gridlove-cat-1270, .gridlove-pill.gridlove-cat-1270, /*covid*/
.entry-category a.gridlove-cat-131, .gridlove-pill.gridlove-cat-131, /*diversity*/
.entry-category a.gridlove-cat-133, .gridlove-pill.gridlove-cat-133, /*entrepreneurship*/
.entry-category a.gridlove-cat-132, .gridlove-pill.gridlove-cat-132, /*sustainability*/
.entry-category a.gridlove-cat-77, .gridlove-pill.gridlove-cat-77, /*faculty/staff*/
.entry-category a.gridlove-cat-88, .gridlove-pill.gridlove-cat-88, /*advancement*/
.entry-category a.gridlove-cat-135, .gridlove-pill.gridlove-cat-135, /*global*/
.entry-category a.gridlove-cat-158, .gridlove-pill.gridlove-cat-158, /*graduate-school*/
.entry-category a.gridlove-cat-143, .gridlove-pill.gridlove-cat-143, /*wellness*/
.entry-category a.gridlove-cat-140, .gridlove-pill.gridlove-cat-140, /*humanities*/
.entry-category a.gridlove-cat-136, .gridlove-pill.gridlove-cat-136, /*leadership*/
.entry-category a.gridlove-cat-137, .gridlove-pill.gridlove-cat-137, /*long-island*/
.entry-category a.gridlove-cat-82, .gridlove-pill.gridlove-cat-82, /*medicine*/
.entry-category a.gridlove-cat-356, .gridlove-pill.gridlove-cat-356, /*general*/
.entry-category a.gridlove-cat-357, .gridlove-pill.gridlove-cat-357, /*medical*/
.entry-category a.gridlove-cat-361, .gridlove-pill.gridlove-cat-361, /*children*/
.entry-category a.gridlove-cat-370, .gridlove-pill.gridlove-cat-370, /*research-press*/
.entry-category a.gridlove-cat-358, .gridlove-pill.gridlove-cat-358, /*awards*/
.entry-category a.gridlove-cat-372, .gridlove-pill.gridlove-cat-372, /*events-press*/
.entry-category a.gridlove-cat-359, .gridlove-pill.gridlove-cat-359, /*advisories*/
.entry-category a.gridlove-cat-364, .gridlove-pill.gridlove-cat-364, /*news-brief*/
.entry-category a.gridlove-cat-79, .gridlove-pill.gridlove-cat-79, /*on-campus*/
.entry-category a.gridlove-cat-128, .gridlove-pill.gridlove-cat-128, /*president*/
.entry-category a.gridlove-cat-371, .gridlove-pill.gridlove-cat-371, /*research*/
.entry-category a.gridlove-cat-81, .gridlove-pill.gridlove-cat-81, /*sb-southampton*/
.entry-category a.gridlove-cat-138, .gridlove-pill.gridlove-cat-138, /*service*/
.entry-category a.gridlove-cat-141, .gridlove-pill.gridlove-cat-141, /*social-sciences*/
.entry-category a.gridlove-cat-83, .gridlove-pill.gridlove-cat-83, /*student-spotlight*/
.entry-category a.gridlove-cat-1, .gridlove-pill.gridlove-cat-1 /*university*/ {
	display: inline-block !important;
}

/* Section styles */

.gridlove-module {
    position: relative;
    padding-top: 30px;
}

a.gridlove-action-link {
    overflow: hidden;
}

a.sbu-view-all-link {
    position: absolute;
    top: 38px;
    right: 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

/*a.sbu-view-all-link:after {
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 1;
    font-size: 1em;
    padding: 0 0 0 5px;
    display: inline-block;
}*/

@media only screen and (min-width: 1024px) {
    /*a.sbu-view-all-link {
        font-size: 14px;
    }*/
}

/* Find Stories page = .page-id-2247 */

.page-id-2247 .widget_search,
.page-id-2247 .gridlove_category_widget .gridlove-count-color,
.page-id-2247 .widget_tag_cloud,
.page-id-2247 .widget_categories,
.page-id-68 .widget_search,
.page-id-68 .gridlove_category_widget .gridlove-count-color,
.page-id-68 .widget_tag_cloud,
.page-id-68 .widget_categories {
    padding: 0;
}

.page-id-2247 .gridlove-search-form,
.page-id-68 .gridlove-search-form {
    display: block;
    box-sizing: border-box;
}

/* clearfix */
.page-id-2247 .gridlove-search-form:after,
.page-id-68 .gridlove-search-form:after {
    content: "";
    display: table;
    clear: both;
}

.page-id-2247 .gridlove-search-form input,
.page-id-68 .gridlove-search-form input {
    display: inline-block;
    float: left;
    width: 60%;
    box-sizing: border-box;
    max-width: 520px;
}

.page-id-2247 .gridlove-search-form button,
.page-id-68 .gridlove-search-form button {
    display: inline-block;
    float: left;
    width: 35%;
    margin: 0 0 0 2%;
    box-sizing: border-box;
    max-width: 165px;
}

#custom_html-2,
#custom_html-3 {
    padding: 0;
}

#custom_html-2 h2.widgettitle {
    display: none;
}

#custom_html-3 h4.widget-title {
    padding: 20px 30px 0;
    margin: 0;
}

#custom_html-2 .widget_tag_cloud a,
#custom_html-3 .widget_tag_cloud a{
    border: 0 none;
}

@media only screen and (max-width: 1023px) {
    .mks_col .mks_one_half,
    .mks_col .mks_one_third,
    .mks_col .mks_one_quarter,
    .mks_col .mks_two_thirds {
        width: 100%;
        margin-left: 0;
        margin-bottom: 1em;
    }
}

@media only screen and (min-width: 1024px) {
    .mks_col .mks_one_half,
    .mks_col .mks_one_third,
    .mks_col .mks_one_quarter,
    .mks_col .mks_two_thirds {
        padding-right: 2em;
        padding-left: 0;
    }
}

/* Form elements */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea,
.gridlove-header-middle .gridlove-search-form input {
    border-color: rgba(94,94,94,0.4);
}

::-webkit-input-placeholder {
    color:rgba(0,0,0,.4);
}
::-moz-placeholder{
    color:rgba(0,0,0,.4);
}
:-ms-input-placeholder{
    color:rgba(0,0,0,.4);
}
:-moz-placeholder{
    color:rgba(0,0,0,.4);
}

/* Comment forms */

.comment-form label,
.wpcf7-form label {
    font-size: 15px;
    line-height: 1;
    margin-bottom: 6px;
}

textarea#comment:focus {
    box-shadow: 0 0 0 10000px rgba(19, 19, 19, 0.44);
    z-index: 999999999999;
    position: relative;
}

/* Category pills */

.entry-category a,
.gridlove-action-link,
.gridlove-pill {
    font-size: 11px;
    font-weight: 700;
}

.gridlove-posts .gridlove-post .entry-image {
    overflow: hidden;
}

.gridlove-single-layout-3 .entry-category a,
article.gridlove-post-a .entry-category a {
    color: #fff;
    background-color: #900;
}

.gridlove-single-layout-3 .entry-category a:hover {
    color: #fff;
    background-color: #900;
}

@media only screen and (min-width: 1024px) {

    article.gridlove-post-a .entry-category,
    article.gridlove-post-d .entry-category {
        opacity: 0;
    }

    article.gridlove-post-a:hover .entry-category,
    article.gridlove-post-d:hover .entry-category {
        opacity: 1;
        transition: all .2s;
    }
    
}

.gridlove_category_widget .gridlove-count-color .gridlove-count {
    width: 30px;
    padding: 2px 3px 0;
    height: 30px;
    top: -7px !important;
    font-size: 11px;
}

.archive.category .entry-category,
.archive.tag .entry-category {
    display: none !important;
}

/* Social Icons */

ul.mks_social_widget_ul .facebook_ico {
    background-color: #3b5998;
}

ul.mks_social_widget_ul .twitter_ico {
    background-color: #4ec2dc;
}

ul.mks_social_widget_ul .youtube_ico {
    background-color: #DF1F1C;
}

ul.mks_social_widget_ul .instagram_ico {
    background-color: #427097;
}

ul.mks_social_widget_ul .flickr_ico {
    background-color: #f90784;
}

ul.mks_social_widget_ul .pinterest_ico {
    background-color: #CB2528;
}

ul.mks_social_widget_ul .google_ico {
    background-color: #2d2d2d;
}

.gridlove-footer ul.mks_social_widget_ul li a {
    background: #d7d7d7;
}

.gridlove-footer ul.mks_social_widget_ul li a:before {
    color: #000;
}

.gridlove-footer ul.mks_social_widget_ul li:hover a {
    background: #fff;
    opacity: 1;
}

.gridlove-sidebar-action-wrapper ul.mks_social_widget_ul li a {
    transition: all .2s ease-in-out
}

.gridlove-sidebar-action-wrapper ul.mks_social_widget_ul li:hover a {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    box-shadow: 0 0 0 5px #e6e6e6;
}

/* Footer */

.gridlove-footer .widget_nav_menu li a,
.gridlove-footer .widget_pages li a {
    padding: 10px 0;
}

.gridlove-footer .widget_nav_menu .sub-menu a:hover,
.gridlove-footer .widget_nav_menu li>a:hover, .widget_pages li>a:hover {
    padding-left: 0;
}

.widget_nav_menu .sub-menu {
    background: transparent;
}

.gridlove-footer .menu-item-has-children.active > a,
.gridlove-footer .menu-item-has-children.active > span,
.gridlove-footer .widget_nav_menu .sub-menu a {
    color: #ddd;
}

a.footer-logo-link,
a.footer-logo-link:hover {
    text-decoration: none;
    border: 0 none;
}

/*
 * HOME PAGE
 * /
 
/* Home Page Hero */
.gridlove-cover-1 h2.entry-title.h1 {
    max-height: 200px;
    overflow: hidden;
    line-height: 0.975em;
    margin: 0 0 5px;
    -webkit-line-clamp: 5;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.gridlove-cover-1 h2.entry-title.h1 > a {
    padding: 0 0 10px;
}

.gridlove-cover-1 .entry-content p {
    font-size: 0.95em;
    line-height: 1.35em;
}

.gridlove-cover-area:hover .gridlove-hidden-overlay {
    opacity: .4;
}
 
/* SBU News Highlights with Sidebar Box */

/* Reorder stories for custom flexbox layout */
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(1) {
    order: 1;
}
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(2) {
    order: 5;
}
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(3) {
    order: 2;
}
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(4) {
    order: 3;
    display: none !important;
}
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(5) {
    order: 3;
}
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(6) {
    order: 4;
}

/* Style the callout box */
.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(2) {
	order: 5;
	max-width: 100%;
	flex: 1 0 100%;
}
.sbu-homepage-sidebar-container .row.gridlove-posts .gridlove-inject,
.sbu-homepage-news-highlights .row.gridlove-posts .gridlove-inject {
	padding: 40px 23px 30px 23px;
	height: auto;
}
.sbu-homepage-sidebar-container .row.gridlove-posts .gridlove-inject:before,
.sbu-homepage-news-highlights .row.gridlove-posts .gridlove-inject:before {
    /*content: "";*/
    height: 1px;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #000;
    /*background: url(https://www.stonybrook.edu/far-beyond/news/wp-content/uploads/2018/04/red-rays-full-1.png);*/
    background-position: 54%;
}

/* Custom Sidebar */

.sbu-homepage-sidebar-container .sbu-custom-sidebar h3,
.sbu-homepage-news-highlights .sbu-custom-sidebar h3 {
	margin: 0 0 15px;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar h3:not(:first-child),
.sbu-homepage-news-highlights .sbu-custom-sidebar h3:not(:first-child) {
	margin-top: 30px;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar form button,
.sbu-homepage-news-highlights .sbu-custom-sidebar form button {
	display: block;
	width: 100%;
	margin: 10px 0;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar form input,
.sbu-homepage-news-highlights .sbu-custom-sidebar form input {
	display: block;
	width: 100%;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget,
.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget {
	padding: 0;
	margin: 0;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a,
.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a {
	opacity: 1;
	width: 48px !important;
	height: 48px !important;
	font-size: 20px !important;
    transition: all .2s ease-in-out;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget li + li a,
.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget li + li a {
	margin: 0 4px;
}

.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a:hover,
.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a:focus
.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget li:hover a,
.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a:hover,
.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a:focus
.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget li:hover a {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    box-shadow: 0 0 0 5px #e6e6e6;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar--links .widget.widget_text,
.sbu-homepage-news-highlights .sbu-custom-sidebar--links .widget.widget_text {
	padding: 0;
	margin: 0;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar--links p,
.sbu-homepage-news-highlights .sbu-custom-sidebar--links p {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a,
.sbu-homepage-news-highlights .sbu-custom-sidebar--links a {
	font-size: 16px;
	color: #000;
	display: inline-block;
	margin: 0 18px 12px 0;
	padding: 2px 10px;
	border-radius: 20px;
	background: #e6e6e6;
	border: 0 none;
}

.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a:hover,
.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a:focus,
.sbu-homepage-news-highlights .sbu-custom-sidebar--links a:hover,
.sbu-homepage-news-highlights .sbu-custom-sidebar--links a:focus {
	background: #900;
	text-decoration: none;
	color: #fff;
}

.sbu-homepage-sidebar-container .gridlove-posts {
    position: relative;
}

/* Featured Video and Heard on Campus */

.sbu-homepage-featured-video-and-announcement .sbu-homepage-featured-video {
    margin-bottom: 50px;
}

.sbu-homepage-featured-video-and-announcement .module-title h2.widgettitle {
    display: block !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sbu-homepage-sidebar-container .widget,
.gridlove-module-layout-combo-sbu-custom .widget {
	padding: 0;
	margin-bottom: 0;
}

.sbu-homepage-sidebar-container .widget .widgettitle,
.gridlove-module-layout-combo .widget .widgettitle,
.gridlove-module-layout-combo-sbu-custom .widget .widgettitle {
	display: none !important;
}

.sbu-homepage-heard-on-campus {
	background: url(https://www.stonybrook.edu/far-beyond/news/wp-content/uploads/2018/04/red-rays-full-1.png);
    background-position: 54%;
    padding: 50px;
}

.sbu-homepage-heard-on-campus .widget.widget_text {
    font-size: 1.5em;
    line-height: 1.2em;
    color: #fff;
    margin: 0 0 10px;
}

.sbu-homepage-heard-on-campus .textwidget a,
.sbu-homepage-heard-on-campus .textwidget a:visited,
.sbu-homepage-heard-on-campus .textwidget a:hover {
    color: #fff;
    border-color: #fff;
    padding: 2px 0;
    margin: 5px 0;
    display: inline-block;
}
.sbu-homepage-heard-on-campus .textwidget a:hover {
    box-shadow: 0 0 0 18px rgba(0,0,0,.2) inset, 0 0 0 5px rgba(0,0,0,.2);
    border-radius: 20px;
    border-color:rgba(0,0,0,.2);
}

.sbu-homepage-heard-on-campus .textwidget a:after {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f105";
    padding: 0 0 0 10px;
}

/* SBU in the News */

.pt-cv-title > a {
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.pt-cv-wrapper .col-xs-12 {
    max-width: 100%;
}

/* Featured Experts */

.sbu-homepage-featured-experts .gridlove-post {
    height: 400px;
    line-height: 1.375;
}

.sbu-homepage-featured-experts .gridlove-post-b .entry-image img,
.sbu-homepage-featured-experts .gridlove-post-d .entry-image img {
    height: 400px;
}

.sbu-homepage-featured-experts .box-inner-custom-full-height {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.sbu-homepage-featured-experts .sbu-featured-grid-title,
.sbu-homepage-featured-experts .sbu-featured-grid-subtitle {
    padding-left: 10px;
}

.sbu-homepage-featured-experts .sbu-featured-grid-title {
    margin-bottom: 17px;
    line-height: 1em;
}

.sbu-homepage-featured-experts .sbu-featured-grid-title a,
.sbu-for-journalists-featured-expert .sbu-featured-grid-title a {
    color: #900;
}

.sbu-homepage-featured-experts .sbu-featured-grid-subtitle {
    margin: 0 0 8px;
}

.sbu-homepage-featured-experts .box-col-b {
    float: left;
    max-width: 43%;
    margin: 0 0 0 20px;
}

.sbu-homepage-featured-experts .entry-category {
    max-height: 186px;
    overflow: hidden;
}

@media only screen and (min-width: 580px) {
    .sbu-homepage-featured-experts .entry-category {
        max-height: 218px;
        overflow: hidden;
    }
}

.sbu-homepage-featured-experts .entry-category a {
    background: #f3f3f3;
    color: #333;
    margin: 2px;
    display: block;
    float: left;
}

.sbu-homepage-featured-experts .entry-category a:hover {
    background: #eee;
}

.view-profile-button {
    display: block;
    clear: both;
}

.view-profile-button a {
    display: block;
    float: left;
    height: auto;
}

/* Events */

.sbu-homepage-featured-events .gridlove-post {
    height: 340px;
}

.sbu-homepage-featured-events .gridlove-post-b .entry-image img,
.sbu-homepage-featured-events .gridlove-post-d .entry-image img {
    height: 340px;
}

.sbu-homepage-featured-events .entry-overlay-wrapper .entry-image:after,
.sbu-homepage-featured-events .gridlove-post-d .entry-image a:after {
    top: 55%;
    bottom: 0;
    height: auto;
}

.sbu-homepage-featured-events .entry-overlay,
.sbu-homepage-featured-events .gridlove-post-d .entry-overlay {
    height: 45%;
    top: 55%;
    overflow: hidden;
}

.sbu-homepage-featured-events .gridlove-post .box-inner-p {
    text-align: left;
    padding: 15px;
    top: 0;
    position: relative;
    float: left;
    display: block;
    bottom: auto;
    margin: 0;
     -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    width: 100%;
}

.sbu-homepage-featured-events h2.entry-title a {
    line-height: 1.05;
    font-size: 0.85em;
}

.sbu-homepage-featured-events .event-title .item {
    font-family: "Effra W01", Helvetica, sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.025rem;
    line-height: 1em;
    padding-right: 5px;
    display: inline-block;
    color: #fff;
}
.sbu-homepage-featured-events .eventDate {
    text-transform: uppercase;
    width: 66px;
    height: 70px;
    margin: 2px 15px 0px 0;
    float: left;
    background: #fff;
    color: #900;
    padding: 12px 0 0 0;
    transition: all .3s ease;
    font-family: "Museo Slab W01", "Effra W01", "Effra W01 Heavy", Helvetica, sans-serif;
    font-weight: 900;
    line-height: 26px;
    
    width: 27%;
    max-width: 65px;
    display: inline-block;
    margin: 0 3% 0 0;
}
.sbu-homepage-featured-events .event-title {
    float: right;
    display: inline-block;
    position: absolute;
    left: 0;
    padding: 7px 0 0 84px;
    right: 0;
    min-height: 67px;
    border-top: 2px solid transparent;
    top: 0px;
    
    width: 70%;
    float: left;
    display: inline-block;
}
.sbu-homepage-featured-events a:hover .event-title {
    border-color: #fff;
    background: rgba(0, 0, 0, 0.05);
}
.sbu-homepage-featured-events .eventDate span {
    display: block;
    text-align: center;
}
.sbu-homepage-featured-events .eventDate span.eventDate_day {
    font-size: 2rem;
}

.entry-overlay-alt {
    font-size: 1em;
    clear: both;
    height: 100%;
    position: relative;
    background-image: url(/news/wp-content/uploads/2018/05/sbu-news-grey-rays-box.jpg);
    background-position: 0 80%;
    background-size: 100%;
}

.sbu-homepage-featured-events .entry-overlay-alt h2.entry-title a {
    font-size: 0.95em;
    padding-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;  
}

.entry-overlay-alt .entry-title.h3 {
    font-size: 1em;
}

.entry-overlay-alt .eventDate_month {
    font-size: 1em;
}

.entry-overlay-alt .eventDate_day {
    font-size: 1em;
}

.sbu-homepage-featured-events .gridlove-post .entry-overlay-alt .box-inner-p {
    padding-bottom: 10px;
}

.sbu-homepage-featured-events .gridlove-post .entry-overlay-alt .box-inner-p + .box-inner-p {
    padding-top: 0;
}

.entry-overlay-alt a.sbu-view-all-link {
    display: inline-block;
    position: absolute;
    float: left;
    clear: both;
    top: auto;
    left: auto;
    right: 10px;
    bottom: 10px;
    float: none;
    margin: 0;
}


@media only screen and (min-width: 580px) {

    .entry-overlay-wrapper .entry-image:after,
    .gridlove-post-d .entry-image a:after {
        background: rgba(0,0,0,.25);
    }

    .gridlove-post-a:hover .entry-image a:after,
    .gridlove-post-d:hover .entry-image a:after {
        background: rgba(50,50,50,.35);
    }

    .sbu-homepage-featured-events .entry-overlay-wrapper .entry-image:after,
    .sbu-homepage-featured-events .gridlove-post-d .entry-image a:after {
        background: rgba(0,0,0,.45);
    }

    .sbu-homepage-featured-events .entry-overlay-wrapper .entry-image:hover:after,
    .sbu-homepage-featured-events .gridlove-post-d:hover .entry-image a:after {
        background: rgba(0,0,0,.6);
    }

    .gridlove-hidden-overlay {
        background: rgba(150,150,150,.45);
    }

    .gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:before {
        width: 60%;
    }

    .gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:after {
        width: 4%;
    }

}

@media (max-width: 579px){
    .gridlove-post-b:hover .entry-image a:after {
        background: rgba(0,0,0,.2);
    }
    .gridlove-search-form input[name="s"]{
        width: 100%;
    }
}

/* 
 * FOR JOURNALISTS PAGE
 */
 
/* Page Header */

.page-id-2523 .gridlove-site-header:after,
.page-id-2605 .gridlove-site-header:after,
.page-id-2596 .gridlove-site-header:after,
.page-id-2612 .gridlove-site-header:after,
.page-id-2484 .gridlove-site-header:after,
.page-id-2630 .gridlove-site-header:after,
.page-id-2549 .gridlove-site-header:after,
.page-id-2581 .gridlove-site-header:after,
.page-id-2587 .gridlove-site-header:after,
.page-id-2577 .gridlove-site-header:after,
.page-id-2584 .gridlove-site-header:after,
.is-postcat-newsroom .gridlove-site-header:after,
.is-postcat-press-release .gridlove-site-header:after,
.is-postcat-news-brief .gridlove-site-header:after,
.is-postcat-press-clip .gridlove-site-header:after,
.category-362 .gridlove-site-header:after, /*newsroom*/
.category-363 .gridlove-site-header:after, /*press-release*/
.category-356 .gridlove-site-header:after, /*general*/
.category-357 .gridlove-site-header:after, /*medical*/
.category-361 .gridlove-site-header:after, /*children*/
.category-370 .gridlove-site-header:after, /*research-press*/
.category-358 .gridlove-site-header:after, /*awards*/
.category-372 .gridlove-site-header:after, /*events-press*/
.category-359 .gridlove-site-header:after, /*advisories*/
.category-364 .gridlove-site-header:after, /*news-brief*/
.category-365 .gridlove-site-header:after, /*newsroom-featured*/
.category-366 .gridlove-site-header:after, /*newsroom-featured-press-story*/
.category-367 .gridlove-site-header:after, /*newsroom-featured-research-photo*/
.category-368 .gridlove-site-header:after /*newsroom-featured-research-story*/ {
    content: "Press Room";
    background: url('https://www.stonybrook.edu/commcms/_images/section-backgrounds/buildings/sean-pollock-203658-unsplash.jpg');
    background-size: 100%;
    background-position: 50% 0%;
    background-attachment: fixed;
    display: block;
    width: 100%;
    padding: 40px;
    text-align: center;
    font-size: 3em;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 13px rgba(0, 0, 0, 0.4);
}

.page-id-2523 .gridlove-site-header:after {
    background-size: 100%;
    background-position: 50% 0%;
    padding: 50px;
    font-size: 64px;
}

@media only screen and (max-width: 1023px) {
    .page-id-2523 .gridlove-header-responsive:after,
    .page-id-2605 .gridlove-header-responsive:after,
    .page-id-2596 .gridlove-header-responsive:after,
    .page-id-2612 .gridlove-header-responsive:after,
    .page-id-2484 .gridlove-header-responsive:after,
    .page-id-2630 .gridlove-header-responsive:after,
    .page-id-2549 .gridlove-header-responsive:after,
    .page-id-2581 .gridlove-header-responsive:after,
    .page-id-2587 .gridlove-header-responsive:after,
    .page-id-2577 .gridlove-header-responsive:after,
    .page-id-2584 .gridlove-header-responsive:after,
    .is-postcat-newsroom .gridlove-header-responsive:after,
    .is-postcat-press-release .gridlove-header-responsive:after,
    .is-postcat-news-brief .gridlove-header-responsive:after,
    .is-postcat-press-clip .gridlove-header-responsive:after {
        content: "Press Room";
        background: url('https://www.stonybrook.edu/commcms/_images/section-backgrounds/buildings/sean-pollock-203658-unsplash.jpg');
        background-size: 100%;
        background-position: 50% 0%;
        background-attachment: fixed;
        display: block;
        width: 100%;
        padding: 4px 20px;
        text-align: center;
        font-size: 28.8px;
        font-weight: 900;
        color: #fff;
        text-shadow: 0 0 13px rgba(0, 0, 0, 0.4);
        background-attachment: fixed;
        -webkit-box-shadow: 0 3px 5px 0 rgba(0,1,1,.1);
        box-shadow: 0 3px 5px 0 rgba(0,1,1,.1);
        transition: all .2s ease-in-out;
        overflow: hidden;

        opacity: 1;

        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        -o-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }

    .gridlove-header-sticky-on.page-id-2523 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2605 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2596 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2612 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2484 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2630 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2549 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2581 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2587 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2577 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.page-id-2584 .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.is-postcat-alumni .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.is-postcat-newsroom .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.is-postcat-press-release .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.is-postcat-news-brief .gridlove-header-responsive:after,
    .gridlove-header-sticky-on.is-postcat-press-clip .gridlove-header-responsive:after {
        opacity: 0;

        -webkit-transform: scaleY(0);
        -moz-transform: scaleY(0);
        -o-transform: scaleY(0);
        -ms-transform: scaleY(0);
        transform: scaleY(0);

        -webkit-transform-origin: 50% 0%;
        -moz-transform-origin: 50% 0%;
        -o-transform-origin: 50% 0%;
        -ms-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
    }

    .page-id-2523 .gridlove-site-content {
        margin-top: 25px;
    }
    
    .page-id-2605 .gridlove-site-content,
    .page-id-2596 .gridlove-site-content,
    .page-id-2612 .gridlove-site-content,
    .page-id-2484 .gridlove-site-content,
    .page-id-2630 .gridlove-site-content,
    .page-id-2549 .gridlove-site-content,
    .page-id-2581 .gridlove-site-content,
    .page-id-2587 .gridlove-site-content,
    .page-id-2577 .gridlove-site-content,
    .page-id-2584 .gridlove-site-content,
    .is-postcat-newsroom .gridlove-site-content,
    .is-postcat-press-release .gridlove-site-content,
    .is-postcat-news-brief .gridlove-site-content,
    .is-postcat-press-clip .gridlove-site-content {
        margin-top: 50px;
    }
}

/* topnav links */
.is-postcat-newsroom .gridlove-site-header .menu-item-2544 > a,
.is-postcat-press-release .gridlove-site-header .menu-item-2544 > a,
.is-postcat-news-brief .gridlove-site-header .menu-item-2544 > a,
.is-postcat-press-clip .gridlove-site-header .menu-item-2544 > a, /* Find Journalists link (desktop, on posts) */
.is-postcat-newsroom .gridlove-site-header .menu-item-2646 > a,
.is-postcat-press-release .gridlove-site-header .menu-item-2646 > a,
.is-postcat-news-brief .gridlove-site-header .menu-item-2646 > a,
.is-postcat-press-clip .gridlove-site-header .menu-item-2646 > a, /* Find Journalists > Press Room link (desktop, on posts) */
.is-postcat-newsroom .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.is-postcat-press-release .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.is-postcat-news-brief .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.is-postcat-press-clip .gridlove-sidebar-action-wrapper .menu-item-2544 > a, /* Find Journalists link (mobile, on posts) */
.is-postcat-newsroom .gridlove-sidebar-action-wrapper .menu-item-2646 > a,
.is-postcat-press-release .gridlove-sidebar-action-wrapper .menu-item-2646 > a,
.is-postcat-news-brief .gridlove-sidebar-action-wrapper .menu-item-2646 > a,
.is-postcat-press-clip .gridlove-sidebar-action-wrapper .menu-item-2646 > a, /* Find Journalists > Press Room link (mobile, on posts) */
.page-id-2605 .gridlove-site-header .menu-item-2544 > a, 
.page-id-2596 .gridlove-site-header .menu-item-2544 > a,
.page-id-2612 .gridlove-site-header .menu-item-2544 > a,
.page-id-2484 .gridlove-site-header .menu-item-2544 > a,
.page-id-2630 .gridlove-site-header .menu-item-2544 > a,
.page-id-2549 .gridlove-site-header .menu-item-2544 > a,
.page-id-2581 .gridlove-site-header .menu-item-2544 > a,
.page-id-2587 .gridlove-site-header .menu-item-2544 > a,
.page-id-2577 .gridlove-site-header .menu-item-2544 > a,
.page-id-2584 .gridlove-site-header .menu-item-2544 > a, /* Find Journalists link (desktop, on pages) */
.page-id-2605 .gridlove-sidebar-action-wrapper .menu-item-2544 > a, 
.page-id-2596 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2612 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2484 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2630 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2549 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2581 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2587 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2577 .gridlove-sidebar-action-wrapper .menu-item-2544 > a,
.page-id-2584 .gridlove-sidebar-action-wrapper .menu-item-2544 > a /* Find Journalists link (mobile, on pages) */
{
    color: #900;
}

.sbu-for-journalists-featured-expert .gridlove-post {
    overflow: hidden;
    min-height: 400px;
    margin-bottom: 80px;
}

.sbu-for-journalists-featured-expert-and-itk-studios .entry-image img {
    height: 400px;
}

.sbu-for-journalists-featured-expert-and-itk-studios .gridlove-post .entry-image a:after  {
    background: transparent;
}

.sbu-for-journalists-featured-expert-and-itk-studios .gridlove-post .entry-image:hover a:after  {
    background: rgba(0,0,0,.3);
}

@media (max-width: 579px) {
	.sbu-homepage-featured-experts .entry-sm-overlay .entry-content {
		display: block;
	}
	.sbu-homepage-featured-experts .gridlove-post-b .entry-image {
		width: 50%;
	}
	.sbu-homepage-featured-experts .entry-sm-overlay.box-col-b {
		max-width: 43%;
		margin: 0;
	}
	.sbu-homepage-featured-experts .entry-sm-overlay {
		position: relative;
		height: auto;
		width: auto;
		z-index: auto;
		top: auto;
		left: auto;
		pointer-events: auto;
		padding: 20px 20px;
	}
	.sbu-homepage-featured-experts .entry-sm-overlay .entry-meta a:hover, 
	.sbu-homepage-featured-experts .entry-sm-overlay .entry-title, 
	.sbu-homepage-featured-experts .entry-sm-overlay .entry-title a {
		color: #000;
	}
	
	.sbu-for-journalists-featured-expert .entry-sm-overlay {
        position: relative;
        height: auto;
        z-index: 3;
        top: auto;
        left: auto;
        pointer-events: auto;
        display: inline-block;
        float: left;
        width: 100%;
    }
    
    .sbu-for-journalists-featured-expert .entry-sm-overlay .entry-meta a:hover, 
    .sbu-for-journalists-featured-expert .entry-sm-overlay .entry-title, 
    .sbu-for-journalists-featured-expert .entry-sm-overlay .entry-title a {
        color: #000;
    }
    
    .sbu-for-journalists-featured-expert .entry-image {
        display: block;
    }
    
    .sbu-for-journalists-featured-expert .gridlove-post {
        display: block;
        float: left;
        clear: both;
        height: auto;
    }
}

.sbu-for-journalists-featured-expert-and-itk-studios .entry-image img {
    -o-object-position: 50% 10%;
    object-position: 50% 10%;
}

.sbu-for-journalists-featured-expert-and-itk-studios .expert-quote {
    font-size: 14px;
    margin: 20px 0 0;
    max-height: 133px;
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;  
    font-style: italic;
}

.sbu-for-journalists-featured-expert-and-itk-studios a.gridlove-button {
    color: #fff;
}

.sbu-for-journalists-featured-expert a.gridlove-cat {
    background: #eee;
    color: #000;
}

.sbu-for-journalists-featured-expert a.gridlove-cat:hover {
    background: #000;
    color: #fff;
}

.sbu-for-journalists-featured-expert h3 {
    margin-bottom: 8px;
}

.sbu-for-journalists-itk-studios .gridlove-post {
    height: auto;
}

.sbu-for-journalists-itk-studios h3 {
    margin: 0 0 10px;
}

.sbu-for-journalists-itk-studios h3 a {
    color: #000;
    text-decoration: none;
    border: 0 none;
}

.sbu-for-journalists-itk-studios h3 a:hover {
    color: #900;
    text-decoration: none;
    border: 0 none;
}

.sbu-for-journalists-itk-studios h4 {
    margin: 0 0 25px;
}

.sbu-journalists-press-releases {
    padding-top: 30px;
}


/* For Journalists Promo 2 */

.sbu-for-journalists-promo-2 .gridlove-posts > div:first-child {
    order: 3;
}

.sbu-for-journalists-promo-2 .gridlove-posts .gridlove-inject {
    height: auto;
}

/* Recent Tweets */
.sbu-homepage-sidebar-container .rotatingtweet .rtw_wide_icon,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_wide_icon {
	display: inline;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_wide_icon img,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_wide_icon img {
	width: 38px
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_wide_block,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_wide_block {
	padding-left: 0 !important;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_info,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_info {
	width: 100% !important;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_id,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_id {
	display: block !important;
	padding: 0 0 3px;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_id a,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_id a {
	color: #900;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_main,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_main {
	padding: 10px 0 0;
    float: left;
	display: block;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_main a,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_main a {
	color: #900;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_meta,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_meta {
	width: 100% !important;
	display: block;
	float: left;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_expand,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_expand {
	display: none !important;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_intents,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_intents {
	display: block !important;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_intents a,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_intents a {
	padding: 3px 5px;
	border-radius: 20px;
	transition:all .2s ease-in-out;
}

.sbu-homepage-sidebar-container .rotatingtweet .rtw_intents a:hover,
.sbu-for-journalists-promo-2 .rotatingtweet .rtw_intents a:hover {
	background: #e7e7e7;
}

#mks_social_widget-5 + h3 {
    margin-top: 10px;
}

/* For Journalists Press Releases */

.sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(6),
.sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(7),
.sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(8),
.sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(9) {
    display: none;
}

/* Research Photo */

.sbu-homepage-sidebar-container .featured-research-photo .widget .widgettitle {
    display: block !important;
    position: relative;
    font-family: 'Museo Slab W01' !important;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 20px;
    margin: 0;
}

.sbu-homepage-sidebar-container .featured-research-photo .widget .textwidget {
    display: none !important;
}

.featured-research-photo .pt-cv-wrapper img {
    max-height: 300px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.featured-research-photo a.gridlove-action-link {
    float: right;
    display: inline-block;
    margin: 0 0 10px;
    width: auto;
    clear: both;
}

.featured-research-photo h3,
.featured-research-photo-content,
.featured-research-photo a.gridlove-action-link {
    clear: both;
    float: left;
    display: inline-block;
}

.featured-research-photo .pt-cv-readmore:focus,
.featured-research-photo .pt-cv-readmore:hover {
    opacity: 1;
}

.featured-research-photo-content .pt-cv-edit-view {
    display: none;
}

/* Press Clips Archive Page */

.sbu-archive-page .pt-cv-pinmas {
    padding: 30px;
    margin-bottom: 20px;
}

.pt-cv-pinterest.pt-cv-shadow .pt-cv-pinmas:hover {
    -moz-box-shadow: 0 2px 5px rgba(202,202,202,.8);
    -webkit-box-shadow: 0 2px 5px rgba(202,202,202,.8);
    -khtml-box-shadow: 0 2px 5px rgba(202,202,202,.8);
    box-shadow: 0 2px 5px rgba(202,202,202,.8);
}

.sbu-archive-page .pt-cv-pinmas>:not(.pt-cv-href-thumbnail):not(.pt-cv-social-buttons):not(.pt-cv-specialp) {
    padding: 0;
    margin-bottom: 0!important;
}

.sbu-archive-page .pt-cv-pinmas h3 {
    font-size: 22px;
    line-height: 30px;
}

.sbu-archive-page .pt-cv-pinmas h3 a {
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.sbu-archive-page .pt-cv-content {
    margin-top: 10px;
}

.sbu-archive-page .pt-cv-meta-fields {
    margin-top: 4px;
}

/* Hide category pills on home pages */

.gridlove-post-b .box-inner-ellipsis,
.gridlove-post-c .box-inner-ellipsis,
.gridlove-post-d .box-inner-ellipsis,
.gridlove-post-b .box-inner-ellipsis > div,
.gridlove-post-c .box-inner-ellipsis > div,
.gridlove-post-d .box-inner-ellipsis > div {
    display: -webkit-box;
    display: -moz-box;
    display: box;

    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
}

.gridlove-post-b .box-inner-ellipsis .entry-category,
.gridlove-post-c .box-inner-ellipsis .entry-category,
.gridlove-post-d .box-inner-ellipsis .entry-category {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    box-ordinal-group: 2;
}

.gridlove-post-b .box-inner-ellipsis h2.entry-title.h3,
.gridlove-post-c .box-inner-ellipsis h2.entry-title.h3,
.gridlove-post-d .box-inner-ellipsis h2.entry-title.h3 {
    width: 100%;
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    box-ordinal-group: 1;
}

.gridlove-post-b .box-inner-ellipsis .entry-content,
.gridlove-post-c .box-inner-ellipsis .entry-content,
.gridlove-post-d .box-inner-ellipsis .entry-content {
    width: 100%;
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    box-ordinal-group: 3;
}

/*
 * ALUMNI
 */
 
.sbu-homepage-two-featured-with-custom .gridlove-posts .box-inner-ellipsis {
    height: 220px;
    max-height: 220px;
    overflow: hidden;
}

.sbu-homepage-two-featured-with-custom .gridlove-posts .box-inner-ptbr {
    width: 100%;
}
 
.sbu-homepage-two-featured-with-custom .gridlove-posts > div:nth-child(3) {
    width: 100%;
    max-width: 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

ul.gridlove-full-color li:nth-child(odd) > a {
    background: #a0b0c1;
}
ul.gridlove-full-color li:nth-child(even) > a {
    background: #264a67;
}

.partners-logo-container img {
    padding: 5px 80px;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.grayscale-to-color-hover {
    -webkit-filter: grayscale(95%);
    -moz-filter: grayscale(95%);
    -o-filter: grayscale(95%);
    filter: grayscale(100%);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.grayscale-to-color-hover:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}

/*
 * SINGLE POST PAGE
 */
 
.gridlove-single-layout-3 .entry-image img {
    width: 100%;
}

.gridlove-single-layout-3 > article.post .entry-image {
    display: none !important;
}

.gridlove-single-layout-3 > article.post .entry-image + .box-inner-p-bigger {
    padding-top: 0;
}

article.post .entry-tags a {
    background: #900;
    color: #fff;
    font-weight: 500;
}

.is-postcat-newsroom-featured-research-photo .meta-item.meta-rtime,
.archive.category .category-newsroom-featured-research-photo .meta-item.meta-rtime {
    display: none;
}

/* captions */
.gallery-caption, .wp-caption-text {
    display: block;
    position: relative;
    background: #f7f7f7;
    color: #000;
    font-size: 14px;
    padding: 10px 15px;
    top: auto;
    left: auto;
}

/* Tags label */
article.post .entry-tags:before {
    content: "TAGS:";
    font-weight: bold;
    font-size:  12px;
}

/* Share Buttons */

.gridlove-share-wrapper .gridlove-share {
    position: relative;
    padding-top: 30px;
}
.gridlove-share-wrapper .gridlove-share:before {
    content: "Share:";
    font-size: 12px;
    position: absolute;
    top: 8px;
}

/* Related Posts and Latest Stories */

.gridlove-posts-widget.gridlove-widget-slider .entry-image img {
    width: 100%;
}

.gridlove-related h2.entry-title.h3 {
    line-height: 1.15em;
}

/* 
 * MEDIA QUERIES 
 */

@media only screen and (min-width: 580px) {
    .sbu-for-journalists-promo-2 .format-video .entry-image {
        position: relative;
    }
    .sbu-for-journalists-promo-2 .format-video .entry-image:after {
        content: "\f144";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        z-index: 1;
        font-size: 4em;
        display: inline-block;
        position: absolute;
        top: 38%;
        left: 0;
        right: 0;
        text-align: center;
        color: #000;
    }
}

@media only screen and (max-width: 1023px) {
    .sbu-journalists-press-releases-2 .row.gridlove-posts > div:nth-child(3) {
    	order: 5;
    	max-width: 100%;
    	flex: 1 0 100%;
    }
    
    .featured-research-photo .pt-cv-wrapper img {
        max-height: 600px;
    }

   .sbu-custom-sidebar-new h3 {
        color: #000!important;
        text-align: center!important;
   }

   .sbu-custom-sidebar-new .white-text {
        color:#000!important;
   }

   .sbu-custom-sidebar-new .newsfont {
        color:#000!important;
   }
}

@media only screen and (min-width: 1024px) {
	.sbu-homepage-news-highlights .row.gridlove-posts {
		position: relative;
	}
	.sbu-homepage-news-highlights .row.gridlove-posts > div:nth-child(2) {
		order: 5;
		flex: none;
    	max-width: 25%;
    	position: absolute;
    	top: 0;
    	right: 0;
	}
	/*.sbu-homepage-sidebar-container .row.gridlove-posts .gridlove-inject,*/
	.sbu-homepage-news-highlights .row.gridlove-posts .gridlove-inject {
		padding: 20px 23px 30px 23px;
    	height: 630px;
    	background-image: url('https://news.stonybrook.edu/wp-content/uploads/2020/03/news-subscribe-box-540x1266px.png');
        background-position: 0 0%;
        background-size: 100%;
        overflow: hidden;
	}
	
	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a,
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a {
		margin: 0;
		background: transparent;
		width: 30px !important;
		height: 30px !important;
		font-size: 16px !important;
	}

	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a:before,
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a:before {
		color: #000;
	}

	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget li + li a,
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget li + li a {
		padding: 0;
		margin: 0 0 5px 0px;
	}

	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a:hover,
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a:focus,
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget li:hover a,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a:hover,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget a:focus,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar .widget.mks_social_widget li:hover a {
		background: #e6e6e6;
		color: #000;
		opacity: 1;
	}
	
    .sbu-homepage-news-highlights .sbu-custom-sidebar--links p,
    .sbu-homepage-sidebar-container .sbu-custom-sidebar--links p {
        display: block;
    }
    
	.sbu-homepage-news-highlights .sbu-custom-sidebar--links a,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a {
	    display: block;
	    float: left;
	    clear: both;
		font-size: 14px;
		margin: 0 0 12px -10px;
		background: transparent;
    	transition: all .2s ease-in-out;
    	color: #000;
	}

	.sbu-homepage-news-highlights .sbu-custom-sidebar--links a:hover,
	.sbu-homepage-news-highlights .sbu-custom-sidebar--links a:focus,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a:hover,
	.sbu-homepage-sidebar-container .sbu-custom-sidebar--links a:focus {
		background: #e6e6e6;
    	color: #000;
	}
	
	.sbu-homepage-featured-video-and-announcement .sbu-homepage-featured-video {
        margin-bottom: 0;
    }
	
	.sbu-homepage-heard-on-campus {
		height: 87.2%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		overflow: auto;
		padding: 50px 50px 70px;
	}
	
	.sbu-for-journalists-promo .row.gridlove-posts .gridlove-inject {
        height: 1014px;
    	background-image: url('/news/wp-content/uploads/2018/05/sbu-news-grey-rays-box-tall.jpg');
        background-position: 0 0%;
        background-size: 139%;
        overflow: hidden;
    }

    .sbu-for-journalists-featured-expert-and-itk-studios .gridlove-post,
    .sbu-for-journalists-featured-expert-and-itk-studios .entry-image img {
        min-height: 450px;
    }

    .sbu-for-journalists-featured-expert-and-itk-studios .gridlove-post {
        margin-bottom: 0;
    }
    
    .sbu-for-journalists-promo-2 .gridlove-posts > div:first-child {
        width: 25%;
        max-width: 25%;
        float: right;
        right: 0;
        position: absolute;
    }

    .sbu-for-journalists-promo-2 .gridlove-posts > div:nth-child(2),
    .sbu-for-journalists-promo-2 .gridlove-posts > div:nth-child(3) {
        width: 75%;
        max-width: 75%;
    }

    /*.sbu-for-journalists-promo-2 .gridlove-post-b .box-inner-ellipsis .entry-content {
    	display: none;
    }*/

    .sbu-journalists-press-releases-2 .module-actions {
        right: 400px;
        position: absolute;
    }
    
    .sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(2) {
        margin-right: 15px;
    }
    .sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(5) {    
        position: absolute;
        right: 0;
    }
    .sbu-journalists-press-releases-2 .gridlove-posts > div:nth-child(4) {
        margin-right: 15px;
    }
    
    .sbu-homepage-sidebar-container .rotatingtweets,
    .sbu-for-journalists-promo-2 .rotatingtweets {
        max-height: 220px;
        overflow: hidden;
    }
    
    .sbu-homepage-two-featured-with-custom .col-lg-12 {
        max-width: 38%;
    }   

    .sbu-homepage-two-featured-with-custom .entry-image {
        max-width: 46%;
    }
    
    .sbu-homepage-two-featured-with-custom .gridlove-posts .box-inner-ellipsis {
        height: 300px;
        max-height: 300px;
        overflow: hidden;
    }

    .sbu-homepage-two-featured-with-custom .gridlove-posts > div:nth-child(3) {
        max-width: 24%;
    }

    .sbu-homepage-two-featured-with-custom .gridlove-post,
    .sbu-homepage-two-featured-with-custom .entry-image img {
        height: 400px;
    }

    .sbu-homepage-two-featured-with-custom .row.gridlove-posts .gridlove-inject {
        height: 400px;
    }

}

@media only screen and (min-width: 1230px) {
	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget li + li a {
		margin: 0 0 5px 6px;
	}

	.sbu-homepage-news-highlights .sbu-custom-sidebar .widget.mks_social_widget a {
		width: 35px !important;
		height: 35px !important;
	}
}

/* Search Results */

.search-results .gridlove-post.type-press_clips .entry-image:before { 
    position: absolute;
    bottom: 0;
    left: 39%;
    z-index: 1;
    font-size: 12px;
    margin: 0;
    text-indent: 0;
    background: #000;
    color: #fff;
    padding: 10px;
    content: "Press Clip";
    font-family: Museo Slab W01;
}

.gridlove-post.type-press_clips .entry-title a:after { 
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 1;
    font-size: .8em;
    margin-left: 8px;
    text-indent: 0;
    content: "\f08e";
}

/* Hide relateds below content */
article.type-post .rp4wp-related-posts {
    display: none !important;
}

/* Home Page Featured Image */
.gridlove-cover-bg img {
    object-fit: contain !important;
}