/**
 * Easy Digital Downloads - Custom Popup Upsell.
 */
.custom-upsell-popup-container {
	/* display: none; */
	opacity: 0;
	height: 0;
	transition: 0.3s opacity ease-in-out;
}

.custom-upsell-popup-container.open {
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	opacity: 1;
	transition: 0.3s opacity ease-in-out;
}

.custom-upsell-popup-container.open::before {
	position: absolute;
	content: "";
	width: 100vw;
	height: 100vh;
	background-color: #00000050;
}

.custom-upsell-popup-container * {
	box-sizing: border-box;
}

.custom-upsell-popup-container .upsell-popup {
	display: none;
	position: relative;
	width: 50%;
	min-height: 300px;
	margin: auto;
	padding: 40px 30px 30px 30px;
	background-color: #FFFFFF;
	border-radius: 8px;
	box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, 0.3);
}

.custom-upsell-popup-container.open .upsell-popup {
	display: block;
}

.custom-upsell-popup-container .upsell-popup .upsell-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
}

.custom-upsell-popup-container .upsell-popup .upsell-popup-close .popup-close-button {
	width: 17px;
	height: 17px;
	cursor: pointer;
}

.custom-upsell-popup-container .upsell-popup .upsell-divider {
	margin: 20px 0;
	background: #EFEFEF;
}

.custom-upsell-popup-container .upsell-popup .upsell-title {
	font-size: 24px;
}

.custom-upsell-popup-container .upsell-popup .upsell-description {
	height: 100%;
}

.custom-upsell-popup-container .upsell-popup .upsell-description-title {
	font-family: var(--global-body-font-family) !important;
	font-size: inherit;
	margin-bottom: 10px;
}

.custom-upsell-popup-container .upsell-popup .priceFeatureIcon {
	height: 17px;
	width: 17px;
}

.custom-upsell-popup-container .upsell-buttons-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button {
	width: 48%;
	border-radius: 4px;
	text-align: center;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button .priceLink {
	display: block;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
	text-decoration: none;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button.annual {
	background-color: #BE426D;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button.annual:hover {
  background-color: #A8385F;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button.monthly {
	/* background-color: #D6C15C; */
	background-color: #999999;
}

.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button.monthly:hover {
	/* background-color: #BFAC4F; */
	background-color: #777777;
}


@media screen and (max-width: 767.98px) {
	.custom-upsell-popup-container .upsell-popup {
		width: 85%;
		padding: 40px 20px;
	}
	
	.custom-upsell-popup-container .upsell-buttons-wrapper {
		flex-direction: column;
	}
	
	.custom-upsell-popup-container .upsell-buttons-wrapper .upsell-button {
		width: 100%;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 467.98px) {
	.custom-upsell-popup-container .upsell-popup {
		max-height: 95vh;
	}
	
	.custom-upsell-popup-container .upsell-popup .upsell-content-wrapper {
/* 		max-height: 80%; */
	}
	
	.custom-upsell-popup-container .upsell-popup .upsell-title {
		font-size: 18px;
	}
}






/** Other Fixes **/
#bptbPricingTables-1 .bptbPricingTables {
	grid-gap: 90px 40px !important;
}

#bptbPricingTables-1 .priceFeatures {
	height: auto !important;
}