@media (max-width: 760px) {
    * {
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
    }

        
/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

body {
        width: auto;
        margin: 4;
        padding: 0;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		font-size:medium;
 	}
 
    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
	img,
    table,
    th,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
    max-width: 100%;
    }
/* conserver le ratio des images */

    img {
    height: auto;
    max-width:auto;
    }

    
   /* gestion des mots longs */
    textarea,
	table,
    td,
    th,
	code,
    pre,
    samp {
        -webkit-hyphens: auto; /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word; /* passage à la ligne forcé */
    }
    
    code,
    pre,
    samp {
        white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }
/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

    table,
    td {
        float: none;
        width: auto;
    }

    /* masquer les éléments superflus */

    .hide_mobile {
        display: none !important;
    }
	 
#contenair 
{
	width: auto;
	height: 100%;
	margin: 0;
}	  
#contenu{
	width:auto;
	margin:0;
}
#contenu h1{
	color: navy;
	font-size: large;
	font-style: italic;
	border-bottom: thin solid;
}
#contenu h2{
	color: white;
	font-style: italic;
	font-size: medium;
	background-color: navy;
}
#contenu h3 
{
	font-size: medium;
	color: navy;
	font-style: italic;
	text-decoration: underline red;
}
#contenu table, td, tr, th
  {
  	display:block;
  	border: 1px solid navy;
  	text-align: center; 
	border-collapse:collapse;
  }
  
#contenu img.image
{
	margin:10;
	float:left;
	}
#contenu p.impor
{
	border-width: 1px;
	border-style: dotted;
	border-color: red;
	border-radius: 10px/10px;
	background: #e6e6fa;
}
#contenu p.vert
{
	border-width: 1px;
	border-style: dotted;
	border-color: green;
	border-radius: 10px/10px;	
	color:green;
	background: #d2fdd4;
	text-align: center;
	margin-left: 10%;
	margin-right:10%;
}
#contenu p.rouge
{
	border-width: 1px;
	border-style: dotted;
	border-color: #8b0000;
	border-radius: 10px/10px;
	color: #8b0000;
	background: #faebd7;
	text-align: center;
	margin-left: 10%;
	margin-right: 10%;
}
#contenu p.gris
{
	border-width: 1px;
	border-style: dotted;
	border-color: black;
	border-radius: 10px/10px;	
	color: black;
	background: #dcdcdc;
	text-align: center;
	margin-left: 10%;
	margin-right: 10%;
}

#contenu table.nosmartphone /*--permet de masquer le diaporama en page index--*/
{
    display: none;
}
#menu li.nosmartphone
{
    display: none;
}

/* ---------------menu */
#menu {
	text-decoration: none;
	color:#fff;
}

#menu li, #menu ul 
{
	display: inline;
	padding: 0;
	margin: 0;
	line-height: 30px;
}

#menu li a {
	background-color: navy;
	padding: 2px 8px;
	font-size: 1em;
	border-left: 1px solid transparent;
	color:#fff;
	text-decoration: none;
}
#menu li a:active {
    background-color: blue;
    color: #fff;
}
/*------------------------cartes*/
.card.vert {
    background: #d2fdd4;
	border-width: 1px;
	border-style: dotted;
	border-color: green;
	border-radius: 10px/10px;
	margin-left: 10%;
	margin-right: 10%;
}

.card.rouge {
    background: #faebd7;
	border-width: 1px;
	border-style: dotted;
	border-color: #8b0000;
	border-radius: 10px/10px;
	margin-left: 10%;
	margin-right: 10%;
}
.card.jaune {
	background: #fffacd;
	border-width: 1px;
	border-style: dotted;
	border-color: #f0e68c;
	border-radius: 10px/10px;
	margin-left: 10%;
	margin-right: 10%;
}