/* The Modal (background) */
.modal_new {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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 */
}

/* Modal Content */
.modal-content_new {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  padding-right: 40px; /* Increased right padding to accommodate close button */
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  border-radius: 10px; /* Rounded corners */
  position: relative; /* Needed for absolute positioning of the close button */
}

/* Iframe within the modal */
.modal-iframe_new{
  width: 100%;
  height: 400px; /* Adjust as needed */
  border: none;
}

/* The Close Button */
.close_new {
  color: #aaa;
  position: absolute; /* Absolute positioning */
  top: 10px; /* Position at top */
  right: 15px; /* Position slightly away from the right edge */
  font-size: 28px;
  font-weight: bold;
}

.close_new:hover,
.close_new:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
  .modal-content_new {
    width: 90%; /* Wider on mobile devices */
  }
}

