.single-person .content-area2 {
	width: 100%;
}


/* Truncate */
.truncate {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
    white-space: nowrap;
}


/* Thicbox */
#TB_window #TB_closeWindowButton {
	height: 52px;
	width: 52px;
}

#TB_window #TB_closeWindowButton .tb-close-icon {
	height: 50px;
	width: 50px;
	line-height: 50px;
	border: 1px solid transparent;
}

#TB_window #TB_closeWindowButton .tb-close-icon:before {
	font: normal 20px/50px dashicons;
}

#TB_window #TB_closeWindowButton:focus .tb-close-icon {
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	color: #666;
}

#TB_window #TB_title {
	height: 52px;
	background: #fcfcfc;
}

#TB_window #TB_ajaxWindowTitle {
	line-height: 50px;
	font-size: 20px;
	padding: 0 52px 0 16px;
	width: calc(100% - 68px);
}

#TB_window #TB_ajaxContent a:focus {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}


/* Site list */
#site-list {
	margin-top: 2em;
}

#site-list .column {
	display: inline-block;
	vertical-align: top;
	width: calc(33% - 22px);
	margin-right: 30px;
}

#site-list .column:last-child {
	margin-right: 0;
}

#site-list .column h3 {
	font-size: 100%;
	margin-top: .9em;
	margin-bottom: .2em;
}

#site-list .column h3:first-child {
	margin-top: 0;
}

#site-list .column a:first-child {
	margin-top: .4em;
}

#site-list .column a {
}


/* Tabs */
.nav-tab-wrapper {
	width: 100%;
	height: 36px;
    border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 2em;
}

.content-white .nav-tab-wrapper {
	border-bottom: 1px solid rgba(255,255,255,.25);
}

a.nav-tab {
    float: left;
	min-width: 20%;
	margin-left: .5em;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 24px;
	border-top: 1px solid rgba(0,0,0,.075);
    border-left: 1px solid rgba(0,0,0,.075);
	border-right: 1px solid rgba(0,0,0,.075);
	background-color: rgba(0,0,0,.05);
	text-align: center;
	text-decoration: none;
	box-shadow: none;
}

a.nav-tab:not(:hover):not(:focus):not(.nav-tab-active) {
	color: rgba(0,0,0,.75) !important;
}

a.nav-tab:hover, a.nav-tab:focus, a.nav-tab-active  {
	border-top: 1px solid rgba(0,0,0,.1);
    border-left: 1px solid rgba(0,0,0,.1);
	border-right: 1px solid rgba(0,0,0,.1);
	background-color: transparent;
}

a.nav-tab-active:not(:hover), a.nav-tab-active:hover  {
	color: #000 !important;
	border-bottom: 1px solid #fff;
}

.content-white a.nav-tab {
	border-top: 1px solid rgba(255,255,255,.1);
	border-left: 1px solid rgba(255,255,255,.1);
	border-right: 1px solid rgba(255,255,255,.1);
	background-color: rgba(255,255,255,.15);
}

.content-white a.nav-tab:not(:hover):not(:focus):not(.nav-tab-active) {
	color: rgba(255,255,255,.75) !important;
}

.content-white a.nav-tab:hover, .content-white a.nav-tab:focus, .content-white a.nav-tab-active  {
	border-top: 1px solid rgba(255,255,255,.25);
	border-left: 1px solid rgba(255,255,255,.25);
	border-right: 1px solid rgba(255,255,255,.25);
	background-color: transparent;
}

.content-white a.nav-tab-active:not(:hover), .content-white a.nav-tab-active:hover  {
	color: #fff !important;
}
	

/* Person profile */
.person-profile {
	width: 100%;
	font-size: 14px;
}

.child-profile, .partner-profile {
	vertical-align: top;
	margin-bottom: 30px;
}

@media only screen and (min-width: 767px) {
	.child-profile {
		width: calc(50% - 15px);
		display: inline-block;
		vertical-align: top;
	}
	.child-profile:nth-child(even) {
		margin-right: 30px;
	}
}

.person-profile h2, .family > h2 {
	margin: 0 0 .6em 0;
	text-transform: none;
}

.child-profile h2 {
	padding: 0 0 .3em 0;
	margin: 0;
}

.person-profile ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*
.person-profile ul.siblings li {
	display: inline-block;
}

.person-profile ul.siblings li:not(:last-of-type):after {
	content: ' - ';
}
*/

.person-profile table {
	margin: 0;
	border: none;
	width: auto;
}

.child-profile table {
	line-height: 1.25;
}

.person-profile th, .person-profile td {
	text-align: left;
	padding: 0;
	border: none;
}

.person-profile th {
	padding-right: 16px;
	color: rgba(0,0,0,.5);
	white-space: nowrap
}

.content-white .person-profile th {
	color: rgba(255,255,255,.5);
}

.child-profile th {
	padding-right: 12px;
}

.person-profile td {
	padding-bottom: 5px;
}

.person-profile .picture {
	float: right;
	width: 30%;
}

.child-profile .picture {
	width: 20%;
}

.person-profile .thumbnail {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
	background-color: rgba(255,255,255,.5);
	border: 1px solid rgba(0,0,0,.1);
}

.person-profile .thumbnail img {
	display: block;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	max-height: 100%;
}

.person-profile .personalia {
	float: left;
	width: 70%;
}

.child-profile .personalia {
	width: 80%;
}

.person-profile .lifecycle {
	clear: both;
	padding-top: 24px;
}

@media only screen and (min-width: 767px) {
	.person-profile h2, .family h2 {
		font-size: 24px;
	}
	.person-profile .picture {
		float: left;
		margin-right: 40px;
		width: calc(25% - 40px);
	}
	.child-profile .picture {
		margin-right: 20px;
		width: calc(25% - 20px);
	}
	.person-profile .personalia {
		width: 75%;
	}
	.has-lifecycle .personalia {
		margin-right: 20px;
	}
	.has-lifecycle .lifecycle {
		clear: none;
		float: right;
		width: calc(75% - 320px);
		padding-top: 0;
	}
}

.profile-fields {
	padding-top: 24px;
	clear: both;
}

.profile-field {
	min-width: 200px;
	font-size: 14px;
}

.profile-field p {
	white-space: pre-line;
}

.profile-field span {
	color: #707070;
	font-weight: 700;
}

.profile-gallery .gallery {
	margin-top: 10px;
}

.family:not(:last-of-type) {
	margin-bottom: 60px;
}


/* Lifecycle */
.lifecycle table {
	table-layout: fixed;
	width: 100%;
}

.lifecycle th {
	width: 4.5em;
}

.lifecycle td {
	width: 100%;
}


/* Recent persons widget */
.widget_recent_persons ul {
	margin: 0;
	list-style-type: none;
}

.widget_recent_persons .thumbnail {
	position: absolute;
	width: 40px;
	height: 40px;
	overflow: hidden;
	background-color: rgba(255,255,255,0.3);
}

.widget_recent_persons img {
	display: block;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	max-height: 100%;
}

.widget_recent_persons span {
	line-height: 40px;
	margin-left: 48px;
}


/* Person search widget */
.search-form {
	position: relative;
}

.search-form .search-field::placeholder {
	color: #000;
	opacity: .5;
}

.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 .2rem;
	color: #000;
	opacity: .5;
	outline: none;
	box-shadow: none;
	line-height: inherit;
	background: none;
	border: none;
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-ms-transition: opacity .2s ease-in-out;
	-o-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
}

.search-form .search-submit:hover, .search-form .search-submit:focus {
	opacity: 1;
}

.search-form .search-submit:before {
	display: block;
	font: normal 2rem dashicons;
	content: "\f179";
}


/* Advanced search form*/
#person-filter-form {
	color: #555;
	font-size: 14px;
}

#person-filter-form fieldset {
	border: none;
	margin: 0;
	padding: 10px 10px 0 10px;
}

#person-filter-form label {
	display: inline-block;
	min-width: 100px;
}

#person-filter-form p {
	margin-bottom: 8px;
}

#person-filter-form p:last-of-type {
	margin-bottom: 16px;
}

#person-filter-form .button, #person-filter-form input[type="text"] {
	width: 100%;
}

#person-filter-form p input:nth-of-type(2) {
	border-top: none;
}


/* Person list form*/
#person-list-form .toolbar-primary {
}

#person-list-form input#named {
	width: 100%;
}

#person-list-form .thickbox {
	display: inline-block;
	margin-top: .25rem;
}

#person-list-form button {
	display: none;
}

#person-list-form .toolbar-secondary {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

#person-list-form .toolbar-secondary select {
	margin-bottom: .5rem;
	margin-right: .25rem;
}

#person-list-form .toolbar-secondary select:last-of-type {
	margin-right: 0;
}

@media only screen and (min-width: 768px) {
	#person-list-form .toolbar-secondary {
		text-align: right;
		margin-top: 0;
	}
}

#person-filters {
	margin-bottom: .75rem;
}

#person-filter-links > div {
	line-height: 1.125;
	display: inline-block;
	padding: .25rem;
	padding-left: .5rem;
	margin-right: .75rem;
	margin-bottom: .75rem;
	background-color: rgba(0,0,0,.05);
}

.content-white #person-filter-links > div {
	background-color: rgba(255,255,255,.125);
}

#person-filter-links label {
	cursor: pointer;
}

#person-filter-links a:hover {
	text-decoration: none;
}

#person-filter-links label, #person-filter-links a.thickbox {
	opacity: .8;	
}

#person-filter-links label:hover, #person-filter-links a.thickbox:hover {
	opacity: 1;	
}

#person-filter-links .value {
	font-weight: 600;
}

#person-filter-links .label, #person-filter-links .value {
	margin-right: .25rem;
	color: black;
}

.content-white #person-filter-links .label, .content-white #person-filter-links .value {
	color: white;
}


/* Person list*/
#person-list {
	margin-bottom: 0;
}

#person-list .column {
	display: inline-block;
	vertical-align: top;
	width: calc(33% - 22px);
	margin-right: 30px;
}

#person-list .column:last-child {
	margin-right: 0;
}

#person-list .column a {
	display: block;
}

#person-list .column a:hover {

}

#person-list .column h3 {
	font-size: 125%;
	margin-top: .9em;
	margin-bottom: .2em;
}

#person-list .column:first-of-type h3:first-child {
	margin-top: 0;
}

#person-list .column a:first-child {
	margin-top: .4em;
}

#person-list-login-text {
	width: 100%;
	text-align: right;
	margin-top: 1em;
}

#person-list-login-text a {
	font-weight: 700;
}


/* Site search */
#site-search h3 {
	margin-top: 0;
}

#site-search table {
	margin-top: 40px;
	width: 100%;
	table-layout: fixed;
}

#site-search th, #site-search td {
	white-space: nowrap;
	overflow: hidden;
}

#site-search tr > :nth-child(1) {
	width: 40%;
}

#site-search tr > :nth-child(2) {
	width: 35%;
}

#site-search tr > :nth-child(3) {
	width: 25%;
}

#site-search td a, #site-search td span {
	padding-right: 10px;
	border-bottom: none;
}

#site-search td:last-of-type a {
	padding-right: 0;
}

#site-search + nav {
	text-align: center;
	font-weight: 700;
}

#site-search + nav a, #site-search + nav span {
	margin: 0 10px;
}


/* Tree toolbar */
#tree-form .toolbar {
	width: 100%;
	padding-bottom: 16px;
	color: #555;
	font-size: .875rem;
}

#TB_window #tree-form .toolbar {
	width: calc(100% - 24px);
	padding: 12px;
	border-bottom: 1px solid #eaeaea;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

#tree-form .toolbar select {
	padding: 4px;
	border: 1px solid #ddd;
	font-size: .825rem;
}

#tree-form .toolbar-primary {
	float: right;
}

#tree-form .toolbar-secondary {
	float: left;
}

#tree-form .ajax-spinner {
	display: none;
	float: right;
	margin: 2px 10px 0;
	background: url('/wp-admin/images/spinner.gif') no-repeat;
	background-size: 18px 18px;
	width: 18px;
	height: 18px;
	opacity: .3;
	filter: alpha(opacity=30);
}


/* Tree content */
.single-person #TB_window #TB_ajaxContent {
	width: 100% !important;
}

.tree {
	padding: 3px;
	border: 1px solid transparent;
	border-top-color: rgba(0,0,0,.1);
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	user-select: none;
	
}

.content-white .person .tree {
	border-top-color: rgba(255,255,255,.25);
}

.tree.scrollable {
	padding: 3px;
	border-color: rgba(0,0,0,.1);
}

.content-white .person .tree.scrollable {
	border-color: rgba(255,255,255,.25);
}

.tree.scrollable .content {
	overflow: hidden;
	max-height: 600px;
}

.tree .content-inner {
	display: inline-block;
	transform-origin: left top;
}

.tree ul.persons {
	margin: 0;
	padding: 0;
	position: relative;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
}

#tree-desc ul.persons, #tree-asc .content-inner > ul.persons {
	padding-top: 20px;
}

#tree-asc ul.persons, .tree .content-inner > ul.persons {
	padding-bottom: 20px;
}

.tree li.person {
	display: inline-block;
	position: relative;
	padding: 0 5px;
	text-align: center;
	list-style-type: none;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
}

#tree-desc li.person {
	padding-top: 20px;
	vertical-align: top;
}

#tree-asc li.person {
	padding-bottom: 20px;
	vertical-align: bottom;
}

.tree > .content > ul.persons > li.person {

}

.tree li.person > ul.persons {
	margin: 0;
}


/* Tree person connectors */
.tree li.person::before, .tree li.person::after {
	position: absolute;
	z-index: 0;
	right: 50%;
	width: calc(50% - 1px);
	content: '';
	border-style: solid;
	border-color: #000;
	border-width: 0;
	opacity: .25;
}

.content-white .person .tree li.person::before, .content-white .person .tree li.person::after {
	border-color: #fff;
	opacity: .5;
}

#tree-desc li.person::before, #tree-desc li.person::after {
	top: 0;
	height: 14px;
	border-top-width: 1px;
}

#tree-asc li.person::before, #tree-asc li.person::after {
	bottom: 0;
	height: 20px;
	border-bottom-width: 1px;
}

.tree li.person::after{
	right: auto;
	left: 50%;
	border-left-width: 1px;
}

#tree-desc li.person:only-child::before, #tree-desc li.person:only-child::after, #tree-asc li.person:only-child::before, #tree-asc li.person:only-child::after {
	display: none;
}

#tree-desc li.person:only-child{
	padding-top: 0;
}

#tree-asc li.person:only-child{
	padding-bottom: 0;
}

#tree-desc li.person:first-child::before, #tree-desc li.person:last-child::after, #tree-asc li.person:first-child::before, #tree-asc li.person:last-child::after {
	border: 0 none;
}

#tree-desc  li.person:last-child::before {
	border-right-width: 1px;
	border-radius: 0 4px 0 0;
	-webkit-border-radius: 0 4px 0 0;
	-moz-border-radius: 0 4px 0 0;
}

#tree-desc  li.person:first-child::after {
	border-radius: 4px 0 0 0;
	-webkit-border-radius: 4px 0 0 0;
	-moz-border-radius: 4px 0 0 0;
}

#tree-asc  li.person:last-child::before {
	border-right-width: 1px;
	border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
	-moz-border-radius: 0 0 4px 0;
}

#tree-asc  li.person:first-child::after {
	border-radius: 0 0 0 4px;
	-webkit-border-radius: 0 0 0 4px;
	-moz-border-radius: 0 0 0 4px;
}

.tree ul.persons ul.persons::before {
	content: '';
	position: absolute;
	left: 50%;
	width: 0;
	border-style: solid;
	border-color: #000;
	border-width: 0;
	opacity: .25;
}

.content-white .person .tree ul.persons ul.persons::before {
	border-color: #fff;
	opacity: .5;
}

#tree-desc ul.persons ul.persons::before {
	top: 0;
	height: 20px;
	border-left-width: 1px;
}

#tree-asc ul.persons ul.persons::before {
	bottom: 5px; 
	height: 15px;
	border-left-width: 1px;
}

#tree-desc ul.persons ul.partners::before {
	left: calc(50% - 5px);
	width: 10px;
	border-right-width: 1px;
}

#tree-desc ul.persons ul.partners:empty::before {
	display: none;
}


/* Tree profile */
.tree ul.profile {
	padding: 8px 12px;
	margin: 0;
	max-width: 160px;
	color: rgba(0,0,0,.75);
	background-color: rgba(255,255,255,.9);
	font-size: .8125rem;
	display: inline-block;
	line-height: 20px;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: .25rem;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
}

.tree ul.profile.male {
	box-shadow: 0 -5px #999;
	border-top: none;
}

.tree ul.profile.female {
	box-shadow: 0 -5px #bc360a;
	border-top: none;
}

.tree ul.profile li {
	list-style-type: none;
}
	
.tree a {
	font-weight: 700;
	box-shadow: none;
}

.tree span {
	cursor: default;
}

.tree a:hover span {
	text-decoration: underline;
	cursor: pointer;
}

.tree .thumbnail {
	position: relative;
	width: 80px;
	height: 80px;
	overflow: hidden;
	margin: 0 auto 4px;
}

.tree .thumbnail img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
}

.tree img, .tree a {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}


/* Tree hover effects */
.tree li.person ul.profile:hover, .tree li.person ul.profile:hover+ul.persons li.person ul.profile {
}


.tree li.person ul.profile:hover+ul.persons li.person::after, 
.tree li.person ul.profile:hover+ul.persons li.person::before, 
.tree li.person ul.profile:hover+ul.persons::before, 
.tree li.person ul.profile:hover+ul.persons ul.persons::before {
	opacity: 1;
}


/* Tree controls */
.tree .controls {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 10;
	user-select: none;
}

.tree:not(.scrollable) .controls {
	display: block;
}

.tree .controls button {
	font-size: 10px;
	font-weight: 500;
}

.tree .controls i {
	font-size: 20px;
	opacity: .5;
}

.content-white .person .tree .controls i {
	opacity: .75;
}

.tree .controls i:hover {
	cursor: pointer;
	opacity: 1 !important;
}

#zoom-range {
	position: relative;
	top: 3px;
	width: 120px;
	height: 20px;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	background-color: rgba(0,0,0,.25);
	border: 1px solid rgba(0,0,0,.25);
	border-radius: 2px;
}

.content-white .person #zoom-range {
	background-color: rgba(255,255,255,.25);
	border-color: rgba(255,255,255,.25);
}

#zoom-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 10px;
	height: 25px;
	border-radius: 2px;
	background-color: #000;
	cursor: pointer;
}

.content-white .person #zoom-range::-webkit-slider-thumb {
	background-color: #fff;	
}

#zoom-range::-moz-range-thumb {
	width: .7rem;
	height: 1.5rem;
	border-radius: 4px;
	background-color: #000;
	cursor: pointer;
}

.content-white .person #zoom-range::-moz-range-thumb {
	background-color: #fff;
}


/* Tree thickbox */
.single-person #TB_window {
	width: calc(100% - 40px) !important;
	height: calc(100% - 40px) !important;
	margin: 0 !important;
	top: 20px;
	left: 20px;
}

.single-person #TB_ajaxContent {
	height: calc(100% - 50px) !important;
	padding: 0;
	line-height: inherit;
}

.single-person #TB_window .tree {
	padding: 0 3px 3px;
	border: none;
}

.single-person #TB_window .content {
	max-height: calc(100vh - 148px);
}

.single-person #TB_window .thickbox {
	display: none;	
}


/* Fontello */
@font-face {
  font-family: 'fontello';
  src: url('./font/fontello.eot?56464384');
  src: url('./font/fontello.eot?56464384#iefix') format('embedded-opentype'),
       url('./font/fontello.woff2?56464384') format('woff2'),
       url('./font/fontello.woff?56464384') format('woff'),
       url('./font/fontello.ttf?56464384') format('truetype'),
       url('./font/fontello.svg?56464384#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?56464384#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-cancel:before { content: '\e800'; } /* '' */
.icon-zoom-in:before { content: '\f07e'; } /* '' */
.icon-zoom-out:before { content: '\f07f'; } /* '' */