body.fixed {
  overflow: hidden;
}

.doctor-modal {
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
}

.doctor-modal .modal-bg {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
}

.doctor-modal .modal-content {
  max-height: 90vh;
  width: 800px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.doctor-modal .modal-content .dmodal-close {
  cursor: pointer;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  top: 35px;
  right: 35px;
  -webkit-transform: translate(40%, -40%);
  transform: translate(40%, -40%);
}

.doctor-modal .modal-content .dmodal-close:before {
  content: "";
  background: url(../img/close.png)no-repeat left/cover;
  width: 26px;
  height: 26px;
}

.doctor-modal .modal-content .inner-wrap {
  max-height: calc(90vh - 80px);
  overflow-y: scroll;
  padding: 50px;
  background: #f0f0f0;
}

@media screen and (max-width: 768px) {
  .doctor-modal .modal-content {
    width: 80%;
  }

  .doctor-modal .modal-content .dmodal-close {
    right: 25px;
  }


  .doctor-modal .modal-content .inner-wrap {
    max-height: calc(90vh - 30px);
    padding: 30px;
  }
}

@media screen and (max-width: 480px) {
  .doctor-modal .modal-content {
    width: 90%;
  }
}