.pdfpopup{
    background-color: rgb(0 0 0 / 59%);
}
.pdfpopup  .modal-dialog{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%)!important;
    max-width: 100%;
}
.pdfpopup  .modal-dialog .pad-style-popup{
    width: 750px;
    height: 720px;
    
}
.pdfpopup  .modal-dialog .pad-style-popup iframe{
    border: 0;
    width: 100%;
    height: 100%;
}
.pdfpopup  .closebtn{
    background-color: #118df0;
    border: none;
    color: #fff;
    font-size: 21px;
    max-width: 80px;
    margin-left: auto;
    padding: 0px 24px;
}
.pdfpopup  .closebtn:before {
    transform: rotate(45deg);
}
.pdfpopup  .closebtn:after {
    transform: rotate(-45deg);
}
.pdfpopup  .closebtn {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
   
    width: 46px;
    height: 46px;
    position: absolute;
    top: 36px;
    right: 40px;
    font-size: 0px;
    background-color: #118df0;
    padding: 10px;
}
.pdfpopup  .closebtn:before, .pdfpopup  .closebtn:after {
    content: "";
    position: absolute;
    top: 22.5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    width: 25px;
    height: 2px;
    margin-left: 10px;
}
.pdfpopup  .closebtn:focus{
    outline: none;
}
.pdfpopup .react-pdf__Page{
    overflow-y: scroll;
    background-color: #fff;
    height: 670px;
}
.pdfpopup .react-pdf__Page::-webkit-scrollbar {
    display: block;
    width: 5px;
}
.pdfpopup .react-pdf__Page__annotations.annotationLayer {
    display: none;
}

.pdfpopup .react-pdf__Page__canvas{
    margin: auto;
    z-index: 9999;
    position: relative;
}
.pdfpopup .react-pdf__message.react-pdf__message--loading {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
.pdfpopup button#zoomInButton img {
    width: 24px;
}

.pdfpopup button#zoomInButton {
    padding: 10px;
    border: none;
    border: 1px solid #118df0;
    margin-right: 10px;
    background-color: #118df0;
}
.react-pdf__Document {
    min-height: 500px;
    background-color: #fff;
}
.pdfpopup button#zoomInButton:focus{
    outline: none;
}
.pdfpopup .loading-massge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-width:991px) {
    .pdfpopup .pad-style-popup{
        width:598px!important;
        height: 800px!important;
        position: relative;
    }
    .pdfpopup .pad-style-popup iframe{
        width: auto;
        height: auto;
    }
    .pdfpopup .modal-content{
        padding: 10px;
    }
    .pdfpopup .closebtn{
        top: 13px;
        right: 10px;
        z-index: 999;
    }
    .pdfpopup .react-pdf__Page {
        height: 730px;
    }
}
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .pdfpopup .pad-style-popup{
        height:600px!important;
        width:598px!important;
    }
    .pdfpopup .react-pdf__Page {
        height: 600px;
    }
    
}
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .pdfpopup .pad-style-popup{
        height:700px!important;
    }
}