/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* ----- Effects ----- */
.opacity-0 {
	opacity: 0;
}
.fade-in {
	-webkit-animation: fadein 1s forwards; /* Safari, Chrome and Opera > 12.1 */
	   -moz-animation: fadein 1s forwards; /* Firefox < 16 */
		-ms-animation: fadein 1s forwards; /* Internet Explorer */
		 -o-animation: fadein 1s forwards; /* Opera < 12.1 */
			animation: fadein 1s forwards;
			animation-iteration-count: 1;
			animation-delay: .5s;
			opacity: 0;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}


/* HEADER */
#masthead {
	z-index: 1000 !important;
}
.header-navigation .menu {
	font-family: 'Amatic SC', cursive;
	letter-spacing: 1px;
	margin-bottom: .5em;
}
.header-navigation .menu .nav-drop-title-wrap {
	padding-right: 0.75em;
}
.header-navigation .menu .nav-drop-title-wrap svg.kadence-svg-icon.kadence-arrow-down-svg {
	transform: scale(.75);
}
.main-navigation .primary-menu-container > ul > li.btn > a {
	font-family: 'Helvetica', sans-serif !important;
	font-size: 1rem !important;
	padding: 0.15em 0.125em 0;
	line-height: 1em;
}
.main-navigation .primary-menu-container > ul > li.menu-item:not(.btn) > a {
	line-height: 1;
	padding-block: 0.25em;
	font-family: 'Amatic SC' !important;
	letter-spacing: 2px;
}
.main-navigation .primary-menu-container > ul li.menu-item.btn {
	margin: 0 0 -.25em 1em;
	padding: 1.2em 1em 1em !important;
}

.site-main-header-wrap {
	position: relative;
}
.site-main-header-wrap:after {
	content: '';
	border-bottom: 1px solid #333;
	width: 100vw;
	position: absolute;
	top: 50%;
	z-index: -1;
}
.site-main-header-wrap .site-branding,
.site-header-item {
		background-color: #fff;
	} {
	background: #fff;
}
.search-form .kadence-search-icon-wrap {
	color: #c02026 !important;
}
ul#mobile-menu .btn {
	padding: 5px 10px 0 !important;
}
ul#mobile-menu .btn a {
	padding-block: 0.25em !important;
}
/* FOOTER */
ul#footer-menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
}
#footer-navigation.footer-navigation ul li a {
	padding: 0 !important;
}
section#block-24 {
	margin-bottom: 0.5rem;
}


/* Filter Form (Blog and Recipes) */
form.searchandfilter {
	text-align: center;
}
form.searchandfilter ul {
	display: inline-flex;
	justify-content: center;
	height: 100%;
	margin: 0 auto 2em;
}
form.searchandfilter ul li {
	height: 100%;
	list-style: none;
	margin-inline: 0.5em;
}
form.searchandfilter ul li select#ofcategory,
form.searchandfilter ul li select#ofrecipe_categories {
	padding: 0.4em 2em .4em .5em;
	color: #4A5568;
}
@media(max-width: 768px){
	form.searchandfilter ul {
		flex-wrap: wrap;
		justify-content: space-between;
		width: 80%;
	}
	form.searchandfilter ul li {
		width: 48%;
		margin: 0;
	}
	form.searchandfilter ul li:first-child {
		width: 100%;
	}
	form.searchandfilter ul li input[type="submit"] {
		width: 100%;
	}
	form.searchandfilter ul input[name="ofsearch"] {
		margin-bottom: .5em;
		width: 100%;
	}
}

/* ARCHIVES */
.blog #primary,
.archive #primary {
	margin-top: 0;
}


.custom-archive-loop-item .wp-block-kadence-image .kb-is-ratio-image img {
	object-position: top;
}
.custom-archive-loop-item .wp-block-post-excerpt {
	min-height: 105px;
}
.recipe-archive-block h2 {
	min-height: 73px;
}
.custom-archive-loop-item .has-text-align-center.wp-block-post-terms a {
	text-decoration: none !important;
}
.custom-archive-loop-item .recipe-archive-block .has-text-align-center.wp-block-post-terms a:after {
	content: " | ";
	color: #636363;
}
.custom-archive-loop-item .has-text-align-center.wp-block-post-terms a {
	text-decoration: none !important;
}
.custom-archive-loop-item .recipe-archive-block .has-text-align-center.wp-block-post-terms a:last-child:after,
.custom-archive-loop-item p:last-child:empty {
	display: none;
}
/* .grid-cols {
	-webkit-column-gap: 0rem !important;
	-moz-column-gap: 0rem !important;
	column-gap: 0rem !important;
	row-gap: 0rem !important;
} */

/* SLIDERS */
/* ALL SLIDERS */
.slick-next:before {
	content: '';
	display: inline-block;
	border-right: 2px solid #c02026;
	border-bottom: 2px solid #c02026;
	width: 15px;
	height: 15px;
	transform: rotate(-45deg);
	color: transparent !important;
}
.slick-prev:before {
	content: '';
	display: inline-block;
	border-right: 2px solid #c02026;
	border-bottom: 2px solid #c02026;
	width: 15px;
	height: 15px;
	transform: rotate(-225deg);
	color: transparent !important;
}

.slider {
	-webkit-animation: fadein 1s forwards; /* Safari, Chrome and Opera > 12.1 */
	   -moz-animation: fadein 1s forwards; /* Firefox < 16 */
		-ms-animation: fadein 1s forwards; /* Internet Explorer */
		 -o-animation: fadein 1s forwards; /* Opera < 12.1 */
			animation: fadein 1s forwards;
			animation-iteration-count: 1;
			animation-delay: 1s;
			opacity: 0;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}


h1, h2, h3 {
	text-transform: uppercase;
}
a:hover {
	opacity: 0.8;
}
.btn, .home .button, .gform_button, li.menu-item .btn a {
	background-color: #c02026 !important;
	border: none;
	padding: 0.5em 1em;
	text-transform: uppercase;
	color: #fff;
	width: auto;
	border-radius: 4px;
	margin: 0.5em 0;
	transition: all 0.5s ease-in-out;
}
.white,
.btn.white a {
	color: #fff !important;
}
.text-shadow {
	text-shadow: 0 0 10px #636363;
}
.orange-bg {
	background-color: #f47d31!important;
}
.yellow-bg {
	background-color: #fff1ce !important;
}
.social {
	max-width: 34px;
	margin: 2px;
}

/***** Header *****/
.dropdown-toggle::after {
	vertical-align: 0.5em;
	font-size: 1rem;
}
#main-menu .nav-link {
	font-family: 'Amatic SC',cursive;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #636363!important;
	font-size: 2em;
	padding: 0 1rem;
}
#main-menu .menu-item-66 .nav-link {
	background-color: #c02026;
	border: none;
	padding: 0.5em 1em;
	text-transform: uppercase;
	color: #fff!important;
	width: auto;
	border-radius: 0;
	transition: all 0.5s ease-in-out;
	font-size: 1rem;
	font-family: Helvetica;
	border-radius: 4px;
}
.hero-image {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	min-height: 400px;
}
.header-block {
	background-color: #fff;
	padding: 1em;
	line-height: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
		-ms-flex-pack: justify;
			justify-content: space-between;
}
#wrapper-navbar {
	position: relative;
}


/***** Home *****/
.home #theme-main {
	background-color: #fff1ce;
}
.home-section-block {
	min-height: 450px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.home-section-block a {
	text-decoration: none;
	line-height: 1.2em;
}
.featured {
	background-image: url(/wp-content/themes/kadence-child/images/home-featured-recipe-background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.recipes-feed {
	background-image: url(/wp-content/themes/kadence-child/images/recipes-background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.classes-feed {
	background-image: url(/wp-content/themes/kadence-child/images/classes-event-background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.home-blog-feed {
	background-image: url(/wp-content/themes/kadence-child/images/blog-background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.home-blog-feed .image {
	height: 275px;
	width: 250px;
	overflow: hidden;
}
.home-blog-feed .image img {
	object-fit: cover;
}
.polaroid {
	text-align: center;
	background-image: url(/wp-content/themes/kadence-child/images/polaroid.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	min-height: 325px;
	position: relative;
	width: 100%;
	max-width: 230px;
	-webkit-animation: fadein 1s forwards; /* Safari, Chrome and Opera > 12.1 */
	   -moz-animation: fadein 1s forwards; /* Firefox < 16 */
		-ms-animation: fadein 1s forwards; /* Internet Explorer */
		 -o-animation: fadein 1s forwards; /* Opera < 12.1 */
			animation: fadein 1s forwards;
			animation-iteration-count: 1;
			animation-delay: 2s;
			opacity: 0;
}
.polaroid-img {
	position: absolute;
	width: 100%;
	top: 60px;
	height: 180px;
	max-width: 180px;
	left: 25px;
	background-size: cover;
	background-position: center;
}
.polaroid-title {
	font-family: 'Amatic SC',cursive;
	letter-spacing: 1px;
	position: absolute;
	left: 0;
	bottom: 55px;
	text-align: center;
	width: 100%;
	height: 20px;
	text-transform: uppercase;
	color: #636363;
	font-size: 1.125rem;
	letter-spacing: 0px;
	padding-inline: 15px;

	display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
}
.featured-products .polaroid-title {
	font-size: 1.25em;
}
.polaroid-link {
	position: absolute;
	bottom: 19px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.7em;
	width: 100%;
	letter-spacing: 1px;
	line-height: 1.1;
	margin-bottom: 3px;
}

.featured-products .polaroid {
	transform: rotate(-20deg);
	-webkit-transform: rotate(-20deg);
	-moz-transform: rotate(-20deg);
	-o-transform: rotate(-20deg);
	-ms-transform: rotate(-20deg);
	top: -5px;
	z-index: 999;
	margin: 0 2em;
}
.christina {
	position: absolute;
	right: 0;
	max-width: 450px;
	bottom: -4rem;
	z-index: 999;
}
.feed-column {
	text-align: center;
	text-transform: uppercase;
	font-size: 0.9em;
	max-width: 180px;
}
.home-feed-image {
	width: 100%;
	max-width: 180px;
	height: 180px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (max-width: 991px) {
	.christina {
		display: none;
	}
}

/***** Blog and Recipes *****/
.section-title {
	color: #fff;
	text-transform: uppercase;
	padding: 10px;
	width: fit-content;
	background-color: #c02026;
	border-radius: 0 0 4px 4px;
}
.page-item.active .page-link {
	background-color: #c02026;
	border-color: #c02026;
}
.recipe-header {
	font-family: 'Amatic SC',cursive;
	letter-spacing: 1px;
	font-size: 2em;
}
.post-type-archive-recipes ul.wp-block-categories, .category ul.wp-block-categories {
	text-transform: uppercase;
	list-style: none;
	padding: 0;
}
.post-type-archive-recipes ul.wp-block-categories li:last-child, .category ul.wp-block-categories li:last-child {
	display: none;
}
.post-type-archive-recipes .card-body h2, .category .card-body h2 {
	font-size: 1.5em;
}
.icon-col p:empty {
	display: none;
}



/***** Footer *****/
.footer-wrapper {
	background-color: #e1e1e1;
}