.tree_of_life {
  max-width: 2100px;
  margin: 0 auto !important;
  background-color: #00073F;
}
.tree_of_life::before {
  content: "";
  width: 100vw;
  height: 90vh;
  background-image: var(--sfhtol-bg);
  background-size: 100%;
  position: absolute;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
}
.tree_of_life .tol_section {
  min-height: 90vh;
  background-image: var(--sfhtol-bg);
  background-size: cover !important;
  background-position: center !important;
  padding-top: 16vh;
  position: relative;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .tol_section {
    margin-top: 10vh;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .tol_section {
    margin-top: 0;
  }
}
.tree_of_life .title {
  color: #fff;
  font-size: 2rem;
  text-align: center;
  margin-top: 0.5rem;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .title {
    font-size: 1.3rem;
    margin-top: -4vh;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .title {
    font-size: 1.2rem;
    margin-top: 0;
  }
}
.tree_of_life .tree {
  width: 30vh;
  height: 55vh;
  position: absolute;
  transform: translateX(-50%);
  left: 49%;
  margin-top: 5vh;
}
.tree_of_life .tree .star {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-image: var(--sfhtol-star);
  background-size: cover !important;
  position: absolute;
  margin-left: -10px;
  margin-top: -15px;
  animation: blink 4s infinite ease-in-out;
  opacity: 0;
}
.tree_of_life .tree .star.star-0 {
  top: 3%;
  left: 52%;
}
.tree_of_life .tree .star.star-1 {
  top: 10%;
  left: 45%;
}
.tree_of_life .tree .star.star-2 {
  top: 12%;
  left: 60%;
}
.tree_of_life .tree .star.star-3 {
  top: 16%;
  left: 52%;
}
.tree_of_life .tree .star.star-4 {
  top: 18%;
  left: 38%;
}
.tree_of_life .tree .star.star-5 {
  top: 18%;
  left: 69%;
}
.tree_of_life .tree .star.star-6 {
  top: 23%;
  left: 45%;
}
.tree_of_life .tree .star.star-7 {
  top: 25%;
  left: 58%;
}
.tree_of_life .tree .star.star-8 {
  top: 27%;
  left: 72%;
}
.tree_of_life .tree .star.star-9 {
  top: 28%;
  left: 32%;
}
.tree_of_life .tree .star.star-10 {
  top: 31%;
  left: 44%;
}
.tree_of_life .tree .star.star-11 {
  top: 35%;
  left: 60%;
}
.tree_of_life .tree .star.star-12 {
  top: 38%;
  left: 76%;
}
.tree_of_life .tree .star.star-13 {
  top: 36%;
  left: 32%;
}
.tree_of_life .tree .star.star-14 {
  top: 41%;
  left: 48%;
}
.tree_of_life .tree .star.star-15 {
  top: 45%;
  left: 64%;
}
.tree_of_life .tree .star.star-16 {
  top: 41%;
  left: 24%;
}
.tree_of_life .tree .star.star-17 {
  top: 48%;
  left: 39%;
}
.tree_of_life .tree .star.star-18 {
  top: 54%;
  left: 57%;
}
.tree_of_life .tree .star.star-19 {
  top: 52%;
  left: 81%;
}
.tree_of_life .tree .star.star-20 {
  top: 52%;
  left: 24%;
}
.tree_of_life .tree .star.star-21 {
  top: 58%;
  left: 35%;
}
.tree_of_life .tree .star.star-22 {
  top: 63%;
  left: 51%;
}
.tree_of_life .tree .star.star-23 {
  top: 65%;
  left: 74%;
}
.tree_of_life .tree .star.star-24 {
  top: 62%;
  left: 19%;
}
.tree_of_life .tree .star.star-25 {
  top: 69%;
  left: 33%;
}
.tree_of_life .tree .star.star-26 {
  top: 75%;
  left: 55%;
}
.tree_of_life .tree .star.star-27 {
  top: 75%;
  left: 83%;
}
.tree_of_life .tree .star.star-28 {
  top: 73%;
  left: 12%;
}
.tree_of_life .tree .star.star-29 {
  top: 80%;
  left: 27%;
}
.tree_of_life .tree .star.star-30 {
  top: 84%;
  left: 43%;
}
.tree_of_life .tree .star.star-31 {
  top: 83%;
  left: 72%;
}
.tree_of_life .tree .star.star-32 {
  top: 84%;
  left: 11%;
}
.tree_of_life .tree .star.star-33 {
  top: 91%;
  left: 22%;
}
.tree_of_life .tree .star.star-34 {
  top: 92%;
  left: 60%;
}
.tree_of_life .tree .star.star-35 {
  top: 88%;
  left: 90%;
}
.tree_of_life .tree .star.active {
  animation: none !important;
  opacity: 1;
  scale: 2;
  background-image: var(--sfhtol-star-active);
  cursor: pointer;
  transition: all 0.5s linear;
}
@media only screen and (max-width: 900px) {
  .tree_of_life .tree {
    left: 47%;
  }
}
.tree_of_life .new-light {
  position: absolute;
  top: 25%;
  left: 10%;
  width: 35px;
  height: 35px;
  background-image: var(--sfhtol-star);
  background-size: cover !important;
  opacity: 0;
}
.tree_of_life .new-light.animate {
  animation: lightWaveToTree 4s ease-out forwards;
}
.tree_of_life .description {
  position: relative;
  margin-top: -6vh;
  background: linear-gradient(180deg, rgba(0, 7, 63, 0) 0%, #00073f 25%);
  color: #fff !important;
  padding: 3vh 0 10vh;
}
.tree_of_life .description .content {
  max-width: 800px !important;
  margin: 0 auto !important;
}
.tree_of_life .description p {
  color: #fff !important;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .description {
    margin-top: 0;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .description {
    padding: 0 25px;
    margin: 5vh 0;
  }
  .tree_of_life .description p {
    font-size: 15px;
    line-height: 22px;
  }
}
.tree_of_life .search {
  position: absolute;
  top: 46%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  margin-left: 38vh;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tree_of_life .search p {
  color: #fff;
  margin-bottom: 10px;
}
.tree_of_life .search input {
  max-width: 160px !important;
}
.tree_of_life .search .input-group-append {
  background: #fff;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  height: 45px;
}
.tree_of_life .search .input-group-append button {
  background-color: #00B7AB;
  color: #00073f;
  border: 0;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  margin-right: 2px;
}
.tree_of_life .search .input-group-append button:hover {
  background-color: #FFD501;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .search {
    top: 60%;
    margin-left: 42vh;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .search {
    width: 100%;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    margin-top: 20px;
    margin-left: 0;
  }
  .tree_of_life .search input {
    max-width: 100% !important;
  }
}
.tree_of_life .dedication {
  display: none;
  position: absolute;
  bottom: 32%;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 33vh;
  max-width: 360px;
  text-align: left;
  color: #fff;
  font-size: 20px;
}
.tree_of_life .dedication .donor,
.tree_of_life .dedication .inMemory {
  font-weight: 600;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .dedication {
    bottom: 18vh;
    margin-left: 45vh;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .dedication {
    width: 100%;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    bottom: 0;
    transform: none;
    margin-left: 0;
    text-align: center;
    margin-top: -9vh;
    max-width: 100%;
    color: #00073F;
    font-size: 17px;
    line-height: 21px;
    background: #ffd502;
    padding: 10px 0;
  }
}
.tree_of_life .sponsor {
  width: auto;
  position: absolute;
  top: 45%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  margin-left: -38vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tree_of_life .sponsor img {
  width: 100px;
  height: 100px;
  margin-bottom: 8px;
}
.tree_of_life .sponsor a {
  width: 180px;
  background-color: #FFD501;
  font-size: 14px !important;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00073f;
}
@media only screen and (max-width: 1500px) {
  .tree_of_life .sponsor {
    top: 56%;
    margin-left: -42vh;
  }
}
@media only screen and (max-width: 900px) {
  .tree_of_life .sponsor {
    width: 100%;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    transform: none;
    margin-left: 0;
  }
  .tree_of_life .sponsor img {
    display: none;
  }
  .tree_of_life .sponsor a {
    width: 100%;
    max-width: 100%;
  }
}
.tree_of_life #sponsorModal .modal-dialog {
  max-width: 35vw !important;
}
.tree_of_life #sponsorModal .gfield {
  margin: 0 !important;
}
.tree_of_life #sponsorModal .ginput_container_checkbox {
  margin: 10px 0;
}
.tree_of_life #sponsorModal .gfield--type-quantity input {
  padding: 0 20px;
}
.tree_of_life #sponsorModal .ginput_container_total input {
  background: #fff !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: -15px !important;
}
@media only screen and (max-width: 900px) {
  .tree_of_life #sponsorModal {
    max-height: 95vh !important;
  }
  .tree_of_life #sponsorModal .modal-dialog {
    max-width: 100% !important;
  }
}
.tree_of_life .fadeIn {
  animation: fadein 1s ease-in-out forwards;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 0;
    transform: scale(var(--random-scale));
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes lightWaveToTree {
  0% {
    opacity: 0;
    transform: translateX(5%) scale(0.3);
  }
  20% {
    opacity: 1;
    /* Start appearing */
    transform: scale(2);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(38vw, 20vh) scale(2);
  }
}

.sfhtol-instance .highlight { background:yellow; font-weight:bold; }
.sfhtol-instance .modal.sfhtol-open {display:block; opacity:1; position:fixed; inset:0; z-index:1055; overflow:auto; background:rgba(0,0,0,.6);}
.sfhtol-instance .sfhtol-open .modal-dialog {max-width:800px;margin:5vh auto;transform:none;}
.sfhtol-instance .sfhtol-open .modal-content {background:#fff;color:#222;padding:20px;border-radius:6px;}
.sfhtol-instance .sfhtol-open .modal-body {max-height:75vh;overflow:auto;}
.sfhtol-instance .modal:not(.sfhtol-open):not(.show) {display:none;}
