/* modal */
 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}

/* Modal Content/Box */
.modal-content {
  display: table-cell;
  vertical-align: middle;
  text-align:center;
}

.modal-innerWrap {
}
/*
.modal-commentCloseBtn {
  color: #FFF;
  font-size: 20px;
  position: absolute;
  right: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-color: rgb(200,200,200,0.2);
  z-index: 1003;
}
*/

.modal-content img {
    max-width: 100vw;
    max-height: 100vh;  
    margin:0;
    padding:0;
}

.modal-img {
  background-color: #FFF;
}
/*
.modal-comment {
  background-color: rgba(0, 0, 0, 1);
  color: #FFF;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:0px;
  display: block;
  position: absolute;
  bottom: 0;
  z-index: 1002;
  width: 100%;
  padding: 10px;
}
*/

/* The Close Button */
.modal-closeBtn {
  font-size: 30px;
  line-height: 0.95em;
  font-weight: 900;  
  cursor: pointer;
  width: 30px;
  height: 30px;
  /*background-color: rgba(200, 200, 200, 0.5);*/
  opacity: 0.5;
  filter: alpha(opacity=50); /* For IE8 and earlier */ 
  padding:0;
  margin:0;
  border-radius: 0px 0px 0px 7px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 1010;
}

.modal-closeBtn:hover {
  opacity: 0.8;
  filter: alpha(opacity=80); /* For IE8 and earlier */ 
}

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