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

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

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

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

.plainheader {
	margin-top: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21px;
}


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

/* subhead: subheading text */
.subhead {
	margin-top: 0px;
	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 {
	background-color : #FFFFFF;
	color : #000000;
	font-family : Arial, Helvetica, sans-serif;
	font-size: 12px;
}

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

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

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

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

.pedborderleft {
	border-left: solid 1.2px black;
}

.pedboxtable {
	height:100%;
	width:100%;
	float:left
}


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

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

ul {
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 1em;
}

ul.nopad {
	margin-left: 0px;
	padding-left: 0px;
}


/* 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;
	/*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;
	margin:6px;
}

/* mainback: background for main admin area */
.mainback {
	margin:4px;
}

.mainbox {
	border: 1px solid silver;
	background-color: #ffffff;
	padding: 1px;
}

/* mouseoverback: background color for admin menu items while active*/
.mouseoverback {
	background-color: #336399;
}

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

.verysmall {
	font-size: 9px;
}

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

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

#tngmenu {
	 width:100%;
	 overflow:hidden;
}

/*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 {
	position:relative;
	z-index:97;
}

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

#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: #ffffff;
	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: #eeeeee; /*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;
}

#mnav li:hover #third, #mnav li.sfhover #third {
	right: 0px;
}

/*image previews*/
.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;
	background: transparent url(../img/media-prevbg.png) no-repeat 0 0;
}

.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(../img/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: absolute;
	top: 0;
	left: 0;
}

#loadingdiv, #loadingdiv2 {
	position: absolute;
	background-color: white;
	padding: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21pt;
	border: solid 1px black;
	z-index: 5;
}

#loadingdiv2 {
	width: 200px;
}


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

#slidemsg {
	padding: 0px 5px 0px 15px;
}

.slidepane {
	width:720px;
	height:440px;
	padding:10px;
}

.person-prev {
	top: -120px;
	height: 500px;
	position:absolute;
	width: 500px;
	padding: 0px 20px 20px 0px;
	z-index:98;
	display:table-cell;
	font-size: 11px;
	overflow:hidden;
	background: transparent url(../img/person-prevbg.png) no-repeat 0 0;
	visibility:hidden;
}


.person-img {
	height: 1px;
	margin: 0 0 0;
	position: relative;
	float:right;
}

.person-inner {
	overflow:hidden;
	padding: 20px 0px 0px 20px;
	height:480px;
}


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

.smallbreak {
	font-size:3px;
	height: 3px;
}

.medbreak {
	height: 15px;
}

.tngshadow {
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.tngbotshadow {
	border-bottom: 1px solid #bbb;
}

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

.th-indent {
	margin-left:5px;
}

.tsh-indent {
	margin-left:18px;
}

.red {
	color: #FF0000;
}

.green {
	color: green;
}

input.veryshortfield {
	width:100px;
}

input.shortfield {
	width:140px;
}

input.longfield {
	width:350px;
}

input.verylongfield {
	width:550px;
}

select.mediumfield {
	width:170px;
}

.smallest {
	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;
	vertical-align:middle;
}

.smallimg {
	border-color:#000000;
	margin-right:6px;
}


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

.nw {
	white-space:nowrap;
}

.headericon {
	vertical-align:-2px;
}

.coreicon, .descindicator, .nounderline {
	text-decoration: none;
}


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

/* columns on surnames page */
.aligntop {
	vertical-align:top;
}

.alignmiddle {
	vertical-align:middle;
}

.adminnav .snlink {
	background-color: white;
}

a.snlink:hover, .snlinkact, .adminnav .snlinkact {
	background-color:#333366; /*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);
	opacity: 0.7;
	z-index: 101;
}

.LB_window {
	position: absolute;
	background: #e0e0f7; /*same as "databack" background color */
	border: 2px solid #333366; /*same as "fieldnameback" background color */
	color:#000000;
	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:1px 0px 2px 0px;
	position:absolute;
	top: 0;
	background-color:#333366; /*same as "fieldnameback" background color */
}

#LB_close {
	cursor: pointer;
	padding: 1px 4px 2px 2px;
	float:right;
}

#LB_titletext {
	margin: 0px 0px 0px 5px;
	padding: 3px;
}


/* 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;
	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 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	color: #FFFFFF;
}

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

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

.tblback {
	background-color: #FFFFFF;
}

.yellow {
	color: #FFCC33;
}

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:white;
	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;
	margin-bottom:2px;
	width: 20px;
  	height: 20px;
	border: 0px;
	vertical-align: middle;
	float:left;
}

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

/* big save button */
.bigsave {
	background: #FFFFFF;
	font-size: 21px;
}

/* search page */
.databacksave {
	background: #e0e0f7;
	font-size: 21px;
}

.fieldnamebacksave {
	background: #333366;
	font-size: 21px;
	color: #FFFFFF;
	cursor: pointer;
}

.searchsidebar {
	margin-left:15px;
	padding-left:15px;
	border-left: 1px solid silver;
}

.othersearch {
	margin:2px 0 0 -15px
}

form {
    margin: 0px;
}

/*table cell for pedigree image*/
.lefttop {
	vertical-align:top;
	text-align:left;
	width:10px;
	padding-right:0px
}

.floverlr {
	position:absolute;
	z-index:10;
	text-align:right;
	width:30px;
}

.titlebox {
	border: 1px solid silver;
	background-color: #f9f9f9;
	padding: 10px;
	margin: 1px;
}

.whiteback {
	border: 1px solid silver;
	background-color: #ffffff;
}

.bar {
	height:16px;
	background-color:#333366;
}

/*load the map link*/
.loadmap {
	font-size:18px;
	width: 150px;
	height: 150px;
	margin: 20px auto;
	text-align: center;
	cursor: pointer;
}

/*Searching button on Relationship chart*/
#searching {
	 float:right;
	 padding:10px;
	 font-size:14pt;
	 border:1px solid black;
	 margin-right:15%
}

#loading {
	position: relative;
	width: 200px;
	visibility: visible;
	z-index: 9;
	margin: 0px;
	padding:10px;
	font-size:14pt;
	border:1px solid black;
	background-color: white;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/* white buttons with rounded corners (FF only) */
.whitebuttonlink {
	background-color:white;
	padding:3px 7px 3px 7px;
	text-decoration:none
}

/* help pages */
p.menu {
	margin-top:8px;
	margin-bottom:0px;
	color:#FFFFFF;
}

.blocknote {
	margin:0px 15px 0px 15px;
}

.ajaxwindow {
	margin:10px;
	border:0px;
}

.exp-cont {
	padding-right:5px;
	vertical-align:middle;
}

.expandicon {
	cursor:pointer;
	float:left;
	width:15px;
	height:15px;
	margin:0px 4px 0px 4px;
	border-width:0px;
}


.spaceonleft {
	padding-left:20px;
	padding-top:5px
}

.reportcol {
	width:220px;
}

.bottombuffer {
	margin-bottom:12px;
}

.topbuffer {
	margin-top:12px;
}

.topbuffersmall {
	margin-top:8px;
}

.indent {
	padding-left:24px;
}

.hide-right {
	float:right;
	visibility:hidden;
}

.childblock {
	line-height:1.6em;
}

.adminicon {
	border:1px solid black;
	float:left;
	width:40px;
	height:40px;
	margin:1px 5px 0px 5px;
}

.admincol {
	vertical-align:top;
	width:50%;
	min-width:340px;
}

a.admincell {
	padding:5px;
	margin:2px 3px 4px 3px;
	height:44px;
	display:block;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.leftlink {
	padding:4px 4px 4px 6px;
	display:block;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

a.admincell:hover, a.leftlink:hover {
	background-color: #336399;
}

#adm-innermenu {
	 margin:0px 2px 2px 2px;
	 clear:both;
	 padding: .2em 0px .3em .7em;
	 border-right: 1px solid #777;
	 border-bottom: 1px solid #777;
}

#pub-innermenu {
	margin:0px 1px 0px 1px;
	clear:both;
	padding: 0.3em 0em 0.3em .7em;
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;
}

.miscmenu {
	margin:3px 0px 20px 18px;
}

.fakelink {
	cursor:pointer;
}

.boxborder {
	position:absolute;
	z-index:3;
	overflow:hidden;
}

.boxshadow {
	position:absolute;
	z-index:1;
	overflow:hidden;
}

.citeblock {
	margin-left:16px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 1.2em;
}

.fgcite {
	position:relative;
	left:-4px;
}

.ahnblock {
	margin:0px;
	padding:10px 0px 10px 30px;
}

.pdfblock {
	padding:4px 0px;
}

.pdftoggle {
	text-decoration:none;
	color:black;
}

.langblock {
	padding-top:2px;
	padding-right:4px;
	clear:both;
}

#mapcontainer {
	border:solid 1px black;
	margin-bottom:8px;
	margin-right:10px;
	margin-top:8px
}

.mapballoon {
	width:240px;
}

.pad5 {
	padding: 5px;
}

.pad2 {
	padding: 2px;
}

/*most wanted*/
.mwperson {
	margin-top:10px;
	color:gray;
}

.mwimage {
	float:left;
	margin-right:15px;
	margin-bottom:5px;
}

.mwblock {
	max-width:800px;
}

.mediaalign {
	text-align:center;
}

.tfixed {
	table-layout:fixed;
	width:100%;
	overflow:auto;
}

.labelcol {
	width:110px;
}

.mapcol {
	width:65%;
}

.chartimg {
	border:none;
	width:11px;
	height:10px;
}

.placeimg {
	border:none;
	width:9px;
	height:9px;
}

/*tabs, core stuff, common to both methods*/
ul#tngnav {
	padding: 0 0 0 0px;
	list-style: none;
	border: none;
}

#tngnav li {
	display: block;
	padding: 0;
	float:left;
}

/*inactive tab*/
#tngnav a {
	display:block;
	text-decoration:none;
	margin:0;
	position: relative;
	font: 11px arial, helvetica, sans-serif;
}

/*active tab*/
#tngnav a.here {
	position:relative;
	z-index:10;
}

/*everything below this point is to keep older browsers happy*/
#tabs div {
	position: relative;
	float:left;
}

#tabs .divhere {
	z-index:10;
}

/*inactive tab*/
#tabs a {
	font: 11px arial, helvetica, sans-serif;
	text-decoration: none;
}

.notearea {
	max-height:200px;
	overflow:auto;
}