/* describes page background color and all non-table text not governed by any other style */
BODY {
	background-color: #FFFFFF;
	color : #000000;
	font-family : Arial, Helvetica, sans-serif;
	font-size: 8pt;
	margin-left: 10px;
}

/* normal: most regular body text, input field titles etc. */
.normal {
	font-family: Arial, Helvetica, sans-serif; 
	font-style: normal;
	font-weight: normal;
	font-size: 10pt;
}

/* smfieldname: small text used in conjunction with .fieldname style text
   (where?= -HV) */
.smfieldname {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 7pt;
	color: white;
}

/* fieldname: regular text within column or row title sections */
.fieldname {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 7pt;
	color: white;
}

/* header: heading text */
.header {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12pt;
	color: #990000;
}

/* whiteheader: heading text used on dark backgrounds (usually fieldnameback) */
.whiteheader {
	font-family: Arial, Helvetica, sans-serif; 
	color: #FFFFFF;
}

/* subhead: subheading text */
.subhead {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 10pt;
}



/* link: normal links, active: links in use */
A:LINK, A:ACTIVE {
	color: #990000;
}

/* visited: previously visited links */
A:VISITED {
/*	color: #666633; */
	color: #990000;
}

/* fieldnameback: background color for column and row title sections */
.fieldnameback {
	background-color: #990000;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;
}

/* databack: background color for data areas
	(same color as the menu bg! -HV) */
.databack {
	background-color: #CCCC99;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.pboxname {
	font-family: Arial, Helvetica, sans-serif; 
}

/* pedigree box: dates font */
.pboxdates {
	font-family: Arial, Helvetica, sans-serif; 
}

/* pedigree box information popups */
.pboxpopup {
	font-family: Arial, Helvetica, sans-serif; 
	margin-top: 0;
	margin-bottom: 0;
}

/* Added in 3.0.4 */
UL {
	margin-left: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 1em;
}

/* Added in 4.0.0 */
/* For links on dark background */
a.lightlink:link, a.lightlink:visited {
	font-family: Arial, Helvetica, sans-serif; 
	color: #FFFFFF;
	text-decoration: none;
}

a.lightlink:hover, a.lightlink:active {
	color: #FFCC33;
	text-decoration: none;
}

/* For white-only links on dark background */
a.lightlink2:link, a.lightlink2:visited {
	font-family: Arial, Helvetica, sans-serif; 
	color: #FFFFFF;
	text-decoration: none;
}

a.lightlink2:hover, a.lightlink2:active {
	color: #FFFFFF;
	text-decoration: none;
}

.lightback {
	background-color: #FFFFFF;
}

/* sideback: background color for side and top frames */
.sideback {
	background-color: #333366;
}

/* mouseoverback: background color for admin menu items while active*/
.mouseoverback {
	background-color: #336399;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;

}

.whitesubhead {
	font-family: Arial, Helvetica, sans-serif; 
	color: #FFFFFF;
	font-size: 16px;
}

/* smaller: small body text */
.smaller {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 11px;
}

/*added in 5.0.0*/
/*for active secondary tab link*/
a.lightlink3:link, a.lightlink3:visited, a.lightlink3:hover, a.lightlink3:active {
	color: #FFCC33;
	text-decoration: none;
}

/* Menu table definitions (topmenu, sidemenu) - ADDED BY HV */

#topmenu TABLE {
	background-color: #CCCC99;
	margin-top: 3px;
	padding: 0;
	border-collapse: collapse;
	border-right: 1px #b7b789 solid;
	border-bottom: 1px #b7b789 solid;
}

#topmenu TD {
	font-size: 10pt;
	font-weight: bold;
	border-left: 1px #b7b789 solid;
	padding: 3px;
}

#topmenu A {
	text-decoration: none;
}

#topmenu .filler {
	width: 100%;
}

#topmenu a:hover {
	background-color: #e2e2aa;
}
 
#topmenu a:active {
	background-color: #e2e2aa;
	color: #FF0000;
}

#topmenu td#active { /* Identifier for the active page on the top menu */
	background-color: #e2e2aa;
	border: 1px solid #BBBB88;
}


#menubox table {
	border: 1px solid #CCCC99;
	width: 100%; /* syntymapaivalista maarittaa leveyden */
	margin-bottom: 15px;
}

#menubox td {
	font-size: 10pt;
}

#menubox A {
	text-decoration: none;
}

#menubox A:hover {
	background-color: #DDDDA0;
}

/* login box */
#menubox .loginprompt {
	padding-left: 5px;
	padding-bottom: 5px;
	padding-top: 0px;
	padding-right: 0px;
	font-size: 9pt;
}

#menubox .logintext {
	border: 1px solid black;
	font-size: 8pt;
}

#menubox .loginbutton {
	background-color: #DDDDA0;
	border: 1px outset #000000;
	font-size: 8pt;
	padding: 2px;
	margin: 5px;
}


#menubox .infoheader {
	font-weight: bold;
}

#menubox .infotext-right {
	text-align: right;
}


/* end of topmenu/sidemenu */


/* Index page main table - ADDED BY HV */
#main TD {
	vertical-align: top;
}

/* News box styles - ADDED BY HV */

/* for the main news table */
.news {
	color: #000000;
	font-size: 10pt;
	border-collapse: collapse;
	margin-left: 10px;
	margin-right: 10px;
}

/* title and date cells */
.newstitle {
	background-color: #CCCC99;
	padding: 3px;
}

/* news story text */
.newstext {
}

/* news source text (also the end of a news entry) */
.newssource {
	font-size: 9pt;
	font-style: italic;
	padding-top: 5px;
}




/* Footer (by HV) */
.footer {
	margin-top: 20px;
	border-top: 1px solid #666633;
	padding-top: 5px;
	font-size: 7pt;
	text-align: right;
}

.footer a {
	text-decoration: none;
}


/* FAQ page definitions (Ohjeet) */
#toc #faq {

	font-size: 9pt;
	list-style-type: none;
	display: block;
}

#toc {
	margin-right: 5px;
	border-bottom: 2px solid #D0D099;
	padding: 10px;
}

#toc H1 {
	font-size: 10pt;
}

#toc UL {
	margin-bottom: 10px;
	list-style-type: none;
}

#toc .toplevel {
	font-weight: bold;
}

#faq .toplevel {
	font-size: 10pt;
	padding-top: 20px;
}

#faq .toplevel DT {
	margin-top: 50px;
}

#faq DT {
	margin-top: 10px;
	font-weight: bold;
}

#faq DT A {
	text-decoration: none;
}

#faq .bulletlist {
	list-style-type: disc;
}
