/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
.imagetext .science, .imagetext .art {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  filter: none;
  /* IE 6-9 */
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.imagetext .science:hover, .imagetext .art:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  /* IE 6-9 */
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

div.center {
  text-align: center;
  margin-bottom: 20px;
}
ol {
  margin-bottom: 40px;
}

.vimeo .row {
  margin-left: 0;
  margin-right: 0;
}

.nopadding {
  padding: 0;
  margin: 0;
}
.alignright {
  text-align: center;
}

.aligncenter {
  text-align: center;
}
img {
  display: block;
}

img.img-responsive {
  width: 100%;
}
body {
  font-family: 'agendamedium';
}


.btn.nolink {
  cursor: default;
}
.btn {
  background: #121598;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.1em;
  border-radius: 0;
  display: block;
  transition: all 0.2s;
  border: 0;
}

  .btn:hover {
    background: #368cee;
  }

    .btn.pale {
background: #368cee;
margin-top: 5px;
    }

    .btn.pale:hover {
background: #121598;
    }

.footer-divider .btn {
  display: block;
  margin: 40px auto !important;
  text-align: center;
  width: 120px;
}    

/* internal pages */
.page_header {
  border-bottom: 0;
  margin-bottom: 40px;
  margin-top: 40px;
}

  .page_header h1 {
    font-size: 20px;
    color: #004a9d;
    text-transform: uppercase;
    letter-spacing: 20px;
  }

  .page_header img {
    margin: 26px auto;
  }

.page_bios, .page_science {
  margin-bottom: 40px;
}

  .page_bios h3,
  .page_science h2 {
    color: #3685cc;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 0;
    letter-spacing: 10px;
  }

  .page_science h3 {
    margin-bottom: 40px;
  }

  .page_bios p, .page_science p {
    margin-bottom: 2em;
  }

  .page_bios img.separator, .page_science img.separator {
    margin-bottom: 40px;
  }

  .page_bios .col-sm-6 img.img-responsive, 
  .page_science .col-sm-6 img.img-responsive {
    margin-bottom: 20px;
  }

  .page_science .row.aligncenter {
    font-size: 1.2em;
  }

/* homepage & structure */
.fullwidth {
  margin-left: 0;
  margin-right: 0;
}

  .fullwidth > div {
    padding: 0;
  }

#header {
  height: 0;
  padding-bottom: 50%;
  width: 100%;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  overflow: hidden;
}

  #header div.title-wrap {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -54px;
    text-align: center;
  }

  #header h1.site-title {
    display: inline-block;
    width: auto;
    height: 108px;
    font-size: 2.8em;
    margin-right: -55px;
    letter-spacing: 55px;
    color: white;
  }


/* featured */

.vimeo {
  padding: 20px 0;
}

.aside {
  padding-bottom: 20px;
}
  
  .aside hr {
    height: 1px;
    border: 0;
    background: #121598;
    width: 100%;
    display: block;
    margin-top: 40px;
  }
  .aside .btn {
    background: #368cee;
    margin-top: 20px;
  }

    .aside .btn:hover {
      background: #121598;
    }

/* episodes
-------------------------------------------------- */
.episodes {
  background: #bcdaff;
  padding: 35px 0;
}


  .episodes img {
    margin-bottom: 0.7em;
  }

  .episodes h1,
  .episodes h3 {
    color: #368cee;
  }

  .episodes h3 {
    height: 55px;
    text-align: center;
  }

  .episodes p {
    color: black;
    font-size: 0.9em;
    line-height: 1.4em;
    text-align: center;
    margin-top: 0.7em;
  }

  .imagetext .science,
  .imagetext .art {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 0;
    padding-bottom: 42%;
  }

    .imagetext .science {
      background-image: url(../images/img_science.jpg);
    }

    .imagetext .art {
      background-image: url(../images/img_art.jpg);
    }


/* glossaire
-------------------------------------------------- */

/* Carousel base class */
#glossaire {
  clear: both;
  display: block;
  height: 488px;
  background-image: url(../images/bg-glossaire.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: relative;
}
#glossaire .container {
  overflow: hidden;
  height: 488px;
  position: relative;
}

#glossaire .glossaire-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
}

#glossaire .carousel-inner .item {
  padding-left: 76px;
}

#glossaire .carousel-image {
  margin-top: 40px;
}

/* Since positioning the image, we need to help out the caption */
#glossaire .caption {
  z-index: 10;
  text-shadow: 0 0 0;
  padding: 0;
  color: white;
}
  
  #glossaire .caption h1 {
    font-size: 10em;
    color: #19e9eb;
    margin: 0;
    padding: 0;
    line-height: 120px;
    height: 100px;
    display: inline-block;
  }

  #glossaire .caption .text {
    padding: 40px 20px;
    font-size:1.2em;
  }
  .glossaire-control {
    position: absolute;
    color: #19e9eb;
    left: 50%;
    margin-left: 20px;
    top: 195px;
    font-size: 1.3em;
    z-index: 99;
  }

    .glossaire-control span.text {
      font-weight: normal;
       -webkit-font-smoothing: antialiased !important;
       border-bottom: 1px solid;
    }

    .glossaire-control:hover, .glossaire-control:active, .glossaire-control:focus {
      text-decoration: none;
      color: white;
    }

#glossaire .item {
  height: 488px;
}



#glossaire .blah {
  display: none;
}

footer.row {
  padding: 30px 0;
}

.footer-divider {
  height: 112px;
  clear: both;
  overflow: hidden;
  background: #19e9eb;
}

/* QUERIES */
@media (min-width: 768px) {
  
  .alignright {
    text-align: right;
  }
  .page_bios h3 {
    font-size: 40px;
    letter-spacing: 15px;
  }

  .page_science h2 {
    font-size: 30px;
    letter-spacing: 10px;
  }

  .page_header h1 {
    font-size: 60px;
  }

  .imagetext .science,
  .imagetext .art {
    padding-bottom: 22%;
  }

    .imagetext .art img {
      margin-left: -20px;
    }

  #glossaire .caption {
    margin-left: 0px;
    text-align: left;
    margin-top: 70px;
  }

  #glossaire .carousel-image {
    margin-top: 200px;
  }

  .glossaire-control {
    position: absolute;
    left: 50%;
    margin-left: 145px;
    top: 140px;
    font-size: 2em;
  }

  .col-onefifth {
    width: 20%;
  }
  #header h1.site-title {
    font-size: 7em;
  }

}

@media (min-width: 1200px) { 
  .page_header h1 {
    font-size: 80px;
  }
}
