.cf7-popup-window {
  position: fixed;
  background-color: rgb(62 62 62 / 85%);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.cf7-popup-window.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cf7-popup-window > div {
  width: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: white;
  overflow-y: scroll;
  max-height: calc(100% - 80px);
}
.cf7-popup-window header {
  font-weight: bold;
}
.cf7-popup-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.cf7-popup-close {
  /* color: #aaa; */
  color: #ab0707;
  line-height: 50px;
  font-size: 80%;
  font-weight: 900;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.cf7-popup-close:hover {
  color: black;
}

/* Demo Styles */

.cf7-popup-container {
  display: grid;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
}

.cf7-popup-window > div {
  border-radius: 1rem;
}

.cf7-popup-window div:not(:last-of-type) {
  margin-bottom: 50px;
}

/* #cf7-popup-content {
    
  } */

.inquiry_block {
  background-color: #f5f8f9;
}

#cf7-popup-content > p {
  border: 1px solid #e1e6eb;
  padding: 8px;
}

#cf7-popup-content > p strong {
  font-weight: bolder;
  display: inline-block;
  width: 25%;
}

#cf7-popup-content > p:last-child {
  width: 100%;
}

#cf7-popup-content > p:not(:last-child) {
  border-bottom: none;
}

small {
  color: lightgray;
}

.cf7-popup-btn {
  background-color: white;
  padding: 1em 1.5em;
  border-radius: 1rem;
  text-decoration: none;
}
.cf7-popup-btn i {
  padding-right: 0.3em;
}

.wpcf7-popup-button {
  padding: 0.428571429rem 0.714285714rem;
  font-size: 0.785714286rem;
  line-height: 1.428571429;
  font-weight: normal;
  text-decoration: none;
  color: #7c7c7c;
  background-color: #e6e6e6;
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
  background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
  background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
  background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
  background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgb(64 64 64 / 10%);
}

.cf7-confirm-button {
  margin: 0 auto;
  transform: translate(-50%, -0%);
  position: relative;
  left: 50%;
  bottom: 9%;
  background: #20b705;
  display: inline-block;
  padding: 0.528571429rem 0.714285714rem;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgb(64 64 64 / 10%);
  color: #fff;
  text-decoration: none;
}

/* .wpcf7 .btn_block::after {
  content: "";
  clear: both;
  display: block;
} */

/* .wpcf7 .btn_block .btn-back, .wpcf7 .btn_block .btn-submit {
  display: inline-block !important;

} */

.wpcf7 .btn_block .btn-back {
  margin-bottom: 3.5rem;
}

/* .wpcf7 .btn_block .btn-submit {
  float: right;
} */

/* .wpcf7 .btn_block .btn-back {
  float: left;
} */

.wpcf7 .btn_block p a,
.wpcf7 .btn_block p .wpcf7-submit {
  display: block;
  width: 100%;
  line-height: 80px;
  text-align: center;
  color: #282d32;
  border: none;
  background-color: #dfe7eb;
  position: relative;
  cursor: pointer;
}

.wpcf7 .btn_block p a:hover,
.btn-back a {
  color: #282d32 !important;
  background-color: #dfe7eb !important;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.wpcf7 .btn_block a,
.wpcf7 .btn_block input {
  display: block;
}

.wpcf7 .text-danger {
  color: #f00;
}

.wpcf7 .wpcf7-form-control[readonly="readonly"] {
  background-color: #e1e1e1;
  color: rgba(0, 0, 0, 0.7);
}

.input80.danger,
.input100.danger,
.tarea100.danger {
  border-color: #ab0707;
}

p.cf7-preview-title {
  display: block;
  font-weight: bolder;
  margin: 10px auto 40px;
  text-align: center;
  font-size: 4.5rem;
}

/* Media Query Start */
@media (max-width: 800px) {
  input.wpcf7-form-control.wpcf7-submit {
    padding-bottom: 80px;
  }
}
