body {
  margin: 0;
  padding: 0;
  font: 0.9em/1.3em Georgia, serif;
  -webkit-text-size-adjust: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson', Georgia, serif;
  font-weight: normal;
  line-height: 0.95em;
  margin: 0; }

h1 {
  font-size: 3em; }

h2 {
  font-size: 2em; }

h3 {
  font-size: 1.4em; }

h4 {
  font-size: 1.15em; }

#subnav a {
  text-decoration: none;
  color: inherit; }

a, a:visited, a:active {
  color: #ba0600;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

p {
  margin: 10px auto; }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #222;
  z-index: 10; }

a.header-logo {
  float: left;
  padding: 8px 0px 10px 30px;
  text-decoration: none;
  color: white;
  font-size: 19pt;
  font-family: Crimson, Georgia, serif;
  vertical-align: middle; }

a.header-logo:hover {
  color: #bbb; }

header h1 {
  font-family: Crimson;
  font-size: 20px;
  color: white;
  margin: 0 auto; }

#main {
  /*	margin-left: 220px; */ }

#cover {
  margin: 50px auto 20px;
  text-align: center; }

#cover img {
  width: 75%;
  z-index: 9;
  position: relative; }

#subhead, .subhead {
  font-family: 'Colaborate Thin', sans-serif;
  font-size: 35px;
  font-size: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.1;
  text-align: center;
  padding: 20px 0; }

#byline {
  margin: 0 auto;
  font: 12pt 'Colaborate Light','Lucida Sans Unicode',sans-serif;
  color: #999;
  padding-bottom: 20px; }

#byline a {
  color: #999; }

.intro {
  margin: 0 auto;
  width: 75%; }

.intro p,
.intro ul li {
  font-size: 20px;
  line-height: 1.5em;
  max-width: 1130px; }

.intro ul li {
  width: 80%;
  margin: 10px auto; }

.landing {
  margin: 0 auto; }

@media (min-width: 1260px) {
  .landing {
    width: 1120px; } }
.section-row {
  display: flex; }

.section-container-large {
  flex-basis: 0px;
  flex-grow: 1.25;
  display: flex;
  flex-direction: column; }
  .section-container-large .survey-section > .card {
    height: 200px; }

.section-container-small {
  flex-basis: 0px;
  flex-grow: 1; }
  .section-container-small .card {
    height: 430px; }

.survey-section {
  display: block;
  margin: 15px; }
  .survey-section > div.card {
    position: relative;
    color: #ffffff;
    font-family: 'Lato';
    font-size: 1.5em;
    font-weight: 300;
    width: 100%;
    /*border: 1px solid white;*/
    cursor: pointer;
    vertical-align: bottom;
    background-size: cover; }
    .survey-section > div.card > .text {
      position: relative;
      top: 170px;
      height: 30px;
      display: block;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.6); }

.landing > p {
  clear: both; }

#bottom-row .survey-section {
  flex-basis: 0px;
  flex-grow: 1; }
#bottom-row .card {
  height: 200px; }

#after-harvard {
  background-image: url("/2020/senior-survey/img/after_harvard.jpg"); }

#academics {
  background-image: url("/2020/senior-survey/img/academics.jpg"); }

#lifestyle {
  background-image: url("/2020/senior-survey/img/lifestyle.jpg"); }

#campus-politics {
  background-image: url("/2020/senior-survey/img/campus_politics.jpg"); }

#national-politics {
  background-image: url("/2020/senior-survey/img/national_politics.jpg"); }

#covid-19 {
  background-image: url("/2020/senior-survey/img/covid-19.jpg"); }

#methodology {
  background-image: url("/2020/senior-survey/img/methodology.jpg"); }

.section-text {
  background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, transparent), color-stop(100%, rgba(0, 0, 0, 0.65)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
  /* IE6-9 */
  position: absolute;
  bottom: 0px;
  font-size: 2em;
  color: white;
  padding: 30px;
  overflow: hidden;
  text-shadow: #555 2px 2px 3px;
  width: calc(100% - 60px);
  line-height: 100%; }

div.card {
  box-shadow: 0px 0px 0px #ffffff;
  transition: box-shadow 0.2s; }

div.card:hover {
  /*box-shadow: 3px 3px 10px #aaaaaa;*/ }

.cover {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.2s;
  background-color: rgba(255, 255, 255, 0.3); }

div.card:hover .cover {
  opacity: 1; }

.landingcontainer {
  width: 90%;
  margin: 0 auto; }

#regions-outer {
  text-align: center; }

#regions-inner {
  margin: 0 auto; }

#paper {
  float: left;
  overflow: hidden;
  width: 72%;
  margin: 50px 0; }

.region {
  float: left;
  width: 100%;
  display: none; }

#regions-right {
  float: left;
  width: 28%; }

#paper h2 {
  text-align: center;
  font-family: 'Colaborate Thin';
  font-size: 30px;
  margin: 10px 0; }

.scatter {
  width: 85%;
  margin: 0 auto 40px auto;
  height: 400px; }

.scroll-row {
  margin: 0 auto;
  max-width: 800px;
  overflow: hidden; }

.scroll-row:last-child {
  margin-bottom: 100px; }

.scroll-row h1 {
  font-family: 'Colaborate';
  margin: 100px 0 0; }

.scroll-row h2 {
  text-align: center;
  font-family: 'Colaborate Thin';
  margin: 10px 0; }

#regions-right h3 {
  text-align: center;
  font-family: 'Colaborate Thin'; }

.region-stat {
  font-family: Georgia;
  font-style: italic;
  font-size: 50px;
  text-align: center;
  margin: 40px 0; }

hr {
  background: #ccc;
  border: none;
  height: 1px;
  margin: 40px auto;
  width: 80%; }

#topicnav {
  float: left;
  width: 240px; }

#topicnav #narrative-button,
#topicnav #yale-button,
#topicnav #data-button {
  margin-top: 10px;
  background-color: #000;
  color: #fff;
  padding: 10px;
  display: inline-block;
  font-size: 20px; }

#subnav ul,
#topicnav ul {
  list-style: none;
  padding: 0;
  font-family: 'Lato', sans-serif; }

#subnav ul li {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  line-height: 1em;
  padding: 10px 0;
  margin-left: 10px;
  cursor: pointer; }

#subnav ul li:hover {
  color: #ba0600; }

.scroll-row p div {
  width: 80%; }

/* nav buttons */
.nav-button {
  position: fixed;
  right: 5%;
  height: 32px;
  width: 32px;
  background-size: 32px 32px;
  background-color: #ddd;
  z-index: 8; }

#nav-button-prev {
  top: 50px;
  background-image: url("../img/up-arrow.png"); }

#nav-button-next {
  bottom: 20px;
  background-image: url("../img/down-arrow.png"); }

.nav-button:hover {
  background-color: rgba(186, 6, 0, 0.2); }

.full-width {
  width: 100%;
  background-size: cover;
  height: 100vh;
  background-position: center;
  color: white;
  font-family: 'Qlassik', sans-serif;
  text-shadow: 0 0 10px black;
  overflow: hidden; }

.full-width img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.full-width div {
  text-align: center;
  position: absolute;
  top: 110px;
  left: 42px; }

#title-1 {
  /*	position: absolute;
  	top: 171px;
  	left: 46px;*/
  font-size: 42pt;
  line-height: 36pt; }

#title-2 {
  /*	position: absolute;
  	top: 260px;
  	left: 42px;
  */
  font-size: 163pt;
  line-height: 80pt; }

#title-3 {
  /*	position: absolute;
  	top: 350px;
  	left: 94px;*/
  font-size: 42pt;
  line-height: 42pt;
  margin-top: 18px; }

#title-4 {
  /*	position: absolute;
  	top: 383px;
  	left: 50px;*/
  font-size: 14px;
  font-weight: 200;
  width: 360px;
  margin: 0px auto 0;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
  color: white;
  font-family: 'Colaborate Thin'; }

#title-4 a {
  color: white;
  font-family: 'Colaborate'; }

@media (max-width: 480px) {
  #title-1 {
    /*		left: 26px;*/
    font-size: 38pt; }

  #title-2 {
    /*		left: 22px;*/
    font-size: 120pt; }

  #title-3 {
    /*		top: 340px;
    		left: 40px;*/
    font-size: 38pt; }

  #title-4 {
    /*		top: 373px;
    		left: 20px;*/
    width: 320px; }

  .full-width div {
    margin-top: 100px;
    text-align: center;
    position: initial; } }
/* Layout */
.half.horizontal {
  width: 45%;
  float: left;
  margin: 0 2.5%; }

#subnav ul li.active {
  font-weight: bold; }

.slider {
  width: 50%; }

.banner {
  position: relative;
  overflow: auto;
  /* Hack to override css set by javascript */
  height: auto !important;
  padding-bottom: 30px; }

.banner ul {
  margin-bottom: 20px;
  padding: 0; }

.banner li {
  list-style: none;
  width: 100%; }

.banner ul li {
  float: left;
  height: 600px; }

.banner .dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: 0;
  text-align: center; }

.graph {
  width: 100%;
  max-width: 800px;
  margin: 0 auto; }

.banner ol {
  padding: 0; }

.banner .dots li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  text-indent: -999em;
  border: 1px solid #be110c;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: background .2s, opacity .2s;
  -moz-transition: background .2s, opacity .2s;
  transition: background .2s, opacity .2s; }

.banner .dots li.active {
  background: #be110c; }

.banner .dots li:hover {
  background: #720000;
  border-color: #720000; }

#salary .banner ul li {
  height: 750px; }

.unslider-arrow {
  color: #be110c;
  font-size: 36px;
  font-weight: 200;
  position: relative;
  top: -30px; }

a.unslider-arrow:hover {
  color: #720000;
  text-decoration: none; }

.unslider-arrow.next {
  right: -74%; }

.unslider-arrow.prev {
  left: 20%; }

.ad {
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #ccc; }

.box.ad {
  width: 300px;
  height: 250px;
  margin: 50px auto; }

@media (max-width: 320px) {
  .box.ad {
    padding: 0px;
    margin: 0px;
    margin-left: -10px; } }
.leaderboard.ad {
  width: 728px;
  height: 90px;
  margin: 50px auto; }

header ul {
  float: left;
  list-style: none;
  padding-left: 40px;
  margin: 0;
  height: 100%; }

header ul li {
  padding: 0 20px;
  line-height: 36px;
  float: left;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 12pt;
  font-weight: 300;
  cursor: hand;
  height: 100%;
  vertical-align: middle; }

header ul li:hover, header ul li.active {
  color: #fff;
  background-color: rgba(186, 6, 0, 0.3); }

header ul li.inactive {
  color: #CCC; }

header ul li.inactive:hover {
  background-color: rgba(187, 6, 0, 0.95);
  color: #CCC;
  cursor: default; }

@media (max-width: 890px) {
  #topicnav {
    display: none; }

  #main {
    width: 90%;
    margin: 0 auto; }

  header ul li {
    padding: 0 10px;
    font-size: 12px; }

  #paper {
    width: 100%;
    margin-bottom: 20px; }

  #regions .banner ul li {
    height: 750px; }

  #regions-right {
    clear: both;
    margin: 0 auto;
    width: 100%; }

  #regions-right h3 {
    display: block;
    margin: 10px 0; }

  .region-stat {
    display: inline-block;
    font-size: 20px;
    margin: 0; }

  #salary .banner ul li {
    height: 750px; }

  #nav-button-next {
    bottom: 50px; }

  #nav-button-prev {
    top: 80px; }

  .scroll-row p {
    width: 100%; }

  .intro {
    width: 100%; }

  div.wrapper {
    margin-left: 0px; } }
@media (max-width: 720px) {
  header ul {
    width: 100%;
    background-color: #ba0600; }

  .leaderboard.ad {
    display: none; } }
.wrapper {
  /*margin-left: 50px;*/
  /* margin: 0 auto; */
  /* max-width: 960px; */ }

.affix {
  position: fixed;
  /*top: 40%;*/ }

.tab-panes {
  padding: 0; }

.tab-panes > li {
  display: none; }

.tab-panes > li.active {
  display: block; }

/* BOOTSTRAP TABS */
.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none; }

.nav:before,
.nav:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.nav:after {
  clear: both; }

.nav > li {
  position: relative;
  display: block; }

.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-family: 'Colaborate Thin';
  font-size: 1.2em; }

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee; }

.nav > li.disabled > a {
  color: #999999; }

.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #999999;
  text-decoration: none;
  background-color: transparent;
  cursor: not-allowed; }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eeeeee;
  /*border-color: #428bca;*/ }

.nav-tabs {
  border-bottom: 1px solid #dddddd; }

.nav-tabs > li {
  float: left;
  margin-bottom: 0px; }

.nav-tabs > li > a {
  /*margin-right: 2px;*/
  /*line-height: 1.428571429;*/
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0; }

.nav-tabs > li > a:hover {
  /*border-color: #eeeeee #eeeeee #dddddd;*/ }

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #ffffff;
  background-color: #bb0600;
  border: 1px solid #dddddd;
  border-bottom-color: rgba(187, 6, 0, 0.95);
  cursor: default; }

.nav-tabs.nav-justified {
  width: 100%; }

.nav-tabs.nav-justified > li {
  float: none; }

.nav-tabs.nav-justified > li > a {
  text-align: center; }

@media (min-width: 768px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%; } }
.nav-tabs.nav-justified > li > a {
  border-bottom: 1px solid #dddddd;
  margin-right: 0; }

.nav-tabs.nav-justified > .active > a {
  border-bottom-color: #ffffff; }

.highcharts-container {
  margin-left: auto;
  margin-right: auto; }

#footer {
  font-style: italic;
  font-size: 0.8em;
  color: #bbbbbb;
  clear: both;
  text-align: right;
  padding-right: 15px;
  margin-bottom: 10px; }

.year-switch {
  text-align: center; }

ul.year-switch {
  padding-left: 0; }

.year-switch-option {
  display: inline-block;
  font-size: 22px;
  font-family: 'Colaborate Thin';
  background-color: white;
  border: 1px solid #ddd;
  margin-right: -1px;
  padding: 10px 15px;
  font-size: 12pt;
  cursor: pointer;
  /* https://stackoverflow.com/questions/826782 */
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.year-switch-option:first-child {
  border-radius: 4px 0 0 4px; }

.year-switch-option:last-child {
  border-radius: 0 4px 4px 0; }

.year-switch-option.selected {
  background-color: rgba(187, 6, 0, 0.95);
  color: #FAFAFA;
  border-color: rgba(187, 6, 0, 0.95); }

@media (max-width: 650px) {
  .intro p {
    max-width: 550px; } }
@media (min-width: 901px) {
  header ul li {
    font-size: 10pt;
    padding: 0px 8px; }

  /*	header .wrapper {
  		margin-left: 20px;
  	}*/
  header .header-nav {
    padding-left: 20px; } }
.sidebar-menu-button {
  display: none; }

@media (max-width: 900px) {
  header .header-nav {
    display: none; }

  .sidebar-menu-button {
    display: block; }

  header a.header-logo {
    padding-left: 0; } }
@media (max-width: 640px) {
  header a.header-logo {
    /*padding: 18px 0 20px;*/
    padding: 10px 0 10px;
    font-size: 19pt;
    width: 222px; }

  .sidebar-menu-button {
    height: 24px;
    width: 32px;
    margin-top: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
    /*	    padding-top: 16px;
    	    padding-bottom: 16px;*/
    padding-left: 10px;
    padding-right: 10px; }

  #sidebar-menu {
    top: 40px; } }
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.clearfix:after {
  clear: both; }

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1; }

/*
 * ADDED FOR COMMENCEMENT 2017
 */
.infographic {
  margin-left: auto;
  margin-right: auto; }

svg {
  margin-left: auto;
  margin-right: auto; }

.infographic div {
  margin-left: auto;
  margin-right: auto; }

.infographic-headline {
  line-height: 110%; }

.infographic-select {
  margin-left: auto;
  margin-right: auto;
  display: block; }

.infographic-select {
  border: 1px solid #ccc;
  width: 260px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  border-radius: 3px;
  overflow: hidden; }

.infographic-select select {
  padding: 5px 8px;
  width: 130%;
  border: none;
  box-shadow: none;
  background: transparent;
  background-image: none;
  -webkit-appearance: none; }

.infographic-select select:focus {
  outline: none; }

.donut-header {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  text-align: center; }

@media (min-width: 640px) {
  .donut-left {
    width: 50%;
    float: left; }

  .donut-right {
    width: 50%;
    float: right; }

  .donut-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: flex-start; }
    .donut-group .donut {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 33%; }
      .donut-group .donut.half-width {
        width: 50%; }
      .donut-group .donut svg {
        height: auto; } }
#intro-text {
  max-width: 700px; }

#affix-static {
  position: static !important; }

#topicnav {
  position: fixed; }

@media (max-width: 1072px) {
  #topicnav {
    display: none !important; } }
@media only screen and (max-width: 768px) {
  .section-row {
    flex-direction: column; }

  .section-container-large {
    flex-grow: initial;
    flex-basis: initial; }

  .section-container-small {
    flex-grow: initial;
    flex-basis: initial; }

  .section-container-small .card {
    height: 200px; } }
/*
 * ADDED FOR COMMENCEMENT 2019
 */
.interactive-map {
  height: 500px;
  min-width: 310px;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px; }

.byd3-tooltip {
  line-height: 18px; }
