/*

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: 160px !important;
    margin: 5px;
}
@media screen and (max-width: 979px) {
	.masthead .x-brand.img { width: 160px; }
}


/* Theme Update Override */

/* Headings */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-weight: 600 !important; margin-top: .5em;  }
h1, .h1, h1.h-custom-headline { font-size: 240%; margin-top: .5em; }
h2, .h2 { font-size: 200%; }
h3, .h3 { font-size: 160%; }
h4, .h4 { font-size: 140%; }
h6, .h6 { font-size: 120%; }
h6, .h6 { font-size: 100%; }


/* Breadcrumb */
.x-breadcrumb-wrap { font-size: 12px; }

/* Buttons */
body.page .x-btn.x-btn-regular, body.page .x-btn-block, body.page .x-btn.x-btn-large {
    width: fit-content !important;
    margin: 0 auto 0.85em auto !important;
    display: block !important;
    color: white !important;
}
.x-btn, .button, [type="submit"] { text-transform: uppercase; }


/* Masthead */
body .flex-control-nav.flex-control-thumbs img { max-width: 100px; }
body .masthead .x-brand.img { width: 180px; }



/* === HEADER & NAVIGATION === */

/* Topbar */
div.x-topbar {
    position: relative;
    min-height: 0;
    border-bottom: none;
    background-color: #ec6624 !important;
	text-align: center;
	padding: 5px 20px !important;
	display: flex !important;
	margin-bottom: 5px;
}
.x-topbar .p-info {
    float: none !important;
    padding: 2px !important;
    font-size: 0.7em !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
	color: black !important;
	margin: 0 !important;
}
.x-topbar .p-info a {
	color: white !important;
	display: inline-block;
	margin: 0 10px;
	padding: 4px 14px;
	background: #2f3844;
	border: none !important;
}
.x-topbar .p-info a:hover {
	background: black!important;
}
.x-topbar .x-social-global { display: none; }

/* Ubermenu Adjustments */
body .ubermenu-main .ubermenu-nav .ubermenu-item.ubermenu-item-level-0 > .ubermenu-target { padding: 15px; }
body .ubermenu-nav .nav-button { padding-right: 10px}
body .ubermenu-skin-minimal { font-size: 13px; }

/* 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; }


/* === PAGE STYLES === */
body.page #x-section-1 { text-align: center; }
.x-framework-icon:only-child, .x-btn-navbar>.x-framework-icon { margin-right: 5px; }


/* === WOOCOMMERCE ARCHIVE === */
.woocommerce-loop-category__title { font-size: 120%; text-align: center; margin: .4em .2em; }
[class*=woocommerce] li.product .entry-header h3 { font-size: 120%; }
[class*=woocommerce] li.product .entry-header .price>.amount, [class*=woocommerce] li.product .entry-header .price>ins>.amount, .woocommerce .price > .amount, .woocommerce .price > ins > .amount, .woocommerce .star-rating:before, .woocommerce .star-rating span:before, .woocommerce li.product .entry-header h3 a:hover { font-weight: 600; }
[class*=woocommerce] .entry-wrap { padding: 20px; }

body .eacs-product-carousel.eacs-product-overlay .woocommerce li.product .entry-header .price > .amount, .woocommerce li.product .entry-header .price > ins > .amount { color: #EC6624 !important; }


/* === WOOCOMMERCE PRODUCT === */
/* Product shadow */
body .entry-wrap { box-shadow: none; }


/* 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 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 Product Tabs */
.x-nav-tabs>li>a { color: black; font-size: 120%; }

[class*=woocommerce] .upsells, [class*=woocommerce] .related, [class*=woocommerce] .cross-sells { padding: 30px 0; }


/* === WOOCOMMERCE CHECKOUT === */

p#billing_phone_field { width: 100%; }
p.woocommerce-shipping-destination { font-weight: 800; color: #EC6624; font-size: 120%; }


/* 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; }

/* Remove Stripe Pay with Link from Product Page */
body.single-product #wc-stripe-express-checkout-element { display: none !important; }


/* === WIDGETS === */

/* 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;
}
.wcpf-field-button .wcpf-button { background-color: buttonface; color: black; }

div.wcpf-price-slider span.text:after {content: "Pris";}

div.wcpf-checkbox span.text:after { content: "Kategorier"; }

/* Widget border */
.wcpf-layout-item.wcpf-box-style .wcpf-heading-label .box-toggle, .wcpf-field-item.wcpf-box-style .wcpf-heading-label .box-toggle, .wcpf-field-text-list .wcpf-text-list .wcpf-text-item .wcpf-text-label, .wcpf-front-element.wcpf-hierarchical-collapsed .wcpf-item-hierarchical-collapsed .box-item-toggle { border: none; }

/* 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;
}
.h-widget { font-size: 110%; }

/* WooCommerce Message */
.woocommerce-message a, .woocommerce-Message a, .woocommerce-error a, .woocommerce-info a, .woocommerce-message a:hover, .woocommerce-Message a:hover, .woocommerce-error a:hover, .woocommerce-info a:hover {
    color: white;
    text-decoration: none;
}
.x-alert-danger, .buddypress #message.error, .bbp-template-notice.error, .woocommerce-error { color: black; font-size: 16px; }

/* === FOOTER === */
.x-colophon.bottom { font-size: 12px; }



@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;
}
