/*MODAL*/
.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,.7);
	pointer-events: none;
	opacity: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: manipulation;
}

.modal.active {
	opacity: 1;
	pointer-events: all;
}

.modal .container {
	position: relative;
	width: 70%;
	height: 70%;
	background-color: #FFF;
	padding: 2rem;
	border-radius: 20px;
}

.modal .container .close {
	right: -15px;
	top: 0;
	color: #FFF;
	text-align: center;
	background-color: #222;
	border-radius: 50%;
	width: 30px;
	line-height: 30px;
	height: 30px;
	transform: translateY(-50%);
	position: absolute;
	cursor: pointer;
}

.modal .container .close:hover {
	background-color: #000;
}

.modal .container .content {
	z-index: 1;
	height: 100%;
}

@media all and (max-width: 1023px) {
	/*MODAL*/
	.modal .container {
		width: 90%;
		height: 75vh;
		padding: 0 1rem;
	}

	.modal .container .close {
		transform: translateY(-50%);
	}

	.modal .container .content {
		overflow-y: scroll;
	}
}