html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #fff9c4;
}

.container {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.container-fluid, .container-xl, .container-lg, .container-md, .container-sm {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.row {
  /*-ms-flex-wrap: wrap;*/
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.form-control:focus {
  border-color: #ffeeb5;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 54, 0.25);
}

.btn:focus, .btn.focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 54, 0.25);
}


i.fa, i.fas {
  padding: 5px;
}


.btn-warning {
  color: #fff;
  background-color: #fed136;
  border-color: #fed136;
}

.btn-warning:hover {
  color: #fff;
  background-color: #fec810;
  border-color: #fec503;
}

.btn-warning:focus, .btn-primary.focus {
  background-color: #fec810;
  border-color: #fec503;
  box-shadow: 0 0 0 0.2rem rgba(254, 216, 84, 0.5);
}


.list-group-item.active {
  background-color: #fed136;
  border-color: #fed136;
}


.tooltip {
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}




/* Legend close button
*/
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}
.close:hover {
  color: #000;
  text-decoration: none;
}
.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
  opacity: 0.75;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
}

.page-section {
  padding: 2rem 0 0 0;
}

.page-section h2.section-heading {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-section h3.section-subheading {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin-bottom: 4rem;
}


#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #212529;
}
#mainNav .navbar-toggler {
  padding: 0.75rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  background-color: #fed136;
  border: 0;
}
#mainNav .navbar-brand {
  color: #fed136;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
}
#mainNav .navbar-brand img {
  height: 1.5rem;
}
#mainNav .navbar-nav .nav-item .nav-link {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.0625em;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fed136;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: none;
    background-color: transparent;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    font-size: 1.5em;
    transition: font-size 0.3s ease-in-out;
  }
  #mainNav .navbar-brand img {
    height: 3rem;
    transition: height 0.3s ease-in-out;
  }
  #mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
  }
  #mainNav.navbar-shrink .navbar-brand svg,
#mainNav.navbar-shrink .navbar-brand img {
    height: 2.5rem;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}
header.masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("images/double-bubble-dark.png");
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: center center;
  /*background-size: cover;*/
}

header.masthead .masthead-subheading {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5rem;
  margin-bottom: 25px;
  font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
header.masthead .masthead-heading {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 2rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  header.masthead .masthead-subheading {
    font-size: 2.25rem;
    font-style: italic;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }
  header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}


/* Timeline
*/
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #607d8b;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 5px solid #fed137;
  border-radius: 100%;
  background-color: #fff;
}
.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li:last-child {
  margin-bottom: 0;
  background-color: #fff9c4;
}
.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-heading h4.subheading {
  text-transform: none;
}
.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

.people {
  margin-bottom: 3rem;
  text-align: center;
  width: 200px;
}
.people img {
  width: 200px;
  height: 200px;
  border: 5px solid #fed137;
}
.people h4 {
  margin-top: 1.5rem;
  margin-bottom: 0;
}



/* Search
*/

.search-section {
    max-width: 576px;
    margin: 50px auto;
}

.search-section .list-group {
  position: absolute;
  max-width: 562px;
  text-align: left;
  z-index: 10;
}

/* Bootstrap 4 text input with search icon */

.has-search .form-control {
    padding-left: 2.5rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    padding: 0.8rem;
}


.list-group-item {
    padding: 0.25rem 1.25rem;
}


.list-group-item span {
    color: #0080ff;
}

form#searchForm .form-group {
  margin-bottom: 1.5rem;
}
form#searchForm .form-group input,
form#searchForm .form-group textarea {
  padding: 1rem;
}
form#searchForm .form-group input.form-control {
  height: auto;
}
form#searchForm .form-group-textarea {
  height: 100%;
}
form#searchForm .form-group-textarea textarea {
  height: 100%;
  min-height: 10rem;
}
form#searchForm p.help-block {
  margin: 0;
}
form#searchForm .form-control:focus {
  border-color: #fed136;
  box-shadow: none;
}
form#searchForm ::-webkit-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
form#searchForm :-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
form#searchForm ::-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
form#searchForm :-ms-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}







/* Flip Cards CSS */

.card-body {
  display: flex;
  padding: 1.25rem;
}

.card-header {
  padding: 1rem .5rem;
}

.card-footer {
  padding: .5rem 0;
}

.card-container {
  display: grid;
  perspective: 700px;
  min-width: 300px;
  max-width: 400px;
  padding-bottom: 20px;
}

.card-flip {
  display: grid;
  grid-template: 1fr / 1fr;
  grid-template-areas: "frontAndBack";
  transform-style: preserve-3d;
  transition: all 0.7s ease;
}

.card-flip div {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.front {
  grid-area: frontAndBack;
}

.back {
  grid-area: frontAndBack;
  transform: rotateY(-180deg);
}


.image-link {
  position: relative;
  display: block;
  margin: 0 auto;
}

.image-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(254, 209, 54, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}

.image-hover .image-hover-content {
  font-size: 1.25rem;
  color: white;
}

.image-link:hover .image-hover {
  opacity: 1;
}


/* Graph style
*/

g a {
  text-decoration: none;
}

tspan {
  font-size: 0.9em;
  /*fill:black;*/
}

text {
  font-size: 0.9em;
  /*fill:black;*/
}

.sidebar-button {
  position: fixed;
  top: 70px;
  background-color: #21252a;
  border-color: #21252a;
  z-index: 1;
}

#sidebar {
  height: 100vh;
  width: 350px;
  position: fixed;
  left: 0;
  background-color: #F5F5F5;
  overflow-x: hidden;
  //display: block;
  padding-top: 120px;
}

.buttons {
  top:85px;
  right:5px;
  z-index: 9;
  font-size: 1.7rem;
  width: 50px;
}

.buttons .fa-users {
  background-color: #ff5722;
  padding-top: 10px;
}

.buttons .fa-twitter {
  background-color: #55acee;
}

.buttons .fa-question {
  background-color: #3e4551;
  padding-top: 10px;

}


.shadow-circle {
  border-radius: 50%;
  box-shadow: 0px 5px 10px black;
  margin: 3px;
  padding-top: 10px;
  width: 47px;
  height: 47px;
  color: white;
}


.shadow-circle:hover {
  opacity: 0.7;
}




.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  padding-top: 90px;
  width: 350px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.right .modal-body {
  padding: 15px 15px 80px;
}


.modal.right.fade .modal-dialog {
  right: -320px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
       -o-transition: opacity 0.3s linear, right 0.3s ease-out;
          transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
  right: 0;
}

.modal-content {
  border-radius: 0;
  border: none;
}

.modal-header {
  border-bottom-color: #EEEEEE;
  background-color: #FAFAFA;
}





#node-actions {
  position: fixed;
  width: 30px;
  background-color: #fff9c4;
  border-radius: 50%;
}

.popup-circle {
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0px 0px 10px black;
  margin: 3px;
  padding: 3px;
  width: 25px;
}

/*
.fa-twitter {
  background: #55ACEE;
}

.fa-instagram {
  background: #125688;
}

.fa-facebook-f {
  background: #3B5998;
}

.fa-youtube {
  background-color: #ed302f;
}
*/


.footer-copyright {
    overflow: hidden;
    color: rgba(255,255,255,0.6);
    background-color: rgba(0,0,0,0.2);
}

.stylish-color-dark {
    background-color: #3e4551 !important;
}

.person-m {
  stroke-width: 3px;
  stroke: #3498DB;
}

.person-f {
  stroke-width: 3px;
  stroke: #ff80df;
}

.bold-person {
  stroke-width: 6px;
  /*stroke-dasharray: 5;*/
}

.main-person {
  stroke-width: 2px;
  fill: white;
}


.family {
  fill: white;
  stroke: gold;
  stroke-width: 3px;
}

.bold-family {
  stroke-width: 6px;
}

.married {
  stroke: #009933;
  stroke-width: 4px;
}

.spouse {
  stroke: #009933;
  stroke-width: 4px;
}


.unknown {
  stroke: purple;
  stroke-width: 4px;
}

.partner {
  stroke: #ff0000;
  stroke-width: 4px;
}

.child {
  stroke: #999;
  stroke-width: 3px;
}

.sibling {
  stroke: #000099;
  stroke-width: 4px;
}


.btn-group-xs > .btn, .btn-xs {
  width: 140px;
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: 1;
  border-radius: .2rem;
}



.footer-link:hover .fa-chrome {
  color: #F2B50F;
}

.footer-link:hover .fa-firefox {
  color: #FF6600;
}

.footer-link:hover .fa-edge {
  color: #6699FF;
}

.footer-link:hover .fa-opera {
  color: #f2192c;
}

.footer-link:hover .fa-youtube {
  color: #ed302f;
}

.footer-link:hover .fa-twitter {
  color: #55ACEE;
}

.footer-link:hover .fa-instagram {
  color: #d02c76;
}

.footer-link:hover .fa-facebook-f {
  color: #1873eb;
}




.social i {
  font-size: 2rem;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  color:white;
  width: 60px;
  height: 60px;
  padding-top: 10px;
}

.extensions i {
  font-size: 4rem;
  color: white;
}



/* Picture Viewer
*/

.picture {
  position: relative;
  display: inline-block;
}

.pic-node {
  fill: yellow;
  fill-opacity: 0.15;
}

.pic-node:hover {
    stroke: #8bc34a;
    stroke-width: 3;
    fill-opacity: 0;
}

.pic-node-selected {
  fill-opacity: 0;
  stroke: #8bc34a;
  stroke-width: 4;
}


.pic-node-fg {
  fill-opacity: 0;
}

.pic-node-bg {
  fill: black;
  fill-opacity: 0.5;
}

.depicted-list {
  padding: 0;
}

.overlay-fade {
  fill-opacity: 0.5;
}


#pic-canvas {
  padding-top: 110px;
  padding-right: 50px;
}

.pic-title {
  margin-bottom: -2px;
  margin-left: 15px;
}

.fa-angle-double-right {
  color: yellow;
}


.pic-svg {
  border-radius: 20px;
}

#actions_div {
  z-index: 9;
  position: fixed;
  width: 30px;
  /* background-color: #fff9c4; */
  border-radius: 50%;
}
