/* body: describes page background color and all non-table text not governed by any other style */
BODY {
	color : #000000;
	font-family : Arial, Helvetica, sans-serif;
	font-size: 71%;
	text-align: left;
	margin: 0px;
	background-color: #DBD5CE;
}

/*added for cfh*/
#frame { width: 984px; margin:-1px auto 10px auto}
#container{
	width: 984px;
	background-color: #FFFFFF;
	border: 1px solid #8D8C8B;
	float:left
}
.home h1 { margin:0; padding:0}
#content{
	margin:0 0 0 140px; _margin/**/:/**/0;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 8px;
	padding-left: 16px;
	font-size: 1.1em;
	_float/**/:/**/left;
	width: 814px;
}
.contentscroll {
	width: 812px;
	overflow: scroll;
	overflow-y: hidden;
}

#content h1 span {display:none}
#content h1{
	font-size: 1.7em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin: 0;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	padding: 0 0 4px 0;

}
#content h2 {
	font-size: 1.4em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin: 0;
	padding: 0 0 4px 0;
}
#content h3 {
	font-size: 1em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 4px;
	margin-left: 0px;
	padding-bottom: 8px;
}
#topnav {
	background-color: #790000;
	color: #FFFFFF;
	text-align: center;
	padding-top: 2px;
	padding-right: 4px;
	padding-bottom: 2px;
	padding-left: 4px;
}
#topnav a {
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	background-color: inherit;
}
#topnav a:hover {
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: underline;
	background-color: inherit;
}
#leftnav {
	width: 140px;
	float: left;
	background-color: #AD9E92;
	border-right: solid 1px #AD9E92
}
#leftnav a {
	background-color: #C8BFB7;
	color: #534741;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	display: block;
	width: 130px;
}
#leftnav a:hover {
	background-color: #000000;
	color: #FFFFFF;
	display: block;
	text-decoration: none;
}
#leftnav ul {
	width: 140px;
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
#leftnav li {
	list-style-type: none;
	display: block;
	margin-bottom: 1px;
	background-color: #b7ab9f;
	color: #534741;
}
#leftnav h1{
	font-size: 1em;
	font-weight: bold;
	margin: 0px;
}
#leftnav h2{
	font-size: 1em;
	font-weight: bold;
	margin: 0px;
	background-color: #003663;
	padding: 5px 5px 0px;
	color: #FFFFFF;
}
#leftnav h3{
	font-size: 1em;
	font-weight: normal;
	margin: 0px;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	color: #FFFFFF;
	display: block;
	width: 130px;
	background-color: #197a30;
}
#leftnav form{
	font-size: 0.8em;
	color: #d7d7d7;
	background-color: #003663;
	padding: 5px;
	margin: 0px;
}
#leftnav input{
	font-size: 1em;
	border: 1px solid #999999;
}

/* normal: most regular body text */
.normal {
	font-family: Arial, Helvetica, sans-serif; 
}

/* smfieldname: small text used in conjunction with .fieldname style text */
.smfieldname {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1em;
	color: white;
}

/* fieldname: regular text within column or row title sections */
.fieldname {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1em;
	color:#000;
	font-weight:bold;
}

/* header: heading text */
.header {
	/*next line added in 6.1.0*/
	margin-top: 0px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #333366;
}

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

/* subhead: subheading text */
.subhead {
	/*next line added in 6.1.0*/
	/*margin-top: 0px;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}



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

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



/* link: normal links, active: links in use */
A {
	color : #003663;
	font-weight: bold;
	text-decoration: none;
	font-size: 1em;
}

A:HOVER {
	color : #003663;
	font-weight: bold;
	text-decoration: underline;
	font-size: 1em;
}

/* visited: previously visited links 
A:VISITED {
	color: #003663;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
}*/


/* fieldnameback: background color for column and row title sections */
.fieldnameback, .fieldnameback2 td {
/*	background-color: #E9E5D9; */
	background-color: #E9E5D9;

	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;
	color:#000;

}
.fieldnameback strong { color:#000; display:block; margin-left:4px}

.fielddataback, .fielddataback td {
	background-color: #F7F7EF;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;

}
.fielddataback { color:#000; margin-left:4px; text-align:center}
.tabledata td {
	background-color: #F7F7EF;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;
}
/* databack: background color for data areas */
.databack {
	background-color: #F7F7EF;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;
}
.databack { color:#000; margin-left:4px}

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

/* pedigree box: dates font */
/* font-size should be in points */
.pboxdates {
  font-family: Arial, Helvetica, sans-serif; 
}

/* pedigree box information popups */
/* font-size should be in points */
.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: 10px;
}

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

a.lightlink:hover, a.lightlink:active {
	text-decoration: underline;
}

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

a.lightlink2:hover, a.lightlink2:active {
	text-decoration: underline;
}

.lightback {
	background-color: #FFFFFF;
	/*these 2 lines added in 6.0.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;
}

/* 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: 1em;
}

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

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

/*for alignment on menu icons*/
.tngmenuicon {
	vertical-align: -3px;
}

/*for descendancy chart*/
#descendantchart {
	text-align: left;
}

#descendantchart li {
	list-style-type: none;
	white-space: nowrap;
}

#descendantchart ul {
  margin-left: 0px;
}

#descendantchart ul.first {
	margin: 0;
	padding: 0;
}

#footer {
	background-color: #000000;
	color: #707070;
	padding: 2px 5px;
	margin-top:10px;
	float:left;
}
#footer a{
	color: #707070;
	text-decoration: none;
	font-weight: bold;
}
#footer a:hover{
	color: #707070;
	text-decoration: underline;
	font-weight: bold;
}

/* Homepage styles*/

.login {margin:10px}
.login input{
	font-size: 11px;
	border: 1px solid #999999;
	margin: 0px;
	width:100px;
	/*margin-bottom:3px*/
}
.login .button input{ width:50px;/*margin-top:1px*/}
.login p {margin:5px 0 0 0; padding:0}
.login .welcome {color:#197a30}

#hometext {
	text-align: left;
	float: right;
	width: 812px;
	padding-top: 8px;
	padding-right: 16px;
	padding-bottom: 8px;
	padding-left: 16px;
	font-size: 1em;
}
#hometext h1 {
	font-size: 1.4em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 8px;
	margin-left: 0px;
}

#hometext_left {
	text-align: left;
	float: left;
	font-size: 1em;
	width: 468px;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 8px;
	padding-left: 16px;
}
#hometext_left h1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 8px;
	margin-left: 0px;
}
#hometext_right {
	text-align: left;
	float: right;
	font-size: 1em;
	width: 468px;
	padding-top: 8px;
	padding-right: 16px;
	padding-bottom: 8px;
	padding-left: 8px;
}
#hometext_right h1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #003663;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 8px;
	margin-left: 0px;
}

#homebox {
	background-color: #790000;
	font-size: 1em;
	color: #CCCCCC;
	padding: 8px;
	height: 100px;
	margin-top: 4px;
	margin-right: 8px;
	float: left;
	width: 141px;
}

#homebox h2 {
	font-size: 1.1em;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	margin: 0px;
	background-image: url(images/red_arrow.gif);
	background-repeat: no-repeat;
	background-position: right 3px;
	padding: 0px;
}
#homebox a {
	color: #FFFFFF;
	text-decoration: none;
}
#homebox a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

#homesearch {
	background-color: #003663;
	font-size: 1em;
	color: #CCCCCC;
	padding: 8px;
	height: 100px;
	margin-top: 4px;
	float: left;
	width: 143px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#homesearch h2 {
	font-size: 1.1em;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	margin: 0px;
	background-image: url(images/blue_arrow.gif);
	background-repeat: no-repeat;
	background-position: right 3px;
	padding: 0px;
}
a.homesearch_link2 {
	color: #809BB1;
	text-decoration: none;
}
a.homesearch_link2:hover {
	color: #809BB1;
	text-decoration: underline;
}
#homesearch form {
	margin: 0px 0px 4px;
	padding: 0px;
}
#homesearch input{
	font-size: 11px;
	border: 1px solid #999999;
	margin: 0px;
}
#homesearch td.lastname input, #homesearch td.firstname input { width:87px}
#homesearch  .button { width:50px}

/*added in 6.0.0*/
/*for css dropdown menus*/
#mnav, #mnav ul { /* all lists */
	padding:4px 0 0 0;
	margin:0;
	list-style: none;
	display: block;
}
#mnav ul { padding-top:0px; margin-left:-1px; display:block}
#mnav #third {margin-left: -31px;}
#mnav a {
	display: block;
	width: 6em;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	text-decoration:none;
	color:#534741;
}
#mnav #first a, #mnav #second a, #mnav #third a {
	color:#003663;
	text-decoration:none;
} 

#mnav li { /* all list items */
	float: left;
	width: 6em; /* width needed for Opera */
	margin-right: 2px;
	background: #b7ab9f; /*same as "databack" background color */
	border-bottom:1px solid #777;
	border-right:1px solid #777;
	border-top:1px solid #e0e0f7; /*same as "databack" background color */
	border-left:1px solid #e0e0f7; /*same as "databack" background color */
	display:block
}

#mnav li ul { /* second-level lists */
	border-top: 1px solid #777;
	border-left: 1px solid #777;
	border-right: 1px solid #777;
	background: #ffffff;
	position: absolute;
	width: 6em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	display:block
}

#mnav li ul li {
	border: 0px;
	width: 6em;
	background: #eeeeee; /*inactive dropdown menu color*/
	margin-right: 0px;
	margin-top: 1px;
	border-bottom: 1px solid #777;
	display:block
}

#mnav li ul li a {
	width: 9em;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1.1em;
	text-decoration:underline;
	display:block
}

#mnav li:hover, #mnav li.sfhover { /* lists nested under hovered list items */
	background-color: #ffffff;
	border-top:1px solid #aaa;
	border-left:1px solid #aaa;
	display:block
}

#mnav li:hover li, #mnav li.sfhover li { /* lists nested under hovered list items */
	border-top:none;
	border-left:none;
	display:block

}

#mnav li:hover ul, #mnav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	display:block

}
/*for pedigree boxes*/

/*added in 6.2.0*/
.media-prev {
	top: -180px;
	right:-426px;
	height: 400px;
	padding: 20px 7px 12px;
	position:absolute;
	text-align: center;
	width: 410px;
	z-index:98;
	display:table-cell;
	line-height: 50px;
	vertical-align:middle;
}

.media-prev img {
	border: 1px solid #b3b3b3;
	display: block;
	margin:0 auto;
}

.media-img {
	height: 1px;
	margin: 0 0 0;
	position: relative;
}

* html .media-prev {
	background: url(media-prevbg.gif) no-repeat 0 0;
	width:420px;
	height:420px;
}
