body {
  margin: 0 auto; /* pour éviter les marges */
  align-items: center; /* pour corriger le bug de centrage IE */
}

.page-header {
}

div.di-link{
  background-color:#eaeded;
  text-decoration: none;
  border-radius: .5rem;
}

section{
  margin-top: 30px;
  padding-top: 0px;
}


footer{
    padding-top: 30px;
}

a.no-decoration{
    color: inherit;
    text-decoration: none;
}

a.no-decoration:hover,a.no-decoration:focus{
    color: inherit;
    text-decoration: none;
}

a{
    color: #0e6655;
}

a:hover,a:focus{
    color:#0e6655;
    background-color:#73c6b6
}

/* http://stackoverflow.com/a/20548578/2945326 */
.vcenter {
    display: inline-block;
    vertical-align: center;
    float: none;
}

.titleline {
    border-radius: .5rem;
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    margin-right: 20px;
    margin-bottom: 20px;
    font-size: 2.4em;
    background-color: #0e6655;
    color: #eaeded; 
}

.subtitleline, a.subtitleline:hover, a.subtitleline:focus, a.subtitleline {
    border-radius: .5rem;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    margin-right: 20px;
    margin-bottom: 15px;
    font-size: 2em;
    background-color: #138d75;
    color: #eaeded
}

/* Jumbotron */

.jumbotron {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.jumbotron p {
    font-size: initial;
    margin-bottom: initial;
}

@media screen and (max-width: 768px) {
    .jumbotron p {
        font-size: small;
    }
}

@media screen and (min-width: 768px) {
    .jumbotron .h1, .jumbotron h1 {
        font-size: 50px;
    }
}

@media screen and (max-width: 768px) {
    .logos {
      display: none;
    }
    #logo-ens {
      max-width: 20%;
  }
}

@media screen and (min-width: 768px) {
  #logo-ens {
    max-width: 100%;
    background-color:#eaeded;
    text-decoration: none;
  }

  #logo-cnrs {
    max-width: 80%;
    background-color:#eaeded;
    text-decoration: none;
  }

  #logo-inria {
    max-width: 100%;
    background-color:#eaeded;
    text-decoration: none;
  }

  #logo-psl {
    max-width: 100%;
    background-color:#eaeded;
    text-decoration: none;
  }
}

/* Navbar */

@media (min-width: 992px) {
    .navbar-nav > li {
        font-size: large;
    }
}

/* News */

.news-item > p {
    display: inline;
}

/* Seminars */

.talk-icon{
    font-size: 75%;
}

/* Janky fix for preventing navbar from overlapping */
h1[id] {
  padding-top: 80px;
  margin-top: -80px;
}

h2[id] {
  padding-top: 60px;
  margin-top: -60px;
}

/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

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

/* First level of nav */
.bs-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 */
.bs-sidebar .nav > li > a {
  display: block;
  color: #777777;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e5e5;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #505050;
  background-color: transparent;
  border-right: 1px solid #505050;
}

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

@media screen and (min-width: 992px) {
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-top,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
	.bs-sidebar.affix-top,
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-top .bs-sidenav,
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Contact form */
form label {
  font-size: 1.2em;
  font-weight: bold;
  display: block;
  padding: 10px 0;
}
 
form input#name,
form input#email,
form input#subject {
  width: 100%;
  padding: 5px;
  font-size: 1.1em;
}
 
form textarea#message {
  width: 100%;
  height: 400px;
  margin-bottom: 10px;
  padding: 5px;
  font-size: 1.1em;
}
 
form input#submit {
  font-weight:bold; 
  text-align: center;
  font-size: 0em;
  width: 50px;
  height: 50px;
  background-image: url(/static/img/send.png);
  background-size: 50px 50px;
  background-repeat: no-repeat;
} 

form input#submit:hover{
  cursor: pointer;
}

.dropdown-item{
  display:inline-block;
  font-size:.9em;
  color:#0e6655;
  background-color:#73c6b6}
.dropdown-item:focus,.dropdown-item:hover{
  color:#0e6655;
  text-decoration:none;
  background-color:#138d75}

.btn-dark{
  display:inline-block;
  text-decoration:none;
  padding:5px;
  font-size: 1.2em;
  border-radius: 5px;
  color:#eaeded;
  background-color:#0e6655}
.btn-dark:focus,.btn-dark:hover{
  padding:5px;
  text-decoration:none;
  color:#0e6655;
  background-color:#73c6b6}

.btn-med{
  display:inline-block;
  text-decoration:none;
  padding:5px;
  border-radius: 5px;
  color:#eaeded;
  background-color:#138d75}
.btn-med:focus,.btn-med:hover{
  padding:5px;
  text-decoration:none;
  color:#0e6655;
  background-color:#73c6b6}

.btn-light{
  display:inline-block;
  text-decoration:none;
  padding:5px;
  border-radius: 5px;
  color:#0e6655;
  background-color:#73c6b6}
.btn-light:focus,.btn-light:hover{
  padding:5px;
  text-decoration:none;
  color:#73c6b6;
  background-color:#0e6655}

.centered
{
  text-align: center;
}

.text-dark {
    color: #0e6655 !important;
}
.text-light {
    color: #eaeded !important;
}

.bg-gray-light {
    background-color: #eaeded !important;
}
.bg-btn {
    background-color: #73c6b6 !important;
}
.bg-title {
    background-color: #138d75 !important;
}
.bg-dark {
    background-color: #0e6655 !important;
}