/* Feuille de style CSS du site du Tchoukball Club la Chaux-de-Fonds */

/* BALISES */

body
{
   width: 800px;
   height: 600px;
   margin: auto;
   margin-top: 20px;
   margin-bottom: 20px;    
   background-color: #032B82;
   background-image: url("tbcc_img/fondbas.gif");
   background-repeat: repeat-x;
   background-position: bottom;
   background-attachment: fixed;
   color: #000000; 
   font-family: "Comic Sans MS", Arial, "Arial Black", Helvetica, Times, "Times New Roman", serif;
}

a
{
   color: #032B82;
   text-decoration: none;
}

b {
    color: #ffffff;
}

img
{
    border: 0;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
   color: #FFFFFF;
   text-align: center;
}
h1, h4 {
    line-height: 0px;
}

/* TABLEAUX */

caption
{
   margin: auto;
   font-family: Arial, Helvetica, Times, "Times New Roman", serif;
   font-weight: bold;
   font-size: 1.2em;
   color: #000000;
   margin-bottom: 20px;
}

th
{
   background-color: #032B82;
   color: #0052B8;
   font-size: 1.1em;
   font-family: Arial, Helvetica, "Arial Black", Times, "Times New Roman", serif;
}

td
{
   border: 1px solid #032B82;
   font-family: "Comic Sans MS", "Trebuchet MS", Helvetica, Times, "Times New Roman", serif;
   text-align: center;
   padding: 5px;
}

/* ALIGNEMENT */

.center {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.justify {
    text-align: justify;
}

/* MENU */

.menu {
    font-size: 12px;
    background-color: #0052B8;
    width: 100%;
    height: 30px;
    border-collapse: collapse;
    border: none;
    /*border-top: 4px outset #FFFFFF;
    border-bottom: 4px outset #FFFFFF;*/
    margin: auto;
}

.menu a {
   color: #FFFFFF;
}

.menu-milieu {
    background-image: url("tbcc_img/barre-milieu.gif");
    background-repeat: repeat-x;
    text-decoration: none;
    border: none;
    padding: 0px;
    height: 30px;
}

.menu-milieu:hover
{
   color: #0052B8;
   background-image: url("tbcc_img/barre-milieu-hover.gif");
   background-repeat: repeat-x;
   text-decoration: none;
}

.menu-selectione {
    color: #0052B8;
    background-image: url("tbcc_img/barre-milieu-hover.gif");
    background-repeat: repeat-x;
    text-decoration: none;
    border: none;
    padding: 0px;
    height: 30px;
}

.menu-gauche {
    width: 5px;
    height: 30px;
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-image: url("tbcc_img/barre-gauche.gif");
}

.menu-droite {
    width: 5px;
    height: 30px;
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-image: url("tbcc_img/barre-droite.gif");
}

/* SOUS-MENU */

.sous-menu {
    font-size: 12px;
    height: 30px;
    color: #032B82;
    /*border: white 2px solid;*/
    border-top: none;
    margin: auto;
    border-collapse: collapse;
    background-color: #0052B8;
    margin-top: 5px;
}
    
.sous-menu a {
   color: #FFFFFF;
} 

.sous-menu-milieu {
    background-image: url("tbcc_img/barre-milieu.gif");
    background-repeat: repeat-x;
    text-decoration: none;
    border: none;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 30px;
}
    
.sous-menu-milieu:hover 
{
   color: #0052B8;
   background-image: url("tbcc_img/barre-milieu-hover.gif");
   background-repeat: repeat-x;
   text-decoration: none;
}

.sous-menu-selectione {
    color: #0052B8;
    background-image: url("tbcc_img/barre-milieu-hover.gif");
    background-repeat: repeat-x;
    text-decoration: none;
    border: none;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 30px;
}

/* EN TETE */

.en_tete
{
   text-align: center;
   margin: auto;
   width: 100%;
   height: 150px;
   margin-bottom: 10px;   
}

.image_en_tete
{
   border:  none;
   text-align: center;
}

/* CORPS */

.corps
{
   margin: auto;
   padding: 10px;
   min-height: 550px;
   margin-top: 20px;
   border-top: 2px solid #FFFFFF;
   border-bottom: 2px solid #FFFFFF;
   background-color: #0052B8;
   /*background-image: url("tbcc_img/fond_corps.png");*/

}

.date {
    font-size: x-small;
    float: left;
}
.heure {
    font-size: x-small;
    float: right;
}

/* PIED DE PAGE */

.pied_de_page {
    text-align: center;
    font-size: small;
    background-image: url("tbcc_img/barre-milieu.gif");
    background-color: #0052B8;
    width: 780px;
    height: 20px;
    border: none;
    margin: auto;
    padding: 5px;
}

.pied_de_page-gauche {
    float: left;
    width: 5px;
    height: 30px;
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-image: url("tbcc_img/barre-gauche.gif");
}

.pied_de_page-droite {
    float: right;
    width: 5px;
    height: 30px;
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-image: url("tbcc_img/barre-droite.gif");
}

/* ACCUEIL */

.image_accueil
{
   margin: auto;
   vertical-align: middle;
}

.accueil {
    color: white;
    text-align: center;
    width: 600px;
    height: 100px;
    margin: auto;
    border: none;
}
.accueil td {
    width: 300px;
    border: none;
}

/* NEWS */

.en_tete_news {  
	background: no-repeat url(tbcc_img/en_tete_news.gif);
	height: 40px;
    padding-right: 10px;
    padding-top: 10px;
}
.titre_news {
    font-weight: bold;
    padding-left: 10px;
    font-size: large;
    color: #FFFFFF;
}
.categorie_news {
    color: #000000;
    float: right;
    font-size: x-small;
    text-align: center;
}
.contenu_news {
	padding-right: 10px;
	padding-left: 10px;
}
.auteur_news {
	padding-right: 10px;
	padding-top: 15px;
	height: 40px;
	background: url(tbcc_img/pied_news.gif) no-repeat;
	text-align: right;
}

/* AGENDA */

.calendrier_mois {
    border-collapse: collapse;
}

.calendrier_mois th {
    color: white;
    width: 100px;
    height: 20px;
    border: none;
    background-color: #0052B8;
}
.calendrier_mois td {
    color: black;
    width: 100px;
    height: 100px;
    border: 1px #032B82 solid;
    vertical-align: top;
    text-align: left;
}

.autre-mois {
    background-color: #032B82;
    width: 100px;
    height: 100px;
    border: 1px #032B82 solid;
}

.evenement-mois {
    font-size: small;
}

.agenda {
    border-collapse: collapse;
    margin: auto;
}

.agenda th {
    color: white;
    border: none;
    background-color: #0052B8;
}

.categorie_evenement {
    float: right;
}

/* ENTRAINEMENTS */
    
.horaires
{
   width: 85%;
   margin: auto;
   border: 2px solid #032B82;
   border-collapse: collapse;
}

/* CHAMPIONNAT */

.championnat {
    width: 500px;
    height: 125px;
    border: 2px dotted #FFFFFF;
    margin: auto;
    padding: 10px;
}

.derniersResultatsChampionnat {
    text-align: center;
    border: 2px #032b82 dotted;
    width: 500px;
    padding: 5px;
    margin: auto;
}

.graphique {
    color: white;
    background-image: url("tbcc_img/graphique1.png");
    border: 2px #032b82 dotted;
    width: 511px;
    height: 262px;
    padding: 0px;
    margin: auto;
}

.nom_champ {
    font-weight: bold;
    font-size: x-large;
}

/* ADMIN */

.formulaire {
    display: block;
    width: 220px;
    float: left;
}

.erreur {
    text-align: center;
    color: #FF0000;
    font-size: large;
}

.option_admin {
    font-size: xx-small;
    line-height: 0px;
}

.legende {
    border: 1px dashed #032B82;
    padding: 3px;
    margin: auto;
    width: 250px;
}
.match {
    text-align: center;
}

/* DIVERS */
    
.evenement, .telechargement, .membre {
    width: 500px;
    border: 2px dotted #FFFFFF;
    margin: auto;
    padding: 10px;
}

.sans_bord {
    border: none;
}

.titre_liens {
    color: #FFFFFF;
}
