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

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

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

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

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

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

/* body: describes page background color and all non-table text not governed by any other style */
body {
	/* SPV background-color: #FFFFFF; */
	/* SPV (test two) background-color: d1cfcf; */
	color: #000000;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/* link: normal links, active: links in use */
/*SPV a:link, a:active {
	color: #333399;
} */

/* visited: previously visited links */
/*SPV a:visited {
	color: #666633;
} */

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

/* databack: background color for data areas */
.databack {
	/* SPV background-color: #e0e0f7; */
	background-color: #eee5db;
	/*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 */
/* 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;
}

/* background for pedigree popups */
.pboxpopupdiv {
    border-top:1px solid #bbbbbb;
	border-left:1px solid #bbbbbb;
	background-color:#f9f9f9;
	padding:7px;
}

/* area between sections of pedigree popups */
.popdivider {
	height: 3px;
	overflow: hidden;
}

/* inner div for pedigree popups, to allow sliding */
.popinner {
	padding: 3px;
	width: 280px;
}

/* boxes on pedigree chart */
.pedbox {
	position: absolute;
	z-index: 5;
	overflow: hidden;
}

.rounded10 {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.rounded4 {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/* 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 {
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	color: #fff;
	text-decoration: none;
}

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

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

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

.lightback {
	background-color: #fff;
	/*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: #99a0a7;
}

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

.whitesubhead {
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	color: #fff;
	font-size: 16px;
}

/* smaller: small body text */
.smaller {
	/* SPV 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: #fc0;
	text-decoration: none;
}

/*for alignment on menu icons*/
.tngmenuicon {
	vertical-align: -3px;
	padding:1px;
	/* new below in 7.1.0 */
	margin: 0px 1px 0px 1px;
	border: 0px;
	width: 16px;
	height: 15px;
}

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

/*added in 6.0.0*/
/*for css dropdown menus*/
#mnav, #mnav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#mnav a {
	display: block;
	width: 7em;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 11px;
	text-decoration: none;
}

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

#mnav .drop {
	padding-right: 1em;
	width: 95px;
}

#mnav li ul { /* second-level lists */
	border-top: 1px solid #777;
	border-left: 1px solid #777;
	border-right: 1px solid #777;
	background: #fff;
	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: #eee; /*inactive dropdown menu color*/
	margin-right: 0px;
	margin-top: 1px;
	border-bottom: 1px solid #777;
}

#mnav li ul li a {
	width: 13em;  /*increased to 13 in 6.2.0*/
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
	text-decoration: underline;
}

#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;
}

#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;
}

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

/*moved here from showmedia.php in 7.0.0*/
#slideshow {
	position: relative;
}

#slideshow div.slide, #slideshow div.loadingdiv {
	position: relative;
/* SPV changed from absolute due to a clear issue with e107 embedding */
	top: 0;
	left: 0;
}

#loadingdiv {
	position: absolute;
	background-color: #fff;
	padding: 20px;
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	font-size: 21pt;
	border: solid 1px #000;
	z-index: 5;
	display: none;
}

#sscontrols {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 8pt;
	padding-bottom: 8px;
}

/* added in 7.0.0 */
.tngshadow {
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.togglehead {
	text-decoration: none;
	color: #000;
}

input.veryshortfield {
	width: 100px;
}

input.shortfield {
	width: 140px;
}

input.longfield {
	width: 350px;
}

input.verylongfield {
	width: 500px;
}


.smallest {
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	font-size: 8pt;
}

.dragarea {
	width: 50px;
	cursor: move;
	text-align: center;
	background-color: #ddd;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

.smallicon {
	margin: 0px 2px 0px 2px;
	border: 0px;
}

.closelink {
	padding-right: 25px;
	padding-bottom: 5px;
}

.nw {
	white-space: nowrap;
}

/* 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: #eee5db; /*same as "databack" background color */
	color: #000;
	text-decoration: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

a.snlink:hover, .snlinkact {
	background-color: #99a0a7; /*same as "fieldnameback" background color */
	color: #fff;
}

.LB_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #222;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
	z-index: 101;
}

.LB_window {
	position: absolute;
	background: #eee5db; /*same as "databack" background color */
	border: 2px solid #99a0a7; /*same as "fieldnameback" background color */
	color: #000;
	display: none;
	z-index: 500;
	padding-top: 28px;
}
/*
* html .LB_window {position:absolute;}
*/

#LB_closeWindow{
	padding: 10px 25px 10px 0;
}

.LB_content{
	overflow: auto;
}

.LB_closeAjaxWindow{
	cursor: move;
	margin: 0px;
	padding: 3px 0px 2px 0px;
	position: absolute;
	text-align: right;
	top: 0;
	background-color: #99a0a7; /*same as "fieldnameback" background color */
}

.LB_closeAjaxWindow a {
	cursor: pointer;
	padding: 2px 4px 2px 2px;
}

/* The following classes were added when converting the Help screens to php file for the template look and feel */
/* subheadbold: subheading text in Help screens */
.subheadbold {
	margin-top: 0px;
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	font-size: 18pt;
	font-weight: bold;
}

/* largeheader: heading text used on dark backgrounds (usually fieldnameback) in Help screens */
.largeheader {
	/* SPV font-family: Arial, Helvetica, sans-serif; */
	font-size: 36px;
	color: #fff;
}

/* optionhead: added to replace <strong> on option heading */
.optionhead {
	font-weight: bold;
}

/* helpbody: describes page background on Help screens  */
.helpbody {
	background-image: url(../background.gif);
}

.tblback {
	background-color: #fff;
}

.yellow {
	color: #fc3;
}

td.highlightedchild {
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}

td.unhighlightedchild {
	padding-top: 1px;
	padding-bottom: 1px;
}

/* arrow underneath pedigree boxes */
.downarrow {
	position: absolute;
	z-index: 7;
	cursor: pointer;
	visibility: hidden;
	text-align: center;
}

/* right-facing arrows indicating continuing pedigree charts */
.offpagearrow {
	position: absolute;
	visibility: hidden;
	z-index: 5;
}

/*added in 7.1.0*/
/* popup for import progress bar */
.impcontainer { margin: 20px; }

/* header in progress bar popup */
.impheader { height: 40px; }

/* import counter labels, ie People, Families, Sources */
.implabel { font-weight: bold; }

.imp {
	margin-right: 10px;
	float: left;
}


/* white box around progress bar */
.progcontainer {
	background-color: #fff;
	padding: 5px;
	width: 500px;
}

/* empty progress bar */
.emptybar {
	width: 500px;
	height: 20px;
	border: 1px solid black;
}

/* colored part of progress bar */
.colorbar {
	width: 0px;
	height: 20px;
	background-color: green;
}

/* for images in pull down menus */
.tnggif {
	margin-left: 4px;
	margin-right: 4px;
	width: 20px;
  	height: 20px;
	border: 0px;
	vertical-align: middle;
}

/* for ArrowDown.gif in genlib.php */
#mnav .arrow {
	float: left;
	margin-top: 4px;
	margin-bottom: 4px;
	width: 25px;
  	height: 8px;
	border: 0px;
}

.indexphoto {
    border: 0;
}
