/* CSS Document */
/* GM Color #8a2d38 */
/* Inspiré de */
/* https://codepen.io/erikterwan/pen/EVzeRP */
/* https://codepen.io/shieldsma91/pen/zLpbLX */
/* https://freefrontend.com/css-mobile-menus/ */

@font-face {
	font-family: 'TrajanPro-Bold';
	src: url('/gmweb/font/TrajanPro-Bold.eot');
	src: local('TrajanPro-Bold'), url('/gmweb/font/TrajanPro-Bold.ttf') format('truetype');
}

@font-face {
	font-family: 'TrajanPro-Regular';
	src: url('/gmweb/font/TrajanPro-Regular.eot');
	src: local('TrajanPro-Regular'), url('/gmweb/font/TrajanPro-Regular.ttf') format('truetype');
}

body {
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #1E1E23;
  opacity:1;
  font-family: 'TrajanPro-Regular';
/*  font-family: 'work sans', sans serif; */
  font-size: 1.2em;
/*  font-size: 1.5em; */
  font-weight: 400;
  transition: 200ms;
}
a:hover {
  opacity:0.5;
}
ul {
  padding: 0;
  list-style-type: none;
}

.container {
  margin-top: 50px; 
  Display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  background-color: #36383F;
  border-radius: 40px;
  width: 300px;
  height: 600px;
  Display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 30px 50px 100px #85888C;
}

.content {
  border: 1px solid #36383F;
  border-radius: 20px;
  width: 94%;
  height: 91%;
/* Contenu */
  background-color: #ffffff; 
  overflow: hidden;
}

.mcontainer {
  margin-top: 0px; 
  Display: flex;
  justify-content: center;
  align-items: center;
}

.mobile {
  background-color: #36383F;
  width: 300px;
/*  height: 600px; */
  Display: flex;
  justify-content: center;
  align-items: center;
}

.mcontent {
  border: 0px solid #36383F;
  border-radius: 0px;
  width: 100%;
  height: 100%;
/* Contenu */
  background-color: #ffffff; 
  overflow: hidden;
}


nav {
/* Bandeau superieur menu */
/*  background-color: #1E1E23; */
  background-color: #8a2d38; 
  height: 60px;
}

#menuTitre {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  top: 0px;
  left: 53px;  
  width: 188px;
}

#mainTitre {
  font-size: 1.2em;  
  color: #e6e6e6;
  opacity:1;
  font-family: 'TrajanPro-Regular';
  left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px; 
  margin-left: 0px; 
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#sousTitre { 
  text-decoration: none;
  font-size: 0.4em;  
  color: #e6e6e6;
  opacity:1;
  font-family: 'TrajanPro-Regular';
  left: 45px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px; 
  margin-left: 0px; 

  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#loginmgm {
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  
  top: -30px;
  left: 252px;
  width: 22px;

/*
  position: absolute;
  width: 22px;
  height: 22px;
  margin: 0px;
  z-index: 1;
*/  
}

.titre {
  padding-top: 10px;
}


.titre a {
  text-decoration: none;
  color: #464653;
  opacity:1;
  font-family: 'Arial',arial;
/*  font-family: 'work sans', sans serif; */
  font-size: 0.9em;
/*  font-size: 1.5em; */
  font-weight: lighter;
  transition: 200ms;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 2px;
  display: block;  
}

.soustitrea a {
  background-color: #dbdbdb; 
  font-size: 0.7em;
  color: #000;
  font-family: 'TrajanPro-Regular';
/*  
  padding-top: 7px;
  padding-right: 7px;
  padding-bottom: 7px;
  padding-left: 2px;
*/  
  width: 100%;
  height: auto;
  padding: 2%;
  display: block;
  cursor: pointer;
}

.soustitre {
  background-color: #fff; 
  width: 100%;
  height: auto;
  
  border: 1px solid #fff;
  border-radius: 1px;

  
  display: flex;
  flex-direction: row;
  position: relative;
/*  -webkit-user-select: none;
  user-select: none;     */
}

.imagestitre {
  margin: 0 2%;
  padding-top: 15px;
  float: left;
  width: 60px;
  height: 40px;
}

.imagecovers {
  margin: 0 1.3%;
  padding-top: 1px;
  padding-left: 0px;
  padding-bottom: 5px;
  float: left;
  height: 105px;
  width: 85px;
}

.imagedrouot {
/*
  padding-top: 5px;
  padding-left: 0px;
  padding-bottom: 5px;
*/
  height: 68px;
  width: 120px;
  display: block;
  margin: 0 auto;
}


.textstitre {
  float: left;
}

.textstitre p {
/*  font-family: 'TrajanPro-Regular'; */
  font-family: 'work sans', sans serif;
  font-size: 0.8em;
  font-weight: normal;
  width: 100%;
  float: left;   
}

.animation {
  width: 282px;
}

.animation img {
  max-width: 100%;
  max-height: auto;
  margin: auto;
  display: block;
}

.canvas {
}

.slider {
  width: 100%;
  max-width: 1000px;
  overflow: hidden; 
}

.slider figure {
  position: relative; 
  width: 500%;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: left;
  animation: 15s slidy infinite;
}

.slider figure img {
  width: 20%;
  height: auto;
  float: left;
}

@keyframes slidy {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: -100%; }
  45% { left: -100%; }
  50% { left: -200%; }
  70% { left: -200%; }
  75% { left: -300%; }
  95% { left: -300%; }
  100% { left: -400%; }
}


#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 25px;
  left: 15px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  /* essai */
  width: 200px;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span
{
  display: flex;
  width: 29px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
/*  icone hamburger */
/*  background: #ffffff; */
  background: #000000;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
/* background: #8a2d38; */   
/* Croix du menu        */
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 180px;
  height: 400px;
  box-shadow: 0 0 10px #85888C;
  margin: -50px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  /* Fond du menu */
/*  background-color:#F5F6FA; */ 
  background-color: #f2f2f2;  
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  transition-delay: 2s;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}