* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    color: black;
    font-family: sans-serif;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.Top {
    // align-items: center;
    // justify-content: center;
    // background-color: darkgreen;
    // color: #ebebeb;
    background-color: #e4c400;
    color: black;
    font-size: 2rem;
    position: relative;
    z-index: 10;
    height: 120px;
}
.Top div {
	height: 80px;
	line-height: 40px;
    display: flow-root;
    padding-top: 2px;
    padding-left: 30px;
    padding-right: 30px;
    white-space: nowrap;
}

.Top div > a {
    text-decoration: none;
    color: black;
}

.Top div > a img {
    float: left; 
    height: 75px;
    vertical-align: top;
    padding-right: 1em;
    //padding-top: 5px;
    //padding-bottom: 5px;
}

.Top .menu  {
	color: white;
    background-color: #333;
	height: 40px;
	line-height: 40px;
    font-size: 1.5rem;
    position: relative;
    padding: 0px;
    margin: 0px;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.menu li:first-child {
    float: left;
    width: 3em;
}

.menu li {
    float: left;
    width: 7em;
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
}

.menu li ul {
    display: none;
	position:absolute;
    width: 13em;
    padding:0 ;
    font-size: 1rem;
    background-color: darkgray;
    z-index: 1!important;
    color: white;
}

.menu li ul li {
    width: 13em;
}

.menu ul li:hover, .menu ul li:hover a {
    background-color: darkgray;
}

.menu ul li li:hover, .menu ul li li:hover a {
	background-color: lightgray;
    color: black; 
}


.menu li:hover ul {
    display: block;
    z-index:1!important;
}

.menu li li {
    clear:both;
    text-align:left;
}

.Bottom {
    //display: flex;
    //background-color: darkgreen;
    background-color: #e4c400;
    position: relative;
    height: 20px;
    line-height: 20px;
    padding-left: 1em;
    padding-right: 1em;
}
.Bottom .Copyright {
	float:left;
}
.Bottom .Credits {
	float:right;
}

.Main {
    display: flex;
    overflow: hidden;
    height: 100vh;
    margin-top: -140px;
    padding-top: 140px;
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    will-change: overflow;
}
.Main .left {
    width: 50%;
    /*
    overflow: auto;
    height: auto;
	padding: 1%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
*/
}

.Main .right {
    width: 50%;
/*
    overflow: auto;
    height: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
*/
}

.Main .fullwidth {
    width: 100%;
    overflow: auto;
    height: auto;
	padding: 1%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

/* Tooltip container */
.tooltip {
    position: relative;
    /* display: inline-block; */
    /* border-bottom: 1px dotted black; */ /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    /* width: 120px; */
    background-color: black;
    color: #fff;
    /* text-align: center; */
    padding: 10px;
    margin: 0px;
    border-radius: 6px;
display: block;
 
    width: 480px;
    bottom: 100%;
    left: 50%; 
    margin-left: -240px; /* Use half of the width (120/2 = 60), to center the tooltip */
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index:100000!important;
}

.tooltip .tooltiptext div {
}

.tooltip .tooltiptext div + div {
    display: flow-root;
    font-size: smaller;
}

.tooltip .tooltiptext div + div span {
    float: right;
}

.tooltip .tooltiptext table {
    color: white;
    font-size: smaller;
}

.tooltip .tooltiptext-right {
    visibility: hidden;
    font-size: small;
    background-color: black;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    position: absolute;
    width: 480px;
    z-index: 1;
    top: -5px;
    left: 105%; 
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip .tooltiptext-right::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip:hover .tooltiptext-right {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltiptext {
    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext-right {
    opacity: 0;
    transition: opacity 1s;
}



/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 14px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    height: 48px;
}

.modal-button {
	margin: 10px;
	float: left;
	padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    text-align: center;
    width: 200px;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    text-decoration: none;
}

div.report {
	display: none;
}

div.report table {
	border-collapse: collapse;
    border-spacing: 0; 
    margin-left: 2%; 
    width: 96%;
    background-color: #F0F0F0;
}

div.report table td {
	padding: 5px;
}

div.report table tbody.error {
	background-color: #ffb3b3; 
	border-style: solid; 
	border-with: medium; 
	border-color: red;
}

div.report table td.error {
	color: #900000;
	font-weight: bold;
}

div.report table tbody.ok {
	background-color: #b3ffb3; 
	border-style: solid; 
	border-with: medium; 
	border-color: green;
}

dl.references {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0
}
dl.references dt {
  float: left;
  width: 5%;
  padding: 0;
  margin: 0
}
dl.references dd {
  float: left;
  width: 95%;
  padding: 0;
  margin: 0
}


div.personlist {
    padding: 0;
    margin: 0;
}

div.personlist a {
    text-decoration: None;
    color: inherit;
}

div.personlist div.header {
    text-align: center;
    background: #000000;
    color: white;
    font-weight: bold;
    font-size: larger;
    padding-top: 0.25em; 
    padding-bottom: 0.25em;
}

div.personlist div.header:nth-child(4n) {
    background: #202020;
}

div.personlist div.container {
    clear: both; 
}

div.personlist div.person {
    padding: 1em;
    background: #D9E0FA;
}

div.personlist-notree div.person:nth-child(even)  {
    background: #E9F0FA;
}

div.personlist div.even {
    background: #E9F0FA;
}


div.personlist div.person > div {
    display: flow-root;
    font-weight: bold;
}

div.personlist div.person > div span {
    float: right;
}

div.personlist div.person > div + div {
    display: flow-root; 
    font-weight: normal;
    padding-left: 1em;
    padding-right: 1em; 
    padding-bottom: .5em;
}

div.personlist div.person > div + div span {
    float: right;
    vertical-align: top;
}

div.personlist div.person > div + div ~ div {
    display: table;
    vertical-align: top;
    padding-left: 1em;
}

div.personlist div.person > div + div ~ div.info {
    margin-top: -.5em;
    padding-bottom: .5em;
    font-style: italic;
}

div.personlist div.person > div + div ~ div span {
    display: table-cell;
    float: left;
    padding-right: 2em;
}

div.personlist div.person > div + div ~ div span + span {
}

div.personlist .tree {
  cursor: pointer; 
  user-select: none; /* Prevent text selection */
}

div.personlist .tree::before {
  content: "\25BA";
  display: inline-block;
  float: left;
  clear: both;
  margin-left: .5em; 
  margin-right: .5em;
  font-size: smaller;
  white-space: nowrap;
}

div.personlist .tree-hidden::before {
    visibility: hidden;
}

div.personlist .tree-open::before {
  transform: rotate(90deg); 
}


div.leftUpper {
    height: 66%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

div.leftUpper > :not(div.personDetails) {
    padding-left: 2%; 
    padding-right: 2%; 
}

div.leftLower {
    height: 34%;
    padding: 2%;
}

div.rightFull {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

div.rightUpper {
    height: calc(100% - 3em);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    background: #202020;
}

div.rightLower {
    height: 3em;
    background: black;
    padding: .5em;
}

div.rightLower .fr {
    float: right;
}

div.switch-label {
    display: inline-block;
    color: white;
    height: 2.5em;
    font-weight: bold;
    margin-right: 1em;
    vertical-align: middle;
}

div.tree-switch {
    width: 11em; display: inline-block;
}

div.personDetails > * {
    padding-left: 2%;
    padding-right: 2%;
}

div.personDetails > h1  {
    display: flow-root;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 2%;
    background-color: #F0F0F0;
}

div.personDetails > h1 span {
    float: right;
}

div.personDetails > h1 + div {
    display: flow-root;
    background-color: #F0F0F0;
    padding-top: .5em;
    padding-bottom: .5em;
    margin-bottom: .5em;
}

div.personDetails > h1 + div div > span {
    float: right;
}

div.personDetails > h1 + div > p {
    padding-top: .5em;
    margin-top: .5em;
    margin-bottom: 0;
    content: "";
    display: table;
    clear: both;
}

div.personDetails > div + table tr th {
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

div.personDetails > div ~ ol {
    background-color: white;
    font-size: smaller;
    margin-top: 0;
    margin-bottom: 0;
}

div.personDetails > div ~ ol li {
    margin-left: 3em;
    /*margin-right: 2%;*/
}

#map {
    width: 100%;
    height: 100%;
}

/* Style the caret/arrow */
.caret {
  cursor: pointer; 
  user-select: none; /* Prevent text selection */
  white-space: nowrap;
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: "\25BA";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg); 
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
}

.gallery {
  width: 100%;
  float: left;
}
.gallery img {
  width: 100%;
  height: auto;
}
.gallery figure {
  display: block;
  float: left;
  margin: 0 5px 5px 0;
  width: 150px;
}
.gallery figcaption {
  display: none;
}

.leaflet-popup-content > table {
    font-size: inherit;
}
.leaflet-popup-content > table table {
    font-size: inherit;
}  
