/*!
Theme Name: Kadence Child
Template: kadence
Author: Takrim
Description: A custom theme for staging.veganuniverseofficial.co.uk
Version: 1.5
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
-------------------------------------------------------------- */

/*------------------------------
    SIDE BAR SCROLLING MENU
------------------------------*/
#shop_sidebar_shortcode_menu {
    margin: 0;
}

#shop_sidebar_shortcode_menu * {
    margin: 0;
    padding: 0;
}

#shop_sidebar_shortcode_menu ul {
    margin: 0;
    padding: 0 0 0 15px;
    font-size: 14px;
    line-height: 20px;
}

#shop_sidebar_shortcode_menu li {
    list-style-type: none;
}

#shop_sidebar_shortcode_menu ul ul {
    display: none;
    padding: 0 0 0 12px;
}

#shop_sidebar_shortcode_menu li.active>ul {
    display: block;
}

/* first level menu item */
#shop_sidebar_shortcode_menu > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--global-palette3, #1A202C);
    background: #ffffff;
    border-color: #f2f2f2 #f2f2f2 #f2f2f2 #f2f2f2;
    border-radius: 0px 0px 0px 0px ;
    border-width: 0px 0px 0px 0px ;
    padding: 6px 0;
	white-space: nowrap
}
#shop_sidebar_shortcode_menu > ul > li > a:hover {
    color: var(--global-palette1, #3182CE);
}

#shop_sidebar_shortcode_menu > ul > li > a > span {
	white-space: normal
}
/* second level menu item */
#shop_sidebar_shortcode_menu ul ul li a {
    color: var(--global-palette3, #1A202C);
    text-decoration: none;
    display: block;
    transition: all 0.15s;
    position: relative;
    padding: 6px 0;
}

#shop_sidebar_shortcode_menu ul ul li a:hover {
    color: var(--global-palette1, #3182CE);
}

/* third level menu item */
/* #shop_sidebar_shortcode_menu ul ul ul {
    margin-left: 15px;
} */

/* arrows after closed / open menu items that have children */
#shop_sidebar_shortcode_menu a:not(:only-child):after {
    content: "";
    display: inline-block;
    position: relative;
    left: 8px;
    top: -2px;
    width: 8px;
    height: 8px;
    border-left: 1px solid var(--global-palette3, #1A202C);
    border-bottom: 1px solid var(--global-palette3, #1A202C);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

#shop_sidebar_shortcode_menu .active>a:not(:only-child):after {
    content: "";
    display: inline-block;
    position: relative;
    left: 8px;
    top: 2px;
    width: 8px;
    height: 8px;
    border-left: 1px solid var(--global-palette3, #1A202C);
    border-bottom: 1px solid var(--global-palette3, #1A202C);
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
@media screen and (max-width: 1024px) {
    #main-header {
        display: none;
    }
}
/*------------------------------
    MOBILE MENU
------------------------------*/
.popup-drawer .drawer-inner {
    background: #ffffff;
    color: #000;
}

.mobile-navigation ul li > a, .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
    color: #000;
}

/* .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap, .mobile-navigation ul li:not(.menu-item-has-children) a {
    border-bottom: 1px solid rgb(151 151 151 / 10%);
} */

.mobile-navigation ul li .span-has-child {
    display: block;
    color: #000;
    padding: 1em  0.5em;
    text-decoration: none;
}
.mobile-navigation a {
    width: auto;
}
.mobile-navigation ul li:not(.menu-item-has-children) .span-has-child {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/*------------------------------
    MOBILE SEARCH 
------------------------------*/
#search-drawer .drawer-inner {
    background: #ffffff;
    color: #000000;
}
#search-drawer .drawer-inner .drawer-content {
    align-items: start;
    padding: 3em 2em;
}
.search-toggle-open-container .search-toggle-open {
    background: #ffffff;
    color: #000000;
}
#search-drawer .drawer-inner input.search-field:focus {
    color: #000000;
    box-shadow: none;
}
#search-drawer .drawer-inner .search-submit[type="submit"]:hover~.kadence-search-icon-wrap {
    color: #000000;
}
/*------------------------------
    NAVIGATION SEARCH BAR
------------------------------*/
#nav-search-bar-form {
    position: relative;
}
#nav-search-bar-form .search-input {
    border: 1px solid var(--global-palette1);
    padding: 10px 55px 10px 10px;
    height: 40px;
    border-radius: 4px;
    font-size: 17px;
    width: 325px;
}
#nav-search-bar-form .search-submit {
    background: #049f82;
    font-size: 22px;
    padding: 0;
    height: 40px;
    width: 45px;
    line-height: 1;
    vertical-align: middle;
    margin-left: -6px;
    vertical-align: top;
    position: absolute;
    right: 0;
    top: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
#nav-search-bar-form .search-submit > span {
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

/*------------------------------
    MISC
------------------------------*/
#wrap_404 {
    color: #6C7778;
    margin: 0 0;
    text-align: center;
	overflow: hidden;
}

#header_404, #harry_404 {
    margin: auto;
    text-align: left;
}
#header_404 {
    float: left;
}
#meet_404 {
    float: right;
}
#header_404 a {
    text-decoration: none;
}

#large_404, #med_404, #small_404 {
    line-height: 1.2;
    margin: 10px 0;
}

#large_404{
    font-size: 5rem;
}

#med_404 {
    font-size: 3rem;
}

#small_404, #harry_404 {
    font-size: 1.5rem;
}

#image_404 {
    display: inline-block;
    width: 300px;
    margin: 25px 0 0;
}

/* NEW HOMEPAGE */
.tk-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.sticky-header {
/*     position: sticky;
    top: var(--global--admin-bar--height, 0);
    z-index: 99;
    background: white;
    border-bottom: 1px solid #e6e6e6; */
}
.home-header .wp-block-search__inside-wrapper {
    border-radius: 25px;
    background: #F5F5F5;
    outline: none;
}
.home-header .wp-block-search__inside-wrapper:after {
    content: "";
  	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
	width: 50px;
	height: 50px;

}
.home-header .wp-block-search__input {
  border-radius: 0;
  height: 50px;
  background: none;
  border: none;
  padding-left: 25px;
}
.home-menu {
	font-size: 19px;
    font-weight: bold;
}
.home-menu > li:not(:last-of-type):after{
    content: "";
    height: 8px;
    width: 8px;
    background-color: #1F9B3B;
    border-radius: 50%;
    display: inline-block;
    margin: 0 14px 0 20px;
}

.home-menu li a{
    white-space: nowrap;
}
.home-menu li a:hover{
    color:#1F9B3B!important;
}
.home-menu ..wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child){
	border-bottom: 1px solid #efefef;
}
.home-menu .menu-toggle-open, .home-menu .menu-toggle-open:hover {
    color: #222222!important;
}
.home-menu .tk-mobile-menu {
    align-items: flex-end;
}
.home-slider .slide-content > div{
  justify-content: center;
  align-items: center!important;
}
.home-slider.wp-block-eedee-block-gutenslider .eedee-gutenslider-nav {
  background-color: #ffffff!important;
  border: 1px solid #dddddd;
  border-radius: 30px;
  padding: 6px;
  box-sizing: content-box;
  margin: 0 20px;
}

.home-six-image .kt-inside-inner-col:hover:before {
    opacity: 0.2;
}
.home-six-image h3, .home-six-image h3 a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-middle-row:before,
.home-middle-row:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}


.home-middle-row:before {
  background-image: url('../../uploads/2024/02/save-money-2.png');
  background-position: left bottom;
  background-size: 660px;
}

.home-middle-row:after {
  top: -13%;
  right: 0;
  background-image: url(../../uploads/2024/02/vegan.png);
  background-position: right top;
  background-size: 280px;
}
.carousel-no-pag .splide__pagination {
	display: none;
}
.tk-carousel .kb-gal-image-radius {
	border: 2px dashed #1F9B3B;
}
.home-popular-items .kb-advanced-image-link {
    display: block;
    background: #1f9b3b;
	border-radius: 6px;
}
.home-popular-items .kb-advanced-image-link:hover img {
    opacity: 0.75;
}

.home-popular-items .kb-advanced-image-link img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.home-posts a.post-more-link {
	color: #1F9B3B;
}

.rounded-blog-image .entry-header {
    height: 56px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
}

.rounded-blog-image .entry-summary {
    height: 146px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
}
.rounded-blog-image img{
	border-radius: 6px;
}
.rounded-blog-image a.post-more-link {
	color: #1F9B3B;
}

.home .scriptlesssocialsharing {
    margin: 18px 32px;
}

/* Before Footer Area */
#before_footer {
   /* border-top: 1px solid #004225;*/
    padding-top: 3rem;
}

.tk-sidebar.is-affixed {
    margin-top: -111px;
}

.tk-sidebar.is-affixed > div{
    padding-bottom: 30px;
}

#before_footer, .scriptlesssocialsharing {
    margin-left: 15.6%;
}

/* Review Bar */
#masthead {
	padding-bottom: 5px;
}
#review_bar_link, #review_bar_link:hover {
    color: inherit;
    text-decoration: none;
}

#review_bar {
    background: #ffffff;
    padding: 15px;
}

#review_bar, #review_bar .glsr-summary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 25px;
}
.glsr-summary .glsr-star {
    margin: 0 1px;
    background-color: #cccccc;
}
.glsr-summary .glsr-bar-background-percent {
	color: #049f82!important;
}
.glsr-form-wrap {
    background: #eaeaea;
    padding: 30px;
    border-radius: 6px;
}
@media screen and (min-width: 996px) {
	.home-middle-row .wp-block-kadence-column .kt-inside-inner-col {
		padding-left: 780px;
	}
}
@media screen and (max-width: 1024px){
	.header-middle-mobile .home-header > div {
  		grid-template-columns: 75% 20%!important;
	}
	.header-middle-mobile .home-header #mobile-toggle {
		margin: 0 auto;
	}
}

@media screen and (max-width: 768px) {
    #header_404, #meet_404{
        float: left;
    }
	.carousel-no-pag .splide__arrow {
		display: none;
	}
}
@media screen and (max-width: 480px) {
	.home-menu {
		z-index: 9;
	}
	.home-slider h2.wp-block-heading {
		font-size: 42px!important;
	}

	.home-slider .wp-block-column {
		z-index: 10;
	}

	.home-slider .wp-block-column:last-of-type {
/* 		position: absolute;
		z-index: 0;
		right: -100px;
		left: 58%;
		bottom: 10px; */
		margin: 10px;
	}

	.home-slider .eedee-gutenslider-nav {
		display: none!important;
	}
	
	.home-middle-row:after {
		top: -15%;
		background-position: right top;
		background-size: 130px;
	}
	.home-middle-row:before {
		background-position: -220px bottom;
		background-size: 420px;
	}
	
	/* Review Bar Mobile */
	#review_bar .glsr-summary {
		flex-direction: column;
		gap: 0;
	}
}