/**
	* Styles for Single Affiliate Product block
	*/

/* SEO-friendly mobile-only content - visible to crawlers but hidden visually on desktop */
.apc-blocks.apc-affiliate-product .apb-only-mobile {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apc-blocks.apc-affiliate-product .apc-apb-product-overview {
	padding: 32px;
	position: relative;
	margin-bottom: 40px;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information {
	-ms-align-items: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information>div:first-child {
	max-width: 40%;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information+.apc-apb-cta-list {
	display: -webkit-flex;
	display: -ms-flex;
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	-o-justify-content: space-between;
	justify-content: space-between;
	margin-top: 24px;
}

.apc-blocks.apc-affiliate-product .apc-apb-cta-list.vertical.apb-only-desktop {
	margin-top: 16px;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information+.apc-apb-cta-list>div {
	width: 28%;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information .apc-apb-cta-list a {
	box-sizing: border-box;
	display: block;
	margin-top: 12px;
	max-width: 100%;
}

.apc-blocks.apc-affiliate-product .apc-product-main-information .apc-apb-key-info {
	max-width: 54%;
}

.apc-blocks.apc-affiliate-product .apc-apb-product-review {
	text-align: right;
}

.apc-blocks.apc-affiliate-product .apc-apb-product-review>div:first-child {
	margin-bottom: 6px;
}

/* Long Description area */


/* 
 * Final CTA Layout Area
 */
.apc-apb-final-cta-wrapper {
	text-align: center;
	margin: 32px 0;
}

.apc-apb-cta-list.stand-alone {
	display: inline-block;
	margin-bottom: 8px;
}

/* Set display grid so CTA and offer text will always be the same width */
.apc-apb-cta-list.stand-alone .apc-btn-wrapper {
	display: grid;
}

/* Set a reasonable max-width value. This should be large enough even on mobile, but not huge */
.apc-apb-cta-list.stand-alone .apc-btn-wrapper>* {
	max-width: 288px;
}

/* Pros and Cons */
.apc-blocks.apc-affiliate-product .apc-pros-cons>div {
	width: 47.2%;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-heading {
	margin-bottom: 24px;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-heading:after {
	background-color: #000;
	border-radius: 6px;
	content: "";
	display: block;
	height: 3px;
	margin-top: 8px;
	width: 100%;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-pros .apc-heading:after {
	background-color: #25cf5f;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-cons .apc-heading:after {
	background-color: #fe4856;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-pros li span {
	color: #25cf5f;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons .apc-cons li span {
	color: #fe4856;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons li {
	font-weight: 400;
	font-size: 1em;
	line-height: 1.4;
	margin-bottom: 16px;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons li:last-child {
	margin-bottom: 0;
}

.apc-blocks.apc-affiliate-product .apc-pros-cons li span {
	font-size: 1.2em;
	margin-right: 0.25em;
	position: relative;
	top: -0.08em;
	vertical-align: middle;
}

@media only screen and (max-width: 1023px) {

	.apc-blocks.apc-affiliate-product .apc-product-main-information>div:first-child,
	.apc-blocks.apc-affiliate-product .apc-product-main-information .apc-apb-key-info {
		max-width: 48%;
	}
}

@media only screen and (max-width: 850px) {
	.apc-designation.apc-des-absolute {
		left: 24px;
	}

	.apc-blocks.apc-affiliate-product .apc-apb-product-overview {
		padding: 24px;
	}

	.apc-blocks.apc-affiliate-product .apc-heading {
		font-size: 24px;
	}

	.apc-blocks.apc-affiliate-product .apc-product-main-information+.apc-apb-cta-list a {
		min-width: initial;
		line-height: 1.2;
	}
}

@media only screen and (max-width: 800px) {

	.apc-blocks.apc-affiliate-product .apc-product-main-information+.apc-apb-cta-list.apb-only-mobile .apc-cta,
	.apc-blocks.apc-affiliate-product .apb-only-mobile .apc-cta {
		box-sizing: border-box;
		display: block;
		margin-bottom: 8px;
		max-width: 100%;
		width: 100%;
	}

	.apc-blocks.apc-affiliate-product .apb-only-mobile:last-child {
		margin-bottom: 16px;
	}

	.apc-blocks.apc-affiliate-product .apc-apb-key-info {
		margin: 24px 0 32px;
	}

	.apc-blocks.apc-affiliate-product .apb-only-mobile .apc-cta:last-child,
	.apc-blocks.apc-affiliate-product .apc-apb-key-info li:last-child {
		margin-bottom: 0;
	}

}

@media only screen and (min-width: 667px) {
	.apc-apb-final-cta-wrapper {
		display: flex;
		justify-content: center;
	}

	.apc-apb-final-cta-wrapper .apc-apb-link-review-wrapper {
		margin-left: 24px;
	}

	.apc-apb-link-review-wrapper {
		padding-top: 7px;
	}
}

@media only screen and (max-width: 667px) {

	/* SEO-friendly desktop-only content - visible to crawlers but hidden visually on mobile */
	.apc-blocks.apc-affiliate-product .apb-only-desktop {
		position: absolute;
		left: -9999px;
		width: 1px;
		height: 1px;
		overflow: hidden;
	}

	/* Show mobile-only content properly on mobile screens */
	.apc-blocks.apc-affiliate-product .apc-apb-cta-list.apb-only-mobile {
		position: static;
		left: auto;
		width: 100%;
		height: auto;
		overflow: visible;
		margin-top: 0;
	}

	/* Specific fix to ensure the buttons will go full-width with the "Under" bullet items setting */
	.apc-blocks.apc-affiliate-product .apc-product-main-information+.apc-apb-cta-list.apb-only-mobile>div {
		width: auto;
	}

	.apc-blocks.apc-affiliate-product .apc-extra-text-active {
		margin-bottom: 16px;
	}

	.apc-blocks.apc-affiliate-product .apc-heading.apc-prod-title {
		padding-top: 16px;
	}

	.apc-blocks.apc-affiliate-product .apc-product-main-information {
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.apc-blocks.apc-affiliate-product .apc-product-main-information>div:first-child,
	.apc-blocks.apc-affiliate-product .apc-product-main-information .apc-apb-key-info {
		max-width: 100%;
		width: 100%;
	}

	.apc-blocks.apc-affiliate-product .apc-product-main-information>div:first-child {
		text-align: center;
		margin-bottom: 16px;
	}

	.apc-blocks.apc-affiliate-product .apc-product-main-information .apc-apb-product-review {
		text-align: center;
		max-width: 160px;
		margin: 8px auto 0;
	}
}

@media only screen and (max-width: 480px) {

	.apc-blocks.apc-affiliate-product .apc-designation.apc-des-absolute {
		left: 50%;
		width: calc(100% - 64px);
		transform: translateX(-50%);
	}

	.apc-blocks.apc-affiliate-product .apc-pros-cons {
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.apc-blocks.apc-affiliate-product .apc-pros {
		margin-bottom: 24px;
	}

	.apc-blocks.apc-affiliate-product .apc-pros-cons>div {
		width: 100%;
	}
}

@media only screen and (max-width: 370px) {
	.apc-blocks.apc-affiliate-product .apc-apb-product-overview {
		padding: 16px;
	}
}