@font-face{ 
	font-family: 'Roboto Light';
	src: url('fonts/RobotoCondensed-Light-webfont.eot');
	src: url('fonts/RobotoCondensed-Light-webfont.eot?iefix') format('eot'),
	     url('fonts/RobotoCondensed-Light-webfont.woff') format('woff'),
	     url('fonts/RobotoCondensed-Light-webfont.ttf') format('truetype'),
	     url('fonts/RobotoCondensed-Light-webfont.svg#webfont') format('svg');
}

@font-face{ 
	font-family: 'Roboto Reg';
	src: url('fonts/Roboto-Regular-webfont.eot');
	src: url('fonts/Roboto-Regular-webfont.eot?iefix') format('eot'),
	     url('fonts/Roboto-Regular-webfont.woff') format('woff'),
	     url('fonts/Roboto-Regular-webfont.ttf') format('truetype'),
	     url('fonts/Roboto-Regular-webfont.svg#webfont') format('svg');
}

h1, h2, h3, h4, h5, h6 { /*reset for mobile browsers */

font-weight: normal;

}

body {
	font-family: 'Lora', serif;
	padding: 0;
  	margin: 0;
  	min-width: 970px;
}

h1, h2, h4 {
	font-family: 'Roboto Light';
}

.air-section, .life-sciences-section, .data-analysis-section, .math-section, .education-section {
	padding-bottom: 35px;
}

section h3 {
	font-family: 'Roboto Reg';
	text-align: center;
  	font-size: 14px;
  	border: 3px solid rgb(3,187,255);
  	padding: 10px 5px;
  	margin: 40px auto 50px auto;
}

section a {
	font-family: 'Lora', serif;
	font-style: italic; 
}

section p {
	font-family: 'Lora', serif;
}

.wrapper {
	width: 970px;
	margin: 0 auto;
}

/* ***** NAV ***** */

div.main-nav {
	margin-bottom: 125px;
}

div.nav-container-top {
	width: 100%;
	height: 190px;
	background-color: #e7e7e7;
	position: relative;
	z-index: 100;
}

img.nav-logo-big {
	display: block;
  	margin: 0 auto;
  	padding-top: 32px;
  	margin-bottom: -5px;
  	width: 245px;}

h1.nav-header {
	font-family: 'Roboto Light';
	text-align: center;
	font-size: 40px;
	margin: 0 auto;
	letter-spacing: 1px;
	font-weight: 100;
}

img.edition {
	display: block;
  	margin: -10px auto 0 auto;
}

.nav-container-bottom {
	position: absolute;
  	left: 0;
  	right: 0;
  	z-index: 10;
  	background-color: white;
}

.nav-container-bottom ul {
	text-align: center;
  	padding-left: 0;
	list-style-type: none;
	border-bottom: 2px solid black;
  	padding: 10px 0 20px 0;
  	margin-bottom: 0px;
}

.nav-container-bottom li {
	padding: 0 30px;
	font-family: 'Roboto Light';
	font-size: 28px;
	display: inline;
}

/*div.drop-nav {
	display: none;
}*/

img.nav-logo-small {
	display: block;
	display: none;
	margin: 0 auto -7px auto;
	padding-top: 3px;
	width: 160px;
}

h2.drop-nav-header {
	display: none;
	font-family: 'Roboto Light';
	font-size: 18px;
	text-align: center;
	margin-top: 0px;
	letter-spacing: 1px;
}

div.drop-nav-header-container {
	position: fixed;
	top: 0;
	width: 100%;
	min-width: 970px;
	height: 60px;
	background-color: #e7e7e7;
	z-index: 10;
}

.drop-nav-menu {
	position: fixed;
  	left: 0;
  	right: 0;
  	top: 0px;
  	background-color: white;
  	z-index: 9;
}
	
.drop-nav-menu ul {
	text-align: center;
  	padding-left: 0;
	list-style-type: none;
	border-bottom: 2px solid black;
  	padding: 10px 0 30px 0;
  	margin-bottom: 0px;
}

.drop-nav-menu li {
	padding: 0 30px;
	font-family: 'Roboto Light';
	font-size: 28px;
	display: inline;
}

header a {
	color: #000000;
	text-decoration: none;
	letter-spacing: 1px;
}

header a:hover {
	border-bottom: 3px solid #03bbff;
}

a.selected {
	border-bottom: 3px solid #03bbff;
}

img.hamburger {
	display: none;
	position: absolute;
  	top: 59px;
  	left: 472px;
  	cursor: pointer;
}

div.story-half {
	text-align: center;
	width: 50%;
	float: left;
	height: 278px;
	position: relative;
}

div.story-half img {
	opacity: 0;
    position: absolute;
    transition: all 0.6s ease-in;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 278px;
}

div.story-half h4 {
	transition: all 0.01s ease-in;
}

div.story-half p.read-now {
	
}

div.story-half a {
	position: relative;
	transition: all 0.2s ease-in;
}

div.story-half a.story-link, div.story-whole a.story-link {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-decoration: none; /* No underlines on the link */
    z-index: 6; /* Places the link above everything else in the div */
    opacity: 0;
}

div.story-half:hover img {
	transition: all 1.5s;
	opacity: 1;
}

div.story-half:hover h4 {
	position: relative;
	padding-top: 86px;
	color: #ffffff;
	z-index: 3;
	transition: padding-top 0.5s ease-in;
}

div.story-half:hover p.article-text {
	opacity: 0;
}

div.story-half:hover p.read-now {
	transition: all 0.5s ease-in;
	margin-top: -135px;
}

div.story-half:hover p.read-now a {
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
}

div.story-half, div.story-whole {
	line-height: 24px;
}

div.story-whole {
	padding-top: 40px;
	text-align: center;
	clear: both;
	position: relative;
}

div.story-whole img {
	opacity: 0;
    position: absolute;
    transition: all 0.2s ease-in;
    top: 0;
    left: 0;
    width: 100%;
}

div.story-whole a {
	position: relative;
	transition: all 0.2s ease-in;
}

div.story-whole:hover img {
	transition: all 1.5s;
	opacity: 1;
}

div.story-whole:hover h4 {
	position: relative;
	padding-top: 20px;
	color: #ffffff;
	z-index: 3;
	transition: padding-top 0.5s ease-in;
}

div.story-whole:hover p.article-text {
	opacity: 0;
}

div.story-whole:hover p.read-now {
	transition: all 0.5s ease-in;
	margin-top: -115px;
}

div.story-whole:hover p.read-now-brain {
	transition: all 0.5s ease-in;
	margin-top: -85px;
}

div.story-whole:hover p.read-now a {
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
}

div.story-whole:hover p.read-now-brain a {
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
}

div.row {
	clear: both;
}

section h4 {
	font-size: 28px;
	margin: 0 auto;
	line-height: 33px;
  	letter-spacing: 1px;
}

/* ******** Autism Research Initiative Section ********* */

div.air-section {
	border-bottom: 1px solid #000;
	height: 610px;
}

h3.ari-section-header {
  	width: 180px;
}

div.story-half h4 {
	margin-bottom: 25px;
}

div.story-half p {
	font-size: 17px;
	width: 100%;
	max-width: 375px;
  	margin: 0 auto 30px auto;
}

div.story-half a, div.story-whole a  {
	text-decoration: none;
	border-bottom: 1px solid #000;
  	color: #000;	
  	padding-bottom: 5px;
}

div.story-half p.research {
	width: 100%;
  	max-width: 380px;
}

h4.simons-simplex {
  	width: 223px;
}

h4.sfari {
  	width: 223px;
}

.story-whole h4 {
	margin-bottom: 25px;
}

h4.brain-net {
	font-size: 28px;
}

.story-whole p {
	width: 100%;
	max-width: 690px;
  	margin: 0 auto 30px auto;
  	font-size: 17px;
}

/* ***** Life Sciences Section ***** */

div.life-sciences-section {
	border-bottom: 1px solid #000;
  	height: 645px;
}

h4.scientific-trans {
	width: 300px;
}

h4.global-brain {
	width: 300px;
}

h4.ocean-processes {
	margin-top: 20px
}

h3.life-sciences-header {
	width: 97px;
}

.story-half p.neuroscience {
	max-width: 329px;
}

.story-half p.institute {
	max-width: 425px;
}

.story-half p.many-elec {
	max-width: 425px;
}

.story-half p.sci-trans {
	max-width: 291px;
}

/* ****** Simons Center for Data Analysis Section ****** */

div.data-analysis-section {
	border-bottom: 1px solid #000;
  	height: 710px;
}

h3.data-analysis-section-header {
  	width: 220px;
}

h4.data-analysis-header {
	width: 250px;
}

div.story-half p.troyanskaya {
	max-width: 375px;
}

div.story-half p.bio-algo {
	max-width: 375px;
}

div.story-half p.neuro-collab {
	max-width: 375px;
}

.second.row {
	padding-top: 60px;
}

/* ***** Mathematics & Physical Sciences Secition ***** */

div.math-section {
	border-bottom: 1px solid #000;
  	height: 685px;
}

h3.math-section-header {
	width: 225px;
}

h4.geo-collab, h4.many-collab {
	width: 100%;
	max-width: 390px;
}

h4.math-model {
	margin-top: 20px;
	width: 100%;
	max-width: 620px;
}

div.collab {
	position: relative;
}

img.collab-icon-geo {
	position: absolute;
	top: 29px;
  	left: 91%;
}

img.collab-icon-many {
	position: absolute;
	top: 29px;
  	left: 88.5%;
}

/* ***** Education & Outreach Section ***** */

div.education-section {
	height: 735px;
}

h3.education-section-header {
	width: 155px;
}

h4.math-sciences {
	width: 100%;
	max-width: 315px;
}

h4.quanta {
	width: 100%;
	max-width: 230px;
}

a.back-to-top {
	font-family: 'Roboto Reg', sans-serif;
	text-decoration: none;
}

.back-to-top p {
	width: 100px;
  	margin: 0 auto 100px auto;
  	border: 2px solid #000;
  	text-align: center;
  	padding: 5px 10px;
  	font-size: 17px;
  	color: #000;
  	clear: both;
}

div.footer {
	clear: both;
	padding-top: 20px;
	margin: 10px auto;
  	text-align: center;
  	font-size: 14px;
  	font-family: 'Roboto Reg';
}

div.footer a {
	color: #03bbff;
	text-decoration: none;
	border-bottom: none;
}

div.bottom-nav div.footer a {
	color: #03bbff;
	text-decoration: none;
	border-bottom: none;
}
