html {
}

body {
/* body, div, p, li, input, table, table td, .tableau, td, td p, td div {
*/
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*	font-size: 1em;  */	
    font-weight: normal;
	color: #000000;
	overflow-x: scroll;
	word-wrap: break-word;
}

.tableau {
  font-size: 1em;	  
}

.titre_code {
  font-size: 1em;	  
}

h1, h2, h3, h4, h5 {
	color: #000000;
	font-weight: normal;
	padding: 5px;
	padding-left: 15px;
	height: auto;
	width: auto;
	border: 1px solid #000000;
	border-radius: 0.25em;
    // text-shadow: 2px 2px 3px #666;
	box-shadow: 3px 3px #CCC;
}

h1 {
	font-size: 3em;
	background-color: #7B7BC2;
}

h2 {
	font-size: 2em;
	background-color: #8B9BC2;
}

h3 {
	font-size: 1.6em;
	background-color: #9B9BC2;
}

h4 {
	font-size: 1.4em;
	background-color: #ABABC2;
}

h5 {
	font-size: 1.2em;
	background-color: #BBBBC2;
}

.bandeau_titre {
    color: #FFF;
}

.bandeau_soustitre {
    color: #FFF;
}

.bandeau_icone {
    color: #FFF;
}


a.auteur {
	font-size: x-small;
	font-weight: normal;
	color: #FFFFFF;
}

pre code {
  font-family: courier, monospace, monospace;
}

img {
  /* max-width: 100%;*/
  height: auto;
}

td {
  padding: 0.5em;
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
  body {
	  padding-left: 50px;
	  padding-right: 50px;

  }
  
  body {
    font-size: 1.2em;
  }  

  .titre_code {
    font-size: 1.2em;	  
  }

  .bandeau_titre {
	font-size: 2.5em;
  }

  .bandeau_soustitre {
	font-size: small;
  }

  .bandeau_icone {
    font-size: 2.5em;
  }

  pre code {
	  max-width: 100%;
  }

  h1 {
	font-size: 2.2em;
  }

  h2 {
	font-size: 2em;
  }

  h3 {
	font-size: 1.8em;
  }

  h4 {
	font-size: 1.6em;
  }

  h5 {
	font-size: 1.4em;
  }

  input[type="text"] {
	width: 500px;
  }
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
  body {
	  padding-left: 30px;
	  padding-right: 30px;

  }
  
  body {
    font-size: 1.0em;
  }  

  .titre_code {
    font-size: 1.0em;	  
  }

  .bandeau_titre {
	font-size: 2.5em;
  }

  .bandeau_soustitre {
	font-size: small;
  }

  .bandeau_icone {
    font-size: 2em;
  }

  pre code {
    max-width: 100%;
  }

  h1 {
	font-size: 2em;
  }

  h2 {
	font-size: 1.8em;
  }

  h3 {
	font-size: 1.6em;
  }

  h4 {
	font-size: 1.4em;
  }

  h5 {
	font-size: 1.2em;
  }

  input[type="text"] {
	width: 280px;
  }
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  body {
	padding-left: 10px;
	padding-right: 10px;
  }
  
  body {
    font-size: 0.9em;
  }  

  .titre_code {
    font-size: 0.9em;	  
  }

  .bandeau_titre {
	font-size: 2em;
  }

  .bandeau_soustitre {
	font-size: small;
  }

  .bandeau_icone {
    font-size: 2em;
  }

  pre code {
    max-width: 100%;
  }

  h1 {
	font-size: 1.8em;
  }

  h2 {
	font-size: 1.6em;
  }

  h3 {
	font-size: 1.4em;
  }

  h4 {
	font-size: 1.2em;
  }

  h5 {
	font-size: 1em;
  }

  input[type="text"] {
	width: 280px;
  }
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  body {
	padding-left: 30px;
	padding-right: 30px;
  }
  
  body {
    font-size: 1.0em;
  }  

  .titre_code {
    font-size: 1.0em;	  
  }

  .bandeau_titre {
	font-size: 2.5em;
  }

  .bandeau_soustitre {
	font-size: small;
  }

  .bandeau_icone {
    font-size: 2em;
  }

  pre code {
    max-width: 100%;
  }

  h1 {
	font-size: 2em;
  }

  h2 {
	font-size: 1.8em;
  }

  h3 {
	font-size: 1.6em;
  }

  h4 {
	font-size: 1.4em;
  }

  h5 {
	font-size: 1.2em;
  }

  input[type="text"] {
	width: 280px;
  }
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

  body {
	padding-left: 2px;
	padding-right: 2px;
  }
  
  body {
    font-size: 1em;
  }  

  .titre_code {
    font-size: 1em;	  
  }

  .bandeau_titre {
	font-size: 2em;
  }

  .bandeau_soustitre {
	font-size: x-small;
  }

  .bandeau_icone {
    font-size: 2em;
  }

  img {
    max-width: 80%;
  }

  pre code {
    max-width: 100%;
  }

  h1 {
	font-size: 1.4em;
  }

  h2 {
	font-size: 1.2em;
  }

  h3 {
	font-size: 1.0em;
  }

  h4 {
	font-size: 1.0em;
  }

  h5 {
	font-size: 0.8em;
  }

  input[type="text"] {
	width: 150px;
  }

}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

  body {
    padding-left: 2px;
	padding-right: 2px;

  }
  
  body {
    font-size: 0.8em;
  }  
  
  .titre_code {
    font-size: 0.8em;	  
  }
  
  .bandeau_titre {
	font-size: 2em;
  }

  .bandeau_soustitre {
	font-size: x-small;
  }

  .bandeau_icone {
    font-size: 2em;
  }

  img {
    max-width: 80%;
  }

  pre code {
    font-size: 0.8em;
    max-width: 100%;
  }

  h1 {
	font-size: 1.4em;
  }

  h2 {
	font-size: 1.2em;
  }

  h3 {
	font-size: 1.0em;
  }

  h4 {
	font-size: 1.0em;
  }

  h5 {
	font-size: 0.8em;
  }

  input[type="text"] {
	width: 150px;
  }

}


@page {
  size: A4;
  margin-top: 2cm;
  margin-bottom: 2cm;
  margin-left: 2cm;
  margin-right: 2cm;
}

@media print {

  body.A3.landscape          { width: 420mm }
  body.A3, body.A4.landscape { width: 297mm }
  body.A4, body.A5.landscape { width: 210mm }
  body.A5                    { width: 148mm }
  body.letter, body.legal    { width: 216mm }
  body.letter.landscape      { width: 280mm }
  body.legal.landscape       { width: 357mm }
    
  html, body {
    width: 210mm;
    height: 297mm;
    box-shadow: 0px;
    font-size: 11pt;  
  }

  h1, h2, h3, h4, h5 {
    box-shadow: 0px 0px #000;
  }

  table, figure {
    page-break-inside: avoid;
  }
  
  .boutons {
    display: none;
  }

  .xiti {
    display: none;
  }
}