body {
    margin: 0;
    font: 11px "Arial";
}

div.header {
    font-size: 20px;
    padding: 5px;
    font-type: bold;
    text-align: center;
}
a {
    color: inherit;
    text-decoration: none;
}
.top-menu {
    margin: 3px;
    font-weight: bold;
    position: fixed;
    /* height: 100px;*/
    /*width: 500px;*/
    right: 0px;
    z-index: 100;
    background-color: red;
}

.hidden {
    display: none;
}

.errorinfo {
    color: red;
}
.faminfo {
        /*background-color: red;*/
    line-height: 17px;
    width: 500px;
}


a:link.faminfo_a {
    color: #0000EE;
    text-decoration: underline;
}

a:visited.faminfo_a {
    color: #551A8BE;
    text-decoration: underline;
}

#treecontainer {
    /*height: 100%;
    width: 100%;
    */
    /* https://css-tricks.com/forums/topic/setting-a-div-height-to-the-window-viewport-size/ */
    position: fixed !important;
    /*position: absolute;*/
    top: 30px;
    right: 0;
    bottom: 0;
    left:0;
    background-color: linen;
    border-style: solid;
    border-color: black;
    padding: 10px;
    margin: 3px;
    overflow: hidden;

}
.treedivbare {
    background-color:#bac6e0;/*beige;*/
    z-index: -10;
}
.treediv {
    position: absolute;
    background-color:#bac6e0;/*beige;*/
    border-style: solid;
    border-color: oldlace;
    padding: 10px;
    z-index: -10;
    cursor: move;
}

ul.help {
    list-style-type:none;
}

.famdiv {
    position: absolute;
    border-style: solid;
    border-width: 1px;
    background-color: #d3d5fe; /*211, 213, 254;*/
    border-radius: 5px;
    height: 60px;
    cursor: cell;
}

.text_table_div {
    position: absolute;
    width: 100%;
    top: 9px;
}

.parentdiv {
    position: absolute;
    width: 7px;
    height: 9px;
    top: -1px;
}
.childdiv {
    position: absolute;
    width: 7px;
    height: 9px;
    bottom: 1px;
}
.famdivo {
    position: absolute;
    background-color: lightgreen;
    border-style: solid;
    border-width: 1px;
    border-color: black;
}
.famdiv.selected {
    border-width: 2px;
    background-color: #fafcb6; /*#70CC70;*/
    z-index: 1;
}
.famnamediv {
    position: relative;
    padding: 0.5em;
    line-height: 120%;
    text-align: center;
    min-width: 10em;
}

.famnameleft {
    float:left;
}

.famnameright {
    float: right;
}

.famnamemid {
    float: left;
    margin-top: 0.5em;
}

.children {
    /*background-color:red;*/

}

.childrentable {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.marriagedatediv {
    position: absolute;
    width: 100%;
    bottom: 10px;
}
.marriagedate {
    width: 80%;
    text-align: center;
    margin: 0 auto;
}
.fcode {
    width: 25%;
    text-align: center;
    margin: 0 auto;
}
.parenttable {
    width: 100%;
    border-spacing: 7px 5px;
    border-collapse: separate;
}
.childtd {
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 97%;
}

.perc50w {
    width: 50%;
}

.childimgdiv {
    /*width: 16px;
    height: 16px;*/
    position: relative;
}

.descendantlinem {
    position: absolute;
    border-top: 1px solid blue;
    left: 50%;
    z-index: -2;
    margin-top: 1px;
}

.descendantlinef {
    position: absolute;
    border-top: 1px solid red;
    left: 50%;
    z-index: -1;
    margin-top: 1px;
}
.descendantlinef.selectedline {
    border-top-width: 2px;
}

.descendantlinem.selectedline {
    border-top-width: 2px;
}

ul.main {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li.main {
    font-size: 12px;
    float: right;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 5px 6px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #111;
}

.active {
    background-color: #4CAF50;
}


.font15 {
    line-height: 200%;
    font-size: 150%;
}
.alertify-logs {
/*
    font-weight: bold;
    position: fixed;
    bottom: 0px;
    background-color: red;
    padding: 3px;
    margin-left: 5px;
    margin-bottom: 5px;
    */
}

.savediv {
    display: none;
    position: fixed;
    z-index: 1;
    margin: 0.5em;
    padding: 1em;
    background-color: white;
    font: 15px "Arial";
}

.save-content {
    position: relative;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.save-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.menu_item1 {
    cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
