/* The popup (background) */
#mypractis-popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding: 20px 20px 0; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

@media screen and (min-width: 768px) {
  #mypractis-popup {
    padding: 100px 20px 0; /* Location of the box */
  }
}

/* Popup Content */
#mypractis-popup-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
}

@media screen and (min-width: 768px) {
  #mypractis-popup-content {
    max-width: 1280px;
  }
}

/* The Close Button */
#mypractis-popup-close {
  text-align: right;
  color: #aaaaaa;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
}

#mypractis-popup-close:hover,
#mypractis-popup-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#mypractis-popup-close span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}