/* General */
body {
	overflow-x: hidden !important;
}
table {  
    border-collapse: collapse;
	margin: 0 !important;
	border: 1px solid rgba(42, 138, 42, .2) !important;
}
table, td, th {
    border: 1px solid rgba(42, 138, 42, .2); /* !important;*/
}
table.dark-header tr th {
	background-color: rgba(51, 51, 51, .075) !important; 
}
table.alternating tr:nth-child(odd) td {
	background-color: #f9f9f9 !important; 
}
/*table.alternating tr:nth-child(even) td {
	background-color: rgb(141, 199, 63, .1) !important;
}*/
table.alternating tr:nth-child(even) td {
	background-color: rgba(42, 138, 42, .05) !important;
}
table.table-map {  
    border-collapse: collapse;
	margin: 0 !important;
	border: none !important;
}
th, td {
    padding: 0;
}
#content a {
	color: #2a8a2a !important;
}
#content a:hover a:focus a:active {
	color: #2a8a2a !important;
}
.famtree-position-unset {
	position: unset !important;
}
.famtree-cursor-pointer {
	cursor:pointer;
}
.famtree-no-border {
	border: none;
}

.famtree-color-initial {
	color: initial;
}

.famtree-padding-0 {
	padding: 0 !important;
}

.famtree-padding-top-0 {
	padding-top: 0;
}

.famtree-padding-bottom-0 {
	padding-bottom: 0;
}

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

.famtree-text-align-left {
	text-align: left;
}

.famtree-display-inline-block {
	display: inline-block;
}

.famtree-border-color-transparent {
	border-color: transparent;
}

.famtree-row-label-sm {
	margin: 0 !important;
	display: inline-block;
	width: 100px;
}

.famtree-row-label-md {
	margin: 0 !important;
	display: inline-block;
	width: 150px;
}

.famtree-row-label-lg {
	margin: 0 !important;
	display: inline-block;
	width: 40%;
}

.famtree-row-value {
	margin: 0 !important;
	display: inline-block;
	width: 40%;
	text-align: right;
}

.famtree-report-type-row {
	background-color: #ddd;
	cursor: pointer;
}

.famtree-toggle-report-type {
	display: none;
}

.famtree-width-15-percent {
	width: 15%;
}

.famtree-width-20-percent {
	width: 20%;
}

.famtree-width-25-percent {
	width: 25%;
}

.famtree-width-30-percent {
	width: 30%;
}

.famtree-width-35-percent {
	width: 35%;
}

.famtree-width-40-percent {
	width: 40%;
}

li s {
	color: #006600;
}

.male.famtree-border-color {
	border-color: rgb(42, 42, 186) !important;
}

.female.famtree-border-color {
	border-color: rgb(186, 42, 42) !important;
}

.nosex.famtree-font-color {
	color: #999;
}

/* Notifications */
.famtree-notification {
	display: block;
    margin-top: 20px;
    margin-bottom: 30px;
}

.famtree-notification.famtree-success {
	color: #5e9a4e;
}

.famtree-notification.famtree-danger {
	color: #9a5e4e;
}

/* Events */
.famtree-event-show {
	display: table-row;
}

.famtree-event-hide {
	display: none;
}

td.famtree-thumbnail-cell {
	vertical-align: top;
	padding-bottom: 30px;
}

td.famtree-thumbnail-cell > div {
	height: 200px;
	width: 200px;
	text-align: center;
	position: relative;
}

td.famtree-thumbnail-cell > div > div {
	position: absolute;
}

.famtree-comment-cell {
	vertical-align: top;
	position: relative;
	padding-bottom: 20px;
}

.famtree-comment-cell > div {
	vertical-align: top;
}

.famtree-action-cell {
	vertical-align: top;
    white-space: nowrap;
}

.famtree-action-cell > a {
	margin-left: 10px;
}

.famtree-comment-text {
}

.famtree-comment-edit {
	height: fit-content;
	position: relative;
	top: 0;
	left: 0;
	height: 200px;
	resize: none;
}

div.famtree-comment-show {
	display: block;
}

a.famtree-comment-show {
	display: inline;
}

.famtree-comment-hide {
	display: none;
}


/* Trees */

/* Hourglass */
/*#famtree-map {
	position: relative;
	width:100%;
	height: 740px;
	cursor:crosshair;
	overflow-x: hidden;
	overflow-y: hidden;
    white-space:nowrap;
    border:1px solid red;
}
.famtree-map-content {
	position: absolute;
	top: 0;
	left: 0;
}
.famtree-map {
}
.famtree-map-content table td {
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
	z-index: 1;
}
.famtree-map-core {
	display: inline-block;
	width: auto;
}
*/
#famtree-hourglass {
	/*position: relative;*/
	width:100%;
	/*height: 740px;
	cursor:crosshair;
	overflow-x: hidden;
	overflow-y: hidden;
    white-space:nowrap;*/
    border:1px solid red;
	
	/* new */
	position: relative;
	width:100%;
	height: 747px;
	/*cursor:crosshair;*/
	/*overflow-x: hidden;
	overflow-y: hidden;*/
    white-space:nowrap;
    border:1px solid red;

}
.famtree-hourglass-content {
	/*position: absolute;
	top: 0;
	left: 0;*/
	/*width:1800px;
	height: 1600px;*/
	
	/* new */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%

}
.famtree-hourglass {
	/*width:2000px;
	height: 1500px;*/
}
.famtree-hourglass-content table td {
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
	z-index: 1;
}
.famtree-hourglass-core {
	/*display: inline-block;
	width: auto;*/
	width: 100%;
}
.famtree-hourglass-core td {
	border: none;
}
.famtree-hourglass-relation-unknown {
	display: inline-block;
    position: relative;
    right: -350px;
}
.famtree-hourglass-relation-ex {
	display: inline-block;
    position: relative;
    right: -350px;
}
.famtree-hourglass-relation-current {
	display: inline-block;
    position: relative;
    left: -350px;
}
.famtree-hourglass-relation-with-children {
    top: 184px;
}
.famtree-hourglass-cell {
	position: relative;
	width:200px;
	height: 125px;
	margin: 20px auto 20px auto;
	text-align: center;
	border: 2px solid #ccc;
	border-radius: 8px;
	background-color: #fffacd;
    z-index: 20;
}
.famtree-hourglass-cell.female {
    background-color: #FFDDDD;
}
.famtree-hourglass-cell.no-sex {
    background-color: #F8F8F8;
}
.famtree-hourglass-cell.female .famtree-hourglass-name {
    color: rgb(186, 42, 42);
}
.famtree-hourglass-cell.male {
    background-color: #DDDDFF;
}
.famtree-hourglass-cell.male .famtree-hourglass-name {
    color: rgb(42, 42, 186);
}
.famtree-hourglass-cell-inner {
	height: 125px;
    position: relative;
}
.famtree-hourglass-me-cell {
	border: solid 1px #005e20;
	background-color: #ffe4c4;
}
.famtree-hourglass-name {
	text-align: initial;
	padding: 5px 8px 15px 8px;
	font-weight: 500;
	white-space: normal;
}
.famtree-hourglass-borned {
	text-align: initial;
	padding: 0px 8px 0px 8px;
	position: absolute;
    bottom: 38px;
}
.famtree-hourglass-dead {
	text-align: initial;
	padding: 0px 8px 0px 8px;
	position: absolute;
    bottom: 10px;
}
.truncate {
    text-overflow: ellipsis;
    overflow : hidden;
    white-space: nowrap;
}

.truncate:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}
.famtree-hourglass-unknown {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	color: #999;	
}
.famtree-hourglass-unknown-ex {
    top: 60%;
}
.famtree-hourglass-line-horizontal-lightgreen {
	position: absolute;
    top: 50%;
    left: 50%;
	height: 4px;
	width: 100%;
    /*transform: translate(-50%, -50%);*/
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-hourglass-line-horizontal-relation-right-lightgreen {
	position: absolute;
    top: 50%;
    left: calc(50% + 1px);
	height: 4px;
	width: 100%;
    /*transform: translate(-50%, -50%);*/
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-hourglass-line-horizontal-relation-right-short-lightgreen {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 4px;
    width: 15%;
    /* transform: translate(-50%, -50%); */
    background-color: #8dc73f;
    z-index: 10;
}
.famtree-hourglass-line-horizontal-relation-left-lightgreen {
	position: absolute;
    top: 50%;
    right: 5%;
	height: 4px;
	width: 100%;
    /*transform: translate(-50%, -50%);*/
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-hourglass-line-horizontal-child-lightgreen {
	position: absolute;
    top: -4px;
    left: calc(50% - 3px);
    height: 4px;
    width: calc(100% + 4px);
    /*transform: translate(-50%, -50%);*/
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-hourglass-line-vertical-lightgreen {
	position: absolute;
    top: -50%;
    right: calc(50% - 1px);
    height: 100%;
    width: 4px;
    /* transform: translate(-50%); */
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-hourglass-upperhalfline-vertical-lightgreen {
	position: absolute;
    top: 0;
    right: calc(50% - 1px);
    height: 50%;
    width: 4px;
    /* transform: translate(-50%); */
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-hourglass-lowerhalfline-vertical-lightgreen {
	position: absolute;
    bottom: 0%;
    right: calc(50% - 1px);
    height: 50%;
    width: 4px;
    /* transform: translate(-50%); */
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-hourglass-line-vertical-top-relation-lightgreen {
	position: absolute;
    top: -25%;
    right: calc(50% - 1px);
    height: 50%;
    width: 4px;
    transform: translate(calc(50% - 3px), 50%);
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-hourglass-line-vertical-bottom-relation-lightgreen {
	position: absolute;
    bottom: calc(25% - 1px);
    right: calc(50% - 1px);
    height: 50%;
    width: 4px;
    transform: translate(calc(50% - 3px), 50%);
    z-index: 10;
    background-color: #8dc73f;
}

/* Map */
/*#famtree-map {
	position: relative;
	width:100%;
	height: 740px;
	cursor:crosshair;
	overflow-x: hidden;
	overflow-y: hidden;
    white-space:nowrap;
    border:1px solid red;
}
.famtree-map-content {
	position: absolute;
	top: 0;
	left: 0;
}
.famtree-map {
}
.famtree-map-content table td {
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
	z-index: 1;
}
.famtree-map-core {
	display: inline-block;
	width: auto;
}
.famtree-map-relation-unknown {
	display: inline-block;
    position: relative;
    right: -350px;
}
.famtree-map-relation-ex {
	display: inline-block;
    position: relative;
    right: -350px;
}
.famtree-map-relation-current {
	display: inline-block;
    position: relative;
    left: -350px;
}
.famtree-map-relation-with-children {
    top: 184px;
}
.famtree-hourglass-cell {
	position: relative;
	width:200px;
	height: 125px;
	margin: 20px auto 20px auto;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 8px;
	background-color: #fffacd;
    z-index: 20;
}
.famtree-me-cell {
	border: solid 1px #005e20;
	background-color: #ffe4c4;
}
.famtree-hourglass-name {
	text-align: initial;
	padding: 5px 8px 15px 8px;
	font-weight: 500;
}
.famtree-hourglass-borned {
	text-align: initial;
	padding: 0px 8px 0px 8px;
}
.famtree-hourglass-dead {
	text-align: initial;
	padding: 0px 8px 0px 8px;
}
.truncate {
    text-overflow: ellipsis;
    overflow : hidden;
    white-space: nowrap;
}

.truncate:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}
.famtree-hourglass-unknown {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	color: #999;	
}
.famtree-hourglass-unknown-ex {
    top: 60%;
}
.famtree-line-horizontal-lightgreen {
	position: absolute;
    top: 50%;
    left: 50%;
	height: 4px;
	width: 100%;
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-line-horizontal-relation-right-lightgreen {
	position: absolute;
    top: 50%;
    left: calc(50% + 1px);
	height: 4px;
	width: 100%;
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-line-horizontal-relation-right-short-lightgreen {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 4px;
    width: 15%;
    background-color: #8dc73f;
    z-index: 10;
}
.famtree-line-horizontal-relation-left-lightgreen {
	position: absolute;
    top: 50%;
    right: 5%;
	height: 4px;
	width: 100%;
	background-color: #8dc73f;	
	z-index: 10;
}
.famtree-line-vertical-lightgreen {
	position: absolute;
    top: -50%;
    right: calc(50% - 2px);;
    height: 100%;
    width: 4px;
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-line-vertical-top-relation-lightgreen {
	position: absolute;
    top: -25%;
    right: calc(50% - 2px);
    height: 50%;
    width: 4px;
    transform: translate(calc(50% - 3px), 50%);
    z-index: 10;
    background-color: #8dc73f;
}
.famtree-line-vertical-bottom-relation-lightgreen {
	position: absolute;
    bottom: calc(25% - 1px);
    right: calc(50% - 2px);
    height: 50%;
    width: 4px;
    transform: translate(calc(50% - 3px), 50%);
    z-index: 10;
    background-color: #8dc73f;
}*/


/* WP Membership integration */
.swpm-payment-button {
	display:inline-block;
	vertical-align:middle;
}

/* WP File Upload integration */
#wordpress_file_upload_userdata_1_1 {
	visibility:hidden;
	height: 0;
}
#uploadform_1.file_input_uploadform {
	height: 47px;
	width: 200px;
	margin-bottom:30px;
}
#uploadform_1 #input_1 {
	color: #ffffff;
    background-color: #666666;
    background-image: none;
    padding: 10px 20px;
    height: 47px;
    width: auto;
}
#wordpress_file_upload_title_1 {
	display: block;
}