@media all and ( max-width: 470px ) {
body{
background:#FFF url(../images/backphone.jpg) repeat-y;
background-size:cover;
letter-spacing:2px;

}	
	.mobilelogo{
		width:100% !important;
		height:auto;	
	}
#login{
	width:100%;
	margin:50px auto;
	box-shadow:0px 0px 8px rgba(0,0,0,0.4);
	padding:0 0px 15px 0;
	background:#FFF;
}
#login h1{
font-size:20px;
text-align:center;
color:#FFF;
background:#77787b;
height:30px;
padding:25px;
margin-bottom:50px;
font-weight:500;
}	
#main{
	width:80%;
	margin:0 auto;
	text-align:center;
	padding-top:50px;
}
#groupebouton{
	overflow:hidden;
	margin-top:25px;
	width:100%;
}
.livraison,.digital{
	background:#FFF;
	width:99%;
	margin:5px auto;
	padding:8px 0 8px 0;
}
#listerestaurant{
	width:99%;	
}
#restaurant{
width:90%;
margin:0 auto;
margin-top:50px;	
}   
.cadreresto{
background:#FFF;
width:250px;
height:300px;
margin:0 auto;
margin-bottom:25px;
border:1px solid #cecece;
float:none;	
padding:0;
} 
.cadreresto img{
	width:100%;
	cursor:pointer;
}
#searchbar{
margin:0 auto;
margin-bottom:50px;
height:auto;
text-align:center;
width:90%;	
}
.searchbar input{
width:270px;
height:35px;
border-radius:5px;
padding:8px;
text-indent:50px;
border:none;
background:#FFF url(../images/loupe.jpg) 20px center no-repeat;	
}
#popup{
width:100%;
background:#FFF !important;
overflow:hidden;
position:fixed;
z-index:999999;
overflow-y: scroll;
}
#popup div{
	padding:15px;
}
#popup div h2{
	font-size:32px;
}
}
@media all and ( min-width: 472px ) and ( max-width: 980px ) {
body{
background:#FFF url(../images/backphone.jpg) no-repeat fixed;
background-size:cover;
letter-spacing:2px;
}


#restaurant{
width:90%;
margin:0 auto;
margin-top:50px;
	
}
#listerestaurant{
	width:99%;
	margin:0 auto;
	overflow:hidden;
} 
.cadreresto{
background:#FFF;
width:200px;
height:280px;
margin-right:25px;
margin-bottom:25px;
border:1px solid #cecece;
padding:0;
} 
#searchbar{
margin:0 auto;
margin-bottom:50px;
height:auto;
text-align:center;
width:90%;	
}
.searchbar input{
width:600px;
height:35px;
border-radius:5px;
padding:8px;
text-indent:50px;
border:none;
background:#FFF url(../images/loupe.jpg) 20px center no-repeat;	
}
#popup{
width:100%;
background:#FFF !important;
overflow:hidden;
position:fixed;
z-index:999999;
overflow-y: scroll;
}
#popup div{
	padding:15px;
}
#popup div h2{
	font-size:32px;
} 	
}
@media all and (min-width:981px) and ( max-width: 1024px ) {
	#popup{
width:100%;
background:#FFF !important;
overflow:hidden;
position:fixed;
z-index:999999;
overflow-y: scroll;
}
#popup div{
	padding:15px;
}
#popup div h2{
	font-size:32px;
} 	

}