/*
 * This is a simple style sheet for the Engarde HTML overall ranking output.
 */

body {
  background-color : white;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 90%
}

h1 {
  font-size : 240%;
  text-align : center;
}

h2 {
  font-size : 180%;
  text-align : center;
}

h3 {
  font-size : 140%;
  border: 2px solid #000;
  	color:white;
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
 border: solid #000 1px;
}

/*
 * This is a general list table that can be used for all the output
 * apart from the poules and the tableaux
 */

table.liste {
  font-size: 90%;
  color: #000;
  background-color: #fff;
  border-collapse: collapse;
  border: 2px solid #000;
}

/* This is the row for the header and footer */

table.liste th {
  color: #4682b4;
  background-color: #ffefd5;
  border: 1px solid #2f4f4f;
  padding: 2px 0.5em;
}

/* Border style for the table data cells */
table.liste td {
  border: 1px solid #2f4f4f;
  padding: 2px 0.5em;
}

/* Auxiliary styles for colour and alignment */

.color1 {
  background-color: #ffd700;
  color: #000;
}

.color2 {
  background-color: #c0c0c0;
  color: #000;
}

.color4 {
  background-color: #b8860b;
  color: #000;
}

.color8 {
  background-color: #cfc;
  color: #000;
}

.color16 {
  background-color: #fffacd;
  color: #000;
}

.color32 {
  background-color: #ffc0cb;
  color: #000;
}

.color64 {
  background-color: #b8d9dc;
  color: #000;
}

.color128 {
  background-color: #fffacd;
  color: #000;
}
.color256 {
  background-color: #ffc0cb;
  color: #000;
}
.color512 {
  background-color: #b8d9dc;
  color: #000;
}

.pair {
  background-color: #eee;
  color: #000;
}

.impair {
  background-color: #fff;
  color: #000;
}

/* Alignment for numbers */
.nombre {
  text-align: right;
}

.centre {
  text-align: center;
}

/*
 * Styles for poule table output
 */

table.poule {
  font-size: 90%;
  color: #000;
  background-color: #fff;
  border-collapse: collapse;
  border: 2px solid #000;
}

table.poule th {
  color: #4682b4;
  background-color: #ffefd5;
  border: 1px solid #2f4f4f;
  padding: 2px 0.5em;
}

/* Border style for the table data cells */

table.poule td {
  border: 1px solid #2f4f4f;
  padding: 2px 0.5em;
}

/* The diagonal box in the poule table */

.inutilise {
  background-color: #bbb;
  color: #000;
}

/*
 * Tableau styles
 */

table.tableau {
  font-size: 90%;
  color: #000;
  background-color: #fff;
  border: 0;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  empty-cells: show;
}

/* Styles to build the diagram */

.ligne {
  border-right: solid #000 1px;
  margin: 0;
}

.boite {
  border: solid #000 1px;
  margin: 0;
}


td.D {border-right:solid windowtext .5pt;
border-right-width:4px;
font-weight: bold;
}


.tableau td.BD {border-bottom:solid windowtext .5pt;
       border-right:solid windowtext .5pt;
       background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
 border: solid #000 1px;      
       }

.tableau td.GBD {border-left:solid windowtext .5pt;
        border-bottom:solid windowtext .5pt;
        border-right:solid windowtext .5pt;
        font-weight: bold;
        }

.tableau td.HBD {border-top:solid windowtext .5pt;
        border-bottom:solid windowtext .5pt;
        border-right:solid windowtext .5pt;
        background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
        color:white;
        padding:3px;
        font-weight: bold;
 text-shadow: 1px 1px 1px black;	
 border: solid #000 1px;
 border-right-width:4px;
        }

.tableau td.HGBD {border:solid windowtext .5pt;}

.tableau .fencer td.HGBD.nth-of-type(1){
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
}

.tableau .fencer td.HBD:nth-of-type(4){
background: #ac610c; /* Old browsers */
background: -moz-linear-gradient(top,  #ac610c 0%, #ef7613 50%, #dd6e0d 51%, #f6aa70 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ac610c), color-stop(50%,#ef7613), color-stop(51%,#dd6e0d), color-stop(100%,#f6aa70)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ac610c 0%,#ef7613 50%,#dd6e0d 51%,#f6aa70 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ac610c 0%,#ef7613 50%,#dd6e0d 51%,#f6aa70 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ac610c 0%,#ef7613 50%,#dd6e0d 51%,#f6aa70 100%); /* IE10+ */
background: linear-gradient(to bottom,  #ac610c 0%,#ef7613 50%,#dd6e0d 51%,#f6aa70 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ac610c', endColorstr='#f6aa70',GradientType=0 ); /* IE6-9 */
text-shadow: 1px 1px 1px black;
 border-right-width:4px;
	
}

.tableau td.HBD:nth-of-type(5){
background: #9bac00; /* Old browsers */
background: -moz-linear-gradient(top,  #9bac00 0%, #ecf000 50%, #d3da00 51%, #ffff4d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9bac00), color-stop(50%,#ecf000), color-stop(51%,#d3da00), color-stop(100%,#ffff4d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #9bac00 0%,#ecf000 50%,#d3da00 51%,#ffff4d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #9bac00 0%,#ecf000 50%,#d3da00 51%,#ffff4d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #9bac00 0%,#ecf000 50%,#d3da00 51%,#ffff4d 100%); /* IE10+ */
background: linear-gradient(to bottom,  #9bac00 0%,#ecf000 50%,#d3da00 51%,#ffff4d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bac00', endColorstr='#ffff4d',GradientType=0 ); /* IE6-9 */
text-shadow:none;
border: solid #000 1px;
color:black;
 border-right-width:4px;
}


.tableau td.HBD:nth-of-type(6){
background: #11ac00; /* Old browsers */
background: -moz-linear-gradient(top,  #11ac00 0%, #2cf000 50%, #24da00 51%, #71ff4d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#11ac00), color-stop(50%,#2cf000), color-stop(51%,#24da00), color-stop(100%,#71ff4d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #11ac00 0%,#2cf000 50%,#24da00 51%,#71ff4d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #11ac00 0%,#2cf000 50%,#24da00 51%,#71ff4d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #11ac00 0%,#2cf000 50%,#24da00 51%,#71ff4d 100%); /* IE10+ */
background: linear-gradient(to bottom,  #11ac00 0%,#2cf000 50%,#24da00 51%,#71ff4d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#11ac00', endColorstr='#71ff4d',GradientType=0 ); /* IE6-9 */
text-shadow:none;
border: solid #000 1px;
color:black;
 border-right-width:4px;
}

.tableau td.HBD:nth-of-type(3){
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e9a7f 0%, #2ad8a4 50%, #20ca9a 51%, #7ee8c6 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e9a7f), color-stop(50%,#2ad8a4), color-stop(51%,#20ca9a), color-stop(100%,#7ee8c6)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e9a7f 0%,#2ad8a4 50%,#20ca9a 51%,#7ee8c6 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e9a7f 0%,#2ad8a4 50%,#20ca9a 51%,#7ee8c6 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e9a7f 0%,#2ad8a4 50%,#20ca9a 51%,#7ee8c6 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e9a7f 0%,#2ad8a4 50%,#20ca9a 51%,#7ee8c6 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e9a7f', endColorstr='#7ee8c6',GradientType=0 ); /* IE6-9 */
border: solid #000 1px;
text-shadow: 1px 1px 1px black;
 border-right-width:4px;
}

td{
text-align:center;	
font-weight: bold;
}

.tableau .fencer td.D:nth-of-type(1){
	color:white;
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
 border: solid #000 1px;
}


.tableau .fencer td.D:nth-of-type(2){
background-color: #99D6FF;
border-right-width:4px;
}

.tableau td.D:nth-of-type(4){
background-color:#FFD699;
border-right-width:4px;
}

.tableau td.D:nth-of-type(5){
background-color:#FFFF99;
border-right-width:4px;
}
.tableau td.D:nth-of-type(6){
background-color:#FFD699;
border-right-width:4px;
}


.tableau .quarter1 {
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
color:white;
}

.tableau .quarter3 {
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
color:white;
}

.tableau .quarter4 {
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
color:white;
}

.tableau .quarter0 {
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
color:white;
}

.tableau .quarter2 {
background: #1e9a7f; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
text-shadow: 1px 1px 1px black;
border: solid #000 1px;
color:white;
}

a {
color:navy;
font-size:12px;
}
