/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: bcat 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
-------------------------------------------------------------- */
.hero-container header a:hover, .hero-container header a:focus, .hero-container header a:active {color:var(--global-palette8)}

#mc-embedded-subscribe-form input[type="email"] {border-radius: 10px;}
.front_latest_post  .entry.loop-entry{border:none;     box-shadow: unset;}
.front_latest_post .entry.loop-entry { border-radius: unset;}
.front_latest_post .entry.loop-entry:hover {box-shadow: unset;}
form#mc-embedded-subscribe-form .policy{text-align: left; font-size: 16px; }
#mc-embedded-subscribe-form input::placeholder {  color: var(--global-palette4);}
#mc_embed_signup h2 { margin: 0;     text-align: center;}
#mc_embed_signup p {text-align: center; margin: 7px 0 26px; }
#mc_embed_signup { padding: 0 10px;}
.transparent-header .site  #masthead { z-index: 1000;}
/*widget*/
a, .site .widget-area a:not(.button):hover {text-decoration: none;}
.site .widget-area a.wp-block-button__link{color:var(--global-palette8);}
.site .widget-area a:not(.button):hover, .site  a, .site  a:hover{text-decoration: none;}
.site .widget-area a.wp-block-button__link:not(.button):hover {color:var(--global-palette8); text-decoration: none;}
.widget.widget_block {margin-bottom: 1rem;}
.widget.widget_block h3{line-height:1;}
.wines-widget-area {padding: 60px 0 0 0;}

/*Single and archive*/
.pager_lm.loading{background:url(./images/preloader.gif) no-repeat center;text-align:center;    background-size: 100px 100px;}
.pager_lm.loading{min-height:160px;}
.pager_lm:not(.loading){background:none}
.entry.loop-entry {border: 2px solid var(--global-palette7);}
.archive-description {color:var(--global-palette8);}
.site #archive-container.produkter  .post-thumbnail .post-thumbnail-inner,
.loop-entry.type-produkter .post-thumbnail .post-thumbnail-inner
 {
    padding: 10px 0;
}
.-archive-hero-section .entry-hero-container-inner {
    background-image: url(/wpsysfiles/wp-content/uploads/2021/12/concealed-wines-vin-importor-restaurang-sverige-prislista.jpg); }
h1.page-title.archive-title {color: var(--global-palette9);}
nav.kadence-breadcrumbs {
    color: var(--global-palette6);}

a.button.type-transparent {
    background: transparent;
    color: #000;
    border: 2px solid var(--global-palette7);}
 .site .produkter .post-thumbnail img, .site .produkter  .post-thumbnail img{
    -o-object-fit: contain;
    object-fit: contain;
}
.type-post.entry.single-entry, .type-producenter.entry.single-entry, 
.type-regioner.entry.single-entry, .type-page.entry.single-entry{border: 2px solid #f5f5f5;}
.home .type-page.entry.single-entry{border:none;}
	
.single .entry-content-wrap-flex {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
	background: #fff;
	-webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.single-produkter .entry.single-entry {
    box-shadow: none;
}

.single-content h2.no-top-margin {margin-top: 0;}
.single-produkter .post-thumbnail-inner {padding: 2rem 0;}
h2.entry-related-title  {    font-size: 23px; text-align: center;}
h3.belong_wines {margin-bottom: 1rem; text-align:center;}
.single h2.entry-related-title {margin-bottom: 1rem;}

.single .site .produkter .article-post-thumbnail {
    height: auto;
    padding-bottom: unset!important;
}
.single .site .produkter .article-post-thumbnail .post-thumbnail-inner {
    position: relative;}


.single  .product-description {padding: 20px 0 0 0;}
.produkter .entry.single-entry, .single .site .produkter .article-post-thumbnail {width: 50%;}
.produkter .entry-content.single-content, .loop-entry.type-produkter,
.loop-entry.type-produkter .entry-content-wrap,
.loop-entry.type-produkter .entry-summary{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
	/*height: 100%;*/
}

.fact-box, .single .entry-content-wrap-flex,
.code-price, .price-pdf_button   {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;	
}
.fact-box {padding: 0 0 15px 0;}
.fact-box  .meta__title, .fact-box  .meta__description {word-break: keep-all;display: block; padding: 0 10px 0 0;}
.fact-box  .wine-meta{
   display: block;
    width: 50%;
    padding: 10px 0;}
.clear-filter {color: var(--global-palette1);cursor: pointer;}
a.fullwidth {display:block;}
.more-link-wrap a.fullwidth, .type-produkter p.more-link-wrap, .type-produkter .entry-summary  {margin:0;}
.loop-entry.type-produkter .entry-summary  .tag-line,
.loop-entry.type-produkter .entry-header{    
     flex-grow: 1;
	 margin-bottom: 0;
}
.loop-entry.type-produkter .entry-summary  .tag-line{display: none;}
.loop-entry.type-produkter .entry-content-wrap{height: 100%;}
.pager_wrapper.pager_lm {
    padding: 3rem 0 1rem;
    text-align: center;
}
a.pager_load_more {
    padding: 0.55em 1em;
}
.meta__title {
    padding: 0 10px 0 0;}
.site a.post-thumbnail:hover  img{
transform: scale(2);
}
.site a.post-thumbnail  img{
transition:  transform 2s; }
.entry.loop-entry {
transition:  box-shadow 1s;
}
.entry.loop-entry:hover{
    box-shadow: 0px 15px 15px 4px rgb(0 0 0 / 12%);
}
.code-price, .price-pdf_button {
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
	 -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;	
}
.code-price {padding: 15px 0;}
 .price-pdf_button {padding: 15px 0 25px;}
 .gmptp_button a svg {padding: 0 10px 0 0;}
.wine-meta.wine-product-code .meta__description.bold , .wine-meta.wine-price .meta__description, .wine-meta .meta__title.title-bold{
    font-weight: bold;
}
.single-content .wine-meta.info{
    border: 2px solid var(--global-palette7);
    border-radius: 10px;
    padding: 1rem;
	display: block;
   }
.single-content .wine-meta.info:not(:last-child){ margin: 0 0 2rem;}	
.wine-meta.info a.more-info {display: block; padding: 20px 0 0;}
.wine-meta.info .meta__title{
     font-size: 22px; 
     display: block;
     font-family: var(--global-heading-font-family);}
.wine-meta.wine-price .meta__description {
    font-size: 23px;
	font-family: var(--global-heading-font-family);}
.code-vol .wine-product-code	{
    padding: 0 20px 0 0;
}
.more-link-wrap {
    text-align: center;
}
h2.entry-title {line-height: 1;}
.wp-block-button__link {margin: 30px 0 0 0;}

#cookie-notice .cn-button.bootstrap {
    background: #b59f6b;}
#comments  {width: 100%;}

/* Similar Posts carousel */
#tns1 > .tns-item {padding: 10px 20px 30px 20px;}	
#tns1-mw { padding-right: 20px;}
/* Post type menu in title zone*/
ul.cat-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
li.cat-item {padding:0 10px;}
ul.cat-list>li:not(:last-child) {border-right: 1px solid var(--global-palette9);}
ul.cat-list li.cat-item.current-cat a{color: var(--global-palette7);}
ul.cat-list li.cat-item  a {font-weight:700;color: var(--global-palette9);}
ul.cat-list li.cat-item  a:hover{color: var(--global-palette8);}
li.cat-item ul.children {
     display: none; 
    list-style: none;
    position: absolute;
    margin: 0;
    text-align: left;
    background: rgb(0 0 0 / 34%);
    padding: 10px 0;
	z-index:100;
}
li.cat-item:hover ul.children {
     display: block;
}

.theme-shortcode .entry-header {
    margin-bottom: 0;
}
.site .theme-shortcode  .post-thumbnail {
    padding-bottom: 46.67%;}
/*carousel*/

.product-carousel, .entry-related-carousel.grid-cols.tns-slider, .tns-horizontal.tns-subpixel>.tns-item.carousel-item {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;}
.product-carousel .entry.loop-entry, .entry-related-carousel .entry.loop-entry {width:100%;}
/*Post type panel*/
a.prod-type, a.producers-country {
   padding: 10px;   
   color: var(--global-palette4);
   font-weight: bold;
}	
a.prod-type:hover, a.producers-country:hover{ color: var(--global-palette1)}
a.prod-type.all:hover, a.producers-country.all:hover{ color: var(--global-palette4)}
 .producers-countries.view-all, .producers-countries-wrap .items-wrap{max-width: 354px;}
.prod-types-wrap, .producers-countries-wrap {position:relative;}
a.prod-types.view-all, a.producers-countries.view-all {    
   border: 1px solid var(--global-palette7);
    border-radius: 10px;
    box-shadow: 0px 1px 1px 1px rgb(0 0 0 / 18%);
    padding: 9px 15% 9px 10px;
    position: relative;
	color: var(--global-palette4);
}
a.producers-countries.view-all { display: block;}
a.producers-country {display: block;}
.producers-countries-wrap .items-wrap{display:none;}
.countries-panel{margin: 0 0 2rem;}
.producers-countries-wrap .items-wrap {
    position: absolute;
    z-index: 101;
    width: 100%;
    background: #fff;
    padding: 10px;
    border: 1px solid  var(--global-palette7);
    border-radius: 0 0 10px 10px;
    left: 0;
    top:100%;
    box-shadow: 0px 15px 15px 4px rgb(0 0 0 / 12%);}
.dropdown-types-toggle {
    position: absolute;
    right: 5px;
	top: 8px;}
.dropdown-types-toggle .kadence-svg-iconset svg	{
    height: 1.4em;
    width: 1.4em;
}
/*Footer*/
footer#colophon {    padding: 70px 0 0 0;}
.flex-boxes {
    padding: 3px 0;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.col1 {width: 81px;}
.col2 {width: 189px;}
.site-middle-footer-wrap .site-footer-row-container-inner .site-container {padding:0;}

/*Responsive css*/
@media (min-width: 576px) and (max-width: 1024px) {
.prod-types-wrap, .producers-countries-wrap{width: 48%;}
a.prod-types.view-all, .items-wrap{max-width: 354px;}
}
@media (min-width: 576px) {
#mc_embed_signup{
    max-width: 600px;
    margin: 0 auto;}
#mc-embedded-subscribe-form input[type="email"] {
	margin: 0 10px 0 0;
	}
#mc_embed_signup h2 {font-size: 30px;}
#mc_embed_signup p{font-size: 20px;}
a.pager_load_more {padding: 0.4em 5em;}

}
@media (min-width: 1025px) {
.prod-types-wrap {    padding: 10px 0;}
aside#secondary {margin-top: -40px;}
a.prod-type.all{background: rgb(247 153 66 / 14%); color: var(--global-palette1);border-radius: 10px;}
a.prod-types.view-all{display:none;}
#mc_embed_signup h2 {font-size: 38px;}
}
@media (max-width: 1024px) {
.mobile-hide {display:none!important;}
.entry-related-inner .entry-related-inner-content {
    padding-top: 0;
    padding-bottom: 0;}
a.prod-types.view-all {
    display: block;}
.prod-types-wrap .items-wrap {
    position: absolute;
    z-index: 101;
    width: 100%;
    background: #fff;
    padding: 10px;
    border: 1px solid  var(--global-palette7);
    border-radius: 0 0 10px 10px;
    left: 0;
    top: 100%;
    box-shadow: 0px 15px 15px 4px rgb(0 0 0 / 12%);
	display:none;
}
.items-wrap .prod-type, .items-wrap  .producers-country{display: block;}
}


@media screen and (min-width: 720px){
.single .site .produkter .article-post-thumbnail {
    align-self: flex-start;
    top: 0;
    position: sticky;
}
.entry-content-wrap.produkter {padding: 0 2rem 0 4rem;}
.single .site .produkter .article-post-thumbnail .post-thumbnail-inner {
    margin: 0 2rem 0 0;}
}
@media screen and (max-width: 719px) {
.single-produkter.content-style-boxed .content-bg:not(.loop-entry){
   margin-left: 0; 
   margin-right: 0;}
  }
@media (min-width: 768px)  {
.single .site .produkter .article-post-thumbnail img { height: 640px;}	
.grid-lg-col-1.item-image-style-beside.front_latest_post article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
    grid-template-columns: 1fr 1fr;
}
.front_latest_post .entry-content-wrap {
    grid-row: 1;
    grid-column: 1;}

}
@media (max-width: 767px) {
.single .site .produkter .article-post-thumbnail img {
    max-height: 300px;
     height: auto;}
.single-produkter .entry-content-wrap {
    padding: 5px;
}

.lable_block .lable_block_wrapper {
    display: block;
}

.lable_block .lable_block_wrapper>div {
    margin: 10px !important;
}
}
@media (max-width: 575.98px) {
.footer-widget-area.content-align-right {
    text-align: left!important;
}
.footer-navigation .menu{  flex-direction: column;}
.footer-widget-area.content-align-right {
    text-align: left;
}
a.pager_load_more  {display:block;}
.meta__title {
    padding: 0 10px 0 0;
    font-weight: bold;}
.cats{font-size:20px;padding: 0 0 10px;}
.prod-types-wrap, .producers-countries-wrap {width: 100%;}
#product-ajax-filer { margin: 10px 0 0 ;}
#mc_embed_signup h2 {font-size: 28px;}
}	
@media (max-width: 480px) {
#mc-embedded-subscribe-form input[type="email"] {
    margin: 0 0 3rem;
}
form#mc-embedded-subscribe-form {position:relative;}
form#mc-embedded-subscribe-form .policy{
    position: absolute;
    top: 46px;
    left: 5px;
    line-height: 1;
}
}

@media (max-width: 1400px) {
.food_box .food_box_wrapper {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.food_box .food_box_wrapper>div {
    width: 40%;
    display: inline-block;
}
}

.wine-tag-line {
    margin-bottom: 20px;
    font-style: italic;
}

.producenter .post-thumbnail-inner img {
    max-height: 350px;
}

.text-center {
    text-align: center;
}

.food_box_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.food_box_wrapper .food_img img {
    margin: 0 auto;
    max-height: 35px;
}

.food_box_wrapper>div {
    flex: 1 1 20%;
    text-align: center;
    margin: 5px;
    background: #F8F6F1;
    border-radius: 10px;
    padding: 10px;
    width: 25%;
    max-width: 25%;
}

.food_box_wrapper .food_title {
    font-size: 14px;
    line-height: 1.2em;
    color: var(--global-palette4);
    padding-top: 10px;
}

.food_box_wrapper .food_title:before {
    content: '';
    display: block;
    border-bottom: solid 1px #eee;
    border-image-source: linear-gradient(90deg, rgb(255 255 255/0%) 0, var(--global-palette1) 55%, var(--global-palette1) 55%, rgb(255 255 255/0%) 100%);
    border-image-slice: 1;
    margin-bottom: 10px;
}

.lable_block_wrapper {
    display: flex;
    align-items: center;
}

.lable_block_wrapper .icon_box1_item {
    display: flex;
    align-items: center;
    flex: 1;
    text-align: center;
    background: #F5F5F5;
    padding: 10px;
    margin:10px;
    border-radius: 5px;
}

.lable_block_wrapper .icon_box1_item:first-child {
    margin-left: 0;
}

.lable_block_wrapper .icon_box1_item:last-child {
    margin-right: 0;
}

.icon_box1_item.organic_item:before {
    content: '';
    display: inline-block;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/product_icon/Eko.svg) center top no-repeat;
    width: 35px;
    height: 30px;
    background-size:contain;
    vertical-align: bottom;
}

.icon_box1_item.vegan_item:before {
    content: '';
    display: inline-block;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/product_icon/vegan.svg) center top no-repeat;
    background-size: contain;
    width: 35px;
    height: 30px;
    vertical-align: bottom;
}

.icon_box1_item.bio_item:before {
    content: '';
    display: inline-block;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/product_icon/Sustainable.svg) center top no-repeat;
    background-size: contain;
    width: 35px;
    height: 30px;
    vertical-align: bottom;
}

.icon_box1_item.biodynamic_item:before {
    content: '';
    display: inline-block;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/product_icon/biodynamic.svg) center top no-repeat;
    background-size: contain;
    width: 40px;
    height: 30px;
    margin-right:5px;
    vertical-align: bottom;
}

.product_thumbnail_wrapper {
    position: relative;
}

.product_thumbnail_wrapper .lable_block {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
}

.product_thumbnail_wrapper .lable_block_wrapper {
    flex-direction: column;
    align-items: baseline;
}

.product_thumbnail_wrapper .icon_box1_item {
    margin: 5px;
    position: relative;
}

.product_thumbnail_wrapper .icon_box1_item:hover {
    cursor:pointer;
}

.product_thumbnail_wrapper .icon_box1_item span {
    display: none;
    position: absolute;
    left: 100%;
    width: max-content;
    background: #F5F5F5;
    padding: 10px;
    border-radius: 5px;
    height: 50px;
    margin-left: -5px;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .entry-hero-container-inner .entry-header {
      min-height: unset !important; /* or 0, depending on your layout */
    }
  }