*
{
	padding:0;
	margin: 0;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

.header a
{
	text-decoration: none;
	color: black;
	opacity: 0.8;
}

body
{ 
	background: white;
	/*margin: auto;*/
	max-width: 100%;
	height: 140%;
	display: flex;
	flex-direction: column;

}
main
{
	
	flex-grow: 1;
}

footer
{
	position: relative;
	top: 60px;
}
/* CSS Menu de nivigation*/

#apropos
{
	/*color: #00008B;*/
	font-style: italic;
	color: black;
	 opacity: 0.9;
	font-weight: bolder;
	font-size: 30px;
	position: relative;
	margin: auto;
}

#logoimg
{
	width: 100px;
	height: 40px;
	border: 1px solid;
}

.header
{
	position: relative;
	width: 100%;
	height: 82px;
	/*line-height:50px;*/
	vertical-align: middle;
	background-color: white;
	border-bottom: 0.1px solid lightgrey;
	margin: 0px 0px 0px 0px;
	box-sizing: content-box;
}

.header ul
{
	position: relative;
	/*background: black;*/
	/*left:120px;*/
}

/**************************/
#menuicon
{
	position: relative;
	list-style-type: none;
	text-decoration: none;
}

/**************************/
#firstul
{
	display: inline-block;
	width: 19%;

	/*background-color: #00008B;*/
}
#secondul
{
	/*background: lightgrey;*/
	width: 50%;
	display: inline-block;
	position: relative;
	/*top: 8px;*/
	text-align: center;

}

.menu-navigation
{   
	position: relative;
	list-style-type: none;
	text-decoration: none;
	display: inline-block;
	/*margin-left: 45%;
	/*background: pink;
	/*width: 53%;*/
}

  
   #ultroisbouttons
   {
   	position: relative;
   	/*left: 35%;*/

   }

   #count
   {
	/*background: red;*/
	position: relative;
	left: 25px;
	/*top: -20px;*/
   }

   #total
   {
	position: relative;
	left: -5px;
   }

   #spancompte
   {
   	position: relative;
   	left: -10px;
   }

    #spanfavoris
   {
   	position: relative;
   	left: -10px;
   }

   .ListelogIn
   {
   	position: relative;
   	left: 5px;
   }

   #panierTop
   {
   	position: relative;
   	left: 8px;
   }






#ultroisbouttons
{
	width: 19%;
	display: inline-block;
	/*background: yellow;*/
	position: relative;
}

.troisbouttons
{   
	position: relative;
	list-style-type: none;
	text-decoration: none;
	display: inline-block;
	margin-left: 7.4%;
	/*left: 40px;*/
	/*background: red;*/
	width: 23%;
}

.troisbouttons a
{
  text-decoration: none;
 /* color: #00008B;*/
 color: black;
  opacity: 0.8;
}

/**************************/


/*barredroite*/

.troisbouttons:hover > ul
{
	display: block;
}

#creermoncompte
{
	position: relative;
	/*color: #00008B;*/
	color: black;
	opacity: 0.8;
	/*left: 40px;
	top: 20px;*/
}

#crea
{
	position: relative;
	width: 110px;
	/*background: yellow;*/
	margin: auto;
	/*left: 30px;*/
	top: 30px;
}

#connected
{
	width: 150px;
	/*background: red;*/
	position: relative;
	margin: auto;
	top: 10px;
}

#profil
{
	position: relative;
	width: 150px;
	margin: auto;
	/*background: pink;*/
	/*top: 20px;*/
	
}

#connected h4,
#profil h4
{
	/*color: #00008B;*/
	color: black;
	opacity: 0.8;
}

#profil a
{
	
	font-size: 14px;
	opacity: 1;
}

#Meconnecter
{
  width: 150px;
  /*background: #00008B;*/
  /*background: black;
  opacity: 0.8;*/
  box-shadow: 1px 1px 10px lightgrey;
  margin: auto;
  padding: 5px;
  position: relative;
  /*top: 20px;*/
  border: none;
  text-align: center;
  color: black;
}

#btncompte
{
	position: relative;
	/*left:35px;*/
	color: white;
	margin: auto;
	opacity: 1;
}

#Medeconnecter
{
  width: 100%;
  /*background: #00008B;*/
  background: white;
  /*opacity: 0.8;*/
  box-shadow: 1px 1px 10px lightgrey;
  color: black;
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  top: 15px;
  right: 5px;
  border: none;
  cursor: pointer;
  margin: auto;
}

#btndeconnexion
{
	position: relative;
	width: 85%;
	margin: auto;
	cursor: pointer;
	/*background: red;*/
	/*top: 20px;*/
}

.hovertext
{
	display: none;
	width:0%;
	/*height: 300px;*/
	position: relative;
	float: left;
	/*top: 10%;
	/*right: -70px;
	border: 1px solid red;*/
	list-style-type: none;

}

.hoverdiv
{
   width: 200px;
   position: relative;
   top: 30px;
   right: 40px;
   box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
   margin: auto;
   height:140px;
   z-index: 1000;
   background: white;
   
}

.hoverdivfavoris
{
   width: 200px;
   position: relative;
   top: 30px;
   right: 90px;
   box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
   margin: auto;
   height:110px;
   z-index: 1000;
  background: white;
}

#favorisdiv
{
	position: relative;
	width: 150px;
	margin: auto;
	top: 15px;

}

#favorisdiv a
{
	color: black;
}

#compteli
{
	position: relative;
	/*left: 30px;*/
	/*top: -10%;*/
	/*margin-top: 10%;*/
	margin: auto;
	/*background: black;	*/	
}



#marketplaceicon
{
	position: relative;
	top: 20px;
}

#icondeposeannonce
{
	position: relative;
	/*background-color: #00008B;*/
	background-color: black;
	opacity: 0.8;
	/*right: -195px;*/
	padding: 5px;
	color: white;
	top:1px;
}


.login,
.logout
{  /*pour positionner les icones compte, favoris et panier*/
	position: relative;
	/*right: -260px; /*mettre en commentaire en cas d'activation de cette section.*/
	width: 50px;
	background-color: white;
	top:15px;
	/*border:1px solid black;*/
}

.ListelogIn,
.ListelogOut
{
	position: relative;
	/*right: -225px;*/
	/*background-color: red;*/
	/*border:1px solid black;*/
	width: 50px;
	top: 15px;
}

#panierTop
{
	position: relative;
	top: 15px;
	/*right: -180px;*/
	background-color: white;
	width: 50px;
}


/**************************/



#ouvrirListe
{
	position: relative;
}

#ouvrirListe:target #userListe
{
	display: block;
}

#ouvrirListe a.ListelogOut
{
	display: none;
}

#ouvrirListe:target .ListelogOut
{
 display: inline;
}

#ouvrirListe:target .ListelogIn
{
	display: none;
}

#userListe
{
	position: relative;
	width: 300px;
	background-color: #00008B;
	float: right;
	right: -612px;
	top: 38px;
	display: none;
}

#userListe a
{
	position: relative;
	background-color: black;
	/*padding: 8px 8px;*/
	color: white;
	/*left: 50%; right:50%;*/
}

#usericon
{    
	position: relative;
	width: 300px;
	background-color: white;
	float: right;
	/*top: 53px;
	right: 300px;*/
	right: -462px;
	top: 38px;
	display: none;
}

#usericonlogin
{
	background-color: #00008B;
	position: relative;
	/*top: 60px;*/
	/*right: -247;*/
	width: 0px;
}

#ouvrirListe
{
	background-color: grey;
	width: 0px;
}

#usericonlogout
{
	background: black;
}

#usericonlogin:target #usericon
{
	display: block;
}

#usericonlogin a.logout
{
	display: none;
}

#usericonlogin:target .logout
{
 display: inline;
}

#usericonlogin:target .login
{
	display: none;
}


#block
{
	position: relative;
	background-color: red;
}

/*@media screen and (min-width: 678px) and (max-width: 1023px)
{
	 #firstul
	{
		display: inline-block;
		width: 3%;
	}
	#secondul
	{
		width: 65%;
		display: inline-block;
		position: relative;
		top: 8px;

	}
	#ultroisbouttons
	{
		width: 30%;
		display: inline-block;
		position: relative;
	}

	.troisbouttons
	{   
		position: relative;
		list-style-type: none;
		text-decoration: none;
		display: inline-block;
		margin-left: 5%;
		
		width: 23%;
	}

}*/

@media screen and (min-width: 0px) and (max-width: 767px)
{

	footer
	{
	position: relative;
	top: 30px;
	}

	#spancompte,
	#spanfavoris,
	#count,
	#total
	{	
		font-size: 12px;
		position: relative;
    }

    #firstul
	{
		display: none;
		/*display: inline-block;
		width: 3%;
		/*background-color: #00008B;*/
	}
	#secondul
	{
		/*background: lightgrey;*/
		width: 50%;
		display: inline-block;
		position: relative;
		text-align: center;
		top: 8px;

	}
	#apropos
	{
		font-size: 23px;

	}
	.menu-navigation
    {
	margin-left: 0%;
    }

	#ultroisbouttons
	{
		width: 40%;
		display: inline-block;
		/*background: yellow;*/
		position: relative;
	}

	.troisbouttons
	{   
		position: relative;
		list-style-type: none;
		text-decoration: none;
		display: inline-block;
		margin-left: 7.4%;
		/*left: 40px;*/
		/*background: red;*/
		width: 23%;
	}
	
	.troisbouttons a
	{
	  text-decoration: none;
	  /*color: #00008B;*/
	  color: black;
	  opacity: 0.8;
	}


}
