/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* Ask the Expert */

/*.ate-question{ border: 1px solid gray; padding: 0 30px; }
.ate-question h2{ border-bottom: 1px solid gray; margin: 0; padding: 15px 0; }
.ate-answer{ margin-top: 30px; padding: 30px; border: 1px solid gray; background-color: darkgrey; }*/




.single-pp-ate #main .ate-question{ border: 1px solid gray; background-color: #e6e6e6; padding: 5px 20px; }
.single-pp-ate #main .ate-question h2{ border-bottom: 1px solid gray; padding-bottom: 10px; }

.single-pp-ate #main .amazon-ad,
.single-pp-ate #main .ate-response{ border: 1px solid gray; padding: 5px 20px 20px; margin-top: 20px; }


/* category section styles */
.fusion-builder-row .category-section-wrapper { margin-bottom: 40px; }

#wrapper .post-content .category-section h2 {
	color: #ffffff !important;
	font-size: 36px;
}

.category-tabs {
	border: 1px solid #333333;
	display: flex; 
}

#main .category-tab {
	background-color: #75a733;
	border-left: 1px solid #333333;
	color: #ffffff !important;
	flex-grow: 1;
	font-size: 16px;
	padding: 10px;
	text-align: center;
}

#main .category-tab:first-child { border: none; }

#main .category-tab:hover {
	background-color: #f58018;
	color: #ffffff !important;
}

/* entire container, keeps perspective */

.flip-container {
	-webkit-perspective: 1000;
	perspective: 1000;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

/*  UPDATED! flip the pane when hovered */

.flip-container:hover .back, .flip-container.hover .back {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.flip-container:hover .front, .flip-container.hover .front {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
	width: 320px;
	height: 480px;
}

/* flip speed goes here */

.flipper {
	-webkit-transition: 0.6s;
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */

.front,
.back {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: 0.6s;
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
}

.front img,
.back img { max-height: 100%; }

/*  UPDATED! front pane, placed above back */

.front {
	z-index: 2;
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

/* back, initially hidden pane */

.back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

/* latest feature */
#wrapper .post-content .current-week-feature {
		border: 1px solid #a7a9ab;
		margin-bottom: 40px;
		padding: 0 20px 20px;
		text-align: center;
}

#wrapper .post-content .current-week-feature a {
	color: #000000 !important;
}

#wrapper .post-content .current-week-feature h3 {
	color: #a0ce4e;
	font-size: 32px;
	text-align: left;
}

#wrapper .post-content .current-week-feature h2 {
	color: #f58018;
	font-size: 26px;
}

#wrapper .post-content .current-week-feature .featured-article {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}

#wrapper .post-content .current-week-feature .featured-article > div {
	flex: 1 0 0;
	max-width: 100%;
}

#wrapper .post-content .current-week-feature .featured-article .featured-article-image {
	position: relative;
}

/*#wrapper .post-content .current-week-feature .featured-article .featured-article-image:after {
	background-color: #a0ce4e;
	color: #ffffff;
	content: 'Click to Read';
	padding: 5px 20px;
	position: absolute;
		bottom: 20px;
		right: 0;
}*/

#wrapper .post-content .current-week-feature .featured-article .featured-article-image p {
	color: #f58018;
	margin: 5px 0 0;
}

#wrapper .post-content .current-week-feature .featured-article .featured-article-text h2 {
	color: #f58018;
	font-size: 22px;
}

#wrapper .post-content .current-week-feature .featured-article .featured-article-text .article-author {
	font-style: italic;
}

#wrapper .post-content .current-week-feature .featured-article .featured-article-text .article-excerpt {
	margin-bottom: 0;
}

@media screen and (min-width: 801px) {
	#wrapper .post-content .current-week-feature .featured-article {
		flex-direction: row;
	}

	#wrapper .post-content .current-week-feature .featured-article > div {
		max-width: calc(50% - 10px);
	}

	#wrapper .post-content .current-week-feature .featured-article .featured-article-text .article-author {
		text-align: left;
	}

	#wrapper .post-content .current-week-feature .featured-article .featured-article-text .article-excerpt {
		text-align: left;
	}
}

/* current blogs */
#wrapper .post-content .current-blogs {
	border: 1px solid #a7a9ab;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 40px;
	padding: 0 20px 20px;
}

#wrapper .post-content .current-blogs h2 {
	color: #a0ce4e;
	font-size: 28px;
	text-align: left;
	width: 100%;
}

#wrapper .post-content .current-blogs .blog-item {
	flex: 1 0 0;
	max-width: 100%;
}

#wrapper .post-content .current-blogs .blog-item:last-child {
	border-top: 1px solid #a7a9ab;
	margin-top: 20px;
	padding-top: 20px;
}

#wrapper .post-content .current-blogs .blog-item a {
	color: #000000 !important;
}

#wrapper .post-content .current-blogs .blog-item h3 {
	color: #f58018;
	font-size: 22px;
	margin: 0;
}

#wrapper .post-content .current-blogs .blog-item .blog-author {
	font-style: italic;
}

#wrapper .post-content .current-blogs span {
    background-color: #a0ce4e;
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 20px;
}

#wrapper .post-content .current-blogs .blog-item .blog-title {
	font-size: 18px;
	font-weight: bold;
	margin: 10px 0 0;
}

#wrapper .post-content .current-blogs .blog-item .blog-body,
#wrapper .post-content .current-blogs .blog-item .blog-title + p {
	margin: 5px 0;
}

#wrapper .post-content .current-blogs .blog-item .blog-body + p {
	color: #f58018;
}

@media screen and (min-width: 801px) {
	#wrapper .post-content .current-blogs {
		flex-direction: row;
	}

	#wrapper .post-content .current-blogs .blog-item {
		max-width: calc(50% - 10px);
	}

	#wrapper .post-content .current-blogs .blog-item:last-child {
		border-top: none;
		margin-top: 0;
		padding-top: 0;
	}
}

/* photo and video OTD */

#wrapper .post-content .content-otd {
	border: 1px solid #a7a9ab;
	margin-bottom: 40px;
	padding: 0 20px 20px;
	text-align: center;
}

#wrapper .post-content .content-otd a:not(.gallery-link) {
	color: #000000 !important;
}

#wrapper .post-content .content-otd .otd-img {
	cursor: pointer;
	margin-bottom: 20px;
	position: relative;
}

#wrapper .post-content .video-otd .otd-img:after {
	content: url(../images/youtube.png);
	position: absolute;
		left: 50%;
		top: 50%;
	transform: translate(-50%, -50%);
}

#wrapper .post-content .content-otd .otd-img i {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #ffffff;
}

/*#wrapper .post-content .video-otd .otd-img:after {
    background-color: #a0ce4e;
    padding: 5px 20px;
    display: inline-block;
    color: #ffffff;
}*/

#wrapper .post-content .content-otd h2 {
	color: #999999;
	text-align: center;
}

.photo-otd .gallery-link {
	color: #f58018;
}

/*.photo-otd .otd-img:after {
    content: 'View the Photo';
}*/

.video-otd .otd-img:after {
    content: 'View the Video';
}

.video-otd .article-info {
	font-weight: bold;
}

.photo-modal {
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    max-height: 80%;
    opacity: 0;
    position: fixed;
    	left: 50%;
    	top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: 0.25s ease-in-out;
    z-index: -1;
}

.photo-modal img {
	max-width: 80vh;
}

.photo-modal.visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	z-index: 99999;
}

.photo-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 24px;
    display: block;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #000;
    border-radius: 50%;
}

/* random ads */
.random-ads {
	margin-bottom: 30px;
}

.random-ads .ad-wrapper {
	display: block;
	position: relative;
}

.random-ads .ad-wrapper .ad-text {
	color: #ffffff;
	max-width: calc(100% - 40px);
	position: absolute;
}

.topleft .ad-text,
.topcenter .ad-text,
.topright .ad-text {
	top: 20px;
}

.centerleft .ad-text,
.center .ad-text,
.centerright .ad-text {
	transform: translateY(-50%);
	top: 50%;
}

.bottomleft .ad-text,
.bottomcenter .ad-text,
.bottomright .ad-text {
	bottom: 20px;
}

.topleft .ad-text,
.centerleft .ad-text,
.bottomleft .ad-text {
	left: 20px;
}

.topcenter .ad-text,
.center .ad-text,
.bottomcenter .ad-text {
	left: 50%;
	transform: translateX(-50%);
}

.topright .ad-text,
.centerright .ad-text,
.bottomright .ad-text {
	right: 20px;
}

#wrapper .post-content .content-otd .contest-link {
	background-color: #f58018;
	border-radius: 3px;
	color: #ffffff !important;
	display: inline-block;
	margin-top: 20px;
	padding: 5px;
	width: 48%;
}

#wrapper .post-content .content-otd .contest-link:first-of-type {
	margin-right: 4%;
}

#wrapper .post-content .content-otd .contest-link:hover {
	background-color: #a0ce4e;
}

.latest-cat-content-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #a7a9ab;
}

@media screen and (min-width: 801px) {
	.latest-cat-content-wrapper {
	    flex-direction: row;
	}	    
}

.latest-cat-content-wrapper h2 {
	color: #a0ce4e !important;
	margin: 0 0 10px;
}

.latest-cat-content-wrapper.latest-cat-full-width h2 {
	font-size: 22px !important;
	width: 100%;
}

.latest-cat-content-wrapper .latest-cat-content {
    flex: 0 0 48%;
}

.latest-cat-content-wrapper.latest-cat-full-width .latest-cat-content {
	flex-basis: 100%;
	width: 100%;
}

.latest-cat-content-wrapper .latest-cat-content .latest-content-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 75%;
	width: 100%;
}

.latest-cat-content-wrapper .latest-cat-content .latest-content-image.img_contain {
	background-size: contain;
}

.latest-cat-content-wrapper .latest-cat-content h3 {
	color: #f58018;
	margin: 0;
}

.latest-cat-content-wrapper .latest-cat-content .article-author,
.latest-cat-content-wrapper .latest-cat-content .article-excerpt {
	color: #070e12;
}

#wrapper .post-content .current-week-feature-image,
#wrapper .post-content .custom-callout {
    margin-bottom: 40px;
    padding: 0 20px 20px;
    text-align: center;
}

#wrapper .post-content .custom-callout.add-border {
    border: 1px solid #a7a9ab;
}

#wrapper .post-content .current-week-feature-image .featured-article-image img,
#wrapper .post-content .custom-callout .custom-callout-image img {
	margin-bottom: 20px;
}

#wrapper .post-content .current-week-feature-image h3,
#wrapper .post-content .custom-callout h3 {
	color: #999999;
}

#main .post-content .current-week-feature-image a,
#main .post-content .custom-callout a {
	color: #070e12 !important;
	text-align: left;
}

#wrapper .post-content .featured-article-text,
#wrapper .post-content .custom-callout-text {
	text-align: left;
}

.custom-callout.button-link .custom-callout-content .custom-callout-actions a {
	background-color: #f58018;
	color: #ffffff !important;
	display: block;
	margin: 0 auto !important;
	max-width: 80%;
	padding: 10px 20px;
}

.custom-callout.button-link .custom-callout-content .custom-callout-actions a i {
	display: none;
}
.custom-callout .custom-callout-content {
    display: flex;
    flex-direction: column;
}

.custom-callout .custom-callout-content .custom-callout-image {
    display: flex;
    justify-content: center;
}

.custom-callout .custom-callout-content h4 {
	color: #a0ce4e;
}

.custom-callout .custom-callout-content .custom-callout-text {
	margin-bottom: 20px;
}

#wrapper .post-content .custom-callout .custom-callout-actions {
	text-align: left;
}

#wrapper .post-content .custom-callout.add-buttons .custom-callout-actions {
	display: flex;
	justify-content: space-between;
}

#wrapper .post-content .custom-callout .custom-callout-actions a {
	margin-right: 10px;
}

#wrapper .post-content .custom-callout.add-buttons .custom-callout-actions a {
	background-color: #f58018;
	border-radius: 3px;
	color: #ffffff !important;
	display: inline-block;
	font-size: 16px;
	margin: 0;
	padding: 10px;
	text-align: center;
	width: 48%;
}

#wrapper .post-content .custom-callout.add-buttons .custom-callout-actions a i {
	display: none;
}

.post-content .photo_contest_callout p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Posthots Widget */
.mrp-rating-widget {
	background-size: 20%;
	background-position: top right;
	background-repeat: no-repeat;
	border: 1px solid #a7a9ab;
	margin-bottom: 20px;
	padding: 20px;
}

.mrp-rating-widget-osmocote {

}

.mrp-rating-widget-logo {

}

.mrp-rating-widget-logo img {
    max-width: 65%;
    margin: 0 17.5%;
}

.mrp-rating-widget-score .rating-result {
	display: block;
	text-align: center;
}

.mrp-rating-widget-score .rating-result .mrp-star-rating {
	display: block;
}

#main a.mrp-rating-product-link {
	background-color: rgba(245,128,24,0.25);
	border: 1px solid #f58018;
	color: #000000 !important;
    display: block;
    margin: 20px auto;
    max-width: 65%;
    padding: 5px 20px;
    text-align: center;
}

#main a.mrp-rating-product-link:hover {
	background-color: rgba(160,206,78,0.25);
	border: 1px solid #a0ce4e;
}

.mrp-rating-widget-review {
	display: flex;
}

.mrp-rating-widget-review-img {
	flex: 0 0 30%;
	margin-right: 5%;
}

.mrp-rating-widget-review-img img {
	width: 100%;
}

.mrp-rating-widget-review p {
	margin-bottom: 0 !important;
	line-height: 1.25;
}