/* .spouse {
    position: absolute;
    margin-left: 50px; 
    margin-top: -10px; 
} */

.member-details-popup {
    white-space: pre-line;
}
.member-details h5 {
    font-size: .92rem;
    color: #000;
}
/* .details{
    padding-top: 10px;
    width: 5rem;
    height: 4rem;
    background-color: aqua;
} */
.card-p{
    margin-bottom: 0%;
  }

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer {
    background-color: #c2d8f3;
    padding: 8px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.content {
    /* Add your content styles here */
    padding: 20px;
}
.main-card{
    width: fit-content;
    min-width: 12rem;
    max-width: 18rem;
    height: 12rem;
    background-color: rgb(235 240 243 / 68%);
    position: fixed;
    z-index: 5;
}

@media only screen and (max-width: 767px) {
    .main-card{
        min-width: 8rem;
        max-width: 14rem;
        height: 11rem;
    }
    .card-p{
        font-size: smaller;
      }
      .card-title{
        font-size: medium;
      }
      .member-details h5 {
        font-size: .82rem;
        color: #000;
    }
    footer{
        height: 2rem;
    }
    footer p{
        font-size: small;
    }
}
/*----------------genealogy-scroll----------*/

.genealogy-scroll::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}
.genealogy-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #e4e4e4;
}
.genealogy-scroll::-webkit-scrollbar-thumb {
    background: #212121;
    border-radius: 10px;
    transition: 0.5s;
}
.genealogy-scroll::-webkit-scrollbar-thumb:hover {
    background: #d5b14c;
    transition: 0.5s;
}


/*----------------genealogy-tree----------*/
.genealogy-body{
    white-space: nowrap;
    overflow-y: hidden;
    padding: 50px;
    min-height: 500px;
    padding-top: 12rem;
    text-align: center;
}
.genealogy-tree{
  display: inline-block;
}
.genealogy-tree ul {
    padding-top: 20px; 
    position: relative;
    padding-left: 0px;
    display: flex;
    justify-content: center;
}
.genealogy-tree li {
    float: left; text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
}
.genealogy-tree li::before, .genealogy-tree li::after{
    content: '';
    position: absolute; 
  top: 0; 
  right: 50%;
    border-top: 2px solid #7a7777;;
    width: 50%; 
  height: 18px;
}
.genealogy-tree li::after{
    right: auto; left: 50%;
    border-left: 2px solid #7a7777;;
}
.genealogy-tree li:only-child::after, .genealogy-tree li:only-child::before {
    display: none;
}
.genealogy-tree li:only-child{ 
    padding-top: 0;
}
.genealogy-tree li:first-child::before, .genealogy-tree li:last-child::after{
    border: 0 none;
}
.genealogy-tree li:last-child::before{
    border-right: 2px solid #7a7777;;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}
.genealogy-tree li:first-child::after{
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}
.genealogy-tree ul ul::before{
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 2px solid #7a7777;;
    width: 0; height: 20px;
}
.genealogy-tree li a{
    text-decoration: none;
    color: #666;
    font-family: arial, verdana, tahoma;
    font-size: 11px;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.genealogy-tree li a:hover+ul li::after, 
.genealogy-tree li a:hover+ul li::before, 
.genealogy-tree li a:hover+ul::before, 
.genealogy-tree li a:hover+ul ul::before{
    border-color:  #fbba00;
}

/*--------------memeber-card-design----------*/
.member-view-box{
    padding:0px 20px;
    text-align: center;
    border-radius: 4px;
    position: relative;
}
.member-image{
    width: 60px;
    position: relative;
}
.member-image img{
    width: 60px;
    height: 60px;
    border-radius: 6px;
  background-color :#000;
  z-index: 1;
}
