
.modal {
	left: 50%;
	top: 50%;	
	position: fixed;
	z-index: 500;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.modal .modal-content {
  background: #fff;
  position: relative;
  width: 100%;
  max-width: 860px;
  padding: 48px 20px 20px;
	border-radius: 8px;
}

.modal.size-m {
	width: 600px;
	height: 400px;
}

.modal.size-l {
	width: 700px;
	height: 500px;
}

.modal.size-s {
	width: 500px;
	height: 300px;
}

.modal.size-p {
  width: 100%;
  min-height: 400px;
  left: 0;
  display: flex;
  justify-content: center;
}

.modal-bg {
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: #000;
	opacity: 0.5;
	top: 0;
	left: 0;
	z-index: 100;
}

.modal-close {
	color: #2747C9;
	font-size: 36px;
	line-height: .5;
	position: absolute;
	top: 16px;
	right: 18px;
	font-weight: normal;
	cursor: pointer;
}

@media only screen and (max-width: 499px) {
  .modal.size-p {
    min-height: 320px;
  }
}