.btn__modal{
  text-align:center;
}
.modal_form{
position: fixed;
top: 0;
left: 0;
bottom: unset;
right: unset;
width: 100vw;
height: 100vh;
height: -webkit-fill-available;
display: block;
transition: transform 0.8s cubic-bezier(0.635, 0, 0.71, 0.925) 0s;
z-index: 100000001;
background-color: transparent;
transform: translateY(-100%);
}
.modal_form.show{
position: fixed;
top: 0;
left: 0;
bottom: unset;
right: unset;
width: 100vw;
height: 100vh;
height: -webkit-fill-available;
display: block;
transition: transform 0.8s cubic-bezier(0.635, 0, 0.71, 0.925) 0s;
z-index: 100000001;
background-color: transparent;
transform: translateY(0);
pointer-events: none;
overflow-x: hidden;
overflow-y: scroll;
margin: auto;
  
}
.form__modal_wrapper{
display: block;
position: fixed;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
z-index: 1;
width: 100%;
height: 100%;
max-width: 680px;
max-height: 100%;
  pointer-events: all;
  
}
.form__modal_wrapper h3{
text-align: center;
margin: 35px 0;
}

input[type=text],
input[type=email],
input[type=number],
input[type=password],
input[type=tel],
select{
  width:100%;
}
.form__modal_wrapper form fieldset{
  max-width:none;
  display: flex;
  grid-gap: 20px;
}
.form__modal_wrapper form fieldset.form-columns-2 .hs-form-field {
width: calc(50% - 10px);
float: none;
}
.form__modal_wrapper form fieldset.form-columns-2 .input {
margin-right: 8px;
display: flex;
}
.form__modal_wrapper form fieldset.form-columns-1{
width: calc(50% - 16px);
}
.form__modal_wrapper form fieldset.form-columns-1 .hs-form-field{
  width:100%;
}
.modal_back{
pointer-events: none;
position: absolute;
width: 100vw;
height: 100%;
top: 0;
left: 0;
z-index: 2;
background: #fff;
transition: transform 0.8s cubic-bezier(0.635, 0, 0.71, 0.925) 0s;
  transform: translateY(-100%);

}
.modal_back.show{
  background: #fff;
  pointer-events: all;
  transform: translateY(0);
}

.form__modal_close{
  cursor:pointer;
  pointer-events: all;
position: absolute;
right: 20px;
top: 5px;
  padding:10px;
  z-index: 5;
}