/*
 Theme Name:   SciStarter 2016 Child Theme
 Description:  A child theme of the Twenty Sixteen default WordPress theme
 Author:       Dennis Murphy/SciStarter
 Template:     twentysixteen
 Version:      1.0.0
*/


/*=====TAG OVERRIDES=======*/
body {background: #fff;}

/*=====PAGE OVERRIDES=======*/
.site {
	margin:  0;
}
@media screen and (min-width: 44.375em) .site {
	margin: 0;
}
/* to get rid of the top spacing!*/
@media screen and (min-width: 44.375em) {
	body:not(.custom-background-image):before,
	body:not(.custom-background-image):after {
		background: inherit;
		content: "";
		display: block;
		height: 0;
		left: 0;
		position: fixed;
		width: 100%;
		z-index: 99;
	}
}

/*=====TYPOGRAPHY=======*/
body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: 'Lora', Georgia, 'Times New Roman', serif; 
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}
h1,
h2 {
	font-weight:  300;
	font-family: 'Nunito', sans-serif;
}
h3,
h4,
p,
ul,
ol {
	margin-bottom: 1em;
	font-weight:  normal;
}
.margin-bottom-tight {
	margin-bottom:  0.7em;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary h1,
.entry-summary h2,
.entry-summary h3,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.comment-content h1,
.comment-content h2,
.comment-content h3,
.comment-content h4,
.comment-content h5,
.comment-content h6,
.textwidget h1,
.textwidget h2,
.textwidget h3,
.textwidget h4,
.textwidget h5,
.textwidget h6 {
	font-weight: 500;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	clear: none;
}
/*=====HEADINGS=====*/
.entry-title {
	font-family: 'Nunito', sans-serif;
	font-weight:  300;
	color:  #7f9805;
	margin-bottom:  1rem;
}
.entry-title a {
	color:  #7f9805;
}
article .entry-title-excerpt,
article .entry-title-excerpt > a {
	font-size: 22px;
	line-height: 1.3;
	margin-bottom:  1rem;
	color:  #7f9805;
}
/*=====LINKS====*/
a,
a:hover,
a:visited {
	color: #47a8d4;
	text-decoration:  none;
}
a:hover,
a:focus {
	text-decoration:  underline;
}

/*=====MARGINS & Paddings =====*/
.u-mb-sm {
	margin-bottom:  0.5em;
}

/*=====HELPERS=====*/
.u-overflow-hidden {
	overflow:  hidden;
}

/*=====BODY=====*/
.site-inner {
	max-width:  none;
}
/*=====HEADER=====*/
.site-header {
	background-color: #25284f;
	color:  #fff;
	padding:  0;
}
.site-header-main {
	width:  92%;
	margin:  0 auto;
}
.site-header-menu a {
	color:  #fff;
}
.site-branding {
	margin:  0;
}
.site-header-menu {

}
button.menu-toggle {
	color:  #fff;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-weight:  normal;
}

button.menu-toggle:focus {
	outline: 1px white dotted;
}
.menu-toggle:hover,
.menu-toggle:focus {
	background-color: transparent;
	border-color: #f47d30;
	color: #f47d30;
}
.main-navigation {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	letter-spacing: 1px;
}
.main-navigation .menu-item > a {
	padding-left: 0.5em;
}
.main-navigation li:hover > a,
.main-navigation li.focus > a {
	font-weight:  normal;
	background-color: #f47d30;
	color: #fff;
	text-decoration:  none;
}
/*  upper right login-signup links */
nav.login-signup {
	display:  none;
}
/*=======BLOG HEADER======*/
.blog-title {
	font-size: 18px;
	font-family: 'Nunito', sans-serif;
	padding:  0 0 0.5em;
	margin-bottom:  0;
	color:  #555;
	line-height:  1.3;
}

/*=======FOOTER===========*/
.site-footer {
	background:  #eee;
	color:  #666;
	padding:  0;
}
.site-footer a, .site-footer a:visited {
	color:  #666;
}
.site-footer a:hover {
	color: #47a8d4;
}
.site-footer h2 {
	text-transform: uppercase;
	font-size:  1.125rem;
}
.site-footer-inner {
	width:  92%;
	max-width: 1320px;
	margin: 0 auto;
	padding:  1em 0 0;
	background:  #eee;
	overflow:  hidden;
}
.site-info {
	background:  #ddd;
	margin:  0;
	width:  100%;
	font-size:  0.9em;
	text-align:  center;
}
.site-info-inner {
	width:  92%;
	max-width: 1320px;
	margin: 0 auto;
	padding:  0.5em 0;
	overflow:  hidden;
}
.footer-left {
	float: left;
	margin-right: -50%;
	padding: 0;
	width: 50%;
}
.footer-right {
	float: left;
	margin-left: 50%;
	padding: 0;
	width: 50%;
}
.footer-nav ul {
	list-style-type: none;
	margin-left:  0;
}
.footer-nav li {
	margin-bottom:  0.5em;
	margin-bottom:  0.5rem;
}
.footer-nav-horizontal ul {
	list-style-type: none;
	margin:  0;
}
.footer-nav-horizontal ul>li {
	display:  inline-block;
	margin-right:  0;
}
.footer-nav-horizontal ul>li::before {
	content: ' | ';
}
.footer-nav-horizontal ul>li:first-child::before{
	display:  none;
}
.footer-nav-horizontal a:hover {text-decoration: none;}
/*=======CONTENT===========*/
.site-content {
	max-width: 1320px;
	width:  92%;
	margin:  1em auto 1em;
}
.site-main {
	margin-bottom:  2em;
}
.site-main > article {
	margin-bottom:  1em;
}
.entry-header,
.entry-summary,
.entry-content,
.entry-footer,
.page-content {
	margin-right: 0;
	margin-left: 0;
}
figcaption {
	text-align: center;
}
/*=======gray stuff===========*/
.site-inner {
	background:  #F8F8F8;
}
.sidebar {
	padding:  0;
}
.sidebar section {
	background:  #fff;
	padding:  1em;
	margin-bottom:  1em;
	border:  1px solid #ccc;
}
article {
	border:  1px solid #ccc;
	padding:  1em;
	background:  #fff;
}

/*=======PROJECT LIST===========*/
.project-list {
	clear:  both;
	width:  100%;
	border-bottom:  1px solid #ccc;
	margin:  1em 0;
}
.project-list:first-of-type {
	border-top:  1px solid #ccc;
	margin-top:  2em;
	padding-top: 1em;
}
.project-list h2 {
	font-weight:  300;
	font-family: 'Nunito', sans-serif;
	margin-bottom:  0.5em;
}
.project-list h2 a,
.project-list h2 a:visited {
	color: #1a1a1a;
	text-decoration:  none;
	box-shadow: none;
}
.project-list h2 a:hover,
.project-list h2 a:focus {
	text-decoration:  underline;
	color: #47a8d4;
 }
.project-list__content {

}
.project-list__content > div:last-of-type {
    padding-bottom: 2em;
}
.project-list__image {
	
}
.project-list__img-container {
	border: 1px solid #ccc;
	margin-bottom: 0.5em;
	padding-bottom:  0.5em;
	padding:  0.5em;
	text-align:  center;
}
.project-list__img-container img,
figure.wp-caption .project-list__img-container img {
	margin:  0 auto;
}
/*=======PAGINATION===========*/
nav.pagination {
	border-top:  2px solid #666;
	border-top:  none;
}
.pagination .prev,
.pagination .next {
	background-color:  #666;
	border-radius:  26px;
}
.pagination .page-numbers.current {
	color:  #666;
}
.pagination:before,
.pagination:after {
	background-color: #F8F8F8;
	background-color: #ccc;
	content: "";
	height: 52px;
	border-radius:  26px;
	position: absolute;
	top:0;
	width: 52px;
	z-index: 0;
}

/*=======ENTRY PREVIEW===========*/
.entry-preview {
	/*overflow:  hidden;*/
}
.entry-preview__image {
	margin-bottom: 1em;
}
.entry-preview__excerpt {
	
}

/*=======CONTENT CHUNKS===========*/
.post-byline {
	font-size:  0.9rem;
	color:  #999;
	font-family: 'Nunito', sans-serif;
	margin-top:  -1em;
}
.post-byline a, .post-byline a:visited {
	color: #999;
	text-decoration:  underline;
}
.post-byline .edit-link a,
.post-byline .edit-link a:visited {
	color: #47a8d4;
	text-decoration:  none;
}
.post-byline .edit-link a:hover {
	text-decoration:  underline;
}
.more-link {
	font-style:  italic;
	/*font-family: 'Nunito', sans-serif;*/
	white-space: nowrap;
}
article table.no-borders, 
article table.no-borders td {
	border:  none;
}
article table.no-borders td:first-of-type {
	padding-right:  2em;
}
.page-header {
	border-top: 1px solid #999;
	margin: 0 0 2em;
	padding-top: 1em;
}
.entry-content {
	margin-bottom: 1.6em;
}

figure.wp-caption figcaption {
	display: block;
}
figure.wp-caption img {
	margin:  0;
}

.scistarter-call-to-action {
	text-align:  right;
	display:  block;
}
p.scistarter-call-to-action > a,
p.scistarter-call-to-action > a:visited {
	padding:  0.5em;
	color:  #fff;
	border: none;
	border-radius:  8px;
	box-shadow: 0 1px 2px rgba(black, 0.26);
	background:  #f47d30;
	text-decoration:  none;
}
p.scistarter-call-to-action > a:hover,
p.scistarter-call-to-action > a:focus {
	color:  #fff;
	background:  #d46820;
	text-decoration:  none;
}
p.categories {
	margin-bottom:  0.6em;
	line-height:  1.3;
}
/*=======AUTHOR INFO===========*/
.author-info {
	font-size:  0.86em;
}

.author-info__image {
	width:  72px;
	margin-bottom:  1em;
}
.author-info__details h3 {
	display:  block;
}
.author-info__details p {
	display:  block;
}
.author-heading {
	margin-bottom:  1em;
}
.author-box {
	display:  block;
}


/*=======COMMENTS==========*/
.comment-reply-title,
.comments-title {
	border-top:  2px solid #999;
	font-weight:  normal;
}
.comment-form input[type="submit"] {
	padding:  0.5em;
	color:  #fff;
	border: none;
	border-radius:  8px;
	box-shadow: 0 1px 2px rgba(black, 0.26);
	background:  #f47d30;
	text-decoration:  none;
	font-weight:  normal;
	text-transform:  lowercase;
}
.comment-form input[type="submit"]:hover,
.comment-form input[type="submit"]:focus {
	color:  #fff;
	background:  #d46820;
	text-decoration:  none;
}
.form-submit {
	text-align:  right;
}
/*=======BOTTOM NAV==========*/
.post-navigation {
	border-top:  1px solid #999;
	border-bottom:  none;
	
}
.post-navigation div + div {
	border-top:  1px dotted #999;
}
.post-navigation .post-title {
	font-size:  16px;
	font-weight:  normal;
}
.nav-previous {
	text-align:  left;
}
.nav-previous .meta-nav::before {
	content: "\2190";
}
.nav-next {
	text-align:  right;
}

.nav-next .meta-nav::after {
	content: "\2192";
}
/*=======WIDGET==========*/
.widget {
	border-top: 1px solid #999;
	margin-bottom: 3.5em;
	padding-top: 1.75em;
}
.widget_search {
	padding-bottom: 1.75em;
	margin-bottom: 0;
}
.widget button.search-submit {
	background: #a9ba3c;
	color:  #fff;
}
.widget button.search-submit:hover,
.widget button.search-submit:focus {
	background: #909e33;
}
/*=======LOOP===========*/
.loop-post-excerpt {
	margin-bottom:  1em;
}
/*=======OTHER CLASSES===========*/
.nobr {
	white-space: nowrap;
}
/*=======MEDIA QUERIES===========*/

/* for mobile */
@media screen and (max-width: 400px) {
	figure.wp-caption {
		width:  100% !important;
		margin-left:  0;
	}
	figure.alignright {
		float:  none;
	}
}
/* between mobile an min-width 44em */
@media screen and (min-width: 401px) and (max-width: 44.375em) {
	figure.wp-caption {
		width:  33% !important;
	}
	.project-list figure.wp-caption {
		width:  100% !important;
	}
		
	
}
@media screen and (min-width: 401px) {
	.entry-preview {
		display:  table;
	}
	.entry-preview__excerpt {
		display:  table-cell;
		padding-left:  1em;
		vertical-align: top;
	}
	.entry-preview__image{
		width: 33%; 
		display:  table-cell;
		padding-right: 1em;
	}
	.project-list {
		overflow:  hidden;
	}
	.project-list h2 {
		margin-bottom:  1em;
		font-size: 1.4375rem;
	}
	.project-list__content {
		float:  left;
		width:  65%;
		padding-right:  1em;
	}
	.project-list__image {
		float:  right;
		width:  33%;
		max-width:  300px;
	}
	figure.wp-caption {
		width:  33% !important;
	}
	figure.wp-caption.aligncenter {
		width:  auto !important;
	}
	.project-list figure.wp-caption {
		width:  100% !important;
	}
	.no-caption {
		width:  33%!important;
	}
	h1,
	h2,
	.entry-title {
		hyphens:  none;
	}
	.sidebar {
		padding-left: 10%;
		padding-right: 10%;
	}
	.sidebar section {
		margin-left: 0;
	}
	.author-box__row {
		float:  none;
		display:  table-row;
	}
	.author-info__image {
		float:  none;
		display:  table-cell;
		width:  72px;
	}
	.author-info__details {
		float:  none;
		display:  table-cell;
		padding-left:  1em;
	}
	.author-box {
		float:  none;
		display:  table;
	}
}
/* menu button appears */
@media screen and (min-width: 44.375em) {
	.site-content {
		/*padding:  1em 0 0;*/
	}
	.site-content ul, ol {padding-left:  1em;}
	.site-main > article {margin-bottom: 1em;}
	.main-navigation .menu-item > a {
		margin-left:  0;
	}
	.site-info-policies {float: left; text-align: left; }
	.site-info-copyright {float: right;}
	article .entry-title-excerpt,
	article .entry-title-excerpt > a {
		font-size: 28px;
	}
	.project-list__content {
		padding-right:  2em;
	}
	nav.login-signup {
		display:  block;
		font-family: "Helvetica Neue", Helvetica, sans-serif;
		font-size:  0.9em;
		text-align: right;
	}
	nav.login-signup ul {
		list-style-type: none;
	}
	nav.login-signup li {
		display:  inline-block;
	}
	nav.login-signup li:first-of-type {
		margin-right:  1em;
	}
	.menu-toggle {
		margin-top:  0.5em;
		margin-bottom:  0.5em;
	}
	.entry-preview__image{
		max-width: 300px; 
	}
	.blog-header {
		padding-top: 0;
	}
	h1,
	.entry-title {
		font-size:  26px;
	}
}

@media screen and (min-width: 56.875em) {
	.site-content {
		/*padding:  1.5em 0 0;*/
	}
	/*.site-main > article {margin-bottom: 2em;}*/
	.site-main > article {margin-bottom: 1em;}
	.main-navigation .menu-item > a {
		border-bottom: 2px solid transparent;
		padding-left:  0;
		padding-right: 0;
		margin-left:  1em;
	}
	.main-navigation .menu-item > a:last-of-type {
		margin-right:  1em;
	}
	.main-navigation li:hover > a,
	.main-navigation li.focus > a {
		border-bottom:  2px solid #f47d30;
		padding-left:  0;
		background-color:  transparent;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-item > a:visited,
	.main-navigation .menu-item > a:hover {
		border-bottom:  2px solid #f47d30;
		padding-left:  0;
		background-color:  transparent;
	}
	.site-header-menu {
		margin-top:  0.5em;
		margin-bottom:  0.5em;
	}
	.main-navigation {
		margin-top:  -1em;
	}
	.main-navigation__mobile {
		display:  none;
	}
	body:not(.search-results) article:not(.type-page) .entry-content {
		float: none;
		width: 100%;
	}
	.footer-nav .menu {
		column-count: 2;
	}
	.post-navigation {border-bottom:  1px solid #999;}
	.post-navigation .nav-next, 
	.post-navigation .nav-previous {
		width:  45%;
	}
	.post-navigation .nav-previous {float: left;}
	.post-navigation .nav-next {float: right;}
	.post-navigation div + div {border-top:  none;}
	.sidebar {
		margin-left: 70%;
		width: 30%;
		padding-left: 0;
		padding-right: 0;
	}
	.sidebar section {
		margin-left: 5%;
	}
}

@media screen and (min-width: 61.5625em) {
	.site-content {}
	.entry-content h2 {margin: 1em 0 0.8em;}
}
/*===SOCIAL MEDIA ICONS===*/
ul.icon-list {
	list-style-type: none;
	list-style: none;
	margin-left:  0;
	padding-left:  0;
	display:  flex;
	justify-content: space-around;
}
ul.icon-list li {
	/*display:  inline-block;
	margin-right:  auto;*/
}
ul.icon-list li:last-of-type {
	margin-right:  0;
}
ul.icon-list li a {
	text-decoration-line:  none;
	text-decoration-color: white;
}
.textwidget a.icon-svg {
	text-decoration:  none;
	text-decoration-color: white;
	box-shadow: none;
}
.icon-social {
	fill:  #666;
}
.icon-social:hover {
	fill:  #47a8d4;
}
.icon-facebook {
	height: 32px;
	width:  32px;
}
.icon-pinterest {
	height: 32px;
	width:  32px;
}
.icon-twitter {
	height: 32px;
	width:  32px;
}
.icon-instagram {
	height: 32px;
	width:  32px;
	padding-bottom:  4px;
}
/*===SHARE_THIS===*/
.sharethis-inline-share-buttons {
	margin-bottom:  0.5em;
}
