/*--------------------------------------------------*/
/* stylesheet for general elements on gp-bern.ch    */
/* ------------------------------------------------ */
/* author: Michael Hutzli (mh-websolutions.ch)      */
/* last change: 03.03.2010                          */
/*--------------------------------------------------*/

/* body attributes */
body {
	font-family      : Helvetica, Verdana, Arial, sans-serif;
	font-size        : 0.75em;
	color            : black;
	margin           : 0;
	background-color : #CACDB9;
}

body.gray {
	background-color : #F0F0F0;
	padding          : 3px 20px 0px 3px;
}

/* titles */
h1 {
	font-size        : 2em;
    font-weight      : bold;
}

h2 { 
    font-size        : 1.6em;
	font-weight      : bold;
}

h3 {
    font-size        : 1.3em;
	font-weight      : bold;
}

h4 {
  font-size: 8px;
  margin: 0;
  margin-left: 19px;
  padding: 0;
  padding-bottom: 5px;
}

/* images */
img {
    border           : 0;
}

/* links */
a {
    color            : #663;
	text-decoration  : underline;
}

a:hover {
    text-decoration  : none;
}

/* title */
.title_p {
	background-image : url(../images/pfeil_g_b.gif);
	background-repeat: no-repeat;
	padding          : 0px 2px 4px 11px;
	font-weight      : bold;
	letter-spacing   : 0.1em;
	clear            : both;
	border-bottom    : 1px solid black;
}

.titlePSpacer {
	height           : 7px;
}

/* table */
table.programm,table.medien {
	border-collapse  : collapse;
	width            : 100%;
}

table.programm td,table.medien td {
	padding          : 2px 4px 2px 4px;
	border-bottom    : 1px solid black;
	border-top  	   : 1px solid black;
}

table#topfechterch {
	width            : 95%;
	border-collapse  : collapse;
}

table#topfechterch td {
	width            : 19%;
}

table#topfechterch td, table#topfechterch th {
	text-align       : center;
	padding          : 5px;
}

table.links td {
  padding          : 10px;
  font-weight      : bold;
}

table.regPoints {
	border-collapse  : collapse;
}

table.regPoints td,table.regPoints th{
	padding          : 2px 6px 2px 6px;
	border           : 1px solid black;
}

table.regPoints th{
	background-color : #666;
	color            : white;
}
table#reglement td{
	padding          : 5px;
	vertical-align   : top;
}

td.firstProgramm {
	width            : 80px;
}

div.balkenGalerie, div.balkenResultats{
	border-top       : 1px solid black;
	border-bottom    : 1px solid black;
	background-color : white;
	padding          : 5px;
}

table.galerie{
	width            : 736px;
}

table.galerie td{
	padding          : 7px;
	text-align       : center;
	vertical-align   : middle;
	width			 : 184px;
}

table.fechterfolge td {
  padding-right     : 10px;
  text-align        : left;
  vertical-align    : top;
  padding-bottom   : 15px;
}

/* image in content */
img.c_ho_img {
	padding          : 5px;
	border           : 1px solid black;
	background-color : white;
}

div.b_ho_img {
	padding          : 5px 10px 5px 5px;
	align            : left;
	float            : left;
}

img#ckuhn {
	padding          : 5px 10px 5px 0px;
	align            : left;
	float            : left;
}

img#ok {
	float            : right;
	padding          : 5px 10px 5px 5px;
}	


/* description */
div.hotel_desc{
	padding          : 5px 0px 7px 0px;
}

div.desc{
	padding          : 5px 0 0 0;
}

/* adress box */
div.adress_ho {
	border-top       : 1px solid black;
	border-bottom    : 1px solid black;
	background-color : #F0F0F0;
	padding          : 3px;
	font-style       : italic;
}

div.linkBox {
	background-color : #F0F0F0;
	padding          : 2px;
	font-style       : italic;
}

/* title */
.title_ho, div.titleLink {
	padding          : 0px 2px 2px 2px;
	font-weight      : bold;
	clear            : both;
}

/* plakate overview */
table#plakate {
	clear            : both;
}

table#plakate td{
	padding          : 5px;
	text-align       : center;
	vertical-align   : middle;
}

img#lageplan {
	float            : left;
	padding          : 3px 10px 6px 0px;
}

/* resultats */
div.resSubCats{
	padding		     : 2px 5px 0px 5px;
}

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;
}

.ligne {
	border-right      : solid #000 1px;
	margin            : 0;
}

.boite {
	border            : solid #000 1px;
	margin            : 0;
}

/* 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%;
  border-collapse: collapse;
  border: 2px solid #000;
}

table.poule th {
  border: 1px solid black;
  padding: 2px 0.5em;
}

/* Border style for the table data cells */

table.poule td {
  border: 1px solid black;
  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;
  border: 0;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  empty-cells: show;
}
/*
 * 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:white;
  border: 1px solid black;
  border-collapse: collapse;
  border: 1px solid #000;
}

/* This is the row for the header and footer */

table.liste th {
  border: 1px solid black;
  padding: 3px;
}

/* Border style for the table data cells */
table.liste td {
  border: 1px solid black;
  padding: 3px;
}

p.normal{
	font-weight:bold;
}