@keyframes tonext {
  75% {
    left: 0;
  }

  95% {
    left: 100%;
  }

  98% {
    left: 100%;
  }

  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }

  95% {
    left: -300%;
  }

  98% {
    left: -300%;
  }

  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }

  97% {
    scroll-snap-align: none;
  }

  99% {
    scroll-snap-align: none;
  }

  100% {
    scroll-snap-align: center;
  }
}

body {
  max-width: 37.5rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: "Lato", sans-serif;
}

* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent;
  /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 60%;
  filter: drop-shadow(0 0 10px #0003);
  perspective: 100px;
  display: none;
  margin: 40px auto -200px auto;
  width: 86%;
}

.ancGrid.ffSearchTop.crawlPath ul li {
  display: inline-block;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  counter-increment: item;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  text-align: center;
  transform: scale(0.5);
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 37.5%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%) scale(0.5);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  content: "";
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

#app {
  background-color: white;
}

/************ HEADER TRIAL SECTION ************/
#headerImage {
  width: 100%;
  height: auto;
  top: -15%;
  object-fit: cover;
  transform: scaleX(1.02);
  -webkit-clip-path: polygon(0% 0%, 0% 60%, 50% 84%, 100% 60%, 100% 0%);
  clip-path: polygon(0% 0%, 0% 60%, 50% 84%, 100% 60%, 100% 0%);
}

#trialBar {
  padding: 45px;
  box-shadow: 1px 1px 5px #a9a9a9;
  text-align: center;
  z-index: 9;
  left: 0;
  right: 0;
  cursor: default;
  margin-top: 15vw;
}

#trialContainer {
  position: relative;
  width: 100%;
  display: inline-block;
  overflow: hidden;
  height: fit-content;
}

.textBoxCol {
  padding-left: 0;
}

.sidePadded {
  padding: 0 20px 0 20px;
}

.section-heading {
  font-size: 35px;
  line-height: 35px;
  margin-bottom: 10px;
}

.bold {
  font-weight: 600;
}

/************ CRLPATH SECTION ************/
.ffSearchTop.ancGrid {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  width: 97%;
}

.ffSearchTop.ancGrid.crawlPath {
  margin-top: 20px;
}

.ffSearchTop h3.text4xlrg {
  margin-bottom: 20px;
}

a.underline {
  margin-right: 3px;
}

#ffSurnameBtn {
  width: 100%;
}

/************ BOTTOM SECTION ************/

#section-heading2 {
  font-size: 32px;
  line-height: 32px;
  margin-bottom: 15px;
}

#bottomContainer {
  margin: 20px auto 0 auto;
  text-align: center;
  width: 70%;
}

.section-subheading {
  font-size: 28px;
  margin-bottom: 5px;
}

#bottomContainer h3 {
  font-size: 20px;
}

/************ BOTTOM CARDS ************/
/*@media (max-width: 1000px) {*/

/*}*/
/*@media (min-width: 1001px) {*/

/*}*/
#bottomCards {
  margin: 40px auto -50px auto;
  width: 1000px;
}

#recordCard1,
#recordCard2,
#recordCard3 {
  background-color: #f5f5f5;
  margin: 0 1.66667%;
  border-radius: 8px;
  padding: 0;
  height: 333px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#recordCard1.spanishCard,
#recordCard2.spanishCard,
#recordCard3.spanishCard {
  height: 358px;
}

#recordCard1:hover,
#recordCard2:hover,
#recordCard3:hover {
  box-shadow: 0 0 0 3px #a9a9a9;
  text-decoration: none;
}

.recordImg {
  width: 100%;
}

#historicalDescription1,
#historicalDescription2,
#historicalDescription3 {
  font-weight: 400;
  font-size: 18px;
  padding: 15px 20px;
}

#whitesmoke {
  background-color: #ececec;
  width: 100%;
  height: 150px;
}

#FooterRegion {
  margin-top: 0 !important;
}

@media (min-width: 1480px) {
  #headerImage {
    clip-path: polygon(0% 0%, 0% 40%, 50% 74%, 100% 40%, 100% 0%);
    -webkit-clip-path: polygon(0% 0%, 0% 40%, 50% 74%, 100% 40%, 100% 0%);
  }
}

@media (min-width: 1680px) {
  #headerImage {
    clip-path: polygon(0% 0%, 0% 30%, 50% 64%, 100% 30%, 100% 0%);
    -webkit-clip-path: polygon(0% 0%, 0% 30%, 50% 64%, 100% 30%, 100% 0%);
  }
}

@media (min-width: 1940px) {
  #headerImage {
    clip-path: polygon(0% 0%, 0% 20%, 50% 54%, 100% 20%, 100% 0%);
    -webkit-clip-path: polygon(0% 0%, 0% 20%, 50% 54%, 100% 20%, 100% 0%);
  }
}

@media (min-width: 2310px) {
  #headerImage {
    clip-path: polygon(0% 0%, 0% 20%, 50% 44%, 100% 20%, 100% 0%);
    -webkit-clip-path: polygon(0% 0%, 0% 20%, 50% 44%, 100% 20%, 100% 0%);
  }
}

@media (min-width: 2830px) {
  #headerImage {
    top: -30%;
  }
}

@media (min-width: 3180px) {
  #headerImage {
    top: -35%;
  }
}

@media (min-width: 3335px) {
  #headerImage {
    top: -45%;
  }
}

@media (max-width: 1025px) {
  #headerImage {
    width: 150%;
    right: -25%;
  }

  #trialBar {
    margin-top: 20vw;
  }

  #trialBar,
  #bottomContainer {
    width: 86%;
  }

  #bottomCards {
    display: none;
  }

  .carousel {
    display: block;
    margin-bottom: -20vw;
  }

  #recordCard1,
  #recordCard2,
  #recordCard3 {
    margin: 0 15%;
  }

  #whitesmoke {
    height: 33vw;
  }
}

@media (max-width: 1005px) {

  .ancCol,
  .ancGridPadded.ancGridNoGutters {
    padding-left: 0 !important;
  }
}

@media (max-width: 871px) {
  .carousel {
    padding-top: 68vw;
  }
}

@media (max-width: 861px) {

  #recordCard1,
  #recordCard2,
  #recordCard3 {
    height: 280px;
  }

  #trialBar {
    padding: 0;
  }

  #headerImage {
    top: -10%;
  }

  .section-heading {
    font-size: 4vw;
    line-height: 4vw;
    margin-bottom: 5vw;
  }

  .ffSearchTop.ancGrid {
    margin: 0 8.5%;
    width: 83%;
  }

  .ffSearchTop.ancGrid.crawlPath {
    margin: 0 auto !important;
  }
}

@media (max-width: 610px) {
  .carousel {
    padding-top: 95vw;
  }

  .section-heading {
    margin-bottom: 1vw;
  }

  .ffSearchTop.ancGrid {
    padding: 0 0 2vw 0;
  }

  #trialBar {
    padding: 3vw 0;
  }

  #section-heading2 {
    font-size: 6vw;
    line-height: 6vw;
  }

  .section-subheading {
    font-size: 4vw;
  }

  #bottomContainer h3 {
    font-size: 3vw;
  }
}

@media (max-width: 485px) {
  .carousel {
    padding-top: 82vw;
  }

  .ffSearchTop.ancGrid.crawlPath {
    font-size: 3vw;
  }

  .normal {
    font-size: 3vw;
  }
}

@media (max-width: 415px) {
  .carousel {
    padding-top: 88vw;
    margin-bottom: -40vw;
  }

  #whitesmoke {
    height: 60vw;
  }
}

@media (max-width: 375px) {
  .section-heading {
    padding-top: 1vw;
    margin-bottom: 3vw;
  }

  #surname,
  #ffSurnameBtn {
    font-size: 5vw;
    height: 9vw;
    line-height: unset;
    min-height: unset;
  }

  #ffSurnameBtn {
    padding: unset;
  }

  #recordCard1,
  #recordCard2,
  #recordCard3 {
    height: 250px;
  }

  #historicalDescription1,
  #historicalDescription2,
  #historicalDescription3 {
    font-size: 4vw;
  }
}

@media (max-width: 340px) {

  #recordCard1,
  #recordCard2,
  #recordCard3 {
    height: 220px;
  }
}

@media (max-width: 317px) {
  .carousel {
    padding-top: 95vw;
  }

  .carousel-navigation {
    bottom: 0;
  }
}

@media (max-width: 260px) {
  .carousel {
    padding-top: 110vw;
  }

  #ffTopLevel>div {
    margin: 0;
  }
}

@media (max-width: 240px) {
  #headerImage {
    top: -15%;
  }

  #trialContainer {
    height: fit-content;
  }
}

@media (max-width: 190px) {
  #headerImage {
    top: -20%;
  }
}

.faqs-container {
  margin-top: 7rem;
  position: relative;
  margin-bottom: 3rem;
}

.faqs-section {
  background-color: #fff;
}

.faqs-section .page {
  position: relative;
}

.faqs-section .pagePadded {
  padding: 20px;
}

.faqs-section .pageWidth {
  width: 1200px;
}

.faqs-section .faqTitle {
  font-size: 48px;
}

.faqs-section .faqContents li button.txtlrg {
  font-size: 24px;
}

@media only screen and (max-width: 780px) {
  .faqs-section .faqTitle {
    margin-top: 10vw;
    font-size: 30px;
  }
  .faqs-section .faqContents li button.txtlrg {
    font-size: 18px;
  }
}

.faqs-section .faqContents li button.faqButton {
  padding: 10px 15px;
  text-decoration: none;
  width: 100%;
  border-top: 1px solid #555;
}

.faqs-section .faqContents li button.faqButton .faqQuestionContainer>.icon {
  display: inline-flex;
  align-items: center;
  float: right;
  font-size: 36px;
  line-height: 1em;
  transition: all 0.2s;
  @media only screen and (max-width: 780px) {
    font-size: 26px;
  }
}

.faqs-section .faqContents li button.faqButton.activeFaqButton .faqQuestionContainer>.icon {
  transform: rotate(-180deg);
}

.faqs-section .faqContents li:nth-of-type(1) button.faqButton {
  border-top: none;
}

.faqs-section .faqContents li {
  color: #777;
  padding: 5px 10px 0px 10px;
  font-size: 16px;
  top: 5px;
  left: -15px;
}

.faqQuestionContainer {
  display: flex;
  margin: 0 auto;
}

.faqQuestion {
  width: 100%;
  padding-right: 10px;
}

.faqs-section .faqAnswer {
  display: block;
  overflow: hidden;
  background-color: #fff;
  padding: 0px 20px;
  margin-bottom: 0px;
  max-height: 0px;
  transition: all 0.2s ease-out;
}

.faqs-section .faqAnswer.faqAnswerActive {
  max-height: none;
  padding: 20px;
  margin-bottom: 10px;
}
