/* =Leave Review Links
-------------------------------------------------------------- */
.leave-review-links {
    width: 100%;
    clear: both;
    overflow: hidden;
    padding: 0 0 30px;
}

.leave-review-links div {
	width: calc(25% - 40px);
	float:left;
	display: block;
	padding: 0 20px;
}


/* Filter Buttons
-------------------------------------------------*/
.filter-button-group {
	margin: auto;
	text-align: center;
	margin-bottom: 30px;
}

.filter-button-group button {
	padding: 10px 20px;
	background-color: #FFF;
	border: 2px solid #ED3134;
	color: #ED3134;
	-webkit-border-radius: 5px;
	border-radius: 5x;
	cursor: pointer;
	font-size: 14px;
}

.filter-button-group button:hover {
	border: 2px solid #ED3134;
	background: #ED3134;
	color: #fff;
	-webkit-border-radius: 5px;
	border-radius: 5x;
}


/* Archive Page
-------------------------------------------------*/
.post-type-archive-rw_products .fl-content,
.tax-rw_product_category .fl-content {
	margin-top: 0;
}

.post-type-archive-rw_products .fl-content .rw-cat-description,
.tax-rw_product_category .fl-content .rw-cat-description {
	margin-bottom: 30px;
	padding-left: 20px;
	padding-right: 20px;
}

.post-type-archive-rw_products .rw-grid-container,
.tax-rw_product_category .rw-grid-container,
.tax-rw_product_category .rw-product-grid {
	margin-top: 40px;
	padding-left: 0;
	padding-right: 0;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    overflow: hidden;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    align-items: start;
}

.post-type-archive-rw_products .rw-grid-container .item a,
.tax-rw_product_category .rw-grid-container .item a,
.tax-rw_product_category .rw-product-grid .item a {
	display: block;
	position: relative;
	overflow: hidden;
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey,
.tax-rw_product_category .rw-grid-container .item .effect-honey,
.tax-rw_product_category .rw-product-grid .item .effect-honey {
	background: #021C36;
	
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey .rw-cat-image::after,
.tax-rw_product_category .rw-grid-container .item .effect-honey .rw-cat-image::after,
.tax-rw_product_category .rw-product-grid .item .effect-honey .rw-product-image::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(2,37,73,0) 40%, rgba(2,37,73,1) 100%);
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey img,
.tax-rw_product_category .rw-grid-container .item .effect-honey img,
.tax-rw_product_category .rw-product-grid .item .effect-honey img {
	opacity: 1;
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	min-height: 100%;
	max-width: 100%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey:hover img,
.tax-rw_product_category .rw-grid-container .item .effect-honey:hover img,
.tax-rw_product_category .rw-product-grid .item .effect-honey:hover img {
	-webkit-transform: scale(1);
	transform: scale(1);
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey .rw-cat-title::before,
.tax-rw_product_category .rw-grid-container .item .effect-honey .rw-cat-title::before,
.tax-rw_product_category .rw-product-grid .item .effect-honey .rw-product-title::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: #33A1FD;
	content: '';
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 1em 1.5em;
	width: 100%;
	text-align: left;
	-webkit-transform: translate3d(0,-15px,0);
	transform: translate3d(0,-15px,0);
	color: #fff;
	font-size: 24px;
	margin-bottom: 0;
	text-shadow: 0 1px 3px #000;
}

.post-type-archive-rw_products .rw-grid-container .item .rw-cat-title::before,
.tax-rw_product_category .rw-grid-container .item .rw-cat-title::before,
.tax-rw_product_category .rw-product-grid .item .rw-product-title::before,
.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.post-type-archive-rw_products .rw-grid-container .item .effect-honey:hover .rw-cat-title::before,
.tax-rw_product_category .rw-grid-container .item .effect-honey:hover .rw-cat-title::before,
.tax-rw_product_category .rw-product-grid .item .effect-honey:hover .rw-product-title::before,
.post-type-archive-rw_products .rw-grid-container .item .effect-honey:hover h3,
.tax-rw_product_category .rw-grid-container .item .effect-honey:hover h3,
.tax-rw_product_category .rw-product-grid .item .effect-honey:hover h3 {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



@media (min-width: 320px) {

	.post-type-archive-rw_products .fl-content .rw-cat-description,
	.tax-rw_product_category .fl-content .rw-cat-description {
		margin-bottom: 30px;
		padding-left: 0;
		padding-right: 0;
		font-size: 14px;
	}
	
	.post-type-archive-rw_products .rw-grid-container,
	.tax-rw_product_category .rw-grid-container,
	.tax-rw_product_category .rw-product-grid {
		margin-top: 0;
		grid-template-columns: repeat(1, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
	}
	
	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    padding: 1em 1em 0.5em;
	    font-size: 20px;
	}
	
	.post-type-archive-rw_products .rw-grid-container .item .effect-honey:hover h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey:hover h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey:hover h3 {
		-webkit-transform: translate3d(0,-10px,0);
		transform: translate3d(0,-10px,0);
	}
	
}

@media (min-width: 600px) {
	
	.post-type-archive-rw_products .rw-grid-container,
	.tax-rw_product_category .rw-grid-container,
	.tax-rw_product_category .rw-product-grid {
		margin-top: 0;
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
	}

}

@media (min-width: 680px) {
	
	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    padding: 1em 1em 0.8em;
	    font-size: 22px;
	}
	
}

@media (min-width: 800px) {
	
	.post-type-archive-rw_products .fl-content .rw-cat-description,
	.tax-rw_product_category .fl-content .rw-cat-description {
		font-size: 16px;
	}
	
	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    padding: 1em 1em 1em;
	    font-size: 24px;
	}

}

@media (min-width: 1024px) {
	
	.post-type-archive-rw_products .rw-grid-container,
	.tax-rw_product_category .rw-grid-container,
	.tax-rw_product_category .rw-product-grid {
		margin-top: 0;
		grid-template-columns: repeat(3, 1fr);
		grid-column-gap: 30px;
		grid-row-gap: 30px;
	}
	
	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    padding: 1em 1em 0.8em;
	    font-size: 20px;
	}

}

@media (min-width: 1100px) {

	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    padding: 1em;
	    font-size: 22px;
	}

}

@media (min-width: 1280px) {

	.post-type-archive-rw_products .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-grid-container .item .effect-honey h3,
	.tax-rw_product_category .rw-product-grid .item .effect-honey h3 {
	    font-size: 24px;
	}

}




/* Single Products */

.rw-main-product-image .fl-row-content-wrap {
    padding-bottom: 0;
}

.rw-main-product-image .fl-module-content {
	margin-bottom: 0
}

.single-rw_products .fl-content {
	margin-top: 0;
}

.single-rw_products .fl-post-content .fl-row-content-wrap .fl-col-group .fl-module-photo {
    margin-right: 0;
}




/* Products Tab Bar */

ul.rw-products-tabs {
	background-color: #DDD;
	border-radius: 3px;
	margin-bottom: 30px;
}

ul.rw-products-tabs.nav-pills .nav-link {
    display: block;
    border-radius: 0;
    padding: 14px 30px;
    color: #1E417C;
    font-size: 20px;
    font-weight: 700;
    font-family: "Roboto Condensed", sans-serif;
    transition: all .3s ease;
    cursor: pointer;
}

ul.rw-products-tabs.nav-pills .nav-link.active,
ul.rw-products-tabs.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #B52026;
}

ul.rw-products-tabs.nav-pills .nav-item a.nav-link {
	border-radius: 0;
}

ul.rw-products-tabs.nav-pills .nav-item:first-of-type a.nav-link {
    border-radius: 3px 0 0 3px;
}

.rw_products .tab-content .tab-pane {
	margin-left: -15px;
	margin-right: -15px;
}

.rw-tab-description {
	padding: 0 15px 20px;
}

/* Products Tab */
ul.rw-gallery {
	list-style: none;
	padding: 0 0 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

ul.rw-gallery li {
	width: 25%;
	padding: 0 15px 30px;
}

ul.rw-gallery li img {
	width: 100%;
}

ul.rw-gallery li p {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 700;
	text-align: center;
	color: #1E417C;
	margin-top: 5px;
	margin-bottom: 0;
}


.rw-masonry-gallery {
	padding: 0 0 20px;
	display: block;
	width: 100%;
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.rw-masonry-gallery .grid-item {
	padding-bottom: 30px;
}

.rw-masonry-gallery .grid-item a {
	width: 100%;
	
}

.rw-masonry-gallery .grid-item img {
	width: 100%;
}

.rw-masonry-gallery .grid-item .rw-caption {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 700;
	text-align: center;
	color: #1E417C;
	margin-top: 5px;
	margin-bottom: 0;
}

.rw-download-list ul {
	padding-left: 0;
}

.rw-download-list li {
	list-style: none;
}

.rw-download-list li a {
	display: block;
	background: url(/wp-content/themes/bb-theme-child/images/pdf-icon-retina.png) center left no-repeat;
	padding: 10px 10px 10px 35px;
}

@media (-webkit-min-device-pixel-ratio: 2) {
	
	.rw-download-list li a {
		background: url(/wp-content/themes/bb-theme-child/images/pdf-icon-retina.png) center left no-repeat;
		background-size: 25px 30px;
	}
	
}


/* Magnific Popup Lightbox Styles */
.single-rw_products .mfp-content figure {
	position: relative;
}

.single-rw_products .mfp-content figcaption {
	position: absolute;
	bottom: -50px;
	width: 100%;
}

.single-rw_products .mfp-title {
    text-align: center;
}

@media (min-width: 320px) {
		
	.single-rw_products .rw-dimensions {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	ul.rw-gallery li,
	.rw-masonry-gallery .grid-item {
	    width: 100%;
	    padding: 0 15px 30px;
	}
	
}

@media (min-width: 480px) {
	
	ul.rw-gallery li,
	.rw-masonry-gallery .grid-item {
	    width: 50%;
	    padding: 0 15px 30px;
	}

}

@media (min-width: 680px) {
	
	ul.rw-gallery li,
	.rw-masonry-gallery .grid-item {
	    width: 33.33333%;
	    padding: 0 15px 30px;
	}

}

@media (min-width: 680px) {
	
	ul.rw-gallery li,
	.rw-masonry-gallery .grid-item {
	    width: 25%;
	    padding: 0 15px 30px;
	}

}

