/* CSS styles for the modal */
.modal_announce {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* 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_announce {
  background-color: #fefefe;
  margin: 10% auto; /* 15% from the top and centered */
  padding: 2px;
  /* border: 1px solid #888; */
  width: 38%; /* Could be more or less, depending on screen size */
  /* height: 60%; */
  position: relative;
}
.modal_img {
  width: 100%;
}

/* Close button */
div.modal-content_announce .close_modal {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 5%;
  right: 5%;
}

div.modal-content_announce .a_link {
  /* background-color: #cccccc52; */
  position: absolute;
  top: 74%;
  right: 4%;
  width: 35%;
  height: 13%;
}

div.modal-content_announce .close_modal:hover,
div.modal-content_announce .close_modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .modal-content_announce {
    width: 100%;
    /* height: 50%; */
  }
}
