/*

Theme Name: X – Child Theme Combined
Theme URI: https://theme.co/x/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* Logo fix */
.masthead .x-brand.img {
    width: 240px;
    margin-top: 10px;
}

/* Topbar */
.x-topbar {
    position: relative;
    min-height: 0;
    border-bottom: 1px solid #f2f2f2;
    background-color:  #dddddd !important;
	color: white;
	text-align: center;
	padding: 10px 20px !important;
}
.x-topbar .p-info {
    float: none !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: #ec6624 !important;
}


/* Contact Button in Primary Nav */
li.nav-button { background-color:#2f3844!important; }
li.nav-button > a { color:white !important; }
li.nav-button:hover { background-color:#e0650c!important; }

/* Remove category header */
article.post .entry-featured { display: none}
body.archive header.x-header-landmark { display: none; }
.woocommerce-loop-category__title mark { display: none; }

/* Category columns */
ul.products.columns-3, ul.products.columns-4 { display: flex; flex-wrap: wrap; }

/* Woo Product Page */
/* Woo Gallery settings */
.flex-control-nav.flex-control-thumbs img { height: auto; }
.flex-control-nav { position: unset; }
.flex-control-nav.flex-control-thumbs li { background-color: transparent; margin-top: 0.25rem; box-shadow: none;  }
/* Woo Gallery Hide Previous/Next */
.flex-direction-nav { display: none; }

.stock { font-weight: bold; text-align: left; }
.stock.in-stock { color: green; }
.stock.out-of-stock { color: red; }

/* Woo Page Checkout Form */
.woocommerce-variation-add-to-cart, .summary .cart { display: flex; align-items: center; justify-content: left; column-gap: 0.5rem; }
.woocommerce-variation-add-to-cart .quantity,  .summary .cart .quantity { margin-bottom: 0; }
.woocommerce-variation-add-to-cart .quantity input,  .summary .cart .quantity input { height: 3em !important; }

/* Order fields */
.woocommerce-ordering select, .woocommerce-result-count, .aws-container .aws-search-field, .wc-block-product-categories__dropdown select { font-size: 16px; }

/* Woo Checkout Item Variation */
dl.variation { display: flex; column-gap: 0.3rem; align-items: center; } 
dl.variation dd { padding-right: 0.3rem; } 
.cart_item .product-name { width: 70%; }
.woo-variation-swatches .variable-items-wrapper { justify-content: center; }

/* Widget font */
.widget_best_sellers ul li a, .widget_shopping_cart ul li a, .widget_products ul li a, .widget_featured_products ul li a, .widget_onsale ul li a, .widget_random_products ul li a, .widget_recently_viewed_products ul li a, .widget_recent_products ul li a, .widget_recent_reviews ul li a, .widget_top_rated_products ul li a { font-size: 110%; }

/* Widget heading text replace */
div.wcpf-price-slider span.text, div.wcpf-checkbox span.text {
    visibility: hidden;
    position: relative;
}
div.wcpf-price-slider span.text:after, div.wcpf-checkbox span.text:after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}

div.wcpf-price-slider span.text:after {content: "Pris";}

div.wcpf-checkbox span.text:after { content: "Kategorier"; }


/* Widget category */
.wc-block-product-categories__dropdown select { margin: 0; }

.x-navbar .menu-item:hover .sub-menu .menu-item .sub-menu {
	display: none !important;
}

.x-navbar .menu-item:hover .sub-menu .menu-item:hover .sub-menu {
	display: block !important;
}

.woocommerce-info {
	font-size: 1em;
    font-weight: bold;
}

@media screen and (max-width: 979px) {
	body.woocommerce #menu-item-23130 {
		display: block!important;
   }
}
p.meta-single .author {display:none;}
.meta-single p.meta.date {
    margin-left: 0;
}

.hs-cta-wrapper .hs-cta-node a.cta_button:hover {
  color: #000000!important;
}
