/* The Modal (black transparent background - full page) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* 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 */
}

/* Modal Content */
.modal-content {
  background-color: #f2f2f2;
  font-size: 16px;
  margin: auto;
  padding: 20px;
  border: 1px solid #222;
  border-radius: 10%;
  width: 50%;
  text-align: center;
  z-index: 50;
}

.modal-header {
    padding: 2px 16px;
    text-align: center;
}

.modal-footer {
    padding: 2px 16px;
    font-size: 10px;
    text-align: center;
}

/*modal button*/
.modal-button {
    position: relative;
    border-radius: 50%;
    border: 1px solid #222222;
    font-size: 0.8vw;
    z-index: 0;
}

.modal-button:hover {
    background-color: #999999;
}

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

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

/* The pdf Modal (black transparent background - full page) */
.pdf {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 20px; /* 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 */
}

.pdf-content {
  background-color: #f2f2f2;
  font-size: 16px;
  margin: auto;
  /*padding: 20px;*/
  border: 1px solid #222;
  width: 50%;
  height: 80%;
  text-align: left;
}

.pdf-body {
    padding: 2px 16px;
    text-align: center;
    height: 90%;
    width: 90%;
}
.pdf-body img {
     width: 80%;
     height: auto;
 }

.pdf-header {
    padding: 2px 16px;
    text-align: center;
}

.pdf-footer {
    padding: 2px 16px;
    font-size: 10px;
    text-align: center;
}

/* The Close Button */
.closing {
  color: #999;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closing:hover,
.closing:focus {
  color: #222;
  text-decoration: none;
  cursor: pointer;
}