


html {
  scroll-behavior: smooth;
}

hero {
  position: relative;
  width: 100vw;
  height: auto;
  margin-bottom: 150px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

hero.expanded-form {
  margin-bottom: 75px;
}

hero.full-height {
  height: 100vh;
}

hero .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.1) inset;
  clip-path: url(#myClip);
  width: 131%;
  margin-left: -25%;
  animation: enter 1s;
  animation-timing-function: ease-in-out;
  margin-top: -775px;
  opacity: 1;
  background: linear-gradient(136.21deg, #668090 5%, #183E55 88.18%)
}

@keyframes enter {
  0% {
    margin-top: -1000px;
    opacity: 0.6;
  }

  100% {
    margin-top: -775px;
    opacity: 1;
  }
}

hero.full-height:before {
  background-repeat: repeat;
  background-size: auto;
}

hero .container {
  display: flex;
  justify-content: space-between;
  height: 100%;
  margin-bottom: 48px;
}

hero .lockup-large {
  max-width: 550px;
  width: 100%;
}

  hero a.comparison-table-cta {
    display: flex;
    padding: 15px 25px;
    width: max-content;
    text-transform: uppercase;
    border: 0;
    border-radius: 4px;
    background-color: #f3d68d;
    color: #4a4232;
    font-weight: bold;
  }



hero .lockup-large li a {
  display: flex;
  align-items: center;
  color: #fff;
}



hero h2, hero p, hero li {
  color: #fff;
}

hero .inner p.eyebrow {
  font-size: 14px;
  line-height: 24px;
  font-family: Lato,"Helvetica Neue",Arial,Helvetica,sans-serif !important;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #333;
}


hero .caption {
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  margin-left: 1.8rem;
  max-width: 300px;
  font-size: 15px;
  line-height: 26px;
  font-style: italic;
}

hero .overline img {
  width: auto;
  height: 25px;
}

/* hero .hero-form.closed {
  position: relative;
  max-height: 304px;
  overflow: hidden;
} */

hero .hero-form.expanded-form {
  border-radius: 4px;
}

hero .hero-form {
  max-height: 1200px;
  width: 496px;
  margin-top: 130px;
  transition: max-height 300ms linear;
}


hero .hero-form .ui.segment {
  position
  width: 100%;
  box-shadow: 0 10px 35px rgba(50, 50, 93, 0.1);
  border: 1px solid rgba(34, 36, 38, 0.09);
  padding: 50px 40px 50px;
  text-align: left;
  background-color: #F7F7F7;
}

hero .hero-form .ui.segment.closed {
  position: relative;
  max-height: 304px;
  overflow: hidden;
}

hero .hero-form .header {
  display: block;
  font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
  background-color: #F7F7F7;
  margin: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: rgba(0,0,0,.85);
  line-height: 2.28571428rem;
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 31px;
  text-align: left;
}

hero .hero-form .header.center {
  text-align: center;
}

hero .hero-form .ui.form .field {
  clear: none;
}

hero .hero-form fieldset {
  max-width: 100% !important;
}

hero .hero-form fieldset.form-columns-1 .hs-input:not([type="checkbox"]) {
  width: 100% !important;
  margin-bottom: 12px;
}

hero .hero-form input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

hero .hero-form input[type="submit"] {
  width: 100%;
  height: 41px;
  text-transform: uppercase;
  border: 0;
  border-radius: 4px;
  background-color: #F3D68D;
  color: #4A4232;
  font-weight: bold;
}

 form .inputs-list li label {
  display: flex;
}

 form .inputs-list li label span {
  font-size: 15px !important;
  text-transform: capitalize !important;
}

hero .hero-form .ui.form .field > label,
hero .hero-form .ui.form label span {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  color: #555;
}

.expandable-form-btn {
  display: none;
background-color: #f7f7f7;
    border: 1px solid rgba(34, 36, 38, .09);
    box-shadow: 0 10px 35px rgba(50, 50, 93, .1);
    padding: 11px 40px;
    width: 496px;
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  border-radius: 0px 0px 4px 4px;
}

.expandable-form-btn.loaded {
  display: block;
}

hero .hero-form:not(.closed) .expandable-form-btn.loaded {

}

.ui.form ul.inputs-list {
  padding: 0 0 0 10px;
  list-style: none;
}



hero .hero-form .ui.form ul.hs-error-msgs {
  padding-left: 0;
}

hero .hero-form .ui.form ul.hs-error-msgs li {
  list-style: none;
}

hero .hero-form .ui.form label.hs-error-msg {
  color: #F87171;
}

hero .hero-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, black 50%),
    linear-gradient(135deg, black 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em !important;
  background-size: 5px 5px, 5px 5px, 1px 1.5em !important;
  background-repeat: no-repeat !important;
}

hero .hero-form ul.hs-error-msgs {
  margin: 0.5em;
  color: red;
  font-size: 11px;
}

hero .hero-form .legal-consent-container .hs-richtext p {
  color: rgba(0,0,0,.87);
}

hero .inner {
  max-width: 550px;
  margin-top: 131px;
  margin-right: 42px;
}

hero.inner.expanded-form {
  margin-top: 95px;
}

hero .inner ul {
  padding-left: 0;
  list-style-type: none;
  max-width: 450px;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}

hero .inner ul li {
  margin-bottom: 2rem;
  font-size: 18px;
  color: hsl(0, 0%, 87%);
  display: flex;
  align-items: center;
}

hero .inner ul img {
  width: 32px;
  height: 32px;
  margin-right: 1rem
}

hero .inner ul li.no-icon {
  margin-left: 1.8rem;
}

hero .inner ul li.no-icon p.bold {
  position: relative;
}

hero .inner ul li.no-icon p.bold::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    height: 10px;
    width: 10px;
    background: #fff;
    border-radius: 50%;
}

hero .inner .bottom-image  {
  width: 80%;
  margin: 0 auto;
}

.ui.modal {
  width: 800px !important;
  transform: translateY(-50%);
  min-height: 500px;
}

.ui.modal.scrolling {
  transform: none;
}

.ui.modal .submitted-message p {
  color: #fff;
  text-align: center;
}
.ui.modal .modal-inner {
  width: 100%;
  display: flex;
}

.ui.modal .modal-image {
  width: 50%;
  background-color: #F6F8F9;
  position: relative;
  padding: 0 35px;
  overflow: hidden;
  min-height: 500px;
}

.ui.modal .modal-image img {
  top: 50%;
  transform: translateY(-50%);
  left: -197px;
  position: absolute;
  width: 558px;
  max-width: initial;
}

.ui.modal .modal-content {
  width: 50%;
  background-color: #0A2B46;
  padding: 38px 35px 42px;
}

.ui.modal .modal-content h3 {
  color: #fff;
  font-family: Lato;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 31px;
  text-align: center;
  text-transform: none;
  margin-bottom: 20px;
}

.ui.modal .hs-input {
  background: #FCFCFD;
  border: 1px solid rgba(34, 36, 38, 0.15);
  box-shadow: 0px 1.00813px 1.00813px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  margin-bottom: 19px;
  height: 42px;
}

.ui.modal label {
  font-family: Lato;
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0.07em;
  color: #FFFFFF;
  opacity: 0.9;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ui.modal select.hs-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, black 50%),
    linear-gradient(135deg, black 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em !important;
  background-size: 5px 5px, 5px 5px, 1px 1.5em !important;
  background-repeat: no-repeat !important;
  margin-bottom: 36px;
}

.ui.modal input[type="submit"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.08) 100%), #F3D68D;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), inset 0px 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  width: 100%;
  height: 42px;
}


/**************
 * Responsive *
 * ***********/
@media only screen and (min-width: 768px) {
  .ui.modal {
    margin: 0px 0 0 -33% !important;
    width: 88%
  }
}

@media only screen and (min-width: 961px) {
  .ui.modal {
     margin: 0px 0 0 -40% !important;
  }
}

@media only screen and (min-width: 1200px) {
  .ui.modal {
    margin: 0px 0 0 -400px !important;
  }
}


@media screen and (max-width: 1280px) {
    hero {
      height: auto;
    }

  hero .hero-image {
    width: 70%;
    top: 50%;
    transform: translateY(-50%);
  }

  hero copy {
    padding-left: 48px;
  }

  hero copy .inner {
    width: 500px;
    margin-right: 35px;
  }

  hero copy .inner p {
    font-size: 18px;
  }
}

@media screen and (max-width: 1249px) {
  hero {
    padding-top: 124px;
    padding-bottom: 100px;
  }
  
  hero .inner .bottom-image {
    display: none;
  }
  
  hero .inner {
    max-width: 450px;
    margin-top: 0;
  }
  hero .hero-form {
    margin-top: 0;
  }
}


@media screen and (max-width: 1024px) {
  hero copy .inner {
    width: 450px;
  }
}

@media screen and (max-width: 960px) {
  hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  hero:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(166.28deg, #668090 -146.81%, #183E55 101.64%);
  }
  
  hero .inner h2 {
    margin-bottom: var(--spacing-three);
  }
  
  hero .background {
    display: none;
  }

  hero .container {
    flex-direction: column;
    align-items: center;
  }

  hero .inner ul {
    max-width: 420px;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 7rem;
    align-items: center;
  }
  
  hero .inner ul li  {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  hero .inner ul li:not(:last-of-type) {
    margin-bottom: 3rem;
  }
  
  hero .inner ul li:last-of-type {
    margin-bottom: 0;
  }
  
  hero .inner ul li img {
    margin: 0;
    margin-bottom: 7px;
  }
  
  hero .inner ul li.no-icon p.bold::before {
    display: none;
  }
  
  hero .inner {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  
  hero .lockup-large {
    max-width: 700px;
  }
  

  hero .hero-form {
    text-align: left;
    max-width: 496px;
    width: 100%;
  }
  .ui.modal {
    max-width: 497px !important;
  }
  
  .ui.modal .modal-inner {
    flex-direction: column;
  }
  
  .ui.modal .modal-image {
    width: 100%;
    height: 300px;
  }
  
  .ui.modal .modal-image img {
    width: 417px;
    bottom: -15px;
    top: unset;
    left: 50%;
    transform: translate(-50%, 0);
  }
  
  .ui.modal .modal-content {
    width: 100%;
  }
  
  hero .caption {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  hero copy .inner h2.small {
    font-size: 30px;
    line-height: 1.3;
  }

  hero .hero-form .form-columns-2 .hs-form-field .hs-input {
    width: 100% !important;
  }

  hero .hero-form .ui.form .field:last-child {
    margin-bottom: 12px;
  }

  hero .hero-form fieldset.form-columns-1 .hs-input {
    margin-bottom: 12px !important;
  }
  
  .ui.modal {
     margin: 0 0 0 -39% !important;
  }
  
  .expandable-form-btn {
    bottom: 1px;
  }
}

@media screen and (max-width: 699px) {
  hero .inner ul img {
    width: 36px;
    height: 36px;
    margin-right: 1rem;
  }
}

@media screen and (max-width: 549px) {
  hero {
    padding-top: 90px;
  }
  
  hero .hero-form {
    width: 100vw;
  }
  
  hero .inner {
    padding: 0 21px;
  }
  
  hero .hero-form .ui.segment {
    box-shadow: none;
    padding: 42px 21px;
  }
  
  
  
  hero .hero-form .header {
    font-size: 1.571428rem;
  }
}

@media screen and (max-width: 479px) {
  hero .hero-form fieldset.form-columns-2 .input,
  fieldset.form-columns-1 .input {
    margin-right: 0 !important;
  }

  hero .hero-form fieldset.form-columns-1 .hs-input {
    margin-bottom: 0px !important;
  }

  hero .hero-form .ui.form .field {
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 375px) {
  hero {
    margin-bottom: 21px;
  }

  hero copy .inner h2 {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  hero copy .inner p {
    font-size: 16px;
    line-height: 1.625;
    margin-bottom: 27px;
  }
}


