/**********/
/* Navbar */
/**********/
#toc > ul > li > .nav-link.active {
    color: #fff !important;
    background-color: #268bd2 !important;
}
.navbar-toggler {
    color: #fff;
}
.headroom--pinned {
    display: block;
}
.headroom--unpinned {
    display: none;
}
/***********/
/* Content */
/***********/
#content {
    margin-top: 50px !important;
}
.update {
    border: 1px solid #bbb;
    border-left: 5px solid #268bd2;
    padding: 3px;
    padding-left: 9px;
}

.bigger-text > p,
.bigger-text > ul > li {
    font-size: 1.2em;
}

.clickable-row, .dropdown-item {
    cursor: pointer;
}

/**********/
/* Footer */
/**********/
.footer {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 0;
}

/****************/
/* Landing Page */
/****************/
#video {
  background-color: black;
  width: 100%;
  max-height: 70vh;
}

#myCarousel {
    position: absolute;
    top: 0;
    width: 100%;
    max-height: 50vh;
    background: none;
}

#myCarousel > ol {
    position: absolute;
    top: 10px;
}
.carousel-caption {
    top: 7px !important;
}

.carousel-inner .active {
    height: 300px;
    max-height: 50vh;
}

@media (max-width: 544px)  {
    .carousel-caption > h1 {
        font-size: 1.6em;
        font-weight: 700;
    }
    .sectionImg {
        max-width: 85px;
    }
    h1.display-4 {
        font-size: 2em;
    }
}

.marketing {
    display: table-cell;
    height: 800px;
    vertical-align: middle;
}
#marketing1 {
    color: #fff;
    height: 300px;
}

#marketing2 {
    color: #fff;
}

#marketing3 {
    color: #fff;
}

#marketing4 {
    color: #fff;
}



/**********************/
/* banner */
/**********************/
#banner {
    height: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

#banner > .h1 {
    background-color: rgba(0,0,0,0.7);
    color: #ddd;
    position: absolute;
    top: 0px;
    padding: 5px;
}

#map {
    height: 500px;
}


/*******************/
/* Algonauts Panel */
/*******************/
.panel-heading {
    border-radius: 0;
}

dd > #map {
  margin-top: 10px;
  margin-bottom: 10px;
  max-height: 150px;
  }

.flag {
  max-height: 20px;
  margin-left: 5px;
}


tr.clickable-row { cursor: pointer; }
.info-window > img { max-height: 64px; max-width: 96px; float: left; padding-right: 5px; }

/*********************/
/* Table of Contents */
/*********************/
#toc-parent {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
}
.sticky:before,
.sticky:after {
    content: '';
    display: table;
}

/*********************/
/* Algonauts Listing */
/*********************/
.card-algonaut {
    height: 200px;
    border-top: 2px solid #000;
}
.card-algonaut > h5 {
    background-color: rgba(0,0,0,0.5);
    color: #eee;
    position: absolute;
    padding-top: 2px;
    padding-bottom: 2px;
    top: 3px;
}
.card-algonaut > p {
    position: absolute;
    bottom: 0px;
    left: 10px;
    background-color: #b58900;
    color: #fff;
    padding: 3px;
    font-size: 0.9em;
}

/********************/
/* Prev / Next Page */
/********************/
#link-prev {
    z-index: 50;
    background-color: #fff;
    position: fixed;
    bottom:0;
    left:0;
    border-radius: 0;
    font-size: 1em;
}
#link-next {
    z-index: 100;
    position: fixed;
    bottom:0;
    right:0;
    border-radius: 0;
    font-size: 1em;
}

/* scrolling button */
.section {
    position: relative;
}
.scroll {
    position: absolute;
    left: 20px;
    width: 30px;
    bottom: 20px;
}
.scroll > a > img {
    width: 30px;
    height: 30px;
}
.en:lang(en), .fr:lang(fr){
    font-weight: bold;
}

/**************************/
/* Play Externally Button */
/**************************/
.play-external {
    position: absolute;
    right: 10px;
    width: 50px;
    bottom: 20px;
}
.play-external > a > img {
    width: 50px;
    height: auto;
}

/**************************/
/* Captions */
/**************************/
.slide-figure {
  display: block;
  position: relative;
  overflow: hidden;
}

.slide-figcaption {
  position: absolute;
  background: rgba(0,0,0,0.75);
  color: white;
}

.slide-figcaption {
  position: absolute;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 5px 5px;
  opacity: 0;
  bottom: 0;
  left: -30%;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;
}

.slide-figure:hover .slide-figcaption {
  opacity: 1;
  left: 0;
}

/***************************/
/* Algae 2030 Plus / Minus */
/***************************/
/* .collapsed > div > div.expander > .plus { display: block; } */
/* :not(.collapsed) > div > div.expander > .plus { display: none; } */

/***************************/
/* Multilingual */
/***************************/
div#language-recommendation {
    z-index: 10000;
    margin: auto;
    position: absolute;
    width: 100%;
    text-align: center;
    cursor: pointer;
    display: none;
}
