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

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

/* 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 {
	-webkit-box-shadow: 1px 1px 3px 0px #666;
	box-shadow:         1px 1px 3px 0px #666;
}

.popup, .popinner, .pboxpopupdiv, .slidedown {
	-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;
}

.vpedlink {
	padding: 5px 12px 5px 12px;
	position: absolute;
}

.rounded20 {
	border-radius: 20px;
}

.rounded10 {
	border-radius: 10px;
}

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

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

div.pad5 img, .adminicon {
	-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;
	padding: 7px;
}

.adminbody {
	margin: 0px;
}

.admincorner {
	padding: 2px 2px 2px 5px;
	background-color: white;
	width: 154px;
	height: 50px;
	text-align: center;
}

.fl-left {
	float: left;
}

.fl-right {
	float: right;	
}

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

.centerbox {
	filter: drop-shadow(3px 3px 4px #444);
	border-radius: 20px;
	margin: auto;
}

#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;
	text-align: center;
}

.topbanner {
	position: fixed;
	top: 0px;
	height: 54px;
	margin: 0px;
	width: 100%;
	line-height: 1.4;
	z-index: 10;
    filter: drop-shadow(0px 1px 3px #444);
}

.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:pointer;
	margin:auto;
	z-index: 1;
}

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

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

.homeback {
	padding: 60px 0px 0px 0px;
}

.mainbox {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	position: relative;
	height: 100%;
}

.mainbox h1 {
	float: left;
	margin: 10px 0px 0px 20px;
	font-size: 36px;
	color: #FFF;
	text-shadow: 2px 2px 4px black;
	position: absolute;
}

.admin-banner {
    height: 200px;
    margin: 10px 10px 0px 10px;
    border-radius: 25px;
    filter: drop-shadow(3px 3px 4px #444);
    overflow: hidden;
    position: relative;
}

.admin-banner-img {
    position:absolute;
    border-radius: 25px;
    -webkit-animation-name: fade;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 150s;
    animation-name: fade;
    animation-iteration-count: infinite;
    animation-duration: 150s;
    animation-timing-function: ease-in-out;
    filter: linear-gradient(rgba(0,0,0,0.25));
}

/* For 3 images
@-webkit-keyframes fade {
    0% {opacity: 1;}
    26.67% {opacity: 1;}
    33.33% {opacity: 0;}
    93.33% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fade {
    0% {opacity: 1;}
    26.67% {opacity: 1;}
    33.33% {opacity: 0;}
    93.33% {opacity: 0;}
    100% {opacity: 1;}
}

#admin-banner1 {
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
#admin-banner2 {
    -webkit-animation-delay: 25s;
    animation-delay: 25s;
}
#admin-banner3 {
    -webkit-animation-delay: 50s;
    animation-delay: 50s;
}
*/

@-webkit-keyframes fade {
    0% {opacity: 1;}
    16.67% {opacity: 1;}
    20% {opacity: 0;}
    96.67% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fade {
    0% {opacity: 1;}
    16.67% {opacity: 1;}
    20% {opacity: 0;}
    96.67% {opacity: 0;}
    100% {opacity: 1;}
}

#admin-banner1 {
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
#admin-banner2 {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
#admin-banner3 {
    -webkit-animation-delay: 60s;
    animation-delay: 60s;
}
#admin-banner4 {
    -webkit-animation-delay: 90s;
    animation-delay: 90s;
}
#admin-banner5 {
    -webkit-animation-delay: 120s;
    animation-delay: 120s;
}

.adm-rounded-table {
	border-radius: 0px 0px 20px 20px;
	background-color: white;
}

.adm-rounded-table > tbody > tr, .adm-rounded-table > tbody > tr > td, .tblback > tbody > tr, .tblback > tbody > tr > td {
	border-radius: 20px;
	padding: 10px;
}

.admin-header {
	padding: 10px 10px 1px 10px;
	border-radius: 20px 20px 0px 0px;
	margin-right: 3px;
	background-color: #FFFFFF;
}

.admin-main {
	background-color: white;
	margin-right: 3px;
	padding: 6px 10px 10px 10px;
	border-radius: 0px 0px 20px 20px;
}

.admin-block {
	border-radius: 15px;
	padding: 12px;
	overflow: auto;
}

.top-rounded-headline {
	border-radius: 20px 20px 0px 0px;
	padding: 5px 15px 5px 20px;
}

.bottom-rounded {
	border-radius: 0px 0px 20px 20px;
}

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

.adminsubhead {
	margin-right: 40px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 75px;
}

.adminsubhead-mobile {
	left: 20px;
}

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

.whitesubhead {
	color: #FFFFFF;
}

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

.admintasks {
	font-size: 16px;
	margin-bottom: 2px;
}

.admintotal {
	float: right;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
}

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

#dna-smicon {background-position: 0px -256px;}
#next-smicon {background-position: 0px -241px;}
#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;
}

.media-title {
	font-size: 13pt;
}

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

.vertphoto {
	max-width:100%; 
	max-height:70px;
	margin: 0px auto 10px;
}	

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

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

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

input[type="password"], button, input[type="text"], input[type="number"], textarea, select {
	font-size: 14px;
}

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

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

textarea {
	margin-left: 0px;
	border-radius: 10px;
}

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.medpwdfield {
	width: 240px;
}

input.longfield {
	width:350px;
}

input.verylongfield {
	width:550px;
}

.mediumfield {
	width:160px;
}

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;
	padding: 9px;
}

.movefields {
	border-radius: 8px;
	padding: 4px;
	width: 30px;
	text-align: center;
	border: 1px solid gray;
}

.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;}
.admin-down-icon {background-position: 0px -383px;}

.action-btn {
	padding-top: 2px;
}

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

#thumbholder a, .thumbholder a {
	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;
	-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: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;
	-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 */
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

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

#LB_titletext {
	margin: 3px 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 */
.optionhead {
	font-weight: bold;
}

/* helpbody: describes page background on Help screens  */
.helpbody {
	margin: 0px;
}

.tblback {
	background-color: #FFFFFF;
	padding: 7px;
	font-size: 11pt;
}

.tngmsgarea .admintasks,
.yellow {
	color: #FFCC33;
}

td.highlightedchild {
    padding:2px;
    background-color:#F9F9F9;
}

td.unhighlightedchild {
    padding:2px;
}

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

.famdownarrow {
	position:relative;
	top:1px;
	border:0;
	height:8px;
	width:25px;
	left: -4px;
	margin-right: -4px;
}

.famuparrow {
	position:relative;
	top:1px;
	border:0;
	padding-left: 4px;
	padding-right: 4px;
}

.pedyears {
	font-size: 8pt;
}

/*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;
	border-radius: 5px;
}

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

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

/* for images in pull down menus */
.tnggif {
	width: 20px;
  	height: 20px;
	border: 0px;
	vertical-align: -6px;
	margin: 0px;
	padding: 3px;
}

/* 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 {
	font-size: 21px;
}

.fieldnamebacksave {
	font-size: 21px;
}

.othersearch {
	margin:2px 0 0 -15px;
	list-style: none;
}

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;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

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

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

.rightround {
	-webkit-border-radius: 0px 4px 4px 0px;
	border-radius: 0px 4px 4px 0px;
}

/*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%;
	border-radius: 10px;
}

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

.reportbox {
	border: 1px solid gray;
	border-radius: 10px;
	background-color: white;
	padding: 5px;
	margin: 0px 10px 0px 0px;
}

.reportcol {
	width: 300px;
	font-size: 11.5pt;
	list-style: none;
	line-height: 1.5em;
	overflow: auto;
	margin: 0;
	padding: 2px 8px 2px 2px;
	background: #fff url(../img/reportback1.jpg) no-repeat;
	background-position: center;
}

.reportcol li {
	padding: 2px 4px 2px 8px;
	border-radius: 10px;
	cursor: grab;
	background-color: white;
}

.reportcol li:hover {
	background-color: #e0e0f7;
}


.reportcol option {
	padding: 3px;
}

.report-icon {
	margin-bottom: 10px;
	width: 17px;
	height: 15px;
	border: 0;
}

.hidden {
	visibility: hidden;
}

.bottombuffer {
	margin-bottom:12px;
}

.topbuffer {
	margin-top:12px;
}

.topbuffersmall {
	margin-top:8px;
}

.indent {
	padding-left:24px;
}

.indent-tiny {
	padding-left: 2px;
}

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

.childblock {
	line-height:1.6em;
}

.adminicon {
	float:left;
	width:40px;
	height:40px;
	margin:1px 9px 0px 12px;
	border-radius: 6px;
}

.admincol {
	display: grid;
	grid-auto-flow: column;
	/* top: 210px; */
	/* position: absolute; */
	width: 100%;
	padding-top: 10px;
}

.admincol-mobile {
	vertical-align:top;
	width:100%;
	min-width:354px;
}

div.tngmsgarea,
a.admincell {
	color: #FFFFFF;
	padding: 10px;
	margin: 7px;
	display:block;
	border-radius: 25px;
	position: relative;
}

/* commenting this out will allow the admin cells to grow if necessary
a.admincell {
	height:45px;
}
*/

.tngmsgarea {
	background-color: #999999;
	color: #FFFFFF;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
	min-height: 20px;
	font-size: 14px;
	box-shadow: 2px 2px 5px 0px #444;
}

.tngmsgarea-std {
	float: right;
	background-color: rgb(150,150,150,0.5);
}

.tngmsgarea a, .tngmsgarea a:active, .tngmsgarea a:link, .tngmsgarea a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

.tngmsgarea a:hover {
	color: #FFCC33;
}

.leftlink {
	padding:4px 8px 4px 10px;
	display:block;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}

.tngmsgarea,
a.admincell, .leftlink, .whiteheader, .whitetext {
	text-shadow: 1px 1px 1px #000000;
}

a.admincell {
	filter: drop-shadow(3px 3px 4px #444);
	border: 0;
	min-height: 20px;
}

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

#adm-innermenu {
	 margin:0px 2px 2px 2px;
	 clear:both;
	 padding: 4px 4px 4px 12px;
	 border-right: 1px solid #777;
	 border-bottom: 1px solid #777;
	 border-radius: 10px;
}

#pub-innermenu {
	margin:0px 1px 0px 1px;
	clear:both;
	padding: 0.3em 0em 0.3em .7em;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	filter: drop-shadow(2px 2px 2px #777);
}

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

.fakelink, .pubbox {
	cursor:pointer;
}

.fakelink {
	font-size: 9px;
}

.toggleicon {
	cursor:pointer;
	float:right;
	padding-top:4px;
}

.boxborder {
	position:absolute;
	z-index:3;
	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, .mappad5 {
	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, .center {
	text-align:center;
}

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

.tfixed, .thfixed, .dna-tfixed {
	border-radius: 8px;
	box-shadow: 2px 2px 5px -1px #666;
}

.tfixed tr:last-child td:first-child, .thfixed tr:last-child td:first-child, .rc-ll { border-bottom-left-radius: 8px; } 
.tfixed tr:last-child td:last-child, .thfixed tr:last-child td:last-child, .dna-tfixed tr:last-child td:last-child, .rc-lr { border-bottom-right-radius: 8px; }
.tfixed tr:first-child td:first-child, .thfixed tr:first-child th:first-child, .rc-ul { border-top-left-radius: 8px; } 
.tfixed tr:first-child td:last-child, .thfixed tr:first-child th:last-child, .dna-tfixed tr:first-child td:last-child { border-top-right-radius: 8px; }

.rounded-table tr:last-child td:first-child, .rounded-table tr:last-child td:first-child { border-bottom-left-radius: 8px; } 
.rounded-table tr:last-child td:last-child, .rounded-table tr:last-child td:last-child { border-bottom-right-radius: 8px; }
.rounded-table tr:first-child td:first-child, .rounded-table tr:first-child th:first-child { border-top-left-radius: 8px; } 
.rounded-table tr:first-child td:last-child, .rounded-table tr:first-child th:last-child { border-top-right-radius: 8px; }

.labelcol {
	width:150px;
}

.mapcol {
	width:65%;
}

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

.placeimg {
	border:none;
	width:9px;
	height:9px;
	padding: 0px 15px 0px 5px;
}

/*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-size: 12px;
	min-height: 15px;
	padding: 0.6em 1em 0.3em 11px;
}

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

/*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-size: 11px;
	text-decoration: none;
}

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

div.menucontainer {
    margin-top:5px;
    margin-bottom:10px;
    padding:0px;
}

div.innercontainer {
    height: 22px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

div.icons {
	padding: .3em 0px .2em 3px;
	font-size: 11px;
	float: left;
	margin:0px 0px 0px 2px;
	font-weight: bold;
}

div.icons-rt {
	display: flex;
	font-size: 11px;
	float: right;
	margin:0 0 0 2px;
	padding:2px 0 0 3px;
	font-weight: bold;
}

div.icons-rt a {
	margin: auto 10px auto 0px;
}

.in-bar {
	margin-top:2px;
	padding-top:2px;
}

.shift100left {
	margin-right:100px;
}

.float-left {
	float:left;
}

.float-right {
	float:right;
}

ul.tngdd {
	list-style:none;
	/*margin:0 6px 0 0;*/
	padding:0;
	margin-left: 0px;
	font-size:11px;
    background-color:#ffffff;
}

ul.tngdd * {
	padding:0;
	margin:0;
}

ul.tngdd a {
	display:block;
	text-decoration:none;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

ul.tngdd li {
	position:relative;
	float:left;
	margin-right:1px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

ul.tngdd ul {
	position:absolute;
	/* top:26px; */
	left:0px;
	display:none;
	opacity:0;
	list-style:none;
	-webkit-box-shadow: 1px 1px 3px 0px #666;
	box-shadow:         1px 1px 3px 0px #666;
	background-color: #666;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

ul.tngdd ul.last {
	left:-55px;
}

ul.tngdd ul li {
	position:relative;
	border:1px solid #aaa;
	border-top:none;
	width:158px;
	margin:0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

ul.tngdd ul li a {
	display:block;
	padding:6px 4px 6px;
	background-color:#eeeeee;
	font-size:12px;
	border-top:1px solid #ffffff;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

ul.tngdd ul li:first-child, ul.tngdd ul li:first-child a {
	-webkit-border-radius: 6px 6px 0px 0px;
	border-radius: 6px 6px 0px 0px;
}

ul.tngdd ul li:last-child, ul.tngdd ul li:last-child a {
	-webkit-border-radius: 0px 0px 6px 6px;
	border-radius: 0px 0px 6px 6px;
}

ul.tngdd ul li a:hover {
	background-color:#ffffff;
}

ul.tngdd ul ul {
	left:158px;
	top:-1px
}

ul.tngdd .menulink {
	padding:3px 2px 3px 30px;
	font-weight:bold;
	height:16px;
	background: #e0e0f7 url(../img/ArrowDown.gif) 2px 8px no-repeat;
	width:70px;
	line-height:1.5;
}

ul.tngdd .menulink, ul.tngdd .langmenu {
	border-bottom:1px solid #aaa; /*same as "databack" background color */
	border-right:1px solid #aaa; /*same as "databack" background color */
}

ul.tngdd .menulink:hover, ul.tngdd .menuhover {
	border-bottom:1px solid #444;
	border-right:1px solid #444;
	color: #ffffff;
	background: #333366 url(../img/arrowdown2.gif) 2px 8px no-repeat;
}

ul.tngdd .langmenu {
	padding:1px;
	height:20px;
}

ul.tngdd .stubmenu {
     border-left: 0;
     width: 8px;
	-webkit-border-radius: 0px 6px 6px 0px;
	border-radius: 0px 6px 6px 0px;
}

ul.tngdd .stubmenu-rt {
     border-right: 0;
	 margin-right: 0;
     width: 8px;
	-webkit-border-radius: 6px 0px 0px 6px;
	border-radius: 6px 0px 0px 6px;
}

div.innercontainer, ul.tngdd .langmenu, ul.tngdd .stubmenu {
    border-bottom: 1px solid #aaa;
    background-color: #e0e0f7;
}

ul.tngdd .sub {
	background:#d1d1d1 url(../img/arrow.gif) 146px 7px no-repeat
}

.headericon, .menu-icon {
	width:20px;
	height: 20px;
	background:url('../img/tng_icon_sprites.png') no-repeat;
	float: left;
	padding: 0px;
	border: 0px;
}

.menu-label {
	padding-top:1px;
}

.headericon {
	margin: 1px 8px 0px 2px;
}

ul.tngdd ul li a .menu-icon {
	margin:-2px 5px 0px 0px;
}

#admin-icon {background-position: -19px 0px;}
#albums-hdr-icon, #albums-icon {background-position: -38px 0px;}
#bookmarks-hdr-icon, #bookmarks-icon {background-position: -57px 0px;}
#contact-hdr-icon, #contact-icon {background-position: -76px 0px;}
#dates-hdr-icon, #dates-icon {background-position: -95px 0px;}
#documents-hdr-icon, #documents-icon {background-position: -114px 0px;}
#fsearch-hdr-icon, #fsearch-icon {background-position: -133px 0px;}
#help-icon {background-position: -152px 0px;}
#histories-hdr-icon, #histories-icon {background-position: -171px 0px;}
#home-icon {background-position: -190px 0px;}
#headstones-hdr-icon, #headstones-icon, #cemeteries-hdr-icon, #cemeteries-icon {background-position: -209px 0px;}
#unlock-icon, #unlock-hdr-icon {background-position: -228px 0px;}
#lock-icon {background-position: -247px 0px;}
#media-hdr-icon, #media-icon {background-position: -266px 0px;}
#surnames-hdr-icon, #surnames-icon, #firstnames-icon {background-position: -285px 0px;}
#whatsnew-hdr-icon, #whatsnew-icon {background-position: -304px 0px;}
#notes-hdr-icon, #notes-icon {background-position: -323px 0px;}
#photos-hdr-icon, #photos-icon {background-position: -342px 0px;}
#places-hdr-icon, #places-icon {background-position: -361px 0px;}
#recordings-hdr-icon, #recordings-icon {background-position: -380px 0px;}
#repos-hdr-icon, #repos-icon {background-position: -399px 0px;}
#reports-hdr-icon, #reports-icon {background-position: -418px 0px;}
#searchsite-hdr-icon, #searchsite-icon {background-position: -437px 0px;}
#sources-hdr-icon, #sources-icon {background-position: -456px 0px;}
#stats-hdr-icon, #stats-icon {background-position: -475px 0px;}
#videos-hdr-icon, #videos-icon {background-position: -494px 0px;}
#mw-hdr-icon, #mw-icon {background-position: -513px 0px;}
#trees-hdr-icon, #trees-icon {background-position: -532px 0px;}
#calendar-hdr-icon, #calendar-icon {background-position: -551px 0px;}
#branches-hdr-icon, #branches-icon {background-position: -570px 0px;}
#dna-hdr-icon, #dna-icon {background-position: -589px 0px;}
#search-hdr-icon, #search-icon {background-position: -608px 0px;}

.spinner {
    vertical-align: -3px;
}

#shareicons {
	float:left;
	margin-right:15px;
}

#shareicons ul {
	list-style: none;
}

#shareicons ul li {
	float:left;
}

.nicEdit-main {
	background-color: #fff !important;
}

.firstchars {
	line-height:220%;
}

.temppreview {
	border:1px solid black;
	-webkit-box-shadow: 1px 1px 3px 0px #666;
	box-shadow:         1px 1px 3px 0px #666;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

#imgdiv img{
	max-width: 100%;
	height:auto;
}

#uploadarea {
	border: 1px solid black;
	background-color: white;
	min-height: 150px;
	width: 95%;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 1px 1px 3px 0px #666;
	box-shadow:         1px 1px 3px 0px #666;
	padding: 10px;
	margin-right: 20px;
}

.uploadfield {
	width:100%;
	min-width:300px;
}

.table-full {
	border-spacing:0px;
	padding:0px;
	border: 0px;
	width: 100%;
}

.table-top30 {
	border-spacing:0px;
	padding:0px;
}

.table-histogram {
	border-spacing:5px 4px;
	padding:0px;
	margin-left: -3px;
}

.bar-holder {
	width: 400px;
}

.table-gutter {
	width: 10px;
}

.table-dblgutter {
	width: 20px;
}

.sntable {
	width: 100%;
	max-width: 1024px;
}

.sncol {
	vertical-align: top;
	width: 20%;
}

.plcol {
	vertical-align: top;
	width: 33%;
}

.clearleft {
	clear:left;
}

.clearboth {
	clear: both;
}

.slidedown {
	padding:10px;
	border:1px solid #777;
	position:absolute;
	margin-top:-10px;
	z-index:20;
	background: #e0e0f7; /*same as "databack" background color */
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.login-options {
	margin:8px 0px 8px 0px;
}

.loginbtn {
	width: 97%;
}

.loginprompt {
	margin-top: 6px;
	margin-bottom: 2px;
}

.loginfield {
	width:93%;
}

.pwdfield {
	width: 85%;
}

.pwdicon {
	position: relative;
	top: 4px;
}

.loginfont {
	font-size:16pt;
}

.forgotfield {
	width:220px;
}

.adminlog {
	white-space: nowrap;
}

.regevents {
	list-style-position: inside;
}

.searchformbox {
	 float:left;
	 margin-right: 20px;
	 display: inline-block;
}

.searchsidebar {
	display: inline-block;
	position: fixed;
	margin-right: 100px;
}

.remove-link {
	float: right;
	padding-right: 8px;
	cursor: pointer;
}

.cust-event-block {
	border-radius: 20px;
	padding: 7px 5px 5px 10px;
	margin-bottom: 3px;
	border: 1px solid #aaa;
}

.cust-event-field {
	border-radius: 8px;
	border: 1px solid gray;
	background-color: #FFFFFF;
	padding: 3px 5px 3px 5px;
	font-size: 14px;
	min-height: 16px;
}

.mmaintitle {
	margin:0px;
	opacity:0.6;
}

.mtitlehr {
	border:0;
	height:1px;
	color:#999;
	background-color:#999;
}

@media (max-width: 650px) {
	.altab {
		display:inline-block;
	}
	.secondsearch {
		display:none;
	}
}

.cookie-banner {
	position: fixed;
	bottom: 40px;
	/* left: 10%; */
	right: 3%;
	width: 300px;
	padding: 10px 14px;
	/* display: flex; */
	align-items: center;
	justify-content: space-between;
	background-color: #eee;
	border-radius: 5px;
	box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.2);
	z-index: 999;
	font-size: 14pt;
}
.cookie-close {
	height: 30px;
	background-color: #777;
	border: none;
	color: white;
	border-radius: 2px;
	cursor: pointer;
	border-radius: 5px;
	width: 100%;
}

/* styles for home page surname cloud post */
.surnames-cloud, .surnames-cloud a {
  	font-family: Verdana, Tahoma, Arial;
  	padding: 2px 2px 2px 2px;
  	letter-spacing:  0.0em;
	word-spacing:    0.0em;
  	text-decoration: none;
  	font-weight:     normal;
    text-align:      center;
	font-size:		 14px;
}

a.size1      { font-size: 200%; }
a.size2      { font-size: 190%; }
a.size3      { font-size: 180%; }
a.size4      { font-size: 170%; }
a.size5      { font-size: 160%; }
a.size6      { font-size: 150%; }
a.size7      { font-size: 140%; }
a.size8      { font-size: 130%; }
a.size9      { font-size: 120%; }
a.size0      { font-size: 100%; }

.surnames-cloud a {
	-webkit-text-size-adjust: none;
}

.msgbold {
	font-weight:bold;
}

.msgerror {
	font-weight:bold;
	color: #990000;
}

.msgapproved {
	font-weight: bold;
	color: #009900;
}

.bselected {
	border: 1px #009900 solid;
}

.bunselected {
	border: 1px #CCC solid;
}

.mlbox {
	position: absolute;
	border-radius: 5px;
   	box-shadow: 2px 2px 3px 0px #333;
	z-index:1;
}

#tags {
	position:absolute;
	left:0;
	right:0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.imagetag {
	position:absolute;
	/*bottom:0;*/
	left:2px;
	right:0;
	padding:3px;
	color:white;
	background-color:rgba(0,0,0,0.6);
	overflow:visible;
	border-radius: 5px 5px 5px 5px;
	text-align: center;
	min-width: 100px;
}

.delx {
	background-color: red;
	padding:3px;
	width:15px;
	float:right;
	font-weight: bold;
	cursor: pointer;
}

.scroller {
	width:100%;
	white-space:nowrap;
	overflow-x:scroll;
	overflow-y:hidden;
	margin: 0 auto;
	position:relative;
	height:140px;
}

.scroll-to-top {
 	display: none;
 	position: fixed; bottom: 20px; right: 10px;
 	z-index: 5;
 	width: 30px;
 	height: 30px;
 	padding: 8px;
 	text-align:center;
 	color: #ffffff;
	text-decoration: none;
	background-color: #444;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	border-radius: 50%;
}
.scroll-to-top:hover {
	text-decoration: none;	
	background-color: #777;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.scroll-to-top a, .scroll-to-top a:hover {
	text-decoration: none;
}

.grabbing { 
    cursor: grabbing; 
}

.prevnum {
	vertical-align: top;
	font-size:18pt;
}

.prevdiv {
	display:inline;
	cursor: pointer;
	vertical-align:top;
}

table.uploadmore td {
	padding: 2px;
	border: none;
}

#imgdiv img{
	max-width: 100%;
}

.annfield {
	float:left;
	padding-right:5px;
}

/*
.pmatch {
	height: 20px;
	display: inline-block;
	margin: 1px;
	background-position: 6px 1px;
	background-image: url('../img/matches-sm-sprite.png');
	background-repeat: no-repeat;
	background-color: #e0e0e0;
	font-size: 12px;
	padding: 0px 9px 1px 23px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	vertical-align: top;
	font-weight: 100;
}

.pmatch:hover {
	margin: 0px;
	background-position: 6px -18px;
	border: 1px solid #aaa;
	color: #666;
}

a.pmatch, a.pmatch:link {
	color: #aaa;
}

a.pmatch:hover {
	color: #666;
}
*/

a.famlink, a.famlink:link {
	color: #aaa;
}

a.famlink:hover {
	color: #000;
}

#myCanvas {
	cursor: pointer;
}

.fambackground {
	background-color: #AAC;
}

.fambox a:link, .fambox a:visited, .mfambox a:link, .mfambox a:visited {
	font-size: 11pt;
}

.cgray {
    background-color:#cccccc;
}

/* Added for Responsive Tables mod to correct the header centering issues */
thead th{
	text-align: left;  /* added to correct the header centering issues in some templates */
}

.align-right {
	text-align:right;
}

.thumbnails {
	vertical-align: text-top;
}

.gallery {
	 padding:10px;
	 width:100px;
	 height:100px;
	 display:inline-block;
	 vertical-align:text-top;
}

/* Adjust Event Date column on Individual Person page based on thumbnail width */
.eventdatecol {
	width:124px;
}

.takenbycol {
	width:125px;
}

.haplogroupcol {
	width:90px;
}

.resultscol {
	overflow-wrap: break-word;
	hyphens: auto;
	white-space: pre-wrap;
}

.confirmed_haplogroup {
	color: #008521;
}

.predicted_haplogroup {
	color: red;
}

.compareback {
	background-color: #414E68;
	color:#ffffff;
}

.modeback {
	background-color: #E6E6E6;
	color:#000000;
}

.markerback12 {
	background-color: #414E68;
	color:#ffffff;
}

.markerback25 {
	background-color: #41678A;
	color:#ffffff;
}

.markerback37 {
	background-color: #2E8899;
	color:#ffffff;
}

.markerback67 {
	background-color: #44A1B8;
	color:#ffffff;
}

.markerback111 {
	background-color: #05B8CC;
	color:#ffffff;
}

.fastmuteback {
	background-color: #69001A;
	color:#ffffff;
}

.deviationback {
	background-color: #FFACAC;
	color:#000000;
}

.blackchars {
	color:#000000;
}

.overflowauto {
	overflow: auto;
}

/*  reduce takenbycol for smart phones portrait orientation */
@media only screen and (min-width:320px) and (max-width:680px) {
	.takenbycol {
		width: 80px;
	}
	.haplogroupcol {
		width:70px;
	}
}

.dysval {
	height:112px;
	width:16px;
	font:9pt Verdana, Arial;
	font-weight: bold;
	display: block;
	text-align:left;
	margin: auto;
	padding: 0.25em;
        writing-mode: vertical-rl;  /* was tb-rl; */
        -o-transform: rotate(90deg);
        -o-transform-origin: 0 0;
        -ms-transform: rotate(90deg);
        -ms-transform-origin: 50% 10%;
}

.nbrcol {
	width:10px;
}

.idcol {
	width:50px;
}

.cemeteryimg {
	max-width: 100%;
}

.cemmap {
	margin-bottom:20px;
}

sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
}

#fanWrapper {
	overflow-x: scroll;
	padding: 10px;
}

.formfield {
	width: 100%;
	max-width: 180px;
	font-size: 11pt;
	padding-top:10px;
	padding-bottom: 2px;
	display: block;
}

.inline-thumb {
	display: inline-block;
	margin: 5px;
	vertical-align: middle;
}

.prev-caption {
	position:absolute;
	bottom: 20px;
	width:89%;
	margin:8px;
	line-height:1.4;
	color:white;
	padding:5px;
	background-color:rgba(0, 0, 0, 0.35);
}

.prev-close {
	position: absolute;
	top: -10px;
	background-color: transparent;
}

.prev-close img {
	border: 0px;
	padding: 5px;
}

.cc_container .cc_btn {
	background-color: #e4e4e4 !important;
	color: #000 !important;
	border: 1px solid #999999;
}

.cc_container {
	background: #ffffff !important;
	color: #000000 !important;
}

.cc_container a {
	line-height: 1.5;
}

.mag-icons {
	margin-top:10px;
	margin-bottom:5px;
	z-index:100;
	/*position: absolute;*/
}

.mag-icons img {
	opacity:0.3;
}

.mag-icons img:hover {
	opacity:1.0;
	cursor:pointer;
}

.mag-fixed {
	position: fixed;
	top: 40px;
}

.savestay {
	position: fixed;
	right: 30px;
	top: 260px;
	min-width: 150px;
}

.saveret {
	position: fixed;
	right: 30px;
	top: 220px;
	min-width: 150px;
}

@media (max-width: 900px) {
	.savestay {
		visibility: hidden;
	}
}

/*bootstrap*/
.btn, .disabled {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  /*border: 1px solid transparent;*/
  border-radius: 4px;
  border: 1px solid gray;
  background-color: #ddd;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.disabled, input[type="submit"].disabled {
	cursor: not-allowed;
}

table.resultstable {
	border-spacing: 1px;
}

table.dnacomparetable {
	border-spacing: 1px;
	border: 0px;
}

.dnacomparetable th, .dnacomparetable td {
	padding: 0px;
}

@media (max-width: 1100px) {
	#corner-right {
		display: none;
	}
	.searchsidebar {
		position: unset;
	}
}


/* media query default for smart phones and tablets  */
@media screen and (max-width:480px) {.media-prev {height:100%; top:50px; background:none;}}
@media screen and (max-width:480px) {.media-prev {padding: 10px 4px 6px 0;}}
@media screen and (min-width: 300px) and (max-width: 360px) {
	.media-prev {
		left: -20px;
		width: 180px;
	}
}
@media screen and (min-width:361px) and (max-width: 480px) {
	.media-prev {
		left: 10px;
		width: 180px;
	}
}
@media only screen and (min-width:481px) and (max-width:640px) {
	.media-prev {
		left: 50px;
		width: 230px;

	}
}

/*  reduce thumbnails and eventdatecol for tablets */
@media only screen and (min-width:480px) and (max-width:1136px) {
   .thumbnails, .eventdatecol, .gallery {
		width: 80px;
	}
}

/*  reduce thumbnails and eventdatecol for smart phones */
@media only screen and (max-width:480px) {
	.mag-icons img {
		width: 30px;
	}
   .thumbnails, .gallery {
		width: 60px;
	}
	.eventdatecol {
		width: 80px;
	}
	input.longfield {
		width: 245px;
	}
}

/*  portrait orientation on newer smart phones  */
@media screen and (max-width: 360px)  and (orientation:portrait) {
	.cemmap {
		width: 100%;
		height: 400px;
		margin-bottom:20px;
	}
}

/*  portrait orientation on smaller tablets  */
@media screen and (max-width: 480px)  and (orientation:portrait) {
	.cemmap {
		width: 100%;
		height: 400px;
		margin-bottom:20px;
	}
	input.longfield {
		width: 245px;
	}
}

/*  landscape orientation on smaller smart phones  */
@media screen and (max-width: 640px)  and (orientation:landscape) {
	.cemmap {
		width: 95%;
		height: 300px;
		margin-bottom:20px;
	}
}

/*  landscape orientation on tablets  */
@media screen and (max-width: 1136px)  and (orientation:landscape) {
	.cemmap {
		width: 95%;
		height: 400px;
		margin-bottom:20px;
	}
}

.img-right {
	margin: 10px 0 10px 10px;
	float: right;
}

.img-left {
	margin: 10px 10px 10px 0;
	float: left;
}

.cell-pad3 {
	padding: 3px;
}

/* Classes for TNG Mods to be added below */