@charset "utf-8";
/* CSS Document */

.modalX {
  display: none;
  position: fixed;
  z-index: 8887;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 1s ease-in-out;
}
.modal-container .img {
    background: #f1f1f1;
    margin-bottom: 15px;
}
.modal-container p {
    margin-bottom: 10px;
}
.modal-container p:last-child {
    margin-bottom: 0;
}
.modal-content {
    background: #FFF;
    overflow-y: auto;
    padding: 40px;
    width: 80%;
    max-width: 540px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 800px;
    animation: show 0.6s linear 0s;
}

.modal:target .modal-content {
  transition: scale 0.5s;
  scale: 1;
}
.modal-content::-webkit-scrollbar{
  display: none;
}

.modal-top {
    display: inline-block;
    position: relative;
    right: 5px;
    top: 5px;
	width: 100%;
}
.modal-close {
	padding: 0 8px;
    position: absolute;
    top: 0;
    right: 10px;
    width: 30px;
    cursor: pointer;
    transform: translate(50%, -50%);
}

.modal-close:hover, .modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}
.modal-title {
  color: #FFF;
}
@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@media only screen and (max-width: 768px) {
	.modal-content {
		padding: 30px 20px;
		max-height: 90%;
		width: 90%;
	}
	.modal-top {
		margin-bottom: 30px;
	}
}
