@import url("https://fonts.googleapis.com" crossorigin);
@import url("https://fonts.gstatic.com" crossorigin);
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
#oneprimerica, #oneprimerica + p {display: none;}
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;	
  color: #333;
}

a {
  color: #4a8ecc;
  cursor: pointer;
}

a:hover {
  color: #044c7f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.btn-download {
  border-radius: 0.8em;
  border-color: #a72c31;
  border-width: 0.25em;
  background: #ed1c24;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1em;
  text-transform: uppercase;
  padding: 0.2em 1.5em;
}
.btn-download:hover {
  background: #a72c31;
}

hr {
  height: 0;
  border: 2px solid #044c7f;
  width: 90%;
  margin: 2em auto;
  opacity: 1;
}
.container p {
  font-size: 1.2em;
  line-height: 1.7em;
}
span.sr-only {
  visibility: hidden;
}
.profile-picture {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}
.border-dk-red {
  color: #fff;
  background-color: #e9212d;
  border-color: rgba(165, 46, 54, 1);
  border-width: thick !important;
}
.border-dk-red:hover {
  background-color: rgba(165, 46, 54, 1);
  border-color: #e9212d;
}

/*--------------------------------------------------------------
# Videos
--------------------------------------------------------------*/
#videos #main {
  margin-top: 15vh;
}
video {
  background: #000;
}
.video-container {
  position: relative;
  display: flex;
  /*width: max-content;
    height: max-content;*/
  justify-content: center;
  align-items: center;
}
.video-container #video {
  /*width: 100%;
    height: auto;
    border-radius: 20px;*/
}
.video-container .bi.bi-play-btn,
.video-container .bi.bi-play-btn-fill {
  position: absolute;
  height: auto;
  top: calc(50% - 2.5vw);
  padding: 0 0.5em;
  width: 25%;
  display: flex;
  justify-content: space-around;
  opacity: 1;
  transition: opacity 0.4s;
  z-index: 9997;
  /*color: #4a8ecc;*/
  color: #cc3333;
  font-size: 5vw !important;
}
.video-container .controls {
  position: absolute;
  background: #044c7f;
  height: 2em;
  bottom: 0.9em;
  padding: 0 0.5em;
  width: 100%;
  display: flex;
  justify-content: space-around;
  opacity: 0.05;
  transition: opacity 0.4s;
}
/*#home .video-container .controls {bottom: 0;}*/
.video-container:hover .controls {
  opacity: 1;
}
.video-container .controls button {
  background: transparent;
  color: #fff;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  padding-bottom: 2px;
}
.video-container .controls .timeline {
  flex: 1;
  display: flex;
  align-items: center;
  border: none;
  /*border-right: 3px solid #ccc;
    border-left: 3px solid #ccc;*/
}
.video-container .controls .timeline .bar {
  background: rgba(1, 1, 65, 0.5);
  height: 4px;
  flex: 1;
}
.video-container .controls .timeline .bar .inner {
  background: #ccc;
  width: 0%;
  height: 100%;
}
.video-container .bi {
  font-size: 1.4em !important;
}
.video-container .bi::before,
.video-container [class^='bi-']::before,
.video-container [class*=' bi-']::before {
  vertical-align: -0.2em !important;
}
@media (max-width: 575px) {
  video-container .bi.bi-play-btn,
  .video-container .bi.bi-play-btn-fill {
    top: calc(50% - 5vw);
    font-size: 10vw !important;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #044c7f;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #68899e;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#home #header {
  transition: all 0.5s;
}

#header {
  z-index: 9999;
  /*height: 141px;*/
  background: #4a8ecc;
  /*padding: 0 3em;*/
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  background: #4a8ecc;
}
#home #header {
  opacity: 0;
}
#home #header.header-scrolled {
  opacity: 1;
}

@media (max-width: 575px) {
  #header {
    height: 141px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  /*align-items: center;*/
}

.navbar li {
  position: relative;
}
.navbar-brand {
  padding: 0 !important;
}
.navbar-brand img {
  height: 90px;
  width: auto;
  margin: 0 0 1em 0;
}
.navbar-brand h1 {
  display: none;
}
.navbar a,
.navbar a:focus {
  display: flex;
  /* align-items: center;*/
  justify-content: space-between;
  padding: 10px 15px;
  color: #fff;
  white-space: nowrap;
  /*transition: 0.3s;*/
  font-size: 1.1em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  /*font-weight: 600;*/
  letter-spacing: 1px;
  text-decoration: none;
}

.navbar a i,
.navbar a:focus i {
  font-size: 1.1em;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #044c7f;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 0.9em;
  text-transform: none;
  font-weight: 400;
  color: #3b434a;
  letter-spacing: 1px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #044c7f;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(36, 41, 46, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 14px;
  color: #3b434a;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #ffb727;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #ffb727;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: #4a8ecc url('/public/realhmw/images/how-money-works-animated.svg');
  background-color: #4a8ecc;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
#hero-sp {
  width: 100%;
  height: 100vh;
  background: #4a8ecc
    url('/public/realhmw/images/how-money-works-animated-sp.svg');
  background-color: #4a8ecc;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

#hero:before,
#hero-sp:before {
  content: '';
  background: rgba(0, 0, 0, 0);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-container,
#hero-sp .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  padding: 0 15px;
}

#hero h1,
#hero-sp h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-family: 'Satisfy', serif;
  color: #fff;
}

#hero h2,
#hero-sp h2 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#hero .btn-scroll,
#hero-sp .btn-scroll {
  transition: 0.4s;
  color: rgba(255, 255, 255, 0.6);
  animation: up-down 1s ease-in-out infinite alternate-reverse both;
  margin-bottom: 8em;
}

#hero .btn-scroll i,
#hero-sp .btn-scroll i {
  font-size: 48px;
}

#hero .btn-scroll:hover,
#hero-sp .btn-scroll:hover {
  color: #ffb727;
}

@media (min-width: 1024px) {
  #hero,
  #hero-sp {
    background-attachment: fixed;
  }
}

@media (max-width: 575px) {
  #hero h1.#hero-sp h1 {
    font-size: 40px;
  }

  #hero h2,
  #hero-sp h2 {
    text-align: center;
    margin-bottom: 30px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0;
}

.section-bg {
  background-color: white;
}

.section-title {
  text-align: left;
}

.section-title h2 {
  font-size: 3.25em;
  line-height: 1.25em;
}

.section-title span {
  /*position: absolute;*/
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.6em;
  line-height: 0;
}

.section-title p {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
@media (max-width: 991px) {
  .section-title h2 {
    font-size: 64px;
    line-height: 66px;
    margin-bottom: 15px;
  }
  .section-title span {
    font-size: 36px;
  }
  *.border-left {
    border-left: none !important;
  }
  .ps-5 {
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  }
}
@media (max-width: 767.98px) {
  .section-title h2 {
    font-size: 60px;
    line-height: 62px;
  }
}
@media (max-width: 575px) {
  .section-title h2 {
    font-size: 44px;
    line-height: 46px;
    margin-bottom: 15px;
    width: 100% !important;
  }

  .section-title span {
    font-size: 32px;
  }
  .concept {
    padding: 6em 3em !important;
  }
}

/*--------------------------------------------------------------
# Intro
--------------------------------------------------------------*/
#home.introduction {
  background-color: #73b8b6;
  padding: 4em 5em;
  margin-bottom: 4em;
}
#home.introduction span {
  color: #044c7f;
}
#home.introduction h2 {
  color: #fff;
  line-height: 1em;
}
#home.introduction .animated-gears {
  position: absolute;
  right: 0;
  margin-top: -40px;
  width: 500px;
  overflow: hidden;
}
.animated-gears svg {
  width: 550px;
}
#home .concepts {
  background: rgba(154, 181, 198, 0.15);
}
#home h1 {
  font-size: 5em;
  color: #9ab5c6;
}
#home .intro-book {
  background: #4a8ecc;
  color: #fff;
  font-size: 1.5em;
}
#home .intro-book .text {
  padding: 0 8em 5em;
  margin-top: -5%;
}
@media (max-width: 991px) {
  .intro-book .text {
    padding: 1em 3em 3em !important;
  }
  #home h1 {
    font-size: 3.5em;
  }
}
@media (max-width: 575px) {
  #home h1 {
    font-size: 2.5em;
  }
}
/*--------------------------------------------------------------
# Concepts
--------------------------------------------------------------*/

#videos #main {
  margin-top: 100px;
}
#videos .concepts {
  background: rgba(154, 181, 198, 0.15);
  padding: 0 8em;
}

#concepts .concept {
  background: rgba(154, 181, 198, 1)
    url('/public/realhmw/images/blue-gears.svg') no-repeat top right;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
.concept span {
  color: #044c7f;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
.concept p {
  line-height: 1.8em;
  font-size: 1.6em;
}
#home .concepts {
  padding: 0 5em;
}
.concepts {
  background: rgba(154, 181, 198, 0.15);
}
.concepts img {
  width: 60%;
  height: auto;
  margin-bottom: 0.5em;
}
.concepts h3 {
  color: #4a8ecc;
  width: 80%;
}
.concepts p {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #044c7f;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}

#highcostofwaiting .concept {
  background: rgba(228, 191, 155, 1) url('/public/realhmw/images/tan-gears.svg')
    no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#highcostofwaiting h2 {
  color: #ba8f62;
  width: 90%;
}
#highcostofwaiting .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#highcostofwaiting .border-left {
  border-left: #ba8f62 6px solid;
}

#payyourselffirst .concept {
  background: rgba(115, 184, 182, 1)
    url('/public/realhmw/images/green-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#payyourselffirst h2 {
  color: #549a94;
  width: 90%;
}
#payyourselffirst .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#payyourselffirst .border-left {
  border-left: #549a94 6px solid;
}
#payyourselffirst .lt-green-bkg .border-left {
  border-left: rgba(115, 184, 182, 0.4) 6px solid;
}
#payyourselffirst .icon {
  font-size: 1.2em;
}
#payyourselffirst .icon img {
  width: 90px;
  height: auto;
}
#payyourselffirst table {
  width: 100%;
  font-size: 1.1em;
}
#payyourselffirst table tr {
  border-bottom-width: 0.5em;
  border-bottom-color: #e8f2f1;
}
#payyourselffirst table td {
  margin-bottom: 1em;
}
#payyourselffirst table input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  padding: 0.5em;
  box-shadow: none;
}

#ruleof72 .concept {
  background: rgba(154, 181, 198, 1)
    url('/public/realhmw/images/slate-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#ruleof72 h2 {
  color: #68899e;
  width: 90%;
}
#ruleof72 .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#ruleof72 .border-left {
  border-left: #68899e 6px solid;
}
#ruleof72 .icon {
  /*width:80%;*/
  font-size: 1.2em;
}
#ruleof72 .icon img {
  width: 90px;
  height: auto;
}
#ruleof72 .icon strong {
  clear: both;
}
.p3 {
  display: block;
  text-align: end;
  width: 70px;
  margin: 0 auto;
}
.p6 {
  display: block;
  text-align: end;
  width: 80px;
  margin: 0 auto;
}
.p12 {
  display: block;
  text-align: end;
  width: 100px;
  margin: 0 auto;
}
#ruleof72 table.doubled {
  width: 100%;
  font-size: 1.1em;
  line-height: 1.4em;
}
#ruleof72 table.doubled .h1 {
  font-size: 7vw;
}
#ruleof72 table.doubled td {
  position: relative;
  height: 10vh;
  width: 20%;
}
#ruleof72 table.doubled input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  box-shadow: none;
  border: 6px solid rgba(123, 175, 222, 0.3);
  font-size: 4vw;
  line-height: 3vw;
  text-align: center;
}
#rule-72 td {
  width: 25%;
  font-size: 1em;
}
#compoundinterest .concept {
  background: rgba(123, 175, 222, 1)
    url('/public/realhmw/images/azure-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#compoundinterest h2 {
  color: #4a8ecc;
  width: 90%;
}
#compoundinterest .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#compoundinterest .border-left {
  border-left: #4a8ecc 6px solid;
}

#debtstacking .concept {
  background: rgba(154, 181, 198, 1)
    url('/public/realhmw/images/slate-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#debtstacking h2 {
  color: #68899e;
  width: 90%;
}
#debtstacking .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#debtstacking .border-left {
  border-left: #68899e 6px solid;
}

#theory .concept {
  background: rgba(123, 175, 222, 1)
    url('/public/realhmw/images/azure-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#theory h2 {
  color: #4a8ecc;
  width: 90%;
}
#theory .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#theory .border-left {
  border-left: #4a8ecc 6px solid;
}

#owner .concept {
  background: rgba(228, 191, 155, 1) url('/public/realhmw/images/tan-gears.svg')
    no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#owner h2 {
  color: #ba8f62;
  width: 90%;
}
#owner .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#owner .border-left {
  border-left: #ba8f62 6px solid;
}

#averaging .concept {
  background: rgba(115, 184, 182, 1)
    url('/public/realhmw/images/green-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#averaging h2 {
  color: #549a94;
  width: 90%;
}
#averaging .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#averaging .border-left {
  border-left: #549a94 6px solid;
}

#mortgage .concept {
  background: rgba(123, 175, 222, 1)
    url('/public/realhmw/images/azure-gears.svg') no-repeat top left;
  background-size: contain;
  padding: 6em 5em;
  margin-top: 100px;
}
#tmortgage h2 {
  color: #4a8ecc;
  width: 90%;
}
#mortgage .concept span {
  color: #fff;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
#mortgage .border-left {
  border-left: #4a8ecc 6px solid;
}

#book .introduction {
  margin-top: 100px;
}
#about #main {
  margin-top: 100px;
}
#about .products p {
  font-size: 1.4em;
  line-height: 1.5em !important;
}

.slate {
  color: #68899e;
}
.slate-bkg {
  background: rgba(154, 181, 198, 0.15);
}
.dk-slate {
  color: #044c7f;
}
.dk-slate-bkg {
  background: #044c7f;
}
.tan {
  color: #ba8f62;
}
.blue-bkg {
  background: #3a6e9e;
}
.lt-blue-bkg {
  background: #5d84a7;
}
.lt-slate-bkg {
  background: rgba(123, 175, 222, 0.15);
}
th.dk-tan-bkg {
  background: #d9a875;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
td.lt-tan-bkg {
  background: #e8d3b9;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.lt2-tan-bkg {
  background: rgba(228, 191, 155, 0.15);
}
th.dk-blue-bkg {
  background: #4a8ecc;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.dk-blue-bkg {
  background: #4a8ecc;
}
.dk-blue {
  color: #4a8ecc;
}
td.lt-blue-bkg {
  background: rgba(74, 142, 204, 0.4);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.green {
  color: #549a94;
}
th.dk-green-bkg {
  background: #549a94;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
td.lt-green-bkg {
  background: #73b8b6;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.lt-green-bkg {
  background: #e8f2f1;
}
td.green-bkg {
  background: rgba(115, 184, 182, 0.4);
}
td.blue-bkg {
  background: rgba(123, 175, 222, 0.5);
  color: #044c7f;
  padding: 0.5em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
td.field {
  position: relative;
  width: 15vw;
}
td.field span input {
  padding-left: 1em !important;
}
td.field span::before {
  content: '$';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.red {
  color: #eb3035;
}
.blue {
  color: #4a8ecc;
}

.quiz {width:100%;height:auto;display: inline-block;}
.quiz::before {content:""; background: url("/public/realhmw/images/down-arrow.svg") no-repeat center center; z-index: 8000; width: 100%; height: 72px; margin-top:-36px;display: inline-block;}
.quiz:first-child::before {content:""; background: none;}
.question1 {background: url("/public/realhmw/images/breadwinner.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question2 {background: url("/public/realhmw/images/hourglass.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question3 {background: url("/public/realhmw/images/mtn.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question4 {background: url("/public/realhmw/images/piggy.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question5 {background: url("/public/realhmw/images/jar.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question6 {background: url("/public/realhmw/images/home.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question7 {background: url("/public/realhmw/images/pie.jpg") no-repeat top right; background-size: cover;min-height: 550px; }
.question {width: 50%;}

ol.choices {padding-left: 0!important;}
.choices {
    counter-reset: list-counter; /* Initialize custom counter */
}

.choices li {
	color: #000!important;
    padding: 1em 3em;
    background: rgba(255,255,255,0.75);
    margin-bottom: 1em;
    border-radius: 0.5em;
    position: relative;
    list-style: none; /* Remove default list marker */
    display: block;
}

.choices li::before {
    counter-increment: list-counter; /* Increment counter */
    content: counter(list-counter, upper-alpha) "."; /* Display letter and dot */
    position: absolute;
    left: 1em; /* Adjust spacing as needed */
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #333; /* Adjust color as desired */
}

@media (max-width: 991px) {
  .concepts p {
    /*font-size: 1em;*/
  }
}
@media (max-width: 767.98px) {
  #home h1 {
    font-size: 3.5em;
  }
  #payyourselffirst .icon,
  #ruleof72 .icon {
    font-size: 1em;
    line-height: 1.1em;
  }
  #payyourselffirst table {
    width: 100%;
  }
  #payyourselffirst table .field {
    width: 125px;
  }
  #payyourselffirst .lt-green-bkg {
    padding: 1rem 0.5rem !important;
  }
  #ruleof72 table.doubled {
    width: 100%;
    font-size: 1em;
    line-height: 1.1em;
  }
  #ruleof72 table.doubled td {
    height: 10vh;
  }
  #rule-72 {
    width: 100%;
    font-size: 0.75em;
  }

  .concepts img {
    width: 100%;
    height: auto;
  }
  .concepts h3 {
    width: 100%;
  }
  .concepts p {
    font-size: 1em;
  }
}
@media (max-width: 575px) {
  #home h1 {
    font-size: 2.75em;
  }
  #payyourselffirst table {
    width: 100%;
  }
  #concepts .concept {
    margin-top: 101px;
  }
  .concepts img {
    width: 50%;
    height: auto;
  }
  .concepts p {
    margin: 0 auto;
    width: 80%;
  }
  .p3 {
    width: 100%;
  }
  .p6 {
    width: 100%;
  }
  .p12 {
    width: 100%;
  }
  #highcostofwaiting .concept {
    margin-top: 101px;
  }
  #payyourselffirst .concept {
    margin-top: 101px;
  }
  #ruleof72 .concept {
    margin-top: 101px;
  }
  #compoundinterest .concept {
    margin-top: 101px;
  }
  #debtstacking .concept {
    margin-top: 101px;
  }
  #theory .concept {
    margin-top: 101px;
  }
  #owner .concept {
    margin-top: 101px;
  }
  #averaging .concept {
    margin-top: 101px;
  }
  #book .introduction {
    margin-top: 101px;
  }
  #about #main {
    margin-top: 101px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footnote p {
  font-size: 0.96em !important;
  line-height: 1.2em;
}
.disclosures {
  font-size: 0.95em !important;
}
#footer {
  background-color: #9ab5c6;
  color: #000;
  /*font-size: 14px;*/
  text-align: left;
  padding: 1em 0;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
}

#footer .container {
  position: relative;
  font-size: 14px;
}
#footer a {
  color: #000;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  position: relative;
  font-family: 'Satisfy', serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  /*font-size: 14px;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;*/
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ffb727;
  color: #000;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #f3a200;
  color: #333;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}
#error {
  width: 100%;
  height: 100vh;
  background: #4a8ecc url('/public/realhmw/images/how-money-works-animated.svg');
  background-color: #4a8ecc;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}
