@charset "utf-8";
/* CSS Document */
.md-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .7;
  z-index: 9999;

}

.md-contents {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	  width: 80%;
	max-width:860px;
  z-index: 1000000;
}
.md-inner {
  padding: 24px 40px;
  background: #fff;
	overflow-y: scroll;
}
.md-inner div.md-innerin{
  height: 80vh;
}

.md-xmark {
 position: absolute;
	top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  cursor: pointer;

}
.md-xmark span {
  height: auto;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
}
.md-xmark span:nth-of-type(1) {
  top: 0;
  transform: translateY(12px) rotate(-45deg);
}
.md-xmark span:nth-of-type(2) {
  bottom: 0;
  transform: translateY(-14px) rotate(45deg);
}

@media (max-width:45em) {
.md-inner div.md-innerin{
  height: 70vh;
}
}