/* ---------------------------------------------- */
/*  TYPOGRAPHY
/* ---------------------------------------------- */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .widget .widget-title {
    font-weight: 700;
}

/* ---------------------------------------------- */
/*  GENERAL WOOCOMMERCE FIXES
/* ---------------------------------------------- */

.widget_product_search form.woocommerce-product-search:before {
    color: #43454b;
}

.mf-productcategory li.wc-block-product-categories-list-item {
    padding-left: 1.618em;
    list-style: none;
    margin-bottom: 1em;
    line-height: 1.41575em;
}

.mf-productcategory li.wc-block-product-categories-list-item .wc-block-product-categories-list {
    margin-left: 0;
    margin-top: 1em;
}

.mf-productcategory li.wc-block-product-categories-list-item .wc-block-product-categories-list-item-count {
    font-size: 1em;
    float: right;
}

.mf-productcategory li.wc-block-product-categories-list-item::before {
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "";
    font-variant: normal;

    float: left;
    opacity: .35;
    margin-left: -1.618em;
    width: 1em;
}

/* ---------------------------------------------- */
/*  STYLING TO POST ENTRIES 
/* ---------------------------------------------- */

.post .entry-title {
    font-size: 2em;
}

.post .post-author {
    display: none;
}

/* ---------------------------------------------- */
/*  STYLING TO HERO BLOCK 
/* ---------------------------------------------- */

.hero h3 {
    color: #FFF;
    font-size: 3em !important;
}

@media (max-width: 800px) {

    .hero h3 {
        font-size: 2.5em !important;
    }

}

@media (max-width: 480px) {

    .hero {
        min-height: 500px !important;
    }

    .hero h3 {
        font-size: 2em !important;
    }

}

/* ---------------------------------------------- */
/*  STYLING TEXT/MEDIA BLOCK
/* ---------------------------------------------- */

@media (max-width: 480px) {

    .wp-block-media-text .wp-block-media-text__media + .wp-block-media-text__content {
        margin-top: 2em !important;
    }

}

/* ---------------------------------------------- */
/*  STYLING TO ACCORDION SECTION TITLE
/* ---------------------------------------------- */

.accordion-section-title {
    display: none !important; 
} 

/* ---------------------------------------------- */
/*  FIX PROBLEMS WITH PRODUCT GRID IN SAFARI
/* ---------------------------------------------- */

@media (min-width: 601px) {

	.wc-block-grid__product {
		-webkit-flex: 1 0 24.9% !important;
	}
}

@media (max-width: 600px) and (min-width: 481px) {
	
	.wc-block-grid__product {
		-webkit-flex: 1 0 40% !important;
	}
	
}

.cn-privacy-policy-link {
    color: #FFF;
    text-decoration: underline;
}

.cn-set-cookie {
    background-color: #444444 !important;
    padding: 2px 10px;
    color: #000;
    border-radius: 2px;
    color: #FFF;
}

.products .product img {
	margin-bottom: 1em;
}

.main-navigation ul li a, .site-title a, ul.menu li a, .site-branding h1 a, .site-footer .storefront-handheld-footer-bar a:not(.button), button.menu-toggle, button.menu-toggle:hover, .handheld-navigation .dropdown-toggle {
    /*color: #333 !important;*/
}

/* ---------------------------------------------- */
/*  STYLING TO ADD FIXED HEADER
/* ---------------------------------------------- */

.site:before {
    content: "";
    display: block;
    height: 126px;
}

@media (min-width: 768px) {

    .site:before {
        height: 250px;
    }

}

.site-header {
    max-height: 100%;
    position: fixed !important;
    top: 0;
    width: 100%;
}

@media (max-width: 767px) {

    .site-header {
        overflow-y: auto;
    }

}

.sticky {
    top: 0;
    box-shadow: 0px 0px 3px rgba(0,0,0, .2);
}


@media (min-width: 768px) {

    .sticky {
        top: -122px;
    }

}

.site-branding {
    height: 38px;
    position: relative;
}

.site-branding img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-height: 50px !important;
    width: auto !important;
}

@media (min-width: 768px) {

    .site-branding {
        height: 58px;
    }
    
    .site-branding img {
        max-height: 70px !important;
    }

}

/* ---------------------------------------------- */
/*  STYLING TO MOBILE MENU
/* ---------------------------------------------- */

#menu-mobil-meny {
    border-top: 1px solid #EEE;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

#menu-mobil-meny > li {
    border-bottom: 1px solid #EEE;
}

#menu-mobil-meny li.current-menu-item > a {
    color: #888 !important;
}

#menu-mobil-meny .dropdown-toggle {
    padding: 0.875em 1em;
}

/* ---------------------------------------------- */
/*  FIX STYLING IN CHECKOUT
/* ---------------------------------------------- */
.form-row.woocommerce-invalid select.select {
    box-shadow: inset 2px 0 0 #e2401c;
}
.form-row.woocommerce-validated select.select {
    box-shadow: inset 2px 0 0 #0f834d;
}
.form-row select.select {
    padding: .6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    box-sizing: border-box;
    font-weight: 400;
}
.form-row.mf-wc-customize-order-delivery-asap label.checkbox {
    display: inline-block;
    cursor: pointer;
}
.mf-wc-customize-order-pickup .products li.product {
	background-color: #f7f6f4;
}



@media (max-width: 767px) {

    .site-info span {
        display: block;
    }

    .site-info span:first-child {
        margin-bottom: 1em;
    }

}

@media (min-width: 768px) {

    .site-info {
        display: flex;
        justify-content: space-between;
    }

}