/*
# ***** AVERTISSEMENT SUR LA LICENSE *****
# Copyright COSSE Karl, 2006-2007
# 
# Adresse mail : admin@zKup.fr
# 
# Ce logiciel est un programme informatique servant à la gestion
# de tournoi de jeux facilement via l'interface du site.
# 
# Ce logiciel est régi par la licence CeCILL soumise au droit français et
# respectant les principes de diffusion des logiciels libres. Vous pouvez
# utiliser, modifier et/ou redistribuer ce programme sous les conditions
# de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA 
# sur le site "http://www.cecill.info".
# 
# En contrepartie de l'accessibilité au code source et des droits de copie,
# de modification et de redistribution accordés par cette licence, il n'est
# offert aux utilisateurs qu'une garantie limitée.  Pour les mêmes raisons,
# seule une responsabilité restreinte pèse sur l'auteur du programme,  le
# titulaire des droits patrimoniaux et les concédants successifs.
# 
# A cet égard  l'attention de l'utilisateur est attirée sur les risques
# associés au chargement,  à l'utilisation,  à la modification et/ou au
# développement et à la reproduction du logiciel par l'utilisateur étant 
# donné sa spécificité de logiciel libre, qui peut le rendre complexe à 
# manipuler et qui le réserve donc à des développeurs et des professionnels
# avertis possédant  des  connaissances  informatiques approfondies.  Les
# utilisateurs sont donc invités à charger  et  tester  l'adéquation  du
# logiciel à leurs besoins dans des conditions permettant d'assurer la
# sécurité de leurs systèmes et ou de leurs données et, plus généralement, 
# à l'utiliser et l'exploiter dans les mêmes conditions de sécurité. 
# 
# Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
# pris connaissance de la licence CeCILL, et que vous en avez accepté les
# termes.
# ***** AVERTISSEMENT SUR LA LICENSE ******/


*, html * {
	border: 0; margin: 0; padding: 0;
}
body, html {
	background: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/*

bleu :
fonce : #8aa2bf
moyen : #98acc4
clair : #bcc9d9

*/

a, a:visited {
	color: #047D80;
}

a:hover {
	color: #0099FF;
}

h1 { font-size: 19px; }
h2 { font-size: 17px;}
h3 { font-size: 15px;}
h4 { font-size: 12px;}
h5 { font-size: 10px;}

#menu {
	width: 160px;
	position: absolute;
	top: 10px;
	left: 0px;
	border: 3px solid #8aa2bf;
}

#menu ul, #menu ul li { list-style: none; }
#menu ul li a { width: 160px; height: 20px; line-height: 20px; vertical-align: middle; display: block; text-decoration:none; }
#menu ul li a:hover { background: #bcc9d9; color: white; }
#menu ul li a img { position: relative; top: 2px; margin: 0 4px; }
#menu ul li { border-top: 1px solid #bcc9d9; heigth: 20px; line-height: 20px; vertical-align: middle; }

#menu ul li.titre {
	border-bottom: 2px solid #8aa2bf;
	border-top: 1px solid #bcc9d9;
	text-align: right;
	margin-top: 0px;
	padding-right: 3px;
	background:#98acc4;
	font-variant: small-caps;
	color: white;
}

#corps {
	display: block;
	clear: both;
	position: absolute;
	top: 10px;
	left: 170px;
	width: 600px;
	height: 500px;
}

#corps h2 {
	font-variant: small-caps;
	border-bottom: 2px solid #8aa2bf;
	width: 100%;
	font-size: 20px;
}

h3.erreur, h3.succes {
	font-variant: small-caps;
	padding: 10px;
	margin: 15px auto;
	border: 2px solid #FF4A4A;
	background: #FFCECE;
	width: 60%;
	font-size: 16px;
	color: #FF4A4A;
	text-align: center;
}
h3.succes {
	border: 2px solid #80FF80;
	background: #B7FFB7;
	color: #009900;
}
div.erreur {
	padding: 10px;
	margin: 15px auto;
	border: 2px solid #FF4A4A;
	background: #FFCECE;
	width: 400px;
	color: #FF4A4A;
	text-align: center;
}

table.arbre *,table.equipes * { border: 0 none; padding: 0; margin: 0; }

table.arbre,table.equipes {
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	margin: 10px auto;
	border: 0 none;
	color: #047D80;
	overflow: scroll;
}
table.arbre tr td {
	border:0 none;
	height: 20px;
	width: 15px;
}
table.equipes td { padding: 4px 8px; background: #efebca; color: #047D80; text-align: center; border-bottom: 1px dotted #047D80; border-right: 1px dotted #047D80; }
table.arbre thead th, table.equipes thead th {
	height: 20px;
	border-bottom:1px dotted #047D80;
	color: #047D80;
}
table.equipes thead th { color: #047D80; border: 1px dotted #efebca; padding: 2px 4px; }
table.equipes thead { text-align: center; }
table.arbre tr th {
	text-align: center;
	color: #047D80;
}
table.arbre tr td.P,table.arbre tr td.LB,table.arbre tr td.W { width: 140px; padding-left: 5px; }
table.arbre tr td.small,table.arbre tr td.H,table.arbre tr td.I,table.arbre tr td.M,table.arbre tr td.B
{
	width: 13px;
}
table.arbre tr td.P {
	border: 1px solid #000000;
	padding-left: 5px;
	background:#efebca;
}
table.arbre tr td.LB {
	border: 1px dotted black;
	background: #CCCCCC;
}
table.arbre tr td.W {
	border: 1px dotted red;
	background: white;
}
table.arbre tr td.H {
	background: url(images/coinGB.png) no-repeat bottom left ;
}
table.arbre tr td.I {
	background: url(images/coinI.png) repeat-y center left ;
}
table.arbre tr td.M {
	background: url(images/coinM.png) no-repeat center left ;
}
table.arbre tr td.B {
	background: url(images/coinGH.png) no-repeat top left ;
}
table.arbre tr td.O {
	background: url(images/coinO.png) repeat-x top left ;
}
table.arbre tr td.C {
	background: url(images/coinC.png) no-repeat top left ;
}
table.arbre tr td.HD {
	background: url(images/coinHD.png) no-repeat top left ;
}
table.arbre tr td.BD {
	background: url(images/coinBD.png) no-repeat top left ;
}

a#pub {
	display: block;
	width: 150px;
	height: 40px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	background: url(images/logo.png) top no-repeat;
	border: 0px;
	text-decoration: none;
}
a:hover#pub {
	height: 107px;
	bottom: 0px;
}

/*
Tableau des rencontres aléatoires
table thead tbody tr th td div draggable dropsite teste
*/
#tableRand {
	margin: 0 auto;
	width: 600px;
	font-size: 12px;
	text-align: center;
}
#tableRand thead th {
	height: 25px;
	font-variant: small-caps;
}
#tableRand tbody tr td {
	width: 50%;
	height: 25px;
}
div.draggable,div.dropsite,div.teste {
	height: 25px;
	line-height: 25px;
	padding: 2px 5px;
	border: 1px solid white;
}
div.draggable:hover,div.dropsite:hover,div.teste:hover {
	background: #6b8db2;
	cursor:move;
}
div.hoverclass123 {
	background: #76bb5f;
}
/*
##############################
##### FORMULAIRES ###############
##############################

bleu :
fonce : #8aa2bf
moyen : #98acc4
clair : #bcc9d9

*/
form {
	margin-top: 30px; margin-left: 15px; padding-top: 20px;
	border: 1px solid #047D80;
	background: #bcc9d9;
}

form fieldset {
	/* margin: 5px 10px; */
	/* padding: 10px; */
	
}
form fieldset legend {
	margin-top: -57px;
	padding: 0px 15px;
	background-color: #a6b2c8;/*HACK IE*/
	border: 1px solid #047D80;
	border-bottom:0px none;
	font-variant: small-caps;
}


form fieldset label {
	display: block;
	height: 25px;line-height: 25px; vertical-align: middle;
	padding: 0 10px;
	margin-bottom: 4px;
}
form fieldset label:hover {
	
}
form fieldset label span {
	position: relative;
	bottom: 2px;
	float: left;
	display:block;
	width: 50%;
	height: 25px;
	text-align: right;
	padding-right: 1%;
}
form fieldset span.btn {

}
form fieldset span.btn input{

}
form fieldset span.btn input:hover {

}
form fieldset div#sel_bracket {
	height: 25px; 
	width: 50%;
	position: relative;
	top: -25px;
	left: 51%;
}

/* CAS ERREUR */
form fieldset *.err {
	border: 1px solid red;
}
/* CAS NORMAL */
form fieldset input {
	padding: 3px 5px;
	border: 2px outset black;
}
form fieldset input:hover {
	background: #CCCCCC;
	color: #333333;
}


form fieldset input:focus {
	background: #DFFFDF;
	color: #003300;
	border: 2px inset #003700;
}
form fieldset input,form fieldset select,form fieldset textarea {
	display: block;
	float: left;
	clear: right;
}
form fieldset select {

}

form fieldset textarea#moyen {
	width: 95%;
	height: 300px;
}
form fieldset textarea#grand {
	width: 95%;
	height: 600px;
}
form fieldset input.cache{
	display: none;
}

/* Style Formulaire LOGIN */
form.popupForm {
	width: 400px;
	margin: 40px auto 0 auto;
	padding-bottom: 20px;
}

#reponseLogin { width: 430px; margin: 0 auto; display: block; }
#reponseLogin h3.succes, #reponseLogin h3.erreur { width: 380px; }
/* Fin Style Formulaire LOGIN */
#sel {
	text-align: center !important;
	padding-bottom: 5px;
}

p.sel_num {
	width: 100%;
	text-align: center;
	font-size: 24px;
	color: red;
	padding-left: 3px;
}

table#gerer {
	width: 98%; 
	margin: 5px auto;
	text-align: center;
	border-collapse: collapse;
	border: 3px solid white;
}

table#gerer th {
	background: white;
	border-top: 2px solid #7ba1c5;
	border-bottom: 2px solid #7ba1c5;
	padding:0 3px;
}
table#gerer tr td {
	border-right: 1px solid black;
	padding:0 3px;
}
table#gerer tr td.ON {
	font-weight: bold;
	color: green;
}
table#gerer tr td.OFF {
	font-weight: bold;
	color: red;
}
table#gerer tr td.colonne_sel, table#gerer thead th.colonne_sel {
	width: 15px;
}
table#gerer tr td.colonne_sel input, table#gerer thead th.colonne_sel input {
	float: left;
	width: 15px; height: 15px; 
}
table#gerer tr.pair td {
	background: #cfd9e4;
}
table#gerer tr.impair td {
	background: #9db4ce;
	border-top: 2px solid white;
	border-bottom: 2px solid white;
}

div#div_gerer { display:block; width: 175px; height: 30px; float: right;}
div#div_gerer input.btn { height: 30px; margin-left: 5px; }
#loader {
	position: fixed;
	top: 20px;
	left: 150px;
	
}
.transparent {
   background-color:black;
   color:red;
   position:absolute;
   width:100%;
   top:0;
   left:0;
   height:100%;
   /* Pour IE, il faut absolument mettre une largeur, alors soit width=100%,
      soit c'est un div positionné et dimensionné comme dans cet exemple.*/
   filter:alpha(opacity=50);
   -moz-opacity:0.5;
   opacity: 0.5;
   z-index: 800;
   margin: 0; padding: 0;
}
.transparent div {filter:alpha(opacity=100);
   -moz-opacity:1;
   opacity: 1; }

div#divScore { 
background: #bcc9d9;
border: 1px solid black;
width: 400px;
position: fixed; top: 200px; left: 300px; z-index: 1000;
}
div#divScore span#barreGrip { background: grey url(images/icons/barre.png) repeat-x; width: 100%; height: 27px; color: black; display: block; text-align: center; line-height: 27px;font-weight: bold;cursor: move; }

/* Ajout du 31/10/2007 */
p.score {
	display: block;
	float: right;
	font-size: 9px;
	font-weight: bold;
}
