.popup{
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: rgba(0, 0, 0, .76);
	z-index: 100000;
	transition: 0.2s;
}
.popup.closed{
	opacity: 0;
}
.popup>div{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	margin: auto;
	width: max-content;
	max-width: 1100px;
	min-height: 100px;
	height: max-content;
    max-height: 100%;
	background: white;
	border-radius: 5px;
	z-index: 100001;
	overflow-y: auto;
	overflow-x: hidden;
}
.popup .content{
	padding: 25px;
}
.popup .close{
	position: absolute;
	top: 10px;
	right: 10px;
	height: 50px;
	width: 50px;
	transform: rotate(45deg);
	opacity: .6;
	cursor: pointer;
	z-index: 1;
}
.popup .close:before, .popup .close:after{
	content: '';
	display: block;
	position: absolute;
	background: grey;
	border-radius: 5px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top:0px;
	margin: auto;
}
.popup .close:before{
	width: 3px;
	height: 30px;
}
.popup .close:after{
	width: 30px;
	height: 3px;
}
.popup .close:hover{
	opacity: 1;
}
@media only screen and (max-width: 1100px){
	.popup>div{
		max-width: 100%;
	}
}
@media only screen and (max-width: 780px){
	.popup .close{
		background: white;
		border-radius: 50%;
	}
}