/*------------------------------------*\
    $FORMS
\*------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
  height: auto;
  width: 100%;
  overflow: visible;
}

form {
  font-family: 'montserrat', sans-serif;
  font-weight: 500;
  color: #212121;
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

form a {
  color: #fb74b6;
  text-decoration: none;
}

form a:hover {
  text-decoration: underline;
}

form ol,
form ul {
  list-style: none;
  margin-left: 0;
}

legend {
  margin-bottom: 10px;
  font-weight: bold;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-family: 'montserrat', sans-serif;
}

input,
select,
textarea {
  width: calc(100% - 20px);
  border: 1px solid rgba(198, 203, 211, 0.2);
  padding: 20px 10px;
  -webkit-appearance: none;
  outline: 0;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

input[type='checkbox'],
input[type='radio'] {
  width: auto;
  margin-right: 0.3em;
}

input[type='search'] {
  -webkit-appearance: none;
  border-radius: 0;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::placeholder {
  color: #868e9c;
}

/**
 * Validation
 */
.has-error {
  border-color: #f00 !important;
}

.is-valid {
  border-color: #089e00 !important;
}

/*------------------------------------*\
    $SPECIFIC FORMS
\*------------------------------------*/

input[type='radio'],
input[type='checkbox'] {
  outline: none;
  border: none;
  margin: 0;
  margin-right: 20px;
  height: 20px;
  width: 20px;
  line-height: 20px;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 0 0;
  cursor: pointer;
  display: block;
  float: left;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  background-color: transparent;
}

input[type='radio'],
input[type='checkbox'] {
  border: 1px solid #868e9c;
  padding: 0;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
  display: inline-block;
  top: 1px;
  cursor: pointer;
  position: relative;
}

input[type='checkbox']:checked {
  border-color: #eef4ff;
  background: #56189e
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><title>icon-check</title><path d="M7.92,6.49,5.73,8.69C5,7.92,4.2,7.18,3.46,6.43L2.28,5.25,1.1,6.43,0,7.52l.38.39L2.07,9.59l.83.83,1.85,1.86,1,1.05,1.48-1.49,1.52-1.6L11,8l4-4L12.69,1.71Z" fill="#fff"/></svg>')
    center center no-repeat;
  background-size: 20px;
}

input[type='radio']:checked {
  border-color: #eef4ff;
  background: #56189e;
}

input[type='radio'] {
  border-radius: 50px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: '';
  background: #ffffff
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 18"><title>icon-arrow-down</title><path d="M30,3,15,18l-2.34-2.35L0,3,3,0,15,12,27,0Z" fill="#000"/></svg>')
    center right 20px no-repeat;
  background-size: calc(20px - 5px) calc(20px - 5px);
  padding-right: 40px;
}

select::-ms-expand {
  display: none;
}

button,
input[type='submit'] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: 'montserrat', sans-serif;
  outline: 0;
  text-align: center;
  border-radius: 15px;
  letter-spacing: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
  background: linear-gradient(to left, #56189e 50%, #371065 50%);
  background-position: right -5px bottom;
  overflow: hidden;
  background-size: 250% 100%;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
  width: auto;
}

button:hover,
input[type='submit']:hover {
  color: #fff;
  border-color: #56189e;
  background-position: left bottom;
  background-size: 250% 100%;
}

label,
.field-label {
  color: #212121;
}

.form-field:not(.hidden) {
  display: flex;
  flex-direction: column;
}
.hidden {
  display: none;
}
p {
  padding: 0;
  margin: 0;
}

/*------------------------------------*\
    $SPECIFIC FORMS
\*------------------------------------*/

form {
  display: flex;
  position: relative;
}

.field-label {
  position: absolute;
  top: 22px;
  left: 30px;
  font-weight: normal;
  font-size: 13px;
}

.form-field {
  width: calc(100% - 150px);
}

.form-field input {
  padding-top: 0;
  padding-bottom: 0;
  height: 60px;
  border: 0;
  outline: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

input[type='submit'] {
  width: 150px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0;
  height: 60px;
  border: 0;
  margin-top: 0;
}

p.errors {
  display: none;
}

p.error.no-label {
  color: red;
  font-weight: normal;
  font-style: italic;
  font-size: 12px;
  position: absolute;
  bottom: 0px;
  left: 30px;
  margin: auto 0;
}

.u-color--white label,
.u-color--white .field-label {
  color: white !important;
}

/*------------------------------------*\
    Home page -- get demo
\*------------------------------------*/

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"]
{
  align-items: flex-end;
  padding: 0;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] select,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] textarea
{
  width: calc(100% - 20px);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0;
  -webkit-appearance: none;
  outline: 0;
  background-color: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  height: 50px;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input[type='submit']
{
  background: #fff;
  border: #fff;
  color: #7040dc;
  padding: 20px 80px;
  width: auto;
  height: 60px;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] .field-label
{
  left: 0;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input::placeholder,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] .email input
{
  color: #fff;
  opacity: 80%;
  font-size: 38px;
  font-weight: 300;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] p.error.no-label
{
  bottom: -40px;
  left: 0;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] span.description
{
  color: #ffffff;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input[type='submit']
{
  border-radius: 15px;
  background: #fff;
  border: #fff;
  color: #7040dc;
  padding: 20px 80px;
  width: auto;
  height: 60px;
  opacity: 1;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

@media (max-width: 801px) {
  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"].form p label
  {
    font-size: 18px;
  }

  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input::placeholder,
  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] .email input
  {
    font-size: 20px;
  }

  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] input[type='submit']
  {
    padding: 10px 20px;
    top: 10px;
  }

  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] form
  {
    display: block;
  }

  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] .form-field
  {
    width: 100%;
  }

  form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kdf"] .form-field:not(.hidden)
  {
    display: block;
  }
}

/*------------------------------------*\
    Home page -- newsletter signup
\*------------------------------------*/

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"]
{
  align-items: flex-end;
  padding: 0;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] .g-recaptcha
{
  position: absolute;
  top: 60px;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] input,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] select,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] textarea
{
  width: calc(100% - 20px);
  border: #fff;
  border-bottom: 1px solid #7040dc;
  padding: 0;
  -webkit-appearance: none;
  outline: 0;
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  height: 30px;
  color: #333;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] input[type='submit']
{
  border-radius: 15px;
  background: #56189e;
  border: #fff;
  color: #fff;
  padding: 10px 20px;
  width: auto;
  height: 40px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] label
{
  color: transparent;
  position: relative;
  padding: 0;
  color: #333;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] p.error.no-label
{
  bottom: -60px;
  left: 0;
}

form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] input::placeholder,
form[action="https://resource.smartling.com/l/703963/2021-03-03/z1kfc"] .email input
{
  color: #333;
  opacity: 50%;
}

form[action="https://resource.smartling.com/l/703963/2021-04-26/23lr1v"] input[type='submit']
{
  background: #fff;
  color: #56189e;
  border-color: #56189e;
  margin-left: 2px;
}

form[action="https://resource.smartling.com/l/703963/2021-04-26/23lr1v"]
{
  width: 60%;
  margin: auto;
  padding: 30px;
}

form[action="https://resource.smartling.com/l/703963/2021-04-26/23lr1v"] span
{
  color: #fff;
}

form[action="https://resource.smartling.com/l/703963/2021-04-26/23lr1v"] input
{
  box-shadow: none;
}

/* Multi fields */

body .form-two-input {
  flex-wrap: wrap;
  padding: 0;
  width: 90%;
  justify-content: center;
  margin: 0 auto;
}
body .form-two-input .form-field:not(.hidden):first-of-type input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
body .form-two-input .form-field {
  width: calc(50% - 2px);
}
body .form-two-input .form-field:first-of-type {
  margin-right: 2px;
}
body .form-two-input input[type='submit'] {
  margin-top: 2em;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

@media (max-width: 750px) {
  body .form-two-input .form-field:not(.hidden) input {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
}

@media (min-width: 751px) {
  body .form-two-input {
    flex-wrap: nowrap;
  }
  body .form-two-input .form-field:not(.hidden) input {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  body .form-two-input .form-field:not(.hidden):first-of-type input {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  body .form-two-input input[type='submit'] {
    margin-top: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
}
