/*	
 *	Cascading Style Sheet for STICHTINGKORENBLOEM.ORG
 *
 *	Colour scheme:
 *	text:		#372885
 *	background:	#a8a0f6
 *	borders: 	#5a49bc
 */

/* start with the general link pseudotypes
a:link {
	text-decoration: underline;
	color: #333;	
	}

a:visited  {
	text-decoration: underline;
	color: #222;
	}

a:hover {
	text-decoration: underline;
	color: blue;	
	}

a:active {
	text-decoration: underline;
	color: #2272b3;	
	}
*/

.body {
	font-family: Times New Roman, Times Roman, Times, serif;
	/*background-image: url(images/background.gif);*/
	background-position: 5% 5%;
	background-color: #a8a0f6;
	background-repeat: no-repeat;
	color: #372885;
	}

.content {
	border-width: 1px 0 0 3px;
	border-color: #5a49bc;
	border-style: solid;
	margin: 1em;
	padding: 1em;
	}


/* 
 * CSS style for navigational menu 
 *
 * Special thanks to http://www.htmldog.com/articles/suckerfish/dropdowns/
 *
 * First the behaviour of the menu list blocks
 */
#nav, #nav ul {
	list-style: none;	/* no bullets */
	padding: 0;
	margin: 0;
	color: black;
	line-height: 1em;	/* to get proper alignment */
}

/* Behaviour and look of links in the menu */

#nav a {
	display: block;
	width: 8em;
	padding: 0 0.5em;
	font-weight: bold;	/* top menu elements all in bold */
	color: black;
	text-decoration: none;
	cursor: default;	/* no pointer cursor */
	text-align: center;
}

#nav li li a {
	display: block;
	font-weight: normal;	/* regular menu items not bold */
}

#nav a.submenu {
	display: block;
	background-image: url(/images/submenu.gif);
	background-position: center right;
	background-repeat: no-repeat;
}

/* The way list elements display (borders, margins, padding) */

#nav li {
	float: left;		/* dropdown with elements to the right */
	width: 10em;
	text-align: center; 
	padding: 0;
}

#nav li:hover, #nav li.sfhover {
	background-color: #5a49bc;
}

#nav li ul ul {
	margin: -1em 0 0 10em;	/* get proper alignment of subelements */
}

/* moving items on and off the page for the dropdown menu */

#nav li ul {
	position: absolute;	/* move invisible items away */
	width: 10em;
	left: -999em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul, #nav li.sfhover ul ul ul ul {
	left: -999em;		/* move invisible sub-items away */
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul, #nav li li li li.sfhover ul {
	left: auto;		/* move visible items on the page */
	background: #5a49bc;
	font-weight: normal;
	padding: 0.5em 0 0.5em 0;
	border: solid 2px #372885;
}

/* referee table */
td.ref {
	border-color: purple;
	border-style: dashed;
	border-width: 0px 0px 1px 0px;
	}


/* Result output */
/*
 * This is a simple style sheet for the Engarde HTML overall ranking output.
 */

body {
  background-color : #a8a0f6;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;	
}

h1 {
  font-size : 240%;
  text-align : center;
}

h2 {
  font-size : 180%;
  text-align : center;
}

h3 {
  font-size : 140%;
}

/*
 * 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: 100%;
  color: #000;
  background-color: #a8a0f6;
  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;}

td.BD {border-bottom:solid windowtext .5pt;
       border-right:solid windowtext .5pt;}

td.GBD {border-left:solid windowtext .5pt;
        border-bottom:solid windowtext .5pt;
        border-right:solid windowtext .5pt;}

td.HBD {border-top:solid windowtext .5pt;
        border-bottom:solid windowtext .5pt;
        border-right:solid windowtext .5pt;}

td.HGBD {border:solid windowtext .5pt;}
