/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;	
  color: #333;
    font-size: 1.1em;
}

a {
  color: #4a8ecc;
}

a:hover {
  color: #16364d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 700!important;
}
.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;
}
.btn-lg {width:30vw!important;}
.img-fluid {width:100%!important;}
hr {
  height: 0;
  border: 2px solid #16364d;
  width: 90%;
  margin: 2em auto;
  opacity: 1;
}
/*.container p {
  font-size: 1.3em;
  line-height: 1.7em;
}*/
span.sr-only {
  visibility: hidden;
}
.profile-picture {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
}
.profile-picture.infooter {
    border: solid;
    border-width: thick;
    border-color: #cedcd8;
}
main .border-dk-red {
  color: #fff;
  background-color: #e9212d;
  border-radius: .5em;
  font-size: 2vw;
  border-color: rgba(255, 255, 255, 1);
  border-width:medium;
  display: block;
  margin: 0 auto;
}
header .border-dk-red {
  color: #fff;
  background-color: #e9212d;
  border-radius: .5em;
  font-size: 2vw;
  border-color: rgba(255, 255, 255, 1);
  border-width:medium;
}
.border-dk-red:hover {
  background-color: rgba(165, 46, 54, 1);
  color: 
  /*border-color: #e9212d;*/
}
.border-green {
  color: #527573;
  background-color: #9dbbb3;
  border-radius: .8em;
  font-size: 1.5vw;
    padding: 0.5em;
    border: solid;
  border-color: #527573;
  border-width: thick;
}
.border-green:hover {
  background-color: #527573;
  color:#fff;
  border: solid;
  border-color: #9dbbb3;
  border-width: thick;
}
.btn-small {font-size: inherit!important;}
.modal-content {
  background-color: #000 !important;
}
.modal-header {
  border-style: none !important;
}
main {margin-bottom: 5vw;}

@media (max-width: 767.98px) {
	.border-green {
  font-size: 3.5vw;
		margin: 0 auto!important;
}
	main .border-dk-red {
  font-size: 3.5vw;
}
header .border-dk-red {
  font-size: 3.5vw;
}
	.btn-lg {width: 80vw!important;}
}

/*--------------------------------------------------------------
# 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: 900;
  /*color: #4a8ecc;*/
  color: #cc3333;
  font-size: 5vw !important;
  text-align: center;
}
.video-container .controls {
  position: absolute;
  background: #16364d;
  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: #cedcd8;
  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: #16364d;
  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: #fff;
  /*padding: 0 3em;*/
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  background: #fff;
}
#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 0 0 2em !important;
}
.navbar-brand img {
  height: 110px;
  width: auto;
  margin: 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: #16364d;
}

.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: #16364d;
}

.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 {
      background: url("/public/wallofwealthca/images/generational-wealth-hero.jpg") center/cover no-repeat;
      color: white;
      padding: 2em;
      font-size: 2vw;
      background-color: #a97464;
    }
.hero .h1 {font-family: "Montserrat", sans-serif;
  font-weight: 700;font-size: 4.5vw;}
.hero .h2 {font-family: "Montserrat", sans-serif;
  font-weight: 700;font-size: 2.18vw;}
.hero .small {font-size: 1vw;}
.text-intro {color: rgba(255,255,255,0.6);width:38%;}
@media (max-width: 767.98px) {
    .hero {
      background: url("/public/wallofwealthca/images/generational-wealth-hero_mobile.jpg") bottom/100% auto no-repeat;
        background-color: #a97464;
      padding: 2em 2em 12em;
      font-size: 5vw;
    }
    .text-intro {width:100%;}
    .hero .h1 {font-size: 11vw;}
.hero .h2 {font-size: 5.3vw;}
    .hero .small {font-size: 2vw;}
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

.video-placeholder {
      background: #ddd;
      height: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #666;
      font-size: 1.5rem;
    }
    .quote-box {
      background-color: #fff;
      padding: 20px;
      margin-bottom: 15px;
      height: 100%;
    }
.cards .small {font-size:.85rem!important;}
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: #16364d;
}
#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%;
}
.family {
      background: url("/public/wallofwealthca/images/generational-wealth-family_gradient.jpg") center/cover no-repeat;
      font-size:3vw;
      line-height: 3vw;
      font-weight: 500;
      padding: 3em 0 1em;
      height: 0;
      padding-bottom: 30%;
    }
.table_custom { --bs-table-bg: transparent !important; --bs-table-color-state: #fff!important;font-weight: 500;}
@media (max-width: 991px) {
  .intro-book .text {
    padding: 1em 3em 3em !important;
  }
  #home h1 {
    font-size: 3.5em;
  }
}
@media (max-width: 767.98px) {
    .family {
      font-size:4.5vw;
      line-height: 4.5vw;
      padding: 3em 0 1em;
      height: 0;
      padding-bottom: 40%;
    }
}
@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;
}
.concept span {
  color: #16364d;
  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: #16364d;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}

.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;
}


.slate {
  color: #68899e;
}
.slate-bkg {
  background: rgba(154, 181, 198, 0.15);
}
.dk-slate {
  color: #16364d;
}
.dk-slate-bkg {
  background: #16364d;
}
.tan {
  color: #a97768!important;
}
.tan-bkg {
  background: #a97768;
}
.green {
  color: #ba8f62;
}
.dk-green-bkg {
  background: #527573 url('/public/wallofwealthca/images/pattern.png') center/cover no-repeat;
}
.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: #9dbab2;
}
.green-bkg {background: #9dbab2;}
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: #16364d;
  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;
}

@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;
  }
  .px-md-5 {
    padding-left: 2.4rem !important;
    padding-right: 2.4rem !important;
  }
  #home .concepts {
    padding: 0 1em;
  }
}
@media (max-width: 575px) {
  #home h1 {
    font-size: 2.75em;
  }
  /*#main #intro, #main #intro-sp {margin-top:148px;}*/
  #payyourselffirst table {
    width: 100%;
  }
  /*#concepts .concept {margin-top:100px;}*/
  .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:100px;}
    #payyourselffirst .concept {margin-top:100px;}
    #ruleof72 .concept {margin-top:100px;}
    #compoundinterest .concept {margin-top:100px;}
    #debtstacking .concept {margin-top:100px;}
    #theory .concept {margin-top:100px;}
    #owner .concept {margin-top:100px;}
    #averaging .concept {margin-top:100px;}
    #book .introduction {margin-top:100px;}
    #about {margin-top:100px;}*/
  .px-md-5 {
    padding-left: 2.4rem !important;
    padding-right: 2.4rem !important;
  }
  .footer {
    font-size: 0.65em !important;
  }
  .footer .px-1 {
    padding-left: 0;
    padding-right: 0;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footnote p {
  font-size: 0.96em !important;
  line-height: 1.2em;
}
.disclosures {
  font-size: 0.8em !important;
  background-color: #cedcd8;
  color: #000;
}
footer .dk-slate-bkg svg {
  margin-right: 3px;
  width: 100%;
  height: auto;
  max-width: 24px;
}
footer .footer img {
  margin-right: 3px; /*width:100%;height:auto;max-height:60px;*/
}
#footer {
  background-color: #cedcd8;
  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: 1em;
}
#footer a {
  color: #000;
  display: inline-block !important;
}

#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;
}
.footer {
  background-color: #6f8397;
  color: #fff;
  font-size: 0.85em;
  text-align: left;
  padding: 0.5em 0;
}
.footer a {
  color: #fff !important;
}
#error {
  width: 100%;
  height: 100vh;
  background: #16364d url('/public/wallofwealthca/images/error-wall-of-wealth-logo.svg');
  background-color: #16364d;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

.pegaModalGadget {
  height: 100%;
  background-image: url(../images/loader.gif);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #16364d;
}
.modal-content {width:800px!important;}
