*, *::after, *::before { -webkit-box-sizing: border-box; box-sizing: border-box; }
html{
	height: 100%;
}
body {
	font-family: 'Lato', Arial, sans-serif;
	color: #fff;
	/* background: #34343d; */
	/* background: #fff; */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
	margin-top: -5em;
	height: 100%;
	padding: 0;
}
a {
	outline: none;
	color: #6699CC;
	text-decoration: none;
}
a:hover, a:focus {
	color: #6699CC;
}
main {
	max-width: 1885px;
	display: inline-block;
	margin: 0 auto;
	position: relative;
	text-align: left;
}

/* Header */
.codrops-header {
	position: relative;
	height: 310px;
  	/* padding-top: 5px; */
	width: 100%;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	align-items: center;
	z-index: 10;
	background: #000;
}
header .container{
	position: relative;
	margin-top: 5em;
	height: 100px;
	background-color: #34343d;
}
header .site-branding{
	background-color: #34343d;
	height: 250px;
	/* margin-top: 7em; */
}
header .site-branding h2{
	font-family: 'Lato', Arial, sans-serif;
	font-size: 3em;
	margin: 0;
}
header .site-branding h3{
	font-size: 2em;
	font-weight: normal;
	margin: 0.25em 0 0;
	color: #9f9da7;
}
header .site-branding h4{
	font-size: 1.5em;
	/* margin: 0.25em 0 0; */
	color: #34343d;
}
header .wrapper {
	/* height: 210px; */
	background-color: #ffff;
	color: white;
	margin: 0 auto;
	max-width: 980px;
	position: relative;
	padding: 0;
	border: 0;
	box-sizing: 0;
}
header #logo {
	position: absolute;
	top: 0;
	left: 20px;
	width: 80px;
	height: 75px;
	/* z-index: 100; */
	color: #0D9AF1;
	text-decoration: none;
	margin: 0;
	padding-top: 150px;
	border: 0;
	box-sizing: border-box;
}

/*
nav {
	float: right;
	display: block;
	margin: 0;
	padding-top: 150px;
	border: 0;
}
.nav-item {
  display: block;
  float: left;
  text-align: center;
}
.nav-item a {
  box-sizing: border-box;
  margin-left: 30px;
	margin-right: 30px;
  display: block;
  height: 20px;
  line-height: 20px;
  font-size: 20px;
  font-weight: 600;
  position: relative;
	color: #fff;
}
*/

nav {
	float: right;
	display: block;
	margin: 0;
	padding-top: 152px;
	border: 0;
}
.nav-item {
  display: block;
  float: left;
  text-align: center;
}
.nav-item a {
  box-sizing: border-box;
  margin-left: 30px;
  margin-right: 30px;
  display: block;
  height: 20px;
  line-height: 20px;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  color: #fff;
}

header nav a:hover, a:focus {
	color: #6699CC;
}
.active {
	color: #6699CC;
}

/* Content */
.content {
	/* background: #34343d; */
	background: #ffff;
}

.content__inner {
	max-width: 1000px;
	max-height: 680px;
	margin: 0 auto;
	padding: 1em 10% 0em;
}

.content__title,
.content__subtitle {
	font-family: 'Lato', Arial, sans-serif;
}

.content__title {
	font-size: 3em;
	margin: 0;
}

.content__subtitle {
	font-size: 2em;
	font-weight: normal;
	margin: 0.25em 0 0;
	color: #9f9da7;
}

.content p {
	/*font-size: 1.175em;*/
	font-size: 1.5em;
	line-height: 1.6;
	margin: 4.5em 0;
	color: #000;
}

p.margin-paragraph {
	margin: 8em 0 1.5em;
}


/* Content Small */
.content_small {
	background: #34343d;
}

.content_small__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 1em 10% 1em;
}

.content__title,
.content__subtitle {
	font-family: 'Lato', Arial, sans-serif;
}

.content__title {
	font-size: 3em;
	margin: 0;
}

.content__subtitle {
	font-size: 2em;
	font-weight: normal;
	margin: 0.25em 0 0;
	color: #9f9da7;
}

.content_small p {
	font-size: 1.3em;
	line-height: 1.5;
	margin: 2em 0;
}

p.margin-paragraph {
	margin: 8em 0 1.5em;
}

/* Content filler */
.spacer {
    height: 100px; /* Adjust the height as needed */
}


/* responsive icon grid */
@font-face {
	font-family: 'anyoldicon';
	src:url('../fonts/anyoldicon/anyoldicon.eot');
	src:url('../fonts/anyoldicon/anyoldicon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/anyoldicon/anyoldicon.woff') format('woff'),
		url('../fonts/anyoldicon/anyoldicon.ttf') format('truetype'),
		url('../fonts/anyoldicon/anyoldicon.svg#anyoldicon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* General grid styles */
.cbp-ig-grid ul{
  list-style:none;
}

.cbp-ig-grid {
	list-style: none;
	padding: 10px 0 10px 10px;
	margin: 0;
}

/* Clear floats */
.cbp-ig-grid:before,
.cbp-ig-grid:after {
	content: " ";
	display: table;
}

.cbp-ig-grid:after {
	clear: both;
}

/* grid item */
.cbp-ig-grid li {
	width: 33%;
	float: left;
	height: 480px;
	text-align: center;
	border-top: 1px solid #ddd;
}

/* we are using a combination of borders and box shadows to control the grid lines */
.cbp-ig-grid li:nth-child(-n+3){
	border-top: none;
}

.cbp-ig-grid li:nth-child(3n-1),
.cbp-ig-grid li:nth-child(3n-2) {
	box-shadow: 1px 0 0 #c1c1c1;
}

/* anchor style */
.cbp-ig-grid li > a {
	display: block;
	height: 100%;
	color: #6699CC;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
}

/* the icon with pseudo class for icon font */
.cbp-ig-icon {
	padding: 30px 0 0 0;
	display: block;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.cbp-ig-icon:before {
  font-family: 'anyoldicon';
	font-size: 16em;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.cbp-ig-icon-edu:before {
	background-image: url("../img/Gaussian.png");
	background-size: 320px 300px;
	display: inline-block;
	width: 320px;
	height: 300px;
	content: "";
}
.cbp-ig-icon-soc:before{
	background-image: url("../img/neuron_bg.png");
	background-size: 320px 300px;
	display: inline-block;
	width: 320px;
	height: 300px;
	content: "";
}
.cbp-ig-icon-tech:before {
	background-image: url("../img/erlenmeyer.png");
	background-size: 300px 300px;
	display: inline-block;
	width: 270px;
	height: 300px;
	content: "";
}

/* title element */
.cbp-ig-grid .cbp-ig-title {
	margin: 20px 0 10px 0;
	padding: 20px 0 0 0;
	font-size: 2em;
	position: relative;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.cbp-ig-grid .cbp-ig-title:before {
	content: '';
	position: absolute;
	background: #6699CC;
	width: 160px;
	height: 6px;
	top: 0px;
	left: 50%;
	margin: -10px 0 0 -80px;
	-webkit-transition: margin-top 0.2s; /* top or translate does not seem to work in Firefox */
	-moz-transition: margin-top 0.2s;
	transition: margin-top 0.2s;
}

.cbp-ig-grid .cbp-ig-category {
	text-transform: uppercase;
	display: inline-block;
	font-size: 1em;
	letter-spacing: 1px;
	color: #fff;
	-webkit-transform: translateY(10px);
	-moz-transform: -moz-translateY(10px);
	-ms-transform: -ms-translateY(10px);
	transform: translateY(10px);
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	-webkit-transition: transform 0.3s, opacity 0.2s;
}

.cbp-ig-grid li:hover .cbp-ig-category,
.touch .cbp-ig-grid li .cbp-ig-category {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}

/* Hover styles */
.cbp-ig-grid li > a:hover {
	background: #6699CC;
}

.cbp-ig-grid li > a:hover .cbp-ig-icon {
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
}

.cbp-ig-grid li > a:hover .cbp-ig-icon:before,
.cbp-ig-grid li > a:hover .cbp-ig-title {
	color: #fff;
}

.cbp-ig-grid li > a:hover .cbp-ig-title {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
}

.cbp-ig-grid li > a:hover .cbp-ig-title:before {
	background: #fff;
	margin-top: 80px;
}


/* Flexbox is used for centering the heading */
.cbp-rfgrid li a div {
	position: absolute;
	left: 10px;
	top: 10px;
	right: 10px;
	bottom: 10px;
	background: rgba(184,184,184,0.6);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}

.cbp-rfgrid li a:hover div {
	opacity: 1;
}

.cbp-rfgrid li a div h3 {
	width: 100%;
	color: #000000;
	text-transform: uppercase;
	font-size: 1em;
	letter-spacing: 2px;
	padding: 0 5px;
}


/* Blog Preview */
.blog {
	/* background: #34343d; */
	background: #fff;
}

.blog__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 5em 10% 1em;
}

.blog__title,
.blog__subtitle {
	font-family: 'Lato', Arial, sans-serif;
}

.blog__title {
	font-size: 2.5em;
	font-weight: bold;
	text-align: center;
	margin: 0;
}

.blog__title a {
  font-family: 'Lato', 'calibri', sans-serif;
  color:#000;
}

.blog__subtitle {
	font-size: 2em;
	font-weight: normal;
	margin: 0.25em 1em 0.8em;
}

.blog__subtitle a {
  font-family: 'Lato', 'calibri', sans-serif;
  /* color:#a9a9a9; */
  color: #34343d;
}

.blog p {
	font-size: 1.2em;
	font-weight: normal;
	line-height: 1.5;
	margin: 1.5em 0 0;
}

.blog p a {
  font-family: 'Lato', 'calibri', sans-serif;
  /* color:#a9a9a9; */
  color: #34343d;
}

p.margin-paragraph {
	margin: 8em 0 1.5em;
}

/* footer */
footer {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  height: 1px;
  background-color:#242830;
}

footer .wrapper {
  max-width: 100%;
  position: relative;
  border: 0;
  box-sizing: border-box;
  display: table;
  background-color: #000; /*change color to body background*/
  color: white;
  width: 100%;
}

footer p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  color:#a9a9a9;
}

footer a {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color:#a9a9a9;
	font-weight: bold;
}

footer .wrapper .links {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  display: table-cell;
  width: 145px;
  padding-left: 80px;
  color: white;
}

footer .wrapper .footer-menu {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  display: table-cell;
  width: 200px;
  color: white;
}

footer .wrapper .footer-menu ul {
  list-style-type: none;
}

footer .wrapper .footer-menu ul li {
  text-align: right;
	margin: 5px;
}

footer .wrapper .about {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  display: table-cell;
  padding: 0 80px 0 80px;
  color: white;
}

footer .wrapper .colophon {
  margin-left: 130px;
  margin-right: 130px;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  /* max-width: 1000px; */
  color: white;
}

footer .wrapper .colophon p{
	font-size: 15px;
	line-height: 1.3em;
	color:#a9a9a9;
}

footer .wrapper .copyright {
  /* margin-left: 130px; */
  /* margin-right: 130px; */
  padding: 0;
  border: 0;
  box-sizing: border-box;
  margin-top: 50px;
  color: white;
}

footer .wrapper .copyright p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color:#a9a9a9;
}

footer .wrapper .copyright a {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color:#a9a9a9;
}



/* Example for media query: change number of items per row */
@media screen and (max-width: 1190px) {
	.cbp-rfgrid li {
		width: 20%; /* Fallback */
		width: -webkit-calc(100% / 10);
		width: calc(100% / 10);
	}
}

@media screen and (max-width: 945px) {
	.cbp-rfgrid li {
		width: 25%; /* Fallback */
		width: -webkit-calc(100% / 10);
		width: calc(100% / 10);
	}
}

@media screen and (max-width: 660px) {
	.cbp-rfgrid li {
		width: 33.3333333%; /* Fallback */
		width: -webkit-calc(100% / 10);
		width: calc(100% / 10);
	}
}

@media screen and (max-width: 660px) {
	.cbp-rfgrid li {
		width: 33.3333333%; /* Fallback */
	  width: -webkit-calc(100% / 5);
		width: calc(100% / 5);
	}
}

@media screen and (max-width: 400px) {
	.cbp-rfgrid li {
		width: 50%; /* Fallback */
		width: -webkit-calc(100% / 5);
		width: calc(100% / 5);
	}
}

@media screen and (max-width: 481px) {
	.cbp-rfgrid li {
		width: 30%; /* Fallback */
		width: -webkit-calc(100% / 3);
		width: calc(100% / 3);
	}
}

@media screen and (max-width: 300px) {
	.cbp-rfgrid li {
		width: 30%; /* Fallback */
		width: -webkit-calc(100% / 3);
		width: calc(100% / 3);
	}
}



@media screen and (max-width: 62.75em) {
	.cbp-ig-grid li {
		width: 50%;
	}

	/* reset the grid lines */
	.cbp-ig-grid li:nth-child(-n+3){
		border-top: 1px solid #ddd;
	}

	.cbp-ig-grid li:nth-child(3n-1),
	.cbp-ig-grid li:nth-child(3n-2) {
		box-shadow: none;
	}

	.cbp-ig-grid li:nth-child(-n+2){
		border-top: none;
	}

	.cbp-ig-grid li:nth-child(2n-1) {
		box-shadow: 1px 0 0 #ddd;
	}
}


@media screen and (max-width: 41.6em) {
	.cbp-ig-grid li {
		width: 100%;
	}

	.cbp-ig-grid li:nth-child(-n+2){
		border-top: 1px solid #ddd;
	}

	.cbp-ig-grid li:nth-child(2n-1) {
		box-shadow: none
	}

	.cbp-ig-grid li:first-child {
		border-top: none;
	}
}


@media screen and (max-width: 25em) {
	.cbp-ig-grid {
		font-size: 80%;
	}

	.cbp-ig-grid .cbp-ig-category {
		margin-top: 20px;
	}
}




@media (max-width: 1024px) {

	/* footer media mobile */
	footer .wrapper .links {
	  width: 50px;
	  padding-left: 30px;
		}
	footer .wrapper .colophon {
	  margin-left: 25px;
	  margin-right: 10px;
	}
	footer .wrapper .colophon p{
		font-size: 12px;
	}
}

@media (max-width: 640px) {
	/* header media */
	.nav-item a {
	  margin-left: 15px;
	  margin-right: 15px;
	  font-size: 18px;
	}

	/* Main */
	.content p{
		font-size: 1.3em;
	}

	/* footer media mobile */
	footer .wrapper .links {
	  	width: 0;
	  	padding-left: 0;
	}
	footer .wrapper .footer-menu ul li {
		text-align: left;
		margin: 2px;
	}
	footer .wrapper .about {
	  padding: 0 5px 0 10px;
	}
	footer .wrapper .colophon p{
		font-size: 12px;
	}
}
