@font-face {
  font-family: "cartogothic_stdbook";
  src: url("../fonts/cartogothicstd-book-webfont.woff2") format("woff2"),
    url("../fonts/cartogothicstd-book-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  background: #1f1f1f;
}
body {
  background: #0c0c0c;
  background: -moz-linear-gradient(top, #0c0c0c 50%, #1f1f1f 90%);
  background: -webkit-linear-gradient(top, #0c0c0c 50%, #1f1f1f 90%);
  background: linear-gradient(to bottom, #0c0c0c 50%, #1f1f1f 90%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c0c0c', endColorstr='#1f1f1f',GradientType=0 );
  color: #fff;
  font-family: "cartogothic_stdbook", Arial, sans-serif;
  overflow-x: hidden;
}
.header-bg {
  background-image: url(../img/header-banner.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom right;
  height: 160px;
}
header .lang {
  text-align: right;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: right;
}
header .lang a {
  color: #7886a0;
}
header img.img-fluid {
  max-width: 225px;
}
nav {
  background: #333333;
  background: -moz-linear-gradient(top, #333333 0%, #0c0c0c 100%);
  background: -webkit-linear-gradient(top, #333333 0%, #0c0c0c 100%);
  background: linear-gradient(to bottom, #333333 0%, #0c0c0c 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#0c0c0c',GradientType=0 );
  padding: 10px 0;
}
nav ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
nav ul li {
  list-style: none;
  display: inline-block;
}
nav ul li a {
  color: #505a6e;
  font-size: 17px;
  text-transform: uppercase;
  display: inline-block;
  padding: 0 20px;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
nav ul li a:hover {
  color: #fff;
  -moz-transition: all 0.2s;
  text-decoration: none;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
nav ul li a.active {
  color: #fff;
}
.content-wrapper {
  padding-right: 150px;
  background-image: url(../img/visage2.png);
  background-repeat: no-repeat;
  background-position: top right;
  min-height: 420px;
}
.content-wrapper-nopadding {
  padding-right: 15px;
}
main {
  padding: 50px 0;
}
main p {
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  margin-bottom: 5px;
}
main a {
  color: #7886a0;
  text-decoration: underline;
}
main a:hover {
  text-decoration: none;
  color: #7886a0;
}
main a.email {
  color: #fff;
}
main ul li {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}
main ul.grey li {
  color: #bcbcbc;
}
main ul.grey li strong {
  color: #fff;
}
main h2 {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: bold;
}

footer {
  text-align: center;
  width: 1140px;
  margin: 0 auto;
  padding-bottom: 50px;
}
footer img {
  height: 100px;
}
.projets main,
.conferences main,
.adn main {
  padding-top: 50px;
  padding-bottom: 50px;
}
.proj-pic {
  margin-top: 10px;
  margin-bottom: 10px;
}
.conferences .articles ul {
  padding-left: 0;
}
.conferences .articles ul li {
  list-style: none;
  margin-bottom: 5px;
}
.conf-list-only {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  padding-left: 150px;
}
.conf-list-only ul {
  padding-left: 15px;
}
.conf-list-only h2 {
  font-weight: bold;
}
.row-proj {
  margin-bottom: 20px;
}

.v-align {
  padding-top: 75px;
}
.mt-30 {
  margin-top: 30px;
}
ul.projet-list li {
  margin-bottom: 0;
}
.projet-end-link {
  color: #fff;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1140px) {
  footer {
    width: 100%;
  }
}
@media only screen and (max-width: 990px) {
  header img.img-fluid {
    max-width: 100%;
  }
  .header-bg {
    height: 110px;
  }
}
@media only screen and (max-width: 768px) {
  header img.img-fluid {
    max-width: 200px;
  }
  header {
    text-align: center;
  }
  .v-align {
    padding-top: 0;
  }
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
