:root {
  --color-3: #7795a3;
  --color-2: #333;
  --color-4: #db7745;
  --black: black;
  --color: white;
  --color-5: #63c8f8;
  --color-6: #e6e6e6;
  --white: white;
}

h2 {
  color: var(--color-3);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1.2em;
}

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

p {
  margin-bottom: 20px;
}

.body {
  font-family: Onest, sans-serif;
  font-size: 16px;
  line-height: 1.75em;
}

.hero {
  background-color: rgba(119, 149, 163, .15);
  background-image: url('../images/Tewks-General-LP-Banner-Photo.jpg');
  background-position: 5%;
  background-repeat: no-repeat;
  background-size: 45%;
  flex-flow: column;
  justify-content: center;
  align-items: flex-end;
  height: 65vh;
  margin-top: 8vh;
  padding: 0%;
  display: flex;
  position: relative;
}

.hero-wrapper-div {
  z-index: 2;
  border: 3px none var(--color-4);
  background-color: rgba(255, 255, 255, 0);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  height: auto;
  padding: 2% 5%;
  display: flex;
  position: static;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.special-top-text {
  background-color: var(--color-3);
  color: #e6e6e6;
  letter-spacing: 0;
  text-transform: uppercase;
  align-items: center;
  height: 40px;
  margin-top: -20px;
  margin-bottom: 10px;
  padding: 12px 20px 10px;
  font-size: 1.3em;
  font-weight: 400;
  line-height: 1em;
  display: flex;
}

.special-top-text.hero-txt {
  margin-top: 0;
}

.large-subline {
  color: var(--color-3);
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1.2em;
}

.navbar {
  background-color: var(--black);
  height: 90px;
  padding-left: 10px;
  padding-right: 10px;
  position: fixed;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
}

.button-schedule {
  background-color: var(--color-4);
  color: var(--color);
  text-transform: uppercase;
  background-image: url('../images/cal.png');
  background-position: 20px;
  background-repeat: no-repeat;
  background-size: 30px;
  border-radius: 50px;
  padding: 15px 20px 12px 60px;
  font-size: 1.2em;
  line-height: 1.2em;
}

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

.button-schedule.white {
  background-color: var(--color);
  color: var(--black);
  background-image: url('../images/icons8-calendar-plus.svg');
}

.button-schedule.white:hover {
  background-color: var(--color-3);
}

.image {
  height: 75px;
}

.brand {
  z-index: 1;
  margin-top: 8px;
  margin-bottom: 8px;
}

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

.nav-link {
  color: var(--color);
  text-transform: uppercase;
  border-bottom: 3px solid rgba(219, 119, 69, 0);
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 600;
  line-height: 1.2em;
}

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

.dental-implant-section {
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  min-height: 65vh;
  padding-top: 5%;
  padding-bottom: 5%;
  display: flex;
}

.dental-implants-wrapper-div {
  justify-content: space-between;
  width: 90%;
  max-width: 1600px;
  max-height: none;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

.text-48 {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 48%;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
}

.photo-48 {
  z-index: 1;
  object-fit: cover;
  width: 48%;
  position: relative;
  overflow: hidden;
}

.photo-48.contain {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

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

.right-color-strip {
  background-color: rgba(119, 149, 163, .1);
  width: 60%;
  display: none;
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: auto;
  right: 0%;
}

.right-color-strip.video-strip {
  top: 35%;
  bottom: 35%;
}

.candidate-section {
  background-image: url('../images/nahata-working.jpg');
  background-position: 50% 0;
  background-size: cover;
  background-attachment: fixed;
  flex-flow: column;
  justify-content: center;
  align-items: flex-end;
  min-height: 80vh;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 5%;
  display: flex;
  position: relative;
}

.candidate-text-wrapper {
  z-index: 1;
  background-color: var(--color);
  width: 45%;
  padding: 50px;
  position: relative;
}

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

.image-4 {
  width: 30px;
  margin-right: 10px;
}

.why-tewks-wrapper {
  justify-content: space-between;
  width: 90%;
  max-width: 1600px;
  max-height: none;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}

.why-tewks-section {
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  min-height: 65vh;
  padding-top: 5%;
  padding-bottom: 4%;
  display: flex;
}

.team-title-div {
  border: 3px none var(--color-4);
  flex-flow: column;
  align-items: center;
  width: 95%;
  max-width: none;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
}

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

.team-row {
  justify-content: space-between;
  width: 100%;
  margin-top: 30px;
  display: flex;
}

.team-row._2 {
  justify-content: center;
  margin-top: 75px;
  margin-bottom: 50px;
}

.doc-div {
  background-color: var(--color);
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1));
  flex-flow: column;
  align-items: center;
  width: 32%;
  padding: 15px;
  display: flex;
  position: relative;
}

.doc-div.right-marg {
  margin-right: 1%;
}

.doc-div.left-marg {
  margin-left: 1%;
}

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

.image-5 {
  width: 100%;
}

.learn-more-trigger {
  z-index: 1;
  background-color: var(--black);
  color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  margin-bottom: 0;
  padding: 10px;
  font-weight: 600;
  display: flex;
  position: relative;
}

.learn-more-trigger:hover {
  background-color: var(--color-3);
}

.doc-text-holder {
  background-color: var(--black);
  color: var(--color);
  padding: 10px;
  display: flex;
  position: absolute;
  top: auto;
  bottom: 65px;
  left: 15px;
  right: 15px;
  overflow: hidden;
}

.section {
  background-color: rgba(119, 149, 163, .1);
  padding-top: 5%;
  padding-bottom: 5%;
}

.testimonial-wrapper-div {
  border: 3px solid var(--color-3);
  flex-flow: column;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px 30px;
  display: flex;
}

.video-row {
  justify-content: space-between;
  width: 100%;
  display: flex;
}

.video-holder {
  width: 32%;
}

.footer {
  background-color: var(--black);
  padding-top: 5%;
  padding-bottom: 5%;
}

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

.photo-30 {
  color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 40%;
  display: flex;
}

.form-holder {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 55%;
  display: flex;
}

.form-block {
  width: 100%;
}

.field-label {
  color: var(--color);
  font-weight: 500;
}

.brand-2 {
  max-width: 250px;
  margin-bottom: 20px;
}

.text-block {
  margin-bottom: 10px;
}

.video {
  width: 100%;
}

.text-field {
  border: 1px solid var(--color);
}

.mobile-img {
  display: none;
}

.fancy-list-5050 {
  justify-content: space-between;
  margin-bottom: 10px;
  display: flex;
}

.list-50 {
  width: 50%;
}

.why-important-wrapper {
  justify-content: space-between;
  width: 90%;
  max-width: 1600px;
  max-height: none;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

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

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

  .hero {
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto;
    justify-content: flex-end;
    height: auto;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .hero-wrapper-div {
    width: 100%;
    padding: 0% 5%;
  }

  .special-top-text {
    margin-bottom: 10px;
  }

  .large-subline {
    font-size: 2em;
  }

  .navbar {
    padding-right: 0;
  }

  .button-schedule {
    background-size: 20px;
    padding-left: 50px;
    font-size: 1em;
  }

  .nav-menu {
    background-color: var(--black);
  }

  .dental-implants-wrapper-div {
    flex-flow: column;
  }

  .text-48 {
    width: 49%;
  }

  .text-48.implants, .text-48.why, .photo-48, .photo-48.contain {
    width: 100%;
  }

  .candidate-section {
    background-position: 30% 0;
    background-attachment: scroll;
    min-height: 0;
    padding: 0%;
  }

  .candidate-text-wrapper {
    width: 100%;
    padding: 5% 20px 0%;
  }

  .why-tewks-wrapper {
    flex-flow: column;
  }

  .why-tewks-section {
    padding-top: 0%;
  }

  .team-row {
    flex-flow: column;
  }

  .team-row._2 {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .doc-div {
    background-color: var(--black);
    color: var(--color);
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 0;
  }

  .learn-more-trigger {
    display: none;
  }

  .doc-text-holder {
    margin-bottom: 0;
    position: static;
  }

  .testimonial-wrapper-div {
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .icon {
    color: var(--color);
  }

  .menu-button {
    background-color: var(--black);
  }

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

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

  .heading {
    color: var(--color);
  }

  .why-important-wrapper {
    flex-flow: column;
  }

  .mobile-hero-img {
    margin-bottom: 20px;
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    height: auto;
    margin-top: 60px;
    padding-top: 3%;
    padding-bottom: 3%;
  }

  .hero-wrapper-div {
    padding-left: 3%;
    padding-right: 3%;
  }

  .special-top-text.hero-txt {
    height: auto;
    padding-top: 10px;
    padding-bottom: 8px;
    font-size: 1em;
  }

  .large-subline {
    margin-bottom: 10px;
    font-size: 1.5em;
  }

  .navbar {
    height: 60px;
    padding-left: 5px;
  }

  .image {
    height: 50px;
  }

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

  .dental-implant-section {
    padding-top: 1%;
  }

  .dental-implants-wrapper-div {
    flex-flow: column;
    max-height: none;
  }

  .photo-48 {
    width: 100%;
  }

  .doc-text-holder {
    position: static;
  }

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

  .photo-30, .form-holder {
    width: 100%;
  }

  .why-important-wrapper {
    flex-flow: column;
    max-height: none;
  }
}

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

  .hero {
    height: auto;
  }

  .hero-wrapper-div {
    bottom: 5%;
  }

  .special-top-text {
    text-align: center;
    letter-spacing: 2px;
    font-size: .9em;
  }

  .large-subline {
    font-size: 1.5em;
    line-height: 1.1em;
  }

  .button-schedule {
    font-size: .9em;
  }

  .text-48 {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .photo-48.top-marg {
    margin-top: 20px;
  }

  .fancy-list {
    padding-left: 0;
  }

  .testimonial-wrapper-div {
    padding-bottom: 5px;
  }

  .video-row {
    flex-flow: column;
  }

  .video-holder {
    width: 100%;
    margin-bottom: 10px;
  }

  .mobile-hero-img {
    margin-bottom: 10px;
  }
}


