:root {
  --steel-blue: #3a82b1;
  --dark-grey: #959fa9;
  --white: white;
  --dark-slate-grey: #45545b;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: bold;
  line-height: 44px;
}

h4 {
  color: var(--steel-blue);
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

.menu-wrapper {
  justify-content: space-between;
  align-items: center;
  height: 100px;
  display: flex;
}

.menu-items {
  border: 3px solid var(--steel-blue);
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: 60%;
  height: 60px;
  margin-right: 10px;
  font-weight: 600;
  transition: all .2s cubic-bezier(.129, .001, 0, .983);
  display: flex;
}

.menu-items:hover {
  background-color: var(--steel-blue);
}

.logo-wrapper {
  z-index: 9;
  height: 100%;
  padding-top: 2%;
  padding-left: 3%;
  position: relative;
}

.nav-menu {
  color: #0000;
  justify-content: space-around;
  align-self: stretch;
  align-items: center;
  width: 100%;
  display: flex;
}

.navbar {
  background-color: #0000;
  flex: 1;
  align-items: center;
  font-family: Nunito Sans, sans-serif;
  font-size: 16px;
  display: flex;
}

.body {
  color: var(--dark-grey);
  font-family: Nunito Sans, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
}

.image-content {
  height: 800px;
  display: flex;
  position: relative;
  overflow: visible;
}

.bg-image {
  background-image: linear-gradient(180deg, #ffffff4d, #fffc 16%, var(--dark-grey)), url('../images/aerial-view.jpg');
  box-shadow: -5px 0 20px 7px var(--dark-grey);
  background-position: 0 0, 50% 100%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, scroll;
  width: 50%;
  height: 100%;
  position: absolute;
  inset: 0% 0% auto auto;
}

.front-image {
  box-shadow: -6px 1px 20px 5px var(--dark-grey);
  filter: none;
  background-image: url('../images/aerial-view.jpg');
  background-position: 50%;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: absolute;
  bottom: 0%;
  left: -10%;
  right: 0%;
}

.content {
  z-index: 9;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  padding-left: 3%;
  padding-right: 9%;
  font-family: Nunito Sans, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  display: flex;
  position: relative;
}

.heading {
  color: var(--dark-grey);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1em;
}

.heading.welcome {
  margin-bottom: 20px;
  font-size: 30px;
}

.heading.white-heading {
  color: var(--white);
  font-family: Nunito Sans, sans-serif;
}

.heading.white-heading.sub {
  color: var(--dark-slate-grey);
  font-size: 25px;
}

.nav-link {
  align-self: stretch;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
}

.nav-link.w--current {
  color: var(--dark-slate-grey);
  padding-top: 5px;
  padding-bottom: 5px;
}

.paragraph {
  color: var(--dark-slate-grey);
  text-align: left;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 400;
}

.paragraph.center {
  text-align: center;
}

.button {
  border: 3px solid var(--steel-blue);
  background-color: var(--white);
  color: var(--dark-slate-grey);
  text-transform: lowercase;
  justify-content: center;
  align-items: center;
  width: 250px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s cubic-bezier(.082, .007, .012, .995);
  display: flex;
}

.button:hover {
  background-color: var(--steel-blue);
  box-shadow: 0 0 20px 5px var(--dark-grey);
  color: var(--white);
  border-bottom-width: 0;
  border-right-style: none;
  border-right-width: 0;
  width: 100%;
}

.button._2 {
  margin-top: 20px;
}

.full-header {
  height: 700px;
  display: flex;
  position: relative;
}

.header-image {
  background-image: linear-gradient(108deg, var(--white) 17%, #ffffff73 44%, #fff0 103%), url('../images/Website-Header-Image.jpg');
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, 100% 1200px;
  width: 90%;
  height: 100%;
  position: absolute;
  inset: 0% 0% 0% auto;
}

.header-image._2 {
  background-image: linear-gradient(108deg, var(--white) 17%, #ffffff73 44%, #fff0 103%), url('../images/Garsfontein1.jpg');
  filter: contrast(125%);
  background-size: auto, cover;
}

.section-bg {
  background-color: var(--dark-grey);
  padding-top: 75px;
  padding-bottom: 75px;
}

.container {
  flex-direction: column;
  max-width: 90%;
  display: flex;
}

.div-block {
  border-right: 5px solid var(--white);
  border-bottom: 5px solid var(--white);
  height: 100%;
  padding-bottom: 20px;
  padding-right: 20px;
}

.white-heading {
  color: var(--white);
  margin-top: 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.5em;
}

.block-paragraph {
  color: var(--white);
}

.columns {
  flex-direction: row;
  align-items: stretch;
  display: flex;
}

.column, .column-3 {
  align-self: stretch;
}

.section {
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  position: relative;
}

.section.portfolio {
  background-color: var(--dark-grey);
  flex-direction: column;
  padding-top: 75px;
  padding-bottom: 75px;
}

.section.affiliations {
  padding-top: 20px;
  padding-bottom: 60px;
}

.grid {
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr;
  padding-left: 15px;
  padding-right: 15px;
}

.left-image-overlap {
  filter: none;
  background-image: url('../images/airial-view.jpg');
  background-position: 50%;
  background-size: cover;
  align-self: stretch;
  width: 50%;
}

.right-services {
  object-fit: fill;
  width: 50%;
}

.block {
  color: var(--dark-slate-grey);
  background-color: #fcfcfc;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: relative;
}

.block-icon {
  max-width: 75px;
}

.block-icon.team-images {
  object-fit: cover;
  border-radius: 100px;
  width: 200px;
  max-width: 200px;
  height: 200px;
}

.block-heading {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3em;
}

.block-description {
  text-align: center;
}

.about-section {
  background-color: #00000008;
  flex-direction: column;
  align-items: center;
  padding-top: 75px;
  padding-bottom: 75px;
  display: flex;
}

.heading-wrapper {
  justify-content: center;
  align-self: stretch;
  max-width: 900px;
  height: 50px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.heading-wrapper.text {
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.about-heading {
  color: var(--dark-slate-grey);
  text-align: center;
  align-self: center;
  width: 480px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5em;
}

.divider-line {
  background-color: var(--steel-blue);
  align-self: stretch;
  width: 4px;
  margin: 10px;
}

.about-blue {
  color: var(--steel-blue);
  font-size: 22px;
}

.team-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-around;
  width: 90%;
  max-width: 1400px;
  display: grid;
}

.team-member {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  display: flex;
}

.team-name {
  color: var(--steel-blue);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2em;
}

.team-bio {
  text-align: center;
  margin-top: 10px;
}

.start-span {
  color: var(--steel-blue);
  font-size: 18px;
  font-weight: 400;
}

.portfolio-grid {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex: 1;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  padding: 15px;
  display: grid;
}

.tile-portfolio {
  flex-direction: row;
  height: 300px;
  transition: all .2s cubic-bezier(.95, .05, .795, .035);
  display: flex;
}

.tile-portfolio:hover {
  box-shadow: 0 0 7px 1px var(--dark-slate-grey);
}

.project-title {
  color: var(--white);
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  position: absolute;
  inset: auto 0% 0%;
}

.lightbox-link {
  flex: 1;
  padding: 20px;
  position: relative;
}

.image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.overlay {
  background-image: linear-gradient(214deg, #ffffff1a 15%, #87b3cfa6 73%, #3a82b1e6);
  transition: all .825s cubic-bezier(.755, .05, .855, .06);
  position: absolute;
  inset: 0%;
}

.overlay:hover {
  background-image: linear-gradient(214deg, #ffffff1a 15%, #87b3cfa6 100%, #3a82b1e6);
}

.title-wrapper {
  border-right: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  align-self: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  padding-right: 30px;
  display: inline-block;
}

.title-wrapper.dark {
  border-right-color: var(--dark-slate-grey);
  border-bottom-color: var(--dark-slate-grey);
  padding-right: 30px;
}

.heading {
  color: var(--dark-slate-grey);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 40px;
}

.heading.white {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 40px;
}

.footer {
  background-color: #fcfcfc;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 0;
  display: flex;
}

.foooter-wrapper {
  flex-direction: column;
  justify-content: space-around;
  align-items: stretch;
  width: 90%;
  max-width: 1400px;
  display: flex;
}

.footer-icon {
  width: 50px;
  margin-bottom: 20px;
  margin-right: 0;
}

.footer-icon.social-media {
  width: 30px;
}

.footer-links {
  color: var(--dark-slate-grey);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.social-icon-wrapper {
  justify-content: center;
  align-self: center;
  width: 90%;
  margin-top: 40px;
  margin-bottom: 10px;
  display: flex;
}

.image-2 {
  width: 180px;
}

.affiliations-logos {
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  max-width: 90%;
  margin-top: 40px;
  display: flex;
}

.logo-link {
  flex-direction: column;
  flex: none;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 200px;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
}

.logo-link.ice {
  width: 200px;
}

.logo-link.nhbrc {
  width: 150px;
}

.logo-link.saice {
  width: 180px;
}

.logos-wrapper {
  margin-top: 20px;
  display: flex;
}

.menu-item-wrapper {
  align-items: center;
  display: flex;
}

.menu-icon {
  opacity: 0;
  width: 20px;
  height: 20px;
  display: block;
}

.footer-columns {
  display: flex;
}

.column-5 {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.footer-divs {
  border-right: 4px solid var(--dark-slate-grey);
  border-bottom: 4px solid var(--dark-slate-grey);
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 30px;
  display: flex;
}

.link-block {
  margin-right: 20px;
}

.copyright-wrapper {
  background-color: var(--dark-slate-grey);
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  display: flex;
}

.copyright-text {
  color: silver;
  text-decoration: none;
}

.div-block-2 {
  width: 90%;
  max-width: 1400px;
}

.project-embed {
  margin-left: 10px;
  margin-right: 10px;
}

.div-block-3 {
  display: flex;
  position: relative;
}

.popup-modal {
  z-index: 9999;
  background-color: #3a82b1cc;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  inset: 0%;
}

.popup-wrapper {
  background-color: var(--white);
  box-shadow: 0 0 5px 2px var(--dark-grey);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  min-width: 600px;
  max-width: 900px;
  padding: 40px;
  display: flex;
  position: relative;
}

.rich-text-on-popup {
  margin-top: 20px;
  margin-bottom: 20px;
}

.rich-text-on-popup ol {
  text-align: justify;
  list-style-type: lower-alpha;
}

.close-icon {
  width: 30px;
  margin-top: 4px;
  margin-right: 4px;
  position: absolute;
  inset: 0% 0% auto auto;
}

.info-animation-wrapper {
  cursor: pointer;
  position: absolute;
  inset: 0% 0% auto auto;
}

.lottie-animation {
  width: 50px;
  position: relative;
}

.image-3 {
  position: absolute;
  bottom: 34px;
  left: 29px;
}

.role {
  color: var(--dark-slate-grey);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
}

@media screen and (max-width: 991px) {
  .menu-wrapper {
    position: relative;
  }

  .menu-items {
    width: auto;
  }

  .logo-wrapper {
    padding-left: 22px;
  }

  .nav-menu {
    background-color: #3a82b1f2;
  }

  .navbar {
    position: static;
  }

  .image-content {
    flex-direction: column;
    align-items: stretch;
    min-height: 800px;
  }

  .bg-image {
    width: 100%;
    position: static;
  }

  .front-image {
    width: 80%;
    height: 100%;
    position: static;
  }

  .content {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 40px;
  }

  .heading {
    font-size: 30px;
  }

  .nav-link {
    color: var(--white);
    margin-left: 0;
    margin-right: 0;
  }

  .paragraph {
    font-size: 16px;
  }

  .div-block {
    padding-top: 20px;
  }

  .columns {
    flex-direction: column;
  }

  .left-image-overlap {
    width: 100%;
    height: 300px;
  }

  .right-services {
    width: 100%;
  }

  .heading-wrapper {
    flex-direction: column;
    height: auto;
  }

  .heading-wrapper.text {
    max-width: 90%;
  }

  .divider-line {
    width: 100%;
    height: 2px;
  }

  .team-wrapper {
    flex-flow: wrap;
    grid-template-columns: 1fr 1fr;
  }

  .image-2 {
    width: 120px;
  }

  .logo-link {
    width: 150px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .logo-link.ice, .logo-link.saice {
    width: 150px;
  }

  .menu-item-wrapper {
    flex-direction: row;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-columns, .div-block-3 {
    flex-direction: column;
  }

  .menu-button {
    color: var(--steel-blue);
  }

  .menu-button:hover {
    color: var(--white);
  }

  .menu-button.w--open {
    background-color: var(--steel-blue);
  }

  .popup-wrapper {
    min-width: 0;
  }
}

@media screen and (max-width: 767px) {
  .logo-wrapper {
    padding-left: 20px;
  }

  .heading {
    font-size: 25px;
  }

  .team-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .logos-wrapper {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: row;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .popup-modal {
    justify-content: center;
  }
}

@media screen and (max-width: 479px) {
  .logo-wrapper {
    padding-left: 14px;
  }

  .front-image {
    width: 90%;
  }

  .heading.welcome {
    font-size: 25px;
  }

  .heading.white-heading.sub {
    text-align: center;
  }

  .white-heading {
    line-height: 1.3em;
  }

  .grid {
    flex-wrap: wrap;
    display: flex;
  }

  .block {
    width: 100%;
  }

  .about-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-heading {
    width: 100%;
    font-size: 16px;
  }

  .divider-line {
    margin-left: 0;
    margin-right: 0;
  }

  .team-wrapper {
    grid-template-columns: 1fr;
  }

  .title-wrapper.dark {
    margin-bottom: 20px;
  }

  .heading, .heading.white {
    font-size: 30px;
  }

  .logo-link {
    align-self: center;
    width: 200px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
  }

  .logo-link.ice {
    width: 180px;
  }

  .logos-wrapper {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-self: center;
    place-items: center stretch;
    width: 100%;
    display: flex;
  }

  .link-block {
    margin-left: 10px;
    margin-right: 10px;
  }

  .div-block-2 {
    text-align: center;
  }

  .popup-modal {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: auto;
  }

  .popup-wrapper {
    order: 1;
    padding: 20px;
  }

  .rich-text-on-popup {
    text-align: left;
  }

  .rich-text-on-popup ol {
    text-align: left;
    padding-left: 20px;
  }
}

#w-node-b65ed085-d566-ba4e-63ed-dc165775b4cd-df0a8055 {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-_9217f447-ddf2-70bc-1281-cd3527f4237b-df0a8055 {
  grid-area: span 1 / span 1 / span 1 / span 1;
  align-self: start;
}

#w-node-_1260fba8-67df-dbb4-c49b-0e75c25eddc2-df0a8055, #w-node-a7c6a2e9-2562-abe1-b83b-173cbdf3fff0-df0a8055, #w-node-_7fd06a79-204a-c81b-d0ea-682ca1ca7e00-df0a8055, #w-node-e91c2e98-9bd8-c839-9225-1b070cae95a2-df0a8055, #w-node-_7f542f48-0566-3a43-416d-811b18468632-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b18468638-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b1846863e-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b18468644-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b1846864a-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b18468650-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b18468656-318943c3, #w-node-_7f542f48-0566-3a43-416d-811b1846865c-318943c3 {
  grid-area: span 1 / span 1 / span 1 / span 1;
}


