h1, h3, p {
	text-align: center;
}

h1 {
	font-size:52px;
	font-family: 'Russo One';
	margin-top:0;
}

/***************
** TITLE PAGE **
****************/
#section-1 h1 {
	margin-top:50px;
	margin-left: 50px;
	margin-right: 700px;
	color: #A51C30; /* Harvard Crimson */
}

/***************
** TITLE PAGE **
****************/
#section-1 h1 {
	margin-top:50px;
	margin-left: 50px;
	margin-right: 700px;
	color: #A51C30; /* Harvard Crimson */
	font-family: 'Russo One', sans-serif;
	position: relative;
	z-index: 2;
}

#section-1 h3 {
	margin-left: 50px;
	margin-right: 700px;
	margin-bottom:100px;
	font-family: 'Russo One', sans-serif;
	position: relative;
	z-index: 2;
}

#section-1 h3 {
	margin-left: 50px;
	margin-right: 700px;
	margin-bottom:100px;
	font-family: 'Russo One', sans-serif;
	position: relative;
	z-index: 2;
}

#section-1:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity: 1;
	background-image: url('../img/banner.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/********************
** RED TEXT BLOCKS **
*********************/
.center-blurb {
	display: flex;
	align-items: center;
	justify-content: center;
}

.text-block {
	position: relative;
	z-index: 2;
	width:75%;
	background-color: #A51C30; /* Harvard Crimson */
	color: white;
	font-size: 28px;
	padding: 20px;
	font-family: 'Russo One', sans-serif;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/***********************
** FACULTY DOTS BLURB **
************************/
#section-faculty-dots-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption1.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

/*********************************
** FACULTY INTEREST TABLE BLURB **
**********************************/
#section-faculty-interest-table-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption2.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/***********************
** RELATIONSHIP BLURB **
************************/
#relationship-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption3.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/***************************
** ADJACENCY MATRIX BLURB **
****************************/
#section-faculty-adj-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption4.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/************************
** NETWORK GRAPH BLURB **
*************************/
#network-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption5.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/**************
** MAP BLURB **
***************/
#map-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/caption6.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

/**************
** END BLURB **
***************/
#end-blurb:after {
	position: absolute;
	width: 99%;
	height: 100%;
	z-index: 1;
	opacity:0.6;
	background-image: url('../img/end.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.profile-row {
	padding-top: 20px;
	padding-bottom: 20px;
}

.profile {
	text-align: center;
}

.profile-info {
	line-height: 0.75;
	padding-top: 10px;
}

.end-text {
	font-size: 20px;
}

/********************
** STORYLINE POPUP **
********************/

.student {
	background-color: #A51C30; /* Harvard Crimson */
	display: block;
	padding: 10px;
	z-index: 2;

	width: 50%;
	position: absolute;
	bottom: 20px;
	right: 20px;
}

.student-intro {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.student:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.student img {
	float: left;
	margin-right: 10px;
}

.student p {
	margin: 0;
	padding-left: 160px;
	padding-right: 25px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: left;

	font-family: 'Russo One', sans-serif;
	font-size: 12px;
	color: white;
}

#close {
	float: right;
	display: inline-block;
	padding: 2px 5px;

	background: white;
}

/******************************************
** INDIVIDUAL VISUALIZATION SPECIFIC CSS **
*******************************************/
#word-frequency-chart {
	height: 800px;
	width: 30%; /* more? */
}

#click-facts-adjacency-matrix {
	font: 13px sans-serif;
	background: lightgoldenrodyellow;
	width: 200px;
	height: 130px;
}

#researchInterestsTooltip {
	width: 400px;
}

#researchInterestsTooltip p {
	font-size: 11px;
	padding: 0px;
}

#groupTooltip, #networkTooltip {
	width: 400px;
}

#groupTooltip p, #networkTooltip p {
	font-size: 11px;
	padding: 0px;
}

#groupTooltip h2 {
	font-size: 25px;
	padding-bottom: 20px;
}

#groupTooltip img {
	width: 30px;
	height: 45px;
}

#faculty-dots .label-circle-text {
	font-size: 10px;
}



#relationship-section {
	margin-top: 5px;
	margin-bottom: 5px;
}

rect {
	cursor: pointer;
}

.label {
	fill: white;
	pointer-events: none;
}

.link {
	fill: none;
	stroke-width: 1px;
}

.activeFaculty {
	fill: #ed1b34;
	stroke: #ed1b34;
}

.activeLink {
	fill: none;
	stroke-width: 3px;
}

.repressNode {
	fill: #CCC;
	stroke: #CCC;
}

.repressLink {
	stroke: #CCC;
	stroke-width: 0px;
}

#faculty-adj-matrix .colorscale-label {
	font-size: 10px;
}

#faculty-adj-matrix .matrix-column-labels {
	font-size: 9px;
}

#faculty-adj-matrix .matrix-row-labels {
	font-size: 9px;
}

#word-frequency-chart .axis-label {
	font-size: 11px;
}

#word-frequency-chart .bar-title {
	font-size: 13px;
}

#word-frequency-chart .subtitle-top {
	font-size: 11px;
}

#word-frequency-chart .subtitle-bottom {
	font-size: 9px;
}

#faculty-interest-table .matrix-row-labels {
	font-size: 10px;
}

#faculty-interest-table .matrix-column-labels {
	font-size: 9px;
}

/*the container must be positioned relative:*/
.autocomplete {
	position: relative;
	display: inline-block;
}

.autocomplete-items {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	right: 0;
}

.autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
	background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
	background-color: #A51C30 !important;
	color: #ffffff;
}

input {
	border: 1px solid transparent;
	background-color: #f1f1f1;
	padding: 10px;
	font-size: 16px;
}

input[type=text] {
	background-color: #f1f1f1;
	width: 100%;
}

input[type=submit] {
	background-color: #A51C30;
	color: #fff;
	cursor: pointer;
}

#network-counts {
	position: relative;
	margin: auto;
	font-size: 20px;
	height:200px;
}

#network-axis {
	font-size: 16px;
}

#network-summary {
	margin: 20px;
}

#network-pic {
	margin: auto;
	padding-left: 100px;
}

#faculty-image:hover {
	opacity: 60%;
}

#network-table {
	margin:auto;
	padding-right: 100px;
}

#network-selector {
	font-size: 20px;
	margin:auto;
}

.text-student {
	width:50%;
	position: absolute;
	background-color: rgba(255, 0, 0, 0.8);
	color: white;
	padding: 20px;
	font-size: 12px;
	bottom: 20px;
	right: 20px;
}

.image-student {
	position: absolute;
	bottom: 20px;
	right: 50%;
}

.button-student {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

#network-graph-wrapper {
	position: relative;
}

#network-graph {
	height: 700px;
}

#network-clicker {
	display: flex;
	margin: auto;
	align-items: center;
	justify-content: center;
	height: 600px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #737373;
	opacity: 0.9;
}
