.pt-tree {
    position: relative;
    background-color: #eaecf4;
    margin-top:20px;
    border-radius: 0.35rem;
}

.pt-tree h3 {
    font-size: 18px;
    border-radius: 50px;
    background: #DDD;
    margin: 10px 24px 24px 24px;
    padding: 6px 12px 6px 6px;
    width: auto;
    display: inline-block;
    font-weight: 700;
}

.pt-tree h3 span {
    line-height: 32px;
    background: #26ae60;
    color: #FFF;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-block;
    text-align: center;
}

.pt-tree .pt-vpass h4 {
    padding: 48px 48px 6px 48px;
}

.pt-tree .pt-vpass p {
    padding: 0px 48px 12px 48px;
    font-family: "Sriracha", cursive;
    margin: 0;
}

.pt-tree .pt-details {
    position: absolute;
    right: 48px;
    top: 18px;
}

.pt-tree .pt-details a {
    background: #2ecc71;
    /* width: 32px; */
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50px;
    color: #FFF;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    padding: 0 12px;
		margin-top: 0;
}

.pt-tree .pt-details a:first-child {
    background: #0eb3e4;
}

.pt-tree .pt-details a.n {
    background: #FFC107;
}

.pt-tree a {
    position: relative;
    margin-top: 36px;
}

.pt-tree a .pt-dead {
    position: absolute;
    background: #e23636;
    border-radius: 30px;
    color: #FFF;
    padding: 0 8px;
    font-size: 9px;
    height: 16px;
    line-height: 16px;
    left: 12px;
    top: 12px;
    z-index: 3;
}

.pt-tree a .pt-dead i {
    margin-right: 3px;
}

.pt-tree a .pt-thumb, .pt-thumb {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 3px solid #FFF;
    margin-top: -44px;
    position: relative;
    z-index: 2;
    background: #FFF;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

#div {
    padding-bottom: 24px;
}

.pt-tree a .pt-thumb img, .pt-thumb img {
    height: 100%;
}

.pt-tree a strong {
    display: block;
    margin-top: 8px;
    color:#000;
}

.pt-tree a .pt-options {
    position: absolute;
    left: -25px;
    top: 1px;
    background: #EEE;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 10;
}

.pt-tree a .pt-options b {
    display: block;
    width: 18px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 10px;
    border-bottom: 1px solid #FFF;
    cursor: pointer;
    transition: all 0.5s;
}

.pt-tree a .pt-options b:nth-of-type(1) {
    border-radius: 3px 0 0 0;
}

.pt-tree a .pt-options b:last-of-type {
    border-bottom: 0;
    border-radius: 0 0 0 3px;
}

.pt-tree a .pt-options b:hover {
    transition: all 0.5s;
    color: #FFF;
}

.pt-tree a .pt-options b:hover:nth-of-type(1) {
    background: #2ecc71;
}

.pt-tree a .pt-options b:hover:nth-of-type(3) {
    background: #fbc531;
}

.pt-tree a .pt-options b:hover:nth-of-type(4) {
    background: #9c88ff;
}

.pt-tree a .pt-options b:hover:nth-of-type(2) {
    background: #e84118;
}

.pt-tree a.partner {
    margin: 0 3px;
    background: #F7F7F7;
    position: relative;
    margin-right: 0px;
}

.pt-tree a.partner:before {
    border-right: 2px solid #000;
    height: 82px;
    right: -10px;
    top: -47px;
    position: absolute;
}

.pt-tree a.partner:after {
    right: -16px;
    top: 28.5px;
    position: absolute;
    font-family: "simple-line-icons";
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

.pt-tree a.partner .pt-thumb {
    width: 64px;
    height: 64px;
}

.pt-tree a.partner .pt-thumb img {
    min-height: 64px;
}

.pt-tree a.partner.hid {
    visibility: hidden;
    min-width: 86px;
}

.pt-tree a.exp {
    background: #81c203;
    border: 1px solid #000;
    position: relative;
    margin-right: 0px;
}

.pt-tree a.exp:before {
    border-right: 2px solid #000;
    height: 82px;
    right: -10px;
    top: -47px;
    position: absolute;
}

.pt-tree a.exp:after {
    right: -16px;
    top: 28.5px;
    position: absolute;
    font-family: "simple-line-icons";
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

.pt-tree a.exp strong {
    color: #000;
}

.pt-tree a.exp .pt-thumb {
    width: 64px;
    height: 64px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.pt-tree a.exp .pt-thumb img {
    min-height: 64px;
}

.pt-tree a:hover .pt-options {
    visibility: visible;
    opacity: 1;
    left: -19px;
}

.tree ul {
    padding: 40px 0 0;
    position: relative;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    display: flex;
}

.tree ul li {
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 40px 5px 0 5px;
    /*white-space: nowrap;*/
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree ul:first-child li:first-child {
	padding-bottom: 50px;
}

.tree ul li:before,
.tree ul li:after {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #000;
    width: 50%;
    height: 40px;
}

.tree ul li:after {
    right: auto;
    left: 50%;
    border-left: 2px solid #000;
}

.tree ul li:only-child::after,
.tree ul li:only-child::before {
    display: none;
}

.tree ul li:only-child {
    padding-top: 0;
    margin: auto;
}

.tree ul li:first-child::before,
.tree ul li:last-child::after {
    border: 0 none;
}

.tree ul li:last-child::before {
    border-right: 2px solid #000;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}

.tree ul li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}

.tree ul li a {
    width:200px;
    border: 1px solid #EEE;
    background: #FFF;
    padding: 5px 10px;
    text-decoration: none;
    color: #666;
    font-family: arial, verdana, tahoma;
    font-size: 11px;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    /*-webkit-border-radius: 5px;
  -moz-border-radius: 5px;*/
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
		z-index: 2;
}

.ripimg {
	-webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.pt-tag {
	position: absolute;
	right: 0;
  top: 32px;
  z-index: 3;
  width: 100%;
  bottom: auto !important;
	background: transparent !important;
}
.pt-tag span {
  font-size: 7px;
  background: #2ecc71;
  padding: 0 7px;
  line-height: 17px !important;
  border-radius: 10px;
  color: #FFF;
  font-weight: 700;
	display: inline-block;
}

.pt-tag.bl span  {
  background: #ec953f;
  /* right: 29px; */
}

.tree ul li a.pt-you {
    box-shadow: 0 0 0 1px #eff9f7, 0 0 0 4px #fd5c5c;
    z-index: 2;
}

.tree ul li a.pt-you .pt-thumb {
    box-shadow: 0 0 0 1px #eff9f7, 0 0 0 4px #fd5c5c;
}

.tree ul li a.pt-you em {
    position: absolute;
    right: 25px;
    bottom: -24px;
    display: inline-block;
    background: #fd5c5c;
    color: #FFF;
    height: 22px;
    line-height: 24px;
    padding: 0 5px;
    font-size: 8px;
    border-radius: 0 0 4px 4px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree ul li a:not([href]):hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px #eff9f7, 0 0 0 4px #26ae60;
    z-index: 2;
}

.tree ul li a:not([href]):hover .pt-thumb {
    box-shadow: 0 0 0 2px #eff9f7, 0 0 0 4px #26ae60;
}

.tree ul li a:not([href]):hover em {
    background: #26ae60;
    bottom: -25px;
}

.tree ul ul:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #000;
    width: 0;
    height: 40px;
}


.pt-emm {
	position: absolute;
	background: #000;
	top: -63px;
    left: 45%;
    border-radius: 32px!important;
    width: 12px!important;
    height: 12px!important;
    line-height: 12px!important;
    z-index: 15;
    font-style: normal;
    font-weight: 700;
    color: #FFF;
    font-size: 12px !important;
		/* height: 22px; */
    /* line-height: 24px; */
    padding: 0 !important;
    /* border-radius: 0 0 4px 4px; */
		transition: all 300ms;
}
.lool {
	width: 100px;
	height: 20px;
	overflow: hidden;
	padding-bottom: 0px !important;
}

.lool:before, .lool:after {
	height: 20px !important;
}

.lool .partner:not(.exp) {
	margin-left: -96px
}
.lool .pt-emm {

	/* top: -63px; */
}
.lool .pt-emm.yes {
    top: -37px;
}

.lool:not(.haswife) .pt-emm {
	left: 36%;
	/* top: -37px; */

}
.lool .pt-thumb  {
	visibility: hidden;
	opacity: 0;
}



#myTree .modal-dialog {
    width: 400px;
}

#myTree .modal-dialog .close {
    background: #EEE;
    width: 32px;
    height: 32px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.44);
    border-radius: 50%;
    margin: 12px;
    position: absolute;
    right: 0;
    cursor: pointer;
    z-index: 2;
}

#myTree .pt-item-details {
    margin-bottom: 12px;
    padding: 12px 0;
}

#myTree .pt-item-details .thumb {
    overflow: hidden;
    width: 100px;
    height: 100px;
    box-shadow: 0 1px 3px #DDD;
    border-radius: 50%;
    margin: 12px auto;
}

#myTree .pt-item-details .thumb img {
    width: 100%;
    min-height: 100px;
}

#myTree .pt-item-details .pt-item-body .pt-name {
    font-family: "Coda Caption", sans-serif;
    color: #35a299;
    font-weight: bold;
    text-align: center;
    display: block;
}

#myTree .pt-item-details .pt-item-body .pt-born {
    margin: 0;
    line-height: 22px;
    font-size: 12px;
    font-family: "Sriracha", cursive;
    text-align: center;
}

#myTree .pt-item-details .pt-item-body .pt-born b {
    font-family: "Sriracha", cursive;
}

#myTree .pt-item-details .pt-item-body .pt-links {
    text-align: center;
    margin-top: 8px;
}


#myTree .pt-item-details .pt-item-body .pt-links a {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #f0fdfd;
    color: #333;
    text-align: center;
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 17px;
    font-size: 12px;
    box-shadow: 0 0 0 3px #FFF, 0 0 0 5px #67f0e4;
}

#myTree .pt-item-details .pt-page-nav {
    margin: 24px 0;
    border-bottom: 2px solid #EEE;
}

#myTree .pt-item-details .pt-page-nav b {
    font-size: 12px;
    display: inline-block;
    width: 20%;
    text-align: center;
    background: #f0fdfd;
    padding: 1px 0;
    /* border-radius: 23px; */
    border-bottom: 2px solid #EEE;
    color: #7a9a98;
    margin-bottom: -2px;
    cursor: pointer;
}

#myTree .pt-item-details .pt-page-nav b.active {
    border-bottom: 2px solid #73f1e6;
    color: #333;
}

#myTree .pt-item-details .prof,
#myTree .pt-item-details .comp,
#myTree .pt-item-details .bio,
#myTree .pt-item-details .inter,
#myTree .pt-item-details .photos {
    display: none;
    font-size: 14px;
    padding: 0 12px;
    overflow: hidden;
}

#myTree .pt-item-details .prof.active,
#myTree .pt-item-details .comp.active,
#myTree .pt-item-details .bio.active,
#myTree .pt-item-details .inter.active,
#myTree .pt-item-details .photos.active {
    display: block;
}

#myTree .pt-item-details.female .pt-name {
    color: #d43233;
}

#myTree .pt-item-details.female .pt-page-nav b {
    background: #fdedee;
}

#myTree .pt-item-details.female .pt-page-nav b.active {
    border-bottom: 2px solid #ef5253;
}

#myTree .pt-item-details.female .pt-links a {
    background: #fdedee;
    box-shadow: 0 0 0 3px #FFF, 0 0 0 5px #ef5253;
}

#myTree .pt-images {
    width: 33%;
    height: 84px;
    overflow: hidden;
    float: left;
    margin-left: 0.3333%;
    margin-bottom: 1px;
		position: relative;
}

#myTree .pt-images .pt-delete-album {
		background: red;
		color: #FFF;
		display: inline-block;
		position: absolute;
		z-index: 2;
		right: 5px;
		font-size: 12px;
		width: 22px;
		height: 22px;
		line-height: 22px;
		text-align: center;
		border-radius: 0 0 5px 5px;
}

#myTree .pt-images img {
    width: 100%;
    min-height: 84px;
}
