// Colors
$m-c: #122d3e;
$s-c: #274961;
$t-c: #656d78;
$bg-c: #122d3e;

.wpcf7 label {
  width: 100%;
}

.wpcf7 {
  p {
    margin-bottom: 10px;
  }

  input,
  textarea {
    background: #fff;
    border: 2px solid #ebedf2;
    border-radius: 2px;
    padding: 15px 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    transition: all 0.3s;
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 400;
  }

  textarea {
    max-height: 120px;
  }

  input[type="submit"] {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    border: 0;
    transition: all 0.3s;
    font-weight: 500;
    background: #204056;
    padding: 11px 45px;
    margin: 0 auto;
    display: block;
    border-radius: 2px;
    text-transform: uppercase;

    &:hover {
      background: $s-c;
      border: 0;
    }
  }
}

.wpcf7-response-output {
  background: #fff;
  border-radius: 4px;
  color: #7e7e7e;
  font-family: var(--main-font);
  font-size: 14px;
  font-weight: 500;
  margin: 20px 0 0 !important;
  padding: 10px !important;
}

/* Saas Demo */
.subscribe-saas {
  .wpcf7 {
    label {
      font-family: var(--main-font);
      font-size: 15px;
      font-weight: 400;
      color: #626670;
    }

    p {
      margin: 0;
    }

    span.your-name {
      float: left;
      width: 50%;
      margin-right: 7.5px;
      width: calc(50% - 7.5px);
    }

    span.your-email {
      display: inline-block;
      width: calc(50% - 7.5px);
      margin-left: 7.5px;
    }

    input[type="text"],
    input[type="email"] {
      background: transparent;
      padding: 0;
      margin: 0;
      border: 0;
      border-radius: 0;
      color: #fff !important;
      border-bottom: 1px solid #2d2f35;
      padding-bottom: 20px;
      margin-bottom: 20px;
      font-size: 17px;

      &:hover {
        border-bottom: 1px solid #fff;
      }
    }

    input[type="submit"] {
      background: #9e2033;
      margin-top: 40px;
      font-weight: 400;
      padding: 15px 46px;

      &:hover {
        background: #fff;
        color: #23282d;
      }
    }

    input::-webkit-input-placeholder {
      color: #fff;
    }

    input:-ms-input-placeholder {
      color: #fff;
    }

    input::placeholder {
      color: #fff;
    }
  }
}

.wdes-contact-form input,
.wdes-contact-form textarea {
  background: #41484b;
  border: 1px solid transparent;
  padding: 10px;
  color: #333;
  transition: all 0.3s;
}

.wdes-contact-form input:hover,
.wdes-contact-form textarea:hover,
.wdes-contact-form input:focus,
.wdes-contact-form textarea:focus {
  border: 1px solid $m-c;
}

.wdes-contact-form input::-webkit-input-placeholder,
.wdes-contact-form textarea::-webkit-input-placeholder,
.wdes-contact-form input::-moz-placeholder,
.wdes-contact-form textarea::-moz-placeholder,
.wdes-contact-form input:-ms-input-placeholder,
.wdes-contact-form textarea:-ms-input-placeholder,
.wdes-contact-form input:-moz-placeholder,
.wdes-contact-form textarea:-moz-placeholder {
  color: #fff;
}

.valid {
  display: none;
}

#white-placeholder-form-c {
  input.wpcf7-form-control::placeholder,
  textarea::placeholder {
    color: #fff;
  }
}
