/* sorry for this ugly stylesheet, this is an old one - has to be replaced */
a.normal, a.picswitch {
 text-decoration:none;
}
a.ul {
  text-decoration:underline;
}
a.normal:link {
	color: lightblue; 
}  
a.picswitch:link, a.picswitch:visited {
  color: white;
} 
a.normal:visited { 
	color: #CCCCCC; 
}   
a.normal:hover, a.picswitch:hover {
	color: red; 
	text-decoration:underline;
}   
a.emaillink {
 text-decoration:none;
 font-weight:bold;
}
a.emaillink:link {
	color: white; 
}   
a.emaillink:visited { 
	color: #CCCCCC; 
}   
a.emaillink:hover {
	color: lightblue; 
}  
.lightgray {
  color:#CCCCCC;
}
.gray {
  color:#666666;
}
.white, input.pswitch {
  color:#FFFFFF;
}
.yellow {
  color:#FFFF00;
}
.red {
  color:#FF0000;
}
.blue {
  color:blue;
}
.italic {
  font-style:italic;
}
.bg_nr {
  background-repeat:no-repeat;
}
.bg_rx {
  background-repeat:repeat-x;
}
.bigfont, .stdfont, .midfont, .medfont, .minifont, .tinyfont, .littlefont, input.pswitch {
  font-family:Arial, sans-serif;
}
.bigfont {
  font-size:24px;
}
.medfont {
  font-size:18px;
}
.midfont {
  font-size:14px;
}
.stdfont {
	font-size:12px;
}
.littlefont {
	font-size:11px;
}
.minifont, input.pswitch {
  font-size:10px;
}
.tinyfont {
  font-size:9px;
}
.bd, .bd_t, .bd_h  {
  border-top: 1px solid #CCCCCC;
}
.bd, .bd_l, .bd_v  {
  border-left: 1px solid #CCCCCC;
}
.bd, .bd_r, .bd_v {
  border-right: 1px solid #CCCCCC;
}
.bd, .bd_b, .bd_h  {
  border-bottom: 1px solid #CCCCCC;
}
.bd_blue {
  border-color:#3F7CBA;
}
.titlewindow, .mainwindow {
	vertical-align:top;
	text-align:center;
	color:#FFFFFF;
}
p.maintext {
  margin: 10px 10px 10px;
}

.fat {
  font-weight:bold;
}
input.login {
	font-size:12px;
	font-weight:bold;
	font-family:Arial, sans-serif;
	border:1px solid #FFFFFF;
	background-color:#09538A;
	line-height:1.5em;
	color:#FFFFFF;
}
a.cm_menu:link, a.cm_menu:visited {
	display:block;
	width: 85px;
	border:1px solid #FFFFFF;
	line-height:1.5em;
	background-color:#09538A;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	font-family:Arial, sans-serif;
	text-decoration:none;
	text-align:center;
}
a.cm_menu:hover {
	color: #FF0000;
	border-color:#FF0000;
	background-color:#FFFFFF;
}
img.gthumb, img.gthumbred, img.gbig {
  border: 1px solid white; 
  margin-top:8px;
	margin-left: 5px;
	margin-right: 4px;
	margin-bottom: 0px;
}
img.gthumbred {
  border: 1px solid orange; 
}
img.gbig {
  margin:10px;
}
input.pswitch {
  border: none;
	background-color:#30608F;
}

/*Raceresults*/

div#searchoptions {
  text-align:left;
}
div#searchoptions select {
  border:1px solid white;
  background:black;
  color:white;
}
div#searchoptions select#race {
  font-size:16px;
  color:red;
  font-weight:bold;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom:15px;
  background:white;
}

select#race option.cup {
  background:red;
  color:white;
}

select#sex {
  width:70px;
}
select#born {
  width:80px;
}
select#cat {
  width:150px;
}
div#searchoptions {
  border:1px solid red;
  width:540px;
}

table#raceresults {
  margin:10px auto 0 auto;
  border-collapse: collapse;
  width:540px;
}
tr.groupheader {
  font-size:16px;
  font-weight:bold;
  text-align:center;
  height:3em;
  padding-top:10px;
  
}
tr.resultshead {
  background:#5179BF;
  border-top:3px solid #12275C;
  border-bottom:3px solid #12275C;
}
tr.gold, 
tr.gold td.racepoints,
tr.gold td.cuppoints  {
  background: #ADD8E6;
  color:black;
  font-weight:bold;
}

tr.silver, 
tr.silver td.racepoints,
tr.silver td.cuppoints  {
  background:#48A6C3;
  color:black;
  font-weight:bold;
}

tr.bronce, 
tr.bronce td.racepoints,
tr.bronce td.cuppoints { 
  background:#2B6D81;
  color:white;
  font-weight:bold;
}
td.racepoints {
  color:#ADD8E6;
  font-weight:bold;
}
tr.even {
  background:#12275C;
}
td.place {
  font-weight:bold;
}
td.racenumber, 
td.community {
  font-style:italic;
}
td.cuppoints {
  font-weight:bold;
  font-size:14px;
  color:yellow;
}

tr.note td {
  text-align:right;
  font-style:italic;
}

/*cupresults*/

table#cupresults {
  margin:10px auto 0 auto;
  border-collapse: collapse;
  width:540px;
}

tr.sexgroup {
  font-size:16px;
  font-weight:bold;
  text-align:center;
  height:3em;
  padding-top:10px;
}
tr.headline {
  background:#5179BF;
  border-top:3px solid #12275C;
  border-bottom:3px solid #12275C;
}

div#sortoption label {
  font-weight:bold;
  letter-spacing:1px;
}