/*
Theme Name:     Limoncella
Theme URI:      http://shop.restored316designs.com/themes
Template:       kadence
Author:         Restored 316 // Lauren Dierschke
Author URI:     http://shop.restored316designs.com/themes
Description:    A mobile responsive WordPress theme built for the Kadence Framework by Lauren Dierschke of Restored 316.
Version:        1.0.1
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* General Content
--------------------------------------------- */

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	border: 1px solid var(--global-palette5) !important;
}

button:hover, 
.button:hover, 
.wp-block-button__link:hover, 
input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover {
	transform: scale(0.95);	
}

/* Header Adjustments
--------------------------------------------- */

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.1);
}

.site-top-header-wrap div.site-header-row-container-inner {
	background-image: url(images/bottom-of-nav.png);
	background-position: bottom center;
	background-repeat: repeat-x;
	background-size: 10px 3px;
}

.site-bottom-header-wrap .site-header-row-container-inner {
		margin-top: 3px;
}

#main-header .header-button {
	margin: -10px auto -25px;
}

#main-header .header-button:before {
    content: 'Explore more in'; /* You can change the copy above the header button here */
    font-family: var(--global-body-font-family);
    font-size: 12px;
    display: block;
    margin: 0 auto;
    text-align: center;
    text-transform: lowercase;
    font-style: italic;
}

@media(max-width: 719px) {
	.entry-meta {
		justify-content: left !important;
	}
}

/* WordPress Search Form
--------------------------------------------- */

.site-header-item form.search-form input[type="search"] {
	border-radius: 5px;
}

.wp-block-search.wp-block-search__button-inside div.wp-block-search__inside-wrapper {
	border: 1px solid var(--global-palette5);
	border-radius: 5px; 
}

.wp-block-search input.wp-block-search__input {
	border: none !important;
}

/* Customize Navigation
------------------------------------------------------------------------ */

@media(min-width: 769px) {
    .header-menu-container>.menu:first-of-type>.menu-item a:hover:before {
        -webkit-transform:scaleX(1);
        transform: scaleX(1)
    }

    .header-menu-container>.menu>.menu-item.menu-item-has-children>a:first-of-type:before {
        width: calc(100% - 18px)
    }

    .header-menu-container>.menu:first-of-type>.menu-item>a:before {
        content: "";
        position: absolute;
        top: 10px;
        left: 9px;
        width: calc(100% - 18px);
        height: 2px;
        background-color: #343434;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        transition: all .25s ease
    }
}

/* This will add the sqiggly underline on a focused link in your navigation */
.focus a {
	background: url(images/lemoncella_small-border.svg) bottom center no-repeat;
	background-size: 100%;
}

/* List Styles
--------------------------------------------- */

.single-content ol{
	position: relative;
	list-style-type: none;
}

.single-content ol:not(.is-style-continue-list){
    counter-reset: countlist;
}

.entry-content ol li {
    margin: .5em 0 .5rem;
    counter-increment: countlist;
    position: relative;
    list-style-type: none;
    padding: 0;
    text-indent: 0;
}

.single-content ol li::before {
    content: counter(countlist);
    color: var(--global-palette9);
    font-size: .85rem;
    font-weight: 700;
    position: absolute;
    --size: 28px;
    left: calc(-1 * var(--size) - 10px);
    line-height: var(--size);
    width: var(--size);
    height: var(--size);
    top: 4px;
    background: var(--global-palette1);
    border-radius: 5px;
    text-align: center;
    padding: 0;
}

.single-content ul,
.wp-block-query ul {
	margin-left: 0;
}

.single-content .wprm-recipe ul {
	padding-left: 0;
}

.single-content ul li {
    list-style-type: disc;
}

.single-content  ul li::marker{
    color:  var(--global-palette1);
}

.wp-block-query ul li::marker {
	color: transparent;
}

/* Single Post Link Style
--------------------------------------------- */

.single .entry-content-wrap p a,
.single .entry-content-wrap ul li a,
.single .entry-content-wrap ol li a{
	color: #242424;
	font-weight: 700;
    cursor: pointer;
    background-image: linear-gradient(180deg,transparent 80%,var(--global-palette-highlight) 0);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    -webkit-transition: background-size .4s ease;
    -moz-transition: background-size .4s ease;
    -ms-transition: background-size .4s ease;
    -o-transition: background-size .4s ease;
    transition: background-size .4s ease;
    user-select: none;
}

.single .entry-content-wrap p a:hover,
.single .entry-content-wrap ul li a:hover,
.single .entry-content-wrap ol li a:hover{
    background-image: linear-gradient(180deg,transparent 0%,var(--global-palette-highlight-alt) 0);
}

/* Author Box
--------------------------------------------- */

.entry-author-style-normal,
.entry-author-style-center{
	background: var(--global-palette9);
	border-top: 3px solid var(--global-palette2);
	border-bottom: 0px !important;
	padding: 15px;
	position: relative;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.05);
}

.entry-author-style-center{
	margin-top: 45px !important;
}

.entry-author-avatar img {
	width: 100px;
}

.entry-author-style-normal .entry-author-avatar{
	left: 0px;
	top: -50px;
}

.entry-author-style-normal .entry-author-avatar img{
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.1);
}

.entry-author-style-center .entry-author-avatar{
	margin: -50px auto 0;
}

.entry-author-style-center .entry-author-avatar img{
	border: 4px solid #fff;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.1);
}

.entry-author-style-center .entry-author-avatar:before,
.entry-author-style-center .entry-author-avatar:after{
	display: none !important;
}

.entry-author-style-center .entry-author-profile .entry-author-description {
	max-width: 90% !important;
}

.entry-author-style-normal .entry-author-profile {
	padding-left: 130px;
}

.entry-author-description {
	font-size: 16px;
}

/* Related Posts
--------------------------------------------- */

.entry-related .entry-related-inner-content{
padding: 0;
}


h2.entry-related-title{
font-size: 24px;
}

.entry-related .entry.loop-entry{
	box-shadow: none !important;
}

.entry-related .loop-entry .entry-content-wrap{
	padding: 5px !important;
}

.entry-related-inner-content{
	padding: 0 !important;
}

.entry-related-carousel h3.entry-title{
	font-family: var(--global-body-font-family);
	font-weight: 700 !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	color: #242424;
}

.entry-related .splide .splide__arrow,
.entry-related .splide .splide__arrow:focus {
	background: var(--global-palette2);
	opacity: 100 !important;
	width: 45px;
	height: 45px;
	border-radius: 50%;
}

.entry-related .splide .splide__arrow:hover {
	background: var(--global-palette1);
}

.entry-related .splide__arrow.splide__arrow--prev{
	left: -15px !important;
}

.entry-related .splide__arrow.splide__arrow--next{
	right: -15px !important;
}

@media (max-width: 767px) {
	
	.entry-related .splide__arrow.splide__arrow--prev{
	left: 5px !important;
}

	.entry-related .splide__arrow.splide__arrow--next{
		right: 5px !important;
	}

	.entry-related .carousel-item {
		margin-right: 0 !important;
		width: calc(((100% - 20px) / 1) - 20px) !important;
	}

}

/* Comment Styles
--------------------------------------------- */

.comment-respond{
	background: var(--global-palette2);
	padding: 30px;
	margin-bottom: 25px;
	position: relative;
	border-radius: 5px;
	border: 5px solid #fff;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.05);
}

.comments-title, .comment-reply-title {
	font-size: 30px;
	position: relative;
}

.comment {
	margin-bottom: 20px;
	padding: 30px;
	border-radius: 5px;
}

li.comment.thread-even {
	background: var(--global-palette9);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.05);
}

li.comment.thread-odd {
	background: var(--global-palette7);
	border: 5px solid #fff;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.05);
}

.children {
	margin-right: -30px;
	background: var(--global-palette7);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

li.comment.thread-odd .children {
	background: var(--global-palette9);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.comment-reply-title:before {
	content: '';
	background: url(images/comment.svg) center no-repeat;
	background-size: contain;
	width: 70px;
	height: 70px;
	display: inline-flex;
	vertical-align: middle;
	margin-right: 20px;
}

.comment-form-wprm-rating label {
	font-weight: 700;
	font-size: 20px;
}

.comment-form-wprm-rating {
	display: flex;
	column-gap: 20px;
}

.comment-body {
	border: none !important;
}

div.reply {
	margin-top: -32px;
}

a.comment-reply-link {
	border: none !important;
	background: var(--global-palette4) !important;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	color: var(--global-palette9);
}

a.comment-reply-link:hover {
	background: var(--global-palette6) !important;
	color: var(--global-palette9) !important;
}

/* Page Numbers Styling
--------------------------------------------- */

.pagination .nav-links {
	text-align: center;
}

.wp-block-query-pagination .nav-links {
    justify-content: center;
    flex-wrap: wrap
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
    display: inline-block;
    margin-right: 0.5em;
    border: 2px solid transparent;
    min-width: 2.5em;
    line-height: 2.25em;
    text-align: center;
    text-decoration: none;
    border-radius: .25rem;
    color: inherit
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus,
.wp-block-query-pagination a:active {
    border-color: var(--global-palette-btn-bg)
}

.wp-block-query-pagination .dots {
    min-width: auto;
    border: none
}

.wp-block-query-pagination .current {
    border-color: var(--global-palette-btn-bg);
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn)
}

.wp-block-query-pagination .page-numbers:last-child {
    margin-right: 0
}

.page-numbers {
    margin-top: var(--global-md-spacing);
    justify-content: center;
    flex-wrap: wrap;
    clear: both
}

.page-numbers .post-page-numbers {
    display: inline-block;
    margin-right: 0.2em;
    border: 2px solid transparent;
    min-width: 2.5em;
    line-height: 2.25em;
    text-align: center;
    text-decoration: none;
    border-radius: .25rem;
    color: inherit
}

.page-numbers a:hover,.page-numbers a:focus,.page-numbers a:active {
    border-color: var(--global-palette-btn-bg)
}

.page-numbers .current {
    border-color: var(--global-palette-btn-bg);
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn)
}

.page-numbers .post-page-numbers:first-child {
    margin-left: 0.5em
}

.page-numbers .post-page-numbers:last-child {
    margin-right: 0
}

/* Archives
--------------------------------------------- */

.entry-hero-container-inner {
	padding: 30px 0;
}

/* Sidebar
--------------------------------------------- */

.primary-sidebar {
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.05);
}

/* Mobile Navigation
--------------------------------------------- */

#mobile-drawer .drawer-inner {
	border: 10px solid var(--global-palette6);
}

.popup-drawer .drawer-inner {
	max-width: 100% !important;
	width: 80% !important;;
	margin: 10%;
}


/* Wordpress Block Content
-------------------------------------------------------------- */

/* Menu Block
--------------------------------------------- */

.wp-block-navigation-item {
	width: 100%;
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle,
.wp-block-navigation-item.open-on-hover-click a {
	background: #fff !important;
	border: 1px solid var(--global-palette5) !important;
	border-radius: 5px;
	padding: 12px 40px 12px 20px !important;
    color: #242424 !important;
	letter-spacing: 0;
	text-transform: none;
	width: 100%;
	font-weight: 700;
	font-size: 18px;
}

.wp-block-navigation-item .wp-block-navigation-submenu__toggle {
	transform: scale(1);	
}

.wp-block-navigation__submenu-icon {
	background: var(--global-palette1) !important;
	border-radius: 50%;
	width: 24px !important;
	height: 24px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin-left: -32px !important;
	z-index: 99;
}

.wp-block-navigation__submenu-icon svg {
	width: 12px !important;
	height: 12px !important;
	color: #fff;
}

.wp-block-navigation__submenu-container {
	background-color: var(--global-palette7) !important;
	border: none !important;
	left: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	width: 100% !important;
    box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 5%);
}

.wp-block-navigation-item.open-on-hover-click .wp-block-navigation__submenu-container a {
	background-color: var(--global-palette7) !important;
	border: 0 !important;
	border-radius: 0;
	font-size: 14px;
	padding: 10px 15px;
	z-index: 99;
}

.wp-block-navigation-item.open-on-hover-click .wp-block-navigation__submenu-container a:hover {
	background-color: var(--global-palette8) !important;
}

.wp-block-navigation__submenu-container li {
	font-weight: 700;
	font-size: 16px;
    color: #242424 !important;
	letter-spacing: 0;
	text-transform: none;
	font-size: 14px;
}

.wp-block-navigation__submenu-container li:hover {
	background: var(--global-palette8);
}

.wp-block-navigation__submenu-container li:last-of-type {
	border: none;
}

.wp-block-navigation__submenu-container li a {
	padding: 10px 15px;
}

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

	.wp-block-navigation .wp-block-navigation-item,
	.wp-block-navigation__container{
		position: relative;
		flex-wrap: wrap !important;
	}
	
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container{
		display: Block !important;
		position: relative !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
	}
	
	
	.wp-block-navigation-item .wp-block-navigation-submenu__toggle,
	.wp-block-navigation__submenu-container li a{
		padding-top: 14px;
		padding-bottom: 14px;
	}

}

@media (max-width: 440px) {
	
	.wp-block-navigation.no-wrap {
		--navigation-layout-wrap: wrap;
	}
	
}

/* Kadence Post Grid Block
--------------------------------------------- */

.wp-block-kadence-postgrid .splide .splide__arrow,
.wp-block-kadence-postgrid .splide .splide__arrow:focus {
	background: var(--global-palette2);
	opacity: 100 !important;
	width: 45px;
	height: 45px;
	border-radius: 50%;
}

.wp-block-kadence-postgrid .splide .splide__arrow:hover {
	background: var(--global-palette1);
}

.wp-block-kadence-postgrid .splide__arrow.splide__arrow--prev{
	left: -15px !important;
}

.wp-block-kadence-postgrid .splide__arrow.splide__arrow--next{
	right: -15px !important;
}

/* Kadence Advanced Slider
--------------------------------------------- */

.kt-blocks-carousel .slick-arrow,
.kt-blocks-carousel .slick-arrow:focus {
	background: var(--global-palette2);
	opacity: 100 !important;
	width: 45px !important;
	height: 45px !important;
	border-radius: 50%;
}

.kt-blocks-carousel .slick-arrow:hover {
	background: var(--global-palette1);
}

.kt-blocks-carousel .slick-prev {
	left: -15px !important;
}

.kt-blocks-carousel .slick-next{
	right: -15px !important;
}

/* Kadence Advanced Gallery
--------------------------------------------- */

.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide .splide__arrow,
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide .splide__arrow:focus {
	background: var(--global-palette2);
	opacity: 100 !important;
	width: 45px !important;
	height: 45px !important;
	border-radius: 50%;
	border: none;
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide .splide__arrow:hover {
	background: var(--global-palette1);
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel .slick-prev {
	left: 5px !important;
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel .slick-next{
	right: 5px !important;
}

/* Limoncella Customizations
-------------------------------------------------------------- */

/* More from a category button
--------------------------------------------- */

.more-button .kt-btn-inner-text:before {
	content: 'more';
	font-style: italic;
	font-size: 14px;
	margin-right: 5px;
	vertical-align: middle;
}

.button.more-button {
	background: none;
	border: none;
	color: var(--global-palette3);	
}

.button.more-button:hover:after {
	-webkit-transform:scaleX(1);
	transform: scaleX(1);
}

.button.more-button:after {
	width: calc(100% - 18px);
}

.button.more-button:after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 9px;
	width: calc(100% - 18px);
	height: 2px;
	background-color: var(--global-palette1);
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	transition: all .25s ease;
}

/* Subcategory Menu that displays on Archives automatically
--------------------------------------------- */

.category-submenu-wrapper {
  display: flex;
  align-items: center;
}

.category-submenu-text2 {
	background: url(images/lemoncella_label_navy.svg) center no-repeat;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 4px 10px;
	margin-right: 25px;
}

.category-submenu-text {
	background: url(images/lemoncella_small-border.svg) bottom center no-repeat;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px 0px;
	margin-right: 25px;
	letter-spacing: 1px;
}

.category-submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-submenu li {
  display: inline-block;
}

.category-submenu li a {
	color: var(--global-palette5);
	font-weight: 600;
	margin-right: 20px;
	text-decoration: none;
}

.category-submenu li a:hover {
	color: var(--global-palette1);
}

/* Custom Label Title
--------------------------------------------- */

.label-transform {
	transform: rotate(-3deg);
}

.label-navy {
	background: url(images/lemoncella_label_navy.svg) left no-repeat;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px;
	text-align: center;
	height: 50px;
	width: 250px;
	z-index: 9;
}

.label-black {
	background: url(images/lemoncella_label_black.svg) left no-repeat;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px;
	text-align: center;
	height: 50px;
	width: 250px;
	z-index: 9;
}

.label-gray {
	background: url(images/lemoncella_label_gray.svg) left no-repeat;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px;
	text-align: center;
	height: 50px;
	width: 250px;
	z-index: 9;
}

@media (max-width: 440px) {
	.label-navy,
	.label-black,
	.label-gray {
		background-position: center;
		margin: 0 auto !important;
	}
}

/* Add Flag Design to the left of the HTML block in the header
--------------------------------------------- */

.header-html-inner {
	position: relative;
}

.header-html-inner {
	display: inline-flex;
	column-gap: 10px;
}

.header-html-inner:before {
	content: '';
	background: url(images/lemoncella_side_flag.svg) right no-repeat;
	background-size: contain;
	width: 30px;
	height: 30px;
	display: block;
	z-index: 99;
}

/* This adds the numbered elements to the Top 10 lists
--------------------------------------------- */

.top-10 .post .wp-block-post-title,
.top-10 .post .wp-post-image {
	position: relative;
}

.top-10 .wp-block-post-featured-image {
	margin-bottom: 0;
}

.top-10 .post .wp-block-post-featured-image:after,
.top-10 .post .wp-block-kadence-image:after {
	content: "1";
	display: block;
	position: relative;
	bottom: 20px;
	margin: 0 auto -20px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--global-palette1);
	color: #fff;
	text-align: center;
	line-height: 50px;
	font-weight: bold;
}

.top-10 .post .entry-content-wrap:before {
	content: "1";
	display: block;
	position: relative;
	top: -60px;
	margin: 0 auto -40px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--global-palette1);
	color: #fff;
	text-align: center;
	line-height: 50px;
	font-weight: bold;
}

.top-10 .post .entry-content-wrap {
	min-height: 170px;
	text-align: center;
	padding: 13px !important;
}

.padding .post .entry-content-wrap {
	padding: 13px !important;
}

.top-10 .post .entry-content-wrap .wprm-recipe-rating {
	display: none;
}

.top-10.white .post .wp-block-post-featured-image:after,
.top-10.white .post .entry-content-wrap:before {
	background-color: var(--global-palette9);
	color: var(--global-palette5);
}

.top-10.white.bordered .post .wp-block-post-featured-image:after,
.top-10.white.bordered .post .entry-content-wrap:before {
	border: 1px solid var(--global-palette5);
}

.top-10 .post:nth-child(2) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(2) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(2) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(2) .post .entry-content-wrap:before {
	content: "2";
}

.top-10 .post:nth-child(3) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(3) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(3) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(3) .post .entry-content-wrap:before {
	content: "3";
}

.top-10 .post:nth-child(4) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(4) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(4) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(4) .post .entry-content-wrap:before {
	content: "4";
}

.top-10 .post:nth-child(5) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(5) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(5) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(5) .post .entry-content-wrap:before {
	content: "5";
}

.top-10 .post:nth-child(6) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(6) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(6) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(6) .post .entry-content-wrap:before {
	content: "6";
}

.top-10 .post:nth-child(7) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(7) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(7) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(7) .post .entry-content-wrap:before {
	content: "7";
}

.top-10 .post:nth-child(8) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(8) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(8) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(8) .post .entry-content-wrap:before {
	content: "8";
}

.top-10 .post:nth-child(9) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(9) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(9) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(9) .post .entry-content-wrap:before {
	content: "9";
}

.top-10 .post:nth-child(10) .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(10) .post .wp-block-kadence-image:after,
.top-10 .wp-block-kadence-column:nth-child(10) .post .wp-block-post-featured-image:after,
.top-10 .wp-block-kadence-column:nth-child(10) .post .entry-content-wrap:before {
	content: "10";
}

/* Rotate the hover-rotate class on hover
--------------------------------------------- */

.hover-rotate img {
  	transition: transform .3s ease-in-out;
}

.hover-rotate img:hover {
  	transform: rotate(5deg);
}

/* Disclosure Notice
--------------------------------------------- */

.disclosure {
	background: var(--global-palette8);
	border-radius: 5px;
	font-size: 14px;
	font-style: italic;
	padding: 10px 20px;
	text-align: left;
}

/* Post Layout Customizations for mobile
--------------------------------------------- */

/* This code makes all the posts appear in 2 columns on mobile.  If you want single columns, you can remove the section below */
@media (max-width: 992px) {
	
	/* This code makes all the posts appear in 2 columns on mobile.  If you want single columns, you can remove the section below */
	.archive .grid-cols,
	.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 1rem !important;
		row-gap: 1rem !important;
	}
	
	.wp-block-post-template.is-flex-container li {
		width: 46%;
	}
	
	 /* If you add a class of full-post to any query loop or posts block, it will appear full width on mobile instead of in 2 columns */
	.grid-cols.full-post {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	
	.full-post .wp-block-post-template.is-flex-container li {
		width: 100%;
	}
	
}

@media (max-width: 767px) {
	/* Reduces the space around boxed in content on mobile so more texts shows without scrolling so much */
	.loop-entry .entry-content-wrap {
	    padding: 0.5rem !important;
	}
}

/* Vertical Align Posts to middle
--------------------------------------------- */

.grid-lg-col-1.item-image-style-beside.half article.loop-entry.has-post-thumbnail:not(.kb-post-no-image),
.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image),
.kt-feat-image-align-left {
	align-items: center;
}

@media screen and (min-width: 768px) {
	.grid-lg-col-1.item-image-style-beside.half article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	    align-items: center;
	}
}

/* Add video icon on top of images with a post tagged with "video"
--------------------------------------------- */

.tag-video .kadence-post-image-inner-wrap,
.tag-video .post-thumbnail-inner {
  position: relative;
}

.tag-video .kadence-post-image-inner-wrap:before,
.tag-video .post-thumbnail-inner:before {
  content: '';
  background: url(images/lemoncella_play.svg) center no-repeat;
  background-size: contain;
  width: 60px;
  height: 60px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
    opacity: .6;
    transition: .5s;
}

.kt-blocks-post-grid-item.tag-video:hover .kadence-post-image-inner-wrap:before,
.kb-posts .tag-video:hover .post-thumbnail-inner:before {
  opacity: 100;
}

/* Transform images left or right
--------------------------------------------- */

/* Add a class of transform-right to your element and it will rotate 5 degrees to the right */
.transform-right{
	position: relative;
	transform: rotate(5deg);
}

/* Add a class of transform-left to your element and it will rotate 5 degrees to the left */
.transform-left {
	position: relative;
	transform: rotate(-5deg);
}

/* Add the decorative image that appears in the top right of the optin image
--------------------------------------------- */

.lemon-optin-image:before{
  content: '';
  background: url(images/lemoncella_lemon.svg) center no-repeat;
  background-size: contain;
  width: 150px;
  height: 150px;
  display: block;
  position: absolute;
  top: -60px;
  left: -80px;
  z-index: 99;
}

.floral-optin-image:before{
  content: '';
  background: url(images/lemoncella_bouquet.svg) center no-repeat;
  background-size: contain;
  width: 150px;
  height: 150px;
  display: block;
  position: absolute;
  top: -60px;
  left: -80px;
  z-index: 99;
}

/* Add the decorative image that appears in the bottom right of the footer
--------------------------------------------- */

.lemon-footer-image:before{
  content: '';
  background: url(images/lemoncella_lemon.svg) center no-repeat;
  background-size: contain;
  width: 150px;
  height: 150px;
  display: block;
  position: absolute;
  bottom: -75px;
  right: 0px;
  z-index: 99;
}


.floral-footer-image:before{
  content: '';
  background: url(images/lemoncella_bouquet.svg) center no-repeat;
  background-size: contain;
  width: 150px;
  height: 150px;
  display: block;
  position: absolute;
  bottom: -10px;
  right: -65px;
  z-index: 99;
}

/* Custom Block Styles
--------------------------------------------- */

.no-stars .wprm-recipe-rating {
	display: none;
}

.round-img img {
	border: 5px solid #fff;
	border-radius: 100%;
}
