.pb-halfnhalf{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-height: 45ch;
	height: 100%;
	width: 80ch;
	max-height: calc(100vh - 20vh);
	max-width: calc(100vw - 20vw);
	overflow-y: auto;
	z-index: 99999;
	border-radius: 0.2rem;
	box-shadow: 0.5rem 0.5rem 1.5rem rgba(0, 0, 0, 0.1), 0 0 0 100vw rgba(0, 0, 0, 0.5);
}
.pb-halfnhalf-close{
	position: fixed;
	top: 2rem;
	right: 2rem;
	fill: currentColor;
	transition: opacity 0.2s ease;
	cursor: pointer;
}
.pb-halfnhalf-close:hover,
.pb-halfnhalf-close:focus{
	opacity: 0.8;
}
.pb-halfnhalf-wrapper{
	display: grid;
	grid-template-rows: 50% 1fr;
	height: 100%;
	min-height: inherit;
}
.pb-halfnhalf-content{
	display: flex;
	align-items: center;
	padding: 2rem;
}
.pb-halfnhalf-content :first-child{
	margin-top: 0 !important;
}
.pb-halfnhalf-content :last-child{
	margin-bottom: 0 !important;
}
.pb-halfnhalf-img{
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

@media (min-width: 992px){
	.pb-halfnhalf{
		height: unset;
	}
	.pb-halfnhalf-wrapper{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
}
