/*Modal Window*/
.modal-window {
  position: fixed;
  left: 50%;
  top: 50%;
  right: 50%;
  bottom: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999999999999999;
  visibility: visible;
  opacity: 1;
  /* pointer-events: none; */
  transition: opacity 0.25s;
  z-index:99999;
  width:100%;
  height:100%;
  font-size:3em;
}
@media (scripting: none) {
	.modal-window:target {
	visibility: hidden;
		opacity: 0;
	  /* pointer-events: auto; */
	}
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
}
.modal-window > div.modal-content {
  width: 900px;
  max-width: 90vw;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 30px;
  background: #fff;
  max-height: 90vh;
  overflow-y: unset;
  z-index:99999;
}
.modal-window .modal-close:not(.btn) {
  position: fixed;
  right: 15px;
  top: 5px;
  font-size: 1.2rem;
  text-decoration: none;
}
.modal-window .modal-close, .modal-window .modal-close:visited {
  color: #212121;
}
.modal-window .btn.modal-close {
  font-size: 3rem;
  text-decoration: none;
  border: 1px solid #333;
  padding: 10px 15px;
  background: #fff;
  border-radius: 0.4em;
}
.modal-window .btn.modal-close:hover {
  background: #f0f0f0;
}
.modal-window .modal-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 15px 0px 0px 5px;
}
.modal-window  p{
	margin:3px 0 0;
}