/*
memo 

ipad : 1024x768
iphone6p : 736x414
*/



@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

html{
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

_a.menu-toggle{
	display: none;
}

.mobile{
	display: none;
}
#wpadminbar.mobile{
	display: block;
	position: fixed;
}

body.overflow-hidden{
	overflow: hidden;
}
body.overflow-hidden:after{
	position: fixed;
	display: block;
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.6);
}



/*  <= 1040
------------------------------------*/
@media screen and (max-width: 1040px) {


.site-header,
.site-main,
.site-footer{
	width: 100%;
	margin: auto;
	position: relative;
}
.site-main,
.home .site-main {
	padding: 10px 10px;
}


/* header 
-----------------------*/
.site-header{
	_z-index: 1;
}

.header-espace2{
	display: none;
}

.header-logo{
	text-align: center;
	margin-bottom: 25px;
	padding-top: 10px;
	z-index: 2;
	position: relative; /* pour le z-index */
}
.header-logo h1 img{
	width: 140px;
}

.header-menu {
   position: absolute;
   left: 15px;
   top: 16px;
	padding: 0;
   box-shadow: none;
   background-color: transparent;
   z-index: 2;
}
.header-menu .menu-toggle {
	display: block;
	width: 40px;
	height: 34px;
	text-indent: -99px;
	overflow: hidden;
	position: relative;
	background-color: transparent;
	_background-color: red;
}
/*
.menu-toggle.toggled-on{
	background-color: white;
}
.menu-toggle.toggled-on i{
	background-color: #1673a9;
}
*/

.header-menu .menu-toggle i,
.header-menu .menu-toggle:before,
.header-menu .menu-toggle:after
 {
	height: 3px;
	content: '';
	background-color: black;
	display: block;
	position: absolute;
	left: 4px;
	width: 32px;
	top: 14px;
	transition: all 0.2s;
}
.header-menu .menu-toggle:before {
	top: 4px;
}
.header-menu .menu-toggle:after {
	top: 24px;
}
.toggled-on.menu-toggle i{
	display:none;
}
.toggled-on.menu-toggle:before{
	transform: rotateZ(45deg);
	top: 15px;
}
.toggled-on.menu-toggle:after{
	transform: rotateZ(-45deg);
	top: 15px;
}




.site-header .menu-container {
	display: none;
	position: absolute;
	left: -15px;
	top: 56px;
	background-color: white;
	width: 260px;
	padding: 0;
	z-index: 10;
	overflow: auto;
	max-height: calc(100vh - 64px);
}
.menu-container.toggled-on {
	display: block;
}

ul.menu{
	display: block;
	font-size: 17px;
}
ul.menu li{
	display: block;
	text-align: center;
	margin: 0;
	text-align: left;
}
ul.menu li a{
	display: block;
	padding: 12px 10px 12px 20px;
	font-size: 17px;
}

.menu-item-72{ /* espace client */
	display: block;
}
.header-menu ul li.menu-item-72 a{
	background-color: #009fe3;
	color: white;
}


/* header - panier */
.header-panier-mobile{
	position: absolute;
	right: 15px;
	top: 16px;
	background: linear-gradient(to bottom, #404040 0%, #222 100%);
	color: white;
	padding: 0px 10px 0px 34px;
	display: block;
	text-decoration: none;
	height: 30px;
	z-index: 2;
}
.header-panier-mobile:before{
	content: "\f07a";
	font-family: 'Font Awesome 5 Pro';
	position: absolute;
	left: 12px;
	top: 7px;
	font-size: 16px;
	font-weight: bold;
}
.header-panier-mobile span{
	line-height: 30px;
	font-size: 14px;
	padding-left: 4px;
}






}





/*  <= 736 : Smartphone portrait
------------------------------------*/
@media screen and (max-width: 736px) {



/* Home 
-----------------------------------*/

.dernier-left img.sommaire-couv{
	width: 250px;
}
.dernier-right{
	margin-left: 50px;
}
.dernier-une,
.dernier-sommaire{
	background-size: 50px auto;
}
.dernier-une > div, 
.dernier-sommaire > div {
    padding-left: 0px;
}
.dernier-une  .dernier-title, 
.dernier-sommaire  .dernier-title {
    padding-left: 65px;
    font-size: 15px;
    min-height: 40px;
}


.home-buttons div:nth-of-type(1) {
	display: none;
}
.home-buttons button{
	display: block;
	margin: auto;
	margin-bottom: 20px;
}
.home-buttons div + div button:nth-of-type(2){
	margin-left: auto;
}

.home-edito-container{
	display: block;
}

.numeros-container .glider-next,
.numeros-container .glider-prev{
	display: none;
}

/* Pages
--------------------------*/

/* Espace */
.connexion form{
	width: auto;
}
.connexion form label{
	display: block;
	margin-bottom: 5px;
}
.connexion form input{
	width: 100%;
}

/* Recherche */


/* Popup panier
----------------------------*/
.popup-panier{
	max-width: 90vw;
	padding: 25px;
}
.popup-bouton-close,
.popup-bouton-panier{
	border-radius: 16px;
}

.popup-bouton-close{
	margin-bottom: 20px;
}
.popup-bouton-panier{
	
}

/* Commande
----------------------------*/
/* 1 - panier */
.commande-etapes > div:not(.current){
	display: none;
}

/* 2 - informations client */
.commande-cols{
	flex-wrap : wrap;
}
.commande-left{
	width: 100%;
	order: 2;
}
.commande-right{
	order: 1;
	width: 100%;
	flex: 1;
	margin-left: 0;
	margin-bottom: 50px;
}

.frm_submit{
	text-align: center;
}
.frm_submit button{
		margin-left: 0;
}



/* footer */
.site-footer ul{
	display: block;
	text-align: center;
}
.site-footer li{
	width: 100%;
	margin-bottom: 5px;
}







}



/*  < 414 : Smartphone portrait
------------------------------------*/
@media screen and (max-width: 414px) {


/* home - dernier */

.dernier-cols{
	display: block;
}
.dernier-left img.sommaire-couv{
	width: 100%;
}

.dernier-right{
	margin: 0;
}

/* home - numeros */
.glider{
	overflow-x: auto;
}
.numeros-container .numero{
	width: 45%;	
}



}







