/* @override http://localhost:8000/css/styles.css */

body {
	background-color: black;
/*  background-image: url(orion_nebula.jpg), url(orion_nebula.jpg);
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  background-position: right top, left top;
  background-size: 50%, 50%;*/
  background-image: url(carina_nebula.jpg);
  background-size: cover;
  background-attachment: fixed;
	font-family: Georgia;
-webkit-font-smoothing: antialiased;
}

#content, .container {
	width: 52%;
	min-width: 35em;
	max-width: 50em;
	margin: 2.5em auto;
	padding: 3em 5em;
}
#content {
/*  background-color: #F5EEE1;*/
  background-color: hsl(40, 100%, 96%);
	box-shadow: 0px 0px 30px #000;
	color: #322;
/*  background-image: url(old_mathematics.jpg);*/
	background-size: 20%;
	overflow: hidden;
}

#content a {
	color: #3d1e1e;
}

#content a:hover {
	color: #5b2324;
}

#content a:active {
	color: inherit;
}

#content a:visited {
	color: inherit;
}

h1, h2 {
	text-align: center;
	font-weight: normal;
}

/* @group Headshot */

.headshot {
	display: block;
	width: 180px;
	height: 180px;
	border-radius: 90px;
  border: 1px solid;
	background: rgb(255, 255, 253) url(headshot.png) no-repeat center top;
  margin-right: 2em;
  margin-top: -45px;
  float: left;
}
.headshot.stsci {
  background-image: url('stsci_headshot.png');
}

figure#headshot {
	margin-bottom: 4em;
}

figure#headshot:after {
	height: 4em;
}

#background-credit {
  color: #eee;
}

#background-credit a, #background-credit a:visited, #background-credit a:hover, #background-credit a:active {
  color: #fff;
  text-decoration: underline;
}

/* @end */

/* @group Main Header */

header#main .headings h1, header#main .headings h2 {
  text-align: left;
}

header#main .headings, header#post-header .headings {
	border-top-style: double;
	border-bottom-style: double;
}

header#main .headings h1, header#post-header .headings h1 {
	font-size: 2.5em;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

header#main .headings h2, header#post-header .headings h2 {
	font-style: italic;
	font-size: 1em;
}

header#main {
  margin-top: 2.5em;
	margin-bottom: 4em;
}

header#main:after {
	height: 4em;
}

header#post-header {
	margin-bottom: 2em;
}

header#post-header:after {
	height: 2em;
}

/* @end */

/* @group Blocks and Lines */

.headings.block, section.block, div.block, article.block {
	border-top: 0.1em solid black;
	border-bottom: 0.1em solid black;
}

section.block h2 {
	font-size: 1.65em;
	margin: 0;
	margin-bottom: 0.5em;
	padding: 0.33em;
	border-bottom: 0.06em solid black;
}

section.block .inset, section.block .post, section.block .position, article#post-body > * {
	padding-left: 1em;
	padding-right: 1em;
}

article#post-body > ul, article#post-body > ol {
  padding-left: 3em;
}

article#post-body > ul > li {
  margin-bottom: 0.5em;
}

article#post-body > ol > li .highlight, article#post-body > ul > li .highlight {
  padding-left: 1em;
  padding-right: 1em;
}

.block {
	margin-bottom: 84px;
	margin-top: 0;
	position: relative;
}

.block.short {
	margin-bottom: 34px;
	margin-top: 0;
	position: relative;
}

.block:after {
	content: ".";
	display: block;
	width: 1px;
	height: 85px;
	margin: 0 auto;
	background: black;
	text-indent: -100em;
	position: absolute;
	left: 50%;
}

.block.short:after {
	height: 35px;
}

.block:last-child,.block.no-tail {
	margin-bottom: 0;
}

.block:last-child:after,.block.no-tail:after {
	display: none;
}

/* @end */

/* @group Main Navigation */

nav ol {
	font-size: 0.95em;
	list-style-type: none;
	margin: 0 auto;
	width: 60%;
	padding:0.66em 0;
	text-align: center;
	border-top-style: solid;
	border-bottom-style: solid;
	border-bottom-width: 0.1em;
	border-top-width: 0.1em;
}

nav ol li {
	display: inline;
	font-style: italic;
}

nav ol li:after {
	content: " \2022";
	text-decoration: none;
}

nav ol li:last-child:after {
	content: "";
}

/* @end */

/* @group Writing */
.block.narrow {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
#author div, #return, #post-date {
  text-align: center;
  margin: 0.5em 0;
}

#return {
  margin-top: 3em;
}

#writing ol {
	list-style-type: none;
	padding: 0;
	margin: 0;
  margin-top: 1em;
	width: 100%;
	overflow: hidden;
}

#writing ol.archive {
    margin-top: 1em;
}

#writing li h3 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 0.25em 0;
}

#writing li h4 {
  margin-top: 0;
}

#writing li .published, #writing li h4 time {
	font-size: 0.9em;
	margin: 0;
	font-weight: normal;
	font-style: italic;
	color: #4e4a4a;
}

#writing li .excerpt {
  font-style: italic;
  font-size: 0.9em;
}

#writinglink {
  text-align: center;
  padding: 1em;
  font-variant: small-caps;
}

#post-title a {
  text-decoration: none;
}

#post-body img {
	max-width: 100%;
	height: auto;
}

#post-body p {
  line-height: 1.5em;
}

#post-body > p {
  margin-top: 2em;
  margin-bottom: 2em;
}

.highlight {
    max-width: 100%;
    overflow-x: scroll;
	background: rgba(228, 224, 215, 0.46);
    border-radius: 0.25em;
    box-shadow: inset 0px 0px 3px rgba(0,0,0,.5);
	margin: 1em 0 1em 0;
	padding: 0 1em;
}

/* @end */

/* @group Portfolio */

#portfolio ol {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
}

#portfolio ol li.project {
	width: 20%;
	margin: 1em 2.5%;
	display: inline-block;
	float: left;
}
#portfolio ol li.project.first {
	clear: left;
}

#portfolio ol li.project img {
	width: 100%;
}

#portfolio ol li.project h4, #portfolio ol li.project h5 {
	font-weight: normal;
	margin: 0.25em 0;
}

#portfolio ol li.project h4 {
	font-size:0.8em;
}

#portfolio ol li.project h5 {
	font-size: 0.7em;
	font-style: italic;
}
/* @end */

/* @group Experience */

#experience > ol {
	list-style-type: none;
	padding: 0;
}

.position .headings {
	margin-bottom: 0.5em;
}

.position .headings .timespan {
	float: right;
}

.position .headings h3 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 0.25em 0;
}

.position .headings > date, .position .headings h4 {
	font-size: 0.9em;
	margin: 0;
	font-weight: normal;
	font-style: italic;
	color: #4e4a4a;
}

.position ul {
	font-size: 0.9em;
	padding-left: 2em;
	margin-bottom: 1em;
}

.position ul li {
	margin-bottom: 0.25em;
}

/* @end */

/* @group Social */

#social ul {
	padding: 0;
}

#social ul:after {
	content: "";
	display: block;
	clear: both;
}

#social ul li {
	display: block;
	width: 20%;
	text-align: center;
	margin: 0;
	float: left;
}

#social ul li img {
	display: block;
	margin: 0 auto;
	margin-bottom: 0.25em;
}

#social a {
	font-size: 0.9em;
}

/* @end */

/* @group Contact */

#contact {
	text-align: center;
}

#contact address {
	margin-bottom: 1em;
}

#contact address > a {
	display: block;
}

/* @end */



/* @group Portfolio Detail */

a#back {
	position: absolute;
	top: 1em;
	font-size: 2em;
	text-decoration: none;
	left: 1em;
}

h1#project-title {
	margin-bottom: 0.25em;
}

h2#project-clientdate {
	border-bottom: none;
	font-style: italic;
	font-size: 1em;

}
aside#project-gallery {
	width: 50%;
	display: inline-block;
	overflow: hidden;
	float: left;
	margin-top: 1em;
	margin-left: 3%;
}

aside#project-gallery figure {
	margin: 0;
}

aside#project-gallery figure figcaption {
	font-style: italic;
	font-size: 0.82em;
	text-align: center;
	margin-top: 1em;
}

aside#project-gallery figure img {
	display: block;
	margin: 0 auto;
}

aside#project-gallery img {
	max-width: 100%;
}

aside#project-gallery ol {
	list-style-type: none;
	padding: 0;
	text-align: center;
}

aside#project-gallery li {
	display: inline;
}

aside#project-gallery li img {
	max-height: 40px;
}

#project-description {
	width: 40%;
	overflow: hidden;
	font-size: 0.9em;
	float: right;
	margin-top: 1em;
	margin-right: 3%;
}

#project-description p:first-child {
	margin-top: 0;
}

#back {
	clear: both;
	text-align: center;
	padding-top: 2em;
	margin-bottom: 1em;
}

/* @end */

@media screen and (max-width: 768px) {

body {
	background-color: #000;
	padding-bottom: 15em;
  background-image: url(carina_nebula.jpg);
  background-size: cover;
  background-attachment: fixed;

}

/* @group Header */

.headshot {
  width: 90px;
  height: 90px;
  margin-top: 0px;
  background-position: center center;
  background-size: auto 120%;
  margin-right: 1em;
}

header#main .headings {
	border-top: none;
}

header#main .headings h1 {
	font-size: 2em;
}

header#main .headings h2 {
	font-size: 0.9em;
	padding: 0 1em;
}

header#main {
	margin-bottom: 4em;
	margin-top: 0;
}

header#main:after {
	height: 4em;
}

/* @end */

.block {
	margin-bottom: 2.5em;
}

.block:after {
	height: 2.5em;

}

/* @group Main Navigation */

nav ol li {
	display: block;
	margin-bottom: 0.5em;
}

nav ol li:last-child {
	margin-bottom: 0;
}

nav ol li:after {
	display: none;
}

/* @end */

#content, .container {
	min-width: 95%;
	padding: 2.5%;
	margin: 0;
	margin-top: 4em;
}

#details {
	display: none;
}

#portfolio .category {
	width: 100%;
	display: block;
	float: none;
}

#portfolio .category h3 {
	display: none;
}

#portfolio #identity ol {
	margin-top: 0;
}

#social ul {
	text-align: center;
}


#social ul li {
	display: inline-block;
	width: auto;
	margin: 0.5em;
	float: none;
}


.position .headings {
	margin-bottom: 0.5em;
}

.position .headings date {
	float: none;
	display: block;
	margin-bottom: 0.5em;
}

.position .headings h3 {
	font-size: 1em;
	font-weight: normal;
	margin: 0.25em 0;
}

.position .headings > date, .position .headings h4 {
	font-size: 0.8em;
	font-weight: normal;
	font-style: italic;
	color: #4e4a4a;
}


aside#project-gallery {
	width: auto;
	display: block;
	overflow: hidden;
	float: none;
	margin-top: 1em;
	margin-left: 0;
}

#project-description {
	width: auto;
	overflow: hidden;
	font-size: 0.9em;
	float: none;
	margin-top: 0;
	margin-right: 0;
	border-top: 1px dotted black;
}

#project-description p:first-child {
	margin-top: 1em;
}

}

/* Jupyter Notebook post styles */
.input .prompt, .output .prompt {
	display: none;
}
.cell .rendered_html {
	line-height: 1.5em;
}

.download-notebook {
	text-align: center;
	font-style: italic;
}

#content a.anchor-link {
	padding-left: 0.5em;
	color: #ad8e86;
	text-decoration: none;
}

blockquote {
	border-left: 2px solid #aaa;
}

.output_png {
	text-align: center;
}

.output_text pre {
	white-space: pre-wrap;
	font-size: 0.85em;
}

.highlight pre {
	font-size: 0.85em;
}

.text_cell_render code {
	font-size: 0.88em; /* match body text roughly */
}
.output_area .animation {
	display: block;
	margin: 0 auto;
}
.output_area .animation img {
	border: 1px solid #000;
}