body[data-popup-modal="true"] {
	overflow: hidden;
}

body[data-popup-modal="true"]:before{
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-color: rgba(0,0,0,0.3); */
	z-index: 1050;
}

.u2d-popup {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	display: none;
	width: 100%;
	height: 100%;
	overflow: hidden;
	outline: 0;
	pointer-events: none;
}

.u2d-popup.modal {
	pointer-events: auto;
	overflow-y: auto;
}

.u2d-popup.show {
	display: block;
}

.u2d-popup__wrapper {
	transition: transform .3s ease-out;
	position: relative;
	max-width: 95%;
	margin: 1.75rem auto;
	z-index: 1;
}

.u2d-popup.compact .u2d-popup__wrapper{
	max-width: -moz-fit-content;
	max-width: fit-content;
	width: auto;
}

.u2d-popup__content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	/* border: 1px solid rgba(0,0,0,.2); */
	outline: 0;
	/* box-shadow: 3px 3px 6px -2px #aaaaaa; */
	box-shadow: 0px 3px 6px rgb(0 0 0 / 16%)
}


.u2d-popup.show .u2d-popup__content {
	animation: fadeInDown; /* referring directly to the animation's @keyframe declaration */
	animation-duration: 0.5s; /* don't forget to set a duration! */
}
.u2d-popup.dismiss .u2d-popup__content {
	animation: fadeOutUp; /* referring directly to the animation's @keyframe declaration */
	animation-duration: 0.5s; /* don't forget to set a duration! */
}

.u2d-popup__header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1rem;
	border-bottom: 1px solid #dee2e6;
}

.u2d-popup__body {
	position: relative;
	flex: 1 1 auto;
	padding: 1rem;
}

.u2d-popup__footer {
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	padding: .75rem;
	border-top: 1px solid #dee2e6;
}

.u2d-popup__close {
	cursor: pointer;
}