/*your custom style goes in this file*/
/*if you're overriding style blocks from genstyle.css, you only need to include the attributes you're overriding, not the whole block*/

/* normal: most regular body text */
.normal {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/* header: heading text */
.header {
	font-family: Brush Script MT;
	font-size: 32px;
	color: #660000;
}

/* link: normal links, active: links in use */
a:link, a:active {
	color : #660000;
}
/* body: describes page background color and all non-table text not governed by any other style */
BODY {
	background-image: url("../img-ix/bgray.jpg");
	font-family : Arial, Helvetica, sans-serif;
	font-size: 12px;
}
/* page: describes page defaults inlcuding width of viewing area */
.page {
    background-color : #FFFFFF;
    border-collapse: collapse;
/*    margin-right: 10%;
    margin-left: 10%;*/
    margin-top: 0;
    text-align: left;
    width: 100%;
}
/* databack: background color for data areas */
.databack {
	background-color: #cccc99;
	/*these 2 lines added in 5.0*/
	border-right: 1px solid #bbb; 
	border-bottom: 1px solid #bbb;
}
/* fieldname: regular text within column or row title sections */
.fieldname {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFF99;
	font-size: 12px;
}

/* fieldnameback: background color for column and row title sections */
.fieldnameback {
	background-image: url("../fl-orig/topback.jpg");
}
/* sideback: background color for side and top frames */
.sideback {
	background-image: url("../fl-orig/topback.jpg");
}
/* footerback: background color for footer frames */
.footerback {
	background-image: url("../fl-orig/footercolor.jpg");
}
/* menuback: left nav menu background color with no right and bottom border */
/* also controls the width of the left side area of each page */
.menuback {
/*	background-image: url("../fl-orig/topback.jpg");*/
	border-right: 0px; 
	border-bottom: 0px;
/*        width: 10%;*/
/*	width: 180px;*/
/*	margin-left: 10px;*/
	vertical-align: top;
}
/* Added in 4.0.0 */
/* For links on dark background */
a.lightlink:link, a.lightlink:visited {
	font-family: Arial, Helvetica, sans-serif;
	color: #ffff99;
	font-size: 12px;
	text-decoration: none;
}

a.lightlink:hover, a.lightlink:active {
	color: #FFCC33;
	text-decoration: none;
}
a.lightlink2:link, a.lightlink2:visited {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
}
a.lightlink2:hover, a.lightlink2:active {
	color: #FFFFFF;
	text-decoration: none;
}

.lightback {
	background-color: #FFFFFF;
	/*these 2 lines added in 6.0.0*/
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.gray {
	color: #99ff99;
	text-decoration: none;
}


/* additional styles added for XHTML 1.0 Strict validation */
/* featureimg defined to replace width="40" height="45" border="1" hspace="8" align="left" in index.php for feature images */
.featureimg {
	width: 40px;
	height: 45px;
	margin-left: 8px;
	margin-right: 8px;
	float: left;
	border: 1px;
	border-color: black;
	border-style: solid;
}
/* searchimg added to replace width="109" height="35" vspace="0" border="0" search4.gif */
.searchimg {
	width: 100px;
  	height: 35px;
  	padding: 0px;
	border: 0px;
}
a.snlink:hover, .snlinkact, .adminnav .snlinkact {
	background-color:#660000;
	color:#fff;
}
.LB_closeAjaxWindow{
	background-color:#660000;
}
/* end of templatestyle.css for template 4 */

.bar {
	background-color:#660000;
}
/*for css dropdown menus*/
#mnav, #mnav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#mnav {
	position:relative;
	z-index:97;
}

#mnav a {
	display: block;
	width: 7em;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
	text-decoration:none;
	color: #660000;
}

#mnav li { /* all list items */
	float: left;
	width: 7em; /* width needed for Opera */
	margin-right: 2px;
	background: #ffff99; /*same as "databack" background color */
	border-bottom:1px solid #660000;
	border-right:1px solid #660000;
	border-top:1px solid #660000; /*same as "databack" background color */
	border-left:1px solid #660000; /*same as "databack" background color */
}

#mnav .drop {
	padding-right:1em;
	width:95px;
}

#mnav li ul { /* second-level lists */
	border-top: 1px solid #660000;
	border-left: 1px solid #660000;
	border-right: 1px solid #660000;
	background: #660000;
	position: absolute;
	width: 13em;  /*increased to 13 in 6.2.0*/
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#mnav li ul li {
	border: 0px;
	width: 13em;  /*increased to 13 in 6.2.0*/
	background: #ffff99; /*inactive dropdown menu color*/
	margin-right: 0px;
	margin-top: 1px;
	border-bottom: 1px solid #660000;
}

#mnav li ul li a {
	width: 13em;  /*increased to 13 in 6.2.0*/
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
	color: #660000;
	text-decoration:underline;
}

#mnav li:hover, #mnav li.sfhover { /* lists nested under hovered list items */
	background-color: #ffffff;
	border-top:1px solid #660000;
	border-left:1px solid #660000;
}

#mnav li:hover li, #mnav li.sfhover li { /* lists nested under hovered list items */
	border-top:none;
	border-left:none;
}

#mnav li:hover ul, #mnav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#mnav li:hover #third, #mnav li.sfhover #third {
	right: 0px;

}
/*arrow underneath pedigree boxes*/
.downarrow {
	position:absolute;
	z-index:5;
	cursor:pointer;
	visibility:hidden;
    text-align:center;
}
/*small boxes for letters on the surnames page, also for pagination on other pages*/
.snlink {
	padding:4px 5px 3px 5px;
	border-bottom:1px solid #999;
	border-right:1px solid #999;
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	background-color:#ffff99; /*same as "databack" background color */
	color: maroon;
	text-decoration:none;
/*	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;*/
}

a.snlink:hover, .snlinkact, .adminnav .snlinkact {
	background-color:#660000; /*same as "fieldnameback" background color */
	color:#ffff99;
}

/* search page large buttons*/
.databacksave {
	background: #ffff99;
	font-size: 21px;
	color:maroon
}

.fieldnamebacksave {
	background: #660000;
	font-size: 21px;
	color: #FFFF99;
	cursor: pointer;
}

.searchsidebar {
	margin-left:15px;
	padding-left:15px;
	border-left: 1px solid silver;
}

.othersearch {
	margin:2px 0 0 -15px
}

form {
    margin: 0px;
}



