 /*
 Theme Name: Twenty Seventeen NIGMS
 Description: The custom theme Twenty Seventeen NIGMS using the parent theme Twenty Seventeen. It has some customizations to be used on the Feedback Loop and Biobeat blogs.
 Author: Matthew Mills
 Author URI: 
 Template: twentyseventeen
 Version: 1.1
 */

/*--------------------------------------------------------------
Fonts
--------------------------------------------------------------*/
* {font-family: 'Nunito', sans-serif;}

/*--------------------------------------------------------------
13.1 Header
--------------------------------------------------------------*/

.custom-header {
	display: table;
	min-height: 300px;
	height: 20vh !important;
	width: 100%;
}

/*modified height*/
.site-branding {
	display: table-cell;
	height: 300px;
	vertical-align: bottom;
}

.custom-header-media:before,
.panel-image:before {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
	background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
}

.custom-header-media img {
	position: fixed !important;
	width: 2000px !important;
	height: 1200px !important;
	max-width: 100% !important;
	top: 0;
	left: 0;
}

/*remove padding from page header title*/
.page-header {
    padding-bottom: 0;
}

/*search header widget area*/
div#header-widget-area {
	padding-top: 1em;
}

@media screen and (min-width: 48em){
	.hs-widget{
		width: 36%;
		float: right;
	}
}

h2.hs-title {
	display: none;
}

/**Change the background color of the header for 508 compliance**/
.site-header {
    background-color: #00470A;
}

/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/
a:focus {
	text-decoration: underline;
}
.entry-content a {
	color: #18599A;
    border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: underline;										
}

.entry-content a:hover,
.entry-content a:active, 
.entry-content a:focus {
	color: inherit;
	background-color: #EBEBEB;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.entry-content a:visited {
	color: #440055;
}

/**Make sure floated images don't move the Continue Reading Link**/
.entry-content .more-link:before {
    clear: both;
}

/**Remove white box shadow from linked images**/
.entry-content a img, 
.comment-content a img, 
.widget a img {
    -webkit-box-shadow: 0 0 0 0 #fff;
    box-shadow: 0 0 0 0 #fff;
}

.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
	-webkit-box-shadow: inset 0 -0 0 rgba(255, 255, 255, 1);
	box-shadow: inset 0 0px 0 rgba(255, 255, 255, 1);
	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

/*--------------------------------------------------------------
Lists
--------------------------------------------------------------*/

ul,
ol {
	margin: 0 3em 0 1.5em;
	padding: 0 0 0 1em;
}

ul {
	list-style: disc;
	margin-bottom:1em;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 3em 1.5em 1.5em;
}


/*--------------------------------------------------------------
Posts
--------------------------------------------------------------*/

.entry-meta {
	color: #363636;
	font-size: 14px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	padding-bottom: 0.25em;
	text-transform: uppercase;
}

.entry-meta a {
	color: #363636;
}


/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
/*change link text color in footer*/
.site-info a {
	color: #000;
}

footer .site-info {
text-align: center;
width: 100%;
}

/*--------------------------------------------------------------
Page Column, Heading, site description
--------------------------------------------------------------*/
/*make pages one column*/
body.page-two-column:not(.archive) #primary .entry-content,
body.page-two-column:not(.archive) #primary .entry-header {
    float: none;
    width: auto;     
}

/*change page heading size*/
.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	font-size: 28px;
	font-size: 1.75rem;
}

/*hide "posts" on home page*/
.home .page-title { display: none; }

/*reduce space between header and content */
.site-content {
	padding: 2em 0 0;
}
.site-title {
	clear: none;
	font-size: 30px;
	font-size: 2rem;
	margin: 0.5em 0 0 0;
	text-transform: none;
}
.site-branding-text {
	width:100%;
}

.site-description {
	font-style: italic;
	font-size: 20px;
	font-size: 1.2rem;
}

#nigms-logo {
  max-width: 300px;
}

.site-branding a:focus {
	border-bottom: 2px solid white;
	text-decoration: none;
}

/*--------------------------------------------------------------
Widgets
--------------------------------------------------------------*/
/*Author Image*/
.mks_author_widget{
	display: none;
}

/*Display author widget on single post*/
.single-post .mks_author_widget{
	display:block !important;
}

.mks-co-authors-wrapper p a {
    color: #18599A;
    border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: underline;
}

.mks-co-authors-wrapper p a:hover, 
.mks-co-authors-wrapper p a:active, 
.mks-co-authors-wrapper p a:focus {
	color: inherit;
	-webkit-box-shadow: none;
	box-shadow: none;
}

mks-co-authors-wrapper p a:visited {
	color: #440055;
}

/*Sidebar Styling*/
.widget {
	background-color:#f3f3f3;
	padding: 1em;
}


/*--------------------------------------------------------------
Social Media Icons
--------------------------------------------------------------*/
.social-icons-list {
    padding: 0;
    list-style-type: none;
	display: inline-block;
    border: none;
}

.widget_text .social-icons-list{
	margin:0;
}

.social_icons-list__item {
    display: inline-block;
	margin-right:12px;
    border: none;
	line-height:42px;
}

.social_icons-list__link {
    display: inline-block;
    cursor: pointer;
    width: 42px;
	font-size:1.2em;
	text-decoration: none;
    text-align:center;
    vertical-align: middle;
    border-radius: 50%;
    -moz-border-radius:50%;
    -webkit-border-radius: 50%;
	 background-color:#414141;
	 color: #fff;
}

.social_icons-list__link:hover, 
.social_icons-list__link:active,
.social_icons-list__link:focus {
    color:#fff !important;
	opacity: .9;
    border: none;
    text-decoration: none;
    box-shadow: none !important;
}

.font-awesome-facebook:hover,
.font-awesome-facebook:active,
.font-awesome-facebook:focus,
.font-awesome-twitter:hover, 
.font-awesome-twitter:active,
.font-awesome-twitter:focus,  
.font-awesome-instagram:hover, 
.font-awesome-instagram:active, 
.font-awesome-instagram:focus, 
.font-awesome-youtube:hover, 
.font-awesome-youtube:active, 
.font-awesome-youtube:focus, 
.font-awesome-rss:hover, 
.font-awesome-rss:active, 
.font-awesome-rss:focus, { 
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}
	
.font-awesome-facebook:hover, 
.font-awesome-facebook:active,
.font-awesome-facebook:focus {
	background:#3b5998;
}

.font-awesome-instagram:hover, 
.font-awesome-instagram:active, 
.font-awesome-instagram:focus {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.font-awesome-mail:hover, 
.font-awesome-mail:active,
.font-awesome-mail:focus{
    background: #008000;
}

.font-awesome-rss:hover, 
.font-awesome-rss:active, 
.font-awesome-rss:focus {
    background: #f26109;
}

.font-awesome-twitter:hover, 
.font-awesome-twitter:active,
.font-awesome-twitter:focus {
    background: #55acee;
}

.font-awesome-youtube:hover, 
.font-awesome-youtube:active, 
.font-awesome-youtube:focus {
    background: #e02a20;
}
 
.social-share {
    margin: 20px 0px 25px 0px;
    font-size: 12px;
	text-align: center;
}

.btn-share {
	display:inline-block;
	background: #414141;
	color:white !important;
	font-weight:500;
	width:80px;
	margin:0 6px;
	padding: 0.25em 2em;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	-webkit-border-radius: 8px;
	border-radius:8px;
	-webkit-transition: opacity 0.2s;
	transition: opacty 0.2s;
}

.btn-share:hover {
	opacity:0.8;
	box-shadow: none !important;
}
	
.share-facebook {
	background:#3b5998;
}

.share-mail {
    background: #008000;
}

.share-twitter {
    background: #55acee;
}

.share-linkedin {
    background: #0077B5;
}

/*--------------------------------------------------------------
Buttons & Input Fields
--------------------------------------------------------------*/

.textwidget .btn-archive {
	display:inline-block;
	background: #414141;
	color:white;
	font-weight:500;
	width:100%;
	padding: 0.25em 2em;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	-webkit-border-radius: 8px;
	border-radius:8px;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

.textwidget .btn-archive:hover, 
.textwidget .btn-archive:active,
.textwidget .btn-archive:focus {
	color:rgb(0, 0, 0);
	box-shadow: none;
	background: #e4e4e4;
	border: 1px solid black;
}

.search-form .search-submit:focus {
	background-color: #6E6E6E;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

select {
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding:0.7em;
}

button,
input[type="button"],
input[type="submit"] {
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

/*input form fix for 508 checker flagging as critical error*/
.screen-reader-text {
    clip: auto;
}

/*--------------------------------------------------------------
About the Authors Page
--------------------------------------------------------------*/
.author-entry{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin-top: 1em;
	margin-bottom: 1em;
}

.author-img{
	height: 180px;
	width: 180px;
	margin-right: 1em;
	margin-bottom: 1em;
}

.author-name{
	width: 100%;
}

.author-bio{
	width: 60%;
}

/*--------------------------------------------------------------
Author Page Styles
--------------------------------------------------------------*/

.author-profile-card {
	/*border: 1px solid #414141;*/
	background-color: #f3f3f3;
    padding: 20px;
	margin-bottom: 1em;
	min-height: 300px;
}
.author-photo {
    float: left;
    text-align: left;
    padding: 0 1em 1em 0;
}
	.author-profile-card a {
	color: #1d6cbd;
	font-weight:500;
	text-decoration: underline;
}

/*--------------------------------------------------------------
Print Styles
--------------------------------------------------------------*/
@media print {
	#nigms-logo {
		display: none;
	}

	.custom-header {
		display: inline-block;
		height: auto !important;
		padding: 0;
		min-height: 2em;
	}

	.custom-header-media {
		display: none;
	}

	.site-branding {
		padding: 0;
		height: auto;
		width: 100%;
		display: inline-block;
	}

	.site-title {
		font-size: 24px;
		font-weight: 400;
	}

	.site-title::before {
		content: "National Institutes of Health \A";
		white-space: pre;
		color: black;
		font-weight: 400;
	}

	#header-widget-area {
		display: none;
	}

	#content {
		padding-top: 0em;
	}

	.entry-title {
		font-size: 24px;
	}

	.entry-meta {
		color: black !important;
		text-transform: none;
	}

	.site-footer .wrap {
		padding-bottom: 0;
	}
	
	#comments{
		padding: 0;
	}
	
	.social-share {
		display: none;
	}
	
	.share-header {
		display: none;
	}

	.entry-footer {
		margin-top: 0;
		padding-top: 0;
	}

	table { 
		page-break-inside:avoid;
	}

	tr {
		page-break-inside:avoid;
		page-break-after:auto;
	}

}