:root {
  --color-3: #253984;
  --color-4: #7c1619;
  --color: white;
  --color-5: #8f8f8f;
  --color-2: #333;
  --white: white;
  --black: black;
}

h2 {
  color: var(--color-3);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2em;
}

h4 {
  color: var(--color-4);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.2em;
}

.body {
  font-family: Albert Sans, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75em;
}

.hero {
  background-image: url('../images/senior-patient.jpg');
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  height: 100vh;
  padding: 5% 5% 4% 4%;
  display: flex;
}

.hero-div {
  background-color: var(--color-4);
  align-items: flex-end;
  width: 40%;
  min-height: 0;
  display: flex;
  position: relative;
}

.hero-text {
  background-color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px;
  line-height: 1.5em;
  display: flex;
  position: relative;
  top: -25px;
  bottom: 25px;
  left: 25px;
  right: auto;
}

.hero-top-line {
  color: var(--color-3);
  margin-bottom: 10px;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2em;
}

.hero-line-2 {
  color: var(--color-4);
  margin-bottom: 10px;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.2em;
}

.hero-button-holder {
  align-items: center;
  margin-top: 20px;
  display: flex;
}

.button {
  background-color: var(--color-3);
  color: var(--color);
  text-align: center;
  padding: 12px 25px;
  line-height: 1em;
}

.button:hover {
  background-color: var(--color-4);
}

.navbar {
  background-color: var(--color);
  height: 90px;
  position: fixed;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
  box-shadow: 3px 2px 10px rgba(0, 0, 0, .2);
}

.image {
  height: 75px;
}

.brand {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

.nav-menu {
  align-items: center;
  height: 90px;
  display: flex;
}

.nav-link {
  border-bottom: 3px solid var(--color);
  color: var(--color-3);
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px;
  font-weight: 600;
  line-height: 1em;
}

.nav-link:hover {
  border-bottom-color: var(--color-4);
}

.conditions-section {
  padding-top: 5%;
  padding-bottom: 5%;
}

.conditions-wrapper-div {
  justify-content: space-between;
  width: 90%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.photo-div-48 {
  object-fit: cover;
  width: 50%;
  overflow: hidden;
}

.image-2 {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.text-div-48 {
  background-color: var(--color-4);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  padding: 25px 25px 25px 0;
  display: flex;
  position: relative;
}

.text-div-48.right {
  align-items: flex-end;
  padding-right: 30px;
}

.white-text {
  background-color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 110%;
  padding: 25px;
  display: flex;
  position: relative;
}

.list-holder {
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
}

.list-48 {
  flex-flow: column;
  width: 48%;
  display: flex;
}

.fancy-list {
  align-items: center;
  margin-bottom: 10px;
  line-height: 1.3em;
  display: flex;
}

.image-3 {
  width: 25px;
  margin-right: 10px;
}

.practice-you-can-trust {
  background-color: var(--color-3);
  background-image: url('../images/staff-photo-3.jpg');
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  align-items: flex-end;
  min-height: 70vh;
  padding: 4% 4% 2% 0%;
  display: flex;
}

.trust-div {
  background-color: var(--color-3);
  align-items: flex-end;
  width: auto;
  max-width: 75%;
  min-height: 0;
  display: flex;
  position: relative;
}

.h2-red {
  color: var(--color-4);
}

.meet-doctor-section {
  padding-top: 5%;
  padding-bottom: 5%;
}

.doc-wrapper {
  justify-content: space-between;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.doc-photo-div {
  object-fit: cover;
  width: 30%;
}

.image-4 {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.doc-text {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 65%;
  display: flex;
}

.block-quote {
  border-left-color: var(--color-5);
  margin-bottom: 0;
  font-size: .9em;
  font-style: italic;
}

.testimonial-section {
  background-image: radial-gradient(circle farthest-corner at 50% 50%, var(--color-3), #0c1846);
  padding-top: 5%;
  padding-bottom: 5%;
  position: relative;
}

.testimonial-wrapper-div {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.h2-center-white {
  color: var(--color);
  text-align: center;
}

.testimonial-holder {
  justify-content: space-between;
  margin-top: 50px;
  display: flex;
}

.testionial-block {
  background-color: var(--color);
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 32%;
  padding: 20px;
  display: flex;
}

.image-5 {
  max-width: 200px;
  position: absolute;
  top: 10%;
  bottom: auto;
  left: auto;
  right: 0%;
}

.footer {
  padding-top: 5%;
  padding-bottom: 5%;
}

.footer-wrapper-div {
  justify-content: space-between;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.location-div {
  flex-flow: column;
  justify-content: flex-start;
  width: 30%;
  display: flex;
}

.form-div {
  width: 65%;
}

.field-label {
  font-weight: 400;
  line-height: 1em;
}

.form-block {
  margin-bottom: 0;
}

.map-div {
  object-fit: cover;
  margin-bottom: 20px;
  overflow: hidden;
}

.image-6 {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.mobile-team-img {
  display: none;
}

@media screen and (max-width: 991px) {
  .hero {
    background-position: 50% 0;
    background-size: 100%;
    align-items: flex-start;
    height: 720px;
    padding-bottom: 0%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .hero-div {
    width: 100%;
    padding: 10px;
  }

  .hero-text {
    background-image: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05));
    padding: 5%;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .hero-top-line {
    font-size: 2em;
  }

  .hero-line-2 {
    font-size: 1.2em;
  }

  .hero-button-holder {
    margin-top: 10px;
  }

  .navbar {
    height: 60px;
  }

  .image {
    height: 50px;
  }

  .brand {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .text-div-48.right {
    padding: 10px;
  }

  .practice-you-can-trust {
    background-position: 50% 0;
    background-size: 100%;
    min-height: 65vh;
    padding-top: 0%;
    padding-bottom: 0%;
    padding-right: 0%;
  }

  .trust-div {
    max-width: none;
  }

  .testimonial-holder {
    margin-top: 40px;
  }

  .testionial-block {
    padding: 10px;
    line-height: 1.5em;
  }

  .image-5 {
    max-width: 150px;
    top: 5%;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 1.8em;
  }

  .hero {
    background-color: var(--color-4);
    background-image: none;
    background-repeat: repeat;
    background-size: auto;
    height: auto;
    padding-top: 60px;
  }

  .hero-top-line {
    margin-bottom: 5px;
    font-size: 1.8em;
  }

  .hero-line-2 {
    margin-bottom: 8px;
    font-size: 1em;
  }

  .conditions-section {
    padding: 0%;
  }

  .conditions-wrapper-div {
    width: 100%;
    max-width: none;
  }

  .text-div-48.right {
    background-color: var(--color-3);
  }

  .list-holder {
    flex-flow: column;
  }

  .list-48 {
    width: 100%;
  }

  .fancy-list {
    margin-bottom: 5px;
  }

  .practice-you-can-trust {
    min-height: 55vh;
  }

  .doc-wrapper {
    flex-flow: column;
  }

  .doc-photo-div {
    width: 50%;
    margin-bottom: 20px;
  }

  .doc-text {
    width: 100%;
  }

  .testimonial-holder {
    flex-flow: column;
  }

  .testionial-block {
    width: 100%;
    margin-bottom: 20px;
  }

  .image-5 {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .brand {
    padding-left: 0;
  }

  .conditions-wrapper-div {
    flex-flow: column;
  }

  .photo-div-48, .text-div-48.right {
    width: 100%;
  }

  .white-text {
    min-width: 0;
    padding: 15px;
  }

  .practice-you-can-trust {
    min-height: 0;
  }

  .footer-wrapper-div {
    flex-flow: column;
  }

  .location-div {
    width: 100%;
  }

  .form-div {
    width: 100%;
    margin-top: 20px;
  }

  .mobile-team-img {
    width: 100%;
    margin-bottom: 20px;
    display: block;
  }
}


