html {
	height: 100%
}

body {
	margin: 0;
	padding: 0;
	font-family: Avenir, Helvetica;
	height: 100%;
}

a {
	text-decoration: none;
	color: #1EAEDB;
	transition: 0.25s;
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

main {
	min-height: 100%;
	margin: 0;
}

button {
	background: #fff;
}

div.top-wrapper {
	height: 100vh;
	background: #000;
	color: #fff;
}

/*header {
	background: #0d0d0d;
	color: #fff;
	padding-top: 50px;
	padding-bottom: 60px;
	position: relative;
}*/

header h1 {
	color: #1EAEDB;
	font-size: 350%; 
	margin: 0;
	vertical-align: top;
}

header .label {
	font-style: italic;
	fill: #A3A3A3;
	transition: 0.5s;
}

/*@media screen and (max-width: 900px){
	header h1 {
		float: none;
	}

	header div#date-logo {
		padding-left: 0;
	}
}*/

header {
	height: 100vh;
    position: relative;
}

header > div {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

header > div > * {
	padding-left: 2rem;
	padding-right: 2rem;
}

header p {
	font-size: 1.5em;
	margin: 0;
	/*font-size: 1.2em;*/
    margin-top: 2rem;
    margin-bottom: 2rem;
}

header li {
	display: inline-block;
	width: 125px;
	height: 50px;
	text-align: center;
	font-size: 1.3em;
}

header li:not(:last-of-type) {
	margin-right: 2rem;
}

header li a {
	position: relative;
	z-index: 2;
	line-height: 50px;
}
header li .translucent {
	width: inherit;
	height: inherit;
	position: absolute;
	z-index: 1;
	background: #3F3F3F;
	opacity: 0.9;
}

.banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 2rem;
	background-color: #1EAEDB;
}

.banner a {
	color:#3F3F3F;
	font-weight: bold;
	text-decoration: underline;
}

nav {
	height: 50px;
	width: 100%;
	background: #eee;
	color: #fff;
	padding-left: 2rem;
	border-bottom: 1px solid #aaa;
	box-sizing: border-box;
}

nav ul li h1 {
	color: #1EAEDB;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 0px;
	display: inline-block;
	margin-right: 10px;
}

nav ul li {
	display: inline-block;
	margin-right: 10px;
	line-height: 50px;
	vertical-align: middle;
}

nav ul li a {
	color: #565656;
}

nav ul li h1:hover {
	color: #1AA855;
}

nav ul li a.active {
	border-bottom: 2px solid #aaa;
}


/*nav ul li:first-child {
	font-size: 1.5em;
	font-weight: bold;
	color: #8C4D2E;
	margin-right: 15px;
}*/

/*img {
	width: 100%;
	max-width: 100%;
}*/

@media screen and (max-width: 800px) {
	.desktop-only {
		display: none !important;
	}
}

@media screen and (min-width: 800px) {
	.container {
	    width: 60%;
	    max-width: 960px;
	}
	.mobile-only {
		display: none !important;
	}
}

.container > div h1 {
	color: #1AA855;
}

/*.button {
	min-width: 75px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    border: solid 1px #828282;
    opacity: 0.8;
    background: #000;
    font-size: 1em;
    text-transform: none;
    padding: 0 5px 0 5px;
    color: #fff;
    font-weight: normal;
    border-radius: 0;
    transition: 0.25s;
}

.button:hover {
	color: #1EAEDB;
}

.button.short {
	height: 25px;
	line-height: 25px;
}

.button.alternate {
	background: #A0A0A0;
	color: #000;
}*/

.page-content {
	padding-top: 20px;
}

.secondary-title {
	font-size: 1.5em;
	color: #1AA855;
}

.contact {
	font-size: 1.5em;
	text-align: center;
	max-width: 600px;
	margin: auto;
}

.projects .project-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
}

.projects .project-block-container {
	width: 200px;
	border: solid 1px #ccc;
    margin-bottom: 10px;
}

.projects .project-block-container > h2 {
	font-size: 1.3em;
	text-align: center;
}

.projects .project-block {
	position: relative;
	text-align: center;
}

.projects .project-block > div {
	display: inline-block;
	margin-top: 5px;
	transition: 0.5s;
}

.projects .project-block > div img {
	width: 180px;
	height: auto;
	display: block;
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	border: 1px solid #ccc;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	transition: 0.5s;
}

.projects .project-block .img-hover {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	border-radius: 55px;
}

.project-block > h2 {
	position: absolute;
    font-size: 1.3em;
    z-index: 2;
    bottom: 5px;
    color: #0C6291;
    /* font-weight: bold; */
    /* text-shadow: 1px 1px #000; */
    opacity: 0.8;
    background: #ccc;
    padding: 5px;
}

.project-block-links {
	width: 100%;
	position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%) scale(1);
    text-align: center;
    transition: 0.5s;
}

.project-block .shrunk {
	transform: translate(-50%, -50%) scale(0);
}

.project-block > .container {
    position: fixed;
    height: 100vh;
    margin: 0;
    margin-top: 100px;
    padding-top: 0;
    z-index: 2;
    top: 0;
    left: 50%;
    opacity: 0.95;
    transform: translate(-50%, 0);
/*    transition: transform 0.75s;
*/}

.project-block > .hide {
	transform: translate(-50%, -100%);
}

.project-block > .container > div {
	height: 80vh;
	background: #FBFEF9;
    border: 1px solid #ccc;
    position: relative;
}

.project-block > .container .content {
	padding: 20px 60px 60px 60px;
}

.project-block > .container .controls {
	text-align: center;
	position: relative;
	margin-top: 5px;
	color: #828282;
}

.project-block > .container .controls:last-of-type {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.project-block > .container .controls .fa-arrow-left {
	margin-right: 15px;
}

@media screen and (max-width: 760px){
	.project-block > .container > div {
		padding: 40px 20px 60px 20px;
		overflow: auto;
		font-size: 1em;
	}

	.projects .project-container {
		justify-content: center;
	}
}

.project-block > .container button {
	position: absolute;
	right: 5px;
	height: 40px;
	width: 40px;
	padding: 0;
	border: 1px solid #828282;
	border-radius: 25px;
	font-size: 1.7em;
	font-weight: lighter;
	text-align: center;
}

.project-block > .container .controls i {
	cursor: pointer;
}

.project-block > .container .controls i:hover {
	opacity: 0.5;
}

.projects.about #page-content img {
	width: 100%;
}

.projects.about > section > div > h2 {
	font-size: 2em;
	margin: 0;
}

footer {
	color: #fff;
	width: 100%;
	position: relative;
	z-index: 2;
	background: #000;
	margin-top: 15px;
}

footer ul, nav ul {
	margin: 0;
	padding: 0 0 0 2%;
}

footer li {
	display: inline-block;
	vertical-align: middle;
	line-height: 5vh;
	margin-right: 15px;
}

/*footer a {
	color: #fff;
}*/

.project-grid {
	display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.tile {
	border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px #ddd;
}

.tile:hover {
    box-shadow: 3px 3px #ddd;
}

.tile:hover h1 {
    color: #1EAEDB;
}

.tile:hover img {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
}

.tile h1 {
	font-size: 1.5em;
	margin-bottom: 5px;
	padding: 10px;
    min-height: 55px;
}

.tile img {
	width: 100%;
	border: none;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	transition: 0.5s;
}

.thumbnail-container {
	width: 100%;
	height: 150px;
	overflow: hidden;
}

.tile-tags {
    margin-top: 1rem;
}

.tile-tags > span {
	font-size: 0.6em;
    font-style: italic;
    color: #aaa;
    margin-right: 0.5rem;
}

.tile-tags > span:not(:last-child)::after {
	content: "·";
	display: inline-block;
	margin-left: 0.5rem;
	font-weight: bold;
}

.project-detail h1 {
	font-weight: bold;
    color: #1AA855;
}

.project-detail h2 {
	font-weight: bold;
    font-size: 2em;
}

.project-detail p {
	font-size: 1.2em;
}

.project-detail  > .project-detail-content img {
	max-width: 100%;
	max-height: 400px;
	margin-bottom: 2.5rem;
	border: 1px solid #ccc;
}

.project-detail  > .project-detail-content .image-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.project-detail > .project-detail-content > section:first-child:not(:last-child) {
	border-bottom: solid 1px #ccc;
    margin-bottom: 2rem;
}

.project-detail > .project-detail-content h1 {
	font-size: 2em;
	color: #aaa;
}

.project-heading {
	margin-bottom: 2rem;
	text-align: center;
	position: relative;
}

.project-heading .back-button {
	display: block;
    text-align: left;
    margin-bottom: 2rem;
}

.project-heading p {
	font-size: 1.4em;
}

.project-heading img {
	margin-top: 2rem;
	height: 100%;
	width: 100%;
	max-width: 100%;
	box-shadow: 1px 1px 1px 1px #ddd;
	transition: 0.25s;
}

.project-heading img:hover {
	box-shadow: 3px 3px 3px 3px #ddd;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.iframe-responsive {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.project-outline {
	display: inline-block;
    position: fixed;
    left: 2rem;
    top: 20px;
    max-width: 135px;
    transition: 0.5s;
}

.project-outline .scrolled {
	font-weight: bold;
}

.project-outline li {
	cursor: pointer;
	border-bottom: solid 1px #fff;
	transition: 0.25s;
}

.project-outline li:hover {
	border-bottom-color: #ccc;
}

.project-outline li:first-child {
	color: #1AA855;
	font-size: 1.3em;
}

random-bar-chart {
	width: 100%;
	display: block;
	position: absolute;
	bottom: 0;
}

#tooltip {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	color: #fff;
	opacity: 0.7;
}

#tooltip h1 {
	font-size: 1.2em;
	color: #fff;
}

#tooltip p { 
	font-size: 1em;
	margin-bottom: 0; 
}

.random-chart-svg {
	width: 100%;
	height: 80px;
	display: block;
}

.random-chart-svg .bar {
  	fill: #1EAEDB;
  	opacity: 0.7;
}

.random-chart-svg .bar:hover {
  	opacity: 1;
}

.random-chart-svg .random-chart-svg text {
	fill: #fff;
}

.random-chart-svg .axis {
	fill: #fff;
}

.random-chart-svg .axis--x path {
  	display: none;
}

.home-container {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(660px, 1fr));
}

network {
	height: 90vh;
	padding-top: 50px;
	padding-left: 50px;
}

#network {
	width: 100%;
	max-width: 800px;
	height: 100%;
	overflow: visible;
}

#network .links line {
  	stroke: #999;
  	stroke-opacity: 0.6;
  	transition: 0.25s;
}

#network .nodes circle {
  	stroke: #fff;
  	stroke-width: 1.5px;
  	fill: #1EAEDB;
  	transition: 0.25s;
  	cursor: pointer;
}

#network .nodes circle:hover {
	fill: #bbb;
}

.tooltip {
	color: #eee;
    position: absolute;
    background-color: #000;
   	max-width: 200px;
    height: auto;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    pointer-events: none;
/*    transform: translate(-50%, -100%);
*/    transition: 0.25s;
}

.tooltip h1 {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.tooltip p {
	margin-bottom: 0.3rem;
	font-size: 0.8em;
}

.tooltip i {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9em;
}

.tooltip p:not(:last-child) { 
	border-bottom: 1px solid #ccc; 
}

.toolkit > section {
	margin-bottom: 4rem;
}

.toolkit h1 {
	color: #1AA855;
	margin-bottom: 0;
	/*padding-bottom: 1rem;*/
	/*border-bottom: 2px solid #ccc;*/
}

.toolkit .project-grid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.toolkit-tile {
	padding: 10px;
	font-size: 1.2em;
	margin-right: 1rem;

}

@media screen and (max-width: 1320px){
	.home-container {
	    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
	}

	header {
		width: 100%;
	    height: auto;
	    position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	}

	header > div {
		width: 100%;
		background: #eee;
		opacity: 0.9;
	}

	header p {
		font-size: 1.3em;
	}

	network {
		position: fixed;
		width: 100%;
	}

	#network {
		max-width: 100%;
	}
}

.margin-top-huge { margin-top: 50px; }
.margin-top { margin-top: 15px; }
.margin-right { margin-right: 15px; }
.margin-bottom { margin-bottom: 15px; }
.margin-left { margin-left: 15px; }

.btn-checkbox {
	border-radius: 25px;
	margin-right: 1rem;
}

.btn-checkbox.selected {
	background: #1EAEDB;
	color: #fff;
}

.btn-blue {
	background: #1EAEDB;
	color: #fff;
}

.full-opacity { opacity: 1; pointer-events: all; }
.no-opacity { opacity: 0; pointer-events: none; }

.short-border {
	width: 60px;
	height: 4px;
	background: #ccc;
	display: block;
	margin-bottom: 2rem;
}


