.contact-form {
  position: relative;
  background: #fff;
  width: 41.6rem;
  padding: 4.8rem 4rem;
}

.contact-block .contact-form::after,
.contact-block .contact-form::before {
  position: absolute;
  content: "";
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.contact-block .contact-form::after {
  width: 18.4rem;
  height: 18.4rem;
  left: -12rem;
  bottom: 15rem;
  background-image: url(../images/contact-left-vector.png);
}

.contact-block .contact-form::before {
  width: 16.8rem;
  height: 27.8rem;
  top: 15.8rem;
  right: -11.2rem;
  background-image: url(../images/contact-right-vector.png);
}

.sec-contact-v2 .contact-block .contact-form::after,
.sec-contact-v2 .contact-block .contact-form::before {
  content: none;
}

.contact-form-block .fw-32 {
  margin-bottom: 2.8rem;
}

.form-input {
  margin-bottom: 1.6rem;
}

.form-input-upload {
  margin-bottom: 2.8rem;
}

.form-input:last-child {
  margin-bottom: 0;
}

.form-input .form-control {
  outline: none;
  border: 1px solid #F7F7FA;
  background: #F7F7FA;
  width: 100%;
  height: 4.8rem;
  padding: 0 2rem;
  font-size: 1.4rem;
  line-height: initial;
  color: #001615;
  font-family: inherit;
}

.form-input .form-control:focus {
  border-color: #CCE2E1;
}

.form-input .form-control.error {
  border-color: #ffdddd;
  background: #ffdddd;
}

.form-input textarea.form-control {
  height: 9.6rem;
  resize: none;
  padding: 1.2rem 2rem;
}

.form-input .form-control::placeholder {
  opacity: 1;
  color: #505D62;
}

.form-input .form-control::-ms-input-placeholder {
  color: #505D62;
}

.form-input .form-control::-moz-placeholder {
  color: #505D62;
}

.form-input label.error {
  display: none !important;
}

.file-upload {
  position: relative;
}

.addFileBtn {
  border: 1px dashed #338A85;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
  padding: 0 2rem;
  color: #505D62;
  font-size: 1.4rem;
}

input#addFile {
  display: none;
}

.file-input-note {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  line-height: 120%;
}

.file-text {
  display: none;
  font-size: 14px;
  margin-top: 8px;
}

.chk {
  display: block;
  position: relative;
  font-size: 1.2rem;
  line-height: 120%;
  padding-left: 2.8rem;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.chk input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.wpcf7-list-item.first.last {
  margin: 0;
}

.chk .checkmark {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 1.6rem;
  width: 1.6rem;
  border: 1px solid #66A7A4;
}

.checkmark.error {
  border-color: #ffdddd;
  background: #ffdddd;
}

.checkmark.checked {
  background-color: #66A7A4;
}

.chk .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkmark.checked:after {
  display: block;
}

.chk .checkmark:after {
  left: 0.5rem;
  top: 0.1rem;
  width: 0.5rem;
  height: 1rem;
  border: solid white;
  border-width: 0 0.2rem 0.2rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.form-rquired-info {
  margin-bottom: 2rem;
  color: #8398A1;
  font-size: 1.2rem;
  line-height: initial;
}

.form-captch {
  margin-bottom: 2rem;
}

.form-captch img {
  width: 100%;
}

.form-btn {
  margin-bottom: 1.6rem;
}

.form-btn:last-child {
  margin-bottom: 0;
}

.form-btn .btn {
  width: 100%;
  border: none !important;
}

.form-text {
  font-size: 1.2rem;
  line-height: 120%;
  text-align: center;
}

@media(min-width:1200px) and (max-width:1339.98px) {
  .contact-form {
    width: 39.6rem;
    padding: 4rem 3.2rem;
  }

  .contact-block .contact-form::before {
    width: 14.8rem;
    height: 24.4rem;
    top: 15.8rem;
    right: -9.2rem;
  }

  .contact-block .contact-form::after {
    width: 16.4rem;
    height: 16.4rem;
    left: -12rem;
    bottom: 17rem;
  }

  .form-input {
    margin-bottom: 1.2rem;
  }

  .form-input-upload {
    margin-bottom: 2rem;
  }
}

@media(min-width:992px) and (max-width:1199.98px) {
  .contact-form {
    width: 38.6rem;
    padding: 3.2rem;
  }

  .contact-block .contact-form::before {
    width: 9.8rem;
    height: 15.8rem;
    top: 14.8rem;
    right: -7rem;
  }

  .contact-block .contact-form::after {
    width: 15.4rem;
    height: 15.4rem;
    left: -11rem;
    bottom: 18rem;
  }

  .form-input {
    margin-bottom: 1.2rem;
  }

  .form-input-upload {
    margin-bottom: 2rem;
  }

  .form-rquired-info {
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
  }
}

@media(min-width:768px) and (max-width:991.98px) {
  .contact-form {
    width: 45rem;
    margin: 4rem auto 0;
  }
}

@media(max-width:767.98px) {
  .contact-form {
    width: 100%;
    padding: 3.2rem 2.4rem;
    margin-top: 3.2rem;
  }
}