/* *************** */

/* **** Fonts **** */

/* *************** */

@font-face {
  font-family: 'roboto';
  src: url('fonts/Roboto-Regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'robotobold';
  src: url('fonts/Roboto-Bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'robotocondensed';
  src: url('fonts/RobotoCondensed-Regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'robotobolditalic';
  src: url('fonts/Roboto-BoldItalic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotolight';
  src: url('fonts/Roboto-Light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}



html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font: 1em/1.2 roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: #000000;
  -webkit-text-size-adjust: 100%;
  /* iPhone */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  color: #797676;
}

a {
  color: #474747;
}

p {
  font-size: 0.938em;
}

img {
  max-width: 100%;
  border: none;
}

main > * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

button,
.button {
  display: block;
  border: 0;
  cursor: pointer;
}

sub {
  font-family: robotobolditalic;
}

sup {
  padding: 0.20rem 0.50rem;
  background-color: #40a5f7;
  color: #fff;
  margin-left: 0.25rem;
  position: relative;
  top: -0.25rem;
}

.txt-hidden {
  position: absolute;
  left: -9999px;
}

select,
input {
  color: #797676;
  font-size: 0.938em;
}

.hashtag {
  border: 1px solid #797676;
  border-radius: 5px;
  padding: 0.1rem 0.25rem;
}

.icon {
  display: inline-block;
  overflow: hidden;
  text-indent: 50em;
  vertical-align: bottom;
  white-space: nowrap;
  width: 50px;
}

@media screen and (max-width:480px) {
  ul p {
    font-size: 0.813em;
  }
}

/* ******************* */

/* **** Structure **** */

/* ******************* */

body {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #EFF2F7;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: #FFFFFF url("../images/background.png") no-repeat right -20px;
  border-bottom: 2px solid #e7e8ec;
  padding-top: .5rem;
}

main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  padding-bottom: 3rem;
}

.mainSection {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 50%;
  flex: 1 1 50%;
  align-self: stretch;
  margin: 1rem;
}

.flexColumn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: start;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 50%;
  flex: 1 1 50%;
  margin: 0 1rem;
}

.overlay {
  display: none;
  position: fixed;
  z-index: 499;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
}

.overlay.on {
  display: block;
}

@media screen and (max-width:1024px) {
  main {
    flex-wrap: wrap;
  }

  .flexColumn,
  .mainSection {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }
}

/* ******************** */

/* **** Navigation **** */

/* ******************** */

/* Liens evitement */

.evitement {
  display: inline-block;
  text-align: center;
  color: #FFF;
  background: #40a5f7;
  padding: .5em;
  z-index: 5000;
  width: 100%;
  position: absolute;
  left: -99999px;
}

.evitement:focus {
  left: 0;
}

/* Navigation générale */

nav ul li,
.nav ul li {
  display: inline-block;
  padding: 1rem 2rem;
  border-bottom: none;
}

nav li h2 {
  font-size: 1em;
}

nav li a,
.nav li a {
  color: #797676;
}

nav li.on,
.nav li.on {
  position: relative;
}

nav li.on a,
.nav li.on a {
  font-family: robotobold;
  color: #40A5F7;
}

nav .tab,
.nav .tab {
  background-color: #FFF
}

nav .tab.on {
  bottom: -1px;
  border-bottom: 1px solid #D8D8D8;
}

/* Navigation header */

header nav li {
  display: inline-block;
  padding: .80rem 2rem 1.5rem;
}

header nav a {
  font-size: 1.250em;
}

header nav .on {
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid #40A5F7;
}

section nav a,
.section nav a {
  text-transform: uppercase;
}

@media screen and (min-width:1024px) and (max-width:1279px) {
  header nav li {
    padding: 0.8rem 1rem 1.5rem;
  }
}

@media screen and (max-width:1023px) {
  header nav li {
    display: block;
    padding: 0.8rem 0.5rem;
    margin-bottom: 1rem;
  }

  header nav .on {
    border-bottom: none;
  }
}


@media screen and (max-width:480px) {
  section nav {
    width: 100%;
  }
  section nav li {
    width: calc(100% - 4rem)
  }

  section nav li:nth-child(2) {
    display: none;
  }
}

/* Navigation responsive */

.menu .title {
  display: none;
  margin-bottom: 2rem;
}

.menu .title span {
  display: inline-block;
  font-size: 1.250em;
  vertical-align: top;
}

.menu .title img {
  width: 20%
}

.menuResponsive {
  display: none;
  margin: .5rem 0 0 .5rem;
}

.menuResponsive button {
  display: block;
  background: transparent url("../images/pictos-portail.svg") no-repeat -35px -264px;
  width: 40px;
  height: 40px;
}

.menuResponsiveClose {
  display: none;
  position: absolute;
  right: 0;
  top: .25rem;
}

.menuResponsiveClose button {
  display: block;
  background: transparent url("../images/pictos-portail.svg") no-repeat -35px -309px;
  width: 40px;
  height: 40px;
}

@media screen and (max-width:1023px) {
  header .menuResponsive,
  header .menuResponsiveClose,
  .menu .title {
    display: block;
  }

  header .menu {
    position: fixed;
    top: .5rem;
    left: -20rem;
    height: 100%;
    z-index: 500;
    padding: 3rem 2rem 2rem;
    background: #FFF;
    transition: left 1s;
  }

  header .menu.open {
    left: 0rem;
  }
}


/* ***************** */

/* **** Boutons **** */

/* ***************** */

button {
  background-color: #40A5F7;
  border-radius: 20px;
  color: #FFF;
  padding: .5rem 1rem;
  font-size: 0.750em;
}

button.plus::before {
  display: inline-block;
  content: "";
  width: 20px;
  height: 13px;
  background: url("../images/pictos-portail.svg") no-repeat 0 -97px;
}

button.voirPlus {
  position: absolute;
  right: 0;
  bottom: 0;
}

@media screen and (max-width:480px) {
  button.plus {
    display: none;
  }
}

/* **************** */

/* **** Header **** */

/* **************** */

header .menu {
  -webkit-box-flex: 6;
  -ms-flex: 6 6 0px;
  flex: 6 6 0;
}

header > div:not(.menu) {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  margin-bottom: 0.5rem;
}

header h1 {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  text-align: center;
  padding-top: 0.25rem;
}


}