/*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 .content {
	position: relative;
	width: 80%;
	height: 80%;
	background-color: #000;
	padding: 2rem;
}
#modal .content > .grid-x {
	opacity: 0;
	/*height: 0px;*/
	transition: 0ms;
	height: 100%;
	pointer-events: none;
}

#modal .content > .grid-x.active {
	opacity: 1;
	max-height: 2000px;
	pointer-events: all;
}

#modal .content .closeBtn {
	right: -15px;
	color: #FFF;
	text-align: center;
	background: rgb(9, 30, 58);
    background: linear-gradient( 90deg, rgba(9, 30, 58, 1) 11%, rgba(0, 56, 255, 1) 62%, rgba(0, 56, 255, 1) 100% );
	border-radius: 50%;
	width: 30px;
	line-height: 30px;
	height: 30px;
	margin-left: auto;
	transform: translateY(-150%);
	position: absolute;
	cursor: pointer;
}
#modal iframe {
	width: 100%;
	height: 100%;
	min-height: 70vh;
	border: 0px;
}

@media all and (max-width: 1023px) {
	/*MODAL*/
	#modal .content {
		position: unset;
		overflow-y: scroll;
		width: 90%;
		height: 90%;
		padding: 0 1rem;
	}
	#modal .content .closeBtn {
		position: fixed;
		right: .5rem;
		top: 10%;
	}
}