.overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

.popup {
  width: 435px;
  max-width: 95vw;
  max-height: 95vh;
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  z-index: 1505;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #1F3040;
}

.popup input[type=text],
.popup input[type=tel],
.popup input[type=email] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #E7E7E7;
  background-color: #fff;
  border-radius: 15px;
  padding: 10px 20px;
  max-width: 100%;
  font-size: 18px;
  display: block;
}

.popup textarea {
  resize: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 15px;
  background-color: #fff;
  border: 1px solid #E7E7E7;
  height: 210px;
  width: 100%;
  max-width: 100%;
  display: block;
  font-size: 18px;
  padding-left: 20px;
  padding-top: 25px;
}

.popup input.button {
  -webkit-box-shadow: none;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
  margin-top: 20px;
}

.popup small {
  color: #9A9A9A;
  font-size: 14px;
  max-width: 240px;
  display: block;
  line-height: 17px;
}

.popup small a {
  color: #9A9A9A;
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
}

.popup small a:hover {
  color: #C9A062;
}

.popup .close {
  position: absolute;
  cursor: pointer;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  height: 32px;
  z-index: 10;
  width: 32px;
  right: 12px;
  top: 10px;
}

.popup .close svg {
  width: 32px;
  height: 32px;
  display: block;
}

.popup .close:hover {
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.popup .close:hover path {
  fill: #D57C14;
}

.popup .form-radio .wpcf7-form-control {
  background-color: #F9F9FA;
  border-radius: 15px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 5px;
  display: block;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item {
  margin: 0;
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item:first-child {
  margin-right: 5px;
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item span {
  font-size: 18px;
  line-height: 22px;
  color: #9A9A9A;
  display: block;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item span:hover {
  background-color: #fff;
  color: #1F3040;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item input {
  display: none;
}

.popup .form-radio .wpcf7-form-control .wpcf7-list-item input:checked+span {
  background-color: #fff;
  color: #1F3040;
  -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}