
.pdfobject-container { height: calc(100vh - 30px); }


body.modal_opened{  }

.pdfViewModal {
  display: none; 
  position: fixed; 
  z-index: 9999999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}
body.pdf_modal_opened::-webkit-scrollbar,
.pdfViewModal-content::-webkit-scrollbar,
.pdfobject-container::-webkit-scrollbar,
.pdfViewModal::-webkit-scrollbar {
  opacity: 0;
}


.pdfViewModal {
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.pdfViewModal-content {
  position: relative;
  margin:0 auto;
  width: 740px; 
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animateshow;
  animation-duration: 0.4s;
  top:0;
}

.pdfViewModal.hidden {
      opacity: 0;
	  transition: opacity 0.7s;	  
}
.pdfViewModal.hidden .pdfViewModal-content {
      opacity: 0;
	  transition: opacity 0.4s;
	  
}

.pdfViewModal-close {
  color: red;
  float: right;
  font-size: 38px;
  font-weight: bold;
  margin-right:-38px;
  margin-bottom:-50px;
  z-index:11;
  position:relative;
}

.pdfViewModal-close:hover,
.pdfViewModal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



@keyframes animateshow {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}




@media (max-width: 576px){
.pdfViewModal-content {
	width:400px;
	box-sizing:border-box;
}
}
