/* MODAL STYLES
-------------------------------*/
.jw-modal {
  /* modals are hidden by default */
  display: none;

  /* modal container fixed across whole screen */
  position: fixed;
  inset: 0;

  /* z-index must be higher than everything else on the page */
  z-index: 99999999;

  /* semi-transparent black background exposed by padding */
  background-color: rgba(0, 0, 0, .75);
  padding: 40px;

  /* enables scrolling for tall modals */
  overflow: auto;
}

.jw-modal.open {
  display: block;
}

.jw-modal-body {
  position: absolute;
  padding: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-height: 70vh;
  overflow: auto;
  width: 85vw;
}


.jw-modal-body-desktop {
  position: absolute;
  padding: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-height: 70vh;
  overflow: auto;
  width: 60vw;
}


.jw-modal-body-close{
  position: fixed;
  background-color: #8FAC7E;
  top: 5px;
  right: 5px;
  color: #fff;
  padding: 10px;
  margin: 10px;
  width: fit-content;
}

body.jw-modal-open {
  /* body overflow is hidden to hide main scrollbar when modal window is open */
  overflow: hidden;
}

.custom_modal{
  cursor: pointer;
  color: #8FAC7E;
}