body { background: #3B3B3B; color: #CECECE; font-family: Tahoma, Arial, Sans-Serif; font-size: 13px; }
a { color: #000; text-decoration: none; }
a:visited { color: #858585; }
a:hover { color: #fff; }

#header { margin: 0 auto; height: 300px; width: 800px; margin-bottom: -100px; }
#page { margin: -140px auto 0 auto; width: 764px; background: #4A4A4A; padding: 0 10px; text-align: justify; clear: both;
border-top: 0; border-right: 8px solid #6E6E6E; border-bottom: 8px solid #6E6E6E; border-left: 8px solid #6E6E6E; }

#footer { margin: 0 auto; padding: 40px 0 0 0; width: 800px; height: 30px; color: #fff; font-size: 11px; text-align:
center; clear: both; margin-left: -18px; background-repeat: no-repeat; background-position: center top; }
#footer a { color: #fff; text-decoration: none; }

#links { font-size: 16px; font-family: Georgia, Serif; margin: 0 12px; }
.lright { float: right; }
#links ul { list-style: none; display: inline; }
#links li a { margin-right: 10px; float: left; text-decoration: none; padding-left: 13px; line-height: 27px; color: #CECECE; }
#links li a span { float: left; height: 28px; padding-right: 14px; }
#links li a:hover { background: url(oritlinkl.png) no-repeat; color: #FFCC00; }
#links li a:hover span { background: url(oritlinkr.png) right top no-repeat; }
/* webkit-fix */
@media screen and (-webkit-min-device-pixel-ratio:0) { #links{ padding-top: 258px; } }

h1 { padding: 5px 0 0 20px; font-family: Garamond, Serif; letter-spacing: 2px; font-size: 25px; color: #fff; }
h1 span { padding-left: 20px; font-size: 12px; font-family: Tahoma, Sans-Serif; letter-spacing: normal; font-weight: normal; }
h2 { font-family: Garamond, Serif; font-size: 18px; margin: 20px 0 -10px 20px; clear: both; font-weight: normal; color: #FFCC00; }
h2 a { color: #BB9600; }
h2 a:visited { color: #BB9600; }
h3 { font-family: Garamond, Serif; font-size: 16px; margin: 20px 0 -10px 20px; clear: both; font-weight: normal; }

#left { float: left; width: 555px; padding-right: 15px; }
#right { line-height: 1.5; float: right; white-space: pre; min-height: 60px; min-width: 108px; padding-left: 10px; padding-bottom: 10px; border-left: 4px double #CECECE; }
#right strong { font-size: 15px; letter-spacing: 2px; }

#rakennekuvat { text-align: center; }
#rakennekuvat img { margin: 4px; }
.kuvat { text-align: center; padding-bottom: 20px; }
.kuvat img { margin: 0 8px; }

#suku { border-collapse: collapse; clear: both; }
#suku td { padding: 5px 10px; font-family: Arial, Sans-Serif; font-size: 12px; }

.keski { text-align: center; }
strong { color: #fff; letter-spacing: 1px; }
img { border: 1px solid #fff; }
pre { white-space: pre; font: inherit; }

#tie { margin-right: 10px; float: left; height: 125px; width: 157px; }
#kisat { border-collapse: collapse; margin: 0 auto;  }
#kisat tr:hover { background: #8A8A8A; }
#kisat td { padding: 3px 7px; }
.lajiots { font-size: 16px; background: #8A8A8A; border: 1px solid #000; }
.cup { background: #757575; border: 1px solid #000; }
.ylos { line-height: 4; text-align: center; }
.ylos:hover { background: #4A4A4A; }

.balloonstyle img { border: 0; }
.balloonstyle{ position: absolute; top: 0; left: 0; visibility: hidden; }

#palkinnot img { border: 0; margin-left: 10px; }

#luonne em { color: #FFCC00; }

/* Majurin kisat */
#kilpailut td { white-space: pre; vertical-align: top; padding-right: 5px; }
#kilpailut h2 { text-align: center; }
#kilpailut h2 span { padding: 10px; }
#kilpailut span { border: 1px solid red; padding: 0 2px; }
pre small { padding-left: 5px; }
pre strong { color: #FFCC00; }


.ema { font-size: 12px; padding-left: 10px; }