@font-face {
	font-family: 'Cabin-Bold';
	src: url('../font/Cabin-Bold.eot?') format('eot'), 
	     url('../font/Cabin-Bold.otf')  format('opentype'),
	     url('../font/Cabin-Bold.woff') format('woff'), 
	     url('../font/Cabin-Bold.ttf')  format('truetype'),
	     url('../font/Cabin-Bold.svg#Cabin-Bold') format('svg');
}
@font-face {
	font-family: 'Cabin-Regular';
	src: url('../font/Cabin-Regular.eot?') format('eot'), 
	     url('../font/Cabin-Regular.otf')  format('opentype'),
	     url('../font/Cabin-Regular.woff') format('woff'), 
	     url('../font/Cabin-Regular.ttf')  format('truetype'),
	     url('../font/Cabin-Regular.svg#Cabin-Regular') format('svg');
}
body
{
    font-family: "Cabin-Regular";
  
    /*background-color: #FDFEF9;*/
    font-size: 14px;
    margin: 0;
   
    max-width:100%;
    margin:auto;
}

.message {
	display: block;
	background-color: #EA8040;
	text-align: center;
	border-left: 0px solid;
	border-right: 0px solid;
	border-color: #CCC;		
	height: auto;
	margin: auto;
	color: white;
	line-height: 30px;
	max-width: 600px;
	margin: 20px auto;
	min-height: 30px;
	border-radius: 5px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}


.blockFormAuth, .blockFormCart {
            
	width: 90%;
	margin-right: 2%;
	margin-left: 2%;
	margin-top: 0;
	padding: 0;
	height: 244px;
	display: inline-block;
	min-width: 200px;
	max-width:600px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.blockFormCart {
  
  height: 400px;
  width: 96%;
  margin-right: 2%;
  margin-left: 2%;
}

.blockCartButton {
width: 96%;
margin-left: 2%;
margin-right: 2%;
}

.blockFormAuth > div, .blockFormCart > div {
  border: 2px solid #476EAE;
  height: 200px;  
  
padding-right: 10px;
padding-left: 10px;
   
}
.blockFormCart > div {
  height: 350px;
  background-color: white;
  border: none;
  padding: 0;
  margin: 0;
padding-right: 10px;
padding-left: 10px;


}

.blockFormAuth h4, .blockFormCart h4 {
  background-color: #476EAE;
  color: white;
  line-height: 20px;
  padding: 10px;
  margin: 0;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.blockFormCart form {

padding-top: 10px;
width: 100%;
 
}

.blockFormAuth form, .blockFormAuth a {
  text-align: right;
  margin-top: 20px;
}

.blockFormLabel {
float: left;
width: 25%;
display: block;
line-height: 45px;
     
}

.blockFormLabel label{
display: block;
white-space: nowrap;
text-align: left;
}

.blockFormInput label, .blockFormInput input{
/*line-height: 45px;*/
height: 35px;
vertical-align: middle;
}
.blockFormInput select {
width: 100%;
}
.blockFormInput {
 float: right;
width: 60%;
display: block;

/*height: 340px;*/

}

.blockFormAuth input, .blockFormCart input {
  margin-bottom: 10px;
float: right;

}

.blockFormAuth input[type=text], .blockFormAuth input[type=password], .blockFormCart input[type=text], .blockFormCart input[type=password]        {
  height: 30px;
  width: 100%;

}
            
/*
@font-face{ font-family: 'GillesComicMS'; src: url('../font/gillescomicfont-webfont.eot'); src: url('../font/gillescomicfont-webfont.eot?#iefix') format('embedded-opentype'), url('../font/gillescomicfont-webfont.woff') format('woff'), url('../font/gillescomicfont-webfont.ttf') format('truetype'), url('../font/gillescomicfont-webfont.svg#webfont') format('svg'); }
*/
/* Champs obligatoire non rempli */
.must_be_fill {
		background-color: #FF7373;
	
}
	
.error {

    color :red;
    margin-left: 100px;
}
	
	img {
		border: none;
		height:auto;
	
	}

	a {
	
		color: #5555FF;
		text-decoration: underline;
		font-weight: bold;
	}
	
	a:hover {
		text-decoration: underline;
		color:#0000FF;
	
	}
  .navbar {
      overflow: hidden
    }
    
	.bold {
		font-weight: bold;
	}
    
  .italic {
      font-style: italic;
  }
    /*  END SLIDES JS OPTIONAL STYLE  */

  .clr{
      clear:both;
  }

	.justify {
		text-align: justify;
	
 	}
  .left
    {
    float: left;
  }

  .right
    {
    float: right;
  }

  
  
  
  
  /*** Popup Modal ***/
  .modal {
  display: none;
}
.modal-back {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba( 0, 0, 0, .25 )
}
.modal-container {
  position: fixed;
  top: 30%;
  left: 50%;
  padding: 0px;
  background: white;
  width: 350px;
  transform: translate(-50%, -50%);
  line-height:50px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.modal-title{
	width: 100%;
      font-size: 150%;
       color:#fff; 
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      box-shadow: 0px 0px 12px 0 rgba(0, 0, 0, 0.2), -7px 0px 12px rgba(0,0,0,0.2);
      background-color: #476EAE; /*#2f8bdb;*/
	
}
.modal-container td {
	min-width: 65px;
}
.modal-container input[type="text"]{
	width: 50px;
}
.modal-container a{
	min-width: 100px;
}

.modal-container a:hover{
	color:#fff;
}

/**************************/
  
 .list-defi 
 {
	 /*overflow-y:auto; */
	 max-height:calc(100% - 73px);
	 /*! display: contents; */
	/* cursor: grab;*/
 } 

.list-defi ul{
    padding-left:0px;
	padding-bottom:10px;
}
 
 .list-defi ul>li
 {
	 display: block;
     border-radius: 5px;
     margin-bottom:8px;
	 min-height: 60px;
     max-width:90%;
	 background-color:#F6F9FB;
     margin-left:auto;
     margin-right:auto;     
     box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
	 padding: 0px;
 }
 .list-defi ul>li.highlight
 {		
	 border: solid #75B3F3;
 }
 
.avatar
{
	float: left;
	width:10%;
	padding-top:10px;
 height: 40px;
 width:40px;
 
}
 
 .header_list
 {
	 line-height: 40px;
	 font-size: 120%;
	 width: 100%;
 }
 
 .versus 
 {
	 height:25px;
	 text-align:center;
	 position: relative;
	 top: -12px;
 }
 
  .opponents
  {
	  line-height:20px;
	  max-height: 130px;
	  
  }
 .opponents span.date
 {	 
  text-align: left;
  width:100%;
  display:inline-block;
  padding: 5px;
  position: relative;
  top: -36px;
 }
 
 .opponents .who
 {
	 text-align:right;
	 width:45%;
	 display: inline-block;	
	font-size: 120%;
	overflow: auto;
 }
 
 .opponents .score
 {
	 text-align:left;
	 width:35%;
	 display: inline-block;	 
	 font-size: 120%;
	 font-weight:bold;
 }
 
 .opponents img
 {
	 vertical-align:middle;
 }
 
 .opponents .winner
 {
	 /*padding: 5px;*/
	 background-image:linear-gradient(to bottom,#51e3d8,#28C3AF);
	 border-radius: 5px 5px 0px 0px;
 }
 
 .opponents .avatar{
	 padding:5px;
	 width:35px;
	 height:35px;
 }
 
 .opponents .looser
 {
	 position: relative;
	 top: -24px;
 }
 

  
  
/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
@media screen and (orientation:landscape) and (min-aspect-ratio:16/9) and (max-height:400px)
{
    .list-defi 
     {         
         max-height:30vh;
     }
}

/*  TEMPLATE MOBILE FIRST    */
@media only screen and (min-width: 0px)
{

   body { 
			height: 100vh;
      font-size: 12px;
	  
       /*! background-image: url('../images/fond.jpg'); */
		background-color: #000 /*rgb(228, 254, 255);*/
			/* background: linear-gradient(-45deg, rgb(228, 241, 251) 0%, rgb(186, 231, 255) 52%, rgb(228, 254, 255) 100%);*/
		}
    /*body:before { content: "Between 0 and 480"; }*/
    
	h1, h2, h3{
    font-family: Cabin-Bold;
    color: black;
    margin: auto 20px auto 20px;
    text-align: center;
  }
  
    #page
        {
        position: relative;
        /*! width: 100%; */
        /*! min-height: 100%; */
        margin:auto;
        padding-left: 10px;
        padding-right: 10px;
        height: 100%;
		max-width:960px;
		
    }

    #pathway
        {   
      width: 100%;
        
    }
  
    /* le head est noir */
    #header 
        {
      width: 100%;
      
        
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      box-shadow: 0px 0px 12px 0 rgba(0, 0, 0, 0.2), -7px 0px 12px rgba(0,0,0,0.2);
      background-color: #476EAE; /*#2f8bdb;*/
    }

    #header p
        {
        color: white;
    }
    
    #top{
       
        margin: 0px 20px 0px 0px;
        /*eight: 100px;*/
    }
    
    
    #menu_top {
         height: 50px;
		
         line-height: 50px;
    }
	
	#menu_top h1{
		color:white;
	}
    
    #left {
      float: left;
      
      text-align: center;
      
    
    }
    
        
        
    #main
        {
        margin: auto;
        width: 100%;
        background-image: linear-gradient(#FFFFFF 70%, #000);
        
        background-color: white;
       /* background-image: url('../images/fond.jpg');*/
        /*box-shadow: -7px 5px 12px rgba(0,0,0,0.2);*/
        
        height: calc(100% - 18px - 50px - 65px); /* pathway - header - footer */
    }

    #wrapper {
                
        margin-left: auto;
        margin-right: auto;
        /*! max-width: 1324px; */
        
        /*background-color: #FF4000;*/
           
        box-shadow: 0px 7px 10px rgba(0,0,0,0.2) inset;
        height: 100%;
    }
    
   
    
	  

    #maincolumn{
     padding-top: 10px;
        margin: 0px 160px 0px 160px;
        max-width: 1004px;
        
        min-height: 500px;
    
    }
    
    #maincolumn-only
        {
        padding-top: 10px;
        margin: 0px 10px 0px 10px;
        /*! max-width: 1161px; */
        text-align: center;
       height: calc(100% - 10px); /* -padding top */
	   
	   overflow-y:auto;
        /*background-color:#BFFF00;*/
         
    }
    
     footer{
        position:fixed;
        bottom:0;
        height: 65px;
        line-height: 45px;
        
        text-align:center;
        margin:auto;
        width:100%; 
    }
    
    #footer {
        background-color: #000000;
        width: calc(100% - 20px);
        display:block;
        max-width:960px;
        
    
        /*! margin: 0px; */
    }

    .article img{
      max-width: 100%;
      height: auto;
    
    }
    
    
    
    .menu_horizontal{
        background-repeat: no-repeat;
        display:inline-block;
        position: relative;
        width:100%;
        margin:auto;
        padding:0;
    }
    
    .menu_horizontal ul{
        position: relative;
        top: 0px;
        right: 0px;
        z-index: 100;
        width:100%;
       padding:0;
        
    }
    
    .menu_horizontal li {
      background-color: #000000;
      text-align: center;
      
      float:left;
        white-space:nowrap;        
        width:calc(0.2 * 100%);
      
      display: block;
    }
    
    .menu_horizontal a {
        display : block;
        color : #84878C;
        text-decoration : none;
        font-size: 12px;            
        line-height: 10px;
        //font-family: Cabin-Regular;
        
        }
    
    .menu_horizontal a:hover { 
        text-decoration : none; 
        color: #fdfef9;
    }
    
    
    
      #left {
          background-image: url('../images/bandeau_logo_pour_miniatures.png');
          background-repeat: no-repeat;
          background-size: 100% 100%;
          max-width: 157px;
          height: auto;
          margin-top: -50px;
          padding-top: 10px;
          padding-right: 20px;
          min-height: 400px;
        }
        
        /* le logo*/
        .logo{
          max-width: 100%;
          height: auto;
          
        
        }
        

  h3 {
  font-size: 14px;

  }
        
        /* PORTFOLOIO */
    
    #portfolioMenu {
        padding-top: 0%;
        max-width: 157px;
        min-height: 500px;
    
    }
    
    .portfolioThumbnail {
      margin-bottom: 10px;
      margin-left: -10px;
      opacity: 0.5;
      z-index: 1;
      
    }
    
    .portfolioThumbnail img {
      width: 55px;
      cursor: pointer;
      z-index: 1;
      
    
    }
    
    .portfolioActiveThumbnail{
    
      opacity: 1.0;
    }
    
    .portfolioHideThumbnail {
      opacity: 0.0;
      height: 0px;
      margin: 0;
      width: 0px;
      display: none;    
    }
    
    #portfolioMenuBtnUp {
      display: block;
      width: 100%;
      height: 53px;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url('../images/bt_fleche_up.png');
      cursor: pointer;
      padding-bottom: 20px;
      z-index: 10;
    }
    
    #portfolioMenuBtnUp:hover {
      
      background-image: url('../images/bt_fleche_up_roll_over.png');
       z-index: 10;
    }
    
    #portfolioMenuBtnBtm {
      display: block;
      width: 100%;
      height: 53px;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url('../images/bt_fleche_down.png');
      cursor: pointer;
      padding-top: 10px;
      z-index: 10;
    }
    
    #portfolioMenuBtnBtm:hover {
      
      background-image: url('../images/bt_fleche_down_roll_over.png');
       z-index: 10;
    }
    
    /* portfolio content */
    
    .portfolio {
      max-width: 1024px;    
      text-align: center;   
      
    }
    
    /* modifier dans portfolio.js */
    #portfolioContainer {
      margin: auto;
      max-width: 918px;
      max-height: 650px;
      line-height: 650px;
      text-align: center;
          
    }
    
    #portfolioBtnPrevious {
      display: inline-block;
      vertical-align: middle;
      background-image: url('../images/bt_fleche_prev.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: auto;
      width: 8%;
      height: 50px;
      cursor: pointer;
     
    }
    
    #portfolioBtnNext {
      display: inline-block;
      vertical-align: middle;
      background-image: url('../images/bt_fleche.png');
      background-repeat: no-repeat;
      background-position: center;
      width: 8%;
      height: 100px;
      cursor: pointer;
    }
    
    #portfolioBtnPrevious:hover {
      background-image: url('../images/bt_fleche_prev_roll_over.png');
    
    }
    #portfolioBtnNext:hover {
      background-image: url('../images/bt_fleche_roll_over.png');
    
    }
   
    
    #portfolioImg {
       display: inline-block;
     /* margin: auto;*/
      vertical-align: middle;
      max-width: 80%;
      height: auto;
     
      
    }
    #portfolioPuces {
      margin: 0;
      max-width: 1024px;
      height: 33px;
      text-align: center;
    }
    
    .portfolioPuce {
      background-image: url('../images/bt_puce_capture_0.png');
      width: 33px;
      height: 33px;
      margin: auto;
      display: inline-block;    
    }
    
    .portfolioActivePuce {
      background-image: url('../images/bt_puce_capture_1.png');
    
    }
    
    #portfolioCartouche {
      margin: auto;
      max-width: 548px;
      
      background-image: url('../images/cartouche_descriptif_avec_logo.png');
      width: 100%;
      height: auto;
      margin:auto;
      background-repeat: no-repeat;
      text-align: center;
      display: inline-block;
      
      
    }
    
    #portfolioDescriptionLogo {
      width: 106px;
      height: 109px;
      line-height: 109px;
      padding: 30px 0px 0px 17px;
      float: left;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 96px auto;
 
    }
    #portfolioDescription{
      
      padding: 0px 0px 0px 140px;
      max-width: 425px;
      font-size: 8px;
      text-align: center;
    }
    #portfolioDescription p{
      width: 100%;
      text-align: center;
    }
    
    #portfolioLink {
      /*background-image: url('../images/cartouche_descriptif_voir_le_site.png');*/
      max-width: 13%;
      position: relative;
      top: 0;
      left: 75%;
      cursor: pointer;
      line-height: 50px;
      display: block;
      
    }
    #portfolioLink img{
      max-width: 100%;    
    }
  /*  
    #portfolioLink a{
      display: block;
      height: 100%;
    
    }
    */
   
      /***************/
    
    #mention_legales {
      background-image: url('../images/mentions_legales.png');
      background-repeat: no-repeat;
      /*background-position: center;*/
      width: 100%;
      height: 385px;
      padding-top: 100px;
      padding-left: 100px;
      
    }
    
    #mention_legales p{
      width: 450px;
      
    }
    
    #gameCanva{
      text-align: center;
      display: inline-block;
      margin: auto;
      max-width: 100%;
    
    }
    
    .article{
      width: 100%;
      margin: auto;
      display: block;
      }
      
    .article h3
{    text-align: center;
    
    }
    .article p{
      text-align: left;
    }
    
    
    #contact{
      display: block;
      max-width: 110px;
      text-align: left;
      padding-left: 15%;
      line-height: 1.6em;
    
    }

}

/* POUR DEBUG */
@media only screen and (min-width: 240px)
{ 
/*body:before { content: "Between 0 and 240"; }*/
	h1
	{
		font-size: 16px;		
	}
	
	
}


/*  TEMPLATE SMALL SCREEN  */
@media only screen and (min-width: 480px)
{
body { 
			
			font-size: 14px;
            
		}
        
        #header 
        {
      
        
    }
      
	  h1
	{
		font-size: 18px;		
	}
  h3 {
  font-size: 16px;

  }
    .list-defi ul>li
	{
		max-width:400px;
	}
  
	.menu_horizontal a {
		font-size: 12px;            
		
		}
	
  #portfolioDescription{

    font-size: 10px;
  }
  
  #portfolioBottomImg {
      position: absolute;
      top: 25px;
      
      display: none;
  }
  
  
      
	
	
}



/*  TEMPLATE LARGE SCREEN  */
@media only screen and (min-width: 768px)
{
body { 
			
			font-size: 14px;
            
		}
        /*body:before { content: "Between 768 and 1020"; }*/
    h1
	{
		font-size: 20px;		
	}
    h3
      {
      font-size: 18px;
    }
        
	.list-defi ul>li
	{
		max-width:450px;
		
	}	 
        
        .menu_horizontal a {
          font-size: 14px;
         
          }
          
   #portfolioDescription{

    font-size: 12px;
  }
  
          
    #portfolioBottomImg {
      
      position: absolute;
      top: 35px;
      right: 0;
      text-align: left;
      width: 27%;
      height: 285px;
      background-image: url('../images/fond_angle_bas_gauche_papier.png');
      background-repeat: no-repeat;
      background-size: 100%;
      display: block;
            
    }
    #portfolioBottomImg img {
      position: relative;
      display: block;
      vertical-align: middle;
      top:0;
      left: 50%;
      width: 50%;
      height: auto;
      
    }
        
}


/*   TEMPLATE WIDE SCREEN    */
@media only screen and (min-width: 1281px)
{
    body { 
		font-size: 16px;
		/*background-image: url('../images/tennis-court-tennis-yellow-tennis-ball-court-with-a-hard-surface.jpg');
		background-size: contain;
		background-repeat:no-repeat;
		background-position:center;
		background-color:#AAA;
		*/
		}
    /*body:before { content: "Greater than 1020"; }*/
    
  
    
    
  .menu_horizontal a {
    font-size: 16px;
    
    
    }
  
  h3 {
    font-size: 22px;
  
  }
  
  #portfolioBottomImg {
      position: absolute;
      top: 45px;
   }
  
  
  
  
    
      
        
  
}





.menu_horizontal a.active{
	text-decoration:underline;
}

/* CSS */
.button-15 {
  background-image: linear-gradient(#42A1EC, #0070C9);
  border: 1px solid #0077CC;
  border-radius: 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  direction: ltr;
  display: block;
  font-family: "SF Pro Text","SF Pro Icons","AOS Icons","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.47059;
  min-width: 30px;
  overflow: visible;
  padding: 4px 15px;
  text-align: center;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.button-15:disabled {
  cursor: default;
  opacity: .3;
}

.button-15:hover {
  background-image: linear-gradient(#51A9EE, #147BCD);
  border-color: #1482D0;
  text-decoration: none;
}

.button-15:active {
  background-image: linear-gradient(#3D94D9, #0067B9);
  border-color: #006DBC;
  outline: none;
}

.button-15:focus {
  box-shadow: rgba(131, 192, 253, 0.5) 0 0 0 3px;
  outline: none;
}

@media (min-width: 768px) {
  .button-15 {
    
    font-size: 17px;
  }
}


/* CSS */
.button-1 {
  background-color: #28C3AF;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 10px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-1:hover,
.button-1:focus {
  background-color: #51e3d8;
}
.cancel
{
	background-color: #C35B28;
}
.cancel:hover
{
	background-color: #CC7348;
}
    