:root {
  --color-primary: #629FAE;
  --color-primary-old: #4d5bbd;
  --color-primary-hover: #7383f3;

  --color-green-dark: #8db07f;
  --color-green-mid: #aac991;
  --color-green-light: #cee9bf;
  --color-green-pale: #ebf5c3;

  --color-text: #2B2B2B;
  --color-white: #FFFFFF;
  --color-grey-background: #f6f6f6;
}

@font-face {
  font-family: 'Europa';
  src: url('../fonts/Europa-Regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Europa-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/Europa-Regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/Europa-Regular.woff') format('woff'), /* Pretty Modern Browsers */
  url('../fonts/Europa-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
  url('../fonts/Europa-Regular.svg#Europa-Regular') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Europa-Bold';
  src: url('../fonts/Europa-Bold.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Europa-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/Europa-Bold.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/Europa-Bold.woff') format('woff'), /* Pretty Modern Browsers */
  url('../fonts/Europa-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
  url('../fonts/Europa-Bold.svg#Europa-Regular') format('svg'); /* Legacy iOS */
}

* {
  font-family: 'Europa', sans-serif;
  font-variant-ligatures: none;
}

mark {
  /*color: #6dcc09;*/
  color: inherit;
  background-color: transparent;
}

.outlined-text {
  color: white;
  -webkit-text-stroke: 1px #2B2B2B;
  text-shadow:
          -1px -1px 0 #2B2B2B,
          1px -1px 0 #2B2B2B,
          -1px  1px 0 #2B2B2B,
          1px  1px 0 #2B2B2B;
}

.top-banner {
  top: 0;
  width: 100vw;
  height: 80px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background-color: var(--color-green-dark);*/
  z-index: 999;
  background-color: rgba(255, 255, 255, 0); /* transparent */
  transition: background-color 0.3s ease;
}

.top-banner.scrolled {
  background-color: rgba(141, 176, 127, 1);
}

.top-banner-logo {
  margin-left: 20px;
}

#desktop-cta-button {
  display: block;
}

#mobile-cta-button {
  display: none;
}

.top-banner-logo img {
  width: 290px;
  height: auto;
}

.top-banner-cta {
  margin-right: 20px;
  margin-left: 20px;
}

a.cta-button {
  margin-top: 38px;
}

#desktop-cta-button {

}

.top-banner-cta a, a.cta-button {
  display: block;
  width: 220px;
  height: 50px;
  border-radius: 30px;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.header-container {
  /*margin-top: 80px;*/
  background-color: #85b17a;
  height: 580px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../img/graphics/willows-care-header.png");
}

.header-contents {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#hero-logo {
  width: 320px;
}

.header-tag {
  /*margin: -10px 0 0 10%;*/
}

.header-tag h1 {
  color: #ffffff;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px;
  /*letter-spacing: 0.56px;*/
}

.header-tag a {
  display: inline-block;
  width: 225px;
  height: 60px;
  line-height: 60px;
  border-radius: 30px;
  font-size: 20px;
  letter-spacing: 3px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 25px;
  background-color: transparent;
  border: 1px solid #ffffff;
}

.page-contents-8 {
  padding: 0 8.6% !important;
}

.logo-container {
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #F5F5F5;
  padding-bottom: 100px;
}

#cpd-logo {
  width: 180px;
  margin-top: -19px;
}

.white-bg, .white-bg h2 {
  background-color: #efefef !important;
  color: var(--color-text) !important;
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
  .header-container {
    /*background-position-x: -352px;*/
  }

  .header-tag {
    margin-bottom: 6%;
  }
}

.quote-container {
  width: 100%;
  height: 190px;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
}

.quote-container h2 {
  color: var(--color-white);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 178.571% */
  letter-spacing: 3.64px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.video-container {
  background-color: #272a33;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: space-around;
}

.video-container h2 {
  font-size: 50px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.8;
  letter-spacing: 2.86px;
  text-align: center;
  color: #ffffff;
  margin: 55px auto 44px auto;
}

.video-container .video {
  width: 1136px;
  height: 639px;
  margin: auto auto 60px auto;
}

@media only screen and (max-width: 1135px) {
  .video-container .video {
    max-width: 100%;
  }
}

.section-container {
  display: flex;
  min-height: 450px;
}

.text-to-left, .text-to-right {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  width: 58%;
  padding: 0 10%;
}

.text-to-right-quote {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  width: 58%;
  padding: 0 3% 0 0;
  margin: 0 0 0 50px;
}

.text-to-left h2, .text-to-right h2, h2.cpd {
  font-size: 48px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.14;
  /*letter-spacing: 2px;*/
}

h2.cpd {
  margin-bottom: 27px;
  color: #272a33;

}

#cpd-container {
  height: 300px;
  background-color: #f5f5f5;
}

#cpd-text-container, #cpd-logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

p.cpd {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px; /* 145.833% */
  /*letter-spacing: 0.24px;*/
}

.text-to-right h2 {
  color: var(--color-text);
}

.text-to-left p, .text-to-right p {
  font-size: 30px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 20px 0 0 0;
}

.text-to-left {
  background-color: var(--color-white);
  color: var(--color-text);
}

.text-to-right {
  background-color: var(--color-grey-background);
  color: var(--color-text);
}

.text-to-right-quote {
  background-color: #ffffff;
  color: #ffffff;
  margin-bottom: 50px;
}

.image-left, .image-right {
  background-position: center center;
  background-size: cover;
  width: 42%;
  height: 450px;
}

.image-left-quote {
  background-position: center center;
  background-size: cover;
  width: 42%;
  max-width: 450px;
  max-height: 450px;
  aspect-ratio: 1;
}

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

.quote-mark {
  width: 70px;
  height: 52px;
}

.quote-text-container p {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 20px 0 0 0;
}

.quote-details {
  margin-top: 23px;
}

.lower-case {
  text-transform: none !important;
  letter-spacing: 0.24px !important;
  font-size: 24px !important;
}

.cts-section {
  display: flex;
  flex-direction: column;
  min-height: 284px;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.cts-section h2 {
  font-size: 64px;
  text-align: center;
  margin: 59px 0 0 0;
  color: var(--color-text);
}

.cts-section a {
  color: #84c73f;
  text-decoration: underline;
}

.cts-section a:hover {
  text-decoration: none;
}

.cts-section p {
  font-size: 24px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 0 0 0 0;
  color: var(--color-text);
  text-align: center;
}

.cts-section p:last-of-type {
  margin-bottom: 3px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .links, .copyright {
    line-height: 100px;
  }
}

/* FORM CSS */

#form-container {
  margin: 40px auto 50px auto;
  width: 430px;
  max-width: 90%;
}

#form-submit {
  display: block;
  width: 220px;
  height: 50px;
  border-radius: 30px;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

div.field {
  margin-bottom: 40px;
}

div.field label {
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 0 0 0 0;
  color: var(--color-text);
  text-align: left;
}

div.field label span {
  color: red;
}

@media all and (max-width: 800px) {
  .header-contents {
    flex-direction: column;
  }

  #hero-logo {
    width: 180px;
    margin-bottom: 25px;
  }

  #form-container {
    width: 430px;
    max-width: 90%;
    margin: 40px auto;
  }

  div.field label {
    font-size: 20px;
  }

  #desktop-cta-button {
    display: none;
  }

  #mobile-cta-button {
    display: block;
  }
}

.form-container img {
  display: none;
}

.form-row {
  text-align: center;
}

.form-row label {
  color: #272a33;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  margin-bottom: 6px;
}

.sublabel {
  display: block;
  margin: -10px 0 5px 0;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
}

.form-input, .form-select {
  display: block;
  width: 100%;
  height: 60px;
  padding: 10px 20px;
  line-height: 1.42857;
  color: #272a33;
  font-size: 20px;
  border-radius: 4px;
  box-shadow: none;
}

.form-input:focus, .form-select:focus {
  border: 2px solid #84c83f;
  box-shadow: none;
}

.actions {
  display: flex;
  justify-content: center;
}

#submit {
  display: inline-block;
  width: 300px;
  height: 60px;
  line-height: 60px;
  border-radius: 30px;
  font-size: 20px;
  letter-spacing: 3px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 25px;
  background-color: #84c83f;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.validation-fail {
  background-color: rgb(255, 226, 226) !important;
  border: 3px solid #F00 !important;
  color: #f00 !important;
}

#hearaboutotherwrapper, #industryotherwrapper {
  display: none;
}

#thanksmodal {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-content: center;
  align-items: center;
}

#thanksinner {
  width: 600px;
  height: 300px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}

#thanksinner h2 {
  font-size: 35px;
}

#thanksinner p {
  font-size: 16px;
}

#closebutton {
  display: inline-block;
  width: 150px;
  height: 40px;
  line-height: 40px;
  border-radius: 30px;
  font-size: 16px;
  letter-spacing: 3px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 25px;
  background-color: #84c83f;
  border: 0;
  outline: 0;
  cursor: pointer;
}

/* Vimeo styles copied from main website */

iframe { border: none; width: 100%; height: 100%; }

.container {
  border-bottom: 1px solid #efefef;
}

p.tag {
  color: var(--color-text);
}

h2, h1 {
  color: var(--color-text);
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  font-size: 30px;
}

h2.logo-section {
  margin: 73px 0 26px 0;
  color: #272a33;
}

#closeIcon {
  margin-right: -9px;
  cursor: pointer;
}

.video-section { padding: 80px 0; }

.video-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-side {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.video-trigger {
  width: 580px;
  max-width: 95%;
}

.video-trigger img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

#thanksModal, #vimeoModal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-content: center;
  align-items: center;
}

#thanksInner, #vimeoInner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  width: 80%;
  height: 90%;
  background-color: white;
  text-align: left;
  padding: 0 10px 0 10px;
}

.vimeo-close {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.vimeo-close div {
  cursor: pointer;
}

.vimeo-video {
  height: 100%;
  width: 100%;
// margin-bottom: 10px;
}

.rareModalCloseIcon {

}

@media only screen and (max-width: 450px) {
  .header-container {
    background-position-x: -233px;
  }
}

@media only screen and (max-width: 640px) {

  .full {
    background-image: none;
    margin-top: 0;
  }

  .page-contents-8-left {
    padding: 0 5% !important;
  }

  .page-contents-8-right {
    padding: 0 5% !important;
  }

  .left-column {
    padding: 0 8.6% !important;
    /*height: 460px;*/
  }

  .tag {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
  }

  h2, h1 {
    font-size: 26px;
    line-height: 1.43;
    margin: 28px 0 18px 0;
    text-align: center;
  }

  .contactButton {
    margin: 25px auto 20px auto;
  }

  .mobile-video {
    width: 100%;
    height: 277px;
    margin-bottom: 0;
    margin-top: 20px;
  }

  .left-column {
    display: flex;
    justify-content: center;
    align-items: center;
  }

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

  .tag {
    font-size: 30px;
    line-height: normal;
  }

  h2.vimeo, h1.vimeo {
    font-size: 50px;
    line-height: normal;
    margin: 0 0 13px 0;
    text-align: left;
    color: var(--color-text);
    /*letter-spacing: 0.5px;*/
  }

  .contactButton {
    margin: 47px 0 160px 0;
  }

  .video-section {
    align-content: center;
    padding: 0px 0 40px 0;
  }
}

@media only screen and (max-width: 800px) {
  .top-banner {
    height: 80px;
  }

  .top-banner-logo img {
    width: 185px;
  }

  .tech-award-banner {
    height: auto;
  }

  .tech-award-banner-logo {
    margin: 25px 0 0 0;
    text-align: center;
  }

  .tech-award-banner-text {
    margin: 15px 0 17px 0;
    text-align: center;
  }

  .tech-award-banner-logo {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .tech-award-banner-text h2 {
    font-size: 22px;
    margin: 0 0 5px 0;
    text-align: center;
  }

  .tech-award-banner-text span {
    font-size: 18px;
  }

  .tech-awards {
    width: 120px;
    height: auto;
  }


  a.cta-button {
    margin: 20px auto 10px auto;
  }

  .cts-section h2 {
    margin: 39px 0 0 0;
  }

  .quote-container {
    height: auto;
    padding: 20px 15px;
  }

  .quote-container h2 {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 1px;
  }

  .top-banner-cta {
    margin-right: 10px;
    margin-left: 10px;
  }

  .top-banner-cta a, a.cta-button {
    display: block;
    width: 140px;
    height: 40px;
    border-radius: 20px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
  }

  .header-container {
    padding-top: 80px;
    min-height: 480px;
    background-position-x: -233px;
  }

  .header-container:before {
    content: "";
    display: block;
    padding-top: 0% !important;
  }

  .header-tag h1 {
    color: #527b48;
  }

  .header-logo {
    margin-top: -105%;
  }

  .header-tag {
    margin: -10px 0 0 3%;
  }

  .header-tag h1 {
    font-size: 35px;
    line-height: normal;
    padding: 0;
    letter-spacing: 0.35px;
    text-align: center;
  }

  .header-tag a {
    width: 220px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    letter-spacing: 2.1px;
    background-color: #6DCC0B;
    border-color: #6DCC0B;
  }

  .cpd-logo {

  }

  h2.vimeo {
    font-size: 34px;
    text-align: center;
    margin-top: 30px;
  }

  p.tag {
    font-size: 20px;
  }

  .video-section {
    align-content: center;
    padding: 40px 0 40px 0;
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .video-container .video {
    width: 80%;
    max-width: 80%;
    height: auto;
    margin: auto auto 0 auto;
  }

  .video-container h2 {
    font-size: 22px;
    letter-spacing: 1px;
    margin: 27px auto 25px auto;
  }

  .section-container {
    flex-direction: column;
    min-height: auto;
  }

  .reverse-for-small {
    flex-direction: column-reverse !important;
  }

  .text-to-left, .text-to-right {
    width: 100%;
    padding: 0 20px;
  }

  .text-to-left h2, .text-to-right h2, h2.cpd {
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.39;
    letter-spacing: 1px;
    margin: 35px 0 15px 0;
  }

  h2.cpd {
    margin-bottom: 10px;
    text-align: center;
  }

  p.cpd {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
  }

  #cpd-container {
    height: auto;
    flex-direction: column;
  }

  #cpd-logo {
    width: 100px;
    margin: 7px auto 30px auto;
  }

  .text-to-left p, .text-to-right p {
    font-size: 20px;
    line-height: 1.43;
    letter-spacing: normal;
    margin: 10px 0 45px 0;
  }

  .image-left, .image-right {
    width: 100%;
    height: 240px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #85b17a;
  }

  .image-left-quote {
    width: 100%;
    margin: 20px 0 0 0 ;
  }

  .text-to-right-quote {
    width: 90%;
    margin: 20px 5% 30px 5%;
  }

  .quote-text-container {
    margin-bottom: 20px;
  }

  .quote-text-container p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 3.2px;
    margin-top: 20px;
  }

  .quote-details {
    font-size: 18px !important;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.18px !important;
  }

  .quote-mark {
    width: 40px;
    height: 30px;
  }

  .heartlands-logo {
    margin-top: 20px;
    width: 80px;
    height: 80px;
  }

  .redbridge-logo {
    margin-top: 20px;
    width: 93px;
    height: 56px;
  }

  .cts-section {
    min-height: 150px;
  }

  .cts-section h2 {
    font-weight: bold;
    font-size: 40px;
  }

  .cts-section  {
    font-size: 18px;
  }


  .cts-section a {
    width: 240px;
    height: 40px;
    line-height: 40px;
    border-radius: 30px;
    letter-spacing: 2.1px;
    margin-top: 15px;
  }

  .links .copyright {
    width: 100%;
    text-align: center;
  }

  .links a, .copyright {
    font-size: 14px;
  }

  .cts-section p {
    max-width: 87%;
    text-align: center;
    font-size: 18px;
    display: inline;
  }

  .clientImg {
    margin-bottom: 15px;
  }

  .logo-container {
    padding-bottom: 48px;
  }
}

/*-- HubSpot form CSS --*/

.hs-form-required {
  color: red !important;
  font-weight: bold;
}

input.hs-input.error, select.hs-input.error {
  border: 2px solid red;
}

.hs-error-msgs {
  display: none;
}

.submitted-message {
  color: #343c43;
  font-size: 24px;
  font-weight: bold;
}

@media only screen and (min-width: 641px)  {
  h2.vimeo, h1.vimeo {
    font-size: 50px;
    line-height: normal;
    margin: 0 0 13px 0;
    text-align: left;
    color: var(--color-text);
    /* letter-spacing: 0.5px; */
  }

  p.tag {
    font-size: 30px;
  }

  input.hs-input, select.hs-input {
    height: 70px;
    border-radius: 30px;
    margin-bottom: 0;
    padding-left: 22px;
    font-size: 18px;
    line-height: 35px;
  }

  div.hs-form-field label span {
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    margin-bottom: 10px;
    color: #343c43;
  }

  legend.hs-field-desc {
    display: block;
    font-size: 18px;
    margin: -13px 0 14px 0;
  }

  input[type=submit].hs-button {
    width: 320px;
    height: 70px;
    line-height: 70px;
    letter-spacing: 2px;
    border-radius: 35px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    background-color: #6ecc06;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    margin: 18px 0 21px 136px;
  }

  div.input {
    margin-bottom: 30px;
    width: 580px;
  }

  div.hs-form-field label {
    margin-bottom: 10px;
  }

  div.hs-form-row label span {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 10px;
  }

  input.hs-input, select.hs-input {
    height: 70px;
    border-radius: 35px;
    margin-bottom: 0;
    padding-left: 27px;
    font-size: 24px;
    line-height: 35px;
  }
}

@media only screen and (max-width: 641px)  {
  input.hs-input, select.hs-input {
    height: 55px;
    border-radius: 30px;
    margin-bottom: 0;
    padding-left: 22px;
    font-size: 18px;
    line-height: 35px;
  }

  div.hs-form-field label span {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 8px;
    color: #343c43;
  }

  legend.hs-field-desc {
    display: block;
    font-size: 16px;
    margin: -11px 0 7px 0;
  }

  input[type=submit].hs-button {
    width: 200px;
    height: 40px;
    line-height: 40px;
    letter-spacing: 2px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    background-color: #6ecc06;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0 11px 0;
  }

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

  div.hs-form-field label {
    margin-bottom: 8px;
  }

  div.hs-form-row label span {
    font-size: 18px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 8px;
  }

  input.hs-input, select.hs-input {
    height: 55px;
    border-radius: 35px;
    margin-bottom: 0;
    padding-left: 27px;
    font-size: 18px;
    line-height: 28px;
  }
}

#rare-newsletter-form .hs-input {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin-right: 11px;
  width: 392px;
  border-color: #aeb1b4;
  border-radius: 24px;
  border-width: 1px;
  padding-left: 19px;
  color: #4d5b67;
  display: inline-block;
  height: 48px;
}

#rare-newsletter-form .hs-input:focus, #rare-newsletter-form .hs-input:active {
  border-width: 1px;
}

#rare-newsletter-form label span {
  display: inline-block;
  color: #343c43;
  font-size: 14px;
  line-height: 1.71;
  margin: 12px 0 0 0;
  text-align: left;
  font-weight: bold;
}

#rare-newsletter-form {
  position: relative;
}

#rare-newsletter-form .actions {
  position: absolute;
  width: 120px;
  top: 34px;
  left: 408px;
}

#rare-newsletter-form .actions input {
  width: 120px;
  height: 48px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 3px;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  color: #fff;
  font-weight: 600;
  margin: 12px 0 0 0;
}

#rare-newsletter-form .submitted-message {
  font-size: 14px;
  font-weight: normal;
  color: #343c43;
  height: 30px;
  margin: 30px 0;
}

/* FOOTER CSS */

.footer {
  border-top: 1px solid #c4cace;
}

.footerList {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.footerList a {
  display: block;
  color: #343c43;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.71;
}

.buttonWrapper {
  display: inline-block;
}

.emailLabel {
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  margin: 0;
  margin-bottom: 8px;
  text-align: left;
}

.accredLogo {
  display: inline-block;
  float: right;
}

.footerBase {
  background-color: #343c44;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  height: 35px;
  line-height: 35px;
  text-align: left;
}

.footerBase p {
  padding: 0;
  line-height: 35px;
  margin: 0;
}

input.pass {
  border: 2px solid #A7CD5F;
  background-image: url('~@/assets/img/icons/pass.svg');
  background-position: 97%;
  background-repeat: no-repeat;
}

input.fail {
  border: 2px solid #ff495c;
  background-image: url('~@/assets/img/icons/fail.svg');
  background-position: 97%;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 640px)  {

  .menuCont {
    margin-top: 27px;
  }


  .emailCont {
    margin: 20px 0 33px 0;
  }

  .emailLabel {
    font-size: 12px;
    line-height: 2;
  }

  .emailInput {
    height: 32px;
    border-radius: 16px;
    margin-right: 5px;
    width: 181px;
  }


  .footerList a {
    font-size: 12px;
    line-height: 2;
  }

  .linkedinIcon {
    display: inline-block;
    margin-left: 4px;
    margin-top: 25px;
  }

  .twitterIcon {
    display: inline-block;
    margin-left: 0;
    margin-top: 25px;
    width: 32px;
  }

  .iconCont {
    margin-bottom: 30px;
    margin-top: -12px;
  }


  .cyber {
    max-width: 70px;
  }

  .gdpr {
    max-width: 66px;
  }
  .iso {
    max-width: 60px;
  }
}

@media only screen and (min-width: 641px)  {

  .menuCont {
    margin-top: 37px;
  }

  .emailCont {
    margin: 30px 0 33px 0;
  }

  .emailLabel {
    font-size: 14px;
    line-height: 1.71;
  }

  .emailInput {
    margin-right: 11px;
    width: 392px;
  }


  .footerList li {
    font-size: 14px;
    line-height: 1.71;
  }

  .linkedinIcon {
    display: inline-block;
    margin-left: 4px;
  }

  .twitterIcon {
    display: inline-block;
    margin-left: 12px;
    width: 32px;
  }

  .iconCont {
    margin-top: 37px;
  }

  .cyber {
    max-width: 90px;
  }

  .gdpr {
    max-width: 100px;
  }
  .iso {
    max-width: 80px;
  }


}
#thanksModal {
  display: flex;
  position: fixed;
  z-index: 99999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-content: center;
  align-items: center;
}

#thanksInner {
  position: relative;
  width: 800px;
  height: 350px;
  background-color: white;
  text-align: left;
  padding: 0 70px 0 70px;
}

.rareModalCloseIcon {
  position: absolute;
  cursor: pointer;
  right: 0%;
  top: 0%;
  margin-top: 10px;
  margin-right: 20px;
}

#thanksInner h2 {
  font-size: 32px;
  font-weight: normal;
  margin-top: 75px;
  margin-bottom: 30px;
}

#thanksInner p {
  font-size: 24px;
  margin-bottom: 3rem;
  text-align: left;
}

.back-section {
  margin: 160px 0 50px 0;
}

.back-button {
  display: flex;
  justify-items: flex-start;
  align-items: center;
}

.back-button img {
  border: 1px solid var(--color-text);
  padding: 5px;
  border-radius: 30px;
}

.back-button span {
  color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 19px;
}

.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  color: var(--color-text);
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 44px;
}

.about-section p {
  color: var(--color-text);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 50px;
}

.about-section a {
  text-decoration: underline;
  color: var(--color-text);
}

@media only screen and (max-width: 800px) {
  .back-section {
    margin: 100px 0 20px 0;
  }

  .back-button img {
    border: 1px solid var(--color-text);
    padding: 5px;
    border-radius: 30px;
    width: 35px;
  }

  .back-button span {
    font-size: 14px;
    margin-left: 12px;
  }

  .about-section {
    margin-bottom: 50px;
  }

  .about-section h2 {
    text-align: left;
    font-size: 26px;
    margin: 0 0 20px 0;
  }

  .about-section p {
    font-size: 20px;
    margin-bottom: 40px;
  }
}

.twitterIcon, .linkedinIcon {
  width: 32px !important;
  height: 32px !important;
}

/* Comp Table CSS  */

table thead {
  border: 0;
}

thead tr {
  background-color: #4a5b68 !important;
  color: #fff;
}

th {
  text-align: center !important;
  padding: 10px 0 10px 0 !important;
}

th:first-of-type {
  padding-left: 40px !important;
}

th:last-of-type {
  padding-left: 40px;
}

th:first-of-type {
  text-align: left !important;
  width: 60%;
}

td {
  color: #323c44;
  font-style: normal;
  font-weight: 700;
  padding: 10px 0 10px 0 !important;
  text-align: center;
}

td:first-of-type {
  text-align: left;
}


@media only screen and (min-width: 1024px) {
  thead tr {
    font-size: 30px;
    height: 120px;
  }
}

@media only screen and (max-width: 800px) {
  td {
    height: 40px;
    font-size: 14px;
    padding: 10px 0 !important;
  }

  td:first-of-type {
    padding-left: 20px !important;
  }

  td.value img {
    width: 30px;
    height: 30px;
  }

  td.feature {
    width: 50%;
  }
  td.value {
    width: 25%;
  }

  th {
    width: 25%;
  }

  th:first-of-type {
    width: 50%;
    padding-left: 20px !important;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1024px) {
  td {
    height: 40px;
    font-size: 14px;
  }
}

@media only screen and (min-width: 1024px) {
  td {
    height: 80px;
    font-size: 24px;
  }

  td:first-of-type {
    padding-left: 40px !important;
  }
}

/* Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal box */
.modal {
  width: 50%;
  height: 50%;
  max-height: 275px;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  /* nice soft feel */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Typography */
.modal h2 {
  margin-bottom: 20px;
}

.modal p {
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .modal {
    width: 90%;
    height: auto;
  }
}
