html, body {
  height: 100%;
}

.subtitle {
  margin-top: -10px;
  margin-bottom: 20px;
}

small.date {
  font-family:  "Lato", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 1.1rem;
}

.full-video {
  width: calc((100vh - 6.4rem) * 16 / 9);
  max-width: 100%;
  height: calc(100vh - 6.4rem) !important;
  margin-left: auto;
  margin-right: auto;
}

.full-video-container {
  height: calc(100vh - 6.4rem) !important;
}

.menu {
  margin: auto;
}

div.top-bar {
  padding: 0;
}

.top-section {
  display: inline-block;
  margin-top: 1rem;
}

@media screen and (max-device-width: 740px) 
              and (orientation: landscape) {
  
  .orbit-bullets {
    display: none;
  }

  .full-video {
    width:calc((100vh - 46px) * 16 / 9);
    height:calc(100vh - 46px) !important;
  }

  .full-video-container {
    height:calc(100vh - 46px) !important;
  }
}

.black-background {
  background-color: black;
}

.same-line {
  white-space: nowrap;
}

iframe .no-js {
  display: none;
}

ul.nav, ul.menu {
  font-family:  "Poppins", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 1.1rem;
}

ul.dash {
  list-style: square outside url('data:image/gif;base64,R0lGODlhBQAKAIABAAAAAP///yH5BAEAAAEALAAAAAAFAAoAAAIIjI+ZwKwPUQEAOw==');
}

p.image-caption {
  font-size: 0.8rem;
  font-style: italic;
}

.media-object-section img {
  max-width: 100%;
}
.media-object-section {
  padding-bottom: 16px;
}

.media-object {
  margin-bottom: 0;
}

.media-object-section:only-child {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.media-object-section {
  margin: auto;
}

/* Medium and up */
@media screen and (min-width: 40em) {

  h1 {
    margin-top: 30px;
  }

  .thumbnail {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  article {
    margin-top: 1rem;
  }
  
  p {
    margin-bottom: 0.75rem;
  }



  /* .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  } */

  /* div.top-bar {
    padding: 0;
    height: 47px;
    
  }

  .menu {
    display: inline-flex;
  } */

  .dropdown.menu > li > a {
      padding: 1rem 1.5rem;
      text-align: center;
  }

  div.bottom-section {
    min-height: calc(100vh - 4.7em);
  }

  .media-object-section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .media-object-section:first-child {
    padding-left: 0px;
    padding-right: 5px;
  }
  .media-object-section:last-child {
    padding-left: 5px !important;
    padding-right: 0px;
  }

  div#photo-container {
    height: calc(100% - 47px);
  }

  p {
    font-size: 1.1em;
  }

}

/* Small only */
@media screen and (max-width: 39.9375em) {

  #portrait {
    margin: auto;
    display: block;
  }

  h1 {
    margin-top: 0.4rem;
  }

  article {
    margin-top: 0.8rem;
  }

  div.top-bar li a {
    width: 100vw;
    text-align: center;
  }

  p {
    margin-bottom: 0.4rem;
  }

  .thumbnail {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
  }

  h3 {
    font-size: 1.3em;
  }

  div.bottom-section {
    height: calc(100vh - 53px);
  }

  .flex-video {
    margin-bottom: 10px;
  }

  div#photo-container {
    height: calc(100% - 43px);
  }

  .media-object-section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .media-object-section:first-child {
    padding-left: 0px;
    padding-right: 5px;
  }
  .media-object-section:last-child {
    padding-left: 5px !important;
    padding-right: 0px;
  }
  .stack-for-small .media-object-section {
    padding-left: 0px !important;
    padding-right: 0px;
  }

  /* .menu > li > a {
    display: block !;
    padding: 0.7rem 1rem !;
    line-height: 1 !;
  } */

}

/* Medium and down */
@media screen and (max-width: 63.9375em) {

  .medium-shrink-text {
    font-size: .9em;
  }
  
}

#sidebar {
  max-width: 12rem;
  margin: auto;
}

#sidebar-sticky {
  padding-left: -0.5;
}

span.tag {
  position: absolute;
  top: -2rem;
}

span.tag-wrapper {
  position: relative;
}

div.title-bar-title {
  font-family:  "Poppins", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: normal;
  font-size: 1.1em;
}

div.top-bar, div.top-bar ul, div.top-bar li{
  background-color: #20292f;
}

div.top-bar li:hover{
  background-color: #1a3548;
}

div.top-bar li.active a {
  background-color: #21465e;
  color: #e4e3e3;
}

div.top-bar li a {
  color: #d9d9d9;
}

li a {
  transition: background-color 0.2s ease;
}

.menu li {
  transition: background-color 0.2s ease;
}

/* .is-drilldown a{
  width: 100vw;
  max-width: 100%;
} */

ul.nav li a {
  display: block;
  padding: 7px;
  padding-left: 22px;
  margin-left: -22px;
  width: 12rem;
}

ul.nav li a:hover {
  background-color: #f8f8f8;
}

ul.nav li a.is-active {
  background-color: #f1f1f1;
}

img.icon {
  margin-left: 5px;
  opacity: 0.8;
  border: none;
}

img.icon:hover {
  opacity: 1;
}

div#photo-container {
  width: 100%;
  background-color: black;
  background-repeat: no-repeat;
  transition: opacity 0.2s linear;
}

#header-bar {
  z-index: 1;
}

.btn:hover {
  cursor: copy;
}

.bibtex {
  font-family: "Courier New", Courier, monospace;
  font-weight: normal;
  line-height: 1.3em;
  font-size: 0.95em;
  box-shadow: none;
}

.highlight {
  color: #e40106;
}

a > h3 {
  display: inline;
}