
.modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index:1000;
}

.modal.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
.modal .modal-bg {
    position: absolute;
    width: 100%;
    height: 100%;
  }
.modal .modal-container {
    position: relative;
    box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.3);
    width: 80vw;
	  max-width:none!important;
    padding: 2rem;
	  max-height: 90vh;
    overflow: auto;
}

.modal .modal-close {
  font-family: "Font Awesome 6 Free";
  font-weight:600;
  outline: none;
  appearance: none;
  background: none;
  border: 0px;
  cursor: pointer;
  font-size:1.5rem;
  padding:0px;
  border-radius:0px;
  position: absolute;
  right: 22px;
  top: 15px;
}
.modal-image {
  margin-bottom:1rem;
}
.modal form input[type=submit], 
.modal form .hs-button {
  width:auto;
  margin-top:2.5rem;
}

@media (max-width:768px) {
 
  .modal h3.modal-title {
    font-size: 1rem;
  }
  .modal .modal-container {
    width: 90vw;
  }
	.modal .modal-container form fieldset {
		display:block!important;
	}
}

body.modal-opend {
  overflow:hidden;
}


