:root {
  --black: black;
  --blue: #006ab4;
  --dark-blue: #123a4d;
  --light-blue: #9ac3e7;
  --lime: #98bc23;
  --gold: #f0b81b;
  --gray: #66768a;
  --grey: var(--gray);
  --primary: #006ab4;
  --primary-hover: var(--dark-blue);
  --link-color: var(--primary);
  --avatar-img-width: 145px;
  --nav-height: 90px;
}

@media screen and (max-width: 767.98px) {
  :root {
    --avatar-img-width: 225px;
  }
}

html {
  overflow-x: hidden;
}

body {
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
  letter-spacing: normal;
  overflow-x: hidden;
}

@media screen and (min-width: 992px) {
  body.modal-open {
    padding-right: 0 !important;
  }
  
  body.modal-open nav {
    padding-right: 1rem !important;
  }
}

a {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.2px;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

a:hover svg path {
  fill: var(--primary-hover);
}

.text-primary {
  color: var(--primary);
}

.btn {
  font-family: 'Roboto', sans-serif;
  padding: 0.75rem 1.5rem;
}

.btn-primary {
  background-color: var(--primary);
}

.border-primary {
  border-color: var(--primary) !important;
}

.page-404 {
  margin-top: calc(var(--nav-height) + 2rem) !important;
}

.project-text .collapse {
  transition: opacity 0.3s ease-in;
}

.project-text .collapse:not(.show) {
  opacity: 0;
}

.project-text .show {
  opacity: 1;
}

.project-text .collapsing {
  opacity: 0;
  transition: height 0.3s ease-in;
  height: 0;
  overflow: unset;
}

#mainNav {
  max-width: 100vw;
  min-height: var(--nav-height);
}

#mainNav .navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background: none !important;
}

#mainNav .nav-link {
  color: black;
  font-weight: normal;
  letter-spacing: normal;
  padding: 1rem;
}

#mainNav .nav-link:hover {
  color: var(--blue);
}

a.text-dark,
.text-dark {
  color: var(--black) !important;
}

a.text-dark:hover,
a.text-dark:focus,
a.text-dark:active {
  color: var(--blue) !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

.showcase-section {
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0.8) 100%);
  margin-top: var(--nav-height);
}

.showcase-section p {
  margin-bottom: 5rem;
}

.showcase-section .row {
  position: relative;
}

.showcase-section .col {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 5%;
}

.experienceRealEstate {
  font-size: 3em;
  font-family: 'Montserrat';
  font-weight: bold;
}

.experience {
  color: #98BC23;
}

.realEstate {
  color: #FFFFFF;
}

@media only screen and (min-width: 516px) and (max-width: 991px) {
  .experienceRealEstate {
    font-size: 2.25em !important;
  }
}

@media (max-width: 515px) {
  .experienceRealEstate {
    font-size: 1.75em !important;
  }
}

.about-section {
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0.8) 100%);
}

.about-section .featured-text {
  padding: 2rem;
}

.about-section .project-text {
  font-size: 90%;
  max-width: 90%;
}

@media screen and (max-width: 991.98px) {
  .about-section .project-text {
    max-width: 100%;
  }
}

@media screen and (max-width: 599.98px) {
  .about-section .project-text {
    margin-top: 2rem !important;
  }
}

.about-section .project-text .project-hr {
  border-color: #66768A;
  border-width: 0.25rem;
  width: 10rem;
  display: inline-block;
}

.about-section .featured-text {
  padding: 0 0 0 2rem;
}

.about-section .project-text .project-links a {
  width: fit-content;
}

.staff {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.staff .staff-item {
  max-width: 18rem;
}

.staff .staff-item img {
  max-width: 12rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.showcase-image {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 30%, rgba(86, 86, 86, 1) 44%, rgba(150, 149, 149, 1) 52%, transparent 62%), var(--bg-image);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  padding-bottom: 30%;
  background-position: right;
  border-radius: 0 0 25px 25px;
}

@media only screen and (min-width: 516px) and (max-width: 991px) {
  .showcase-image {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 46%, rgba(86, 86, 86, 1) 51%, rgba(150, 149, 149, 1) 55%, transparent 57%), var(--bg-image);
  }
}

@media (max-width: 515px) {
  .showcase-image {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 55%, rgba(86, 86, 86, 1) 61%, rgba(150, 149, 149, 1) 64%, transparent 70%), var(--bg-image);
    padding-bottom: 40%;
  }
}

.signup-section {
  padding: 10rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000000 100%), url("../assets/img/bg-signup.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.signup-section .form-inline input {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: "Varela Round", -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: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.contact-section {
  padding-top: 5rem;
}

.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #2D8DA9;
}

.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.contact-section .card hr {
  border-color: #2D8DA9;
  border-width: 0.25rem;
  width: 3rem;
}

.contact-section .social {
  margin-top: 5rem;
}

.contact-section .social a {
  text-align: center;
  height: 3rem;
  width: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.contact-section .social a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.contact-section .social a:active {
  color: #fff;
}

.footer {
  padding: 1.5rem 0;
}

.footer a {
  font-weight: normal;
  letter-spacing: normal;
}

.about-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  background-color: transparent;
  min-height: 320px;
}

.about-col-first {
  position: relative;
  min-height: 320px;
  width: 100%;
  z-index: 1;
  background-color: transparent;
  float: left;
  margin-right: 8px;
}

.about-row:nth-child(even) .about-col-first {
  float: right;
  margin-right: 0;
  margin-left: 8px;
}

.about-col-last {
  min-width: 50%;
  width: 100%;
  margin: auto;
  position: relative;
}

.about-row:nth-child(even) {
  flex-direction: row-reverse;
}

.about-row:nth-child(even) .project-hr {
  margin-right: 0;
  margin-left: auto;
}

.about-row:nth-child(odd) .project-hr {
  margin-left: 0;
  margin-right: auto;
}

.about-row:nth-child(even) .project-text {
  text-align: right;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 0.4rem;
}

.about-row:nth-child(odd) .project-text {
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 0.4rem;
}

.overlay {
  position: absolute;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  transition: opacity .7s ease;
  z-index: 1;
  opacity: 1;
  top: 0;
  bottom: 0;
  left: 0;
}

@media (hover: hover) {
  .project:hover .overlay {
    opacity: 0;
  }
}

.bgImage {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.about-row.has-overflow-image .about-col-first {
  min-height: 460px;
}

.overflow-image {
  max-width: 200%;
  max-height: 200%;
  height: 700px;
  width: auto;
  position: absolute;
  min-height: 300px;
  pointer-events: none;
  top: -80px;
  right: 0;
  left: 0;
  margin: auto;
}

.overflow-image.image-left {
  margin-left: auto;
  margin-right: 0;
  right: -25%;
}

.overflow-image.image-right {
  margin-left: 0;
  margin-right: auto;
  left: -25%;
}

@media screen and (max-width: 991.98px) {
  .about-row {
    min-height: 290px;
  }

  .about-col-first {
    min-height: 290px;
  }

  .about-col-last {
    padding-top: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .about-row {
    display: block;
  }

  .about-col-first {
    width: 50%;
  }

  .about-row:nth-child(even) .project-hr {
    margin-left: 0;
  }

  .about-row:nth-child(odd) .project-hr {
    margin-left: 0;
  }

  .about-row:nth-child(even) .project-text {
    text-align: left;
  }

  .overflow-image {
    margin: auto !important;
    max-height: none;
    max-width: none;
    width: auto;
    height: 150%;
    max-height: 400px !important;
    bottom: 0;
    top: -108px;
    margin-top: 0 !important;
  }

  .overflow-image.image-left,
  .overflow-image.image-right {
    right: 0;
    left: -50%;
  }

  .overflow-image.image-left {
    right: calc(-50% + 8px);
  }

  .overflow-image.image-right {
    right: calc(-50% - 8px);
  }

  .about-row.has-overflow-image .about-col-first {
    min-height: 260px;
  }

  .image-left,
  .image-right {
    max-width: none !important;
    max-height: 290px;
    width: auto;
  }

  .image-left {
    right: 0;
    left: unset;
    margin-right: 8px;
  }

  .image-right {
    right: unset;
    left: 0;
    margin-left: 8px;
  }

  .keep-as-column .overlay,
  .keep-as-column .bgImage {
    margin-top: 0;
  }

  .keep-as-column .about-col-last {
    width: 100%;
  }

  .keep-as-column .image-left,
  .keep-as-column .image-right {
    max-width: 100% !important;
    max-height: 100%;
    left: 0;
    right: 0;
    margin: auto;
  }

  .keep-as-column .about-col-first {
    min-height: 150px !important;
    float: none;
    width: 100%;
  }

  .about-section .project-text .project-links {
    display: grid;
  }

  .about-section .project-text .project-links {
    margin-right: auto;
  }
}

@media screen and (max-width: 599.98px) {}

.about-col-first.has-mobile-image .mobile-alt-image {
  display: none;
}

@media screen and (max-width: 449.98px) {
  .about-col-first.has-mobile-image .mobile-alt-image {
    display: block;
  }

  .about-col-first.has-mobile-image :not(.mobile-alt-image) {
    display: none;
  }
}

.modal .modal-header .close {
  position: absolute;
  right: 1rem;
}

.modal-col-image {
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 991.98px) {
  ul hr {
    width: 35px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  .bottom-shadow {
    box-shadow: -5px 15px 10px -15px #111;
  }
}

.site-logo {
  height: 80px;
  width: auto;
  margin: 0.5rem 0;
  max-width: 40vw;
}

.icon {
  background-repeat: no-repeat;
  height: 40px;
  width: 40px;
}

.fb-icon {
  background-image: url("../assets/img/social-icons_1328aab4.svg");
  background-position: 0 -40px;
  border: 1px solid #8da5c4;
  border-radius: 50%;
}

.fb-icon:hover {
  background-image: url("../assets/img/social-icons_1328aab4.svg");
  background-position: -40px -40px;
  background-color: var(--primary);
  border: 1px solid white;
  border-radius: 50%;
}

.linkedin-icon {
  background-image: url("../assets/img/social-icons_1328aab4.svg");
  background-position: 0 -120px;
  border: 1px solid #8da5c4;
  border-radius: 50%;
}

.linkedin-icon:hover {
  background-image: url("../assets/img/social-icons_1328aab4.svg");
  background-position: -40px -120px;
  background-color: var(--primary);
  border: 1px solid white;
  border-radius: 50%;
}

a.more {
  color: var(--primary);
  margin-top: 1rem;
  padding: 0.5rem 0;
}

a.more:hover {
  color: var(--primary-hover);
}

a.more::before,
.collapsing~a.more::before,
.collapsing~p>a.more::before {
  content: 'More...';
}

.collapse.show~a.more::before,
.collapse.show~p>a.more::before {
  content: 'Hide...';
}

@media (max-width: 991.98px) {
  .centerContent {
    text-align: center;
  }

  .centerImage {
    justify-content: center;
  }
}

@media (min-width: 993px) {
  .footerRow .pipes:not(:first-child):before {
    margin-right: 0.5rem;
  }

  .pipes:not(:first-child):before {
    content: "|";
  }

  .about-section .pipes:not(:first-child):before {
    margin: 0 5px;
  }

  .pipes.text-dark:not(:first-child):hover:before {
    color: var(--black) !important;
  }

  .pipes:not(:first-child):hover:before {
    color: var(--primary) !important;
  }

  .navbar-nav .pipes:not(:first-child):before,
  .navbar-nav .pipes:not(:first-child):hover:before {
    content: "|";
    color: var(--gray) !important;
  }

  .doNotWrap {
    white-space: nowrap;
  }

  .nav-link {
    display: inline !important;
  }

  .navbar-nav {
    transform: translateY(6px);
  }
}

@media (min-width: 993px) {
  .doNotWrap2 {
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .doNotWrap2 {
    white-space: nowrap;
  }
}

#story {
  scroll-behavior: smooth;
}

.linkedin-icon,
.fb-icon {
  top: 50%;
  transform: translateY(-20%);
}

.wfgImage {
  width: 100%;
  height: auto;
}

.ggcImage {
  width: 100%;
  height: auto;
}


.no-border {
  border: 0;
}

.footerRow {
  font-size: 1em;
}

.showcaseModals {
  height: 8rem;
  transition: transform .2s;
}

.showcaseModals:hover {
  transform: scale(1.1);
}

.showcaseModals>a:hover {
  text-decoration: none;
}

.modal-content {
  max-height: 90vh;
  padding: 0;
}

@media (max-width: 426px) {
  .navbar>.container {
    padding-bottom: .4rem !important;
  }
}

@media (max-width: 575px) {
  #contactModal .modal-col-image {
    display: none;
  }
}

@media (min-width: 992px) {
  #mainNav {
    background-color: #fff;
  }
}

.modal-body {
  padding: 0rem;
}

#leadershipModal .leadership-img {
  width: var(--avatar-img-width);
  border: 4px solid var(--dark-blue);
  border-radius: 50%;
  height: auto;
  margin-bottom: 0.7rem;
}

#leadershipModal .leadership-description {
  border-left: 1.5px solid var(--gray);
}

#leadershipModal .leadership-profile {
  padding-right: 1rem;
}

#leadershipModal .leadership-profile .leadership-info .card-title {
  margin-bottom: 0.5rem;
}

#leadershipModal .leadership-profile .leadership-info {
  width: 100%;
  max-width: var(--avatar-img-width);
  margin-bottom: 0.5rem;
}

#leadershipModal .leadership-profile .leadership-info .name {
  font-size: 1.25rem;
}

#leadershipModal .leadership-profile .leadership-info .title {
  font-size: 1.0rem;
}

#leadershipModal .card-body {
  padding-top: 0;
  padding-bottom: 0;
}

#contactModal textarea {
  max-height: 200px;
  min-height: 80px;
  height: 0;
}

@media (max-width: 991.98px) {
  .navbar .site-logo {
    height: 64px;
  }
}

@media (max-width: 426px) {
  .navbar .site-logo {
    height: 50px;
    width: 100%;
    margin: 0;
  }
}

.mtd-row {
  margin: 0 auto;
  max-width: 80%
}

.mtd .mtd-photo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: var(--avatar-img-width);
  width: var(--avatar-img-width);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.mtd .mtd-contact {
  width: calc(var(--avatar-img-width) + 2rem);
  margin: 0 auto;
}

.mtd .mtd-photo img {
  max-width: 100%;
}

.mtd-contact p {
  margin-bottom: 2px;
}

.mtd-contact a {
  font-weight: normal;
  letter-spacing: normal;
}

.modal-title {
  line-height: 1.2;
}

.modal-body {
  padding-bottom: 40px;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border: 5px solid transparent;
}

.modal-overlay-background {
  background: linear-gradient(to top right, var(--lime) 0%, transparent 20%);
  width: 600px;
  height: 600px;
  max-height: 75%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.modal-overlay-scroll {
  bottom: 0;
  position: absolute;
  right: 0;
  margin: auto;
  left: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(to top, white, transparent);
  z-index: 1;
  opacity: 0;
}

.modal-overlay-scroll>.scroll-toggle {
  height: auto;
  width: 60px;
  max-height: 3rem;
  transition: transform 150ms ease-in-out;
  cursor: pointer;
  pointer-events: all;
}

.modal-overlay-scroll>.scroll-toggle:hover {
  transform: translateY(4px);
}

.close {
  opacity: 1;
}

.icon-close {
  width: 2rem;
  height: auto;
}

.svg-icon svg {
  width: 2rem;
  height: auto;
}

.vcard-link {
  display: block;
  margin-top: 0.4rem;
}

.vcard-link:hover {
  text-decoration: none;
}

#goldenGateModal .modal-overlay-background,
#aboutModal .modal-overlay-background {
  background: linear-gradient(to top left, var(--lime) 0%, transparent 20%);
  right: 0;
  left: unset;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-group label {
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  font-size: .8em;
}

@media screen and (min-width: 600px) {
  .copyright {
    text-align: left;
  }
}

.privacyPolicy {
  font-size: .8em;
}

.navbar-toggler {
  width: 4rem;
  height: 4rem;
  border: none;
  border-radius: 0;
  padding: 0;
}

.navbar-toggler .navbar-toggler-icon {
  height: 1.25rem;
  width: 1.5rem;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon i {
  height: 2px;
  position: absolute;
  width: 100%;
  display: block;
  background-color: var(--gray);
  transform: rotate(0deg);
  transition: transform 300ms ease-in-out;
}

.navbar-toggler .navbar-toggler-icon i:nth-child(2) {
  top: 8px;
}

.navbar-toggler .navbar-toggler-icon i:nth-child(3) {
  top: 16px;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon i {
  background-color: var(--link-color);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon i:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon i:nth-child(2) {
  opacity: 0;
  left: -1.25rem;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon i:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.navbar-toggler:focus {
  outline: none;
}