/*----------------genealogy-scroll----------*/

body {
    /*background: url(../img/bg.jpg);*/
    background-position: center;
    background-size: contain;
}

    body::-webkit-scrollbar {
        border-radius: 10px;
        background-color: #e4e4e4;
        width: 8px;
        height: 10px;
    }

    body::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #e4e4e4;
        /*    display: none;*/
    }

    body::-webkit-scrollbar-thumb {
        background: #212121;
        border-radius: 10px;
        transition: 0.5s;
        /*    display: none;*/
    }

        body::-webkit-scrollbar-thumb:hover {
            background: #d5b14c;
            transition: 0.5s;
            /*        display: none;*/
        }


/*----------------genealogy-tree----------*/


/*
.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 #ccc;
        width: 50%;
        height: 18px;
    }

    .genealogy-tree li::after {
        right: auto;
        left: 50%;
        border-left: 2px solid #ccc;
    }

    .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 #ccc;
        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 #ccc;
    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 {
    text-align: center;
    border-radius: 4px;
    position: relative;
    display: flex;
    border: 1px solid #cecece;
    background: url(../img/tr.jpg);
    background-size: 200px 250px;
}

.member-image {
    width: 200px;
    position: relative;
    padding-bottom: 40px;
}

    .member-image img {
        width: 80px;
        height: 100px;
        border-radius: 6px;
        z-index: 1;
    }

    .member-image .img {
        width: 80px;
        height: 100px;
        border-radius: 6px;
        z-index: 1;
        margin: auto;
    }

.member-details {
    left: 0;
    text-align: left;
    margin-left: 5px;
    margin-top: 5px;
}

    .member-details h3 {
        text-align: center;
        font-weight: normal;
        font-size: 0.75rem;
        color: #000;
    }

/*.w2 {
    background-color: #f2f2f2;
}*/

.member-view-box {
    min-height: 255px;
    /*    background: #FFF;*/
}

.member-level {
    border-radius: 50%;
    height: 22px;
    font-size: 1rem;
    margin: 2px 4px 0 0;
    position: absolute;
    right: 0;
}

/*a {
    color: #FFF;
}*/

a.nav-link {
    color: #FFF;
}

.navbar {
    background-color: unset;
}

.navbar-brand {
    float: left;
    /*    padding: 15px;*/
    text-align: center;
    width: 100%;
}

.offcanvas-collapse {
    background: unset !important;
    border-right: unset !important;
}

li.nav-item:hover {
    background: #99682D;
}

.approve-status {
    height: 22px;
    font-size: 1rem;
    margin: 2px 4px 0 0;
    position: absolute;
    left: 0;
    top: 0;
}
