/**
 * Profile image modal
 @media only screen and (max-width: 1100px) {
 @media only screen and (max-width: 599px) {
 @media only screen and (max-width: 959px) {
 */
.ReactModal__Overlay {
  z-index: 503;
}
.modal_image {
  /*max-height: 90%;*/
  width: auto;
  height: auto;
  /*max-height: 80%;*/
}
.modal_image_links {
  display: flex;
  position: sticky;
  top: -10px;
  padding: 5px;
  background-color: #fff;
}
.modal_close_btn,
.modal_close_btn:visited {
  color: #b00;
  text-decoration: none;
  font-size: 1em;
  line-height: 1em;
  cursor: pointer;
  padding: .25em;
  margin: auto;
  transition: all 0.3s ease-out;
  position: absolute;
  top: 5px;
  right: 10px;
}

.modal_close_btn:hover {
  color: #600;
}
.modal_title{
  margin: 1em;
  padding: 0;
  line-height: 1em;
}

@media only screen and (max-width: 959px) and (min-width: 600px) {
  .ReactModal__Content,
  .ReactModal__Content--after-open {
    position: fixed !important;
    inset: unset !important;
    margin-right: unset !important;
    width: unset !important;
    height: unset !important;
    max-height: unset !important;
    text-align: center !important;
    top: 15px !important;
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;
    transform: unset !important;
  }
  .modal_close_btn {
    font-size: 2em;
    top: 10px;
    right: 10px;
  }
}

@media only screen and (max-width: 599px) {
  .ReactModal__Content,
  .ReactModal__Content--after-open {
    position: fixed !important;
    inset: unset !important;
    margin-right: unset !important;
    width: unset !important;
    text-align: center !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    height: unset !important;
    max-height: unset !important;
    transform: unset !important;
    background: rgba(255,255,255,.75) !important;
  }
  .ReactModal__Content .modal_close_btn {
    font-size: 2em;
    position: fixed;
    background-color: rgb(255,255,255);
    padding: 0;
    height: 0;
  }
  .ReactModal__Content h2 {
    padding-top: .25em;
  }
}
