/* general body properties */

body {
  /* This defaults to Helvetica Neue if the viewer has it installed (e.g., Macs)
       and use a lighter font weight. If they don't have it, we use a decent font from Google Web Fonts. */

  /* Warning: if you want alternate font weights, you need to go back to Google Web Fonts and include them in the collection that gets included via <link> */
  font-weight: 300;
  font-family: 'Helvetica Neue', 'Source Sans Pro', 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
}

a,
a:hover,
a:active {
  color: #80045a;
  /*    color: #990615;
*/
}

p {
  margin: 0 0 1em;
}

h5 {
  font-size: 16px;
  font-weight: 300;
}

h2 {
  color: #80045a;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  border-bottom: 2px solid #80045a;
  padding-bottom: 0.3em;
}

.label-msb {

  background-color: #80045a;
}

.img-helena-main {
  height: 20em;
  width: 16em;
  /*  margin-bottom: 18px;
*/
  object-fit: cover;
  border: 2px solid #AAAAAA;
  margin-bottom: 1em;
  margin-top: 1em;
}

.img-helena {
  height: 10em;
  width: 18em;
  /*  margin-bottom: 18px;
*/
  object-fit: cover;
}

.img-horse {
  max-height: 10%;
  /*  width: 18em;
*/
  /*  margin-bottom: 18px;
*/
  object-fit: cover;
}

.caption-helena {
  text-align: center;
}

.img-carousel {
  height: 12em;
  width: 18em;

}

.main-tab {
  color: #80045a;
}

.not-main-tab {
  color: #bdbdbd;
}

.title-equestrian,
.title-art,
.title-research {
  color: #80045a;
}

/* bootstrap properties */



#msbnav {
  background-color: #80045a;
  background-image: none;
  background-repeat: no-repeat;
  filter: none;
  border-color: #80045a;
}

#msbnav .navbar-brand {
  color: #DCDCDC;
  font-size: 2.5em;
  font-family: "Oswald", 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  margin-left: -15px;
}

#msbnav .navbar-brand a {
  color: #DCDCDC;
}

#msbnav .navbar-brand a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.navbar-brand,
.navbar-nav li a {
  line-height: 1.5em;
  height: 1.5em;
  padding-top: 0;
}

.sidenav {
  margin-top: 20px;
}

/* Adapted from the Bootstrap docs for sidebar navigation + scrollspy */
.sidenav .nav>li>a {
  display: block;
  padding: 5px 20px;
}

.sidenav .nav>li>a:hover,
.sidenav .nav>li>a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #80045a;
}

.sidenav .nav>.active>a,
.sidenav .nav>.active:hover>a,
.sidenav .nav>.active:focus>a {
  font-weight: bold;
  background-color: transparent;
  border-right: 1px solid #80045a;
}

/* Nav: second level */
.sidenav .nav .nav {
  margin-bottom: 8px;
}

.sidenav .nav .nav>li>a {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

@media(max-width:1000px) {
  .sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }
}

.nav-list>.active>a,
.nav-list>.active>a:hover {
  background-color: #7D0612;
}



.text-success {
  font-variant: small-caps;
}

.label {
  font-weight: normal;
}

.paperimage {
  /*border: 1px solid #787878;*/
  width: 100%;
  overflow: hidden;
}

.papers .old {
  display: none;
}

.papers .paper-row {
  margin-bottom: 2em;
  vertical-align: top;
  padding-left: 0px;
}

h5.title {
  margin-top: 0px;
}

.vital-info {
  margin-top: 1em;
}

.vital-info h5 {
  margin-bottom: 0;
}

.olddate,
.olddate a {
  color: #AAAAAA;
}

.faq {
  text-align: justify;
}

.bio {
  margin-top: 15px;
}

.btn-link {
  padding: 2em 0px 2em 0px;
  color: #80045a;
  font-weight: 300;
}

.past-course {
  display: none;
}

.award {
  /* more in label-msb */
  margin: 0 8px 0 8px;
}

.publication-files {
  margin-top: 10px;
}

.coauthor {
  /*white-space: nowrap;*/
}

.groupmoji {
  height: 1.5em;
  width: 1.5em;
  margin-right: 4px;
  object-fit: cover;
  filter: grayscale(70%);
}

.highlight {
  margin-bottom: 20px;
}

.nowrap {
  white-space: nowrap;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 0.3em;
    margin-top: 0.3em;
  }

  .img-helena-main {
    height: 15em;
    width: 12em;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .col-md-9 {
    padding-right: 10px;
  }

  .col-md-3 {
    padding-left: 10px;
  }

  .paper-row {
    margin-bottom: 1.5em;
  }

  .title,
  .title-art,
  .title-research {
    font-size: 14px;
  }

  .vital-info {
    margin-top: 0.5em;
  }

  .vital-info .row {
    margin-bottom: 0.5em;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h2 {
    font-size: 18px;
  }

  .img-helena-main {
    height: 12em;
    width: 10em;
  }

  #msbnav .navbar-brand {
    font-size: 1.2em;
    margin-left: 0;
    padding-left: 10px;
    white-space: normal;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
  }

  .bio {
    margin-top: 10px;
  }
}

.sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  margin-bottom: 0.5em;
}

.sticky-header h2 {
  margin-bottom: 0;
}