.pop-up-block .pop-up__modal {
  z-index: 100;
  position: fixed;
  top: 25%;
  left: calc(50% - 400px);
  background: #fff;
  width: 800px;
  max-width: 100%;
}

@media(max-width: 799px) {
  .pop-up-block .pop-up__modal {
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    z-index: 9999999;
  }
}

.pop-up-block .pop-up__modal__container {
  padding: 20px;
  position: relative;
}

.pop-up-block .pop-up__close-btn {
  position: absolute;
  top: 0;
  right: 0;
}

.pop-up-block .pop-up__content {

}

.pop-up-block__overlay {
  background: #0000006b;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

.pop-up__close-btn {
  color: white;
  float: right;
  font-size: 18px;
  background-color: var(--green);
  width: 30px;
  height: 30px;
  cursor: pointer;
  line-height:35px;
  text-align: center;
}

.pop-up__close-btn:hover,
.pop-up__close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/************************
Forms
*************************/
.pop-up-block fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

frm_checkbox .frm_checkbox {

}

.pop-up-block input:not([type="checkbox"]),
.pop-up-block textarea,
.pop-up-block select {
  width: 100%;
  padding: 20px;
}

.pop-up-block .frm_fields_container {
  grid-gap: 15px;
  width: 100%!important;
  grid-template-columns: repeat(12, 1fr);
}

.pop-up-block button {
  border: 0;
  cursor: pointer;
  padding: 20px 50px 17px;
  text-transform: uppercase;
  background-color: var(--purple);
  color: white;
  transition: .2s ease;
}

.pop-up-block button:hover {
  background: var(--green);
}

.frm_error_style {
  background: pink;
  padding: 10px;
  margin: 0 0 20px;
  text-align: center;
}

.frm_error {
  color: #da1033;
  padding: 10px 0;
  font-size: 12px;
}

[aria-describedby*=error] {
  border: 1px solid #da1033 !important;
}

/*Preview Styles*/
.acf-block-preview .pop-up-block .pop-up__modal {
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px #bcbcbc;
}

.acf-block-preview .pop-up-block .pop-up-block__overlay {
  position: relative;
  min-height: 300px;
  z-index: 1;
  display: none;
}

.pop-up-block .frm_message {
  background: var(--green);
  padding: 20px 20px 10px 20px;
  color: #fff;
}