/*
/* Document
*/

body {
	padding: 0;
	margin: 0;
	background: #4B4B4B url(../images/back.gif) fixed center;
	color: #666;
	font: 11px "Trebuchet MS", Trebuchet, Helvetica;
}

a {text-decoration:none; font-weight:bold; color:#0a0a83;}
a:hover {text-decoration:underline;}
#sidebar a {font-weight:normal;}
#content a, #sidebar a {text-decoration: none; color:#0a0a83;}
#content a:hover, #sidebar a:hover {text-decoration:underline;}

#container {
	position: relative;
	background: #f8f8f8;
	width: 765px;
	margin: 1em auto;
	min-height: 100%;
}

/*
/* Entête, pied de page
*/

#mainnav, #footernav {
	padding: 0.8em 1em;
}

#mainnav {
	text-align:right;
}

#mainnav-links {
	float:left;
}

#mainnav ul, #footernav ul {
	display: inline;
	margin: 0;
	padding: 0;
}
#mainnav li, #footernav li {
	font-weight: bold;
	display: inline;
	margin: 0;
}
#mainnav #memberlinks {
	display: inline;
	margin-left: 140px;
}
#mainnav a, #footernav a {
	padding: 0.2em 1em;
	color: #0a0a83;
}
#mainnav a:hover, #footernav a:hover {
	color: #fff;
	background: #0a0a83;
	text-decoration:none;
}

#footer {
	clear: both;
	margin: 1.2em 10px 0 10px;
	background:url(../images/bordure_haut.jpg) top left repeat-x;
	padding: 5px 0;
	position: relative;
	height: 40px
}

#footernav, #loginnav {
	margin: 0;
	margin-top:4px;
	text-align: right;
	position: absolute;
	right: 0;
}

#adminnav {
	margin-bottom:1em;
}

.banner {
	height: 180px;
	background: url(../images/titre.jpg) top left no-repeat;
	border-top:1px solid #0a0a83;
	border-bottom: 1px solid #0a0a83;
	}
	
.firstplace {
  height: 10px;
	background: url(http://foosballquebec.com/hebdo/docs/or.gif) center no-repeat;
	}
.secondplace {
  height: 10px;
	background: url(http://foosballquebec.com/hebdo/docs/argent.gif) center no-repeat;
	}
.thirdplace {
  height: 10px;
	background: url(http://foosballquebec.com/hebdo/docs/bronze.gif) center no-repeat;
	}

.firstplaceleft {
  height: 16px;
	background: url(http://foosballquebec.com/hebdo/docs/or.gif) left no-repeat;
	}
.secondplaceleft {
  height: 16px;
	background: url(http://foosballquebec.com/hebdo/docs/argent.gif) left no-repeat;
	}
.thirdplaceleft {
  height: 16px;
	background: url(http://foosballquebec.com/hebdo/docs/bronze.gif) left no-repeat;
	}
	
.banner-form {
	padding: 8px;
	color:#f8f8f8;
	font: normal 11px Verdana;
	}

.banner-link a, .banner-user a {
	font-weight: bold;
	color:#0a0a83;
	}

.banner-user {
	color: #0a0a83;
	font-weight: bold;
	font: 15px Verdana;
	}

/*
/* Contenu
*/

#sidebarWrapper {
	float:left;
	width:200px;
	margin:0.8em 0 0.8em 0.8em;
	background-color: #f0f0f0;
}

#sidebar {
	padding:10px;
	/*background: url(../images/sidebar.back.png) top left no-repeat;*/
}

#sidebarFoot {
	padding: -10px;
	/*background: url(../images/sidebar.bottom.png) bottom left no-repeat;*/
}

#content {
	margin:0.8em 15px 0.8em 225px;
	padding:10px;
}

#content_wide {
	margin:0.8em 1em;
	padding:0.5em;
}

#content_wide a {color:#0a0a83;}
#content_wide a:hover {text-decoration:underline;}

td.regItem, td.regError {width:175px; font-weight:bold;}
td.regError {color:#b00}
td.regField {width:285px; text-align:right;}
td.regMessage {width:280px;}
td.regButton {width:180px; text-align: right;}

.errorMessage {
	padding:1em;
	border-top:2px solid #b00;
	background-color: #ffeded;
	color: #b00;
	}
	
.finaletag {
	padding:1em;
	background-color: #ffeded;
	color: #b00;
	text-align:center;
	}

.finaletag2 {
	padding:1em;
	color: #b00;
	text-align:right;
	}
	
.message {
	padding:1em;
	border-top: 2px solid #0a0a83;
	background-color: #f5f7fa;
	color:#0a0a83;
	}

.section, .section_wide, .section_split {
	position:relative;
	color:#666666;
	padding-bottom:0.5em;
	background:url(../images/bordure.jpg) bottom left repeat-x;
	font-weight:bold;
	font-size:14px;
	}

.section_split {
  	width:500px;
}

.section-item {
  float:left;
  font-weight:bold;
  font-size:14px;}
  
.section_wide {
  	width:725px;
	margin:20px;
	margin-bottom:0.5em;
	}

.sectionTextRight {
  	text-align:right;
  	font-weight:normal;
  	font-size:11px;
}

.sectionFloatLeft {
	float:left;
	font-weight:bold;
	font-size:14px;
}

.section a {
	font-weight: bold;
}

/* register.php */
fieldset.userinfo {
	width: 485px;}

fieldset.userinfo legend {
	font-weight: bold;}

li {list-style:outside square; color:#0a0a83;}
li span {color:#000;}
ul.padded li {padding-top:5px; padding-bottom:5px; line-height:1.4em;}
.outsidelink {color:#999999;}

div.highlight {
	color: #000;
	font-weight: bold;
	background-color: #ececec;
	padding:0.5em;}

/* Sidebar: définition de la largeur des cellules du mini top5 */
#sidebar .rang {width:15px; font-weight:bold;}
#sidebar .nom {width:145px;}
#sidebar .points {width:20px; text-align:right;}

/* Page des réservations */
th.reservationOpen {width:100px; font-size:14px; border-bottom:1px solid #999;}
td.reservationOpenimprimer{width:200px; font-size:14px; text-align:left;}
td.reservationNumero {width:25px; text-align:center; font-weight:bold;}
td.reservationNom {width:475px; text-align:left;}
td.reservationOpen{width:200px; text-align:left;}
td.reservationOpenConfirm {width:75px; text-align:center;}
td.reservationSupp {width:24px; text-align:center;}
td.reservationBouton, td.reservationBoutonDroite {width:262px;}
td.reservationBoutonDroite {text-align:right}

/* site: Page des résultats de tournois */
div.resultats_erreur {width:700px; margin:1em auto; padding:1em; background-color:#f5f5f5; border:1px dashed #ccc;}
div.erreur {padding:1em; background-color:#f5f5f5; border:1px dashed #ccc;}
tr.resultats_contraste {background-color:#f5f5f5;}
th.resultats_mois {border-bottom:1px solid #999; font-size:14px; width:500px}
td.resultats_date {width:115px;}
td.resultats_gagnants {width:305px; font-weight:bold;}
td.resultats_type {width:30px; text-align:center;}
td.resultats_equipes {width:70px; text-align:right;}
th.resultats_section {width:650px; text-align:left; font-weight:bold; border-bottom:2px solid #999; font-size:12px;}
th.resultats_entete {width: 520px; text-align:left; font-weight:bold; border-bottom:2px solid #999; font-size:12px;}
td.numero, td.ranking {text-align:center; font-weight:bold;}
td.resultats_pied {border-top:2px solid #999;}
th.resultats_coin {border-right:1px solid #999; border-bottom:1px solid #999;}
th.resultats_haut {border-bottom:1px solid #999;}
td.resultats_gauche {border-right:1px solid #999; font-weight:bold; text-align:center;}
td.pts_gris, td.pts_blanc, td.pts_total {text-align:center;}
td.pts_total, td.pts_gris {background-color:#f0f0f0;}
td.pts_contrast {background-color:#d2d2d2;}
td.pts_total {font-weight:bold;}
td.ronde_b, td.ronde_bd, td.ronde_bg, td.ronde_gd, td.ronde_gbd, td.ronde_gd, td.ronde_d {text-align:center; font-size:14px; font-weight:bold;}
td.ronde_b, td.ronde_bd, td.ronde_bg, td.ronde_gbd {border-bottom:1px dotted #999;}
td.ronde_bd, td.ronde_gd, td.ronde_d, td.ronde_gbd {border-right:1px dotted #999;}
td.ronde_bg, td.ronde_gd, td.ronde_g, td.ronde_gbd {border-left:1px dotted #999;}
td.finalistes {padding-left:3em;}
td.saisons_nom {width:200px;}
td.saisons_date {width:135px; font-weight:bold; text-align:center;}
td.saisons_au {width:50px; text-align:center;}

/* site: Page d'historique d'un joueur */
th.profil_nom {border-bottom:2px solid #000; font-size:16px; font-weight:bold;}
th.profil_ranking {width:100px; border-bottom:1px solid #999; font-weight:bold; text-align:center;}
th.profil_date {width:100px; border-bottom:1px solid #999;}
th.profil_partner {width:150px; border-bottom:1px solid #999;}
th.profil_spacer {width:6px;background-color:#f0f0f0; border-bottom:1px solid #999;}
th.profil_stat {width:20px; border-bottom:1px solid #999; text-align:center;}
th.profil_stat2 {width:20px; border-bottom:1px solid #999; text-align:right;}
th.profil_final {border-bottom:1px solid #999; text-align:center;}
th.profil_final_pts {}
td.profil_stat {text-align:center;}
td.profil_stat2 {text-align:right;}
td.profil_finaliste {text-align:center; color:#0a0a83;}
td.profil_spacer {width:6px;background-color:#fff;}
td.profil_classement {border-top:2px solid #999; text-align:right; font-weight:bold;}
tr.totaux td {background-color: #f0f0f0; border-top: 2px solid #999; font-weight: bold;}
tr.rondes-top th {border-top: 2px solid #999}
tr.rondes-bottom td {border-bottom: 2px solid #999; color:#0a0a83; text-align:center;}

.error { color:#660000; }
.username {	font-weight:bold; font-size:120%; }
.outsidelink { color:#999999; }
ol.rules li { list-style-type:lower-latin; color:#666; }
form { display : inline; }

/* rankadmin: Menu de gestion */
th.section_titre {width:730px; border-bottom:2px solid #000; font-size:16px; font-weight:bold; text-align:left;}
td#gestion_titre {width:400px;}
td#gestion_menu {width:365px; text-align:right;}

/* rankadmin: Verrouillage de tournoi */
th.verrou_titre {border-bottom:2px solid #000; font-size:16px; font-weight:bold; text-align:left;}

/* rankadmin: Menu d'affichage du classement */
div.rank_menu {margin:1.5em 0; padding:1em 10px; font-weight:bold; border:1px solid #ccc;}
div.rank_message {margin: 0; padding:1em 10px; background-color:#f5f5f5;}
div.rank_error {margin: 0; padding:1em 10px; background-color:#f5f5f5; color:#990033;}
th.classement_imprimer {width:200px; border-bottom:1px solid #999;}

/* rankadmin: menu d'archivage des tournois */
td.saisons_annee {width:190px}
td.saisons_debut, td.saisons_fin {width:150px; text-align:center}
td.saisons_au {width:50px; text-align:center}
td.saisons_annuler {width:100px; text-align:center;}

/* rankadmin: Liste des joueurs */
tr.contrast {background-color:#f0f0f0}
tr.white {background-color:#f8f8f8;}
th.rank {width:40px; text-align:center; border-bottom:1px solid #999; padding:5px;}
th.name {width:615px; text-align:left; font-weight:bold; border-bottom:1px solid #999; padding:5px;}
th.name_narrow {width:459px; text-align:left; font-weight:bold; border-bottom:1px solid #999; padding:5px;}
th.points {width:40px; text-align:center; font-weight:bold; border-bottom:1px solid #999; padding:5px;}
td.points {text-align:center;}
td.mod {text-align:center;}
td.rank {text-align:center; font-weight:bold;}
td.largeRank {font-size:13px;}

/* rankadmin: Ajout de joueurs */
th.rank_add {width:700px; text-align:left; border-bottom:1px solid #999; padding:5px; font-weight:normal;}
td.rank_add_button {text-align:right; padding:5px;}

/* rankadmin: Mise à jour de joueurs */
th.edit_player {width:600px; font-weight:bold;text-align:left; border:1px solid #999; padding:5px;}
th.edit_points {width:100px;font-weight:bold; text-align:center; border:1px solid #999;}
th.edit_mod {width:100px;font-weight:bold;text-align:center; border:1px solid #999;}

/* rankadmin: Suppression de joueurs */
th.box {width:20px; text-align:center; border:1px solid #999; padding:5px;}
th.player {width:680px; font-weight:bold; text-align:left; border:1px solid #999; padding:5px;}
td.box {text-align:center;}
td.player {text-align:left;}

/* rankadmin: Données d'un nouveau tournoi */
tr.title {background-color:#f2f2f2;}
td.tournoi_date_texte {width:500px; font-weight:bold;}
td.tournoi_date_menu {width:100px; text-align:center;}
td.tournoi_date_set {width:200px; text-align:center; font-style:italic;}
th.tournoi_date {text-align:left; background-color:#f5f5f5;}
th.tournoi_equipes {text-align:center;background-color:#f5f5f5;}
th.tournoi_rondes {text-align:center;background-color:#f5f5f5;}
td.border_top {border-top:1px solid #999; text-align:center;}
td.border_top_left {border-top:1px solid #999; text-align:left;}
td.inputText {width:300px;}
td.inputDate, td.inputEquipes, td.inputButton {text-align:center;}
td.inputDate {width:150px;}
td.inputEquipes, td.inputButton {width:100px;}
td.displayDate {width:300px;}
td.displayDelete, td.displayApply {width:175px; text-align:center;}

/* rankadmin: Sélection des équipes */
td.tournoi_titre {width:365px; text-align:left; font-size:16px;}
td.tournoi_equipes {width:365px; text-align:right; font-weight:bold;}
td.tournoi_nav {width:500px; text-align:left;}
td.tournoi_fermer {width:230px; text-align:right;}
th.team {font-weight:bold; border-bottom:1px solid #999;}
td.team {text-align:center; font-weight:bold;}
th.teammate {width:175px; text-align:center; border-bottom:1px solid #999;}
td.teammate {text-align:center;}
td.ranking_equipe {font-style:italic; color:#999999;}
td.fat_border_top {border-top:2px solid #000;}
td.fat_border_bottom {border-bottom:2px solid #000;}
td.ranking_equipe {color:#666666; font-style:italic;}

/* rankadmin: Saisie des résultats */
th.corner {width:19px; border-bottom:2px solid #000; border-right:2px solid #000;}
th.resultats_top {width:19px; border-bottom:2px solid #000;}
th.resultats_gauche {border-right:2px solid #000;}
td.gris {background-color:#f5f5f5;}
td.border_bottom {border-bottom:1px solid #999; font-size:14px; width:400px}
td.finales_titre {border-bottom:1px solid #999; font-size:14px; width:600px}
td.gagnants {font-weight:bold; width:100px;}
td.equipes_select {text-align:right;}
td.bouton_centre {text-align:center;}
td.spacer {width:19px;}
td.white {background-color:#FFFFFF;}
td.contrast {background-color:#f5f5f5;}
th.border_bottom {border-bottom:1px solid #000;}
td.gauche {text-align:left;}
td.droite {text-align:right;}
td.entete {width:700px; border-bottom:1px solid #000;}
td.finales_mod {width:30px;}
td.equipes {width:470px;}

/* inputs */
input, select {
	vertical-align: middle;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}
textarea {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}

input, textarea, select {
	color: #333;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	vertical-align: middle;
	margin: 0;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}

input.post, textarea, select, input.liteoption {
	border: solid 1px #888;
	color: #666;
	background-color: #F8F8F8;
}

input.post:hover, textarea:hover, select:hover, select:focus, input.liteoption:hover, input.mainoption:hover {
	border: solid 1px #666;
	color: #444;
	background-color: #FAFAFA;
}

input.post:focus, textarea:focus {
	border: solid 1px #2B438F;
	color: #000;
}

input.post:focus, select:focus, input.mainoption:focus, input.liteoption:focus {
	background: #E7E7E7 url(images/bg_input.gif) top left repeat-x;
}

textarea:focus {
	background-color: #F4F4F4;
}

select optgroup {
	background-color: #f5f7fa;
	color: #0a0a83;
	font-weight: normal;
	font-style: normal;
}
select optgroup option {
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	background-color: #F0F0F0;
	color: #333;
}

/* inputs - fixing height */
input.mainoption, input.liteoption { height: 18px; }
* html input.mainoption, * html input.liteoption { height: 20px; }

input.post { height: 16px; }
@media all and (min-width: 0px) { html>body input.post { height: 18px; } }

select option { height: 15px; }

input.jumpbox { height: 18px; }
@media all and (min-width: 0px) { html>body input.jumpbox { height: 15px; } }
* html input.jumpbox { height: 18px; }

.forumline {
	background-image: url(../forums/templates/ca_aphrodite/images/bg_nav1.gif);
	padding: 4px 5px;
	border: solid 1px #2B438F;
	margin: 5px 0;
	background-color: #F8F8F8;
	font: bold 12px Verdana;
	color: #455995;
}

