
/* Basic page  */

.page {
    background-image: linear-gradient(to top, #ffffff, #ffffff 47%, #f4f3f1);
    padding-bottom: 150px;
    position: relative;
    padding-top: 130px;
    background: none;
}

.page h1 {
  font-size: 50px
}

.page h2 {
  font-size: 37px;
}

.page--hero {
  padding-top: 0;
}

.page__logo {
    height: 34px;
}

.page__logo img {
    max-height: 100%;
}

.page__hero {
    /* margin-bottom: 133px; */
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}


.page .container {
    position: relative;
    z-index: 1;
}

.page__content .main-heading {
    margin-top: 103px;
    margin-bottom: 50px;
}

.page-404 .page__content .main-heading {
    margin-bottom: 15px;
}

.page--hero .page__content .main-heading {
  margin-top: 70px;
}

.page--investors .main-heading {
  margin-bottom: 50px;
}

.page--investors .back-button button {
  width: 95px;
  height: 32px;
  background-color: #e0757d;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.page--investors .back-button button:hover {
  opacity: 0.85;
}

.page__content h3 {
    margin-top: 40px;
}

.page--investors .page__content h3 {
  margin-top: 70px;
}

.page--investors .page__content h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
}

.page__content p {
    margin: 1em 0;
}

/* .page__content li {
  line-height: 1.5;
} */

.page__content a {
    color: #475068;
}

.page__image {
    width: 562px;
    margin-bottom: 30px;
}

.page__image-left {
  float: left;
  margin-right: 107px;
}

.page__image-right {
  float: right;
  margin-left: 107px;
}

@media (min-width: 769px) {
  .page__image-right {
    margin-top: -158px;
  }
}

.page__image img {
    max-width: 100%;
    object-fit: contain;
}

.page__first-background {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
    height: 493px;
    background-image: linear-gradient(to top, #fcfcfc, #ffffff 44%, #faf8f5);
}

.page__second-background {
    width: 100%;
    position: absolute;
    top: 493px;
    z-index: 0;
    bottom: 0;
    height: auto;
    background-color: #fdfdfd;;
}


/* staff page  */
.staff {
    padding-top: 233px;
    /* background-color: #faf9f6; */
    background-image: linear-gradient(to top, #ffffff, #ffffff 47%, #f4f3f1);
    /* min-height: 100%; */
}

.staff--hero {
  padding-top: 0;
}

.staff__hero {
    /* margin-bottom: 133px; */
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    margin-bottom: 70px;
}

.staff__cards {
    display: flex;
    margin-top: 100px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.staff-card {
    width: 350px;
    max-width: 350px;
    min-width: 350px;
    height: 393px;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    margin-right: 20px;
    margin-bottom: 40px;
}

.staff-card__noimage {
    height: 221px;
    padding-top: 90px;
}

.staff-card__noimage img {
    width: 80%;
    margin: auto;
}


.staff-card__image img {
    width: 100%;
    display: flex;
}

.staff-card__content {
    padding: 27px 24px 38px 18px;
}

.staff-card__content__flex {
    display: flex;
}

.staff-card__content__flex, .staff-card__content__education {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #8e8e8e;
}

.staff-card__content__flex p:first-child {
    margin-right: 30px;
}

.staff-card__content > p:first-child {
    font-size: 14px;
    font-weight: bold;
    color: #c2deec;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.staff-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: bold;
}

.staff-card a {
    text-decoration: none;
    color: inherit;
}

/* .staff__container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
} */

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


@media (max-width: 1200px) {
  .page__image {
    width: 50%;
    margin-left: 70px;
  }
}

@media (max-width: 992px) {
  .page__image {
    margin-bottom: 20px;
    margin-left: 40px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .staff {
    padding-top: 135px;
  }
  .staff__hero {
    min-height: 300px;
    height: 300px;
  }
  .staff__container {
    margin-top: 70px;
  }
  .staff--hero .staff__container {
    margin-top: 0;
  }
  .staff-card {
    margin-right: 0;
    max-width: none;
    min-width: unset;
    width: 80%;
    height: 400px;
  }

  .page {
    padding-bottom: 100px;
  }

  .page h1 {
    font-size: 37px
  }
  
  .page h2 {
    font-size: 25px;
  }

  .page__hero {
    min-height: 300px;
    height: 300px;
  }

  .page__hero.small-on-mobile {
    min-height: 150px;
    height: 150px;
  }

  .page--hero .page__content .main-heading {
    margin-top: 30px;
  }


  .page__content .main-heading {
      text-align: left;
      margin-top: 50px;
      margin-bottom: 50px;
  }
}
