.modal {
  z-index: 100;
  opacity: 1;
  background-color: rgba(0, 0, 0, .7);  
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(1.0) scaleY(1.0);
  transition: visibility 0s linear 0s, opacity 0.7s 0s, transform 0.25s;
  display: none;
}

.show-modal {
  display: inline;
}
    
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: .25rem;
  width: 35.2rem;
  border-radius: 0.5rem;
  font-family: sans-serif; 
}
  
.close-button {
  float: right;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: lightgray;
}
.close-button:hover {background-color: darkgray;}   
  
.modal-inner-content {padding: .5rem;text-align: center;} 
.modal-inner-content h2 {font-weight: bold;} 
.modal-inner-content p {text-align: center;letter-spacing: .15px;padding: 0 3px;margin-bottom: .5em;line-height: 1.25;} 
.modal-inner-content img {width: 100%;}
.marg {margin: .25em .5em .75em;}
  
.stop-showing {
  /*text-align: right;*/
  font-size: 65%;
  cursor: pointer;
  text-decoration: underline;
}  
.stop-showing:hover {text-decoration: none;}  

.photo-credit {font-size: .5rem; color: #7A8685; text-transform: uppercase; letter-spacing: .12em; text-align:right;}


/*Button Styles - from style.css*/
.btn {
  display: inline-block;
  margin-bottom: 20px;
  margin-top: 2px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 9px 11px;
  font-size: 1.375em;
  line-height: 1;
  color: white!important;
  border: 0 none;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  position: relative; 
}

.btn-blue-na, .btn-blue-na:hover, .btn-blue-na:focus, .btn-blue-na:active { background-color: #0076c0; } /*new blue (old: #1376a2)*/
.btn-green-na, .btn-green-na:hover, .btn-green-na:focus, .btn-green-na:active { background-color: #00a65d; } /*new green (old: #3f9745)*/
.btn-yellow-na, .btn-yellow-na:hover, .btn-yellow-na:focus, .btn-yellow-na:active { background-color: #fbad18; } /*new yellow (old: #f6be15)*/
.btn-red-na, .btn-red-na:hover, .btn-red-na:focus, .btn-red-na:active { background-color: #ed1c24; } /*new red (old: #bd362f)*/

.btn-blue-na:hover, .btn-blue-na:focus, .btn-blue-na:active, .btn-green-na:hover, .btn-green-na:focus, .btn-green-na:active, .btn-yellow-na:hover, .btn-yellow-na:focus, .btn-yellow-na:active, .btn-red-na:hover, .btn-red-na:focus, .btn-red-na:active {
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,.5); 
}
/*Button Styles - END*/

  
@media only screen and (max-width: 50rem) {
  h2 {font-size: 1.5rem;}
  .modal-content {width: calc(100% - 5rem);max-height: 100%;overflow: auto;}
  .marg {margin: 0 0 .75em;}
}