div[id^="wpcf7-f11117-o"] {
  height: 90px;
}
.cf7-sendmsg-lead-form{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  width: 830px;

  .consent-wrap {
    order: 2;
  }
  .consent-wrap .wpcf7-list-item-label{
    color: #fff;
  }
  .consent-wrap a {
    text-decoration: underline;
    color: #289dcc;
  }
  .consent-wrap a:hover {
    text-decoration: none;
  }
  input::placeholder{
    color: #fff;
  }
  input[type=text],
  input[type=tel],
  input[type=email]{
    color: #fff;
    font-size: 14px;
    background: transparent;
    border: 1px solid #fff;
    padding: 10px 17px;
    border-radius: 8px;
    width: 190px;
    direction: rtl;
  }

  input[type=submit]{
    font-size: 14px;
    background: #46a8db;
    border: 1px solid #46a8db;
    padding: 5px;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    width: 190px;
  }
  input[type="submit"]:hover {
    filter: opacity(.6);
  }
  .input-consent {
    margin-left: 8px;
  }
}
.contact-section-wrapper {
  align-items: flex-start;
}
.wpcf7-response-output {
  transform: translateY(-28px);
  width: 350px;
  float: left;
  color: #fff;
}
.contact-text-box {
  width: 305px;
  padding-top: 7px;
}
body .l-flex.f-c.container.quick-contact-holder {
  align-items: flex-start;
}

@media only screen and (max-width: 767px) {
  .contact-section {
    min-height: 370px;
  }
  .cf7-sendmsg-lead-form {
    width: 100%;
    justify-content: center;

    input[type=text],
    input[type=tel],
    input[type=email]{
      width: 100%;
    }
    .consent-wrap {
      order: unset;
    }
  }
  .wpcf7-response-output {
    float: none;
    width: 100%;
    text-align: center;
  }
}

/* contact page */

.page-template-contact {
  div[id^="wpcf7-f11117-o"]{
    height: auto;
  }
  .cf7-sendmsg-lead-form {
    width: 100%;
    text-align: center;
    align-items: center;

    >div{
      width: 100%;
    }

    input[type=text],
    input[type=tel],
    input[type=email]{
      border-color: #000;
      width: 100%;
      color:#000;
    }
    .consent-wrap .wpcf7-list-item-label{
      color: #000;
    }
    .wpcf7-list-item-label {
      font-size: 14px;
    }
    flex-direction: column;
    .wpcf7-not-valid-tip {
      font-size: 14px;
    }
    p,input[type="submit"]{
      width: 100%;
    }
  }
}

/* footer form */
@media only screen and (max-width: 767px) {
  body .quick-contact {
    height: 360px;
  }
  body .quick-contact-title {
    margin-bottom: 25px;
  }
  .cf7-sendmsg-lead-form {
    p, input[type="submit"]{
      width: 100%;
    }
  }
}

/* sidebar-widget form */
.sidebar-contact-block{
  div[id^="wpcf7-f11117-o"]{
    height: auto;
  }
  .contactForm{
    height: 300px;
  }
  .cf7-sendmsg-lead-form {
    width: 100%;
    text-align: center;
    align-items: center;

    >div{
      width: 100%;
    }

    input[type=text],
    input[type=tel],
    input[type=email]{
      border-color: #000;
      width: 100%;
      color:#000;
    }
    .wpcf7-list-item-label {
      font-size: 16px;
    }
    flex-direction: column;
    .wpcf7-not-valid-tip {
      font-size: 14px;
    }
    p,input[type="submit"]{
      width: 100%;
    }
    .wpcf7-list-item label {
      display: flex;
      align-items: start;
      padding-top: ;
    }
    .input-consent {
      margin-top: 3px;
    }
    .consent-wrap .wpcf7-list-item-label{
      color: #000;
    }
    .consent-wrap a {
      color: #289dcc;
    }
  }
}
