html, body {
  margin: 0;
}
body {
  font-size: 16px;
}
img {
  display: block;
  width: 100%;
}

.force-inline {
  display: inline;
}

#page-body {
  margin-top: 45px;
  min-height: calc(100vh - 195px);
  height: auto !important;
}
#page-body.container, #page-body.container-fluid {
  padding-bottom: 30px;
  min-height: calc(100vh - 165px);
}

#section-publications ul {
  padding: 0;
}
#section-publications li {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
}

.page-header h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
  margin-top: 1.5em;
}

footer.page-footer {
  padding-top: 1.5em;
  background-color: #8c1515;
  color: white;
  text-align: right;
  min-height: 120px;
}

footer.page-footer a:link, footer.page-footer a:visited, footer.page-footer a:hover {
  color: white;
}

#stanford-footer {
  text-align: left;
}

#stanford-footer .link-grid .row {
  margin-top: 0.3em;
}
#stanford-footer .link-grid .row:first-child {
  margin-top: 1em;
}

#stanford-signature {
    width: 150px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

a.social-icon > img {
  height: 24px;
  width: 24px;
  padding: 2px;
  object-fit: contain;
  background-color: transparent;
  display: inline;
}
a.social-icon:link, a.social-icon:visited {
  color: white;
  background-color: transparent;
}

.social-icon-spacer {
  display: inline-block;
  width: 6px;
}

.team-list {
  padding-left: 0;
  display: grid;
  grid-row-gap: 0.5em;
}
@media screen and (min-width: 768px) {
.team-list {
  grid-template-columns: 1fr 1fr;
}
}
@media screen and (min-width: 992px) {
.team-list {
  grid-template-columns: 1fr 1fr 1fr;
}
}
@media screen and (min-width: 1200px) {
.team-list {
  grid-template-columns: 1fr 1fr 1fr;
}
}
.team-list > li {
  display: block;
  text-align: center;
}
.team-list > li > img {
  display: block;
  padding: 1em;
  width: 150px;
  height: 150px;
  margin: 0 auto -0.5em;
  object-fit: cover;
  border-radius: 50%;
}
.former-student-list {
  padding: 0;
}
.former-student-list > li {
  display: block;
}

.reference-list {
  position: relative;
}

.reference-list > li {
  display: block;
}

.reference-list > li > .list-marker {
  display: block;
  position: absolute;
  top: auto;
  left: 0;
  padding-left: 1em;
}


#multi-color-example .black {
  color: black;
}
#multi-color-example .blue {
  color: blue;
}
#multi-color-example .red {
  color: red;
}
#multi-color-example .purple {
  color: purple;
}
#multi-color-example .green {
  color: green;
}
#multi-color-example code {
  color: inherit;
  background-color: transparent;
}

#multi-color-example .box {
  padding: 0.5em;
  border: 2px solid black;
}
#multi-color-example .arrow {
  text-align: center;
  font-size: 36px;
}


#section-heading {
  color: black;
  background-color: white;
  background-image: url(../images/almond-background.png);
  background-size: cover;
  background-position: center bottom;
  text-align: center;
  padding-top: 2em;
  padding-bottom: 2em;
}

#section-heading h1 {
  color: #8c1515;
  font-weight: 900;
  letter-spacing: -.5px;
  font-size: 96px;

  text-shadow: 1px 1px 0px black;
  /*
  color:#dea844;
  text-shadow:
   -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;*/
}

#section-heading h2 {
  font-size: 42px;
  margin-bottom: 1em;
}

#section-heading h4 {
  font-weight: 600;
}

.sections > :nth-child(odd) {
  background-color: white;
}
.sections > :nth-child(even) {
  background-color: #f3f4f2;
}
.sections > .divider {
  padding-top: 2em;
  padding-bottom: 4em;
}

.divider h3 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 0.8em;
}

#picture-everybody {
  display: block;
  width: 80%;
  margin: 0 auto;
}

section.seminar-entry {
  overflow: auto;
}

.roadmap-skill-heading {
  font: 1.1em;
}
.roadmap-skill-heading::before {
  content: counter(roadmap-skill) ": ";
}

#section-news ul {
  padding: 0px;
}
#section-news li {
  display: block;
  padding-bottom: 0.2em;
  border-bottom: 1px solid darkgray;
  margin-bottom: 0.3em;
}
#section-news time {
  font-weight: bold;
  display: block;
}
#section-news li > span {
  overflow: auto;
  display: block;
}

#jobs-qualifications dd {
  display: block;
  padding-left: 40px;
}


.slide-show > :nth-child(odd) {
  background: #F3F4F2;
}

.slide-show > section {
  margin-top: 2em;
}

.slide-show .padded {
  padding: 1em;
}

.slide-show table {
  border: 2px solid black;
}

.alert-custom {
  color: #6B5223;
  font-size: 17px;
  border-color: #8c1515;
}

#section-news h3 {
  margin-top: 0;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}