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

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

p.footer {
	margin: 0px;
}

img {
	border: 0px;
}

/* smfieldname: small text used in conjunction with .fieldname style text */
.smfieldname {
	font-size: 10px;
	color: white;
}

/* fieldname: regular text within column or row title sections */
.fieldname {
	color: white;
}

/* header: heading text */
.header {
	/*next line added in 6.1.0*/
	margin-top: 0px;
	padding: 0px;
	font-size: 22px;
	font-weight: bold;
	color: #333366;
	line-height: 22px;
}

.plainheader {
	margin-top: 0px;
	font-size: 22px;
	font-weight: bold;
}


/* whiteheader: heading text used on dark backgrounds (usually fieldnameback) */
.whiteheader {
	color: #FFFFFF;
	margin-top: 0px;
	font-size: 16px;
}

.whitetext {
	color: #FFFFFF;
}

/* subhead: subheading text */
.subhead {
	margin-top: 0px;
	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 : 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 12px;
	-webkit-print-color-adjust:exact;
}

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

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

/* fieldnameback: background color for column and row title sections */
.fieldnameback,
.tablesaw-cell-label {
	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;
}

/* added in TNG 10.1 for alternate row striping to databack */
.databackalt {
	background-color: #CACAF1;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

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

.popvdescinner {
	padding: 3px;
	width: 220px;
}

.popup, .slidedown {
	-moz-box-shadow:    1px 1px 3px 0px #666;
	-webkit-box-shadow: 1px 1px 3px 0px #666;
	box-shadow:         1px 1px 3px 0px #666;
}

.popup, .popinner, .pboxpopupdiv, .slidedown {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

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

.vdescboxtable {
	height:100%;
	float:left;
	padding: 5px;
}

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

.rounded5 {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.rounded4, div.pad5 img {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.botbrdr {
	border-bottom: 1px solid #fff;
}

div.pad5 img, .adminicon {
	-moz-box-shadow:    1px 1px 2px 0px #333;
	-webkit-box-shadow: 1px 1px 2px 0px #333;
	box-shadow:         1px 1px 2px 0px #333;
}

.trackerbox {
	border: 1px solid black;
	overflow:hidden;
}

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 */
.lightlink:link, .lightlink:visited {
	color: #FFFFFF;
	text-decoration: none;
}

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

/* For white-only links on dark background */
.lightlink2:link, .lightlink2:visited {
	color: #FFFFFF;
	text-decoration: none;
}

.lightlink2:hover, .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;
}

.adminbody {
	background: url('../img/background.gif');
	margin: 0px;
}

.admincorner {
	float:left;
	padding: 2px 2px 2px 5px;
	background: url('../img/background.gif');
	width: 154px;
	height: 50px;
	text-align: center;
}

.admincorner img {
	width: 113px;
	height: 50px;
	border: 0px;
}

#dirarrow {
	float:right;
	margin-top:160px;
}

.admindivider {
	width: 80%;
	float: left;
}

.admintitle {
	padding: 0px;
	margin: 7px 0px 0px 0px;
}

.admintop {
	padding-left: 10px;
	overflow: hidden;
}

.topbanner {
	position: fixed;
	top: 0px;
	height: 55px;
	margin: 0px;
	width: 100%;
	line-height: 1.4;
	z-index: 1;
}

.leftmenu {
	width: 150px;
	height: 100%;
	padding:60px 6px 0px 6px;
	position: fixed;
	line-height: 1.25;
	overflow: auto;
}

#adminslidebar {
	position:absolute;
	right:6px;
	height:600px;
	width:15px;
	cursor:hand;
	margin:auto;
}

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

/* mainback: background for main admin area */
.mainback {
	padding:60px 0px 0px 166px;
}

.mainbox {
	border: 1px solid silver;
	background-color: #ffffff;
	padding: 1px;
	width: 100%;
	max-width: 950px;
}

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

.adminsubhead,
.whitesubhead {
	font-size: 16px;
	margin-bottom: 2px;
}

.whitesubhead {
	color: #FFFFFF;
}

.adminsubmsg,
.admintotal {
	color: #DDDDDD;
}

.admintotal {
	float: right;
}

.adminsubmsg {
	font-size: 11px;
}

/* smaller: small body text */
.smaller {
	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: -4px;
	padding:1px;
	margin: 0px 1px 0px 1px;
	border: 0px;
	width: 16px;
	height: 15px;
}

.tngsmallicon {
	height: 15px;
	background:url('../img/tng_small_icon_sprites.gif') no-repeat;
	padding:.1em 0px 0px 18px;
	margin-right:10px;
	text-decoration:none;
	display:block;
	float:left;
	line-height:1.2;
}

.tngsmallicon2 {
	height: 15px;
	position: relative;
	top: -1px;
	width: 16px;
	background:url('../img/tng_small_icon_sprites.gif') no-repeat;
	margin:0px 2px 0px 1px;
	vertical-align: -4px;
	text-decoration:none;
	float:left;
}

.tngsmallicon3 {
	height: 15px;
	padding:.1em 0px 0px;
	text-decoration:none;
	display:block;
	float:left;
	line-height:1.2;
}

#fam-smicon {background-position: 0px -196px;}
#share-smicon {background-position: 0px -181px;}
#print-smicon {background-position: 0px -121px;}
#bmk-smicon {background-position: 0px -1px;}
#home-smicon, #place-smicon {background-position: 0px -61px;}
#search-smicon {background-position: 0px -151px;}
#log-smicon {background-position: 0px -91px;}
#ind-smicon {background-position: 0px -76px;}
#ped-smicon {background-position: 0px -106px;}
#desc-smicon {background-position: 0px -16px;}
#rel-smicon {background-position: 0px -136px;}
#time-smicon {background-position: 0px -166px;}
#ged-smicon {background-position: 0px -46px;}
#sugg-smicon {background-position: 0px -31px;}

#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;
	line-height: 1.5;
}

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

/* width and heigth definitions added in TNG 10.1.1+ to keep image within container */
.media-prev img {
	max-width:100%;		/* added in TNG 10.1.1+  */
	height:auto;		/* added in TNG 10.1.1+  */
	border: 1px solid #b3b3b3;
	display: block;
	margin:0 auto;
}

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

.media-edit {
	position:absolute;
	bottom:0px;
	right:0px;
	padding-right:5px;
	padding-bottom:5px;
	display:none;
}

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

.livingbox {
	width:870px;
	height:550px;
	border:1px solid black;
	padding:5px;
}

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

#loadingdiv2 {
	width: 200px;
}


#sscontrols {
	font-size: 8pt;
	padding-bottom: 8px;
	margin:0px;
}

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

.slidepane {
	width:860px;
	height:550px;
	padding:10px;
	overflow: hidden;
}

#slidearea img {
	max-width:100%;
	max-height:550px;
	height:auto;
}

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

.togglehead img {
	top: 2px;
}

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

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

.msearch-indent {
	margin-left: 15px;
}

.red {
	color: #FF0000;
}

.green {
	color: green;
}

input:hover, textarea:hover, select:hover {
	border-color:#FFCC33;
}

textarea {
	margin-left: 0px;
}

select {
	padding: 1px 4px;
}

.langmenu select option {
	padding: 0px 5px 1px 5px;
}

input[type="button"], input[type="submit"], input[type="reset"], input[type="password"], button, input[type="text"], textarea, select {
   border: 1px solid gray;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 3px 6px;
}

input[type="button"], input[type="submit"], input[type="reset"], button {
	cursor: pointer;
}

input[type="text"], textarea {
	padding: 3px 6px;
}

select {
    padding:2px 4px;
}

input[type="button"], input[type="submit"], input[type="reset"], button {
   background-color: #dddddd;
}

input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {
	color:white;
	border: 1px solid #FFCC00;
	background-color: #cccccc;
}

.btn, .disabled, input[type="button"].btn, input[type="submit"].btn, input[type="submit"].disabled, input[type="reset"].btn {
    border: 1px solid gray;
	padding: 5px 12px;
}

input.veryshortfield {
	width:100px;
}

input.shortfield {
	width:140px;
}

input.medfield {
	width:268px;
}

input.longfield {
	width:350px;
}

input.verylongfield {
	width:550px;
}

select.mediumfield {
	width:170px;
}

input.minifield {
	width: 50px;
	border: none;
	background-color: #eee;
	font-size: 8pt;
	padding:0px 1px 0px 1px;
}

input.minibutton {
	border: none;
	background-color: #eee;
	font-size: 9pt;
	padding:1px;
}

.smallest {
	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;
	border-radius: 10px;
}

.oldicon {
	margin:0px 2px 0px 2px;
	border:0px;
	vertical-align:middle;
}

.smallicon {
	margin:0px 2px 0px 2px;
	border:0px;
	width:20px;
	height:20px;
	display:block;
	float:left;
	background:url('../img/admin_icon_sprites.png') no-repeat;
	padding:0px;
}

.si-plus {
	padding:2px 0px 0px 25px;
	width:auto;
	margin:0px 18px 0px 0px;
}

.admin-note-off-icon {background-position: 0px -1px;}
.admin-note-on-icon {background-position: 0px -23px;}
.admin-asso-off-icon {background-position: 0px -44px;}
.admin-asso-on-icon {background-position: 0px -66px;}
.admin-cite-off-icon {background-position: 0px -87px;}
.admin-cite-on-icon {background-position: 0px -109px;}
.admin-more-off-icon {background-position: 0px -130px;}
.admin-more-on-icon {background-position: 0px -152px;}
.admin-find-icon {background-position: 0px -173px;}
.admin-temp-icon {background-position: 0px -194px;}
.admin-edit-icon {background-position: 0px -215px;}
.admin-delete-icon {background-position: 0px -236px;}
.admin-test-icon {background-position: 0px -257px;}
.admin-save-icon {background-position: 0px -278px;}
.admin-clear-icon {background-position: 0px -299px;}
.admin-bran-icon {background-position: 0px -320px;}
.admin-rest-icon {background-position: 0px -341px;}
.admin-opt-icon {background-position: 0px -362px;}

.action-btns {
	width:73px;
}

.action-btns2 {
	width:52px;
}

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

.thumb, .smallimg, .adminthumb {
	border: 0;
	box-shadow: 1px 1px 1px 0px #777;
	border-radius: 5px;
}

.dn2px {
	margin-top:2px;
}

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

.nw {
	white-space:nowrap;
}

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


/*small boxes for letters on the surnames page, also for pagination on other pages*/
.snlink {
	padding: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;
	font-weight:bold;
	text-decoration:none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-align: right;
}

p a.snlink {
	line-height: 2.5em;
}

/* 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;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
/*
* html .LB_window {position:absolute;}
*/

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

.LB_content, #outer, #mapevents{
	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 */
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

#LB_close {
	cursor: pointer;
	padding: 1px 4px 2px 2px;
	float:right;
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

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


/* 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-size: 18pt;
	font-weight: bold;
}

/* largeheader: heading text used on dark backgrounds (usually fieldnameback) in Help screens */
.largeheader {
	font-size: 32px;
	color: #FFFFFF;
}

/* optionhead: added to replace <strong> on option heading */
.optionh