/* The Modal (background) */
.modal-component {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  grid-template-columns: 1fr 5fr 1fr;
}

/* Modal Content */
.modal-component .modal-content-wrapper {
  grid-column: 2;
}

.modal-component .modal-component-content {
  background-color: #fefefe;
  border-radius: 11px;
  width: 100%;
  padding: 30px;
}

/* Wide screens (> 1400px wide) */
@media (min-width: 1400px) {
  .modal-component {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

/* Small Screens (< 900px wide) */
@media (max-width: 900px) {
  .modal-component {
    grid-template-columns: 1fr 10fr 1fr;
  }
}



/* The Close Button */
.modal-component .modal-component-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-component .modal-component-close:hover,
.modal-component .modal-component-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-component-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-component iframe.embedded-html-email {
  width: 100%;
  height: 100%;
  border: none;
}