/* Home */

.request_a_demo {
  background: #007398 url('../images/request_a_demo.jpg') no-repeat center left;
}

.request_a_demo .section-container2 {
  padding: 12vh 0;
  position: relative;
  width: 500px;
  max-width: 1440px;
  margin: auto;
}

.request_a_demo .wpcf7-not-valid-tip, .request_a_demo .wpcf7-response-output {
  color: #ff9e9e;
  font-size: 1em;
  font-weight: bold;
}

.request_a_demo .wpcf7-text {
  padding: 8px;
  height: 50px;
  margin: 0;
  font-size: 24px;
  line-height: 34px;
}

.request_a_demo .wpcf7-response-output {
  margin: 1em 0 1.5em !important;
}

.request_a_demo .section-container2 .heading {
  font-family: "NexusSansCompPro", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.6;
  color: #fff;
  font-weight: lighter;
}

.request_a_demo .section-container2 .cf7 {
  margin-top: 50px;
}

.request_a_demo .section-container2 .cf7 input[type="submit"] {
  display: inline-block;
  font-family: "NexusSansCompPro", Arial, sans-serif;
  border: 2px solid #fff;
  padding: 8px 15px;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  cursor: pointer;
  background-color: transparent;
  float: right;
}

.request_a_demo .section-container2 .cf7 input[type="submit"]:hover {
  color: #007398;
  background-color: #fff;
}

/* Bar */
.request_a_demo_bar {
  background: #007398;
}

.request_a_demo_bar .section-container2 {
  padding: 50px 7vw 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
}

.request_a_demo_bar .wpcf7-not-valid-tip, .request_a_demo .wpcf7-response-output {
  color: #ff9e9e;
  font-size: 1em;
  font-weight: bold;
}

.request_a_demo_bar .wpcf7-response-output {
  margin: 1em 0 1.5em !important;
}

.request_a_demo_bar .section-container2 .heading {
  font-family: "NexusSansCompPro", Arial, sans-serif;
  width: 460px;
  font-size: 38px;
  line-height: 1.6;
  color: #fff;
  font-weight: lighter;
}

.request_a_demo_bar .section-container2 .cf7 .wpcf7-text {
  padding: 8px 15px;
  height: 56px;
  margin: 0;
  font-size: 24px;
  line-height: 34px;
}

.request_a_demo_bar .mobile_cta,
.request_a_demo_bar .section-container2 .cf7 input[type="submit"] {
  font-family: "NexusSansCompPro", Arial, sans-serif;
  border: 2px solid #fff;
  padding: 8px 15px;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  cursor: pointer;
  background-color: transparent;
}

.request_a_demo_bar .mobile_cta:hover,
.request_a_demo_bar .section-container2 .cf7 input[type="submit"]:hover {
  color: #073973;
  background-color: #fff;
}

.request_a_demo_bar .mobile_cta_section {
  display: none;
}

.request_a_demo_bar .section-container2 .cf7 .wpcf7-form {
  display: flex;
  flex-direction: row;
}

.request_a_demo_bar .section-container2 .cf7 p {
  font-family: "NexusSansCompPro", Arial, sans-serif;
  display: flex;
  margin-bottom: 1rem;
  font-size: inherit;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
}

.request_a_demo_bar .wpcf7-form-control-wrap {
  margin-right: 15px;
}

.request_a_demo_bar .wpcf7-response-output {
  display: none;
}

.mobile_cta_container {
  display: flex;
}

@media screen and (max-width: 767px) {
  .request_a_demo.cfht {
    z-index: 1;
  }

  .request_a_demo {
    background: #007398;
  }

  .request_a_demo .section-container2 {
    padding: 5vh 0;
    width: 350px;
  }

  /* Bar */
  .request_a_demo_bar .section-container2 .heading {
    text-align: center;
    width: 100%;
  }

  .request_a_demo_bar.cfht {
    z-index: 1;
  }

  .request_a_demo_bar {
    background: #007398;
  }

  .request_a_demo_bar .section-container2 {
    padding: 30px 10vw 50px;
    flex-direction: column;
    align-items: unset;
  }

  .request_a_demo_bar .cf7 {
    display: none;
  }

  .request_a_demo_bar .mobile_cta_section {
    display: block;
  }

  .request_a_demo_bar .mobile_cta {
    display: inline-block;
    text-align: center;
    margin: 20px auto auto;
  }
}
@media screen and (max-width: 320px) {

  body.solution-template-shadow-health-home .request_a_demo .section-container2 { 
    width: 100%;
  }

  body.solution-template-shadow-health-home .top-container {
    top:200px;
  }
  body.solution-template-shadow-health-home .top-form .heading {
    font-size: 37px;
  }

  body.solution-template-shadow-health-home .top-form .copy {
    font-size: 16px;
  }

}
