@import url('https://fonts.googleapis.com/css?family=Roboto|Lora');

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  margin: 0;
  min-width: 400px; /*480px*/
}

h1 {
  font-size: 18px;
  color: #4b31a9;
}

h2 {
  font-size: 16px;
  color: #ae0203;
}

ul li {
  padding: 5px 0px;
}

/* background */
.background {
  background-color: gray;
  /*background-image: linear-gradient(darkslateblue, lightslategray); */
}

/* section */
.section {
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: auto;
  height: 100%;
  max-width: 800px;
  position: relative;
  margin-top: 0;
}

/* content area - not home page */
.content {
  margin: 50px;
  padding-bottom: 50px;
}

/* images page*/
.images img {
  max-width: 100%;
  height: auto;
}

/* top banner */
.banner {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}


/* navigation bar */
.nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: #171451;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
}

/* nav list */
.nav li{
  display: inline;
}

/* style nav links */
.nav a {
  display: inline-block;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  text-decoration: none;
}

/* active text color */
.active {
  color: goldenrod;
}

/* not active text color */
.nav a:not(.active) {
  color: white;
}

/* change text color on hover */
.nav a:hover:not(.active) {
  color: lightgray;
}

.nav .icon {
  display: none;
  padding: 25px 25px;
}

.nav li:last-child {
  display: none;
  color: white;
  font-family: 'Lora', serif;
  font-size: 22px;
  padding-left: 25px;
}


/* footer */
.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #171451;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.footer p {
  display: inline-block;
  text-align: left;
  font-size: 12px;
  color: white;
}


/* flex box - 2 columns */
.fbox {
    height: 100%;
    width: 100%;
    display: flex;
    margin: auto;
    margin-bottom: 50px;
}

.leftcol, .rightcol {
    margin: 25px;
    height: auto;
}

.leftcol {
   flex: 70%;
   padding: 15px;
}

.rightcol {
   flex: 30%;
   padding: 15px 30px;
}

.lightgray {
  background-color: #dddddd;
}


/* flex box - people OLD */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  overflow: auto;
  width: 45%;
}

.flex-container > div img {
  float: left;
  width: 125px;
  height: 125px;
  margin-right: 10px;
}

/* flex box - people photo montage */
.flex-container-montage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-container-montage > div {
  margin: 10px;
  overflow: auto;
  width: 45%;
}

.flex-container-montage > div img {
  float: left;
  width: 100%;
}

#flex {
  background-color: white;
}

#flex img {
  float: right;
}


/* alumni table */
table {
  border-collapse: collapse;

}

table, th, td {
  border: 1px solid black;
  padding: 5px;
}

.scroll {
  overflow: auto;
}


/* mobile nav */
@media screen and (max-width: 650px) {
  .nav a {display: none;}
  .nav li:last-child {
    float: left;
    display: block;
  }
  .nav a.icon {
    float: right;
    display: block;
  }
  .nav {
    display: block;
    font-size: 20px;
  }
  .banner {
    display: none;
  }
  .fbox {
    flex-direction: column;
  }
  .flex-container > div {
    width: 100%;
  }
  .flex-container-montage > div {
    width: 100%;
  }
  #flex img {
  float: left;
  }
  body {
    font-size: 115%;
  }
  h1 {
    font-size: 115%;
  }
  h2 {
    font-size: 100%;
  }
}

@media screen and (max-width: 650px) {
  .nav.responsive {position: relative;}
  .nav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
    padding-top: 15px;
  }
}