@charset "UTF-8";
/* - - -  - -  - - - - - - - - - - CSS Styles smartphone   - - - - - - - - -  - - - - - - - - -  - - - -- */
@media (max-width: 768px) {
	

	body {
        width: auto !important;
        margin: 0;
        padding: 0;
    }
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 100%;
    }
    
    /* conserver le ratio des images */

    img {
        height: auto;
    }
	
	
	
	#banner {
		width: 100%;
		height: 188px;
		margin-bottom: 1em;
		background-image: url(../images-site/bandeau-banniere-smartphone.jpg) !important; background-repeat: no-repeat !important; background-size: cover;
	}
	#banner h1 {
		padding-top: 3em;
		font-size: 1.4em;
		
	}
	#banner h2 {
		width: 65%;
		margin: 0 auto;
		line-height: 1;
		font-size: 1.2em;
	}
	main {
		width: 100%; /*le bandeau de bracelet est automatiquement ajusté à 100%  sur la largeur*/
	}
	section#contenu {
		flex-direction: column;
	}
	article.module1, article.module2, .module3 {
		width: 100% !important;
	}
	
	/* - - - - - - - - - - - - - Menu principal - - - - - - - - -  */
	ul#menu li#logo {
		display: none;
	}
	
	#logo-smartphone{
		z-index: 15;
		width:126px;
		height: 23px;
		position: fixed; top: 10px;
		background: url(../images-site/logo-haut.png)
	}
	
	nav#principale {
		display: none;/*A la fin*/
		width: 100%;
		position: fixed; top: 50px; left:0;
		background: #00a1f2;
	}
	
	#menu li.items {
		min-width: 100%;
		padding: 5px 10px;
		
	}
	#menu li.items:nth-child(even) {
		background: rgba(0,0,0, 0.2);
	}
	#menu li.items a {
		color: #FFF;
		text-decoration: none;
	}
	#menu li.items:hover, #menu li.items:focus {
		background: rgba(0,0,0,0.5);
	}
	#menu li.items i {
		width: 30px; /*les icones n'ont pas la même largeur, on donne une largeur commune pour un espace identique plutôt qu'une marge*/
		color: #FFF;
	}
	#show-menu {
		position: absolute; top:0; right:0;
		width:50px;
		height: 50px;
	}
	#show-menu i {
		text-align: right;
		color: #FFF;
		font-size:2em;
		line-height: 50px;
	}
}

