@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/* Mobile First */
/******Sections******/
.center {
  margin: auto;
  width: 99%;
  text-align: center;
}

body {
  font-family: "Open Sans", serif;
  line-height: 1.25;
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 1em;
  background-color: #fafafa;
}

nav {
  float: left;
  top: 0;
  font-size: 1.5em;
  height: 185px;
  width: 100%;
  margin: 0 0 50px 0;
  padding: 0;
  background-color: #fafafa;
  border-bottom: 1px #ddd solid;
}

div.nav_name {
  float: left;
  width: 95%;
  padding-left: 1em;
  text-align: top;
}

div.nav_links {
  float: left;
  width: 95%;
  text-align: top;
  font-weight: bold;
}

main {
  /* Outer div */
  clear: both;
  top: 325px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-size: 1em;
  width: 100%;
}

content {
  /* Inner div with margins */
  clear: both;
  margin: 0 auto;
}

div.text_section {
  /* Container for responsive text and pictures */
  width: 90%;
  margin: 0 1em 5em 1em;
  line-height: 135%;
}

/* Tiles */
div.tile_section {
  /* Container for tiles pages */
  width: 90%;
  margin: 0 1em 5em 1em;
}

div.outer {
  /* Outer div of flexbox */
  /* Outer div for tiles */
  /* display: flex;
  flex-direction: row; */
  border: 1px white solid;
  margin: 0 auto 70px auto;
}

div.inner {
  /* Innter div for tiles */
  /* display: flex;
  flex-direction: column; */
  /*display: block; /* this works */
  display: flex;
  flex-direction: row;
  /* border: 1px black solid; */
  padding: 20px 0 0 0;
}

div.tile {
  /* Individual tile */
  margin: 0;
  flex-grow: 1;
  flex-basis: 0;
}

div.desc {
  /* Tile Description */
  padding: 5px 10px 5px 10px;
  margin: 0;
  flex-grow: 1;
  flex-basis: 0;
}

/* Tiles */
div.split {
  /* Outer div for tiles */
  display: inline;
}

footer {
  clear: both;
  position: fixed;
  bottom: 0;
  width: 99%;
  height: 20px;
  padding: 1em 1em 1em 1em;
  background-color: #ddd;
  font-size: 1em;
}

div.box {
  /** Box for quotes and highlights **/
  display: block;
  padding: .5em 1em .5em 1em;
  margin: 1em auto 1em auto;
  width: 90%;
  background-color: #fafafa;
}

/******Images*******/
img.text_section {
  display: block;
  margin: 1em auto 3em auto;
  max-width: 100%;
}

img.text_section-sm {
  display: block;
  margin: 1em auto 3em auto;
  max-width: 100%;
}

div.tile img {
  height: 240px;
  width: 240px;
  margin: auto;
}

video {
  width: 200;
  height: 10;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin: 1em 0em 1em 0em;
}

/*********Text***********/
h1 {
  text-align: left;
  font-size: 2em;
  font-weight: normal;
  color: #868686;
  margin-left: 20px;
}

h1.home {
  text-align: left;
  font-size: 1.25em;
  color: #286dad;
  font-weight: bold;
}
small {
    font-size: .50em;
  /* border-bottom: solid #ccc 1px;
  padding: 10px 0px 0px 0px;
  margin-left: 20px;
  margin-bottom: 40px;

  font-weight: normal;
  color: #868686; */
}
h2 {
  text-align: left;
  border-bottom: solid #ccc 1px;
  padding: 10px 0px 0px 0px;
  margin-left: 20px;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: normal;
  color: #868686;
}

div.desc h2 {
  font-size: 1.5em;
  text-align: left;
  max-width: 100%;
  border-bottom: none;
  padding: 0 0 0 0;
  margin: 0;
  font-weight: bold;
  color: #868686;
}


h3 {
  text-align: left;
  margin: 3% 0% 1% 0%;
  font-size: 1.5em;
  color: #868686;
  font-weight: normal;
}

p, li {
  font-size: 1em;
  color: #333333;
}

p {
  margin-top: 30px;
}

p.breadcrumb {
  margin-left: 20px;
}

p.quote {
  font-style: italic;
  font-weight: bold;
  font-size: 1.25em;
  color: #286dad;
  line-height: 150%;
}

div.tile p {
  font-size: 1em;
  color: #333;
  max-width: 100%;
  width: 85%;
}

p.desc {
  text-align: left;
}

p.small {
  /*small text for dates, etc.*/
  text-align: left;
  font-size: .85em;
  margin: 0;
  font-weight: normal;
  color: #868686;
}

em {
  font-weight: bold;
  font-style: normal;
}

a {
  text-decoration: none;
  text-shadow: none;
  color: #286dad;
}

a.name {
  font-size: 2em;
  color: #286dad;
}

a.nav {
  font-weight: normal;
  color: #686868;
}

footer a {
  color: #686868;
  font-weight: bold;
}

ul.nav li.nav {
  width: 5%;
  list-style-type: none;
  text-decoration: none;
  display: block;
  font-weight: bold;
  font-size: .85em;
}

/********************************************************
*********************************************************
********************* 600px width ***********************
*********************************************************
********************************************************/
@media (min-width: 37.5em) {
  .center {
    margin: auto;
    width: 65%;
    text-align: center;
  }

  nav {
    top: 0;
    display: block;
    height: 60px;
    line-height: 60px;
    vertical-align: middle;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    text-align: right;
    font-size: 1.0em;
    font-weight: normal;
  }

  main {
    padding: 1em 0 1em 0;
  }

  content {
    margin: 0 auto;
  }

  div.nav_name {
    float: left;
    text-align: left;
    padding-left: 1em;
    width: 25%;
  }

  div.nav_links {
    float: right;
    width: 70%;
    line-height: 30px;
    vertical-align: middle;
  }

  div.text_section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4em;
    line-height: 175%;
  }

  div.title {
    /* Headline on title page */
    padding: 30px;
    width: 95%;
  }

  div.outer {
    /* Outer div of flexbox */
    display: flex;
    flex-direction: row;
    width: 95%;
    margin: 0 auto 80px auto;
  }

  div.inner {
    /*    display: flex; */
    display: block;
    flex-direction: row;
  }
  div.tile_section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4em;
    line-height: 200%;
  }
  div.tile {
    margin: 20px;
    max-width: 100%;
  }

  div.desc {
    /* Tile Description */
    padding: 15px 10px 5px 10px;
    flex-grow: 5;
    flex-basis: 0;
    max-width: 100%;
  }

  div.split {
    display: block;
  }

  div.box {
    /** Box for quotes and highlights **/
    display: block;
    padding: .5em 1em .5em 1em;
    margin: 2em auto 5em auto;
    width: 90%;
  }

  /****** Images ******/
  img.portrait {
    max-width: 100%;
    height: auto;
  }

  /* img.tile {
      height: 95%;
      width: 95%;
      max-width: 95%;
    } */
  img.border {
    border: solid 3px #868686;
  }

  img.wide {
    max-width: 90%;
  }

  img.split {
    max-width: 90%;
  }

  img.text_section {
    margin: 1em auto 4em auto;
    max-width: 100%;
  }

  img.text_section-sm {
    margin: 1em auto 6em auto;
  }

  div.tile img {
    height: 240px;
    width: 240px;
  }

  video {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 600px;
  }

  /******Text*******/
  h1 {
    padding: 0px 0px 0px 0px;
    font-size: 2.5em;
  }

  h1.home {
    text-align: center;
    font-size: 2.5em;
  }

  h2 {
    padding: 50px 16px 0px 0px;
    margin-bottom: 30px;
  }

  div.desc h2 {
    font-size: 2.0em;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 100%;
    border-bottom: none;
    font-weight: bold;
    color: #868686;
  }

  h3 {
    font-weight: bold;
  }

  p, li {
    font-size: 1.1em;
    color: #333333;
  }

  p.breadcrumb, a.breadcrumb {
    padding: 0px;
    display: inline;
  }

  a.name {
    font-size: 1.3em;
    color: #286dad;
  }

  a.nav {
    font-size: 1em;
    color: #686868;
    font-weight: normal;
  }

  footer a {
    font-size: .9em;
  }

  ul.nav li.nav {
    display: inline;
    list-style-type: none;
    text-decoration: none;
    margin: 0 0 0 0;
    padding: 0em 1em 0em 0em;
  }

  li.selected {
    text-decoration: none;
    list-style-type: none;
    color: #868686;
  }
}

/********************************************************
	*********************************************************
	********************* 960px width ***********************
	*********************************************************
	********************************************************/
@media (min-width: 60em) {

  /******Sections******/
  .center {
    margin: auto;
    width: 50%;
    text-align: center;
  }

  body {
    font-size: 1em;
    line-height: 1.75;
  }

  main {
    padding: 1em auto 2em auto;
  }

  content {
    margin: 0 auto;
    width: 85%;
  }

  div.text_section {
    width: 55%;
    max-width: 700px;
  }

  div.outer {
    /* Outer div of flexbox */
    display: flex;
    flex-direction: row;
    max-width: 85%;
  }

  / div.inner {

  }
  div.tile_section {
    width: 75%;
    max-width: 900px;
  }
  div.tile {

  }

  div.desc {
    /* Tile Description */
    padding: 15px 10px 5px 10px;
    min-width: 75%;
  }

  /**************Images**********/
  img.tile {

  }
  img.split {
    max-width: 50%;
  }

  div.tile img {
    height: 180px;
    width: 180px;
  }

  /******Text*******/
  h1 {
    font-size: 3.0em;
  }

  h2 {
    text-align: left;
  }
  div.desc h2 {
    font-size: 2.0em;
  }

  a.name {
    font-size: 1.75em;
  }

  a.nav {
    font-size: 1.3em;
  }

  footer a {
    font-size: 1em;
  }
}
