﻿/*//------- {{ Variables }} -------//*/
/*//------- {{ Styles }} -------//*/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*
body {
    min-width: 1200px;
    margin: 0;
    padding: 50px;
    font: 16px Verdana, sans-serif;
    background: #3498db;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}*/

#wrapper {
    position: relative;
}

.branch-blank {
    position: relative;
    margin-left: 400px;
}

.branch {
    position: relative;
    margin-left: 350px;
}

    .branch:before {
        content: "";
        width: 100px;
        border-top: 2px solid #eee9dc;
        position: absolute;
        left: -150px;
        top: 50%;
        margin-top: 1px;
    }

.hide:before {
    display:none;
}

.blank {
    position: relative;
    min-height: 60px;
    border-left: 2px solid white;
    left: -50px;
}

.entry {
    position: relative;
    /* position: absolute; */
    min-height: 100px;
}

    .entry:before {
        content: "";
        height: 100%;
        border-left: 2px solid #eee9dc;
        position: absolute;
        left: -50px;
    }

    .entry:after {
        content: "";
        width: 50px;
        border-top: 2px solid #eee9dc;
        position: absolute;
        left: -50px;
        top: 50%;
        margin-top: 1px;
        /*border: 2px solid black;*/
    }

    .entry:first-child:before {
        width: 10px;
        height: 50%;
        top: 50%;
        margin-top: 2px;
        border-radius: 10px 0 0 0;
    }

    .entry:first-child:after {
        height: 10px;
        border-radius: 10px 0 0 0;
        /* border: 5px solid red; */
    }

    .entry:first-child {
    }

.special:after {
    height: 10px;
    border-radius: 10px 0 0 0;
    border-left: 2px solid #eee9dc;
}

.special:before {
    /*border: none;*/
    /*content: "";*/
    height: 30%;
    border-left: 2px solid #eee9dc;
    top: 70%;
    /*position: absolute;
      left: -50px;
      border: 2px solid orange;*/
}

.entry:last-child:before {
    width: 10px;
    height: 50%;
    border-radius: 0 0 0 10px;
    /* border: 5px solid red; */
}

.entry:last-child:after {
    height: 10px;
    border-top: none;
    border-bottom: 2px solid #eee9dc;
    border-radius: 0 0 0 10px;
    margin-top: -9px;
}

.entry.sole:before {
    display: none;
}

.entry.sole:after {
    width: 50px;
    height: 0;
    margin-top: 1px;
    border-radius: 0;
}

.label {
    display: block;
    min-width: 200px;
    /*padding: 5px 10px;*/
    line-height: 20px;
    text-align: center;
    border: 2px solid black;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -15px;
    z-index:1;
}

    .label .title-box {
        font-size:18px;
        color:white;
        padding:2px;
    }

    .label span {
        float: left;
        font-size: 14px;
        padding: 0px 5px;
    }

    .top-button {
        display: block;
        min-width: 150px;
        padding: 5px 10px;
        line-height: 30px;
        border: 2px solid yellow;
        border-radius: 5px;
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -27px;
        margin-left: 35px;
    }

.ip:before {
    content: "";
    width: 10px;
    border-right: 2px solid #eee9dc;
    position: absolute;
    top: 30px;
    margin-top: 1px;
    height: 50px;
}

.ip {
    margin-top: -110px;
    position: absolute;
    z-index: -1;
}

.bottom-button {
    display: block;
    min-width: 150px;
    padding: 5px 10px;
    line-height: 30px;
    border: 2px solid green;
    border-radius: 25px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 19px;
    margin-left: 35px;
}

.mp {
    margin-top: 60px;
    position: absolute;
    z-index: 2;
    background: red;
    /* line-height: 20px; */
}

    .mp:before {
        content: "";
        width: 10px;
        border-right: 2px solid #eee9dc;
        position: absolute;
        top: -32px;
        margin-top: 1px;
        height: 30px;
    }

/*We will apply the hover effect the the lineage of the element also*/
/*, .tree li a:hover+ul li a*/
.entry .label:hover,
.entry .label:hover + div .label,
.label:hover {
    background: #c8e4f8;
    color: #000;
    border: 1px solid #94a0b4;
}


/*FROM BRYAN*/
.hasMore {
    /*border: 2px green solid !important;*/
    background: rgb(145 255 70 / 0.68);
}

.title {
    padding-left: 50px;
    white-space: nowrap;
}

#root {
    margin-top: -6px;
}

.genealogy {
    overflow: hidden;
    height: 500px;
}

@media (max-width : 767px) {
    .genealogy {
        overflow: auto;
        height: 500px;
    }
}