html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

.container {
  padding: 0 15px;
}

.container .credit {
  margin: 0;
  height: 50px;
  line-height:50px;
  text-align:center;
}

.header {
width:100%;
  display: inline-block;
  position: relative;
}

.header:after {
/* 455 / 1920 */
  padding-top: 22.396%;
  display: block;
  content:'';

}

.header-img {
position:absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-image:url('../images/stanfordoval.jpg');
background-position: center center;
background-size:100% 100%;
/*background-size:cover;*/
border-top-left-radius:0;
border-top-right-radius:0;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
clear:both;
}
/*
.navbar-transparent {
position:absolute;
bottom:20px;
width:100%;
background-color:rgba(0,0,0,0.5);
border:0;
margin-bottom:-20px;
}
*/
.navbar-transparent {
position:absolute;
height:50px;
bottom:0;
width:100%;
z-index: 1030;
background-image:url('../images/stanfordoval.jpg');
opacity:1;
background-size:cover;
background-position: center bottom;
border:0;
margin:0;
border-top-left-radius:0;
border-top-right-radius:0;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
}

.row {
float:left;
}

.navbar-transparent .nav > li > a:hover,
.navbar-transparent .nav > li > a:focus {
  text-decoration: none;
background-color:rgba(255,255,255,0.6);
color:black;
}

.navbar-transparent .nav > li.active > a {
background-color:rgba(255,255,255,0.8);
color:black;
}

.navbar-transparent .nav > li > a {
color:white;
}

.navbar-transparent .nav > li > a[data-toggle='modal']:focus {
  text-decoration: none;
background-color: transparent;
color:white;
}

.navbar-transparent .navbar-header {
color:white;
}

.navbar-transparent .navbar-brand {
color:white;
font-size: 20px;
}

.navbar-toggle {
background-color:rgba(0,0,0,0.5);
border:1px solid black;
}

.navbar-toggle:hover {
background-color:black;
}

.navbar-toggle > .icon-bar {
background-color:white;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -50px;
  /* Pad bottom by footer height */
  padding: 0 0 70px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 50px;
  /*background-color: #f5f5f5;*/
  background-color:white;
  padding: 0 15px;
  border-top-left-radius:5px;
    border-top-right-radius:5px;
	border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}




@media (min-width: 560px) {
  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }
}

@media (min-width: 560px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
}

@media (min-width: 560px) {
  .nav-justified > li {
    display: table-cell;
    width: 1%;
  }
}

@media (min-width: 560px) {
  .navbar {
    border-top-left-radius:0;
    border-top-right-radius:0;
  }
}

@media (min-width: 560px) {
  .navbar-header {
    float: left;
  }
}

@media (min-width: 560px) {
  .container > .navbar-header,
  .container > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (min-width: 560px) {
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: visible;
  }
  .navbar-collapse .navbar-nav.navbar-left:first-child {
    margin-left: -15px;
  }
  .navbar-collapse .navbar-nav.navbar-right:last-child {
    margin-right: -15px;
  }
  .navbar-collapse .navbar-text:last-child {
    margin-right: 0;
  }
}

@media (min-width: 560px) {
  .container > .navbar-header,
  .container > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (min-width: 560px) {
  .navbar-static-top {
    border-radius: 0;
  }
}

@media (min-width: 560px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    border-radius: 0;
  }
}

@media (min-width: 560px) {
  .navbar > .container .navbar-brand {
    margin-left: -15px;
  }
}

@media (min-width: 560px) {
  .navbar-toggle {
    display: none;
  }
}

@media (min-width: 560px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (min-width: 560px) {
  .navbar-left {
    float: left !important;
  }
  .navbar-right {
    float: right !important;
  }
}

@media (min-width: 560px) {
  .navbar-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .form-control {
    display: inline-block;
  }
  .navbar-form .radio,
  .navbar-form .checkbox {
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .navbar-form .radio input[type="radio"],
  .navbar-form .checkbox input[type="checkbox"] {
    float: none;
    margin-left: 0;
  }
}

@media (min-width: 560px) {
  .navbar-form {
    width: auto;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}

@media (min-width: 560px) {
  .navbar-text {
    margin-right: 15px;
    margin-left: 15px;
  }
}

@media (max-width: 559px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }
}

@media (max-width: 559px) {
  .navbar-form .form-group {
    margin-bottom: 5px;
  }
}

@media (max-width: 559px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777777;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #333333;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}

@media (max-width: 559px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #999999;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: transparent;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
  }
}

.sidebar.affix-top {
min-width: 18%;
}

/* By default it's not affixed in mobile views, so undo that */
.sidebar.affix {
  position: static;
}

/* First level of nav */
.sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
}

/* All levels of nav */
.sidebar .nav > li > a {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
}
.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
.sidebar .nav > .active > a,
.sidebar .nav > .active:hover > a,
.sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-right: 1px solid #563d7c;
}

/* Nav: second level (shown on .active) */
.sidebar .nav .nav {
  display: none; /* Hide by default, but at >768px, show it */
  margin-bottom: 8px;
}
.sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media (min-width: 768px) {
  .sidebar .nav > .active > ul {
    display: block;
  }
  .sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
    width: 18%;
  }
  .sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .sidebar.affix-bottom .sidenav,
  .sidebar.affix .sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}

  .header-affix.affix {
    position: fixed; /* Undo the static from mobile first approach */
    width: 80%;
  }



.navbar.affix-top {
width: 100%;
}

/* By default it's not affixed in mobile views, so undo that */
.navbar.affix {
  position: static;
}
.navbar-image {
background-color:rgba(0,0,0,0.5);
border-top-left-radius:0;
border-top-right-radius:0;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
}

/* Show and affix the side nav when space allows it */
@media (min-width: 768px) {
  .navbar .nav > .active > ul {
    display: block;
  }
  .navbar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 0px;
    max-width: 720px;
  }
  .navbar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .navbar.affix-bottom .sidenav,
  .navbar.affix .sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .navbar.affix {
    max-width: 940px;
  }
}
@media (min-width: 1200px) {
  .navbar.affix {
    max-width: 1140px;
  }
}

#contactmap{
display: none;
border: 1px solid gray;
width: 538px;
height: 300px;
}

.h2-scrollspy {
   padding-top:70px;
   margin-top:-40px;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}
ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}
ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #b8434c;
    /*  22c0e8 - template at https://bootsnipp.com/snippets/xrKXW

    B83A4B light primary cardinal - very strong but professional
      https://identity.stanford.edu/design-elements/color/accent-colors/
      6FA287 bay - feels blue-green
      8AB8A7 light bay - a little too light and blue-green
      B6B1A9 dark fog - too neutral, but very professional
      8F993E olive - not actually a pretty color
      A6B168 light olive - maybe just right?
      7A863B dark olive - too dark

      other reds at https://decanter.stanford.edu/page/brand-design-elements-color/
      b8434c light cardinal
    */
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.visible-sm-block .headshot {
  max-width: 60%;
}

.headshot-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.headshot-container .col-xs-12 {
  flex-basis: 100%;
}

.headshot-container img {
  margin-top: 20px;
}

div.name-container {
  text-align: center;
}

h1.name {
  display: inline-block;
  padding: 1rem 4rem;
  border-left: 6px solid #b8434c;
  border-right: 6px solid #b8434c;
}

/* https://stackoverflow.com/questions/18192082/bootstrap-3-navbar-collapse
767px xs
991px sm
*/
@media (max-width: 767px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}
