.plainoverlay {
      box-sizing: initial;
}

.plainoverlay-body {
    overflow-y: auto;
}

.ztpopupcontent {
  background: white;
  color:black;
  position: relative;
  padding: 25px;
  max-width: 1400px;
  box-sizing: border-box;
  width: 89vw;
}

button.ztpopupclosebutton {
    position: absolute;
    top: -19px;
    right: -18px;
    border-radius: 40px;
    box-shadow: none;
    border: 2px solid;
    background: white;
    color: black;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
  	cursor:pointer;
}

.ztpopupcontent {
    max-height: 90vh;    
}

.ztpopupinner {
    overflow-y: auto;
    max-height: 85vh;
}

@media(max-height: 500px)
{
  .ztpopupcontent {
      
  }

  .plainoverlay.plainoverlay-doc {
    position: absolute;
    top: 0;
    overflow-y: auto;
    padding: 0;
    left: 0;
    overflow-x: hidden;
  }

  .ztpopupcontent {
    position: absolute;
    max-height: initial;
    margin-top: 33px;
  }
}