html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  color: #333333;
  background-color:#fff;
  /* prevent ie from showing the horizontal scrollbar */
  overflow-x: hidden;
}
body.overflow-hidden {
  /* when author bio is visible, the out-of-focus content won't scroll */
  overflow: hidden;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  max-width: 100%;
}

span {
	font-size:0.8em;
}

em {
	font-style:italic;
	font-weight:600;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */
main {
  position: relative;
  /* z-index: 2; */
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
main.slide-out {
  /* the main element slides to the left when the author bio is visible */
  -webkit-transform: translateX(-270px);
  -moz-transform: translateX(-270px);
  -ms-transform: translateX(-270px);
  -o-transform: translateX(-270px);
  transform: translateX(-270px);
}
main.slide-out .cd-overlay {
  /* the overlay layer gets visible when the author bio slides in */
  display: block;
  -webkit-animation: cd-fade-in 0.3s;
  -moz-animation: cd-fade-in 0.3s;
  animation: cd-fade-in 0.3s;
}
@media only screen and (min-width: 768px) {
  main.slide-out {
    /* change in size of the author bio section */
    -webkit-transform: translateX(-600px);
    -moz-transform: translateX(-600px);
    -ms-transform: translateX(-600px);
    -o-transform: translateX(-600px);
    transform: translateX(-600px);
  }
}
@media only screen and (min-width: 1200px) {
  main.slide-out {
    -webkit-transform: translateX(-800px);
    -moz-transform: translateX(-800px);
    -ms-transform: translateX(-800px);
    -o-transform: translateX(-800px);
    transform: translateX(-800px);
  }
}

.intro {
	 padding:20px;
	margin:auto;
	width:100%;
	background-color:#fff;
	/* background-image:url(../img/fond.jpg); */
}

.intro p {
/* 	border-left:4px solid #00a7e3;
	border-right:4px solid #e2001a; */
	text-align:center;
	margin:auto;
	width:100%;
	color:#000;
    font-family: 'Roboto',Calibri,Arial,sans-serif;
	text-align:left;
	font-size:1.2em;
	line-height:1.2em;
	/* background-image:url(../img/fond.jpg); */
}

.credits {
	/* background-color:#ededed; */
	text-align:left;
	margin-left:20px;
	margin-bottom:20px;
    font-family: 'Roboto',Calibri,Arial,sans-serif;
	color:#000;
    font-size: 1em;
	line-height:1.3em;
    font-weight:300;	
}

.menu {
	margin:auto;
	width:100%;
    font-family: 'Roboto',Calibri,Arial,sans-serif;
	text-align:center;
	font-size:1.5em;
	/* background-image:url(../img/fond.jpg); */
}

.sous-menu {
	float:center;
	display:inline-block;
	margin:auto;
	text-align:center;
	padding:10px;
	margin:5px;
	background-color:#fff;
	transition:all ease 0.25s;
	opacity:1;
	}

.sous-menu:hover {
	opacity:0.8;
	color:black;
}

.cd-section {
  padding:0;
  text-align: center;
}
.cd-section .cd-container {
  /* this modifies the .cd-container default max-width */
  max-width: 768px;
}
.cd-section h2 {
  font-family: "Memphis",Helvetica,Arial,sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1em;
  font-size: 2.5em;
  padding:20px;
  background-color:#E63A38;
}
.cd-section p {
  line-height: 1.4;
}

@media only screen and (min-width: 768px) {
	
		.logo {
	position:fixed;
	top: 15px;
	left:15px;
	display:inline;
	z-index:100;

}
	.logo img{width:60px;}

  .cd-section {
    padding: 4em;
	  padding-top:0;
  }
  .cd-section p {
    line-height: 1.6;
  }
}
@media only screen and (min-width: 1200px) {
	
	

  .cd-section {
    padding: 0 6em 0;
  }
  .cd-section h2 {
    margin-bottom: 2em;
  }
  .cd-section p {
    line-height: 1.8;
    font-size: 18px;
    font-size: 1.125rem;
  }
}



.top img {
	width:100px;
	font-weight:800;
		transition:all ease 0.25s;
		opacity:1;
}

.top img:link {
	text-decoration:none;

	opacity:1;
}

.top img:hover {
	text-decoration:none;
	opacity:0.5;

}

#partage {
	position:fixed;
	float:left;
	left:100px;
	top:20px;
	text-align:right;color:red;
	z-index:9999999;
}


header {
  /* background: #0991BD; */
  height:25vw;
  width:100%;
  background-color:black;
	background-image:url(../img/cover.png);
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
}

@media(max-width:768px) {
	#partage{display:none;
	}
}
	

.header {
  /* background: #0991BD; */
  /* height:18vw; */
  height:auto;
  width:100%;
  
  margin:auto;
  text-align:center;
/* 	background-image:url(../img/header.jpg);
  -webkit-background-size: cover;
  background-size: cover;
  background-position:top center; */
}


@media only screen and (max-width: 768px) {
	
	.logo {
	position:fixed;
	bottom: 10px;
	right:10px;
	display:inline;
	z-index:100;

}
	header {
	height:72vw;
	width:100%;
	background-color:black;
	background-image:url(../img/cover-mob.png);
	-webkit-background-size: cover; /* pour anciens Chrome et Safari */
	background-size: cover; /* version standardisée */
	}
}

header h1 {
  font-family: "Memphis",Helvetica,Arial,sans-serif;
  font-size: 3em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: .4em;
  color: #fff;
}

@media only screen and (max-width: 768px) {

	header h1 {
	  font-size: 2em;
	}
	
	.cd-section h2 {
	  font-size: 1.8em;
	}
	.intro {
	width:100%;
}
.intro p {
/* 	border-left:4px solid #00a7e3;
	border-right:4px solid #e2001a; */
	padding-left:20px;
	margin:auto;
	width:90%;
	color:#000;
    font-family: 'Roboto',Calibri,Arial,sans-serif;
	text-align:left;
	font-size:1em;
	line-height:1.2em;
	/* background-image:url(../img/fond.jpg); */
}
}

header p {
  font-size: 13px;
  font-size: 0.8125rem;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  color: #fff;
}

.partis {
	position:relative;
	margin:0;
	text-align:center;
	background-color:#2B2B2B;
}

.cd-placeholder-1 {
  background: #f25f5c;
  color: #fdeaea;
}

.cd-placeholder-2 {
  background: #FFF;
}

#cd-team {
  background: #fff;
  /* background-image:url(../img/fond.jpg); */
}
#cd-team .cd-container {
  max-width: 1400px;
}
#cd-team h2 {
  color:white;
}
#cd-team li {
  margin-bottom: 2em;
  /* border-radius: 0.25em; */
  /* box-shadow: 0 0 10px rgba(92, 75, 81, 0); */
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity:1;
}
.no-touch #cd-team li:hover {
  /* box-shadow: 0 0 10px rgba(92, 75, 81, 0.3); */ 
	/* filter:grayscale(60%); */
	opacity:0.8;
	transform:rotate(1deg);
}

.no-touch #cd-team li:hover .cd-img-overlay {
  opacity: 1;
  
}
#cd-team figure {
  position: relative;
}
#cd-team img {
  display: block;
  /* width: 100%; */
  /* border-radius: .25em .25em 0 0; */
}

#cd-team .cd-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:url(../img/hover-2.png); */
  background-size:100%;
  opacity: 0;

  /* border-radius: .25em .25em 0 0; */
  -webkit-transition: opacity 0.25s;
  -moz-transition: opacity 0.25s;
  transition: opacity 0.25s;
}
#cd-team .cd-img-overlay span {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  color: #FFF;
}
#cd-team .cd-member-info {
  height: 90px;
  color:#000;
  text-align: center;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight:400;
  padding-top: 10px;
  font-size:1.3em;
}
#cd-team .cd-member-info span {
  display: block;
  /* font-family: "Droid Serif", serif; */
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight: 500;
  color: #999999;
  font-size: 14px;
  font-size: 0.875rem;
  margin-top: .5em;
}
.cd-member-info h3 {
  margin-top:10px;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight: 400;
  /* text-transform: uppercase; */
  text-align: center;
  font-size: 0.9rem;
  line-height: 1rem;
  color:#333;
  /* letter-spacing:0.3em; */
}
@media only screen and (min-width: 768px) {
  #cd-team li {
    width: 13%;
    float: left;
    margin-right: 3.5%;
  }
  #cd-team li:nth-child(6n) {
    margin-right: 0;
  }
}

.cd-member-bio {
  position: fixed;
  top: 0;
  right: 0;
  width: 270px;
  height: 100%;
  overflow-y: auto;
  /* smooth scrolling on mobile phones and tablets */
  -webkit-overflow-scrolling: touch;
  background: #fff;
  z-index: 1;
  /* this how we move the author bio section off the canvas */
  -webkit-transform: translateX(270px);
  -moz-transform: translateX(270px);
  -ms-transform: translateX(270px);
  -o-transform: translateX(270px);
  transform: translateX(270px);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-member-bio.slide-in {
  /* the author bio section slides in when the user clicks on the team member picture */
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-member-bio .cd-member-bio-pict {
  position: relative;
}
.cd-member-bio .cd-member-bio-pict::after {
  /* gradient at the bottom of the image - same color of the background of the section */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
/*   background: -webkit-linear-gradient( bottom , #fff, rgba(92, 75, 81, 0));
  background: linear-gradient(to top, #fff, rgba(92, 75, 81, 0)); */
}
.no-cssgradients .cd-member-bio .cd-member-bio-pict::after {
  display: none;
}
.cd-member-bio img {
  width: 100%;
  display: block;
}
.cd-member-bio .cd-bio-content {
  padding: 1em;
  color: #FFF;
}
.cd-member-bio .cd-bio-content h1 {
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight: bold;
  /* text-transform: uppercase; */
  text-align: center;
  font-size: 20px;
  font-size: 1.25rem;
  color:#000;
}
.cd-member-bio .cd-bio-content h3 {
  margin-top:10px;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight: 400;
  /* text-transform: uppercase; */
  text-align: center;
  font-size: 1rem;
  color:#333;
  /* letter-spacing:0.2em; */
}
.subox {
  margin-top:10px;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  text-align:left;
  font-size: 2em;
  color:#000;
}
.cd-member-bio .cd-bio-content p {
  font-size: 14px;
  font-size: 0.875rem;
  margin: 1em 0;
  line-height: 1.4;
  color: #000;
  font-family: 'Roboto',Calibri,Arial,sans-serif;
}
.cd-bio-content img {
  width:50px;
  margin-right:10px;
  float:left;
}
strong {
	font-weight:700;
}
@media only screen and (max-width: 768px) {
  .cd-member-bio {
    width: 360px;
    -webkit-transform: translateX(360px);
    -moz-transform: translateX(360px);
    -ms-transform: translateX(360px);
    -o-transform: translateX(360px);
    transform: translateX(360px);
  }
  .cd-member-bio .cd-bio-content {
    padding: 2em;
  }
  .cd-member-bio .cd-bio-content p {
    line-height: 1.6;
    margin: 2em 0;
  }
}
@media only screen and (min-width: 769px) {
  .cd-member-bio {
    width: 800px;
    -webkit-transform: translateX(800px);
    -moz-transform: translateX(800px);
    -ms-transform: translateX(800px);
    -o-transform: translateX(800px);
    transform: translateX(800px);
  }
  .cd-member-bio .cd-member-bio-pict::after {
    height: 150px;
  }
  .cd-member-bio .cd-bio-content {
    padding: 4em 4em 0em 4em;
    /* we move the content up so the title is over the color gradient */
    -webkit-transform: translateY(-50px);
    -moz-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    -o-transform: translateY(-50px);
    transform: translateY(-50px);
  }
  .cd-member-bio .cd-bio-content h1 {
    font-size: 40px;
    font-size: 2.5rem;
  }
  .cd-member-bio .cd-bio-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .no-cssgradients .cd-member-bio .cd-bio-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

.cd-member-bio-close {
  width: 35px;
  height: 35px;
  overflow: hidden;
  position: fixed;
  top: 10px;
  right: 10px;
  background: url("../img/cd-icon-close.svg") no-repeat center center;
  border:2px solid #fff;
  padding:5px;
  background-color:rgba(0,0,0,0);
  border-radius:50%;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 3;
  display: none;
}
.cd-member-bio-close.is-visible {
  display: block;
  -webkit-animation: cd-move-in 0.8s;
  -moz-animation: cd-move-in 0.8s;
  animation: cd-move-in 0.8s;
}
@media only screen and (min-width: 1200px) {
  .cd-member-bio-close {
    right: 20px;
    top: 20px;
  }
}

.cd-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255, 0.8);
  cursor: pointer;
  display: none;
}

/* -------------------------------- 

xkeyframes 

-------------------------------- */
@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes cd-move-in {
  0% {
    -webkit-transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-move-in {
  0% {
    -moz-transform: translateX(100px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-move-in {
  0% {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
